Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
NFT
Overview
Max Total Supply
157,000,000 NFTT
Holders
2,192 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
26,315.78 NFTTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFTToken
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.7.6; pragma experimental ABIEncoderV2; struct VestingWallet { address wallet; uint256 totalAmount; uint256 dayAmount; uint256 startDay; uint256 afterDays; uint256 firstMonthAmount; } /** * dailyRate: the daily amount of tokens to give access to, * this is a percentage * 1000000000000000000 * afterDays: vesting cliff, dont allow any withdrawal before these days expired * firstMonthDailyUnlock: same as dailyRate but for the first 30 days, which are unlocked all at the same time **/ struct VestingType { uint256 dailyRate; uint256 afterDays; uint256 firstMonthDailyUnlock; } import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract NFTToken is Ownable, ERC20Burnable { using SafeMath for uint256; mapping (address => VestingWallet[]) public vestingWallets; VestingType[] public vestingTypes; uint256 public constant PRECISION = 1e18; uint256 public constant ONE_HUNDRED_PERCENT = PRECISION * 100; /** * Setup the initial supply and types of vesting schemas **/ constructor() ERC20("NFT.TECH", "NFTT") { // 0: 360 days, 5% first month, angel, 0.95/11/30, 0.05/30 vestingTypes.push(VestingType(287878787878787879, 0, 166666666666666667)); // 1: Immediate release for 9 months, seed vestingTypes.push(VestingType(395833333333333333, 0, 166666666666666667)); // 2: Immediate release for 6 months, p1, p2, up and running vestingTypes.push(VestingType(633333333333333333, 0, 166666666666666667)); // 3: All released after 360 days, vault vestingTypes.push(VestingType(100000000000000000000, 360 days, 100000000000000000000)); // 4: Release for 360 days, after 540 days (18 months), team vestingTypes.push(VestingType(277777777777777778, 540 days, 277777777777777778)); // 5: Release for 360 days, after 30 days (1 months), advisor vestingTypes.push(VestingType(277777777777777778, 30 days, 277777777777777778)); // Release before token start, tokens for liquidity _mint(address(0x9aE9127cFDB6Aa1843DD182E8270D24735937485), 60000000e18); // Release before token start, IDO allocation _mint(address(0x9aE9127cFDB6Aa1843DD182E8270D24735937485), 407868975879848000000000); // Release before token start, NFT Community _mint(address(0xB74e94301CbE45A0A79527C12121D2697D9d6223), 5000000e18); } // Vested tokens wont be available before the listing time function getListingTime() public pure returns (uint256) { return 1634824800; // 2021/10/21 14:00 UTC } function getMaxTotalSupply() public pure returns (uint256) { return PRECISION * 157000000; // 157 million tokens with 18 decimals } function mulDiv(uint256 x, uint256 y, uint256 z) private pure returns (uint256) { return x.mul(y).div(z); } function addAllocations(address[] memory addresses, uint256[] memory totalAmounts, uint256 vestingTypeIndex) external onlyOwner returns (bool) { require(addresses.length == totalAmounts.length, "Address and totalAmounts length must be same"); require(vestingTypeIndex < vestingTypes.length, "Vesting type isnt found"); VestingType memory vestingType = vestingTypes[vestingTypeIndex]; uint256 addressesLength = addresses.length; for(uint256 i = 0; i < addressesLength; i++) { address _address = addresses[i]; uint256 totalAmount = totalAmounts[i]; // We add 1 to round up, this prevents small amounts from never vesting uint256 dayAmount = mulDiv(totalAmounts[i], vestingType.dailyRate, ONE_HUNDRED_PERCENT); uint256 afterDay = vestingType.afterDays; uint256 firstMonthAmount = mulDiv(totalAmounts[i], vestingType.firstMonthDailyUnlock, ONE_HUNDRED_PERCENT).mul(30); addVestingWallet(_address, totalAmount, dayAmount, afterDay, firstMonthAmount); } return true; } function _mint(address account, uint256 amount) internal override { uint256 totalSupply = super.totalSupply(); require(getMaxTotalSupply() >= totalSupply.add(amount), "Maximum supply exceeded!"); super._mint(account, amount); } function addVestingWallet(address wallet, uint256 totalAmount, uint256 dayAmount, uint256 afterDays, uint256 firstMonthAmount) internal { uint256 releaseTime = getListingTime(); // Create vesting wallets VestingWallet memory vestingWallet = VestingWallet( wallet, totalAmount, dayAmount, releaseTime.add(afterDays), afterDays, firstMonthAmount ); vestingWallets[wallet].push(vestingWallet); _mint(wallet, totalAmount); } function getTimestamp() external view returns (uint256) { return block.timestamp; } /** * Returns the amount of days passed with vesting */ function getDays(uint256 afterDays) public view returns (uint256) { uint256 releaseTime = getListingTime(); uint256 time = releaseTime.add(afterDays); if (block.timestamp < time) { return 0; } uint256 diff = block.timestamp.sub(time); uint256 ds = diff.div(1 days).add(1); return ds; } function isStarted(uint256 startDay) public view returns (bool) { uint256 releaseTime = getListingTime(); if (block.timestamp < releaseTime || block.timestamp < startDay) { return false; } return true; } // Returns the amount of tokens unlocked by vesting so far function getUnlockedVestingAmount(address sender) public view returns (uint256) { if (!isStarted(0)) { return 0; } uint256 dailyTransferableAmount = 0; for (uint256 i=0; i<vestingWallets[sender].length; i++) { if (vestingWallets[sender][i].totalAmount == 0) { continue; } uint256 trueDays = getDays(vestingWallets[sender][i].afterDays); uint256 dailyTransferableAmountCurrent = 0; // Unlock the first month right away on the first day of vesting; // But only start the real vesting after the first month (0, 30, 30, .., 31) if (trueDays > 0 && trueDays < 30) { trueDays = 30; dailyTransferableAmountCurrent = vestingWallets[sender][i].firstMonthAmount; } if (trueDays >= 30) { dailyTransferableAmountCurrent = vestingWallets[sender][i].firstMonthAmount.add(vestingWallets[sender][i].dayAmount.mul(trueDays.sub(30))); } if (dailyTransferableAmountCurrent > vestingWallets[sender][i].totalAmount) { dailyTransferableAmountCurrent = vestingWallets[sender][i].totalAmount; } dailyTransferableAmount = dailyTransferableAmount.add(dailyTransferableAmountCurrent); } return dailyTransferableAmount; } function getTotalVestedAmount(address sender) public view returns (uint256) { uint256 totalAmount = 0; for (uint256 i=0; i<vestingWallets[sender].length; i++) { totalAmount = totalAmount.add(vestingWallets[sender][i].totalAmount); } return totalAmount; } // Returns the amount of vesting tokens still locked function getRestAmount(address sender) public view returns (uint256) { uint256 transferableAmount = getUnlockedVestingAmount(sender); uint256 totalAmount = getTotalVestedAmount(sender); uint256 restAmount = totalAmount.sub(transferableAmount); return restAmount; } // Transfer control function canTransfer(address sender, uint256 amount) public view returns (bool) { // Treat as a normal coin if this is not a vested wallet if (vestingWallets[sender].length == 0) { return true; } uint256 balance = balanceOf(sender); uint256 restAmount = getRestAmount(sender); uint256 totalAmount = getTotalVestedAmount(sender); // Account for sending received tokens outside of the vesting schedule if (balance > totalAmount && balance.sub(totalAmount) >= amount) { return true; } // Don't allow vesting if you are below allowance if (balance.sub(amount) < restAmount) { return false; } return true; } // @override function _beforeTokenTransfer(address sender, address recipient, uint256 amount) internal virtual override(ERC20) { // Reject any transfers that are not allowed require(canTransfer(sender, amount), "Unable to transfer, not unlocked yet."); super._beforeTokenTransfer(sender, recipient, amount); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../GSN/Context.sol"; import "./ERC20.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { using SafeMath for uint256; /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../GSN/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ONE_HUNDRED_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"totalAmounts","type":"uint256[]"},{"internalType":"uint256","name":"vestingTypeIndex","type":"uint256"}],"name":"addAllocations","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"canTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"afterDays","type":"uint256"}],"name":"getDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getListingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getMaxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getRestAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getTotalVestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getUnlockedVestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startDay","type":"uint256"}],"name":"isStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vestingTypes","outputs":[{"internalType":"uint256","name":"dailyRate","type":"uint256"},{"internalType":"uint256","name":"afterDays","type":"uint256"},{"internalType":"uint256","name":"firstMonthDailyUnlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"vestingWallets","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"dayAmount","type":"uint256"},{"internalType":"uint256","name":"startDay","type":"uint256"},{"internalType":"uint256","name":"afterDays","type":"uint256"},{"internalType":"uint256","name":"firstMonthAmount","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600881526020016709c8ca85ca88a86960c31b815250604051806040016040528060048152602001631391951560e21b8152506000620000626200037560201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000c190600490602085019062000ce8565b508051620000d790600590602084019062000ce8565b50506006805460ff191660121790555060408051606080820183526703fec03b79e29b278252600060208084018281526702501e734690aaab8587018181526008805460018181018355828852985160039182027ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee38181019290925595517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee48088019190915593517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee5968701558a51808a018c5267057e4851c79795558152808801898152818d018781528554808e018755868c5292519285028085019390935590518287015551908701558a51808a018c526708ca0d4fa5bf55558152808801898152818d019687528454808d018655858b52915191840280840192909255518186015594519486019490945589518089018b5268056bc75e2d631000008082526301da9c00828901908152828d019182528454808d018655858b529251928402808801939093555182860155519086015589518089018b526703dadd6acaf11c728082526302c7ea00828901908152828d018281528554808e018755868c5293519385028089019490945590518387015551918701919091558a519889018b5280895262278d00968901968752998801998a5281549889018255955294519590930292830194909455519181019190915591519101556200031a739ae9127cfdb6aa1843dd182e8270d247359374856a31a17e847807b1bc00000062000379565b62000344739ae9127cfdb6aa1843dd182e8270d2473593748569565e9f19c445a2f0900062000379565b6200036f73b74e94301cbe45a0a79527c12121d2697d9d62236a0422ca8b0a00a42500000062000379565b62000e10565b3390565b600062000390620003fc60201b620004c11760201c565b9050620003ac82826200040260201b62000fc41790919060201c565b620003b662000466565b1015620003e05760405162461bcd60e51b8152600401620003d79062000dd9565b60405180910390fd5b620003f783836200047560201b620010251760201c565b505050565b60035490565b6000828201838110156200045d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6a81de0b0dd3adbbbd00000090565b6001600160a01b038216620004d1576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620004df6000838362000588565b620004fb816003546200040260201b62000fc41790919060201c565b6003556001600160a01b0382166000908152600160209081526040909120546200053091839062000fc462000402821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b620005948382620005cb565b620005b35760405162461bcd60e51b8152600401620003d79062000d94565b620003f7838383620003f760201b620009991760201c565b6001600160a01b038216600090815260076020526040812054620005f25750600162000460565b6000620005ff8462000696565b905060006200060e85620006b5565b905060006200061d86620006f9565b90508083118015620006485750846200064582856200078360201b620011171790919060201c565b10155b156200065b576001935050505062000460565b816200067686856200078360201b620011171790919060201c565b10156200068a576000935050505062000460565b50600195945050505050565b6001600160a01b0381166000908152600160205260409020545b919050565b600080620006c383620007cd565b90506000620006d284620006f9565b90506000620006f083836200078360201b620011171790919060201c565b95945050505050565b600080805b6001600160a01b0384166000908152600760205260409020548110156200077c576001600160a01b03841660009081526007602052604090208054620007719190839081106200074a57fe5b906000526020600020906006020160010154836200040260201b62000fc41790919060201c565b9150600101620006fe565b5092915050565b60006200045d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525062000a5a60201b60201c565b6000620007da8162000af5565b620007e857506000620006b0565b6000805b6001600160a01b0384166000908152600760205260409020548110156200077c576001600160a01b03841660009081526007602052604090208054829081106200083257fe5b90600052602060002090600602016001015460001415620008535762000a51565b6001600160a01b038416600090815260076020526040812080546200089c9190849081106200087e57fe5b90600052602060002090600602016004015462000b2c60201b60201c565b905060008082118015620008b05750601e82105b15620008f4576001600160a01b03861660009081526007602052604090208054601e935084908110620008df57fe5b90600052602060002090600602016005015490505b601e8210620009b957620009b66200096b62000920601e856200078360201b620011171790919060201c565b6001600160a01b03891660009081526007602052604090208054879081106200094557fe5b90600052602060002090600602016002015462000bcf60201b620011591790919060201c565b6001600160a01b03881660009081526007602052604090208054869081106200099057fe5b9060005260206000209060060201600501546200040260201b62000fc41790919060201c565b90505b6001600160a01b0386166000908152600760205260409020805484908110620009de57fe5b90600052602060002090600602016001015481111562000a32576001600160a01b038616600090815260076020526040902080548490811062000a1d57fe5b90600052602060002090600602016001015490505b62000a4c81856200040260201b62000fc41790919060201c565b935050505b600101620007ec565b6000818484111562000aed5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101562000ab157818101518382015260200162000a97565b50505050905090810190601f16801562000adf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008062000b0262000c2d565b90508042108062000b1257508242105b1562000b23576000915050620006b0565b50600192915050565b60008062000b3962000c2d565b9050600062000b5784836200040260201b62000fc41790919060201c565b90508042101562000b6e57600092505050620006b0565b600062000b8a82426200078360201b620011171790919060201c565b9050600062000bc5600162000bb1620151808562000c3560201b620011b21790919060201c565b6200040260201b62000fc41790919060201c565b9695505050505050565b60008262000be05750600062000460565b8282028284828162000bee57fe5b04146200045d5760405162461bcd60e51b815260040180806020018281038252602181526020018062002bde6021913960400191505060405180910390fd5b636171726090565b60006200045d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525062000c7f60201b60201c565b6000818362000cd15760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831562000ab157818101518382015260200162000a97565b50600083858162000cde57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000d20576000855562000d6b565b82601f1062000d3b57805160ff191683800117855562000d6b565b8280016001018555821562000d6b579182015b8281111562000d6b57825182559160200191906001019062000d4e565b5062000d7992915062000d7d565b5090565b5b8082111562000d79576000815560010162000d7e565b60208082526025908201527f556e61626c6520746f207472616e736665722c206e6f7420756e6c6f636b6564604082015264103cb2ba1760d91b606082015260800190565b60208082526018908201527f4d6178696d756d20737570706c79206578636565646564210000000000000000604082015260600190565b611dbe8062000e206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806395d89b4111610104578063c632395e116100a2578063dd62ed3e11610071578063dd62ed3e146103b2578063e66fa239146103c5578063f22a0b31146103e7578063f2fde38b146103fa576101da565b8063c632395e14610371578063d3715c7614610384578063d45e09c114610397578063dd0081c7146103aa576101da565b8063a9059cbb116100de578063a9059cbb1461033b578063aaf5eb681461034e578063abd225e114610356578063bb0099d514610369576101da565b806395d89b411461030d578063a457c2d714610315578063a851c2e514610328576101da565b806342966c681161017c578063715018a61161014b578063715018a6146102ca578063786de14f146102d257806379cc6790146102e55780638da5cb5b146102f8576101da565b806342966c68146102755780635db30bb11461028a578063605968161461029257806370a08231146102b7576101da565b8063188ec356116101b8578063188ec3561461023257806323b872dd1461023a578063313ce5671461024d5780633950935114610262576101da565b806306fdde03146101df578063095ea7b3146101fd57806318160ddd1461021d575b600080fd5b6101e761040d565b6040516101f49190611a18565b60405180910390f35b61021061020b3660046118be565b6104a3565b6040516101f49190611a0d565b6102256104c1565b6040516101f49190611b6a565b6102256104c7565b610210610248366004611883565b6104cb565b610255610552565b6040516101f49190611b89565b6102106102703660046118be565b61055b565b6102886102833660046119ae565b6105a9565b005b6102256105bd565b6102a56102a03660046118be565b6105cc565b6040516101f4969594939291906119da565b6102256102c5366004611837565b61062a565b610288610649565b6102256102e0366004611837565b6106fd565b6102886102f33660046118be565b610949565b61030061099e565b6040516101f491906119c6565b6101e76109ad565b6102106103233660046118be565b610a0e565b6102106103363660046118e7565b610a76565b6102106103493660046118be565b610c57565b610225610c6b565b6102106103643660046119ae565b610c77565b610225610ca0565b61022561037f366004611837565b610ca8565b610225610392366004611837565b610cd8565b6102106103a53660046118be565b610d51565b610225610def565b6102256103c0366004611851565b610dfc565b6103d86103d33660046119ae565b610e27565b6040516101f493929190611b73565b6102256103f53660046119ae565b610e5a565b610288610408366004611837565b610eba565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104995780601f1061046e57610100808354040283529160200191610499565b820191906000526020600020905b81548152906001019060200180831161047c57829003601f168201915b5050505050905090565b60006104b76104b06111f4565b84846111f8565b5060015b92915050565b60035490565b4290565b60006104d88484846112e4565b610548846104e46111f4565b61054385604051806060016040528060288152602001611cae602891396001600160a01b038a166000908152600260205260408120906105226111f4565b6001600160a01b031681526020810191909152604001600020549190611441565b6111f8565b5060019392505050565b60065460ff1690565b60006104b76105686111f4565b8461054385600260006105796111f4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610fc4565b6105ba6105b46111f4565b826114d8565b50565b6a81de0b0dd3adbbbd00000090565b600760205281600052604060002081815481106105e857600080fd5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b03909416965091945092909186565b6001600160a01b0381166000908152600160205260409020545b919050565b6106516111f4565b6000546001600160a01b039081169116146106b3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006107096000610c77565b61071557506000610644565b6000805b6001600160a01b038416600090815260076020526040902054811015610942576001600160a01b038416600090815260076020526040902080548290811061075d57fe5b9060005260206000209060060201600101546000141561077c5761093a565b6001600160a01b038416600090815260076020526040812080546107bc9190849081106107a557fe5b906000526020600020906006020160040154610e5a565b9050600080821180156107cf5750601e82105b15610811576001600160a01b03861660009081526007602052604090208054601e9350849081106107fc57fe5b90600052602060002090600602016005015490505b601e82106108b5576108b261086e61082a84601e611117565b6001600160a01b038916600090815260076020526040902080548790811061084e57fe5b90600052602060002090600602016002015461115990919063ffffffff16565b6001600160a01b038816600090815260076020526040902080548690811061089257fe5b906000526020600020906006020160050154610fc490919063ffffffff16565b90505b6001600160a01b03861660009081526007602052604090208054849081106108d957fe5b90600052602060002090600602016001015481111561092b576001600160a01b038616600090815260076020526040902080548490811061091657fe5b90600052602060002090600602016001015490505b6109358482610fc4565b935050505b600101610719565b5092915050565b600061097b82604051806060016040528060248152602001611cd660249139610974866103c06111f4565b9190611441565b905061098f836109896111f4565b836111f8565b61099983836114d8565b505050565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104995780601f1061046e57610100808354040283529160200191610499565b60006104b7610a1b6111f4565b8461054385604051806060016040528060258152602001611d646025913960026000610a456111f4565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611441565b6000610a806111f4565b6000546001600160a01b03908116911614610ae2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8251845114610b0c5760405162461bcd60e51b8152600401610b0390611b1e565b60405180910390fd5b6008548210610b2d5760405162461bcd60e51b8152600401610b0390611a6b565b600060088381548110610b3c57fe5b90600052602060002090600302016040518060600160405290816000820154815260200160018201548152602001600282015481525050905060008551905060005b81811015610c4a576000878281518110610b9457fe5b602002602001015190506000878381518110610bac57fe5b602002602001015190506000610be5898581518110610bc757fe5b60200260200101518760000151670de0b6b3a76400006064026115d4565b90506000866020015190506000610c2a601e610c248d8981518110610c0657fe5b60200260200101518b60400151670de0b6b3a76400006064026115d4565b90611159565b9050610c3985858585856115f2565b505060019093019250610b7e915050565b5060019695505050505050565b60006104b7610c646111f4565b84846112e4565b670de0b6b3a764000081565b600080610c82610ca0565b905080421080610c9157508242105b156104b7576000915050610644565b636171726090565b600080610cb4836106fd565b90506000610cc184610cd8565b90506000610ccf8284611117565b95945050505050565b600080805b6001600160a01b038416600090815260076020526040902054811015610942576001600160a01b03841660009081526007602052604090208054610d47919083908110610d2657fe5b90600052602060002090600602016001015483610fc490919063ffffffff16565b9150600101610cdd565b6001600160a01b038216600090815260076020526040812054610d76575060016104bb565b6000610d818461062a565b90506000610d8e85610ca8565b90506000610d9b86610cd8565b90508083118015610db5575084610db28483611117565b10155b15610dc657600193505050506104bb565b81610dd18487611117565b1015610de357600093505050506104bb565b50600195945050505050565b68056bc75e2d6310000081565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60088181548110610e3757600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b600080610e65610ca0565b90506000610e738285610fc4565b905080421015610e8857600092505050610644565b6000610e944283611117565b90506000610eb06001610eaa84620151806111b2565b90610fc4565b9695505050505050565b610ec26111f4565b6000546001600160a01b03908116911614610f24576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610f695760405162461bcd60e51b8152600401808060200182810382526026815260200180611c1f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008282018381101561101e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216611080576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61108c600083836116d8565b6003546110999082610fc4565b6003556001600160a01b0382166000908152600160205260409020546110bf9082610fc4565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061101e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611441565b600082611168575060006104bb565b8282028284828161117557fe5b041461101e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611c8d6021913960400191505060405180910390fd5b600061101e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611709565b3390565b6001600160a01b03831661123d5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d406024913960400191505060405180910390fd5b6001600160a01b0382166112825760405162461bcd60e51b8152600401808060200182810382526022815260200180611c456022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166113295760405162461bcd60e51b8152600401808060200182810382526025815260200180611d1b6025913960400191505060405180910390fd5b6001600160a01b03821661136e5760405162461bcd60e51b8152600401808060200182810382526023815260200180611bda6023913960400191505060405180910390fd5b6113798383836116d8565b6113b681604051806060016040528060268152602001611c67602691396001600160a01b0386166000908152600160205260409020549190611441565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546113e59082610fc4565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156114d05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561149557818101518382015260200161147d565b50505050905090810190601f1680156114c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03821661151d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611cfa6021913960400191505060405180910390fd5b611529826000836116d8565b61156681604051806060016040528060228152602001611bfd602291396001600160a01b0385166000908152600160205260409020549190611441565b6001600160a01b03831660009081526001602052604090205560035461158c9082611117565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006115ea826115e48686611159565b906111b2565b949350505050565b60006115fc610ca0565b905060006040518060c00160405280886001600160a01b031681526020018781526020018681526020016116398685610fc490919063ffffffff16565b8152602080820187905260409182018690526001600160a01b038a811660009081526007835283812080546001808201835591835291849020865160069093020180546001600160a01b031916929093169190911782559184015191810191909155908201516002820155606082015160038201556080820151600482015560a082015160059091015590506116cf878761176e565b50505050505050565b6116e28382610d51565b6116fe5760405162461bcd60e51b8152600401610b0390611aa2565b610999838383610999565b600081836117585760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561149557818101518382015260200161147d565b50600083858161176457fe5b0495945050505050565b60006117786104c1565b90506117848183610fc4565b61178c6105bd565b10156117aa5760405162461bcd60e51b8152600401610b0390611ae7565b6109998383611025565b80356001600160a01b038116811461064457600080fd5b600082601f8301126117db578081fd5b813560206117f06117eb83611bbb565b611b97565b828152818101908583018385028701840188101561180c578586fd5b855b8581101561182a5781358452928401929084019060010161180e565b5090979650505050505050565b600060208284031215611848578081fd5b61101e826117b4565b60008060408385031215611863578081fd5b61186c836117b4565b915061187a602084016117b4565b90509250929050565b600080600060608486031215611897578081fd5b6118a0846117b4565b92506118ae602085016117b4565b9150604084013590509250925092565b600080604083850312156118d0578182fd5b6118d9836117b4565b946020939093013593505050565b6000806000606084860312156118fb578283fd5b833567ffffffffffffffff80821115611912578485fd5b818601915086601f830112611925578485fd5b813560206119356117eb83611bbb565b82815281810190858301838502870184018c101561195157898afd5b8996505b8487101561197a57611966816117b4565b835260019690960195918301918301611955565b5097505087013592505080821115611990578384fd5b5061199d868287016117cb565b925050604084013590509250925092565b6000602082840312156119bf578081fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b03969096168652602086019490945260408501929092526060840152608083015260a082015260c00190565b901515815260200190565b6000602080835283518082850152825b81811015611a4457858101830151858201604001528201611a28565b81811115611a555783604083870101525b50601f01601f1916929092016040019392505050565b60208082526017908201527f56657374696e6720747970652069736e7420666f756e64000000000000000000604082015260600190565b60208082526025908201527f556e61626c6520746f207472616e736665722c206e6f7420756e6c6f636b6564604082015264103cb2ba1760d91b606082015260800190565b60208082526018908201527f4d6178696d756d20737570706c79206578636565646564210000000000000000604082015260600190565b6020808252602c908201527f4164647265737320616e6420746f74616c416d6f756e7473206c656e6774682060408201526b6d7573742062652073616d6560a01b606082015260800190565b90815260200190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715611bb357fe5b604052919050565b600067ffffffffffffffff821115611bcf57fe5b506020908102019056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c52a8ed95c213d52c3251856623e9e6fe27ca2095f9ab8888b4d1374a8ca494b64736f6c63430007060033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806395d89b4111610104578063c632395e116100a2578063dd62ed3e11610071578063dd62ed3e146103b2578063e66fa239146103c5578063f22a0b31146103e7578063f2fde38b146103fa576101da565b8063c632395e14610371578063d3715c7614610384578063d45e09c114610397578063dd0081c7146103aa576101da565b8063a9059cbb116100de578063a9059cbb1461033b578063aaf5eb681461034e578063abd225e114610356578063bb0099d514610369576101da565b806395d89b411461030d578063a457c2d714610315578063a851c2e514610328576101da565b806342966c681161017c578063715018a61161014b578063715018a6146102ca578063786de14f146102d257806379cc6790146102e55780638da5cb5b146102f8576101da565b806342966c68146102755780635db30bb11461028a578063605968161461029257806370a08231146102b7576101da565b8063188ec356116101b8578063188ec3561461023257806323b872dd1461023a578063313ce5671461024d5780633950935114610262576101da565b806306fdde03146101df578063095ea7b3146101fd57806318160ddd1461021d575b600080fd5b6101e761040d565b6040516101f49190611a18565b60405180910390f35b61021061020b3660046118be565b6104a3565b6040516101f49190611a0d565b6102256104c1565b6040516101f49190611b6a565b6102256104c7565b610210610248366004611883565b6104cb565b610255610552565b6040516101f49190611b89565b6102106102703660046118be565b61055b565b6102886102833660046119ae565b6105a9565b005b6102256105bd565b6102a56102a03660046118be565b6105cc565b6040516101f4969594939291906119da565b6102256102c5366004611837565b61062a565b610288610649565b6102256102e0366004611837565b6106fd565b6102886102f33660046118be565b610949565b61030061099e565b6040516101f491906119c6565b6101e76109ad565b6102106103233660046118be565b610a0e565b6102106103363660046118e7565b610a76565b6102106103493660046118be565b610c57565b610225610c6b565b6102106103643660046119ae565b610c77565b610225610ca0565b61022561037f366004611837565b610ca8565b610225610392366004611837565b610cd8565b6102106103a53660046118be565b610d51565b610225610def565b6102256103c0366004611851565b610dfc565b6103d86103d33660046119ae565b610e27565b6040516101f493929190611b73565b6102256103f53660046119ae565b610e5a565b610288610408366004611837565b610eba565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104995780601f1061046e57610100808354040283529160200191610499565b820191906000526020600020905b81548152906001019060200180831161047c57829003601f168201915b5050505050905090565b60006104b76104b06111f4565b84846111f8565b5060015b92915050565b60035490565b4290565b60006104d88484846112e4565b610548846104e46111f4565b61054385604051806060016040528060288152602001611cae602891396001600160a01b038a166000908152600260205260408120906105226111f4565b6001600160a01b031681526020810191909152604001600020549190611441565b6111f8565b5060019392505050565b60065460ff1690565b60006104b76105686111f4565b8461054385600260006105796111f4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610fc4565b6105ba6105b46111f4565b826114d8565b50565b6a81de0b0dd3adbbbd00000090565b600760205281600052604060002081815481106105e857600080fd5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b03909416965091945092909186565b6001600160a01b0381166000908152600160205260409020545b919050565b6106516111f4565b6000546001600160a01b039081169116146106b3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006107096000610c77565b61071557506000610644565b6000805b6001600160a01b038416600090815260076020526040902054811015610942576001600160a01b038416600090815260076020526040902080548290811061075d57fe5b9060005260206000209060060201600101546000141561077c5761093a565b6001600160a01b038416600090815260076020526040812080546107bc9190849081106107a557fe5b906000526020600020906006020160040154610e5a565b9050600080821180156107cf5750601e82105b15610811576001600160a01b03861660009081526007602052604090208054601e9350849081106107fc57fe5b90600052602060002090600602016005015490505b601e82106108b5576108b261086e61082a84601e611117565b6001600160a01b038916600090815260076020526040902080548790811061084e57fe5b90600052602060002090600602016002015461115990919063ffffffff16565b6001600160a01b038816600090815260076020526040902080548690811061089257fe5b906000526020600020906006020160050154610fc490919063ffffffff16565b90505b6001600160a01b03861660009081526007602052604090208054849081106108d957fe5b90600052602060002090600602016001015481111561092b576001600160a01b038616600090815260076020526040902080548490811061091657fe5b90600052602060002090600602016001015490505b6109358482610fc4565b935050505b600101610719565b5092915050565b600061097b82604051806060016040528060248152602001611cd660249139610974866103c06111f4565b9190611441565b905061098f836109896111f4565b836111f8565b61099983836114d8565b505050565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104995780601f1061046e57610100808354040283529160200191610499565b60006104b7610a1b6111f4565b8461054385604051806060016040528060258152602001611d646025913960026000610a456111f4565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611441565b6000610a806111f4565b6000546001600160a01b03908116911614610ae2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8251845114610b0c5760405162461bcd60e51b8152600401610b0390611b1e565b60405180910390fd5b6008548210610b2d5760405162461bcd60e51b8152600401610b0390611a6b565b600060088381548110610b3c57fe5b90600052602060002090600302016040518060600160405290816000820154815260200160018201548152602001600282015481525050905060008551905060005b81811015610c4a576000878281518110610b9457fe5b602002602001015190506000878381518110610bac57fe5b602002602001015190506000610be5898581518110610bc757fe5b60200260200101518760000151670de0b6b3a76400006064026115d4565b90506000866020015190506000610c2a601e610c248d8981518110610c0657fe5b60200260200101518b60400151670de0b6b3a76400006064026115d4565b90611159565b9050610c3985858585856115f2565b505060019093019250610b7e915050565b5060019695505050505050565b60006104b7610c646111f4565b84846112e4565b670de0b6b3a764000081565b600080610c82610ca0565b905080421080610c9157508242105b156104b7576000915050610644565b636171726090565b600080610cb4836106fd565b90506000610cc184610cd8565b90506000610ccf8284611117565b95945050505050565b600080805b6001600160a01b038416600090815260076020526040902054811015610942576001600160a01b03841660009081526007602052604090208054610d47919083908110610d2657fe5b90600052602060002090600602016001015483610fc490919063ffffffff16565b9150600101610cdd565b6001600160a01b038216600090815260076020526040812054610d76575060016104bb565b6000610d818461062a565b90506000610d8e85610ca8565b90506000610d9b86610cd8565b90508083118015610db5575084610db28483611117565b10155b15610dc657600193505050506104bb565b81610dd18487611117565b1015610de357600093505050506104bb565b50600195945050505050565b68056bc75e2d6310000081565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60088181548110610e3757600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b600080610e65610ca0565b90506000610e738285610fc4565b905080421015610e8857600092505050610644565b6000610e944283611117565b90506000610eb06001610eaa84620151806111b2565b90610fc4565b9695505050505050565b610ec26111f4565b6000546001600160a01b03908116911614610f24576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610f695760405162461bcd60e51b8152600401808060200182810382526026815260200180611c1f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008282018381101561101e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216611080576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61108c600083836116d8565b6003546110999082610fc4565b6003556001600160a01b0382166000908152600160205260409020546110bf9082610fc4565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061101e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611441565b600082611168575060006104bb565b8282028284828161117557fe5b041461101e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611c8d6021913960400191505060405180910390fd5b600061101e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611709565b3390565b6001600160a01b03831661123d5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d406024913960400191505060405180910390fd5b6001600160a01b0382166112825760405162461bcd60e51b8152600401808060200182810382526022815260200180611c456022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166113295760405162461bcd60e51b8152600401808060200182810382526025815260200180611d1b6025913960400191505060405180910390fd5b6001600160a01b03821661136e5760405162461bcd60e51b8152600401808060200182810382526023815260200180611bda6023913960400191505060405180910390fd5b6113798383836116d8565b6113b681604051806060016040528060268152602001611c67602691396001600160a01b0386166000908152600160205260409020549190611441565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546113e59082610fc4565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156114d05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561149557818101518382015260200161147d565b50505050905090810190601f1680156114c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03821661151d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611cfa6021913960400191505060405180910390fd5b611529826000836116d8565b61156681604051806060016040528060228152602001611bfd602291396001600160a01b0385166000908152600160205260409020549190611441565b6001600160a01b03831660009081526001602052604090205560035461158c9082611117565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006115ea826115e48686611159565b906111b2565b949350505050565b60006115fc610ca0565b905060006040518060c00160405280886001600160a01b031681526020018781526020018681526020016116398685610fc490919063ffffffff16565b8152602080820187905260409182018690526001600160a01b038a811660009081526007835283812080546001808201835591835291849020865160069093020180546001600160a01b031916929093169190911782559184015191810191909155908201516002820155606082015160038201556080820151600482015560a082015160059091015590506116cf878761176e565b50505050505050565b6116e28382610d51565b6116fe5760405162461bcd60e51b8152600401610b0390611aa2565b610999838383610999565b600081836117585760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561149557818101518382015260200161147d565b50600083858161176457fe5b0495945050505050565b60006117786104c1565b90506117848183610fc4565b61178c6105bd565b10156117aa5760405162461bcd60e51b8152600401610b0390611ae7565b6109998383611025565b80356001600160a01b038116811461064457600080fd5b600082601f8301126117db578081fd5b813560206117f06117eb83611bbb565b611b97565b828152818101908583018385028701840188101561180c578586fd5b855b8581101561182a5781358452928401929084019060010161180e565b5090979650505050505050565b600060208284031215611848578081fd5b61101e826117b4565b60008060408385031215611863578081fd5b61186c836117b4565b915061187a602084016117b4565b90509250929050565b600080600060608486031215611897578081fd5b6118a0846117b4565b92506118ae602085016117b4565b9150604084013590509250925092565b600080604083850312156118d0578182fd5b6118d9836117b4565b946020939093013593505050565b6000806000606084860312156118fb578283fd5b833567ffffffffffffffff80821115611912578485fd5b818601915086601f830112611925578485fd5b813560206119356117eb83611bbb565b82815281810190858301838502870184018c101561195157898afd5b8996505b8487101561197a57611966816117b4565b835260019690960195918301918301611955565b5097505087013592505080821115611990578384fd5b5061199d868287016117cb565b925050604084013590509250925092565b6000602082840312156119bf578081fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b03969096168652602086019490945260408501929092526060840152608083015260a082015260c00190565b901515815260200190565b6000602080835283518082850152825b81811015611a4457858101830151858201604001528201611a28565b81811115611a555783604083870101525b50601f01601f1916929092016040019392505050565b60208082526017908201527f56657374696e6720747970652069736e7420666f756e64000000000000000000604082015260600190565b60208082526025908201527f556e61626c6520746f207472616e736665722c206e6f7420756e6c6f636b6564604082015264103cb2ba1760d91b606082015260800190565b60208082526018908201527f4d6178696d756d20737570706c79206578636565646564210000000000000000604082015260600190565b6020808252602c908201527f4164647265737320616e6420746f74616c416d6f756e7473206c656e6774682060408201526b6d7573742062652073616d6560a01b606082015260800190565b90815260200190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715611bb357fe5b604052919050565b600067ffffffffffffffff821115611bcf57fe5b506020908102019056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c52a8ed95c213d52c3251856623e9e6fe27ca2095f9ab8888b4d1374a8ca494b64736f6c63430007060033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.