Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
Latest 25 from a total of 167 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Purchase | 18690873 | 252 days ago | IN | 0 ETH | 0.00753915 | ||||
Purchase | 18690873 | 252 days ago | IN | 0 ETH | 0.01166362 | ||||
Update Price | 18680763 | 254 days ago | IN | 0 ETH | 0.00123154 | ||||
Purchase | 18640831 | 259 days ago | IN | 0 ETH | 0.00166138 | ||||
Purchase | 18640830 | 259 days ago | IN | 0 ETH | 0.0129975 | ||||
Purchase | 18640830 | 259 days ago | IN | 0 ETH | 0.0129975 | ||||
Purchase | 18640830 | 259 days ago | IN | 0 ETH | 0.00840135 | ||||
Purchase | 18640830 | 259 days ago | IN | 0 ETH | 0.0129975 | ||||
Purchase | 18640829 | 259 days ago | IN | 0 ETH | 0.01245389 | ||||
Purchase | 18640829 | 259 days ago | IN | 0 ETH | 0.01245389 | ||||
Update Price | 18631683 | 260 days ago | IN | 0 ETH | 0.00129178 | ||||
Purchase | 18562249 | 270 days ago | IN | 0 ETH | 0.01440768 | ||||
Purchase | 18562249 | 270 days ago | IN | 0 ETH | 0.01440768 | ||||
Purchase | 18562248 | 270 days ago | IN | 0 ETH | 0.01446099 | ||||
Purchase | 18562248 | 270 days ago | IN | 0 ETH | 0.01446099 | ||||
Purchase | 18562248 | 270 days ago | IN | 0 ETH | 0.00934732 | ||||
Purchase | 18562247 | 270 days ago | IN | 0 ETH | 0.00907243 | ||||
Purchase | 18562247 | 270 days ago | IN | 0 ETH | 0.01403572 | ||||
Update Price | 18559614 | 271 days ago | IN | 0 ETH | 0.0012476 | ||||
Purchase | 18390805 | 294 days ago | IN | 0 ETH | 0.0034386 | ||||
Purchase | 18390803 | 294 days ago | IN | 0 ETH | 0.00304708 | ||||
Purchase | 18390802 | 294 days ago | IN | 0 ETH | 0.00304986 | ||||
Purchase | 18390801 | 294 days ago | IN | 0 ETH | 0.00305266 | ||||
Set Max Purchase... | 18389629 | 294 days ago | IN | 0 ETH | 0.00016491 | ||||
Update Price | 18389017 | 294 days ago | IN | 0 ETH | 0.00031722 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BatchAdoption
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-16 */ // File: contracts/types/Type.sol pragma solidity ^0.8.13; pragma abicoder v2; /** * Each class of Runo NFT has its own tier level * [AIN Wokrer NFT tier level] * tier 0: cpu * tier 1: gpu * tier 2: highGpu */ struct TierInfo { uint256 totalSupply; uint256 currentSupply; uint256 minTokenId; } struct ClassInfo { uint256 maxTier; } struct SalesInfo { TierInfo[] tokenTierInfo; uint256[] priceInfo; } // File: contracts/interface/IBatchAdoption.sol interface IBatchAdoption { function availableNodeCapOf( uint256 tier_ ) external view returns (uint256); function getSalesInfo( ) external view returns (SalesInfo memory); function isWhitelisted( address userAddress ) external view returns (bool); function purchase( uint256 tier_, uint256 amount_ ) external payable returns (uint256[] memory); function updatePrice( uint256 tier_, uint256 price_ ) external; function addToWhitelist( address[] memory addresses_ ) external; function setDiscountInfo( uint256 startTimestamp_, uint256 endTimestamp_, uint256 discountRate_ ) external; function removeDiscountInfo( ) external; function adminMint( address to_, uint256 tier_, uint256 count_ ) external; function destroy( address payable to_ ) external; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // 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; } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // 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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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); /** * @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); } // File: contracts/interface/IRuno.sol interface IRuno is IERC721Enumerable { function tokenURI( uint256 tokenId_ ) external view returns (string memory); function tokensOf( address owner_, uint256 offset_, uint256 limit_ ) external view returns (uint256[] memory, uint256[] memory); function getTokenTier( uint256 tokenId_ ) external view returns (uint256); function getMaxTier( ) external view returns (uint256); function getTierInfo( uint256 tier_ ) external view returns (TierInfo memory); function getMintedTokenList( uint256 offset_, uint256 limit_ ) external view returns ( uint256, uint256[] memory, uint256[] memory, address[] memory ); function isTokenRunning( uint256 tokenId_ ) external view returns (bool); function toggleRunning( uint256 tokenId_ ) external; function mint( address to_, uint256 tier_ ) external returns (uint256); function updateBaseUri( string memory baseUri_ ) external; function updateTierCap( uint256 tier_, uint256 cap_ ) external; function setDefaultRoyalty( address beneficiary_, uint96 feeNumerator_ ) external; function getRewardContractAddress( ) external view returns (address); function setRewardContractAddress( address rewardContract_ ) external; function destroy( address payable to_ ) external; } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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, allowance(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 = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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 Updates `owner` s allowance for `spender` based on spent `amount`. * * 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 {} } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: contracts/implement/BatchAdoption.sol contract BatchAdoption is IBatchAdoption, AccessControl, ReentrancyGuard { bytes32 public constant OWNER_ROLE = keccak256("OWNER"); // addresses address private _owner; address private _beneficiary; address private _runoAddress; IERC20 public ainAddress; // Discount Info uint256 public discountStart; uint256 public discountEnd; uint256 public discountRate; // Max Purchase Amount uint256 public maxPurchaseAmount; mapping(uint256 => uint256) public price; mapping(address => bool) private _whitelist; // Event event Purchased( address indexed minter, uint256 indexed tier, uint256 newTokenId, uint256 price ); event PriceUpdated( uint256 indexed tier, uint256 price ); constructor( address beneficiary_, address workerRunoNFT_, address ainAddress_ ) { require(beneficiary_ != address(0), "Adoption: invalid beneficiary address"); require(workerRunoNFT_ != address(0), "Adoption: invalid workerRunoNFT address"); require(ainAddress_ != address(0), "Adoption: invalid ainAddress"); _grantRole(OWNER_ROLE, _msgSender()); _beneficiary = beneficiary_; _runoAddress = workerRunoNFT_; // ERC20 AIN token address ainAddress = IERC20(ainAddress_); price[0] = 6000 ether; // 'ether' means 10^18 price[1] = 30000 ether; price[2] = 90000 ether; maxPurchaseAmount = 5; } function supportsInterface( bytes4 interfaceId_ ) public view override returns (bool) { return interfaceId_ == type(IBatchAdoption).interfaceId || super.supportsInterface(interfaceId_); } /** * @dev Get a node cap of token with specific tier * @param tier_ tier of token */ function availableNodeCapOf( uint256 tier_ ) public view returns (uint256) { TierInfo memory tierInfo_ = IRuno(_runoAddress).getTierInfo(tier_); if (tierInfo_.totalSupply <= tierInfo_.currentSupply) { return 0; } return tierInfo_.totalSupply - tierInfo_.currentSupply; } /** * @dev Get whole sales info including price, caps, ... */ function getSalesInfo( ) public view returns (SalesInfo memory) { SalesInfo memory _salesInfo; IRuno runo = IRuno(_runoAddress); uint256 maxTier = runo.getMaxTier(); _salesInfo.priceInfo = new uint256[](maxTier + 1); _salesInfo.tokenTierInfo = new TierInfo[](maxTier + 1); for (uint256 j = 0; j <= maxTier; j += 1) { TierInfo memory _tierInfo = runo.getTierInfo(j); _salesInfo.tokenTierInfo[j] = _tierInfo; _salesInfo.priceInfo[j] = price[j]; } return _salesInfo; } function getDiscountInfo( ) public view returns (uint256, uint256, uint256) { return (discountStart, discountEnd, discountRate); } function isWhitelisted( address userAddress_ ) public view returns (bool) { return _whitelist[userAddress_]; } /** * @dev Purchases a AIN node token * @param tier_ tier of token purchased */ function purchase( uint256 tier_, uint256 amount_ ) public payable override nonReentrant returns (uint256[] memory) { IRuno _runoNode = IRuno(_runoAddress); require(0 <= tier_ && tier_ <= _runoNode.getMaxTier(), "Adoption: invalid tier"); require(price[tier_] != 0, "Adoption: invalid price"); require(0 < amount_ && amount_ <= maxPurchaseAmount, "Adoption: amount out of range"); require(amount_ <= availableNodeCapOf(tier_), "Adoption: not enough node capacity"); uint256 totalPrice_ = 0; uint256[] memory newTokenIds_ = new uint256[](amount_); for (uint256 i = 0; i < amount_; i++) { uint256 price_ = price[tier_]; uint256 newTokenId_ = _runoNode.mint(_msgSender(), tier_); /** * If there is no discount information, * 'start' and 'end' variables are mapped to a value * whose byte-representation is all zeros. * Therefore, the second else-if statement is ignored. * (ref: https://docs.soliditylang.org/en/v0.8.9/types.html?ref=hackernoon.com#mapping-types) */ uint256 start = discountStart; uint256 end = discountEnd; if (isWhitelisted(_msgSender())) { delete _whitelist[_msgSender()]; price_ = price_ / 2; } else if (start <= block.timestamp && block.timestamp < end) { uint256 rate = discountRate; price_ = (price_ / 100) * (100 - rate); } emit Purchased(_msgSender(), tier_, newTokenId_, price_); newTokenIds_[i] = newTokenId_; totalPrice_ = totalPrice_ + price_; } ainAddress.transferFrom(_msgSender(), _beneficiary, totalPrice_); return newTokenIds_; } /** * @dev Update price of node * @param tier_ tier of node * @param price_ new run price for tokenAddress & tier */ function updatePrice( uint256 tier_, uint256 price_ ) public onlyRole(OWNER_ROLE) { require(0 <= tier_ && tier_ <= IRuno(_runoAddress).getMaxTier(), "Adoption: invalid tier"); price[tier_] = price_; emit PriceUpdated(tier_, price_); } /** * @dev add addresses to whitelist * @param addresses_ array of ETH address */ function addToWhitelist( address[] memory addresses_ ) public onlyRole(OWNER_ROLE) { for (uint256 j = 0; j < addresses_.length; j += 1) { _whitelist[addresses_[j]] = true; } } /** * @dev set discount info * @param startTimestamp_ discount start date in SECOND * @param endTimestamp_ discount end date in SECOND * @param discountRate_ discount rate */ function setDiscountInfo( uint256 startTimestamp_, uint256 endTimestamp_, uint256 discountRate_ ) public onlyRole(OWNER_ROLE) { require(startTimestamp_ < endTimestamp_, "Adoption: invalid discount period"); require(0 < discountRate_ && discountRate_ < 100, "Adoption: invalid rate"); discountStart = startTimestamp_; discountEnd = endTimestamp_; discountRate = discountRate_; } /** * @dev set max purchase amount * @param amount_ max purchase amount */ function setMaxPurchaseAmount( uint256 amount_ ) public onlyRole(OWNER_ROLE) { require(0 <= amount_, "Adoption: invalid max purchase amount"); maxPurchaseAmount = amount_; } /** * @dev remove discount info */ function removeDiscountInfo( ) public onlyRole(OWNER_ROLE) { delete discountStart; delete discountEnd; delete discountRate; } function adminMint( address to_, uint256 tier_, uint256 count_ ) public onlyRole(OWNER_ROLE) { IRuno _runoContract = IRuno(_runoAddress); uint256 currentCap = _runoContract.getTierInfo(tier_).totalSupply; // increase tier cap first _runoContract.updateTierCap(tier_, currentCap + count_); // mint for (uint256 i = 0; i < count_; i++) { _runoContract.mint(to_, tier_); } } function destroy( address payable to_ ) public onlyRole(OWNER_ROLE) { selfdestruct(to_); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"beneficiary_","type":"address"},{"internalType":"address","name":"workerRunoNFT_","type":"address"},{"internalType":"address","name":"ainAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tier","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"uint256","name":"tier","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses_","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"tier_","type":"uint256"},{"internalType":"uint256","name":"count_","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ainAddress","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier_","type":"uint256"}],"name":"availableNodeCapOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to_","type":"address"}],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discountEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDiscountInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSalesInfo","outputs":[{"components":[{"components":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupply","type":"uint256"},{"internalType":"uint256","name":"minTokenId","type":"uint256"}],"internalType":"struct TierInfo[]","name":"tokenTierInfo","type":"tuple[]"},{"internalType":"uint256[]","name":"priceInfo","type":"uint256[]"}],"internalType":"struct SalesInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress_","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"purchase","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"removeDiscountInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTimestamp_","type":"uint256"},{"internalType":"uint256","name":"endTimestamp_","type":"uint256"},{"internalType":"uint256","name":"discountRate_","type":"uint256"}],"name":"setDiscountInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"setMaxPurchaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId_","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier_","type":"uint256"},{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001ea538038062001ea5833981016040819052620000349162000323565b600180556001600160a01b038316620000a25760405162461bcd60e51b815260206004820152602560248201527f41646f7074696f6e3a20696e76616c69642062656e6566696369617279206164604482015264647265737360d81b60648201526084015b60405180910390fd5b6001600160a01b0382166200010a5760405162461bcd60e51b815260206004820152602760248201527f41646f7074696f6e3a20696e76616c696420776f726b657252756e6f4e4654206044820152666164647265737360c81b606482015260840162000099565b6001600160a01b038116620001625760405162461bcd60e51b815260206004820152601c60248201527f41646f7074696f6e3a20696e76616c69642061696e4164647265737300000000604482015260640162000099565b6200018e7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b3362000265565b600380546001600160a01b039485166001600160a01b031991821617909155600480549385169382169390931790925560058054919093169116178155600a60205269014542ba12a337c000007f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e35569065a4da25d3016c000007fbbc70db1b6c7afd11e79c0fb0051300458f1a3acb8ee9789d9b6b26c61ad9bc755600260005269130ee8e71790444000007fbff4442b8ed600beeb8e26b1279a0f0d14c6edfaec26d968ee13c86f7d4c2ba8556009556200036d565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000302576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002c13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b80516001600160a01b03811681146200031e57600080fd5b919050565b6000806000606084860312156200033957600080fd5b620003448462000306565b9250620003546020850162000306565b9150620003646040850162000306565b90509250925092565b611b28806200037d6000396000f3fe60806040526004361061017f5760003560e01c80638183e919116100d1578063ae60c8041161008a578063d547741f11610064578063d547741f146104a0578063e58378bb146104c0578063e6c0e6d5146104e2578063f952fcad146104f857600080fd5b8063ae60c8041461044a578063b1379a6014610460578063b5427eb91461048057600080fd5b80638183e9191461038757806382367b2d146103bf57806391d14854146103df578063a217fddf146103ff578063a5fa12f014610414578063aae0b9e11461043457600080fd5b80632f2ff15d1161013e578063667816db11610118578063667816db146103015780636df9667a1461031657806370876c98146103475780637f6497831461036757600080fd5b80632f2ff15d1461028857806336568abe146102a85780633af32abf146102c857600080fd5b80624a84cb14610184578062f55d9d146101a657806301ffc9a7146101c657806319ce5ee1146101fb578063248a9ca31461021d57806326a49e371461025b575b600080fd5b34801561019057600080fd5b506101a461019f366004611588565b61050e565b005b3480156101b257600080fd5b506101a46101c13660046115bd565b6106a3565b3480156101d257600080fd5b506101e66101e13660046115da565b6106c7565b60405190151581526020015b60405180910390f35b34801561020757600080fd5b506102106106f2565b6040516101f2919061163f565b34801561022957600080fd5b5061024d6102383660046116c3565b60009081526020819052604090206001015490565b6040519081526020016101f2565b34801561026757600080fd5b5061024d6102763660046116c3565b600a6020526000908152604090205481565b34801561029457600080fd5b506101a46102a33660046116dc565b610946565b3480156102b457600080fd5b506101a46102c33660046116dc565b610970565b3480156102d457600080fd5b506101e66102e33660046115bd565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561030d57600080fd5b506101a46109f3565b34801561032257600080fd5b50600654600754600854604080519384526020840192909252908201526060016101f2565b61035a61035536600461170c565b610a1d565b6040516101f2919061172e565b34801561037357600080fd5b506101a46103823660046117b9565b610ec8565b34801561039357600080fd5b506005546103a7906001600160a01b031681565b6040516001600160a01b0390911681526020016101f2565b3480156103cb57600080fd5b506101a46103da36600461170c565b610f48565b3480156103eb57600080fd5b506101e66103fa3660046116dc565b611065565b34801561040b57600080fd5b5061024d600081565b34801561042057600080fd5b506101a461042f3660046116c3565b61108e565b34801561044057600080fd5b5061024d60075481565b34801561045657600080fd5b5061024d60065481565b34801561046c57600080fd5b5061024d61047b3660046116c3565b6110ac565b34801561048c57600080fd5b506101a461049b36600461186b565b61114e565b3480156104ac57600080fd5b506101a46104bb3660046116dc565b611223565b3480156104cc57600080fd5b5061024d600080516020611ad383398151915281565b3480156104ee57600080fd5b5061024d60085481565b34801561050457600080fd5b5061024d60095481565b600080516020611ad383398151915261052681611248565b6004805460405163cc9d751960e01b81529182018590526001600160a01b031690600090829063cc9d751990602401606060405180830381865afa158015610572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105969190611897565b5190506001600160a01b038216633e92dc88866105b38785611909565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381600087803b1580156105f157600080fd5b505af1158015610605573d6000803e3d6000fd5b5050505060005b8481101561069a576040516340c10f1960e01b81526001600160a01b038881166004830152602482018890528416906340c10f19906044016020604051808303816000875af1158015610663573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106879190611921565b50806106928161193a565b91505061060c565b50505050505050565b600080516020611ad38339815191526106bb81611248565b816001600160a01b0316ff5b60006001600160e01b03198216633316b7cf60e21b14806106ec57506106ec82611255565b92915050565b604080518082019091526060808252602082015260408051808201909152606080825260208201526004805460408051637427827960e11b815290516001600160a01b0390921692600092849263e84f04f292818101926020929091908290030181865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611921565b9050610799816001611909565b67ffffffffffffffff8111156107b1576107b1611772565b6040519080825280602002602001820160405280156107da578160200160208202803683370190505b5060208401526107eb816001611909565b67ffffffffffffffff81111561080357610803611772565b60405190808252806020026020018201604052801561085857816020015b61084560405180606001604052806000815260200160008152602001600081525090565b8152602001906001900390816108215790505b50835260005b81811161093d5760405163cc9d751960e01b8152600481018290526000906001600160a01b0385169063cc9d751990602401606060405180830381865afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611897565b905080856000015183815181106108ea576108ea611953565b6020026020010181905250600a6000838152602001908152602001600020548560200151838151811061091f5761091f611953565b602090810291909101015250610936600182611909565b905061085e565b50919392505050565b60008281526020819052604090206001015461096181611248565b61096b838361128a565b505050565b6001600160a01b03811633146109e55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109ef828261130e565b5050565b600080516020611ad3833981519152610a0b81611248565b50600060068190556007819055600855565b6060600260015403610a715760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109dc565b600260019081556004546001600160a01b03169050806001600160a01b031663e84f04f26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190611921565b841115610b305760405162461bcd60e51b815260206004820152601660248201527520b237b83a34b7b71d1034b73b30b634b2103a34b2b960511b60448201526064016109dc565b6000848152600a60205260408120549003610b8d5760405162461bcd60e51b815260206004820152601760248201527f41646f7074696f6e3a20696e76616c696420707269636500000000000000000060448201526064016109dc565b826000108015610b9f57506009548311155b610beb5760405162461bcd60e51b815260206004820152601d60248201527f41646f7074696f6e3a20616d6f756e74206f7574206f662072616e676500000060448201526064016109dc565b610bf4846110ac565b831115610c4e5760405162461bcd60e51b815260206004820152602260248201527f41646f7074696f6e3a206e6f7420656e6f756768206e6f646520636170616369604482015261747960f01b60648201526084016109dc565b6000808467ffffffffffffffff811115610c6a57610c6a611772565b604051908082528060200260200182016040528015610c93578160200160208202803683370190505b50905060005b85811015610e2c576000878152600a6020526040812054906001600160a01b0386166340c10f19336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018c90526044016020604051808303816000875af1158015610d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d329190611921565b60065460075491925090610d45336102e3565b15610d7357336000908152600b60205260409020805460ff19169055610d6c600285611969565b9350610dae565b428211158015610d8257508042105b15610dae57600854610d9581606461198b565b610da0606487611969565b610daa91906119a2565b9450505b60408051848152602081018690528c9133917f2bdd59583c8e5cc64165e86af2482dbe93e85c98b355b788aa592465b3f6920e910160405180910390a382868681518110610dfe57610dfe611953565b6020908102919091010152610e138488611909565b9650505050508080610e249061193a565b915050610c99565b506005546001600160a01b03166323b872dd3360035460405160e084901b6001600160e01b03191681526001600160a01b03928316600482015291166024820152604481018590526064016020604051808303816000875af1158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba91906119c1565b506001805595945050505050565b600080516020611ad3833981519152610ee081611248565b60005b825181101561096b576001600b6000858481518110610f0457610f04611953565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055610f41600182611909565b9050610ee3565b600080516020611ad3833981519152610f6081611248565b6004805460408051637427827960e11b815290516001600160a01b039092169263e84f04f29282820192602092908290030181865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb9190611921565b8311156110135760405162461bcd60e51b815260206004820152601660248201527520b237b83a34b7b71d1034b73b30b634b2103a34b2b960511b60448201526064016109dc565b6000838152600a6020526040908190208390555183907f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838906110589085815260200190565b60405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611ad38339815191526110a681611248565b50600955565b6004805460405163cc9d751960e01b815291820183905260009182916001600160a01b03169063cc9d751990602401606060405180830381865afa1580156110f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111c9190611897565b905080602001518160000151116111365750600092915050565b60208101518151611147919061198b565b9392505050565b600080516020611ad383398151915261116681611248565b8284106111bf5760405162461bcd60e51b815260206004820152602160248201527f41646f7074696f6e3a20696e76616c696420646973636f756e7420706572696f6044820152601960fa1b60648201526084016109dc565b8160001080156111cf5750606482105b6112145760405162461bcd60e51b815260206004820152601660248201527541646f7074696f6e3a20696e76616c6964207261746560501b60448201526064016109dc565b50600692909255600755600855565b60008281526020819052604090206001015461123e81611248565b61096b838361130e565b6112528133611373565b50565b60006001600160e01b03198216637965db0b60e01b14806106ec57506301ffc9a760e01b6001600160e01b03198316146106ec565b6112948282611065565b6109ef576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556112ca3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6113188282611065565b156109ef576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61137d8282611065565b6109ef57611395816001600160a01b031660146113d7565b6113a08360206113d7565b6040516020016113b1929190611a13565b60408051601f198184030181529082905262461bcd60e51b82526109dc91600401611a88565b606060006113e68360026119a2565b6113f1906002611909565b67ffffffffffffffff81111561140957611409611772565b6040519080825280601f01601f191660200182016040528015611433576020820181803683370190505b509050600360fc1b8160008151811061144e5761144e611953565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061147d5761147d611953565b60200101906001600160f81b031916908160001a90535060006114a18460026119a2565b6114ac906001611909565b90505b6001811115611524576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106114e0576114e0611953565b1a60f81b8282815181106114f6576114f6611953565b60200101906001600160f81b031916908160001a90535060049490941c9361151d81611abb565b90506114af565b5083156111475760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109dc565b6001600160a01b038116811461125257600080fd5b60008060006060848603121561159d57600080fd5b83356115a881611573565b95602085013595506040909401359392505050565b6000602082840312156115cf57600080fd5b813561114781611573565b6000602082840312156115ec57600080fd5b81356001600160e01b03198116811461114757600080fd5b600081518084526020808501945080840160005b8381101561163457815187529582019590820190600101611618565b509495945050505050565b6000602080835260608084018551604080858801528282518085526080890191508684019450600093505b8084101561169b5784518051835287810151888401528301518383015293860193600193909301929085019061166a565b5094880151878603601f190182890152946116b68187611604565b9998505050505050505050565b6000602082840312156116d557600080fd5b5035919050565b600080604083850312156116ef57600080fd5b82359150602083013561170181611573565b809150509250929050565b6000806040838503121561171f57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b818110156117665783518352928401929184019160010161174a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156117b1576117b1611772565b604052919050565b600060208083850312156117cc57600080fd5b823567ffffffffffffffff808211156117e457600080fd5b818501915085601f8301126117f857600080fd5b81358181111561180a5761180a611772565b8060051b915061181b848301611788565b818152918301840191848101908884111561183557600080fd5b938501935b8385101561185f578435925061184f83611573565b828252938501939085019061183a565b98975050505050505050565b60008060006060848603121561188057600080fd5b505081359360208301359350604090920135919050565b6000606082840312156118a957600080fd5b6040516060810181811067ffffffffffffffff821117156118cc576118cc611772565b80604052508251815260208301516020820152604083015160408201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561191c5761191c6118f3565b500190565b60006020828403121561193357600080fd5b5051919050565b60006001820161194c5761194c6118f3565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008261198657634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561199d5761199d6118f3565b500390565b60008160001904831182151516156119bc576119bc6118f3565b500290565b6000602082840312156119d357600080fd5b8151801515811461114757600080fd5b60005b838110156119fe5781810151838201526020016119e6565b83811115611a0d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611a4b8160178501602088016119e3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611a7c8160288401602088016119e3565b01602801949350505050565b6020815260008251806020840152611aa78160408501602087016119e3565b601f01601f19169190910160400192915050565b600081611aca57611aca6118f3565b50600019019056fe6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91ba2646970667358221220af1c926170d1c5f29f51512408442675ff4f3f9bdc333e1250d1d8472cb59ba964736f6c634300080d0033000000000000000000000000acfeea48b3336d2f22bf84d9568bac3c2646cf6e000000000000000000000000ad67b2e5462683fe96e15b208c18e35000dabb800000000000000000000000003a810ff7211b40c4fa76205a14efe161615d0385
Deployed Bytecode
0x60806040526004361061017f5760003560e01c80638183e919116100d1578063ae60c8041161008a578063d547741f11610064578063d547741f146104a0578063e58378bb146104c0578063e6c0e6d5146104e2578063f952fcad146104f857600080fd5b8063ae60c8041461044a578063b1379a6014610460578063b5427eb91461048057600080fd5b80638183e9191461038757806382367b2d146103bf57806391d14854146103df578063a217fddf146103ff578063a5fa12f014610414578063aae0b9e11461043457600080fd5b80632f2ff15d1161013e578063667816db11610118578063667816db146103015780636df9667a1461031657806370876c98146103475780637f6497831461036757600080fd5b80632f2ff15d1461028857806336568abe146102a85780633af32abf146102c857600080fd5b80624a84cb14610184578062f55d9d146101a657806301ffc9a7146101c657806319ce5ee1146101fb578063248a9ca31461021d57806326a49e371461025b575b600080fd5b34801561019057600080fd5b506101a461019f366004611588565b61050e565b005b3480156101b257600080fd5b506101a46101c13660046115bd565b6106a3565b3480156101d257600080fd5b506101e66101e13660046115da565b6106c7565b60405190151581526020015b60405180910390f35b34801561020757600080fd5b506102106106f2565b6040516101f2919061163f565b34801561022957600080fd5b5061024d6102383660046116c3565b60009081526020819052604090206001015490565b6040519081526020016101f2565b34801561026757600080fd5b5061024d6102763660046116c3565b600a6020526000908152604090205481565b34801561029457600080fd5b506101a46102a33660046116dc565b610946565b3480156102b457600080fd5b506101a46102c33660046116dc565b610970565b3480156102d457600080fd5b506101e66102e33660046115bd565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561030d57600080fd5b506101a46109f3565b34801561032257600080fd5b50600654600754600854604080519384526020840192909252908201526060016101f2565b61035a61035536600461170c565b610a1d565b6040516101f2919061172e565b34801561037357600080fd5b506101a46103823660046117b9565b610ec8565b34801561039357600080fd5b506005546103a7906001600160a01b031681565b6040516001600160a01b0390911681526020016101f2565b3480156103cb57600080fd5b506101a46103da36600461170c565b610f48565b3480156103eb57600080fd5b506101e66103fa3660046116dc565b611065565b34801561040b57600080fd5b5061024d600081565b34801561042057600080fd5b506101a461042f3660046116c3565b61108e565b34801561044057600080fd5b5061024d60075481565b34801561045657600080fd5b5061024d60065481565b34801561046c57600080fd5b5061024d61047b3660046116c3565b6110ac565b34801561048c57600080fd5b506101a461049b36600461186b565b61114e565b3480156104ac57600080fd5b506101a46104bb3660046116dc565b611223565b3480156104cc57600080fd5b5061024d600080516020611ad383398151915281565b3480156104ee57600080fd5b5061024d60085481565b34801561050457600080fd5b5061024d60095481565b600080516020611ad383398151915261052681611248565b6004805460405163cc9d751960e01b81529182018590526001600160a01b031690600090829063cc9d751990602401606060405180830381865afa158015610572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105969190611897565b5190506001600160a01b038216633e92dc88866105b38785611909565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381600087803b1580156105f157600080fd5b505af1158015610605573d6000803e3d6000fd5b5050505060005b8481101561069a576040516340c10f1960e01b81526001600160a01b038881166004830152602482018890528416906340c10f19906044016020604051808303816000875af1158015610663573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106879190611921565b50806106928161193a565b91505061060c565b50505050505050565b600080516020611ad38339815191526106bb81611248565b816001600160a01b0316ff5b60006001600160e01b03198216633316b7cf60e21b14806106ec57506106ec82611255565b92915050565b604080518082019091526060808252602082015260408051808201909152606080825260208201526004805460408051637427827960e11b815290516001600160a01b0390921692600092849263e84f04f292818101926020929091908290030181865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611921565b9050610799816001611909565b67ffffffffffffffff8111156107b1576107b1611772565b6040519080825280602002602001820160405280156107da578160200160208202803683370190505b5060208401526107eb816001611909565b67ffffffffffffffff81111561080357610803611772565b60405190808252806020026020018201604052801561085857816020015b61084560405180606001604052806000815260200160008152602001600081525090565b8152602001906001900390816108215790505b50835260005b81811161093d5760405163cc9d751960e01b8152600481018290526000906001600160a01b0385169063cc9d751990602401606060405180830381865afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611897565b905080856000015183815181106108ea576108ea611953565b6020026020010181905250600a6000838152602001908152602001600020548560200151838151811061091f5761091f611953565b602090810291909101015250610936600182611909565b905061085e565b50919392505050565b60008281526020819052604090206001015461096181611248565b61096b838361128a565b505050565b6001600160a01b03811633146109e55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109ef828261130e565b5050565b600080516020611ad3833981519152610a0b81611248565b50600060068190556007819055600855565b6060600260015403610a715760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109dc565b600260019081556004546001600160a01b03169050806001600160a01b031663e84f04f26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190611921565b841115610b305760405162461bcd60e51b815260206004820152601660248201527520b237b83a34b7b71d1034b73b30b634b2103a34b2b960511b60448201526064016109dc565b6000848152600a60205260408120549003610b8d5760405162461bcd60e51b815260206004820152601760248201527f41646f7074696f6e3a20696e76616c696420707269636500000000000000000060448201526064016109dc565b826000108015610b9f57506009548311155b610beb5760405162461bcd60e51b815260206004820152601d60248201527f41646f7074696f6e3a20616d6f756e74206f7574206f662072616e676500000060448201526064016109dc565b610bf4846110ac565b831115610c4e5760405162461bcd60e51b815260206004820152602260248201527f41646f7074696f6e3a206e6f7420656e6f756768206e6f646520636170616369604482015261747960f01b60648201526084016109dc565b6000808467ffffffffffffffff811115610c6a57610c6a611772565b604051908082528060200260200182016040528015610c93578160200160208202803683370190505b50905060005b85811015610e2c576000878152600a6020526040812054906001600160a01b0386166340c10f19336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018c90526044016020604051808303816000875af1158015610d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d329190611921565b60065460075491925090610d45336102e3565b15610d7357336000908152600b60205260409020805460ff19169055610d6c600285611969565b9350610dae565b428211158015610d8257508042105b15610dae57600854610d9581606461198b565b610da0606487611969565b610daa91906119a2565b9450505b60408051848152602081018690528c9133917f2bdd59583c8e5cc64165e86af2482dbe93e85c98b355b788aa592465b3f6920e910160405180910390a382868681518110610dfe57610dfe611953565b6020908102919091010152610e138488611909565b9650505050508080610e249061193a565b915050610c99565b506005546001600160a01b03166323b872dd3360035460405160e084901b6001600160e01b03191681526001600160a01b03928316600482015291166024820152604481018590526064016020604051808303816000875af1158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba91906119c1565b506001805595945050505050565b600080516020611ad3833981519152610ee081611248565b60005b825181101561096b576001600b6000858481518110610f0457610f04611953565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055610f41600182611909565b9050610ee3565b600080516020611ad3833981519152610f6081611248565b6004805460408051637427827960e11b815290516001600160a01b039092169263e84f04f29282820192602092908290030181865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb9190611921565b8311156110135760405162461bcd60e51b815260206004820152601660248201527520b237b83a34b7b71d1034b73b30b634b2103a34b2b960511b60448201526064016109dc565b6000838152600a6020526040908190208390555183907f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838906110589085815260200190565b60405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611ad38339815191526110a681611248565b50600955565b6004805460405163cc9d751960e01b815291820183905260009182916001600160a01b03169063cc9d751990602401606060405180830381865afa1580156110f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111c9190611897565b905080602001518160000151116111365750600092915050565b60208101518151611147919061198b565b9392505050565b600080516020611ad383398151915261116681611248565b8284106111bf5760405162461bcd60e51b815260206004820152602160248201527f41646f7074696f6e3a20696e76616c696420646973636f756e7420706572696f6044820152601960fa1b60648201526084016109dc565b8160001080156111cf5750606482105b6112145760405162461bcd60e51b815260206004820152601660248201527541646f7074696f6e3a20696e76616c6964207261746560501b60448201526064016109dc565b50600692909255600755600855565b60008281526020819052604090206001015461123e81611248565b61096b838361130e565b6112528133611373565b50565b60006001600160e01b03198216637965db0b60e01b14806106ec57506301ffc9a760e01b6001600160e01b03198316146106ec565b6112948282611065565b6109ef576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556112ca3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6113188282611065565b156109ef576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61137d8282611065565b6109ef57611395816001600160a01b031660146113d7565b6113a08360206113d7565b6040516020016113b1929190611a13565b60408051601f198184030181529082905262461bcd60e51b82526109dc91600401611a88565b606060006113e68360026119a2565b6113f1906002611909565b67ffffffffffffffff81111561140957611409611772565b6040519080825280601f01601f191660200182016040528015611433576020820181803683370190505b509050600360fc1b8160008151811061144e5761144e611953565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061147d5761147d611953565b60200101906001600160f81b031916908160001a90535060006114a18460026119a2565b6114ac906001611909565b90505b6001811115611524576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106114e0576114e0611953565b1a60f81b8282815181106114f6576114f6611953565b60200101906001600160f81b031916908160001a90535060049490941c9361151d81611abb565b90506114af565b5083156111475760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109dc565b6001600160a01b038116811461125257600080fd5b60008060006060848603121561159d57600080fd5b83356115a881611573565b95602085013595506040909401359392505050565b6000602082840312156115cf57600080fd5b813561114781611573565b6000602082840312156115ec57600080fd5b81356001600160e01b03198116811461114757600080fd5b600081518084526020808501945080840160005b8381101561163457815187529582019590820190600101611618565b509495945050505050565b6000602080835260608084018551604080858801528282518085526080890191508684019450600093505b8084101561169b5784518051835287810151888401528301518383015293860193600193909301929085019061166a565b5094880151878603601f190182890152946116b68187611604565b9998505050505050505050565b6000602082840312156116d557600080fd5b5035919050565b600080604083850312156116ef57600080fd5b82359150602083013561170181611573565b809150509250929050565b6000806040838503121561171f57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b818110156117665783518352928401929184019160010161174a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156117b1576117b1611772565b604052919050565b600060208083850312156117cc57600080fd5b823567ffffffffffffffff808211156117e457600080fd5b818501915085601f8301126117f857600080fd5b81358181111561180a5761180a611772565b8060051b915061181b848301611788565b818152918301840191848101908884111561183557600080fd5b938501935b8385101561185f578435925061184f83611573565b828252938501939085019061183a565b98975050505050505050565b60008060006060848603121561188057600080fd5b505081359360208301359350604090920135919050565b6000606082840312156118a957600080fd5b6040516060810181811067ffffffffffffffff821117156118cc576118cc611772565b80604052508251815260208301516020820152604083015160408201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561191c5761191c6118f3565b500190565b60006020828403121561193357600080fd5b5051919050565b60006001820161194c5761194c6118f3565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008261198657634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561199d5761199d6118f3565b500390565b60008160001904831182151516156119bc576119bc6118f3565b500290565b6000602082840312156119d357600080fd5b8151801515811461114757600080fd5b60005b838110156119fe5781810151838201526020016119e6565b83811115611a0d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611a4b8160178501602088016119e3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611a7c8160288401602088016119e3565b01602801949350505050565b6020815260008251806020840152611aa78160408501602087016119e3565b601f01601f19169190910160400192915050565b600081611aca57611aca6118f3565b50600019019056fe6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91ba2646970667358221220af1c926170d1c5f29f51512408442675ff4f3f9bdc333e1250d1d8472cb59ba964736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000acfeea48b3336d2f22bf84d9568bac3c2646cf6e000000000000000000000000ad67b2e5462683fe96e15b208c18e35000dabb800000000000000000000000003a810ff7211b40c4fa76205a14efe161615d0385
-----Decoded View---------------
Arg [0] : beneficiary_ (address): 0xaCFEEA48B3336d2F22bF84D9568bac3c2646cF6e
Arg [1] : workerRunoNFT_ (address): 0xAD67B2E5462683FE96E15b208c18E35000DABB80
Arg [2] : ainAddress_ (address): 0x3A810ff7211b40c4fA76205a14efe161615d0385
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000acfeea48b3336d2f22bf84d9568bac3c2646cf6e
Arg [1] : 000000000000000000000000ad67b2e5462683fe96e15b208c18e35000dabb80
Arg [2] : 0000000000000000000000003a810ff7211b40c4fa76205a14efe161615d0385
Deployed Bytecode Sourcemap
44859:7214:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51520:438;;;;;;;;;;-1:-1:-1;51520:438:0;;;;;:::i;:::-;;:::i;:::-;;51964:106;;;;;;;;;;-1:-1:-1;51964:106:0;;;;;:::i;:::-;;:::i;46315:212::-;;;;;;;;;;-1:-1:-1;46315:212:0;;;;;:::i;:::-;;:::i;:::-;;;1254:14:1;;1247:22;1229:41;;1217:2;1202:18;46315:212:0;;;;;;;;47021:534;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40949:131::-;;;;;;;;;;-1:-1:-1;40949:131:0;;;;;:::i;:::-;41023:7;41050:12;;;;;;;;;;:22;;;;40949:131;;;;3134:25:1;;;3122:2;3107:18;40949:131:0;2988:177:1;45322:40:0;;;;;;;;;;-1:-1:-1;45322:40:0;;;;;:::i;:::-;;;;;;;;;;;;;;41390:147;;;;;;;;;;-1:-1:-1;41390:147:0;;;;;:::i;:::-;;:::i;42534:218::-;;;;;;;;;;-1:-1:-1;42534:218:0;;;;;:::i;:::-;;:::i;47708:126::-;;;;;;;;;;-1:-1:-1;47708:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;47804:24:0;47784:4;47804:24;;;:10;:24;;;;;;;;;47708:126;51368:146;;;;;;;;;;;;;:::i;47561:141::-;;;;;;;;;;-1:-1:-1;47655:13:0;;47670:11;;47683:12;;47561:141;;;4311:25:1;;;4367:2;4352:18;;4345:34;;;;4395:18;;;4388:34;4299:2;4284:18;47561:141:0;4109:319:1;47935:1737:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50194:203::-;;;;;;;;;;-1:-1:-1;50194:203:0;;;;;:::i;:::-;;:::i;45108:24::-;;;;;;;;;;-1:-1:-1;45108:24:0;;;;-1:-1:-1;;;;;45108:24:0;;;;;;-1:-1:-1;;;;;6939:32:1;;;6921:51;;6909:2;6894:18;45108:24:0;6761:217:1;49817:274:0;;;;;;;;;;-1:-1:-1;49817:274:0;;;;;:::i;:::-;;:::i;39409:147::-;;;;;;;;;;-1:-1:-1;39409:147:0;;;;;:::i;:::-;;:::i;38514:49::-;;;;;;;;;;-1:-1:-1;38514:49:0;38559:4;38514:49;;51122:194;;;;;;;;;;-1:-1:-1;51122:194:0;;;;;:::i;:::-;;:::i;45192:26::-;;;;;;;;;;;;;;;;45159:28;;;;;;;;;;;;;;;;46634:308;;;;;;;;;;-1:-1:-1;46634:308:0;;;;;:::i;:::-;;:::i;50601:423::-;;;;;;;;;;-1:-1:-1;50601:423:0;;;;;:::i;:::-;;:::i;41830:149::-;;;;;;;;;;-1:-1:-1;41830:149:0;;;;;:::i;:::-;;:::i;44937:55::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;44937:55:0;;45223:27;;;;;;;;;;;;;;;;45283:32;;;;;;;;;;;;;;;;51520:438;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;51666:12:::1;::::0;;51707:32:::1;::::0;-1:-1:-1;;;51707:32:0;;;;::::1;3134:25:1::0;;;-1:-1:-1;;;;;51666:12:0::1;::::0;51638:19:::1;::::0;51666:12;;51707:25:::1;::::0;3107:18:1;;51707:32:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44:::0;;-1:-1:-1;;;;;;51792:27:0;::::1;;51820:5:::0;51827:19:::1;51840:6:::0;51707:44;51827:19:::1;:::i;:::-;51792:55;::::0;-1:-1:-1;;;;;;51792:55:0::1;::::0;;;;;;::::1;::::0;::::1;8306:25:1::0;;;;8347:18;;;8340:34;8279:18;;51792:55:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;51874:9;51869:84;51893:6;51889:1;:10;51869:84;;;51915:30;::::0;-1:-1:-1;;;51915:30:0;;-1:-1:-1;;;;;8577:32:1;;;51915:30:0::1;::::0;::::1;8559:51:1::0;8626:18;;;8619:34;;;51915:18:0;::::1;::::0;::::1;::::0;8532::1;;51915:30:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;51901:3:0;::::1;::::0;::::1;:::i;:::-;;;;51869:84;;;;51631:327;;51520:438:::0;;;;:::o;51964:106::-;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;52060:3:::1;-1:-1:-1::0;;;;;52047:17:0::1;;46315:212:::0;46403:4;-1:-1:-1;;;;;;46423:48:0;;-1:-1:-1;;;46423:48:0;;:98;;;46484:37;46508:12;46484:23;:37::i;:::-;46416:105;46315:212;-1:-1:-1;;46315:212:0:o;47021:534::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47148:12:0;;;47186:17;;;-1:-1:-1;;;47186:17:0;;;;-1:-1:-1;;;;;47148:12:0;;;;47129:10;;47148:12;;47186:15;;:17;;;;;;;;;;;;;;47148:12;47186:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47168:35;-1:-1:-1;47249:11:0;47168:35;47259:1;47249:11;:::i;:::-;47235:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47235:26:0;-1:-1:-1;47212:20:0;;;:49;47310:11;:7;47320:1;47310:11;:::i;:::-;47295:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;47295:27:0;;;;;;;;;;;;;;;;-1:-1:-1;47268:54:0;;:24;47329:197;47354:7;47349:1;:12;47329:197;;47408:19;;-1:-1:-1;;;47408:19:0;;;;;3134:25:1;;;47380::0;;-1:-1:-1;;;;;47408:16:0;;;;;3107:18:1;;47408:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47380:47;;47466:9;47436:10;:24;;;47461:1;47436:27;;;;;;;;:::i;:::-;;;;;;:39;;;;47510:5;:8;47516:1;47510:8;;;;;;;;;;;;47484:10;:20;;;47505:1;47484:23;;;;;;;;:::i;:::-;;;;;;;;;;:34;-1:-1:-1;47363:6:0;47368:1;47363:6;;:::i;:::-;;;47329:197;;;-1:-1:-1;47539:10:0;;47021:534;-1:-1:-1;;;47021:534:0:o;41390:147::-;41023:7;41050:12;;;;;;;;;;:22;;;39005:16;39016:4;39005:10;:16::i;:::-;41504:25:::1;41515:4;41521:7;41504:10;:25::i;:::-;41390:147:::0;;;:::o;42534:218::-;-1:-1:-1;;;;;42630:23:0;;20429:10;42630:23;42622:83;;;;-1:-1:-1;;;42622:83:0;;9327:2:1;42622:83:0;;;9309:21:1;9366:2;9346:18;;;9339:30;9405:34;9385:18;;;9378:62;-1:-1:-1;;;9456:18:1;;;9449:45;9511:19;;42622:83:0;;;;;;;;;42718:26;42730:4;42736:7;42718:11;:26::i;:::-;42534:218;;:::o;51368:146::-;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;-1:-1:-1;51437:20:0::1;51444:13;51437:20:::0;;;51471:11:::1;51464:18:::0;;;51496:12:::1;51489:19:::0;51368:146::o;47935:1737::-;48046:16;6836:1;7434:7;;:19;7426:63;;;;-1:-1:-1;;;7426:63:0;;9743:2:1;7426:63:0;;;9725:21:1;9782:2;9762:18;;;9755:30;9821:33;9801:18;;;9794:61;9872:18;;7426:63:0;9541:355:1;7426:63:0;6836:1;7567:7;:18;;;48095:12:::1;::::0;-1:-1:-1;;;;;48095:12:0::1;::::0;48123:45:::1;48146:9;-1:-1:-1::0;;;;;48146:20:0::1;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48137:5;:31;;48115:80;;;::::0;-1:-1:-1;;;48115:80:0;;10103:2:1;48115:80:0::1;::::0;::::1;10085:21:1::0;10142:2;10122:18;;;10115:30;-1:-1:-1;;;10161:18:1;;;10154:52;10223:18;;48115:80:0::1;9901:346:1::0;48115:80:0::1;48210:12;::::0;;;:5:::1;:12;::::0;;;;;:17;;48202:53:::1;;;::::0;-1:-1:-1;;;48202:53:0;;10454:2:1;48202:53:0::1;::::0;::::1;10436:21:1::0;10493:2;10473:18;;;10466:30;10532:25;10512:18;;;10505:53;10575:18;;48202:53:0::1;10252:347:1::0;48202:53:0::1;48274:7;48270:1;:11;:43;;;;;48296:17;;48285:7;:28;;48270:43;48262:85;;;::::0;-1:-1:-1;;;48262:85:0;;10806:2:1;48262:85:0::1;::::0;::::1;10788:21:1::0;10845:2;10825:18;;;10818:30;10884:31;10864:18;;;10857:59;10933:18;;48262:85:0::1;10604:353:1::0;48262:85:0::1;48373:25;48392:5;48373:18;:25::i;:::-;48362:7;:36;;48354:83;;;::::0;-1:-1:-1;;;48354:83:0;;11164:2:1;48354:83:0::1;::::0;::::1;11146:21:1::0;11203:2;11183:18;;;11176:30;11242:34;11222:18;;;11215:62;-1:-1:-1;;;11293:18:1;;;11286:32;11335:19;;48354:83:0::1;10962:398:1::0;48354:83:0::1;48446:19;48476:29:::0;48522:7:::1;48508:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;48508:22:0::1;;48476:54;;48542:9;48537:1031;48561:7;48557:1;:11;48537:1031;;;48586:14;48603:12:::0;;;:5:::1;:12;::::0;;;;;;-1:-1:-1;;;;;48648:14:0;::::1;;20429:10:::0;48648:35:::1;::::0;-1:-1:-1;;;;;;48648:35:0::1;::::0;;;;;;-1:-1:-1;;;;;8577:32:1;;;48648:35:0::1;::::0;::::1;8559:51:1::0;8626:18;;;8619:34;;;8532:18;;48648:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49062:13;::::0;49100:11:::1;::::0;48626:57;;-1:-1:-1;49062:13:0;49126:27:::1;20429:10:::0;49140:12:::1;20349:98:::0;49126:27:::1;49122:285;;;20429:10:::0;49175:24:::1;::::0;;;:10:::1;:24;::::0;;;;49168:31;;-1:-1:-1;;49168:31:0::1;::::0;;49221:10:::1;49230:1;49221:6:::0;:10:::1;:::i;:::-;49212:19;;49122:285;;;49262:15;49253:5;:24;;:49;;;;;49299:3;49281:15;:21;49253:49;49249:158;;;49332:12;::::0;49384:10:::1;49332:12:::0;49384:3:::1;:10;:::i;:::-;49367:12;49376:3;49367:6:::0;:12:::1;:::i;:::-;49366:29;;;;:::i;:::-;49357:38;;49304:103;49249:158;49424:51;::::0;;8306:25:1;;;8362:2;8347:18;;8340:34;;;49448:5:0;;20429:10;;49424:51:::1;::::0;8279:18:1;49424:51:0::1;;;;;;;49504:11;49486:12;49499:1;49486:15;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;:29;49540:20:::1;49554:6:::0;49540:11;:20:::1;:::i;:::-;49526:34;;48575:993;;;;48570:3;;;;;:::i;:::-;;;;48537:1031;;;-1:-1:-1::0;49574:10:0::1;::::0;-1:-1:-1;;;;;49574:10:0::1;:23;20429:10:::0;49612:12:::1;::::0;49574:64:::1;::::0;::::1;::::0;;;-1:-1:-1;;;;;;49574:64:0;;;-1:-1:-1;;;;;12148:15:1;;;49574:64:0::1;::::0;::::1;12130:34:1::0;49612:12:0;::::1;12180:18:1::0;;;12173:43;12232:18;;;12225:34;;;12065:18;;49574:64:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;6792:1:0;7746:22;;49654:12;47935:1737;-1:-1:-1;;;;;47935:1737:0:o;50194:203::-;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;50297:9:::1;50292:100;50316:10;:17;50312:1;:21;50292:100;;;50380:4;50352:10;:25;50363:10;50374:1;50363:13;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;50352:25:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;50352:25:0;:32;;-1:-1:-1;;50352:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50335:6:::1;-1:-1:-1::0;50335:6:0;::::1;:::i;:::-;;;50292:100;;49817:274:::0;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;49956:12:::1;::::0;;49950:32:::1;::::0;;-1:-1:-1;;;49950:32:0;;;;-1:-1:-1;;;;;49956:12:0;;::::1;::::0;49950:30:::1;::::0;:32;;::::1;::::0;::::1;::::0;;;;;;;49956:12;49950:32:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49941:5;:41;;49919:97;;;::::0;-1:-1:-1;;;49919:97:0;;10103:2:1;49919:97:0::1;::::0;::::1;10085:21:1::0;10142:2;10122:18;;;10115:30;-1:-1:-1;;;10161:18:1;;;10154:52;10223:18;;49919:97:0::1;9901:346:1::0;49919:97:0::1;50023:12;::::0;;;:5:::1;:12;::::0;;;;;;:21;;;50058:27;50029:5;;50058:27:::1;::::0;::::1;::::0;50038:6;3134:25:1;;3122:2;3107:18;;2988:177;50058:27:0::1;;;;;;;;49817:274:::0;;;:::o;39409:147::-;39495:4;39519:12;;;;;;;;;;;-1:-1:-1;;;;;39519:29:0;;;;;;;;;;;;;;;39409:147::o;51122:194::-;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;-1:-1:-1;51283:17:0::1;:27:::0;51122:194::o;46634:308::-;46758:12;;;46752:38;;-1:-1:-1;;;46752:38:0;;;;;3134:25:1;;;46708:7:0;;;;-1:-1:-1;;;;;46758:12:0;;46752:31;;3107:18:1;;46752:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46724:66;;46826:9;:23;;;46801:9;:21;;;:48;46797:79;;-1:-1:-1;46867:1:0;;46634:308;-1:-1:-1;;46634:308:0:o;46797:79::-;46913:23;;;;46889:21;;:47;;46913:23;46889:47;:::i;:::-;46882:54;46634:308;-1:-1:-1;;;46634:308:0:o;50601:423::-;-1:-1:-1;;;;;;;;;;;39005:16:0;39016:4;39005:10;:16::i;:::-;50778:13:::1;50760:15;:31;50752:77;;;::::0;-1:-1:-1;;;50752:77:0;;13160:2:1;50752:77:0::1;::::0;::::1;13142:21:1::0;13199:2;13179:18;;;13172:30;13238:34;13218:18;;;13211:62;-1:-1:-1;;;13289:18:1;;;13282:31;13330:19;;50752:77:0::1;12958:397:1::0;50752:77:0::1;50848:13;50844:1;:17;:40;;;;;50881:3;50865:13;:19;50844:40;50836:75;;;::::0;-1:-1:-1;;;50836:75:0;;13562:2:1;50836:75:0::1;::::0;::::1;13544:21:1::0;13601:2;13581:18;;;13574:30;-1:-1:-1;;;13620:18:1;;;13613:52;13682:18;;50836:75:0::1;13360:346:1::0;50836:75:0::1;-1:-1:-1::0;50918:13:0::1;:31:::0;;;;50956:11:::1;:27:::0;50990:12:::1;:28:::0;50601:423::o;41830:149::-;41023:7;41050:12;;;;;;;;;;:22;;;39005:16;39016:4;39005:10;:16::i;:::-;41945:26:::1;41957:4;41963:7;41945:11;:26::i;39860:105::-:0;39927:30;39938:4;20429:10;39927;:30::i;:::-;39860:105;:::o;39113:204::-;39198:4;-1:-1:-1;;;;;;39222:47:0;;-1:-1:-1;;;39222:47:0;;:87;;-1:-1:-1;;;;;;;;;;17118:40:0;;;39273:36;17009:157;44131:238;44215:22;44223:4;44229:7;44215;:22::i;:::-;44210:152;;44254:6;:12;;;;;;;;;;;-1:-1:-1;;;;;44254:29:0;;;;;;;;;:36;;-1:-1:-1;;44254:36:0;44286:4;44254:36;;;44337:12;20429:10;;20349:98;44337:12;-1:-1:-1;;;;;44310:40:0;44328:7;-1:-1:-1;;;;;44310:40:0;44322:4;44310:40;;;;;;;;;;44131:238;;:::o;44549:239::-;44633:22;44641:4;44647:7;44633;:22::i;:::-;44629:152;;;44704:5;44672:12;;;;;;;;;;;-1:-1:-1;;;;;44672:29:0;;;;;;;;;;:37;;-1:-1:-1;;44672:37:0;;;44729:40;20429:10;;44672:12;;44729:40;;44704:5;44729:40;44549:239;;:::o;40255:505::-;40344:22;40352:4;40358:7;40344;:22::i;:::-;40339:414;;40532:41;40560:7;-1:-1:-1;;;;;40532:41:0;40570:2;40532:19;:41::i;:::-;40646:38;40674:4;40681:2;40646:19;:38::i;:::-;40437:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;40437:270:0;;;;;;;;;;-1:-1:-1;;;40383:358:0;;;;;;;:::i;18904:451::-;18979:13;19005:19;19037:10;19041:6;19037:1;:10;:::i;:::-;:14;;19050:1;19037:14;:::i;:::-;19027:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19027:25:0;;19005:47;;-1:-1:-1;;;19063:6:0;19070:1;19063:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19063:15:0;;;;;;;;;-1:-1:-1;;;19089:6:0;19096:1;19089:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19089:15:0;;;;;;;;-1:-1:-1;19120:9:0;19132:10;19136:6;19132:1;:10;:::i;:::-;:14;;19145:1;19132:14;:::i;:::-;19120:26;;19115:135;19152:1;19148;:5;19115:135;;;-1:-1:-1;;;19200:5:0;19208:3;19200:11;19187:25;;;;;;;:::i;:::-;;;;19175:6;19182:1;19175:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;19175:37:0;;;;;;;;-1:-1:-1;19237:1:0;19227:11;;;;;19155:3;;;:::i;:::-;;;19115:135;;;-1:-1:-1;19268:10:0;;19260:55;;;;-1:-1:-1;;;19260:55:0;;15496:2:1;19260:55:0;;;15478:21:1;;;15515:18;;;15508:30;15574:34;15554:18;;;15547:62;15626:18;;19260:55:0;15294:356:1;14:131;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:383;227:6;235;243;296:2;284:9;275:7;271:23;267:32;264:52;;;312:1;309;302:12;264:52;351:9;338:23;370:31;395:5;370:31;:::i;:::-;420:5;472:2;457:18;;444:32;;-1:-1:-1;523:2:1;508:18;;;495:32;;150:383;-1:-1:-1;;;150:383:1:o;538:255::-;605:6;658:2;646:9;637:7;633:23;629:32;626:52;;;674:1;671;664:12;626:52;713:9;700:23;732:31;757:5;732:31;:::i;798:286::-;856:6;909:2;897:9;888:7;884:23;880:32;877:52;;;925:1;922;915:12;877:52;951:23;;-1:-1:-1;;;;;;1003:32:1;;993:43;;983:71;;1050:1;1047;1040:12;1281:435;1334:3;1372:5;1366:12;1399:6;1394:3;1387:19;1425:4;1454:2;1449:3;1445:12;1438:19;;1491:2;1484:5;1480:14;1512:1;1522:169;1536:6;1533:1;1530:13;1522:169;;;1597:13;;1585:26;;1631:12;;;;1666:15;;;;1558:1;1551:9;1522:169;;;-1:-1:-1;1707:3:1;;1281:435;-1:-1:-1;;;;;1281:435:1:o;1721:1077::-;1863:4;1892:2;1921;1910:9;1903:21;1943:2;1983;1972:9;1968:18;2021:6;2015:13;2047:4;2087:2;2082;2071:9;2067:18;2060:30;2110:6;2145:12;2139:19;2182:6;2174;2167:22;2220:3;2209:9;2205:19;2198:26;;2265:2;2251:12;2247:21;2233:35;;2286:1;2277:10;;2296:307;2310:6;2307:1;2304:13;2296:307;;;2369:13;;2407:9;;2395:22;;2457:11;;;2451:18;2437:12;;;2430:40;2510:11;;2504:18;2490:12;;;2483:40;2578:15;;;;2332:1;2325:9;;;;;2543:12;;;;2296:307;;;-1:-1:-1;2640:15:1;;;2634:22;2696:19;;;-1:-1:-1;;2692:33:1;2672:18;;;2665:61;2634:22;2743:49;2700:3;2634:22;2743:49;:::i;:::-;2735:57;1721:1077;-1:-1:-1;;;;;;;;;1721:1077:1:o;2803:180::-;2862:6;2915:2;2903:9;2894:7;2890:23;2886:32;2883:52;;;2931:1;2928;2921:12;2883:52;-1:-1:-1;2954:23:1;;2803:180;-1:-1:-1;2803:180:1:o;3537:315::-;3605:6;3613;3666:2;3654:9;3645:7;3641:23;3637:32;3634:52;;;3682:1;3679;3672:12;3634:52;3718:9;3705:23;3695:33;;3778:2;3767:9;3763:18;3750:32;3791:31;3816:5;3791:31;:::i;:::-;3841:5;3831:15;;;3537:315;;;;;:::o;4433:248::-;4501:6;4509;4562:2;4550:9;4541:7;4537:23;4533:32;4530:52;;;4578:1;4575;4568:12;4530:52;-1:-1:-1;;4601:23:1;;;4671:2;4656:18;;;4643:32;;-1:-1:-1;4433:248:1:o;4686:632::-;4857:2;4909:21;;;4979:13;;4882:18;;;5001:22;;;4828:4;;4857:2;5080:15;;;;5054:2;5039:18;;;4828:4;5123:169;5137:6;5134:1;5131:13;5123:169;;;5198:13;;5186:26;;5267:15;;;;5232:12;;;;5159:1;5152:9;5123:169;;;-1:-1:-1;5309:3:1;;4686:632;-1:-1:-1;;;;;;4686:632:1:o;5323:127::-;5384:10;5379:3;5375:20;5372:1;5365:31;5415:4;5412:1;5405:15;5439:4;5436:1;5429:15;5455:275;5526:2;5520:9;5591:2;5572:13;;-1:-1:-1;;5568:27:1;5556:40;;5626:18;5611:34;;5647:22;;;5608:62;5605:88;;;5673:18;;:::i;:::-;5709:2;5702:22;5455:275;;-1:-1:-1;5455:275:1:o;5735:1021::-;5819:6;5850:2;5893;5881:9;5872:7;5868:23;5864:32;5861:52;;;5909:1;5906;5899:12;5861:52;5949:9;5936:23;5978:18;6019:2;6011:6;6008:14;6005:34;;;6035:1;6032;6025:12;6005:34;6073:6;6062:9;6058:22;6048:32;;6118:7;6111:4;6107:2;6103:13;6099:27;6089:55;;6140:1;6137;6130:12;6089:55;6176:2;6163:16;6198:2;6194;6191:10;6188:36;;;6204:18;;:::i;:::-;6250:2;6247:1;6243:10;6233:20;;6273:28;6297:2;6293;6289:11;6273:28;:::i;:::-;6335:15;;;6405:11;;;6401:20;;;6366:12;;;;6433:19;;;6430:39;;;6465:1;6462;6455:12;6430:39;6489:11;;;;6509:217;6525:6;6520:3;6517:15;6509:217;;;6605:3;6592:17;6579:30;;6622:31;6647:5;6622:31;:::i;:::-;6666:18;;;6542:12;;;;6704;;;;6509:217;;;6745:5;5735:1021;-1:-1:-1;;;;;;;;5735:1021:1:o;6983:316::-;7060:6;7068;7076;7129:2;7117:9;7108:7;7104:23;7100:32;7097:52;;;7145:1;7142;7135:12;7097:52;-1:-1:-1;;7168:23:1;;;7238:2;7223:18;;7210:32;;-1:-1:-1;7289:2:1;7274:18;;;7261:32;;6983:316;-1:-1:-1;6983:316:1:o;7304:558::-;7397:6;7450:2;7438:9;7429:7;7425:23;7421:32;7418:52;;;7466:1;7463;7456:12;7418:52;7499:2;7493:9;7541:2;7533:6;7529:15;7610:6;7598:10;7595:22;7574:18;7562:10;7559:34;7556:62;7553:88;;;7621:18;;:::i;:::-;7661:10;7657:2;7650:22;;7702:9;7696:16;7688:6;7681:32;7767:2;7756:9;7752:18;7746:25;7741:2;7733:6;7729:15;7722:50;7826:2;7815:9;7811:18;7805:25;7800:2;7792:6;7788:15;7781:50;7850:6;7840:16;;;7304:558;;;;:::o;7867:127::-;7928:10;7923:3;7919:20;7916:1;7909:31;7959:4;7956:1;7949:15;7983:4;7980:1;7973:15;7999:128;8039:3;8070:1;8066:6;8063:1;8060:13;8057:39;;;8076:18;;:::i;:::-;-1:-1:-1;8112:9:1;;7999:128::o;8664:184::-;8734:6;8787:2;8775:9;8766:7;8762:23;8758:32;8755:52;;;8803:1;8800;8793:12;8755:52;-1:-1:-1;8826:16:1;;8664:184;-1:-1:-1;8664:184:1:o;8853:135::-;8892:3;8913:17;;;8910:43;;8933:18;;:::i;:::-;-1:-1:-1;8980:1:1;8969:13;;8853:135::o;8993:127::-;9054:10;9049:3;9045:20;9042:1;9035:31;9085:4;9082:1;9075:15;9109:4;9106:1;9099:15;11365:217;11405:1;11431;11421:132;;11475:10;11470:3;11466:20;11463:1;11456:31;11510:4;11507:1;11500:15;11538:4;11535:1;11528:15;11421:132;-1:-1:-1;11567:9:1;;11365:217::o;11587:125::-;11627:4;11655:1;11652;11649:8;11646:34;;;11660:18;;:::i;:::-;-1:-1:-1;11697:9:1;;11587:125::o;11717:168::-;11757:7;11823:1;11819;11815:6;11811:14;11808:1;11805:21;11800:1;11793:9;11786:17;11782:45;11779:71;;;11830:18;;:::i;:::-;-1:-1:-1;11870:9:1;;11717:168::o;12270:277::-;12337:6;12390:2;12378:9;12369:7;12365:23;12361:32;12358:52;;;12406:1;12403;12396:12;12358:52;12438:9;12432:16;12491:5;12484:13;12477:21;12470:5;12467:32;12457:60;;12513:1;12510;12503:12;13711:258;13783:1;13793:113;13807:6;13804:1;13801:13;13793:113;;;13883:11;;;13877:18;13864:11;;;13857:39;13829:2;13822:10;13793:113;;;13924:6;13921:1;13918:13;13915:48;;;13959:1;13950:6;13945:3;13941:16;13934:27;13915:48;;13711:258;;;:::o;13974:786::-;14385:25;14380:3;14373:38;14355:3;14440:6;14434:13;14456:62;14511:6;14506:2;14501:3;14497:12;14490:4;14482:6;14478:17;14456:62;:::i;:::-;-1:-1:-1;;;14577:2:1;14537:16;;;14569:11;;;14562:40;14627:13;;14649:63;14627:13;14698:2;14690:11;;14683:4;14671:17;;14649:63;:::i;:::-;14732:17;14751:2;14728:26;;13974:786;-1:-1:-1;;;;13974:786:1:o;14765:383::-;14914:2;14903:9;14896:21;14877:4;14946:6;14940:13;14989:6;14984:2;14973:9;14969:18;14962:34;15005:66;15064:6;15059:2;15048:9;15044:18;15039:2;15031:6;15027:15;15005:66;:::i;:::-;15132:2;15111:15;-1:-1:-1;;15107:29:1;15092:45;;;;15139:2;15088:54;;14765:383;-1:-1:-1;;14765:383:1:o;15153:136::-;15192:3;15220:5;15210:39;;15229:18;;:::i;:::-;-1:-1:-1;;;15265:18:1;;15153:136::o
Swarm Source
ipfs://af1c926170d1c5f29f51512408442675ff4f3f9bdc333e1250d1d8472cb59ba9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.