ERC-20
Overview
Max Total Supply
31,088,000 $GO
Holders
21
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 $GOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GradieERC20
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "ERC20Capped.sol"; import "ERC20.sol"; import "IERC20.sol"; import "Ownable.sol"; import "IERC721.sol"; import "ReentrancyGuard.sol"; import "ECDSA.sol"; contract GradieERC20 is Ownable, ERC20, ERC20Capped, ReentrancyGuard { using ECDSA for bytes32; IERC721 public parentNFT = IERC721(0xFE93785F5AD4C5a740628f9b950bef90C67260d9); // date that start calculating claimable rewards uint256 public startingTimestamp = 1653235200; // map token id to last claimed timestamp mapping(uint256 => uint256) public tokenLastUpdated; uint256 public presaleMaxSupply = 10000000 ether; uint256 public presaleSold; uint256 public presalePerLotPrice = 0.025 ether; uint256 public presalePerLotAmount = 1000 ether; uint256 public rewardPerDay = 50 ether; //owners addresses address public owner1 = 0x5E2448CE7bfAebE840e6E6dd2600c0aa9D88f4F7; address public owner2 = 0xAE175b64cE7C4Df5cf3e07bb28Bcbaea847F3683; address public owner3 = 0x3E68D784d04ED054Be8d8c21482D40d741177B5A; address public verifyAddress = 0xD8f94d447c5f7dfB5a6278be1e927bd00cf1c851; //list of operators, for future utilities mapping(address => bool) public isOperator; constructor() ERC20("Gradie Origin", "$GO") ERC20Capped(100000000 ether) { //premine _mint(msg.sender, 30000000 ether); _approve(msg.sender, address(this), 10000000 ether); } function publicMint(uint256 _amount) public payable { require( presaleSold + (_amount * presalePerLotAmount) <= presaleMaxSupply, "max supply exceeded" ); require(_amount > 0, "mint amount cannot be 0"); require( msg.value >= _amount * presalePerLotPrice, "insufficient funds" ); presaleSold += (_amount * presalePerLotAmount); _transfer(owner(), msg.sender, _amount * presalePerLotAmount); } function claim( uint256[] calldata _tokenIds, uint256[] calldata _bonuses, bytes[] calldata _signatures ) public nonReentrant { require( block.timestamp > startingTimestamp, "claim has not started yet" ); require( _tokenIds.length > 0, "need to input atleast one token id to claim" ); require( _tokenIds.length == _bonuses.length && _bonuses.length == _signatures.length, "invalid input" ); uint256 totalRewards = getTotalClaimableAmount( _tokenIds, _bonuses, _signatures ); require(totalRewards > 0, "there's no reward available"); for (uint256 i = 0; i < _tokenIds.length; i++) { require( parentNFT.ownerOf(_tokenIds[i]) == msg.sender, "you're not the NFT(s) holder" ); if (tokenLastUpdated[_tokenIds[i]] == 0) tokenLastUpdated[_tokenIds[i]] = startingTimestamp; uint256 dayPassed = (block.timestamp - tokenLastUpdated[_tokenIds[i]]) / 1 days; tokenLastUpdated[_tokenIds[i]] += dayPassed * 1 days; } _mint(msg.sender, totalRewards); } function getTotalClaimableAmount( uint256[] calldata _tokenIds, uint256[] calldata _bonuses, bytes[] calldata _signatures ) public view returns (uint256) { if (block.timestamp < startingTimestamp) return 0; if (_tokenIds.length == 0) return 0; require( _tokenIds.length == _bonuses.length && _bonuses.length == _signatures.length, "invalid input" ); uint256 totalRewards = 0; for (uint256 i = 0; i < _tokenIds.length; i++) { uint256 _id = _tokenIds[i]; uint256 _verifiedBonus = 0; if ( (tokenLastUpdated[_id] == 0 || tokenLastUpdated[_id] == startingTimestamp) && _bonuses[i] != 0 && verifyOwnerSignature( keccak256(abi.encode(_id, _bonuses[i])), _signatures[i] ) ) { _verifiedBonus = _bonuses[i]; } uint256 lastUpdatedTime = tokenLastUpdated[_id]; if (lastUpdatedTime == 0) lastUpdatedTime = startingTimestamp; uint256 dayPassed = (block.timestamp - lastUpdatedTime) / 1 days; totalRewards += dayPassed * (rewardPerDay / (100000000 ether / (100000000 ether - totalSupply()))) + (_verifiedBonus * 1 ether); } return totalRewards; } function getCurrentDailyYield() public returns (uint256) { return rewardPerDay / (100000000 ether / (100000000 ether - totalSupply())); } function getOwner(uint256 _id) public view returns (address) { return parentNFT.ownerOf(_id); } function setNFTContract(address _set) external onlyOwner { parentNFT = IERC721(_set); } function setVerifyAddress(address _set) external onlyOwner { verifyAddress = _set; } function setStartingTimestamp(uint256 _set) external onlyOwner { startingTimestamp = _set; } function setPerDayReward(uint256 _set) external onlyOwner { rewardPerDay = _set; } function setPresalePerLotPrice(uint256 _set) external onlyOwner { presalePerLotPrice = _set; } function setPresalePerLotAmount(uint256 _set) external onlyOwner { presalePerLotAmount = _set; } function setMaxSupply(uint256 _set) external onlyOwner { presaleMaxSupply = _set; } //Operator - used for future utilities modifier onlyOperator() { require( isOperator[_msgSender()], "caller is not allowed to call this function" ); _; } function setOperator(address _address, bool _set) external onlyOwner { isOperator[_address] = _set; } function mint(address to, uint256 amount) public onlyOperator { _mint(to, amount); } function burn(address to, uint256 amount) public onlyOperator { _burn(to, amount); } function _mint(address to, uint256 amount) internal override(ERC20, ERC20Capped) { super._mint(to, amount); } function verifyOwnerSignature(bytes32 hash, bytes memory signature) private view returns (bool) { return hash.toEthSignedMessageHash().recover(signature) == verifyAddress; } function withdrawAll() external onlyOwner { uint256 amount = address(this).balance / 3; require(amount > 0, "withdraw balance must be larger than 0"); _widthdraw(owner1, amount); _widthdraw(owner2, amount); _widthdraw(owner3, amount); } function _widthdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol) pragma solidity ^0.8.0; import "ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private immutable _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "IERC20.sol"; import "IERC20Metadata.sol"; import "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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][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) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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 Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 (last updated v4.5.0) (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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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 (access/Ownable.sol) pragma solidity ^0.8.0; import "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 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":[{"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_bonuses","type":"uint256[]"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"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":[],"name":"getCurrentDailyYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_bonuses","type":"uint256[]"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"name":"getTotalClaimableAmount","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":"address","name":"","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","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":"owner1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"parentNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePerLotAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePerLotPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_set","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_set","type":"address"}],"name":"setNFTContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_set","type":"uint256"}],"name":"setPerDayReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_set","type":"uint256"}],"name":"setPresalePerLotAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_set","type":"uint256"}],"name":"setPresalePerLotPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_set","type":"uint256"}],"name":"setStartingTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_set","type":"address"}],"name":"setVerifyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenLastUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":[],"name":"verifyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052600780546001600160a01b031990811673fe93785f5ad4c5a740628f9b950bef90c67260d91790915563628a5e006008556a084595161401484a000000600a556658d15e17628000600c55683635c9adc5dea00000600d556802b5e3af16b1880000600e55600f80548216735e2448ce7bfaebe840e6e6dd2600c0aa9d88f4f717905560108054821673ae175b64ce7c4df5cf3e07bb28bcbaea847f3683179055601180548216733e68d784d04ed054be8d8c21482d40d741177b5a1790556012805490911673d8f94d447c5f7dfb5a6278be1e927bd00cf1c851179055348015620000ef57600080fd5b506a52b7d2dcc80cd2e40000006040518060400160405280600d81526020016c23b930b234b29027b934b3b4b760991b8152506040518060400160405280600381526020016224474f60e81b81525062000158620001526200021960201b60201c565b6200021d565b81516200016d90600490602085019062000529565b5080516200018390600590602084019062000529565b50505060008111620001dc5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b6080526001600655620001fb336a18d0bf423c03d8de0000006200026d565b6200021333306a084595161401484a00000062000288565b62000633565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620002848282620003b060201b6200162a1760201c565b5050565b6001600160a01b038316620002ec5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620001d3565b6001600160a01b0382166200034f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620001d3565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60805181620003c96200043c60201b620008bf1760201c565b620003d59190620005cf565b1115620004255760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401620001d3565b6200028482826200044260201b620016b31760201c565b60035490565b6001600160a01b0382166200049a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001d3565b8060036000828254620004ae9190620005cf565b90915550506001600160a01b03821660009081526001602052604081208054839290620004dd908490620005cf565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a362000284565b8280546200053790620005f6565b90600052602060002090601f0160209004810192826200055b5760008555620005a6565b82601f106200057657805160ff1916838001178555620005a6565b82800160010185558215620005a6579182015b82811115620005a657825182559160200191906001019062000589565b50620005b4929150620005b8565b5090565b5b80821115620005b45760008155600101620005b9565b60008219821115620005f157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200060b57607f821691505b602082108114156200062d57634e487b7160e01b600052602260045260246000fd5b50919050565b6080516125d06200065660003960008181610360015261162c01526125d06000f3fe6080604052600436106102675760003560e01c806378b2724311610144578063a9282cae116100b6578063b8e33fb21161007a578063b8e33fb21461072f578063b90b4c391461074f578063c01f8b5f1461076f578063c41a360a1461078f578063dd62ed3e146107af578063f2fde38b146107f557600080fd5b8063a9282cae146106a4578063aa431139146106b9578063af8f42b8146106d9578063b6e66b16146106ef578063b6f36dcf1461070f57600080fd5b806395d89b411161010857806395d89b41146105e25780639dc29fac146105f7578063a457c2d714610617578063a7ccabdf14610637578063a9059cbb14610657578063a91244de1461067757600080fd5b806378b2724314610559578063853828b614610579578063887862721461058e5780638da5cb5b146105a457806392fade8a146105c257600080fd5b806352709725116101dd5780636d70f7ae116101a15780636d70f7ae1461047e5780636f8b44b0146104ae57806370a08231146104ce578063715018a6146105045780637333176314610519578063736889141461053957600080fd5b806352709725146103da578063558a7297146104125780635ffa636f146104325780636480ebab1461044857806365925b901461045e57600080fd5b80632db115441161022f5780632db1154414610320578063313ce56714610335578063355274ea14610351578063395093511461038457806340c10f19146103a457806348cebd67146103c457600080fd5b806306fdde031461026c57806308fc299b14610297578063095ea7b3146102bb57806318160ddd146102eb57806323b872dd14610300575b600080fd5b34801561027857600080fd5b50610281610815565b60405161028e919061214f565b60405180910390f35b3480156102a357600080fd5b506102ad600a5481565b60405190815260200161028e565b3480156102c757600080fd5b506102db6102d63660046121b9565b6108a7565b604051901515815260200161028e565b3480156102f757600080fd5b506003546102ad565b34801561030c57600080fd5b506102db61031b3660046121e5565b6108c5565b61033361032e366004612226565b6108e9565b005b34801561034157600080fd5b506040516012815260200161028e565b34801561035d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ad565b34801561039057600080fd5b506102db61039f3660046121b9565b610a3a565b3480156103b057600080fd5b506103336103bf3660046121b9565b610a79565b3480156103d057600080fd5b506102ad600b5481565b3480156103e657600080fd5b506010546103fa906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b34801561041e57600080fd5b5061033361042d36600461223f565b610ab6565b34801561043e57600080fd5b506102ad600c5481565b34801561045457600080fd5b506102ad600d5481565b34801561046a57600080fd5b506012546103fa906001600160a01b031681565b34801561048a57600080fd5b506102db61049936600461227d565b60136020526000908152604090205460ff1681565b3480156104ba57600080fd5b506103336104c9366004612226565b610b0b565b3480156104da57600080fd5b506102ad6104e936600461227d565b6001600160a01b031660009081526001602052604090205490565b34801561051057600080fd5b50610333610b3a565b34801561052557600080fd5b50610333610534366004612226565b610b70565b34801561054557600080fd5b50600f546103fa906001600160a01b031681565b34801561056557600080fd5b506103336105743660046122e6565b610b9f565b34801561058557600080fd5b50610333610f6b565b34801561059a57600080fd5b506102ad60085481565b3480156105b057600080fd5b506000546001600160a01b03166103fa565b3480156105ce57600080fd5b506103336105dd366004612226565b611045565b3480156105ee57600080fd5b50610281611074565b34801561060357600080fd5b506103336106123660046121b9565b611083565b34801561062357600080fd5b506102db6106323660046121b9565b6110bc565b34801561064357600080fd5b5061033361065236600461227d565b61114e565b34801561066357600080fd5b506102db6106723660046121b9565b61119a565b34801561068357600080fd5b506102ad610692366004612226565b60096020526000908152604090205481565b3480156106b057600080fd5b506102ad6111a8565b3480156106c557600080fd5b506103336106d4366004612226565b6111ef565b3480156106e557600080fd5b506102ad600e5481565b3480156106fb57600080fd5b5061033361070a36600461227d565b61121e565b34801561071b57600080fd5b506011546103fa906001600160a01b031681565b34801561073b57600080fd5b506007546103fa906001600160a01b031681565b34801561075b57600080fd5b506102ad61076a3660046122e6565b61126a565b34801561077b57600080fd5b5061033361078a366004612226565b6114ef565b34801561079b57600080fd5b506103fa6107aa366004612226565b61151e565b3480156107bb57600080fd5b506102ad6107ca366004612380565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561080157600080fd5b5061033361081036600461227d565b611592565b606060048054610824906123ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610850906123ae565b801561089d5780601f106108725761010080835404028352916020019161089d565b820191906000526020600020905b81548152906001019060200180831161088057829003601f168201915b5050505050905090565b6000336108b5818585611792565b5060019392505050565b60035490565b6000336108d38582856118b6565b6108de858585611948565b506001949350505050565b600a54600d546108f990836123ff565b600b54610906919061241e565b111561094f5760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064015b60405180910390fd5b6000811161099f5760405162461bcd60e51b815260206004820152601760248201527f6d696e7420616d6f756e742063616e6e6f7420626520300000000000000000006044820152606401610946565b600c546109ac90826123ff565b3410156109f05760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610946565b600d546109fd90826123ff565b600b6000828254610a0e919061241e565b9091555050600054610a37906001600160a01b031633600d5484610a3291906123ff565b611948565b50565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091906108b59082908690610a7490879061241e565b611792565b3360009081526013602052604090205460ff16610aa85760405162461bcd60e51b815260040161094690612436565b610ab28282611b16565b5050565b6000546001600160a01b03163314610ae05760405162461bcd60e51b815260040161094690612481565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610b355760405162461bcd60e51b815260040161094690612481565b600a55565b6000546001600160a01b03163314610b645760405162461bcd60e51b815260040161094690612481565b610b6e6000611b20565b565b6000546001600160a01b03163314610b9a5760405162461bcd60e51b815260040161094690612481565b600c55565b60026006541415610bf25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610946565b60026006556008544211610c485760405162461bcd60e51b815260206004820152601960248201527f636c61696d20686173206e6f74207374617274656420796574000000000000006044820152606401610946565b84610ca95760405162461bcd60e51b815260206004820152602b60248201527f6e65656420746f20696e7075742061746c65617374206f6e6520746f6b656e2060448201526a696420746f20636c61696d60a81b6064820152608401610946565b8483148015610cb757508281145b610cf35760405162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a59081a5b9c1d5d609a1b6044820152606401610946565b6000610d0387878787878761126a565b905060008111610d555760405162461bcd60e51b815260206004820152601b60248201527f74686572652773206e6f2072657761726420617661696c61626c6500000000006044820152606401610946565b60005b86811015610f525760075433906001600160a01b0316636352211e8a8a85818110610d8557610d856124b6565b905060200201356040518263ffffffff1660e01b8152600401610daa91815260200190565b602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb91906124cc565b6001600160a01b031614610e415760405162461bcd60e51b815260206004820152601c60248201527f796f75277265206e6f7420746865204e465428732920686f6c646572000000006044820152606401610946565b60096000898984818110610e5757610e576124b6565b9050602002013581526020019081526020016000205460001415610ea857600854600960008a8a85818110610e8e57610e8e6124b6565b905060200201358152602001908152602001600020819055505b600062015180600960008b8b86818110610ec457610ec46124b6565b9050602002013581526020019081526020016000205442610ee591906124e9565b610eef9190612500565b9050610efe81620151806123ff565b600960008b8b86818110610f1457610f146124b6565b9050602002013581526020019081526020016000206000828254610f38919061241e565b90915550829150610f4a905081612522565b915050610d58565b50610f5d3382611b16565b505060016006555050505050565b6000546001600160a01b03163314610f955760405162461bcd60e51b815260040161094690612481565b6000610fa2600347612500565b9050600081116110035760405162461bcd60e51b815260206004820152602660248201527f77697468647261772062616c616e6365206d757374206265206c61726765722060448201526507468616e20360d41b6064820152608401610946565b600f54611019906001600160a01b031682611b70565b60105461102f906001600160a01b031682611b70565b601154610a37906001600160a01b031682611b70565b6000546001600160a01b0316331461106f5760405162461bcd60e51b815260040161094690612481565b600e55565b606060058054610824906123ae565b3360009081526013602052604090205460ff166110b25760405162461bcd60e51b815260040161094690612436565b610ab28282611c0b565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909190838110156111415760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610946565b6108de8286868403611792565b6000546001600160a01b031633146111785760405162461bcd60e51b815260040161094690612481565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000336108b5818585611948565b60006111b360035490565b6111c8906a52b7d2dcc80cd2e40000006124e9565b6111dd906a52b7d2dcc80cd2e4000000612500565b600e546111ea9190612500565b905090565b6000546001600160a01b031633146112195760405162461bcd60e51b815260040161094690612481565b600d55565b6000546001600160a01b031633146112485760405162461bcd60e51b815260040161094690612481565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b600060085442101561127e575060006114e5565b8561128b575060006114e5565b858414801561129957508382145b6112d55760405162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a59081a5b9c1d5d609a1b6044820152606401610946565b6000805b878110156114e15760008989838181106112f5576112f56124b6565b90506020020135905060006009600083815260200190815260200160002054600014806113315750600854600083815260096020526040902054145b8015611356575088888481811061134a5761134a6124b6565b90506020020135600014155b80156114085750611408828a8a86818110611373576113736124b6565b90506020020135604051602001611394929190918252602082015260400190565b604051602081830303815290604052805190602001208888868181106113bc576113bc6124b6565b90506020028101906113ce919061253d565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d5992505050565b156114295788888481811061141f5761141f6124b6565b9050602002013590505b6000828152600960205260409020548061144257506008545b60006201518061145283426124e9565b61145c9190612500565b905061147083670de0b6b3a76400006123ff565b600354611488906a52b7d2dcc80cd2e40000006124e9565b61149d906a52b7d2dcc80cd2e4000000612500565b600e546114aa9190612500565b6114b490836123ff565b6114be919061241e565b6114c8908761241e565b95505050505080806114d990612522565b9150506112d9565b5090505b9695505050505050565b6000546001600160a01b031633146115195760405162461bcd60e51b815260040161094690612481565b600855565b6007546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e90602401602060405180830381865afa158015611568573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158c91906124cc565b92915050565b6000546001600160a01b031633146115bc5760405162461bcd60e51b815260040161094690612481565b6001600160a01b0381166116215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610946565b610a3781611b20565b7f00000000000000000000000000000000000000000000000000000000000000008161165560035490565b61165f919061241e565b11156116ad5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610946565b610ab282825b6001600160a01b0382166117095760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610946565b806003600082825461171b919061241e565b90915550506001600160a01b0382166000908152600160205260408120805483929061174890849061241e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166117f45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610946565b6001600160a01b0382166118555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610946565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260026020908152604080832093861683529290522054600019811461194257818110156119355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610946565b6119428484848403611792565b50505050565b6001600160a01b0383166119ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610946565b6001600160a01b038216611a0e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610946565b6001600160a01b03831660009081526001602052604090205481811015611a865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610946565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611abd90849061241e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b0991815260200190565b60405180910390a3611942565b610ab2828261162a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bbd576040519150601f19603f3d011682016040523d82523d6000602084013e611bc2565b606091505b5050905080611c065760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610946565b505050565b6001600160a01b038216611c6b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610946565b6001600160a01b03821660009081526001602052604090205481811015611cdf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610946565b6001600160a01b0383166000908152600160205260408120838303905560038054849290611d0e9084906124e9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6012546000906001600160a01b0316611dc983611dc3866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90611dda565b6001600160a01b0316149392505050565b6000806000611de98585611dfe565b91509150611df681611e6e565b509392505050565b600080825160411415611e355760208301516040840151606085015160001a611e2987828585612029565b94509450505050611e67565b825160401415611e5f5760208301516040840151611e54868383612116565b935093505050611e67565b506000905060025b9250929050565b6000816004811115611e8257611e82612584565b1415611e8b5750565b6001816004811115611e9f57611e9f612584565b1415611eed5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610946565b6002816004811115611f0157611f01612584565b1415611f4f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610946565b6003816004811115611f6357611f63612584565b1415611fbc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610946565b6004816004811115611fd057611fd0612584565b1415610a375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610946565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612060575060009050600361210d565b8460ff16601b1415801561207857508460ff16601c14155b15612089575060009050600461210d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120dd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121065760006001925092505061210d565b9150600090505b94509492505050565b6000806001600160ff1b0383168161213360ff86901c601b61241e565b905061214187828885612029565b935093505050935093915050565b600060208083528351808285015260005b8181101561217c57858101830151858201604001528201612160565b8181111561218e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610a3757600080fd5b600080604083850312156121cc57600080fd5b82356121d7816121a4565b946020939093013593505050565b6000806000606084860312156121fa57600080fd5b8335612205816121a4565b92506020840135612215816121a4565b929592945050506040919091013590565b60006020828403121561223857600080fd5b5035919050565b6000806040838503121561225257600080fd5b823561225d816121a4565b91506020830135801515811461227257600080fd5b809150509250929050565b60006020828403121561228f57600080fd5b813561229a816121a4565b9392505050565b60008083601f8401126122b357600080fd5b50813567ffffffffffffffff8111156122cb57600080fd5b6020830191508360208260051b8501011115611e6757600080fd5b600080600080600080606087890312156122ff57600080fd5b863567ffffffffffffffff8082111561231757600080fd5b6123238a838b016122a1565b9098509650602089013591508082111561233c57600080fd5b6123488a838b016122a1565b9096509450604089013591508082111561236157600080fd5b5061236e89828a016122a1565b979a9699509497509295939492505050565b6000806040838503121561239357600080fd5b823561239e816121a4565b91506020830135612272816121a4565b600181811c908216806123c257607f821691505b602082108114156123e357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612419576124196123e9565b500290565b60008219821115612431576124316123e9565b500190565b6020808252602b908201527f63616c6c6572206973206e6f7420616c6c6f77656420746f2063616c6c20746860408201526a34b990333ab731ba34b7b760a91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124de57600080fd5b815161229a816121a4565b6000828210156124fb576124fb6123e9565b500390565b60008261251d57634e487b7160e01b600052601260045260246000fd5b500490565b6000600019821415612536576125366123e9565b5060010190565b6000808335601e1984360301811261255457600080fd5b83018035915067ffffffffffffffff82111561256f57600080fd5b602001915036819003821315611e6757600080fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220e417b3bd185a1746fd7ccb410daef6e543003d76f13928e3063408f3b2d1fc1864736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106102675760003560e01c806378b2724311610144578063a9282cae116100b6578063b8e33fb21161007a578063b8e33fb21461072f578063b90b4c391461074f578063c01f8b5f1461076f578063c41a360a1461078f578063dd62ed3e146107af578063f2fde38b146107f557600080fd5b8063a9282cae146106a4578063aa431139146106b9578063af8f42b8146106d9578063b6e66b16146106ef578063b6f36dcf1461070f57600080fd5b806395d89b411161010857806395d89b41146105e25780639dc29fac146105f7578063a457c2d714610617578063a7ccabdf14610637578063a9059cbb14610657578063a91244de1461067757600080fd5b806378b2724314610559578063853828b614610579578063887862721461058e5780638da5cb5b146105a457806392fade8a146105c257600080fd5b806352709725116101dd5780636d70f7ae116101a15780636d70f7ae1461047e5780636f8b44b0146104ae57806370a08231146104ce578063715018a6146105045780637333176314610519578063736889141461053957600080fd5b806352709725146103da578063558a7297146104125780635ffa636f146104325780636480ebab1461044857806365925b901461045e57600080fd5b80632db115441161022f5780632db1154414610320578063313ce56714610335578063355274ea14610351578063395093511461038457806340c10f19146103a457806348cebd67146103c457600080fd5b806306fdde031461026c57806308fc299b14610297578063095ea7b3146102bb57806318160ddd146102eb57806323b872dd14610300575b600080fd5b34801561027857600080fd5b50610281610815565b60405161028e919061214f565b60405180910390f35b3480156102a357600080fd5b506102ad600a5481565b60405190815260200161028e565b3480156102c757600080fd5b506102db6102d63660046121b9565b6108a7565b604051901515815260200161028e565b3480156102f757600080fd5b506003546102ad565b34801561030c57600080fd5b506102db61031b3660046121e5565b6108c5565b61033361032e366004612226565b6108e9565b005b34801561034157600080fd5b506040516012815260200161028e565b34801561035d57600080fd5b507f00000000000000000000000000000000000000000052b7d2dcc80cd2e40000006102ad565b34801561039057600080fd5b506102db61039f3660046121b9565b610a3a565b3480156103b057600080fd5b506103336103bf3660046121b9565b610a79565b3480156103d057600080fd5b506102ad600b5481565b3480156103e657600080fd5b506010546103fa906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b34801561041e57600080fd5b5061033361042d36600461223f565b610ab6565b34801561043e57600080fd5b506102ad600c5481565b34801561045457600080fd5b506102ad600d5481565b34801561046a57600080fd5b506012546103fa906001600160a01b031681565b34801561048a57600080fd5b506102db61049936600461227d565b60136020526000908152604090205460ff1681565b3480156104ba57600080fd5b506103336104c9366004612226565b610b0b565b3480156104da57600080fd5b506102ad6104e936600461227d565b6001600160a01b031660009081526001602052604090205490565b34801561051057600080fd5b50610333610b3a565b34801561052557600080fd5b50610333610534366004612226565b610b70565b34801561054557600080fd5b50600f546103fa906001600160a01b031681565b34801561056557600080fd5b506103336105743660046122e6565b610b9f565b34801561058557600080fd5b50610333610f6b565b34801561059a57600080fd5b506102ad60085481565b3480156105b057600080fd5b506000546001600160a01b03166103fa565b3480156105ce57600080fd5b506103336105dd366004612226565b611045565b3480156105ee57600080fd5b50610281611074565b34801561060357600080fd5b506103336106123660046121b9565b611083565b34801561062357600080fd5b506102db6106323660046121b9565b6110bc565b34801561064357600080fd5b5061033361065236600461227d565b61114e565b34801561066357600080fd5b506102db6106723660046121b9565b61119a565b34801561068357600080fd5b506102ad610692366004612226565b60096020526000908152604090205481565b3480156106b057600080fd5b506102ad6111a8565b3480156106c557600080fd5b506103336106d4366004612226565b6111ef565b3480156106e557600080fd5b506102ad600e5481565b3480156106fb57600080fd5b5061033361070a36600461227d565b61121e565b34801561071b57600080fd5b506011546103fa906001600160a01b031681565b34801561073b57600080fd5b506007546103fa906001600160a01b031681565b34801561075b57600080fd5b506102ad61076a3660046122e6565b61126a565b34801561077b57600080fd5b5061033361078a366004612226565b6114ef565b34801561079b57600080fd5b506103fa6107aa366004612226565b61151e565b3480156107bb57600080fd5b506102ad6107ca366004612380565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561080157600080fd5b5061033361081036600461227d565b611592565b606060048054610824906123ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610850906123ae565b801561089d5780601f106108725761010080835404028352916020019161089d565b820191906000526020600020905b81548152906001019060200180831161088057829003601f168201915b5050505050905090565b6000336108b5818585611792565b5060019392505050565b60035490565b6000336108d38582856118b6565b6108de858585611948565b506001949350505050565b600a54600d546108f990836123ff565b600b54610906919061241e565b111561094f5760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064015b60405180910390fd5b6000811161099f5760405162461bcd60e51b815260206004820152601760248201527f6d696e7420616d6f756e742063616e6e6f7420626520300000000000000000006044820152606401610946565b600c546109ac90826123ff565b3410156109f05760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610946565b600d546109fd90826123ff565b600b6000828254610a0e919061241e565b9091555050600054610a37906001600160a01b031633600d5484610a3291906123ff565b611948565b50565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091906108b59082908690610a7490879061241e565b611792565b3360009081526013602052604090205460ff16610aa85760405162461bcd60e51b815260040161094690612436565b610ab28282611b16565b5050565b6000546001600160a01b03163314610ae05760405162461bcd60e51b815260040161094690612481565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610b355760405162461bcd60e51b815260040161094690612481565b600a55565b6000546001600160a01b03163314610b645760405162461bcd60e51b815260040161094690612481565b610b6e6000611b20565b565b6000546001600160a01b03163314610b9a5760405162461bcd60e51b815260040161094690612481565b600c55565b60026006541415610bf25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610946565b60026006556008544211610c485760405162461bcd60e51b815260206004820152601960248201527f636c61696d20686173206e6f74207374617274656420796574000000000000006044820152606401610946565b84610ca95760405162461bcd60e51b815260206004820152602b60248201527f6e65656420746f20696e7075742061746c65617374206f6e6520746f6b656e2060448201526a696420746f20636c61696d60a81b6064820152608401610946565b8483148015610cb757508281145b610cf35760405162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a59081a5b9c1d5d609a1b6044820152606401610946565b6000610d0387878787878761126a565b905060008111610d555760405162461bcd60e51b815260206004820152601b60248201527f74686572652773206e6f2072657761726420617661696c61626c6500000000006044820152606401610946565b60005b86811015610f525760075433906001600160a01b0316636352211e8a8a85818110610d8557610d856124b6565b905060200201356040518263ffffffff1660e01b8152600401610daa91815260200190565b602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb91906124cc565b6001600160a01b031614610e415760405162461bcd60e51b815260206004820152601c60248201527f796f75277265206e6f7420746865204e465428732920686f6c646572000000006044820152606401610946565b60096000898984818110610e5757610e576124b6565b9050602002013581526020019081526020016000205460001415610ea857600854600960008a8a85818110610e8e57610e8e6124b6565b905060200201358152602001908152602001600020819055505b600062015180600960008b8b86818110610ec457610ec46124b6565b9050602002013581526020019081526020016000205442610ee591906124e9565b610eef9190612500565b9050610efe81620151806123ff565b600960008b8b86818110610f1457610f146124b6565b9050602002013581526020019081526020016000206000828254610f38919061241e565b90915550829150610f4a905081612522565b915050610d58565b50610f5d3382611b16565b505060016006555050505050565b6000546001600160a01b03163314610f955760405162461bcd60e51b815260040161094690612481565b6000610fa2600347612500565b9050600081116110035760405162461bcd60e51b815260206004820152602660248201527f77697468647261772062616c616e6365206d757374206265206c61726765722060448201526507468616e20360d41b6064820152608401610946565b600f54611019906001600160a01b031682611b70565b60105461102f906001600160a01b031682611b70565b601154610a37906001600160a01b031682611b70565b6000546001600160a01b0316331461106f5760405162461bcd60e51b815260040161094690612481565b600e55565b606060058054610824906123ae565b3360009081526013602052604090205460ff166110b25760405162461bcd60e51b815260040161094690612436565b610ab28282611c0b565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909190838110156111415760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610946565b6108de8286868403611792565b6000546001600160a01b031633146111785760405162461bcd60e51b815260040161094690612481565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000336108b5818585611948565b60006111b360035490565b6111c8906a52b7d2dcc80cd2e40000006124e9565b6111dd906a52b7d2dcc80cd2e4000000612500565b600e546111ea9190612500565b905090565b6000546001600160a01b031633146112195760405162461bcd60e51b815260040161094690612481565b600d55565b6000546001600160a01b031633146112485760405162461bcd60e51b815260040161094690612481565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b600060085442101561127e575060006114e5565b8561128b575060006114e5565b858414801561129957508382145b6112d55760405162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a59081a5b9c1d5d609a1b6044820152606401610946565b6000805b878110156114e15760008989838181106112f5576112f56124b6565b90506020020135905060006009600083815260200190815260200160002054600014806113315750600854600083815260096020526040902054145b8015611356575088888481811061134a5761134a6124b6565b90506020020135600014155b80156114085750611408828a8a86818110611373576113736124b6565b90506020020135604051602001611394929190918252602082015260400190565b604051602081830303815290604052805190602001208888868181106113bc576113bc6124b6565b90506020028101906113ce919061253d565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d5992505050565b156114295788888481811061141f5761141f6124b6565b9050602002013590505b6000828152600960205260409020548061144257506008545b60006201518061145283426124e9565b61145c9190612500565b905061147083670de0b6b3a76400006123ff565b600354611488906a52b7d2dcc80cd2e40000006124e9565b61149d906a52b7d2dcc80cd2e4000000612500565b600e546114aa9190612500565b6114b490836123ff565b6114be919061241e565b6114c8908761241e565b95505050505080806114d990612522565b9150506112d9565b5090505b9695505050505050565b6000546001600160a01b031633146115195760405162461bcd60e51b815260040161094690612481565b600855565b6007546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e90602401602060405180830381865afa158015611568573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158c91906124cc565b92915050565b6000546001600160a01b031633146115bc5760405162461bcd60e51b815260040161094690612481565b6001600160a01b0381166116215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610946565b610a3781611b20565b7f00000000000000000000000000000000000000000052b7d2dcc80cd2e40000008161165560035490565b61165f919061241e565b11156116ad5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610946565b610ab282825b6001600160a01b0382166117095760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610946565b806003600082825461171b919061241e565b90915550506001600160a01b0382166000908152600160205260408120805483929061174890849061241e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166117f45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610946565b6001600160a01b0382166118555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610946565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260026020908152604080832093861683529290522054600019811461194257818110156119355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610946565b6119428484848403611792565b50505050565b6001600160a01b0383166119ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610946565b6001600160a01b038216611a0e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610946565b6001600160a01b03831660009081526001602052604090205481811015611a865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610946565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611abd90849061241e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b0991815260200190565b60405180910390a3611942565b610ab2828261162a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bbd576040519150601f19603f3d011682016040523d82523d6000602084013e611bc2565b606091505b5050905080611c065760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610946565b505050565b6001600160a01b038216611c6b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610946565b6001600160a01b03821660009081526001602052604090205481811015611cdf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610946565b6001600160a01b0383166000908152600160205260408120838303905560038054849290611d0e9084906124e9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6012546000906001600160a01b0316611dc983611dc3866040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90611dda565b6001600160a01b0316149392505050565b6000806000611de98585611dfe565b91509150611df681611e6e565b509392505050565b600080825160411415611e355760208301516040840151606085015160001a611e2987828585612029565b94509450505050611e67565b825160401415611e5f5760208301516040840151611e54868383612116565b935093505050611e67565b506000905060025b9250929050565b6000816004811115611e8257611e82612584565b1415611e8b5750565b6001816004811115611e9f57611e9f612584565b1415611eed5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610946565b6002816004811115611f0157611f01612584565b1415611f4f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610946565b6003816004811115611f6357611f63612584565b1415611fbc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610946565b6004816004811115611fd057611fd0612584565b1415610a375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610946565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612060575060009050600361210d565b8460ff16601b1415801561207857508460ff16601c14155b15612089575060009050600461210d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120dd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121065760006001925092505061210d565b9150600090505b94509492505050565b6000806001600160ff1b0383168161213360ff86901c601b61241e565b905061214187828885612029565b935093505050935093915050565b600060208083528351808285015260005b8181101561217c57858101830151858201604001528201612160565b8181111561218e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610a3757600080fd5b600080604083850312156121cc57600080fd5b82356121d7816121a4565b946020939093013593505050565b6000806000606084860312156121fa57600080fd5b8335612205816121a4565b92506020840135612215816121a4565b929592945050506040919091013590565b60006020828403121561223857600080fd5b5035919050565b6000806040838503121561225257600080fd5b823561225d816121a4565b91506020830135801515811461227257600080fd5b809150509250929050565b60006020828403121561228f57600080fd5b813561229a816121a4565b9392505050565b60008083601f8401126122b357600080fd5b50813567ffffffffffffffff8111156122cb57600080fd5b6020830191508360208260051b8501011115611e6757600080fd5b600080600080600080606087890312156122ff57600080fd5b863567ffffffffffffffff8082111561231757600080fd5b6123238a838b016122a1565b9098509650602089013591508082111561233c57600080fd5b6123488a838b016122a1565b9096509450604089013591508082111561236157600080fd5b5061236e89828a016122a1565b979a9699509497509295939492505050565b6000806040838503121561239357600080fd5b823561239e816121a4565b91506020830135612272816121a4565b600181811c908216806123c257607f821691505b602082108114156123e357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612419576124196123e9565b500290565b60008219821115612431576124316123e9565b500190565b6020808252602b908201527f63616c6c6572206973206e6f7420616c6c6f77656420746f2063616c6c20746860408201526a34b990333ab731ba34b7b760a91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124de57600080fd5b815161229a816121a4565b6000828210156124fb576124fb6123e9565b500390565b60008261251d57634e487b7160e01b600052601260045260246000fd5b500490565b6000600019821415612536576125366123e9565b5060010190565b6000808335601e1984360301811261255457600080fd5b83018035915067ffffffffffffffff82111561256f57600080fd5b602001915036819003821315611e6757600080fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220e417b3bd185a1746fd7ccb410daef6e543003d76f13928e3063408f3b2d1fc1864736f6c634300080b0033
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.