More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 769 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 20187659 | 4 days ago | IN | 0 ETH | 0.00021693 | ||||
Transfer | 20182446 | 4 days ago | IN | 0 ETH | 0.0001545 | ||||
Transfer | 20181906 | 4 days ago | IN | 0 ETH | 0.00029093 | ||||
Transfer | 20181884 | 4 days ago | IN | 0 ETH | 0.00025532 | ||||
Transfer | 20174869 | 5 days ago | IN | 0 ETH | 0.00026313 | ||||
Transfer | 20167124 | 6 days ago | IN | 0 ETH | 0.00018033 | ||||
Transfer | 20167118 | 6 days ago | IN | 0 ETH | 0.00028565 | ||||
Transfer | 20165942 | 7 days ago | IN | 0 ETH | 0.00015919 | ||||
Transfer | 20165931 | 7 days ago | IN | 0 ETH | 0.00027391 | ||||
Transfer | 20147329 | 9 days ago | IN | 0 ETH | 0.00065917 | ||||
Transfer | 20147179 | 9 days ago | IN | 0 ETH | 0.00065917 | ||||
Transfer | 20138007 | 10 days ago | IN | 0 ETH | 0.00029111 | ||||
Transfer | 20134294 | 11 days ago | IN | 0 ETH | 0.00078602 | ||||
Transfer | 20134186 | 11 days ago | IN | 0 ETH | 0.00084485 | ||||
Transfer | 20133999 | 11 days ago | IN | 0 ETH | 0.00052502 | ||||
Transfer | 20133987 | 11 days ago | IN | 0 ETH | 0.00071553 | ||||
Transfer | 20133946 | 11 days ago | IN | 0 ETH | 0.00036996 | ||||
Transfer | 20133926 | 11 days ago | IN | 0 ETH | 0.00058365 | ||||
Transfer | 20133596 | 11 days ago | IN | 0 ETH | 0.00053267 | ||||
Transfer | 20133367 | 11 days ago | IN | 0 ETH | 0.00075035 | ||||
Transfer | 20132849 | 11 days ago | IN | 0 ETH | 0.00091552 | ||||
Transfer | 20132044 | 11 days ago | IN | 0 ETH | 0.00044048 | ||||
Transfer | 20131588 | 11 days ago | IN | 0 ETH | 0.00032958 | ||||
Transfer | 20129970 | 12 days ago | IN | 0 ETH | 0.00032232 | ||||
Transfer | 20128753 | 12 days ago | IN | 0 ETH | 0.00065917 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
THE9
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-08 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/[email protected]/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/utils/math/SafeMath.sol pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/[email protected]/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/[email protected]/token/ERC20/IERC20.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @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 { 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 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. */ 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. */ 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 granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ 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. * * [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}. * ==== */ 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); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/[email protected]/security/Pausable.sol pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/[email protected]/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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: THE9.sol pragma solidity >=0.8.2 <0.9.0; contract THE9 is ERC20, Pausable, AccessControl { uint256 constant DEFAULT_RELEASE_TIMESTAMP = 4102444800; // 2100년 January 1일 Friday AM 12:00:00 bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant ORG_ADMIN_ROLE = keccak256("ORG_ADMIN_ROLE"); struct BeneficiaryInfo { uint256 amount; uint256 releaseTime; uint256 unlockPercent; uint256 lockCycleDays; uint256 remainPercent; uint256 remainAmount; } mapping(address => BeneficiaryInfo) private _addressBeneficiaryInfo; address[] public Beneficiaries; constructor() ERC20("THE9", "THE9") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(PAUSER_ROLE, _msgSender()); _setupRole(ORG_ADMIN_ROLE, _msgSender()); _mint(_msgSender(), _calcDecimal(10000000000)); } event CreateAmountWithLock(address beneficiary, BeneficiaryInfo beneficiaryInfo); event UpdateAmountWithLock(address beneficiary, uint256 amount, uint256 releaseTime, BeneficiaryInfo beneficiaryInfo); event TransferAmountWithLock(address beneficiary, uint256 amount, BeneficiaryInfo beneficiaryInfo); /* public functions */ function pause() public onlyRole(PAUSER_ROLE) { _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { _unpause(); } function createAmountWithLock(address beneficiary, uint256 amount, uint256 firstReleaseTime, uint256 unlockPercent, uint256 lockCycleDays) public whenNotPaused onlyRole(ORG_ADMIN_ROLE) { if (firstReleaseTime == 0) { firstReleaseTime = DEFAULT_RELEASE_TIMESTAMP; } assert(_beforeSaveAmountWithLock(beneficiary, firstReleaseTime, unlockPercent, lockCycleDays)); if (_checkExists(beneficiary)) { updateAmountWithLock(beneficiary, amount, firstReleaseTime, unlockPercent, lockCycleDays); } else { _setInfo( beneficiary, _calcDecimal(amount), firstReleaseTime, unlockPercent, lockCycleDays, 100, _calcDecimal(amount) ); Beneficiaries.push(beneficiary); emit CreateAmountWithLock(beneficiary, _getInfo(beneficiary)); } } function updateAmountWithLock(address beneficiary, uint256 amount, uint256 firstReleaseTime, uint256 unlockPercent, uint256 lockCycleDays) public whenNotPaused onlyRole(ORG_ADMIN_ROLE) { require(_checkExists(beneficiary), "THE9: beneficiary not found"); if (firstReleaseTime == 0) { firstReleaseTime = DEFAULT_RELEASE_TIMESTAMP; } assert(_beforeSaveAmountWithLock(beneficiary, firstReleaseTime, unlockPercent, lockCycleDays)); BeneficiaryInfo memory beforeInfo = _getInfo(beneficiary); if(beforeInfo.remainPercent > 0 && beforeInfo.remainAmount > 0) { require(_getInfo(beneficiary).remainPercent >= 100, "THE9: account to which revenue was transferred"); } _setInfo( beneficiary, _calcDecimal(amount), firstReleaseTime, unlockPercent, lockCycleDays, 100, _calcDecimal(amount) ); emit UpdateAmountWithLock(beneficiary, amount, firstReleaseTime, beforeInfo); } function transferAmountWithLock(address beneficiary) public whenNotPaused onlyRole(ORG_ADMIN_ROLE) { require(beneficiary != address(0), "THE9: beneficiary from the zero address"); // check exists require(_checkExists(beneficiary), "THE9: beneficiary not found"); // check timestamp BeneficiaryInfo memory beforeInfo = _getInfo(beneficiary); require(_isReleased(beneficiary), "THE9: It hasn't been released yet"); require(beforeInfo.remainAmount > 0, "THE9: No remaining amount"); // remainAmount uint256 remainAmount = beforeInfo.remainAmount; uint256 remainPercent = beforeInfo.remainPercent; // check transfer available amount uint256 transferableAmount = _getTransferableAmount(beneficiary); if (transferableAmount > beforeInfo.remainAmount) { transferableAmount = beforeInfo.remainAmount; remainPercent = 0; } else { remainPercent = SafeMath.sub(remainPercent, beforeInfo.unlockPercent); } _beforeTokenTransfer(_msgSender(), beneficiary, transferableAmount); transfer(beneficiary, transferableAmount); _setInfo( beneficiary, beforeInfo.amount, _getNextReleaseTime(beneficiary), beforeInfo.unlockPercent, beforeInfo.lockCycleDays, remainPercent, SafeMath.sub(remainAmount, transferableAmount) ); super._afterTokenTransfer(_msgSender(), beneficiary, transferableAmount); emit TransferAmountWithLock(beneficiary, transferableAmount, _getInfo(beneficiary)); } function getBeneficiaryInfo(address beneficiary) public view returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256) { require(beneficiary != address(0), "THE9: beneficiary from the zero address"); BeneficiaryInfo memory beforeInfo = _getInfo(beneficiary); // check transfer available amount uint256 transferableAmount = _getTransferableAmount(beneficiary); if (transferableAmount > beforeInfo.remainAmount) { transferableAmount = beforeInfo.remainAmount; } return (beforeInfo.amount, beforeInfo.releaseTime, beforeInfo.unlockPercent, beforeInfo.lockCycleDays, beforeInfo.remainPercent, beforeInfo.remainAmount, transferableAmount); } /* internal functions */ function _getInfo(address beneficiary) internal view returns (BeneficiaryInfo memory) { return _addressBeneficiaryInfo[beneficiary]; } function _setInfo(address beneficiary, uint256 amount, uint256 releaseTime, uint256 unlockPercent, uint256 lockCycleDays, uint256 remainPercent, uint256 remainAmount) internal { _addressBeneficiaryInfo[beneficiary].amount = amount; _addressBeneficiaryInfo[beneficiary].releaseTime = releaseTime; _addressBeneficiaryInfo[beneficiary].unlockPercent = unlockPercent; _addressBeneficiaryInfo[beneficiary].lockCycleDays = lockCycleDays; _addressBeneficiaryInfo[beneficiary].remainPercent = remainPercent; _addressBeneficiaryInfo[beneficiary].remainAmount = remainAmount; } function _beforeSaveAmountWithLock(address beneficiary, uint256 firstReleaseTime, uint256 unlockPercent, uint256 lockCycleDays) internal view returns (bool) { require(beneficiary != address(0), "THE9: beneficiary from the zero address"); require(unlockPercent > 0, "THE9: percentage cannot be zero"); require(unlockPercent <= 100, "THE9: percentage cannot exceed 100"); require(lockCycleDays > 0, "THE9: lock cycle days cannot be zero"); require(firstReleaseTime > block.timestamp, "THE9: first release time is before current time"); return true; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { super._beforeTokenTransfer(from, to, amount); } function _isReleased(address beneficiary) internal view returns(bool) { if (_checkExists(beneficiary)) { return block.timestamp >= _getInfo(beneficiary).releaseTime; } else { return false; } } function _getNextReleaseTime(address beneficiary) internal view returns(uint256) { return SafeMath.add(_getInfo(beneficiary).releaseTime, SafeMath.mul(_getInfo(beneficiary).lockCycleDays, 24*60*60)); // per day } function _checkExists(address beneficiary) internal view returns(bool) { if (_getInfo(beneficiary).amount > 0) { return true; } else { return false; } } function _calcDecimal(uint256 amount) internal view returns(uint256) { return amount * 10 ** decimals(); } function _getTransferableAmount(address beneficiary) internal view returns (uint256) { if (_isReleased(beneficiary)) { return SafeMath.div(SafeMath.mul(_getInfo(beneficiary).amount, _getInfo(beneficiary).unlockPercent), 100); } else { return 0; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"uint256","name":"unlockPercent","type":"uint256"},{"internalType":"uint256","name":"lockCycleDays","type":"uint256"},{"internalType":"uint256","name":"remainPercent","type":"uint256"},{"internalType":"uint256","name":"remainAmount","type":"uint256"}],"indexed":false,"internalType":"struct THE9.BeneficiaryInfo","name":"beneficiaryInfo","type":"tuple"}],"name":"CreateAmountWithLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"uint256","name":"unlockPercent","type":"uint256"},{"internalType":"uint256","name":"lockCycleDays","type":"uint256"},{"internalType":"uint256","name":"remainPercent","type":"uint256"},{"internalType":"uint256","name":"remainAmount","type":"uint256"}],"indexed":false,"internalType":"struct THE9.BeneficiaryInfo","name":"beneficiaryInfo","type":"tuple"}],"name":"TransferAmountWithLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releaseTime","type":"uint256"},{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"uint256","name":"unlockPercent","type":"uint256"},{"internalType":"uint256","name":"lockCycleDays","type":"uint256"},{"internalType":"uint256","name":"remainPercent","type":"uint256"},{"internalType":"uint256","name":"remainAmount","type":"uint256"}],"indexed":false,"internalType":"struct THE9.BeneficiaryInfo","name":"beneficiaryInfo","type":"tuple"}],"name":"UpdateAmountWithLock","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Beneficiaries","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ORG_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"firstReleaseTime","type":"uint256"},{"internalType":"uint256","name":"unlockPercent","type":"uint256"},{"internalType":"uint256","name":"lockCycleDays","type":"uint256"}],"name":"createAmountWithLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"getBeneficiaryInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"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":[{"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"transferAmountWithLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"firstReleaseTime","type":"uint256"},{"internalType":"uint256","name":"unlockPercent","type":"uint256"},{"internalType":"uint256","name":"lockCycleDays","type":"uint256"}],"name":"updateAmountWithLock","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526004808252635448453960e01b60208084018281528551808701909652928552840152815191929162000051916003916200032c565b508051620000679060049060208401906200032c565b50506005805460ff191690555062000081600033620000fa565b620000ad7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620000fa565b620000d97f123b642491709420c2370bb98c4e7de2b1bc05c5f9fd95ac4111e12683553c6233620000fa565b620000f433620000ee6402540be4006200010a565b6200012c565b62000577565b62000106828262000223565b5050565b60006200011a6012600a62000436565b62000126908362000502565b92915050565b6001600160a01b038216620001885760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200019660008383620002c7565b8060026000828254620001aa9190620003d2565b90915550506001600160a01b03821660009081526020819052604081208054839290620001d9908490620003d2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620001065760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002833390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60055460ff16156200030f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016200017f565b620003278383836200032760201b6200064c1760201c565b505050565b8280546200033a9062000524565b90600052602060002090601f0160209004810192826200035e5760008555620003a9565b82601f106200037957805160ff1916838001178555620003a9565b82800160010185558215620003a9579182015b82811115620003a95782518255916020019190600101906200038c565b50620003b7929150620003bb565b5090565b5b80821115620003b75760008155600101620003bc565b60008219821115620003e857620003e862000561565b500190565b600181815b808511156200042e57816000190482111562000412576200041262000561565b808516156200042057918102915b93841c9390800290620003f2565b509250929050565b60006200044760ff8416836200044e565b9392505050565b6000826200045f5750600162000126565b816200046e5750600062000126565b81600181146200048757600281146200049257620004b2565b600191505062000126565b60ff841115620004a657620004a662000561565b50506001821b62000126565b5060208310610133831016604e8410600b8410161715620004d7575081810a62000126565b620004e38383620003ed565b8060001904821115620004fa57620004fa62000561565b029392505050565b60008160001904831182151516156200051f576200051f62000561565b500290565b600181811c908216806200053957607f821691505b602082108114156200055b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b611e5980620005876000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80635c975abb116100f9578063a9059cbb11610097578063d8bd75af11610071578063d8bd75af146103e6578063dd62ed3e146103f9578063e63ab1e914610432578063fa89cff81461045957600080fd5b8063a9059cbb146103ab578063d0ca2f67146103be578063d547741f146103d357600080fd5b806391d14854116100d357806391d148541461037557806395d89b4114610388578063a217fddf14610390578063a457c2d71461039857600080fd5b80635c975abb1461033957806370a08231146103445780638456cb591461036d57600080fd5b80632f2ff15d11610166578063366dc08311610140578063366dc083146102c3578063395093511461030b5780633f4ba83a1461031e5780634c11b33f1461032657600080fd5b80632f2ff15d1461028c578063313ce567146102a157806336568abe146102b057600080fd5b806318160ddd116101a257806318160ddd1461021957806320c7d2ca1461022b57806323b872dd14610256578063248a9ca31461026957600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d73660046119db565b61046c565b60405190151581526020015b60405180910390f35b6101f96104a3565b6040516101e89190611b2b565b6101dc610214366004611933565b610535565b6002545b6040519081526020016101e8565b61023e61023936600461199f565b61054b565b6040516001600160a01b0390911681526020016101e8565b6101dc6102643660046118f7565b610575565b61021d61027736600461199f565b60009081526006602052604090206001015490565b61029f61029a3660046119b8565b610626565b005b604051601281526020016101e8565b61029f6102be3660046119b8565b610651565b6102d66102d13660046118a9565b6106cf565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e0016101e8565b6101dc610319366004611933565b61075c565b61029f610798565b61029f61033436600461195d565b6107ce565b60055460ff166101dc565b61021d6103523660046118a9565b6001600160a01b031660009081526020819052604090205490565b61029f6109bf565b6101dc6103833660046119b8565b6109f2565b6101f9610a1d565b61021d600081565b6101dc6103a6366004611933565b610a2c565b6101dc6103b9366004611933565b610ac5565b61021d600080516020611e0483398151915281565b61029f6103e13660046119b8565b610ad2565b61029f6103f436600461195d565b610af8565b61021d6104073660046118c4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61021d7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61029f6104673660046118a9565b610c29565b60006001600160e01b03198216637965db0b60e01b148061049d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104b290611d70565b80601f01602080910402602001604051908101604052809291908181526020018280546104de90611d70565b801561052b5780601f106105005761010080835404028352916020019161052b565b820191906000526020600020905b81548152906001019060200180831161050e57829003601f168201915b5050505050905090565b6000610542338484610e5b565b50600192915050565b6008818154811061055b57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000610582848484610f7f565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561060c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106198533858403610e5b565b60019150505b9392505050565b600082815260066020526040902060010154610642813361115a565b61064c83836111be565b505050565b6001600160a01b03811633146106c15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610603565b6106cb8282611244565b5050565b60008080808080806001600160a01b0388166106fd5760405162461bcd60e51b815260040161060390611b88565b6000610708896112ab565b905060006107158a611346565b90508160a0015181111561072a575060a08101515b8151602083015160408401516060850151608086015160a090960151939e929d50909b50995092975095509350915050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610542918590610793908690611bcf565b610e5b565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107c3813361115a565b6107cb61138c565b50565b60055460ff16156107f15760405162461bcd60e51b815260040161060390611b5e565b600080516020611e0483398151915261080a813361115a565b6108138661141f565b61085f5760405162461bcd60e51b815260206004820152601b60248201527f544845393a2062656e6566696369617279206e6f7420666f756e6400000000006044820152606401610603565b8361086c5763f486570093505b6108788685858561143a565b61088457610884611dab565b600061088f876112ab565b9050600081608001511180156108a9575060008160a00151115b156109225760646108b9886112ab565b6080015110156109225760405162461bcd60e51b815260206004820152602e60248201527f544845393a206163636f756e7420746f20776869636820726576656e7565207760448201526d185cc81d1c985b9cd9995c9c995960921b6064820152608401610603565b6109798761092f886115dd565b878787606461093d8d6115dd565b6001600160a01b039096166000908152600760205260409020948555600185019390935560028401919091556003830155600482015560050155565b7f48e9a0354f4ede03676ae307b71e37e5fed6b4f99e92298a39b081e27ce0b1b3878787846040516109ae9493929190611af6565b60405180910390a150505050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6109ea813361115a565b6107cb6115f5565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546104b290611d70565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610aae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610603565b610abb3385858403610e5b565b5060019392505050565b6000610542338484610f7f565b600082815260066020526040902060010154610aee813361115a565b61064c8383611244565b60055460ff1615610b1b5760405162461bcd60e51b815260040161060390611b5e565b600080516020611e04833981519152610b34813361115a565b83610b415763f486570093505b610b4d8685858561143a565b610b5957610b59611dab565b610b628661141f565b15610b7957610b7486868686866107ce565b610c21565b610b9486610b86876115dd565b868686606461093d8c6115dd565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0388161790557fbbb96124e422b96061a49822a91defe98f04c5c2ee0d9e40f6a08f548055728c86610c0a816112ab565b604051610c18929190611ab4565b60405180910390a15b505050505050565b60055460ff1615610c4c5760405162461bcd60e51b815260040161060390611b5e565b600080516020611e04833981519152610c65813361115a565b6001600160a01b038216610c8b5760405162461bcd60e51b815260040161060390611b88565b610c948261141f565b610ce05760405162461bcd60e51b815260206004820152601b60248201527f544845393a2062656e6566696369617279206e6f7420666f756e6400000000006044820152606401610603565b6000610ceb836112ab565b9050610cf68361164d565b610d4c5760405162461bcd60e51b815260206004820152602160248201527f544845393a204974206861736e2774206265656e2072656c65617365642079656044820152601d60fa1b6064820152608401610603565b60008160a0015111610da05760405162461bcd60e51b815260206004820152601960248201527f544845393a204e6f2072656d61696e696e6720616d6f756e74000000000000006044820152606401610603565b60a081015160808201516000610db586611346565b90508360a00151811115610dd257505060a0820151600090610de3565b610de0828560400151611673565b91505b610dee33878361167f565b610df88682610ac5565b50610e20868560000151610e0b896116a2565b876040015188606001518761093d8a89611673565b7f013373905d7c70a21ac633fd6f9d988b5524a430b3a92bcbdfdd6945917d13718682610e4c896112ab565b604051610c1893929190611ad1565b6001600160a01b038316610ebd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610603565b6001600160a01b038216610f1e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610603565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610fe35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610603565b6001600160a01b0382166110455760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610603565b61105083838361167f565b6001600160a01b038316600090815260208190526040902054818110156110c85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610603565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110ff908490611bcf565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161114b91815260200190565b60405180910390a35b50505050565b61116482826109f2565b6106cb5761117c816001600160a01b031660146116d2565b6111878360206116d2565b604051602001611198929190611a3f565b60408051601f198184030181529082905262461bcd60e51b825261060391600401611b2b565b6111c882826109f2565b6106cb5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112003390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61124e82826109f2565b156106cb5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6112e46040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160a01b0316600090815260076020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015290565b60006113518261164d565b1561137f5761049d611378611365846112ab565b5161136f856112ab565b6040015161186e565b606461187a565b506000919050565b919050565b60055460ff166113d55760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610603565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008061142b836112ab565b51111561137f57506001919050565b60006001600160a01b0385166114625760405162461bcd60e51b815260040161060390611b88565b600083116114b25760405162461bcd60e51b815260206004820152601f60248201527f544845393a2070657263656e746167652063616e6e6f74206265207a65726f006044820152606401610603565b606483111561150e5760405162461bcd60e51b815260206004820152602260248201527f544845393a2070657263656e746167652063616e6e6f74206578636565642031604482015261030360f41b6064820152608401610603565b6000821161156a5760405162461bcd60e51b8152602060048201526024808201527f544845393a206c6f636b206379636c6520646179732063616e6e6f74206265206044820152637a65726f60e01b6064820152608401610603565b4284116115d15760405162461bcd60e51b815260206004820152602f60248201527f544845393a2066697273742072656c656173652074696d65206973206265666f60448201526e72652063757272656e742074696d6560881b6064820152608401610603565b5060015b949350505050565b60006115eb6012600a611c4c565b61049d9083611cf7565b60055460ff16156116185760405162461bcd60e51b815260040161060390611b5e565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114023390565b60006116588261141f565b1561137f57611666826112ab565b6020015142101592915050565b600061061f8284611d16565b60055460ff161561064c5760405162461bcd60e51b815260040161060390611b5e565b600061049d6116b0836112ab565b602001516116cd6116c0856112ab565b606001516201518061186e565b611886565b606060006116e1836002611cf7565b6116ec906002611bcf565b67ffffffffffffffff81111561170457611704611ded565b6040519080825280601f01601f19166020018201604052801561172e576020820181803683370190505b509050600360fc1b8160008151811061174957611749611dd7565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061177857611778611dd7565b60200101906001600160f81b031916908160001a905350600061179c846002611cf7565b6117a7906001611bcf565b90505b600181111561181f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106117db576117db611dd7565b1a60f81b8282815181106117f1576117f1611dd7565b60200101906001600160f81b031916908160001a90535060049490941c9361181881611d59565b90506117aa565b50831561061f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610603565b600061061f8284611cf7565b600061061f8284611be7565b600061061f8284611bcf565b80356001600160a01b038116811461138757600080fd5b6000602082840312156118bb57600080fd5b61061f82611892565b600080604083850312156118d757600080fd5b6118e083611892565b91506118ee60208401611892565b90509250929050565b60008060006060848603121561190c57600080fd5b61191584611892565b925061192360208501611892565b9150604084013590509250925092565b6000806040838503121561194657600080fd5b61194f83611892565b946020939093013593505050565b600080600080600060a0868803121561197557600080fd5b61197e86611892565b97602087013597506040870135966060810135965060800135945092505050565b6000602082840312156119b157600080fd5b5035919050565b600080604083850312156119cb57600080fd5b823591506118ee60208401611892565b6000602082840312156119ed57600080fd5b81356001600160e01b03198116811461061f57600080fd5b805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a08301525050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611a77816017850160208801611d2d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611aa8816028840160208801611d2d565b01602801949350505050565b6001600160a01b038316815260e0810161061f6020830184611a05565b6001600160a01b03841681526020810183905261010081016115d56040830184611a05565b6001600160a01b038516815260208101849052604081018390526101208101611b226060830184611a05565b95945050505050565b6020815260008251806020840152611b4a816040850160208701611d2d565b601f01601f19169190910160400192915050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526027908201527f544845393a2062656e65666963696172792066726f6d20746865207a65726f206040820152666164647265737360c81b606082015260800190565b60008219821115611be257611be2611dc1565b500190565b600082611c0457634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115611c44578160001904821115611c2a57611c2a611dc1565b80851615611c3757918102915b93841c9390800290611c0e565b509250929050565b600061061f60ff841683600082611c655750600161049d565b81611c725750600061049d565b8160018114611c885760028114611c9257611cae565b600191505061049d565b60ff841115611ca357611ca3611dc1565b50506001821b61049d565b5060208310610133831016604e8410600b8410161715611cd1575081810a61049d565b611cdb8383611c09565b8060001904821115611cef57611cef611dc1565b029392505050565b6000816000190483118215151615611d1157611d11611dc1565b500290565b600082821015611d2857611d28611dc1565b500390565b60005b83811015611d48578181015183820152602001611d30565b838111156111545750506000910152565b600081611d6857611d68611dc1565b506000190190565b600181811c90821680611d8457607f821691505b60208210811415611da557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe123b642491709420c2370bb98c4e7de2b1bc05c5f9fd95ac4111e12683553c62a2646970667358221220d043b82e3420fe8b5c358890e7f5d56a15f0d2e1e6168f31751093ae565d618a64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80635c975abb116100f9578063a9059cbb11610097578063d8bd75af11610071578063d8bd75af146103e6578063dd62ed3e146103f9578063e63ab1e914610432578063fa89cff81461045957600080fd5b8063a9059cbb146103ab578063d0ca2f67146103be578063d547741f146103d357600080fd5b806391d14854116100d357806391d148541461037557806395d89b4114610388578063a217fddf14610390578063a457c2d71461039857600080fd5b80635c975abb1461033957806370a08231146103445780638456cb591461036d57600080fd5b80632f2ff15d11610166578063366dc08311610140578063366dc083146102c3578063395093511461030b5780633f4ba83a1461031e5780634c11b33f1461032657600080fd5b80632f2ff15d1461028c578063313ce567146102a157806336568abe146102b057600080fd5b806318160ddd116101a257806318160ddd1461021957806320c7d2ca1461022b57806323b872dd14610256578063248a9ca31461026957600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d73660046119db565b61046c565b60405190151581526020015b60405180910390f35b6101f96104a3565b6040516101e89190611b2b565b6101dc610214366004611933565b610535565b6002545b6040519081526020016101e8565b61023e61023936600461199f565b61054b565b6040516001600160a01b0390911681526020016101e8565b6101dc6102643660046118f7565b610575565b61021d61027736600461199f565b60009081526006602052604090206001015490565b61029f61029a3660046119b8565b610626565b005b604051601281526020016101e8565b61029f6102be3660046119b8565b610651565b6102d66102d13660046118a9565b6106cf565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e0016101e8565b6101dc610319366004611933565b61075c565b61029f610798565b61029f61033436600461195d565b6107ce565b60055460ff166101dc565b61021d6103523660046118a9565b6001600160a01b031660009081526020819052604090205490565b61029f6109bf565b6101dc6103833660046119b8565b6109f2565b6101f9610a1d565b61021d600081565b6101dc6103a6366004611933565b610a2c565b6101dc6103b9366004611933565b610ac5565b61021d600080516020611e0483398151915281565b61029f6103e13660046119b8565b610ad2565b61029f6103f436600461195d565b610af8565b61021d6104073660046118c4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61021d7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61029f6104673660046118a9565b610c29565b60006001600160e01b03198216637965db0b60e01b148061049d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104b290611d70565b80601f01602080910402602001604051908101604052809291908181526020018280546104de90611d70565b801561052b5780601f106105005761010080835404028352916020019161052b565b820191906000526020600020905b81548152906001019060200180831161050e57829003601f168201915b5050505050905090565b6000610542338484610e5b565b50600192915050565b6008818154811061055b57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000610582848484610f7f565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561060c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106198533858403610e5b565b60019150505b9392505050565b600082815260066020526040902060010154610642813361115a565b61064c83836111be565b505050565b6001600160a01b03811633146106c15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610603565b6106cb8282611244565b5050565b60008080808080806001600160a01b0388166106fd5760405162461bcd60e51b815260040161060390611b88565b6000610708896112ab565b905060006107158a611346565b90508160a0015181111561072a575060a08101515b8151602083015160408401516060850151608086015160a090960151939e929d50909b50995092975095509350915050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610542918590610793908690611bcf565b610e5b565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107c3813361115a565b6107cb61138c565b50565b60055460ff16156107f15760405162461bcd60e51b815260040161060390611b5e565b600080516020611e0483398151915261080a813361115a565b6108138661141f565b61085f5760405162461bcd60e51b815260206004820152601b60248201527f544845393a2062656e6566696369617279206e6f7420666f756e6400000000006044820152606401610603565b8361086c5763f486570093505b6108788685858561143a565b61088457610884611dab565b600061088f876112ab565b9050600081608001511180156108a9575060008160a00151115b156109225760646108b9886112ab565b6080015110156109225760405162461bcd60e51b815260206004820152602e60248201527f544845393a206163636f756e7420746f20776869636820726576656e7565207760448201526d185cc81d1c985b9cd9995c9c995960921b6064820152608401610603565b6109798761092f886115dd565b878787606461093d8d6115dd565b6001600160a01b039096166000908152600760205260409020948555600185019390935560028401919091556003830155600482015560050155565b7f48e9a0354f4ede03676ae307b71e37e5fed6b4f99e92298a39b081e27ce0b1b3878787846040516109ae9493929190611af6565b60405180910390a150505050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6109ea813361115a565b6107cb6115f5565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546104b290611d70565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610aae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610603565b610abb3385858403610e5b565b5060019392505050565b6000610542338484610f7f565b600082815260066020526040902060010154610aee813361115a565b61064c8383611244565b60055460ff1615610b1b5760405162461bcd60e51b815260040161060390611b5e565b600080516020611e04833981519152610b34813361115a565b83610b415763f486570093505b610b4d8685858561143a565b610b5957610b59611dab565b610b628661141f565b15610b7957610b7486868686866107ce565b610c21565b610b9486610b86876115dd565b868686606461093d8c6115dd565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0388161790557fbbb96124e422b96061a49822a91defe98f04c5c2ee0d9e40f6a08f548055728c86610c0a816112ab565b604051610c18929190611ab4565b60405180910390a15b505050505050565b60055460ff1615610c4c5760405162461bcd60e51b815260040161060390611b5e565b600080516020611e04833981519152610c65813361115a565b6001600160a01b038216610c8b5760405162461bcd60e51b815260040161060390611b88565b610c948261141f565b610ce05760405162461bcd60e51b815260206004820152601b60248201527f544845393a2062656e6566696369617279206e6f7420666f756e6400000000006044820152606401610603565b6000610ceb836112ab565b9050610cf68361164d565b610d4c5760405162461bcd60e51b815260206004820152602160248201527f544845393a204974206861736e2774206265656e2072656c65617365642079656044820152601d60fa1b6064820152608401610603565b60008160a0015111610da05760405162461bcd60e51b815260206004820152601960248201527f544845393a204e6f2072656d61696e696e6720616d6f756e74000000000000006044820152606401610603565b60a081015160808201516000610db586611346565b90508360a00151811115610dd257505060a0820151600090610de3565b610de0828560400151611673565b91505b610dee33878361167f565b610df88682610ac5565b50610e20868560000151610e0b896116a2565b876040015188606001518761093d8a89611673565b7f013373905d7c70a21ac633fd6f9d988b5524a430b3a92bcbdfdd6945917d13718682610e4c896112ab565b604051610c1893929190611ad1565b6001600160a01b038316610ebd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610603565b6001600160a01b038216610f1e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610603565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610fe35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610603565b6001600160a01b0382166110455760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610603565b61105083838361167f565b6001600160a01b038316600090815260208190526040902054818110156110c85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610603565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110ff908490611bcf565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161114b91815260200190565b60405180910390a35b50505050565b61116482826109f2565b6106cb5761117c816001600160a01b031660146116d2565b6111878360206116d2565b604051602001611198929190611a3f565b60408051601f198184030181529082905262461bcd60e51b825261060391600401611b2b565b6111c882826109f2565b6106cb5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112003390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61124e82826109f2565b156106cb5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6112e46040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160a01b0316600090815260076020908152604091829020825160c08101845281548152600182015492810192909252600281015492820192909252600382015460608201526004820154608082015260059091015460a082015290565b60006113518261164d565b1561137f5761049d611378611365846112ab565b5161136f856112ab565b6040015161186e565b606461187a565b506000919050565b919050565b60055460ff166113d55760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610603565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008061142b836112ab565b51111561137f57506001919050565b60006001600160a01b0385166114625760405162461bcd60e51b815260040161060390611b88565b600083116114b25760405162461bcd60e51b815260206004820152601f60248201527f544845393a2070657263656e746167652063616e6e6f74206265207a65726f006044820152606401610603565b606483111561150e5760405162461bcd60e51b815260206004820152602260248201527f544845393a2070657263656e746167652063616e6e6f74206578636565642031604482015261030360f41b6064820152608401610603565b6000821161156a5760405162461bcd60e51b8152602060048201526024808201527f544845393a206c6f636b206379636c6520646179732063616e6e6f74206265206044820152637a65726f60e01b6064820152608401610603565b4284116115d15760405162461bcd60e51b815260206004820152602f60248201527f544845393a2066697273742072656c656173652074696d65206973206265666f60448201526e72652063757272656e742074696d6560881b6064820152608401610603565b5060015b949350505050565b60006115eb6012600a611c4c565b61049d9083611cf7565b60055460ff16156116185760405162461bcd60e51b815260040161060390611b5e565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114023390565b60006116588261141f565b1561137f57611666826112ab565b6020015142101592915050565b600061061f8284611d16565b60055460ff161561064c5760405162461bcd60e51b815260040161060390611b5e565b600061049d6116b0836112ab565b602001516116cd6116c0856112ab565b606001516201518061186e565b611886565b606060006116e1836002611cf7565b6116ec906002611bcf565b67ffffffffffffffff81111561170457611704611ded565b6040519080825280601f01601f19166020018201604052801561172e576020820181803683370190505b509050600360fc1b8160008151811061174957611749611dd7565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061177857611778611dd7565b60200101906001600160f81b031916908160001a905350600061179c846002611cf7565b6117a7906001611bcf565b90505b600181111561181f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106117db576117db611dd7565b1a60f81b8282815181106117f1576117f1611dd7565b60200101906001600160f81b031916908160001a90535060049490941c9361181881611d59565b90506117aa565b50831561061f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610603565b600061061f8284611cf7565b600061061f8284611be7565b600061061f8284611bcf565b80356001600160a01b038116811461138757600080fd5b6000602082840312156118bb57600080fd5b61061f82611892565b600080604083850312156118d757600080fd5b6118e083611892565b91506118ee60208401611892565b90509250929050565b60008060006060848603121561190c57600080fd5b61191584611892565b925061192360208501611892565b9150604084013590509250925092565b6000806040838503121561194657600080fd5b61194f83611892565b946020939093013593505050565b600080600080600060a0868803121561197557600080fd5b61197e86611892565b97602087013597506040870135966060810135965060800135945092505050565b6000602082840312156119b157600080fd5b5035919050565b600080604083850312156119cb57600080fd5b823591506118ee60208401611892565b6000602082840312156119ed57600080fd5b81356001600160e01b03198116811461061f57600080fd5b805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a08301525050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611a77816017850160208801611d2d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611aa8816028840160208801611d2d565b01602801949350505050565b6001600160a01b038316815260e0810161061f6020830184611a05565b6001600160a01b03841681526020810183905261010081016115d56040830184611a05565b6001600160a01b038516815260208101849052604081018390526101208101611b226060830184611a05565b95945050505050565b6020815260008251806020840152611b4a816040850160208701611d2d565b601f01601f19169190910160400192915050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526027908201527f544845393a2062656e65666963696172792066726f6d20746865207a65726f206040820152666164647265737360c81b606082015260800190565b60008219821115611be257611be2611dc1565b500190565b600082611c0457634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115611c44578160001904821115611c2a57611c2a611dc1565b80851615611c3757918102915b93841c9390800290611c0e565b509250929050565b600061061f60ff841683600082611c655750600161049d565b81611c725750600061049d565b8160018114611c885760028114611c9257611cae565b600191505061049d565b60ff841115611ca357611ca3611dc1565b50506001821b61049d565b5060208310610133831016604e8410600b8410161715611cd1575081810a61049d565b611cdb8383611c09565b8060001904821115611cef57611cef611dc1565b029392505050565b6000816000190483118215151615611d1157611d11611dc1565b500290565b600082821015611d2857611d28611dc1565b500390565b60005b83811015611d48578181015183820152602001611d30565b838111156111545750506000910152565b600081611d6857611d68611dc1565b506000190190565b600181811c90821680611d8457607f821691505b60208210811415611da557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe123b642491709420c2370bb98c4e7de2b1bc05c5f9fd95ac4111e12683553c62a2646970667358221220d043b82e3420fe8b5c358890e7f5d56a15f0d2e1e6168f31751093ae565d618a64736f6c63430008070033
Deployed Bytecode Sourcemap
38846:9323:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20762:204;;;;;;:::i;:::-;;:::i;:::-;;;5506:14:1;;5499:22;5481:41;;5469:2;5454:18;20762:204:0;;;;;;;;29735:100;;;:::i;:::-;;;;;;;:::i;31902:169::-;;;;;;:::i;:::-;;:::i;30855:108::-;30943:12;;30855:108;;;5679:25:1;;;5667:2;5652:18;30855:108:0;5533:177:1;39447:30:0;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3965:32:1;;;3947:51;;3935:2;3920:18;39447:30:0;3801:203:1;32553:492:0;;;;;;:::i;:::-;;:::i;22173:123::-;;;;;;:::i;:::-;22239:7;22266:12;;;:6;:12;;;;;:22;;;;22173:123;22558:147;;;;;;:::i;:::-;;:::i;:::-;;30697:93;;;30780:2;14869:36:1;;14857:2;14842:18;30697:93:0;14727:184:1;23606:218:0;;;;;;:::i;:::-;;:::i;44220:864::-;;;;;;:::i;:::-;;:::i;:::-;;;;14430:25:1;;;14486:2;14471:18;;14464:34;;;;14514:18;;;14507:34;;;;14572:2;14557:18;;14550:34;;;;14615:3;14600:19;;14593:35;14659:3;14644:19;;14637:35;14703:3;14688:19;;14681:35;14417:3;14402:19;44220:864:0;14115:607:1;33454:215:0;;;;;;:::i;:::-;;:::i;40176:77::-;;;:::i;41297:1153::-;;;;;;:::i;:::-;;:::i;26466:86::-;26537:7;;;;26466:86;;31026:127;;;;;;:::i;:::-;-1:-1:-1;;;;;31127:18:0;31100:7;31127:18;;;;;;;;;;;;31026:127;40095:73;;;:::i;21058:139::-;;;;;;:::i;:::-;;:::i;29954:104::-;;;:::i;20149:49::-;;20194:4;20149:49;;34172:413;;;;;;:::i;:::-;;:::i;31366:175::-;;;;;;:::i;:::-;;:::i;39075:68::-;;-1:-1:-1;;;;;;;;;;;39075:68:0;;22950:149;;;;;;:::i;:::-;;:::i;40268:1021::-;;;;;;:::i;:::-;;:::i;31604:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;31720:18:0;;;31693:7;31720:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;31604:151;39006:62;;39044:24;39006:62;;42458:1754;;;;;;:::i;:::-;;:::i;20762:204::-;20847:4;-1:-1:-1;;;;;;20871:47:0;;-1:-1:-1;;;20871:47:0;;:87;;-1:-1:-1;;;;;;;;;;15195:40:0;;;20922:36;20864:94;20762:204;-1:-1:-1;;20762:204:0:o;29735:100::-;29789:13;29822:5;29815:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29735:100;:::o;31902:169::-;31985:4;32002:39;748:10;32025:7;32034:6;32002:8;:39::i;:::-;-1:-1:-1;32059:4:0;31902:169;;;;:::o;39447:30::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39447:30:0;;-1:-1:-1;39447:30:0;:::o;32553:492::-;32693:4;32710:36;32720:6;32728:9;32739:6;32710:9;:36::i;:::-;-1:-1:-1;;;;;32786:19:0;;32759:24;32786:19;;;:11;:19;;;;;;;;748:10;32786:33;;;;;;;;32838:26;;;;32830:79;;;;-1:-1:-1;;;32830:79:0;;11329:2:1;32830:79:0;;;11311:21:1;11368:2;11348:18;;;11341:30;11407:34;11387:18;;;11380:62;-1:-1:-1;;;11458:18:1;;;11451:38;11506:19;;32830:79:0;;;;;;;;;32945:57;32954:6;748:10;32995:6;32976:16;:25;32945:8;:57::i;:::-;33033:4;33026:11;;;32553:492;;;;;;:::o;22558:147::-;22239:7;22266:12;;;:6;:12;;;;;:22;;;20640:30;20651:4;748:10;20640;:30::i;:::-;22672:25:::1;22683:4;22689:7;22672:10;:25::i;:::-;22558:147:::0;;;:::o;23606:218::-;-1:-1:-1;;;;;23702:23:0;;748:10;23702:23;23694:83;;;;-1:-1:-1;;;23694:83:0;;13719:2:1;23694:83:0;;;13701:21:1;13758:2;13738:18;;;13731:30;13797:34;13777:18;;;13770:62;-1:-1:-1;;;13848:18:1;;;13841:45;13903:19;;23694:83:0;13517:411:1;23694:83:0;23790:26;23802:4;23808:7;23790:11;:26::i;:::-;23606:218;;:::o;44220:864::-;44319:7;;;;;;;-1:-1:-1;;;;;44407:25:0;;44399:77;;;;-1:-1:-1;;;44399:77:0;;;;;;;:::i;:::-;44487:33;44523:21;44532:11;44523:8;:21::i;:::-;44487:57;;44609:26;44638:35;44661:11;44638:22;:35::i;:::-;44609:64;;44709:10;:23;;;44688:18;:44;44684:121;;;-1:-1:-1;44770:23:0;;;;44684:121;44833:17;;44865:22;;;;44902:24;;;;44941;;;;44980;;;;45019:23;;;;;44833:17;;44865:22;;-1:-1:-1;44902:24:0;;-1:-1:-1;44941:24:0;-1:-1:-1;44980:24:0;;-1:-1:-1;45019:23:0;-1:-1:-1;45057:18:0;-1:-1:-1;44220:864:0;-1:-1:-1;;44220:864:0:o;33454:215::-;748:10;33542:4;33591:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;33591:34:0;;;;;;;;;;33542:4;;33559:80;;33582:7;;33591:47;;33628:10;;33591:47;:::i;:::-;33559:8;:80::i;40176:77::-;39044:24;20640:30;39044:24;748:10;20640;:30::i;:::-;40235:10:::1;:8;:10::i;:::-;40176:77:::0;:::o;41297:1153::-;26537:7;;;;26791:9;26783:38;;;;-1:-1:-1;;;26783:38:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;20640:30:0::1;39116:27:::0;748:10;20640;:30::i;:::-:1;41534:25:::2;41547:11;41534:12;:25::i;:::-;41526:65;;;::::0;-1:-1:-1;;;41526:65:0;;12957:2:1;41526:65:0::2;::::0;::::2;12939:21:1::0;12996:2;12976:18;;;12969:30;13035:29;13015:18;;;13008:57;13082:18;;41526:65:0::2;12755:351:1::0;41526:65:0::2;41616:21:::0;41612:98:::2;;38946:10;41654:44;;41612:98;41727:86;41753:11;41766:16;41784:13;41799;41727:25;:86::i;:::-;41720:94;;;;:::i;:::-;41835:33;41871:21;41880:11;41871:8;:21::i;:::-;41835:57;;41933:1;41906:10;:24;;;:28;:59;;;;;41964:1;41938:10;:23;;;:27;41906:59;41903:196;;;42029:3;41990:21;41999:11;41990:8;:21::i;:::-;:35;;;:42;;41982:101;;;::::0;-1:-1:-1;;;41982:101:0;;8985:2:1;41982:101:0::2;::::0;::::2;8967:21:1::0;9024:2;9004:18;;;8997:30;9063:34;9043:18;;;9036:62;-1:-1:-1;;;9114:18:1;;;9107:44;9168:19;;41982:101:0::2;8783:410:1::0;41982:101:0::2;42119:226;42142:11;42169:20;42182:6;42169:12;:20::i;:::-;42205:16;42237:13;42266;42295:3;42314:20;42327:6;42314:12;:20::i;:::-;-1:-1:-1::0;;;;;45517:36:0;;;;;;;:23;:36;;;;;:52;;;45580:48;;;:62;;;;45653:50;;;:66;;;;45730:50;;;:66;45807:50;;;:66;45884:49;;:64;45316:640;42119:226:::2;42371:71;42392:11;42405:6;42413:16;42431:10;42371:71;;;;;;;;;:::i;:::-;;;;;;;;41515:935;26832:1:::1;41297:1153:::0;;;;;:::o;40095:73::-;39044:24;20640:30;39044:24;748:10;20640;:30::i;:::-;40152:8:::1;:6;:8::i;21058:139::-:0;21136:4;21160:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;21160:29:0;;;;;;;;;;;;;;;21058:139::o;29954:104::-;30010:13;30043:7;30036:14;;;;;:::i;34172:413::-;748:10;34265:4;34309:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;34309:34:0;;;;;;;;;;34362:35;;;;34354:85;;;;-1:-1:-1;;;34354:85:0;;13313:2:1;34354:85:0;;;13295:21:1;13352:2;13332:18;;;13325:30;13391:34;13371:18;;;13364:62;-1:-1:-1;;;13442:18:1;;;13435:35;13487:19;;34354:85:0;13111:401:1;34354:85:0;34475:67;748:10;34498:7;34526:15;34507:16;:34;34475:8;:67::i;:::-;-1:-1:-1;34573:4:0;;34172:413;-1:-1:-1;;;34172:413:0:o;31366:175::-;31452:4;31469:42;748:10;31493:9;31504:6;31469:9;:42::i;22950:149::-;22239:7;22266:12;;;:6;:12;;;;;:22;;;20640:30;20651:4;748:10;20640;:30::i;:::-;23065:26:::1;23077:4;23083:7;23065:11;:26::i;40268:1021::-:0;26537:7;;;;26791:9;26783:38;;;;-1:-1:-1;;;26783:38:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;20640:30:0::1;39116:27:::0;748:10;20640;:30::i;:::-:1;40501:21:::0;40497:98:::2;;38946:10;40539:44;;40497:98;40612:86;40638:11;40651:16;40669:13;40684;40612:25;:86::i;:::-;40605:94;;;;:::i;:::-;40724:25;40737:11;40724:12;:25::i;:::-;40720:562;;;40766:89;40787:11;40800:6;40808:16;40826:13;40841;40766:20;:89::i;:::-;40720:562;;;40888:258;40915:11;40946:20;40959:6;40946:12;:20::i;:::-;40986:16;41022:13;41055;41088:3;41111:20;41124:6;41111:12;:20::i;40888:258::-;41161:13;:31:::0;;::::2;::::0;::::2;::::0;;-1:-1:-1;41161:31:0;;;;;::::2;::::0;;-1:-1:-1;;;;;;41161:31:0::2;-1:-1:-1::0;;;;;41161:31:0;::::2;;::::0;;41214:56:::2;41161:31:::0;41248:21:::2;41161:31:::0;41248:8:::2;:21::i;:::-;41214:56;;;;;;;:::i;:::-;;;;;;;;40720:562;26832:1:::1;40268:1021:::0;;;;;:::o;42458:1754::-;26537:7;;;;26791:9;26783:38;;;;-1:-1:-1;;;26783:38:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;20640:30:0::1;39116:27:::0;748:10;20640;:30::i;:::-:1;-1:-1:-1::0;;;;;42609:25:0;::::2;42601:77;;;;-1:-1:-1::0;;;42601:77:0::2;;;;;;;:::i;:::-;42724:25;42737:11;42724:12;:25::i;:::-;42716:65;;;::::0;-1:-1:-1;;;42716:65:0;;12957:2:1;42716:65:0::2;::::0;::::2;12939:21:1::0;12996:2;12976:18;;;12969:30;13035:29;13015:18;;;13008:57;13082:18;;42716:65:0::2;12755:351:1::0;42716:65:0::2;42822:33;42858:21;42867:11;42858:8;:21::i;:::-;42822:57;;42898:24;42910:11;42898;:24::i;:::-;42890:70;;;::::0;-1:-1:-1;;;42890:70:0;;7070:2:1;42890:70:0::2;::::0;::::2;7052:21:1::0;7109:2;7089:18;;;7082:30;7148:34;7128:18;;;7121:62;-1:-1:-1;;;7199:18:1;;;7192:31;7240:19;;42890:70:0::2;6868:397:1::0;42890:70:0::2;43005:1;42979:10;:23;;;:27;42971:65;;;::::0;-1:-1:-1;;;42971:65:0;;8631:2:1;42971:65:0::2;::::0;::::2;8613:21:1::0;8670:2;8650:18;;;8643:30;8709:27;8689:18;;;8682:55;8754:18;;42971:65:0::2;8429:349:1::0;42971:65:0::2;43097:23;::::0;::::2;::::0;43155:24:::2;::::0;::::2;::::0;43074:20:::2;43273:35;43296:11:::0;43273:22:::2;:35::i;:::-;43244:64;;43344:10;:23;;;43323:18;:44;43319:255;;;-1:-1:-1::0;;43405:23:0::2;::::0;::::2;::::0;43459:1:::2;::::0;43319:255:::2;;;43509:53;43522:13;43537:10;:24;;;43509:12;:53::i;:::-;43493:69;;43319:255;43586:67;748:10:::0;43621:11:::2;43634:18;43586:20;:67::i;:::-;43666:41;43675:11;43688:18;43666:8;:41::i;:::-;;43720:297;43743:11;43770:10;:17;;;43803:32;43823:11;43803:19;:32::i;:::-;43851:10;:24;;;43891:10;:24;;;43931:13;43960:46;43973:12;43987:18;43960:12;:46::i;43720:297::-;44126:78;44149:11;44162:18;44182:21;44191:11;44182:8;:21::i;:::-;44126:78;;;;;;;;:::i;36934:380::-:0;-1:-1:-1;;;;;37070:19:0;;37062:68;;;;-1:-1:-1;;;37062:68:0;;12552:2:1;37062:68:0;;;12534:21:1;12591:2;12571:18;;;12564:30;12630:34;12610:18;;;12603:62;-1:-1:-1;;;12681:18:1;;;12674:34;12725:19;;37062:68:0;12350:400:1;37062:68:0;-1:-1:-1;;;;;37149:21:0;;37141:68;;;;-1:-1:-1;;;37141:68:0;;7821:2:1;37141:68:0;;;7803:21:1;7860:2;7840:18;;;7833:30;7899:34;7879:18;;;7872:62;-1:-1:-1;;;7950:18:1;;;7943:32;7992:19;;37141:68:0;7619:398:1;37141:68:0;-1:-1:-1;;;;;37222:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;37274:32;;5679:25:1;;;37274:32:0;;5652:18:1;37274:32:0;;;;;;;36934:380;;;:::o;35075:733::-;-1:-1:-1;;;;;35215:20:0;;35207:70;;;;-1:-1:-1;;;35207:70:0;;11738:2:1;35207:70:0;;;11720:21:1;11777:2;11757:18;;;11750:30;11816:34;11796:18;;;11789:62;-1:-1:-1;;;11867:18:1;;;11860:35;11912:19;;35207:70:0;11536:401:1;35207:70:0;-1:-1:-1;;;;;35296:23:0;;35288:71;;;;-1:-1:-1;;;35288:71:0;;6666:2:1;35288:71:0;;;6648:21:1;6705:2;6685:18;;;6678:30;6744:34;6724:18;;;6717:62;-1:-1:-1;;;6795:18:1;;;6788:33;6838:19;;35288:71:0;6464:399:1;35288:71:0;35372:47;35393:6;35401:9;35412:6;35372:20;:47::i;:::-;-1:-1:-1;;;;;35456:17:0;;35432:21;35456:17;;;;;;;;;;;35492:23;;;;35484:74;;;;-1:-1:-1;;;35484:74:0;;8224:2:1;35484:74:0;;;8206:21:1;8263:2;8243:18;;;8236:30;8302:34;8282:18;;;8275:62;-1:-1:-1;;;8353:18:1;;;8346:36;8399:19;;35484:74:0;8022:402:1;35484:74:0;-1:-1:-1;;;;;35594:17:0;;;:9;:17;;;;;;;;;;;35614:22;;;35594:42;;35658:20;;;;;;;;:30;;35630:6;;35594:9;35658:30;;35630:6;;35658:30;:::i;:::-;;;;;;;;35723:9;-1:-1:-1;;;;;35706:35:0;35715:6;-1:-1:-1;;;;;35706:35:0;;35734:6;35706:35;;;;5679:25:1;;5667:2;5652:18;;5533:177;35706:35:0;;;;;;;;35754:46;35196:612;35075:733;;;:::o;21487:497::-;21568:22;21576:4;21582:7;21568;:22::i;:::-;21563:414;;21756:41;21784:7;-1:-1:-1;;;;;21756:41:0;21794:2;21756:19;:41::i;:::-;21870:38;21898:4;21905:2;21870:19;:38::i;:::-;21661:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;21661:270:0;;;;;;;;;;-1:-1:-1;;;21607:358:0;;;;;;;:::i;24910:229::-;24985:22;24993:4;24999:7;24985;:22::i;:::-;24980:152;;25024:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;25024:29:0;;;;;;;;;:36;;-1:-1:-1;;25024:36:0;25056:4;25024:36;;;25107:12;748:10;;668:98;25107:12;-1:-1:-1;;;;;25080:40:0;25098:7;-1:-1:-1;;;;;25080:40:0;25092:4;25080:40;;;;;;;;;;24910:229;;:::o;25147:230::-;25222:22;25230:4;25236:7;25222;:22::i;:::-;25218:152;;;25293:5;25261:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;25261:29:0;;;;;;;;;;:37;;-1:-1:-1;;25261:37:0;;;25318:40;748:10;;25261:12;;25318:40;;25293:5;25318:40;25147:230;;:::o;45124:180::-;45213:22;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45213:22:0;-1:-1:-1;;;;;;45260:36:0;;;;;:23;:36;;;;;;;;;45253:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45124:180::o;47828:338::-;47931:7;47960:24;47972:11;47960;:24::i;:::-;47956:203;;;48008:98;48021:79;48034:21;48043:11;48034:8;:21::i;:::-;:28;48064:21;48073:11;48064:8;:21::i;:::-;:35;;;48021:12;:79::i;:::-;48102:3;48008:12;:98::i;47956:203::-;-1:-1:-1;48146:1:0;;47828:338;-1:-1:-1;47828:338:0:o;47956:203::-;47828:338;;;:::o;27525:120::-;26537:7;;;;27061:41;;;;-1:-1:-1;;;27061:41:0;;7472:2:1;27061:41:0;;;7454:21:1;7511:2;7491:18;;;7484:30;-1:-1:-1;;;7530:18:1;;;7523:50;7590:18;;27061:41:0;7270:344:1;27061:41:0;27584:7:::1;:15:::0;;-1:-1:-1;;27584:15:0::1;::::0;;27615:22:::1;748:10:::0;27624:12:::1;27615:22;::::0;-1:-1:-1;;;;;3965:32:1;;;3947:51;;3935:2;3920:18;27615:22:0::1;;;;;;;27525:120::o:0;47404:246::-;47499:4;47557:1;47526:21;47535:11;47526:8;:21::i;:::-;:28;:32;47522:121;;;-1:-1:-1;47582:4:0;;47404:246;-1:-1:-1;47404:246:0:o;45968:649::-;46146:4;-1:-1:-1;;;;;46176:25:0;;46168:77;;;;-1:-1:-1;;;46168:77:0;;;;;;;:::i;:::-;46280:1;46264:13;:17;46256:61;;;;-1:-1:-1;;;46256:61:0;;10969:2:1;46256:61:0;;;10951:21:1;11008:2;10988:18;;;10981:30;11047:33;11027:18;;;11020:61;11098:18;;46256:61:0;10767:355:1;46256:61:0;46353:3;46336:13;:20;;46328:67;;;;-1:-1:-1;;;46328:67:0;;10566:2:1;46328:67:0;;;10548:21:1;10605:2;10585:18;;;10578:30;10644:34;10624:18;;;10617:62;-1:-1:-1;;;10695:18:1;;;10688:32;10737:19;;46328:67:0;10364:398:1;46328:67:0;46430:1;46414:13;:17;46406:66;;;;-1:-1:-1;;;46406:66:0;;10161:2:1;46406:66:0;;;10143:21:1;10200:2;10180:18;;;10173:30;10239:34;10219:18;;;10212:62;-1:-1:-1;;;10290:18:1;;;10283:34;10334:19;;46406:66:0;9959:400:1;46406:66:0;46510:15;46491:16;:34;46483:94;;;;-1:-1:-1;;;46483:94:0;;9745:2:1;46483:94:0;;;9727:21:1;9784:2;9764:18;;;9757:30;9823:34;9803:18;;;9796:62;-1:-1:-1;;;9874:18:1;;;9867:45;9929:19;;46483:94:0;9543:411:1;46483:94:0;-1:-1:-1;46605:4:0;45968:649;;;;;;;:::o;47662:154::-;47751:7;47792:16;30780:2;47792;:16;:::i;:::-;47783:25;;:6;:25;:::i;27266:118::-;26537:7;;;;26791:9;26783:38;;;;-1:-1:-1;;;26783:38:0;;;;;;;:::i;:::-;27326:7:::1;:14:::0;;-1:-1:-1;;27326:14:0::1;27336:4;27326:14;::::0;;27356:20:::1;27363:12;748:10:::0;;668:98;46836:286;46930:4;46957:25;46970:11;46957:12;:25::i;:::-;46953:162;;;47025:21;47034:11;47025:8;:21::i;:::-;:33;;;47006:15;:52;;;46836:286;-1:-1:-1;;46836:286:0:o;4055:98::-;4113:7;4140:5;4144:1;4140;:5;:::i;46629:199::-;26537:7;;;;26791:9;26783:38;;;;-1:-1:-1;;;26783:38:0;;;;;;;:::i;47130:262::-;47232:7;47265:108;47278:21;47287:11;47278:8;:21::i;:::-;:33;;;47313:59;47326:21;47335:11;47326:8;:21::i;:::-;:35;;;47363:8;47313:12;:59::i;:::-;47265:12;:108::i;9457:451::-;9532:13;9558:19;9590:10;9594:6;9590:1;:10;:::i;:::-;:14;;9603:1;9590:14;:::i;:::-;9580:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9580:25:0;;9558:47;;-1:-1:-1;;;9616:6:0;9623:1;9616:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;9616:15:0;;;;;;;;;-1:-1:-1;;;9642:6:0;9649:1;9642:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;9642:15:0;;;;;;;;-1:-1:-1;9673:9:0;9685:10;9689:6;9685:1;:10;:::i;:::-;:14;;9698:1;9685:14;:::i;:::-;9673:26;;9668:135;9705:1;9701;:5;9668:135;;;-1:-1:-1;;;9753:5:0;9761:3;9753:11;9740:25;;;;;;;:::i;:::-;;;;9728:6;9735:1;9728:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;9728:37:0;;;;;;;;-1:-1:-1;9790:1:0;9780:11;;;;;9708:3;;;:::i;:::-;;;9668:135;;;-1:-1:-1;9821:10:0;;9813:55;;;;-1:-1:-1;;;9813:55:0;;6305:2:1;9813:55:0;;;6287:21:1;;;6324:18;;;6317:30;6383:34;6363:18;;;6356:62;6435:18;;9813:55:0;6103:356:1;4412:98:0;4470:7;4497:5;4501:1;4497;:5;:::i;4811:98::-;4869:7;4896:5;4900:1;4896;:5;:::i;3674:98::-;3732:7;3759:5;3763:1;3759;:5;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:254::-;1049:6;1057;1110:2;1098:9;1089:7;1085:23;1081:32;1078:52;;;1126:1;1123;1116:12;1078:52;1149:29;1168:9;1149:29;:::i;:::-;1139:39;1225:2;1210:18;;;;1197:32;;-1:-1:-1;;;981:254:1:o;1240:460::-;1335:6;1343;1351;1359;1367;1420:3;1408:9;1399:7;1395:23;1391:33;1388:53;;;1437:1;1434;1427:12;1388:53;1460:29;1479:9;1460:29;:::i;:::-;1450:39;1536:2;1521:18;;1508:32;;-1:-1:-1;1587:2:1;1572:18;;1559:32;;1638:2;1623:18;;1610:32;;-1:-1:-1;1689:3:1;1674:19;1661:33;;-1:-1:-1;1240:460:1;-1:-1:-1;;;1240:460:1:o;1705:180::-;1764:6;1817:2;1805:9;1796:7;1792:23;1788:32;1785:52;;;1833:1;1830;1823:12;1785:52;-1:-1:-1;1856:23:1;;1705:180;-1:-1:-1;1705:180:1:o;1890:254::-;1958:6;1966;2019:2;2007:9;1998:7;1994:23;1990:32;1987:52;;;2035:1;2032;2025:12;1987:52;2071:9;2058:23;2048:33;;2100:38;2134:2;2123:9;2119:18;2100:38;:::i;2149:286::-;2207:6;2260:2;2248:9;2239:7;2235:23;2231:32;2228:52;;;2276:1;2273;2266:12;2228:52;2302:23;;-1:-1:-1;;;;;;2354:32:1;;2344:43;;2334:71;;2401:1;2398;2391:12;2625:380;2712:5;2706:12;2701:3;2694:25;2768:4;2761:5;2757:16;2751:23;2744:4;2739:3;2735:14;2728:47;2824:4;2817:5;2813:16;2807:23;2800:4;2795:3;2791:14;2784:47;2880:4;2873:5;2869:16;2863:23;2856:4;2851:3;2847:14;2840:47;2936:4;2929:5;2925:16;2919:23;2912:4;2907:3;2903:14;2896:47;2992:4;2985:5;2981:16;2975:23;2968:4;2963:3;2959:14;2952:47;;;2625:380::o;3010:786::-;3421:25;3416:3;3409:38;3391:3;3476:6;3470:13;3492:62;3547:6;3542:2;3537:3;3533:12;3526:4;3518:6;3514:17;3492:62;:::i;:::-;-1:-1:-1;;;3613:2:1;3573:16;;;3605:11;;;3598:40;3663:13;;3685:63;3663:13;3734:2;3726:11;;3719:4;3707:17;;3685:63;:::i;:::-;3768:17;3787:2;3764:26;;3010:786;-1:-1:-1;;;;3010:786:1:o;4009:368::-;-1:-1:-1;;;;;4268:32:1;;4250:51;;4237:3;4222:19;;4310:61;4367:2;4352:18;;4344:6;4310:61;:::i;4382:439::-;-1:-1:-1;;;;;4669:32:1;;4651:51;;4733:2;4718:18;;4711:34;;;4638:3;4623:19;;4754:61;4811:2;4796:18;;4788:6;4754:61;:::i;4826:510::-;-1:-1:-1;;;;;5141:32:1;;5123:51;;5205:2;5190:18;;5183:34;;;5248:2;5233:18;;5226:34;;;5110:3;5095:19;;5269:61;5326:2;5311:18;;5303:6;5269:61;:::i;:::-;4826:510;;;;;;;:::o;5715:383::-;5864:2;5853:9;5846:21;5827:4;5896:6;5890:13;5939:6;5934:2;5923:9;5919:18;5912:34;5955:66;6014:6;6009:2;5998:9;5994:18;5989:2;5981:6;5977:15;5955:66;:::i;:::-;6082:2;6061:15;-1:-1:-1;;6057:29:1;6042:45;;;;6089:2;6038:54;;5715:383;-1:-1:-1;;5715:383:1:o;9198:340::-;9400:2;9382:21;;;9439:2;9419:18;;;9412:30;-1:-1:-1;;;9473:2:1;9458:18;;9451:46;9529:2;9514:18;;9198:340::o;11942:403::-;12144:2;12126:21;;;12183:2;12163:18;;;12156:30;12222:34;12217:2;12202:18;;12195:62;-1:-1:-1;;;12288:2:1;12273:18;;12266:37;12335:3;12320:19;;11942:403::o;14916:128::-;14956:3;14987:1;14983:6;14980:1;14977:13;14974:39;;;14993:18;;:::i;:::-;-1:-1:-1;15029:9:1;;14916:128::o;15049:217::-;15089:1;15115;15105:132;;15159:10;15154:3;15150:20;15147:1;15140:31;15194:4;15191:1;15184:15;15222:4;15219:1;15212:15;15105:132;-1:-1:-1;15251:9:1;;15049:217::o;15271:422::-;15360:1;15403:5;15360:1;15417:270;15438:7;15428:8;15425:21;15417:270;;;15497:4;15493:1;15489:6;15485:17;15479:4;15476:27;15473:53;;;15506:18;;:::i;:::-;15556:7;15546:8;15542:22;15539:55;;;15576:16;;;;15539:55;15655:22;;;;15615:15;;;;15417:270;;;15421:3;15271:422;;;;;:::o;15698:140::-;15756:5;15785:47;15826:4;15816:8;15812:19;15806:4;15892:5;15922:8;15912:80;;-1:-1:-1;15963:1:1;15977:5;;15912:80;16011:4;16001:76;;-1:-1:-1;16048:1:1;16062:5;;16001:76;16093:4;16111:1;16106:59;;;;16179:1;16174:130;;;;16086:218;;16106:59;16136:1;16127:10;;16150:5;;;16174:130;16211:3;16201:8;16198:17;16195:43;;;16218:18;;:::i;:::-;-1:-1:-1;;16274:1:1;16260:16;;16289:5;;16086:218;;16388:2;16378:8;16375:16;16369:3;16363:4;16360:13;16356:36;16350:2;16340:8;16337:16;16332:2;16326:4;16323:12;16319:35;16316:77;16313:159;;;-1:-1:-1;16425:19:1;;;16457:5;;16313:159;16504:34;16529:8;16523:4;16504:34;:::i;:::-;16574:6;16570:1;16566:6;16562:19;16553:7;16550:32;16547:58;;;16585:18;;:::i;:::-;16623:20;;15843:806;-1:-1:-1;;;15843:806:1:o;16654:168::-;16694:7;16760:1;16756;16752:6;16748:14;16745:1;16742:21;16737:1;16730:9;16723:17;16719:45;16716:71;;;16767:18;;:::i;:::-;-1:-1:-1;16807:9:1;;16654:168::o;16827:125::-;16867:4;16895:1;16892;16889:8;16886:34;;;16900:18;;:::i;:::-;-1:-1:-1;16937:9:1;;16827:125::o;16957:258::-;17029:1;17039:113;17053:6;17050:1;17047:13;17039:113;;;17129:11;;;17123:18;17110:11;;;17103:39;17075:2;17068:10;17039:113;;;17170:6;17167:1;17164:13;17161:48;;;-1:-1:-1;;17205:1:1;17187:16;;17180:27;16957:258::o;17220:136::-;17259:3;17287:5;17277:39;;17296:18;;:::i;:::-;-1:-1:-1;;;17332:18:1;;17220:136::o;17361:380::-;17440:1;17436:12;;;;17483;;;17504:61;;17558:4;17550:6;17546:17;17536:27;;17504:61;17611:2;17603:6;17600:14;17580:18;17577:38;17574:161;;;17657:10;17652:3;17648:20;17645:1;17638:31;17692:4;17689:1;17682:15;17720:4;17717:1;17710:15;17574:161;;17361:380;;;:::o;17746:127::-;17807:10;17802:3;17798:20;17795:1;17788:31;17838:4;17835:1;17828:15;17862:4;17859:1;17852:15;17878:127;17939:10;17934:3;17930:20;17927:1;17920:31;17970:4;17967:1;17960:15;17994:4;17991:1;17984:15;18010:127;18071:10;18066:3;18062:20;18059:1;18052:31;18102:4;18099:1;18092:15;18126:4;18123:1;18116:15;18142:127;18203:10;18198:3;18194:20;18191:1;18184:31;18234:4;18231:1;18224:15;18258:4;18255:1;18248:15
Swarm Source
ipfs://d043b82e3420fe8b5c358890e7f5d56a15f0d2e1e6168f31751093ae565d618a
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.