ERC-20
Overview
Max Total Supply
20,644,057.955285435207291318 $LION
Holders
404
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
879.097026264380290861 $LIONValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Lion
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/interfaces/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Lion is ERC20, Ownable { using SafeMath for uint; // Seconds amount in one day uint private constant SECONDS_IN_A_DAY = 86400; // Maximum token supply uint public constant MAX_TOKEN_SUPPLY = 30 * (10 ** 6) * (10 ** 18); // Maximum Team token supply uint public constant MAX_TEAM_SUPPLY = 6 * (10 ** 6) * (10 ** 18); // Maximum Airdrops token supply uint public constant MAX_AIRDROPS_SUPPLY = 9 * (10 ** 6) * (10 ** 18); // Maximum Future community contributions token supply uint public constant MAX_FUTURE_COMUNITY_CONTRIBUTIONS_SUPPLY = 3 * (10 ** 6) * (10 ** 18); // Maximum Tresury token supply uint public constant MAX_TRESURY_SUPPLY = 9 * (10 ** 6) * (10 ** 18); // Maximum Staking token supply uint public constant MAX_STAKING_SUPPLY = 3 * (10 ** 6) * (10 ** 18); // Amount of token staking per one day uint public constant STAKING_PER_DAY = 0.30080435 * (10 ** 18); uint private _totalTeamSupply; uint private _totalAirdropsSupply; uint private _totalFutureCommunityContributionsSupply; uint private _totalTresurySupply; uint private _totalStakingSupply; // Staking start date uint private _stakingStart; // Airdrop end date uint public _airDropEndTimestamp; address private _nftAddress; // SE token indices mapping (uint => bool) public SE_TOKENS; mapping(uint => uint) private _lastClaim; mapping(address => bool) public _airdropClaimed; bytes32 public _merkleRoot; event StartStaking(uint _date); constructor() ERC20("$LION Token", "$LION") { uint16[36] memory seTokens = [ 1321, 3660, 6359, 3236, 7902, 8960, 7380, 7512, 8865, 1767, 4183, 5655, 402, 3091, 8752, 2186, 6390, 5954, 2892, 8840, 2008, 4146, 484, 5448, 8379, 94, 1799, 1641, 3026, 3198, 1988, 6500, 6584, 8409, 5988, 6257 ]; for (uint i = 0; i < seTokens.length; i++) { SE_TOKENS[seTokens[i]] = true; } _airDropEndTimestamp = block.timestamp + 1 * 365 * SECONDS_IN_A_DAY; } /** * @dev Function set the merkel root * * @param merkleRoot ERC20s amount to mint */ function setMerkelRoot(bytes32 merkleRoot) external onlyOwner { _merkleRoot = merkleRoot; } /** * @dev Function mints the amount of Team ERC20s and sends them to the address * * @param to address where to mint the ERC20s * * @param amount ERC20s amount to mint */ function mintTeam(address to, uint amount) external onlyOwner { require(_totalTeamSupply + amount <= MAX_TEAM_SUPPLY, "Team token amount is exceeded"); _mint(to, amount); _totalTeamSupply += amount; } /** * @dev Function mints the amount of Future community contributions ERC20s and sends them to the address * * @param to address where to mint the ERC20s * * @param amount ERC20s amount to mint */ function mintFutureCommunityContributions(address to, uint amount) external onlyOwner { require(_totalFutureCommunityContributionsSupply + amount <= MAX_FUTURE_COMUNITY_CONTRIBUTIONS_SUPPLY, "Future community contributions token amount is exceeded"); _mint(to, amount); _totalFutureCommunityContributionsSupply += amount; } /** * @dev Function mints the amount of Tresury ERC20s and sends them to the address * * @param to address where to mint the ERC20s * * @param amount ERC20s amount to mint */ function mintTresury(address to, uint amount) external onlyOwner { require(_totalTresurySupply + amount <= MAX_TRESURY_SUPPLY, "Tresury token amount is exceeded"); _mint(to, amount); _totalTresurySupply += amount; } /** * @dev function to get the last reward claim timesamp * * @param tokenIndex index of the token to get the last reward claim timesamp */ function lastClaim(uint tokenIndex) public view returns (uint) { require(_nftAddress != address(0), "Token contract does not exist"); require(tokenIndex < IERC721Enumerable(_nftAddress).totalSupply(), "Token is not minted"); require(IERC721(_nftAddress).ownerOf(tokenIndex) != address(0), "Token has no owner or does not exist"); return _lastClaim[tokenIndex] != 0 ? _lastClaim[tokenIndex] : _stakingStart; } /** * @dev function to accumulate the reward of token holding by token index * * @param tokenIndex index of the token to accumulate the reward */ function accumulated(uint tokenIndex) public view returns (uint) { require(_nftAddress != address(0), "Token contract does not exist"); require(block.timestamp > _stakingStart, "Staking has not started"); require(tokenIndex < IERC721Enumerable(_nftAddress).totalSupply(), "NFT is not minted"); require(IERC721(_nftAddress).ownerOf(tokenIndex) != address(0), "NFT has no owner or does not exist"); uint lastClaimed = lastClaim(tokenIndex); if (lastClaimed >= stakingEndTimestamp()) return 0; uint accumulationPeriod = block.timestamp < stakingEndTimestamp() ? block.timestamp : stakingEndTimestamp(); uint totalAccumulated = accumulationPeriod.sub(lastClaimed).div(SECONDS_IN_A_DAY).mul(STAKING_PER_DAY); if (SE_TOKENS[tokenIndex]) { totalAccumulated = totalAccumulated.mul(4); } return totalAccumulated; } /** * @dev function to set the address for NFT contract * * @param nftAddress address of the nft contract */ function setNftAddress(address nftAddress) external onlyOwner { require(nftAddress != address(0), "Nft contract address is not valid"); _nftAddress = nftAddress; } /** * @dev function starts the staking */ function startStaking() external onlyOwner { require(_stakingStart == 0, "Staking already started"); _stakingStart = block.timestamp; emit StartStaking(block.timestamp); } /** * @dev function to get the end staking time * * @return end staking timestamp */ function stakingEndTimestamp() public view returns (uint) { require(_stakingStart != 0, "Staking is not started yet"); return _stakingStart + 3 * 365 * SECONDS_IN_A_DAY; } /** * @dev function to claim the reward for tokens holding * * @param tokenIndices array of token indices to claim the reward */ function claim(uint[] memory tokenIndices) external { require(block.timestamp > _stakingStart, "Staking has not started yet"); uint totalClaimAmount = 0; for (uint i = 0; i < tokenIndices.length; i++) { uint tokenIndex = tokenIndices[i]; require(_nftAddress != address(0), "Token contract does not exist"); require(tokenIndex < IERC721Enumerable(_nftAddress).totalSupply(), "NFT is not minted"); require(IERC721(_nftAddress).ownerOf(tokenIndex) == _msgSender(), "Sender is not the owner"); for (uint j = i + 1; j < tokenIndices.length; j++) { require(tokenIndex != tokenIndices[j], "Duplicate token index"); } uint claimAmount = accumulated(tokenIndex); if (claimAmount != 0) { require(_totalStakingSupply + claimAmount <= MAX_STAKING_SUPPLY, "Staking token amount is exceeded"); totalClaimAmount = totalClaimAmount.add(claimAmount); _lastClaim[tokenIndex] = block.timestamp; } } require(totalClaimAmount != 0, "No reward accumulated"); _mint(_msgSender(), totalClaimAmount); _totalStakingSupply += totalClaimAmount; } /** * @dev Function mints the amount of not minted ERC20s airdrop after the airdrop ended * * @param to address where to mint the ERC20s * * @param amount ERC20s amount to mint */ function mintUnclaimedAridrop(address to, uint amount) external onlyOwner { require(block.timestamp > _airDropEndTimestamp, "Airdrop not ended"); require(_totalAirdropsSupply + amount <= MAX_AIRDROPS_SUPPLY, "Airdrop supply amount is exceeded"); _mint(to, amount); _totalAirdropsSupply += amount; } /** * @dev Function mints the airdrop by checking the elegibility of address and amount using Markel Proof * * @param to address where to mint the ERC20s * * @param amount ERC20s amount to mint * * @param proof merkel proof */ function airdropClaim(address to, uint256 amount, bytes32[] calldata proof) external { require(block.timestamp < _airDropEndTimestamp, "Airdrop ended"); require(_totalAirdropsSupply + amount <= MAX_AIRDROPS_SUPPLY, "Airdrops token amount is exceeded"); require(_merkleRoot != 0, "Merkel root not set. No whitelisted addresses. "); require(!_airdropClaimed[to], "Already claimed"); // Verify merkle proof, or revert if not in tree bytes32 leaf = keccak256(abi.encodePacked(to, amount)); bool isValidLeaf = MerkleProof.verify(proof, _merkleRoot, leaf); require(isValidLeaf, "Address not in the whitelist"); // Set address to claimed _airdropClaimed[to] = true; // Mint tokens to address _mint(to, amount); _totalAirdropsSupply += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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 Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/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() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual 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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../token/ERC721/extensions/IERC721Enumerable.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^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 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) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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":false,"internalType":"uint256","name":"_date","type":"uint256"}],"name":"StartStaking","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":"MAX_AIRDROPS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FUTURE_COMUNITY_CONTRIBUTIONS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_STAKING_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TEAM_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TRESURY_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"SE_TOKENS","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKING_PER_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_airDropEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_airdropClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIndex","type":"uint256"}],"name":"accumulated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"airdropClaim","outputs":[],"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":"tokenIndices","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"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":"tokenIndex","type":"uint256"}],"name":"lastClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFutureCommunityContributions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTresury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintUnclaimedAridrop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkelRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"}],"name":"setNftAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startStaking","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600b81526a122624a7a7102a37b5b2b760a91b602080830191825283518085019094526005845264122624a7a760d91b9084015281519192916200006291600391620002c4565b50805162000078906004906020840190620002c4565b505050620000956200008f6200026e60201b60201c565b62000272565b60408051610480810182526105298152610e4c60208201526118d791810191909152610ca46060820152611ede608082015261230060a0820152611cd460c0820152611d5860e08201526122a16101008201526106e7610120820152611057610140820152611617610160820152610192610180820152610c136101a08201526122306101c082015261088a6101e08201526118f6610200820152611742610220820152610b4c6102408201526122886102608201526107d86102808201526110326102a08201526101e46102c08201526115486102e08201526120bb610300820152605e610320820152610707610340820152610669610360820152610bd2610380820152610c7e6103a08201526107c46103c08201526119646103e08201526119b86104008201526120d961042082015261176461044082015261187161046082015260005b602481101562000246576001600e60008484602481106200020257620002026200036a565b602002015161ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806200023d9062000396565b915050620001dd565b50620002586201518061016d620003b2565b620002649042620003d4565b600c55506200042b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002d290620003ef565b90600052602060002090601f016020900481019282620002f6576000855562000341565b82601f106200031157805160ff191683800117855562000341565b8280016001018555821562000341579182015b828111156200034157825182559160200191906001019062000324565b506200034f92915062000353565b5090565b5b808211156200034f576000815560010162000354565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620003ab57620003ab62000380565b5060010190565b6000816000190483118215151615620003cf57620003cf62000380565b500290565b60008219821115620003ea57620003ea62000380565b500190565b600181811c908216806200040457607f821691505b6020821081036200042557634e487b7160e01b600052602260045260246000fd5b50919050565b6121c7806200043b6000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063735268b411610130578063b0be670b116100b8578063dd62ed3e1161007c578063dd62ed3e14610489578063def0c275146104c2578063e489d510146104d4578063f2fde38b146104e6578063f63ab60f1461042657600080fd5b8063b0be670b14610426578063b5e115f514610438578063c607cde71461044b578063c6ccf5421461045e578063ca6d44601461046657600080fd5b806395d89b41116100ff57806395d89b41146103dc578063a457c2d7146103e4578063a6df7848146103f7578063a893718114610400578063a9059cbb1461041357600080fd5b8063735268b41461039b5780638273d6c4146102f55780638da5cb5b146103ae57806393f84cfe146103c957600080fd5b80633a16208d116101b357806361cc9eb31161018257806361cc9eb3146103405780636ba4c1381461034f57806370a0823114610362578063715018a61461038b57806371b0cbfa1461039357600080fd5b80633a16208d146102f55780633d3728b5146103075780635199605a1461031a578063557d888e1461032d57600080fd5b806318160ddd116101fa57806318160ddd146102a557806323b872dd146102b75780632fc37ab2146102ca578063313ce567146102d357806339509351146102e257600080fd5b806306fdde031461022c578063095ea7b31461024a5780630a46d02a1461026d5780630b102d1a14610290575b600080fd5b6102346104f9565b6040516102419190611d5a565b60405180910390f35b61025d610258366004611dc4565b61058b565b6040519015158152602001610241565b61025d61027b366004611df0565b60106020526000908152604090205460ff1681565b6102a361029e366004611df0565b6105a1565b005b6002545b604051908152602001610241565b61025d6102c5366004611e0d565b610656565b6102a960115481565b60405160128152602001610241565b61025d6102f0366004611dc4565b610700565b6102a96a0771d2fa45345aa900000081565b6102a9610315366004611e4e565b61073c565b6102a3610328366004611dc4565b610925565b6102a361033b366004611e67565b610a02565b6102a967042cabf66ca46c0081565b6102a361035d366004611f09565b610c99565b6102a9610370366004611df0565b6001600160a01b031660009081526020819052604090205490565b6102a3611061565b6102a3611097565b6102a36103a9366004611dc4565b61114c565b6005546040516001600160a01b039091168152602001610241565b6102a36103d7366004611dc4565b611249565b6102346112f7565b61025d6103f2366004611dc4565b611306565b6102a9600c5481565b6102a361040e366004611dc4565b61139f565b61025d610421366004611dc4565b61144d565b6102a96a027b46536c66c8e300000081565b6102a3610446366004611e4e565b61145a565b6102a9610459366004611e4e565b611489565b6102a961172d565b61025d610474366004611e4e565b600e6020526000908152604090205460ff1681565b6102a9610497366004611fc7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102a96a04f68ca6d8cd91c600000081565b6102a96a18d0bf423c03d8de00000081565b6102a36104f4366004611df0565b6117a2565b60606003805461050890612000565b80601f016020809104026020016040519081016040528092919081815260200182805461053490612000565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059833848461183d565b50600192915050565b6005546001600160a01b031633146105d45760405162461bcd60e51b81526004016105cb9061203a565b60405180910390fd5b6001600160a01b0381166106345760405162461bcd60e51b815260206004820152602160248201527f4e667420636f6e74726163742061646472657373206973206e6f742076616c696044820152601960fa1b60648201526084016105cb565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610663848484611961565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106e85760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105cb565b6106f5853385840361183d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610598918590610737908690612085565b61183d565b600d546000906001600160a01b03166107675760405162461bcd60e51b81526004016105cb9061209d565b600d60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de91906120d4565b82106108225760405162461bcd60e51b8152602060048201526013602482015272151bdad95b881a5cc81b9bdd081b5a5b9d1959606a1b60448201526064016105cb565b600d546040516331a9108f60e11b8152600481018490526000916001600160a01b031690636352211e90602401602060405180830381865afa15801561086c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089091906120ed565b6001600160a01b0316036108f25760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20686173206e6f206f776e6572206f7220646f6573206e6f7420656044820152631e1a5cdd60e21b60648201526084016105cb565b6000828152600f6020526040812054900361090f57600b5461091f565b6000828152600f60205260409020545b92915050565b6005546001600160a01b0316331461094f5760405162461bcd60e51b81526004016105cb9061203a565b6a027b46536c66c8e3000000816008546109699190612085565b11156109dd5760405162461bcd60e51b815260206004820152603760248201527f46757475726520636f6d6d756e69747920636f6e747269627574696f6e73207460448201527f6f6b656e20616d6f756e7420697320657863656564656400000000000000000060648201526084016105cb565b6109e78282611b30565b80600860008282546109f99190612085565b90915550505050565b600c544210610a435760405162461bcd60e51b815260206004820152600d60248201526c105a5c991c9bdc08195b991959609a1b60448201526064016105cb565b6a0771d2fa45345aa900000083600754610a5d9190612085565b1115610ab55760405162461bcd60e51b815260206004820152602160248201527f41697264726f707320746f6b656e20616d6f756e7420697320657863656564656044820152601960fa1b60648201526084016105cb565b601154600003610b1f5760405162461bcd60e51b815260206004820152602f60248201527f4d65726b656c20726f6f74206e6f74207365742e204e6f2077686974656c697360448201526e03a32b21030b2323932b9b9b2b9971608d1b60648201526084016105cb565b6001600160a01b03841660009081526010602052604090205460ff1615610b7a5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016105cb565b6040516bffffffffffffffffffffffff19606086901b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506000610bfe848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150859050611c0f565b905080610c4d5760405162461bcd60e51b815260206004820152601c60248201527f41646472657373206e6f7420696e207468652077686974656c6973740000000060448201526064016105cb565b6001600160a01b0386166000908152601060205260409020805460ff19166001179055610c7a8686611b30565b8460076000828254610c8c9190612085565b9091555050505050505050565b600b544211610cea5760405162461bcd60e51b815260206004820152601b60248201527f5374616b696e6720686173206e6f74207374617274656420796574000000000060448201526064016105cb565b6000805b8251811015610ffc576000838281518110610d0b57610d0b61210a565b6020908102919091010151600d549091506001600160a01b0316610d415760405162461bcd60e51b81526004016105cb9061209d565b600d60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db891906120d4565b8110610dfa5760405162461bcd60e51b8152602060048201526011602482015270139195081a5cc81b9bdd081b5a5b9d1959607a1b60448201526064016105cb565b33600d546040516331a9108f60e11b8152600481018490526001600160a01b039283169290911690636352211e90602401602060405180830381865afa158015610e48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6c91906120ed565b6001600160a01b031614610ec25760405162461bcd60e51b815260206004820152601760248201527f53656e646572206973206e6f7420746865206f776e657200000000000000000060448201526064016105cb565b6000610ecf836001612085565b90505b8451811015610f4d57848181518110610eed57610eed61210a565b60200260200101518203610f3b5760405162461bcd60e51b8152602060048201526015602482015274088eae0d8d2c6c2e8ca40e8ded6cadc40d2dcc8caf605b1b60448201526064016105cb565b80610f4581612120565b915050610ed2565b506000610f5982611489565b90508015610fe7576a027b46536c66c8e300000081600a54610f7b9190612085565b1115610fc95760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6720746f6b656e20616d6f756e7420697320657863656564656460448201526064016105cb565b610fd38482611c25565b6000838152600f6020526040902042905593505b50508080610ff490612120565b915050610cee565b50806000036110455760405162461bcd60e51b8152602060048201526015602482015274139bc81c995dd85c99081858d8dd5b5d5b185d1959605a1b60448201526064016105cb565b61104f3382611b30565b80600a60008282546109f99190612085565b6005546001600160a01b0316331461108b5760405162461bcd60e51b81526004016105cb9061203a565b6110956000611c38565b565b6005546001600160a01b031633146110c15760405162461bcd60e51b81526004016105cb9061203a565b600b54156111115760405162461bcd60e51b815260206004820152601760248201527f5374616b696e6720616c7265616479207374617274656400000000000000000060448201526064016105cb565b42600b8190556040519081527f35f87ec121777dc0cc72cd4066439fd5218001344ebdadccc8cfcf3c3dee61089060200160405180910390a1565b6005546001600160a01b031633146111765760405162461bcd60e51b81526004016105cb9061203a565b600c5442116111bb5760405162461bcd60e51b8152602060048201526011602482015270105a5c991c9bdc081b9bdd08195b991959607a1b60448201526064016105cb565b6a0771d2fa45345aa9000000816007546111d59190612085565b111561122d5760405162461bcd60e51b815260206004820152602160248201527f41697264726f7020737570706c7920616d6f756e7420697320657863656564656044820152601960fa1b60648201526084016105cb565b6112378282611b30565b80600760008282546109f99190612085565b6005546001600160a01b031633146112735760405162461bcd60e51b81526004016105cb9061203a565b6a04f68ca6d8cd91c60000008160065461128d9190612085565b11156112db5760405162461bcd60e51b815260206004820152601d60248201527f5465616d20746f6b656e20616d6f756e7420697320657863656564656400000060448201526064016105cb565b6112e58282611b30565b80600660008282546109f99190612085565b60606004805461050890612000565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156113885760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105cb565b611395338585840361183d565b5060019392505050565b6005546001600160a01b031633146113c95760405162461bcd60e51b81526004016105cb9061203a565b6a0771d2fa45345aa9000000816009546113e39190612085565b11156114315760405162461bcd60e51b815260206004820181905260248201527f5472657375727920746f6b656e20616d6f756e7420697320657863656564656460448201526064016105cb565b61143b8282611b30565b80600960008282546109f99190612085565b6000610598338484611961565b6005546001600160a01b031633146114845760405162461bcd60e51b81526004016105cb9061203a565b601155565b600d546000906001600160a01b03166114b45760405162461bcd60e51b81526004016105cb9061209d565b600b5442116115055760405162461bcd60e51b815260206004820152601760248201527f5374616b696e6720686173206e6f74207374617274656400000000000000000060448201526064016105cb565b600d60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611558573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157c91906120d4565b82106115be5760405162461bcd60e51b8152602060048201526011602482015270139195081a5cc81b9bdd081b5a5b9d1959607a1b60448201526064016105cb565b600d546040516331a9108f60e11b8152600481018490526000916001600160a01b031690636352211e90602401602060405180830381865afa158015611608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162c91906120ed565b6001600160a01b03160361168d5760405162461bcd60e51b815260206004820152602260248201527f4e465420686173206e6f206f776e6572206f7220646f6573206e6f74206578696044820152611cdd60f21b60648201526084016105cb565b60006116988361073c565b90506116a261172d565b81106116b15750600092915050565b60006116bb61172d565b42106116ce576116c961172d565b6116d0565b425b905060006116fd67042cabf66ca46c006116f7620151806116f18688611c8a565b90611c96565b90611ca2565b6000868152600e602052604090205490915060ff161561172557611722816004611ca2565b90505b949350505050565b6000600b546000036117815760405162461bcd60e51b815260206004820152601a60248201527f5374616b696e67206973206e6f7420737461727465642079657400000000000060448201526064016105cb565b61179062015180610447612139565b600b5461179d9190612085565b905090565b6005546001600160a01b031633146117cc5760405162461bcd60e51b81526004016105cb9061203a565b6001600160a01b0381166118315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105cb565b61183a81611c38565b50565b6001600160a01b03831661189f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105cb565b6001600160a01b0382166119005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105cb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119c55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105cb565b6001600160a01b038216611a275760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105cb565b6001600160a01b03831660009081526020819052604090205481811015611a9f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105cb565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611ad6908490612085565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b2291815260200190565b60405180910390a350505050565b6001600160a01b038216611b865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105cb565b8060026000828254611b989190612085565b90915550506001600160a01b03821660009081526020819052604081208054839290611bc5908490612085565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600082611c1c8584611cae565b14949350505050565b6000611c318284612085565b9392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611c318284612158565b6000611c31828461216f565b6000611c318284612139565b600081815b8451811015611d52576000858281518110611cd057611cd061210a565b60200260200101519050808311611d12576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d3f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d4a81612120565b915050611cb3565b509392505050565b600060208083528351808285015260005b81811015611d8757858101830151858201604001528201611d6b565b81811115611d99576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461183a57600080fd5b60008060408385031215611dd757600080fd5b8235611de281611daf565b946020939093013593505050565b600060208284031215611e0257600080fd5b8135611c3181611daf565b600080600060608486031215611e2257600080fd5b8335611e2d81611daf565b92506020840135611e3d81611daf565b929592945050506040919091013590565b600060208284031215611e6057600080fd5b5035919050565b60008060008060608587031215611e7d57600080fd5b8435611e8881611daf565b935060208501359250604085013567ffffffffffffffff80821115611eac57600080fd5b818701915087601f830112611ec057600080fd5b813581811115611ecf57600080fd5b8860208260051b8501011115611ee457600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611f1c57600080fd5b823567ffffffffffffffff80821115611f3457600080fd5b818501915085601f830112611f4857600080fd5b813581811115611f5a57611f5a611ef3565b8060051b604051601f19603f83011681018181108582111715611f7f57611f7f611ef3565b604052918252848201925083810185019188831115611f9d57600080fd5b938501935b82851015611fbb57843584529385019392850192611fa2565b98975050505050505050565b60008060408385031215611fda57600080fd5b8235611fe581611daf565b91506020830135611ff581611daf565b809150509250929050565b600181811c9082168061201457607f821691505b60208210810361203457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120985761209861206f565b500190565b6020808252601d908201527f546f6b656e20636f6e747261637420646f6573206e6f74206578697374000000604082015260600190565b6000602082840312156120e657600080fd5b5051919050565b6000602082840312156120ff57600080fd5b8151611c3181611daf565b634e487b7160e01b600052603260045260246000fd5b6000600182016121325761213261206f565b5060010190565b60008160001904831182151516156121535761215361206f565b500290565b60008282101561216a5761216a61206f565b500390565b60008261218c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207eed2aa1d41eb6edf08941691c2a0de23f64df28a9294a64f8103974ca758de664736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c8063735268b411610130578063b0be670b116100b8578063dd62ed3e1161007c578063dd62ed3e14610489578063def0c275146104c2578063e489d510146104d4578063f2fde38b146104e6578063f63ab60f1461042657600080fd5b8063b0be670b14610426578063b5e115f514610438578063c607cde71461044b578063c6ccf5421461045e578063ca6d44601461046657600080fd5b806395d89b41116100ff57806395d89b41146103dc578063a457c2d7146103e4578063a6df7848146103f7578063a893718114610400578063a9059cbb1461041357600080fd5b8063735268b41461039b5780638273d6c4146102f55780638da5cb5b146103ae57806393f84cfe146103c957600080fd5b80633a16208d116101b357806361cc9eb31161018257806361cc9eb3146103405780636ba4c1381461034f57806370a0823114610362578063715018a61461038b57806371b0cbfa1461039357600080fd5b80633a16208d146102f55780633d3728b5146103075780635199605a1461031a578063557d888e1461032d57600080fd5b806318160ddd116101fa57806318160ddd146102a557806323b872dd146102b75780632fc37ab2146102ca578063313ce567146102d357806339509351146102e257600080fd5b806306fdde031461022c578063095ea7b31461024a5780630a46d02a1461026d5780630b102d1a14610290575b600080fd5b6102346104f9565b6040516102419190611d5a565b60405180910390f35b61025d610258366004611dc4565b61058b565b6040519015158152602001610241565b61025d61027b366004611df0565b60106020526000908152604090205460ff1681565b6102a361029e366004611df0565b6105a1565b005b6002545b604051908152602001610241565b61025d6102c5366004611e0d565b610656565b6102a960115481565b60405160128152602001610241565b61025d6102f0366004611dc4565b610700565b6102a96a0771d2fa45345aa900000081565b6102a9610315366004611e4e565b61073c565b6102a3610328366004611dc4565b610925565b6102a361033b366004611e67565b610a02565b6102a967042cabf66ca46c0081565b6102a361035d366004611f09565b610c99565b6102a9610370366004611df0565b6001600160a01b031660009081526020819052604090205490565b6102a3611061565b6102a3611097565b6102a36103a9366004611dc4565b61114c565b6005546040516001600160a01b039091168152602001610241565b6102a36103d7366004611dc4565b611249565b6102346112f7565b61025d6103f2366004611dc4565b611306565b6102a9600c5481565b6102a361040e366004611dc4565b61139f565b61025d610421366004611dc4565b61144d565b6102a96a027b46536c66c8e300000081565b6102a3610446366004611e4e565b61145a565b6102a9610459366004611e4e565b611489565b6102a961172d565b61025d610474366004611e4e565b600e6020526000908152604090205460ff1681565b6102a9610497366004611fc7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102a96a04f68ca6d8cd91c600000081565b6102a96a18d0bf423c03d8de00000081565b6102a36104f4366004611df0565b6117a2565b60606003805461050890612000565b80601f016020809104026020016040519081016040528092919081815260200182805461053490612000565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059833848461183d565b50600192915050565b6005546001600160a01b031633146105d45760405162461bcd60e51b81526004016105cb9061203a565b60405180910390fd5b6001600160a01b0381166106345760405162461bcd60e51b815260206004820152602160248201527f4e667420636f6e74726163742061646472657373206973206e6f742076616c696044820152601960fa1b60648201526084016105cb565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610663848484611961565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106e85760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105cb565b6106f5853385840361183d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610598918590610737908690612085565b61183d565b600d546000906001600160a01b03166107675760405162461bcd60e51b81526004016105cb9061209d565b600d60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de91906120d4565b82106108225760405162461bcd60e51b8152602060048201526013602482015272151bdad95b881a5cc81b9bdd081b5a5b9d1959606a1b60448201526064016105cb565b600d546040516331a9108f60e11b8152600481018490526000916001600160a01b031690636352211e90602401602060405180830381865afa15801561086c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089091906120ed565b6001600160a01b0316036108f25760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20686173206e6f206f776e6572206f7220646f6573206e6f7420656044820152631e1a5cdd60e21b60648201526084016105cb565b6000828152600f6020526040812054900361090f57600b5461091f565b6000828152600f60205260409020545b92915050565b6005546001600160a01b0316331461094f5760405162461bcd60e51b81526004016105cb9061203a565b6a027b46536c66c8e3000000816008546109699190612085565b11156109dd5760405162461bcd60e51b815260206004820152603760248201527f46757475726520636f6d6d756e69747920636f6e747269627574696f6e73207460448201527f6f6b656e20616d6f756e7420697320657863656564656400000000000000000060648201526084016105cb565b6109e78282611b30565b80600860008282546109f99190612085565b90915550505050565b600c544210610a435760405162461bcd60e51b815260206004820152600d60248201526c105a5c991c9bdc08195b991959609a1b60448201526064016105cb565b6a0771d2fa45345aa900000083600754610a5d9190612085565b1115610ab55760405162461bcd60e51b815260206004820152602160248201527f41697264726f707320746f6b656e20616d6f756e7420697320657863656564656044820152601960fa1b60648201526084016105cb565b601154600003610b1f5760405162461bcd60e51b815260206004820152602f60248201527f4d65726b656c20726f6f74206e6f74207365742e204e6f2077686974656c697360448201526e03a32b21030b2323932b9b9b2b9971608d1b60648201526084016105cb565b6001600160a01b03841660009081526010602052604090205460ff1615610b7a5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016105cb565b6040516bffffffffffffffffffffffff19606086901b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506000610bfe848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150859050611c0f565b905080610c4d5760405162461bcd60e51b815260206004820152601c60248201527f41646472657373206e6f7420696e207468652077686974656c6973740000000060448201526064016105cb565b6001600160a01b0386166000908152601060205260409020805460ff19166001179055610c7a8686611b30565b8460076000828254610c8c9190612085565b9091555050505050505050565b600b544211610cea5760405162461bcd60e51b815260206004820152601b60248201527f5374616b696e6720686173206e6f74207374617274656420796574000000000060448201526064016105cb565b6000805b8251811015610ffc576000838281518110610d0b57610d0b61210a565b6020908102919091010151600d549091506001600160a01b0316610d415760405162461bcd60e51b81526004016105cb9061209d565b600d60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db891906120d4565b8110610dfa5760405162461bcd60e51b8152602060048201526011602482015270139195081a5cc81b9bdd081b5a5b9d1959607a1b60448201526064016105cb565b33600d546040516331a9108f60e11b8152600481018490526001600160a01b039283169290911690636352211e90602401602060405180830381865afa158015610e48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6c91906120ed565b6001600160a01b031614610ec25760405162461bcd60e51b815260206004820152601760248201527f53656e646572206973206e6f7420746865206f776e657200000000000000000060448201526064016105cb565b6000610ecf836001612085565b90505b8451811015610f4d57848181518110610eed57610eed61210a565b60200260200101518203610f3b5760405162461bcd60e51b8152602060048201526015602482015274088eae0d8d2c6c2e8ca40e8ded6cadc40d2dcc8caf605b1b60448201526064016105cb565b80610f4581612120565b915050610ed2565b506000610f5982611489565b90508015610fe7576a027b46536c66c8e300000081600a54610f7b9190612085565b1115610fc95760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6720746f6b656e20616d6f756e7420697320657863656564656460448201526064016105cb565b610fd38482611c25565b6000838152600f6020526040902042905593505b50508080610ff490612120565b915050610cee565b50806000036110455760405162461bcd60e51b8152602060048201526015602482015274139bc81c995dd85c99081858d8dd5b5d5b185d1959605a1b60448201526064016105cb565b61104f3382611b30565b80600a60008282546109f99190612085565b6005546001600160a01b0316331461108b5760405162461bcd60e51b81526004016105cb9061203a565b6110956000611c38565b565b6005546001600160a01b031633146110c15760405162461bcd60e51b81526004016105cb9061203a565b600b54156111115760405162461bcd60e51b815260206004820152601760248201527f5374616b696e6720616c7265616479207374617274656400000000000000000060448201526064016105cb565b42600b8190556040519081527f35f87ec121777dc0cc72cd4066439fd5218001344ebdadccc8cfcf3c3dee61089060200160405180910390a1565b6005546001600160a01b031633146111765760405162461bcd60e51b81526004016105cb9061203a565b600c5442116111bb5760405162461bcd60e51b8152602060048201526011602482015270105a5c991c9bdc081b9bdd08195b991959607a1b60448201526064016105cb565b6a0771d2fa45345aa9000000816007546111d59190612085565b111561122d5760405162461bcd60e51b815260206004820152602160248201527f41697264726f7020737570706c7920616d6f756e7420697320657863656564656044820152601960fa1b60648201526084016105cb565b6112378282611b30565b80600760008282546109f99190612085565b6005546001600160a01b031633146112735760405162461bcd60e51b81526004016105cb9061203a565b6a04f68ca6d8cd91c60000008160065461128d9190612085565b11156112db5760405162461bcd60e51b815260206004820152601d60248201527f5465616d20746f6b656e20616d6f756e7420697320657863656564656400000060448201526064016105cb565b6112e58282611b30565b80600660008282546109f99190612085565b60606004805461050890612000565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156113885760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105cb565b611395338585840361183d565b5060019392505050565b6005546001600160a01b031633146113c95760405162461bcd60e51b81526004016105cb9061203a565b6a0771d2fa45345aa9000000816009546113e39190612085565b11156114315760405162461bcd60e51b815260206004820181905260248201527f5472657375727920746f6b656e20616d6f756e7420697320657863656564656460448201526064016105cb565b61143b8282611b30565b80600960008282546109f99190612085565b6000610598338484611961565b6005546001600160a01b031633146114845760405162461bcd60e51b81526004016105cb9061203a565b601155565b600d546000906001600160a01b03166114b45760405162461bcd60e51b81526004016105cb9061209d565b600b5442116115055760405162461bcd60e51b815260206004820152601760248201527f5374616b696e6720686173206e6f74207374617274656400000000000000000060448201526064016105cb565b600d60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611558573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157c91906120d4565b82106115be5760405162461bcd60e51b8152602060048201526011602482015270139195081a5cc81b9bdd081b5a5b9d1959607a1b60448201526064016105cb565b600d546040516331a9108f60e11b8152600481018490526000916001600160a01b031690636352211e90602401602060405180830381865afa158015611608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162c91906120ed565b6001600160a01b03160361168d5760405162461bcd60e51b815260206004820152602260248201527f4e465420686173206e6f206f776e6572206f7220646f6573206e6f74206578696044820152611cdd60f21b60648201526084016105cb565b60006116988361073c565b90506116a261172d565b81106116b15750600092915050565b60006116bb61172d565b42106116ce576116c961172d565b6116d0565b425b905060006116fd67042cabf66ca46c006116f7620151806116f18688611c8a565b90611c96565b90611ca2565b6000868152600e602052604090205490915060ff161561172557611722816004611ca2565b90505b949350505050565b6000600b546000036117815760405162461bcd60e51b815260206004820152601a60248201527f5374616b696e67206973206e6f7420737461727465642079657400000000000060448201526064016105cb565b61179062015180610447612139565b600b5461179d9190612085565b905090565b6005546001600160a01b031633146117cc5760405162461bcd60e51b81526004016105cb9061203a565b6001600160a01b0381166118315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105cb565b61183a81611c38565b50565b6001600160a01b03831661189f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105cb565b6001600160a01b0382166119005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105cb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119c55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105cb565b6001600160a01b038216611a275760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105cb565b6001600160a01b03831660009081526020819052604090205481811015611a9f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105cb565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611ad6908490612085565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b2291815260200190565b60405180910390a350505050565b6001600160a01b038216611b865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105cb565b8060026000828254611b989190612085565b90915550506001600160a01b03821660009081526020819052604081208054839290611bc5908490612085565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600082611c1c8584611cae565b14949350505050565b6000611c318284612085565b9392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611c318284612158565b6000611c31828461216f565b6000611c318284612139565b600081815b8451811015611d52576000858281518110611cd057611cd061210a565b60200260200101519050808311611d12576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d3f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d4a81612120565b915050611cb3565b509392505050565b600060208083528351808285015260005b81811015611d8757858101830151858201604001528201611d6b565b81811115611d99576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461183a57600080fd5b60008060408385031215611dd757600080fd5b8235611de281611daf565b946020939093013593505050565b600060208284031215611e0257600080fd5b8135611c3181611daf565b600080600060608486031215611e2257600080fd5b8335611e2d81611daf565b92506020840135611e3d81611daf565b929592945050506040919091013590565b600060208284031215611e6057600080fd5b5035919050565b60008060008060608587031215611e7d57600080fd5b8435611e8881611daf565b935060208501359250604085013567ffffffffffffffff80821115611eac57600080fd5b818701915087601f830112611ec057600080fd5b813581811115611ecf57600080fd5b8860208260051b8501011115611ee457600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611f1c57600080fd5b823567ffffffffffffffff80821115611f3457600080fd5b818501915085601f830112611f4857600080fd5b813581811115611f5a57611f5a611ef3565b8060051b604051601f19603f83011681018181108582111715611f7f57611f7f611ef3565b604052918252848201925083810185019188831115611f9d57600080fd5b938501935b82851015611fbb57843584529385019392850192611fa2565b98975050505050505050565b60008060408385031215611fda57600080fd5b8235611fe581611daf565b91506020830135611ff581611daf565b809150509250929050565b600181811c9082168061201457607f821691505b60208210810361203457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120985761209861206f565b500190565b6020808252601d908201527f546f6b656e20636f6e747261637420646f6573206e6f74206578697374000000604082015260600190565b6000602082840312156120e657600080fd5b5051919050565b6000602082840312156120ff57600080fd5b8151611c3181611daf565b634e487b7160e01b600052603260045260246000fd5b6000600182016121325761213261206f565b5060010190565b60008160001904831182151516156121535761215361206f565b500290565b60008282101561216a5761216a61206f565b500390565b60008261218c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207eed2aa1d41eb6edf08941691c2a0de23f64df28a9294a64f8103974ca758de664736f6c634300080d0033
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.