This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity = 0.8.12; | |
interface ICarrot { | |
function transferFrom(address from, address to, uint256 amount) external returns (bool); | |
} | |
contract CarrotPrivateSale { | |
uint constant private _min = 10**14; | |
uint constant private _max = 10**18; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity = 0.8.12; | |
interface IERC20 { | |
function totalSupply() view external returns (uint256); | |
function balanceOf(address account) view external returns (uint256); | |
function allowance(address owner, address spender) view external returns (uint256); | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
function approve(address spender, uint256 amount) external returns (bool); |