More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,835 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 16226545 | 756 days ago | IN | 0 ETH | 0.00240539 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200448 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200448 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200431 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200401 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200448 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200431 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00175277 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00175248 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200448 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200448 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200401 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00200419 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00172168 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00172168 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00172121 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00172168 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00172186 | ||||
Withdraw | 16226287 | 756 days ago | IN | 0 ETH | 0.00172186 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FiboGame
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract FiboGame is Pausable, AccessControl { using SafeERC20 for IERC20; using ECDSA for bytes32; bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); uint256 public constant ROUND_DURATION_SECONDS = 7 * 24 * 60 * 60; // The start time of each round, expressed in seconds of the day. // West + 6h = UTC uint256 public constant ROUND_BEGIN_TIME = 6 * 60 * 60; uint256 public BASIC_REWARDS; uint256 public TICKET_PRICE; address private SIGNER; address public DEV; IERC20 public erc20; IERC20Metadata public erc20Metadata; mapping(address => uint256[]) public beginTimes; mapping(address => uint256) public nonces; event GameHook( uint256 opcode, address owner, uint256 beginTime, uint256 amount, uint256 nonce ); constructor(address _token) { erc20 = IERC20(_token); erc20Metadata = IERC20Metadata(_token); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(PAUSER_ROLE, msg.sender); SIGNER = msg.sender; DEV = msg.sender; TICKET_PRICE = 100 * 10**erc20Metadata.decimals(); BASIC_REWARDS = 10 * 10**erc20Metadata.decimals(); } function pause() public onlyRole(PAUSER_ROLE) { _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { _unpause(); } function changeDev(address _dev) public onlyRole(DEFAULT_ADMIN_ROLE) { DEV = _dev; } function changeSigner(address _signer) public onlyRole(DEFAULT_ADMIN_ROLE) { SIGNER = _signer; } function newRound() external whenNotPaused { require(msg.sender.code.length == 0, "must user call"); uint256[] storage times = beginTimes[msg.sender]; require(times.length < 20, "maximum number of game rounds reached"); if (times.length > 0) { require( (times[times.length - 1] + ROUND_DURATION_SECONDS) < block.timestamp, "current round is not over" ); } uint256 amount = 0; // new round 1 if (times.length == 0) { require( erc20.allowance(msg.sender, address(this)) >= TICKET_PRICE, "not enough approve tokens" ); erc20.safeTransferFrom(msg.sender, address(this), TICKET_PRICE); amount = TICKET_PRICE; } uint256 nroundTime = nextRoundTime(); times.push(nroundTime); uint256 nonce = nonces[msg.sender]; emit GameHook(times.length, msg.sender, nroundTime, amount, nonce); nonces[msg.sender] = (nonce + 1); } function withdraw( uint256 round1Invitations, uint256 round2Invitations, uint256 deadline, bytes calldata signature ) public payable whenNotPaused { require(msg.sender.code.length == 0, "must user call"); require(deadline >= block.timestamp, "expired"); require( round1Invitations >= 0, "round1Invitations must be greater than or equal to 0" ); require( round2Invitations >= 0, "round2Invitations must be greater than or equal to 0" ); require( round1Invitations <= 5, "round1Invitation must be less than or equal to 5" ); require( round2Invitations <= 5, "round2Invitation must be less than or equal to 5" ); uint256[] memory times = beginTimes[msg.sender]; delete beginTimes[msg.sender]; require(times.length > 0, "did not participate in the game"); require( (times[times.length - 1] + ROUND_DURATION_SECONDS) < block.timestamp, "current round is not over" ); bytes32 message = hashWithdraw( msg.sender, round1Invitations, round2Invitations, deadline ); require( message.toEthSignedMessageHash().recover(signature) == SIGNER, "invalid signature" ); uint256 totalAmount = calculate( round1Invitations, round2Invitations, times.length ); // 14% fee uint256 fee = (totalAmount * 14) / 100; uint256 amount = totalAmount - fee; uint256 nonce = nonces[msg.sender]; nonces[msg.sender] = (nonce + 1); erc20.safeTransfer(DEV, fee); erc20.safeTransfer(msg.sender, amount); emit GameHook(0, msg.sender, 0, totalAmount, nonce); } function calculate( uint256 round1Invitations, uint256 round2Invitations, uint256 rounds ) public view returns (uint256) { require(rounds > 0, "rounds must be greater than 0"); require(rounds <= 20, "rounds must be less than or equal to 20"); require( round1Invitations >= 0, "round1Invitations must be greater than or equal to 0" ); require( round2Invitations >= 0, "round2Invitations must be greater than or equal to 0" ); require( round1Invitations <= 5, "round1Invitation must be less than or equal to 5" ); require( round2Invitations <= 5, "round2Invitation must be less than or equal to 5" ); uint256 amount = 0; uint256 amountTemp = 0; uint256[] memory amounts = new uint256[](rounds); for (uint256 index = 0; index < rounds; index++) { if (index <= 1) { amounts[index] = BASIC_REWARDS + ((BASIC_REWARDS * 4) / 10) * (index == 0 ? round1Invitations : round2Invitations); amount += amounts[index]; continue; } amountTemp = (amounts[index - 2] + amounts[index - 1]); amount += amountTemp; amounts[index] = amountTemp; } return amount + TICKET_PRICE; } function nextRoundTime() public view returns (uint256) { uint256 secondsOfDay = block.timestamp % 86400; return secondsOfDay > ROUND_BEGIN_TIME ? (86400 - secondsOfDay + ROUND_BEGIN_TIME + block.timestamp) : (ROUND_BEGIN_TIME - secondsOfDay + block.timestamp); } function getBeginTimes(address _user) public view returns (uint256[] memory) { return beginTimes[_user]; } function hashWithdraw( address sender, uint256 round1Invitations, uint256 round2Invitations, uint256 deadline ) public view returns (bytes32) { uint256 nonce = nonces[sender]; return keccak256( abi.encodePacked( sender, round1Invitations, round2Invitations, nonce, deadline ) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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 Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { 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()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"opcode","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"beginTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"GameHook","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BASIC_REWARDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUND_BEGIN_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUND_DURATION_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TICKET_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"beginTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round1Invitations","type":"uint256"},{"internalType":"uint256","name":"round2Invitations","type":"uint256"},{"internalType":"uint256","name":"rounds","type":"uint256"}],"name":"calculate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_dev","type":"address"}],"name":"changeDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"changeSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"erc20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20Metadata","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getBeginTimes","outputs":[{"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":"sender","type":"address"},{"internalType":"uint256","name":"round1Invitations","type":"uint256"},{"internalType":"uint256","name":"round2Invitations","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"hashWithdraw","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextRoundTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"round1Invitations","type":"uint256"},{"internalType":"uint256","name":"round2Invitations","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004c0538038062004c058339818101604052810190620000379190620004c1565b60008060006101000a81548160ff02191690831515021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000e86000801b336200032f60201b60201c565b6200011a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200032f60201b60201c565b33600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020557600080fd5b505afa1580156200021a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002409190620004ed565b600a6200024e919062000574565b60646200025c9190620006b1565b600381905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015620002cb57600080fd5b505afa158015620002e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003069190620004ed565b600a62000314919062000574565b600a620003229190620006b1565b60028190555050620007cd565b6200034182826200042060201b60201c565b6200041c57600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003c16200048b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600081519050620004a48162000799565b92915050565b600081519050620004bb81620007b3565b92915050565b600060208284031215620004d457600080fd5b6000620004e48482850162000493565b91505092915050565b6000602082840312156200050057600080fd5b60006200051084828501620004aa565b91505092915050565b6000808291508390505b60018511156200056b578086048111156200054357620005426200075d565b5b6001851615620005535780820291505b808102905062000563856200078c565b945062000523565b94509492505050565b6000620005818262000746565b91506200058e8362000750565b9250620005bd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620005c5565b905092915050565b600082620005d75760019050620006aa565b81620005e75760009050620006aa565b81600181146200060057600281146200060b5762000641565b6001915050620006aa565b60ff84111562000620576200061f6200075d565b5b8360020a9150848211156200063a57620006396200075d565b5b50620006aa565b5060208310610133831016604e8410600b84101617156200067b5782820a9050838111156200067557620006746200075d565b5b620006aa565b6200068a848484600162000519565b92509050818404811115620006a457620006a36200075d565b5b81810290505b9392505050565b6000620006be8262000746565b9150620006cb8362000746565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200070757620007066200075d565b5b828202905092915050565b60006200071f8262000726565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b620007a48162000712565b8114620007b057600080fd5b50565b620007be8162000750565b8114620007ca57600080fd5b50565b61442880620007dd6000396000f3fe6080604052600436106101b75760003560e01c806391d14854116100ec578063c1eb5ddd1161008a578063d547741f11610064578063d547741f146105fe578063e63ab1e914610627578063e97cf88314610652578063fe55892d1461068f576101b7565b8063c1eb5ddd14610591578063c5b1d9aa146105bc578063cd82215c146105d3576101b7565b8063a8e7cf6c116100c6578063a8e7cf6c146104c3578063aad2b723146104ee578063ab04c02a14610517578063c109fb1514610554576101b7565b806391d1485414610430578063924490991461046d578063a217fddf14610498576101b7565b80634cca5e6c116101595780637ecebe00116101335780637ecebe00146103765780638456cb59146103b3578063862c97c4146103ca57806388a8c95c14610407576101b7565b80634cca5e6c146102f55780635c975abb14610320578063785e9e861461034b576101b7565b8063248a9ca311610195578063248a9ca31461024f5780632f2ff15d1461028c57806336568abe146102b55780633f4ba83a146102de576101b7565b806301ffc9a7146101bc5780630d474ed3146101f95780631a95f15f14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612cb0565b6106ab565b6040516101f091906134fb565b60405180910390f35b34801561020557600080fd5b5061020e610725565b60405161021b9190613921565b60405180910390f35b34801561023057600080fd5b5061023961078e565b6040516102469190613921565b60405180910390f35b34801561025b57600080fd5b5061027660048036038101906102719190612c4b565b610794565b6040516102839190613516565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae9190612c74565b6107b4565b005b3480156102c157600080fd5b506102dc60048036038101906102d79190612c74565b6107d5565b005b3480156102ea57600080fd5b506102f3610858565b005b34801561030157600080fd5b5061030a61088d565b6040516103179190613921565b60405180910390f35b34801561032c57600080fd5b50610335610894565b60405161034291906134fb565b60405180910390f35b34801561035757600080fd5b506103606108aa565b60405161036d9190613591565b60405180910390f35b34801561038257600080fd5b5061039d60048036038101906103989190612b5a565b6108d0565b6040516103aa9190613921565b60405180910390f35b3480156103bf57600080fd5b506103c86108e8565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612b83565b61091d565b6040516103fe9190613921565b60405180910390f35b34801561041357600080fd5b5061042e60048036038101906104299190612b5a565b61094e565b005b34801561043c57600080fd5b5061045760048036038101906104529190612c74565b6109a0565b60405161046491906134fb565b60405180910390f35b34801561047957600080fd5b50610482610a0b565b60405161048f9190613576565b60405180910390f35b3480156104a457600080fd5b506104ad610a31565b6040516104ba9190613516565b60405180910390f35b3480156104cf57600080fd5b506104d8610a38565b6040516104e59190613921565b60405180910390f35b3480156104fa57600080fd5b5061051560048036038101906105109190612b5a565b610a3e565b005b34801561052357600080fd5b5061053e60048036038101906105399190612b5a565b610a90565b60405161054b91906134d9565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190612bbf565b610b27565b6040516105889190613516565b60405180910390f35b34801561059d57600080fd5b506105a6610ba6565b6040516105b39190613435565b60405180910390f35b3480156105c857600080fd5b506105d1610bcc565b005b3480156105df57600080fd5b506105e8610fd0565b6040516105f59190613921565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190612c74565b610fd6565b005b34801561063357600080fd5b5061063c610ff7565b6040516106499190613516565b60405180910390f35b34801561065e57600080fd5b5061067960048036038101906106749190612d02565b61101b565b6040516106869190613921565b60405180910390f35b6106a960048036038101906106a49190612d51565b61143f565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061071e575061071d82611a8b565b5b9050919050565b60008062015180426107379190613cdd565b905061546081116107605742816154606107519190613ae6565b61075b9190613a05565b610788565b4261546082620151806107739190613ae6565b61077d9190613a05565b6107879190613a05565b5b91505090565b60035481565b600060016000838152602001908152602001600020600101549050919050565b6107bd82610794565b6107c681611af5565b6107d08383611b09565b505050565b6107dd611be9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461084a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610841906138e1565b60405180910390fd5b6108548282611bf1565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61088281611af5565b61088a611cd3565b50565b62093a8081565b60008060009054906101000a900460ff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60096020528060005260406000206000915090505481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61091281611af5565b61091a611d35565b50565b6008602052816000526040600020818154811061093957600080fd5b90600052602060002001600091509150505481565b6000801b61095b81611af5565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b60025481565b6000801b610a4b81611af5565b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6060600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610b1b57602002820191906000526020600020905b815481526020019060010190808311610b07575b50505050509050919050565b600080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508585858386604051602001610b8595949392919061335f565b60405160208183030381529060405280519060200120915050949350505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bd4611d97565b60003373ffffffffffffffffffffffffffffffffffffffff163b14610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590613841565b60405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506014818054905010610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf906138c1565b60405180910390fd5b600081805490501115610d69574262093a808260018480549050610cdc9190613ae6565b81548110610d13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154610d289190613a05565b10610d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5f90613661565b60405180910390fd5b5b60008082805490501415610ebf57600354600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401610dd7929190613450565b60206040518083038186803b158015610def57600080fd5b505afa158015610e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e279190612cd9565b1015610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90613901565b60405180910390fd5b610eb93330600354600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611de1909392919063ffffffff16565b60035490505b6000610ec9610725565b9050828190806001815401808255809150506001900390600052602060002001600090919091909150556000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507ff2a7058f2fa32c5a0bb4f7265a4daddf6fbd6a61a5c51053cb3f8731d4aa02e2848054905033848685604051610f7295949392919061393c565b60405180910390a1600181610f879190613a05565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b61546081565b610fdf82610794565b610fe881611af5565b610ff28383611bf1565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600080821161105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690613681565b60405180910390fd5b60148211156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906136c1565b60405180910390fd5b60008410156110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90613721565b60405180910390fd5b600083101561112b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112290613821565b60405180910390fd5b600584111561116f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611166906137c1565b60405180910390fd5b60058311156111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa906138a1565b60405180910390fd5b60008060008467ffffffffffffffff8111156111f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156112265781602001602082028036833780820191505090505b50905060005b858110156114245760018111611316576000811461124a578661124c565b875b600a600460025461125d9190613a8c565b6112679190613a5b565b6112719190613a8c565b60025461127e9190613a05565b8282815181106112b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508181815181106112fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518461130f9190613a05565b9350611411565b816001826113249190613ae6565b8151811061135b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151826002836113719190613ae6565b815181106113a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516113ba9190613a05565b925082846113c89190613a05565b935082828281518110611404577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b808061141c90613c5c565b91505061122c565b50600354836114339190613a05565b93505050509392505050565b611447611d97565b60003373ffffffffffffffffffffffffffffffffffffffff163b146114a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149890613841565b60405180910390fd5b428310156114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db90613781565b60405180910390fd5b6000851015611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90613721565b60405180910390fd5b600084101561156c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156390613821565b60405180910390fd5b60058511156115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a7906137c1565b60405180910390fd5b60058411156115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb906138a1565b60405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561167f57602002820191906000526020600020905b81548152602001906001019080831161166b575b50505050509050600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006116d19190612a54565b6000815111611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c906137e1565b60405180910390fd5b4262093a8082600184516117299190613ae6565b81518110611760577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516117729190613a05565b106117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990613661565b60405180910390fd5b60006117c033888888610b27565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661185a85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061184c84611e6a565b611e9a90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a7906136e1565b60405180910390fd5b60006118be8888855161101b565b905060006064600e836118d19190613a8c565b6118db9190613a5b565b9050600081836118eb9190613ae6565b90506000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018161193e9190613a05565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119f0600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ec19092919063ffffffff16565b611a3d3383600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ec19092919063ffffffff16565b7ff2a7058f2fa32c5a0bb4f7265a4daddf6fbd6a61a5c51053cb3f8731d4aa02e260003360008785604051611a769594939291906135ac565b60405180910390a15050505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611b0681611b01611be9565b611f47565b50565b611b1382826109a0565b611be557600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b8a611be9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b611bfb82826109a0565b15611ccf5760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c74611be9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611cdb611fe4565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d1e611be9565b604051611d2b9190613435565b60405180910390a1565b611d3d611d97565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d80611be9565b604051611d8d9190613435565b60405180910390a1565b611d9f610894565b15611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd6906137a1565b60405180910390fd5b565b611e64846323b872dd60e01b858585604051602401611e0293929190613479565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061202d565b50505050565b600081604051602001611e7d91906133d5565b604051602081830303815290604052805190602001209050919050565b6000806000611ea985856120f4565b91509150611eb681612146565b819250505092915050565b611f428363a9059cbb60e01b8484604051602401611ee09291906134b0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061202d565b505050565b611f5182826109a0565b611fe057611f768173ffffffffffffffffffffffffffffffffffffffff166014612497565b611f848360001c6020612497565b604051602001611f959291906133fb565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd791906135ff565b60405180910390fd5b5050565b611fec610894565b61202b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612022906136a1565b60405180910390fd5b565b600061208f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127919092919063ffffffff16565b90506000815111156120ef57808060200190518101906120af9190612c22565b6120ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e590613881565b60405180910390fd5b5b505050565b6000806041835114156121365760008060006020860151925060408601519150606086015160001a905061212a878285856127a9565b9450945050505061213f565b60006002915091505b9250929050565b60006004811115612180577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156121b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156121c457612494565b600160048111156121fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612237577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613621565b60405180910390fd5b600260048111156122b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156122eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561232c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232390613701565b60405180910390fd5b60036004811115612366577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561239f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d790613741565b60405180910390fd5b600480811115612419577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612452577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248a90613801565b60405180910390fd5b5b50565b6060600060028360026124aa9190613a8c565b6124b49190613a05565b67ffffffffffffffff8111156124f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125255781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612583577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061260d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261264d9190613a8c565b6126579190613a05565b90505b6001811115612743577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106126bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106126fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061273c90613c32565b905061265a565b5060008414612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e90613641565b60405180910390fd5b8091505092915050565b60606127a084846000856128b6565b90509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156127e45760006003915091506128ad565b601b8560ff16141580156127fc5750601c8560ff1614155b1561280e5760006004915091506128ad565b6000600187878787604051600081526020016040526040516128339493929190613531565b6020604051602081039080840390855afa158015612855573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128a4576000600192509250506128ad565b80600092509250505b94509492505050565b6060824710156128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290613761565b60405180910390fd5b612904856129ca565b612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90613861565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161296c91906133be565b60006040518083038185875af1925050503d80600081146129a9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ae565b606091505b50915091506129be8282866129ed565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156129fd57829050612a4d565b600083511115612a105782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4491906135ff565b60405180910390fd5b9392505050565b5080546000825590600052602060002090810190612a729190612a75565b50565b5b80821115612a8e576000816000905550600101612a76565b5090565b600081359050612aa18161437f565b92915050565b600081519050612ab681614396565b92915050565b600081359050612acb816143ad565b92915050565b600081359050612ae0816143c4565b92915050565b60008083601f840112612af857600080fd5b8235905067ffffffffffffffff811115612b1157600080fd5b602083019150836001820283011115612b2957600080fd5b9250929050565b600081359050612b3f816143db565b92915050565b600081519050612b54816143db565b92915050565b600060208284031215612b6c57600080fd5b6000612b7a84828501612a92565b91505092915050565b60008060408385031215612b9657600080fd5b6000612ba485828601612a92565b9250506020612bb585828601612b30565b9150509250929050565b60008060008060808587031215612bd557600080fd5b6000612be387828801612a92565b9450506020612bf487828801612b30565b9350506040612c0587828801612b30565b9250506060612c1687828801612b30565b91505092959194509250565b600060208284031215612c3457600080fd5b6000612c4284828501612aa7565b91505092915050565b600060208284031215612c5d57600080fd5b6000612c6b84828501612abc565b91505092915050565b60008060408385031215612c8757600080fd5b6000612c9585828601612abc565b9250506020612ca685828601612a92565b9150509250929050565b600060208284031215612cc257600080fd5b6000612cd084828501612ad1565b91505092915050565b600060208284031215612ceb57600080fd5b6000612cf984828501612b45565b91505092915050565b600080600060608486031215612d1757600080fd5b6000612d2586828701612b30565b9350506020612d3686828701612b30565b9250506040612d4786828701612b30565b9150509250925092565b600080600080600060808688031215612d6957600080fd5b6000612d7788828901612b30565b9550506020612d8888828901612b30565b9450506040612d9988828901612b30565b935050606086013567ffffffffffffffff811115612db657600080fd5b612dc288828901612ae6565b92509250509295509295909350565b6000612ddd838361331b565b60208301905092915050565b612df281613b1a565b82525050565b612e09612e0482613b1a565b613ca5565b82525050565b6000612e1a8261399f565b612e2481856139cd565b9350612e2f8361398f565b8060005b83811015612e60578151612e478882612dd1565b9750612e52836139c0565b925050600181019050612e33565b5085935050505092915050565b612e7681613b2c565b82525050565b612e8581613b38565b82525050565b612e9c612e9782613b38565b613cb7565b82525050565b6000612ead826139aa565b612eb781856139de565b9350612ec7818560208601613bff565b80840191505092915050565b612edc81613ba5565b82525050565b612eeb81613bc9565b82525050565b612efa81613bed565b82525050565b6000612f0b826139b5565b612f1581856139e9565b9350612f25818560208601613bff565b612f2e81613d6c565b840191505092915050565b6000612f44826139b5565b612f4e81856139fa565b9350612f5e818560208601613bff565b80840191505092915050565b6000612f776018836139e9565b9150612f8282613d8a565b602082019050919050565b6000612f9a6020836139e9565b9150612fa582613db3565b602082019050919050565b6000612fbd6019836139e9565b9150612fc882613ddc565b602082019050919050565b6000612fe0601d836139e9565b9150612feb82613e05565b602082019050919050565b60006130036014836139e9565b915061300e82613e2e565b602082019050919050565b60006130266027836139e9565b915061303182613e57565b604082019050919050565b60006130496011836139e9565b915061305482613ea6565b602082019050919050565b600061306c601f836139e9565b915061307782613ecf565b602082019050919050565b600061308f601c836139fa565b915061309a82613ef8565b601c82019050919050565b60006130b26034836139e9565b91506130bd82613f21565b604082019050919050565b60006130d56022836139e9565b91506130e082613f70565b604082019050919050565b60006130f86026836139e9565b915061310382613fbf565b604082019050919050565b600061311b6007836139e9565b91506131268261400e565b602082019050919050565b600061313e6010836139e9565b915061314982614037565b602082019050919050565b60006131616030836139e9565b915061316c82614060565b604082019050919050565b6000613184601f836139e9565b915061318f826140af565b602082019050919050565b60006131a76022836139e9565b91506131b2826140d8565b604082019050919050565b60006131ca6034836139e9565b91506131d582614127565b604082019050919050565b60006131ed600e836139e9565b91506131f882614176565b602082019050919050565b6000613210601d836139e9565b915061321b8261419f565b602082019050919050565b60006132336017836139fa565b915061323e826141c8565b601782019050919050565b6000613256602a836139e9565b9150613261826141f1565b604082019050919050565b60006132796030836139e9565b915061328482614240565b604082019050919050565b600061329c6025836139e9565b91506132a78261428f565b604082019050919050565b60006132bf6011836139fa565b91506132ca826142de565b601182019050919050565b60006132e2602f836139e9565b91506132ed82614307565b604082019050919050565b60006133056019836139e9565b915061331082614356565b602082019050919050565b61332481613b8e565b82525050565b61333381613b8e565b82525050565b61334a61334582613b8e565b613cd3565b82525050565b61335981613b98565b82525050565b600061336b8288612df8565b60148201915061337b8287613339565b60208201915061338b8286613339565b60208201915061339b8285613339565b6020820191506133ab8284613339565b6020820191508190509695505050505050565b60006133ca8284612ea2565b915081905092915050565b60006133e082613082565b91506133ec8284612e8b565b60208201915081905092915050565b600061340682613226565b91506134128285612f39565b915061341d826132b2565b91506134298284612f39565b91508190509392505050565b600060208201905061344a6000830184612de9565b92915050565b60006040820190506134656000830185612de9565b6134726020830184612de9565b9392505050565b600060608201905061348e6000830186612de9565b61349b6020830185612de9565b6134a8604083018461332a565b949350505050565b60006040820190506134c56000830185612de9565b6134d2602083018461332a565b9392505050565b600060208201905081810360008301526134f38184612e0f565b905092915050565b60006020820190506135106000830184612e6d565b92915050565b600060208201905061352b6000830184612e7c565b92915050565b60006080820190506135466000830187612e7c565b6135536020830186613350565b6135606040830185612e7c565b61356d6060830184612e7c565b95945050505050565b600060208201905061358b6000830184612ed3565b92915050565b60006020820190506135a66000830184612ee2565b92915050565b600060a0820190506135c16000830188612ef1565b6135ce6020830187612de9565b6135db6040830186612ef1565b6135e8606083018561332a565b6135f5608083018461332a565b9695505050505050565b600060208201905081810360008301526136198184612f00565b905092915050565b6000602082019050818103600083015261363a81612f6a565b9050919050565b6000602082019050818103600083015261365a81612f8d565b9050919050565b6000602082019050818103600083015261367a81612fb0565b9050919050565b6000602082019050818103600083015261369a81612fd3565b9050919050565b600060208201905081810360008301526136ba81612ff6565b9050919050565b600060208201905081810360008301526136da81613019565b9050919050565b600060208201905081810360008301526136fa8161303c565b9050919050565b6000602082019050818103600083015261371a8161305f565b9050919050565b6000602082019050818103600083015261373a816130a5565b9050919050565b6000602082019050818103600083015261375a816130c8565b9050919050565b6000602082019050818103600083015261377a816130eb565b9050919050565b6000602082019050818103600083015261379a8161310e565b9050919050565b600060208201905081810360008301526137ba81613131565b9050919050565b600060208201905081810360008301526137da81613154565b9050919050565b600060208201905081810360008301526137fa81613177565b9050919050565b6000602082019050818103600083015261381a8161319a565b9050919050565b6000602082019050818103600083015261383a816131bd565b9050919050565b6000602082019050818103600083015261385a816131e0565b9050919050565b6000602082019050818103600083015261387a81613203565b9050919050565b6000602082019050818103600083015261389a81613249565b9050919050565b600060208201905081810360008301526138ba8161326c565b9050919050565b600060208201905081810360008301526138da8161328f565b9050919050565b600060208201905081810360008301526138fa816132d5565b9050919050565b6000602082019050818103600083015261391a816132f8565b9050919050565b6000602082019050613936600083018461332a565b92915050565b600060a082019050613951600083018861332a565b61395e6020830187612de9565b61396b604083018661332a565b613978606083018561332a565b613985608083018461332a565b9695505050505050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a1082613b8e565b9150613a1b83613b8e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a5057613a4f613d0e565b5b828201905092915050565b6000613a6682613b8e565b9150613a7183613b8e565b925082613a8157613a80613d3d565b5b828204905092915050565b6000613a9782613b8e565b9150613aa283613b8e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613adb57613ada613d0e565b5b828202905092915050565b6000613af182613b8e565b9150613afc83613b8e565b925082821015613b0f57613b0e613d0e565b5b828203905092915050565b6000613b2582613b6e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613bb082613bb7565b9050919050565b6000613bc282613b6e565b9050919050565b6000613bd482613bdb565b9050919050565b6000613be682613b6e565b9050919050565b6000613bf882613b8e565b9050919050565b60005b83811015613c1d578082015181840152602081019050613c02565b83811115613c2c576000848401525b50505050565b6000613c3d82613b8e565b91506000821415613c5157613c50613d0e565b5b600182039050919050565b6000613c6782613b8e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c9a57613c99613d0e565b5b600182019050919050565b6000613cb082613cc1565b9050919050565b6000819050919050565b6000613ccc82613d7d565b9050919050565b6000819050919050565b6000613ce882613b8e565b9150613cf383613b8e565b925082613d0357613d02613d3d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f63757272656e7420726f756e64206973206e6f74206f76657200000000000000600082015250565b7f726f756e6473206d7573742062652067726561746572207468616e2030000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f726f756e6473206d757374206265206c657373207468616e206f72206571756160008201527f6c20746f20323000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f726f756e6431496e7669746174696f6e73206d7573742062652067726561746560008201527f72207468616e206f7220657175616c20746f2030000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f6578706972656400000000000000000000000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f726f756e6431496e7669746174696f6e206d757374206265206c65737320746860008201527f616e206f7220657175616c20746f203500000000000000000000000000000000602082015250565b7f646964206e6f7420706172746963697061746520696e207468652067616d6500600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f726f756e6432496e7669746174696f6e73206d7573742062652067726561746560008201527f72207468616e206f7220657175616c20746f2030000000000000000000000000602082015250565b7f6d75737420757365722063616c6c000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f726f756e6432496e7669746174696f6e206d757374206265206c65737320746860008201527f616e206f7220657175616c20746f203500000000000000000000000000000000602082015250565b7f6d6178696d756d206e756d626572206f662067616d6520726f756e647320726560008201527f6163686564000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f6e6f7420656e6f75676820617070726f766520746f6b656e7300000000000000600082015250565b61438881613b1a565b811461439357600080fd5b50565b61439f81613b2c565b81146143aa57600080fd5b50565b6143b681613b38565b81146143c157600080fd5b50565b6143cd81613b42565b81146143d857600080fd5b50565b6143e481613b8e565b81146143ef57600080fd5b5056fea2646970667358221220f904b2a79600ba02cda37283cc4732744bbaedec853c5a5988a4dfb37195f11764736f6c63430008040033000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Deployed Bytecode
0x6080604052600436106101b75760003560e01c806391d14854116100ec578063c1eb5ddd1161008a578063d547741f11610064578063d547741f146105fe578063e63ab1e914610627578063e97cf88314610652578063fe55892d1461068f576101b7565b8063c1eb5ddd14610591578063c5b1d9aa146105bc578063cd82215c146105d3576101b7565b8063a8e7cf6c116100c6578063a8e7cf6c146104c3578063aad2b723146104ee578063ab04c02a14610517578063c109fb1514610554576101b7565b806391d1485414610430578063924490991461046d578063a217fddf14610498576101b7565b80634cca5e6c116101595780637ecebe00116101335780637ecebe00146103765780638456cb59146103b3578063862c97c4146103ca57806388a8c95c14610407576101b7565b80634cca5e6c146102f55780635c975abb14610320578063785e9e861461034b576101b7565b8063248a9ca311610195578063248a9ca31461024f5780632f2ff15d1461028c57806336568abe146102b55780633f4ba83a146102de576101b7565b806301ffc9a7146101bc5780630d474ed3146101f95780631a95f15f14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612cb0565b6106ab565b6040516101f091906134fb565b60405180910390f35b34801561020557600080fd5b5061020e610725565b60405161021b9190613921565b60405180910390f35b34801561023057600080fd5b5061023961078e565b6040516102469190613921565b60405180910390f35b34801561025b57600080fd5b5061027660048036038101906102719190612c4b565b610794565b6040516102839190613516565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae9190612c74565b6107b4565b005b3480156102c157600080fd5b506102dc60048036038101906102d79190612c74565b6107d5565b005b3480156102ea57600080fd5b506102f3610858565b005b34801561030157600080fd5b5061030a61088d565b6040516103179190613921565b60405180910390f35b34801561032c57600080fd5b50610335610894565b60405161034291906134fb565b60405180910390f35b34801561035757600080fd5b506103606108aa565b60405161036d9190613591565b60405180910390f35b34801561038257600080fd5b5061039d60048036038101906103989190612b5a565b6108d0565b6040516103aa9190613921565b60405180910390f35b3480156103bf57600080fd5b506103c86108e8565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612b83565b61091d565b6040516103fe9190613921565b60405180910390f35b34801561041357600080fd5b5061042e60048036038101906104299190612b5a565b61094e565b005b34801561043c57600080fd5b5061045760048036038101906104529190612c74565b6109a0565b60405161046491906134fb565b60405180910390f35b34801561047957600080fd5b50610482610a0b565b60405161048f9190613576565b60405180910390f35b3480156104a457600080fd5b506104ad610a31565b6040516104ba9190613516565b60405180910390f35b3480156104cf57600080fd5b506104d8610a38565b6040516104e59190613921565b60405180910390f35b3480156104fa57600080fd5b5061051560048036038101906105109190612b5a565b610a3e565b005b34801561052357600080fd5b5061053e60048036038101906105399190612b5a565b610a90565b60405161054b91906134d9565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190612bbf565b610b27565b6040516105889190613516565b60405180910390f35b34801561059d57600080fd5b506105a6610ba6565b6040516105b39190613435565b60405180910390f35b3480156105c857600080fd5b506105d1610bcc565b005b3480156105df57600080fd5b506105e8610fd0565b6040516105f59190613921565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190612c74565b610fd6565b005b34801561063357600080fd5b5061063c610ff7565b6040516106499190613516565b60405180910390f35b34801561065e57600080fd5b5061067960048036038101906106749190612d02565b61101b565b6040516106869190613921565b60405180910390f35b6106a960048036038101906106a49190612d51565b61143f565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061071e575061071d82611a8b565b5b9050919050565b60008062015180426107379190613cdd565b905061546081116107605742816154606107519190613ae6565b61075b9190613a05565b610788565b4261546082620151806107739190613ae6565b61077d9190613a05565b6107879190613a05565b5b91505090565b60035481565b600060016000838152602001908152602001600020600101549050919050565b6107bd82610794565b6107c681611af5565b6107d08383611b09565b505050565b6107dd611be9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461084a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610841906138e1565b60405180910390fd5b6108548282611bf1565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61088281611af5565b61088a611cd3565b50565b62093a8081565b60008060009054906101000a900460ff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60096020528060005260406000206000915090505481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61091281611af5565b61091a611d35565b50565b6008602052816000526040600020818154811061093957600080fd5b90600052602060002001600091509150505481565b6000801b61095b81611af5565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b60025481565b6000801b610a4b81611af5565b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6060600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610b1b57602002820191906000526020600020905b815481526020019060010190808311610b07575b50505050509050919050565b600080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508585858386604051602001610b8595949392919061335f565b60405160208183030381529060405280519060200120915050949350505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bd4611d97565b60003373ffffffffffffffffffffffffffffffffffffffff163b14610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590613841565b60405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506014818054905010610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf906138c1565b60405180910390fd5b600081805490501115610d69574262093a808260018480549050610cdc9190613ae6565b81548110610d13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154610d289190613a05565b10610d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5f90613661565b60405180910390fd5b5b60008082805490501415610ebf57600354600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401610dd7929190613450565b60206040518083038186803b158015610def57600080fd5b505afa158015610e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e279190612cd9565b1015610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90613901565b60405180910390fd5b610eb93330600354600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611de1909392919063ffffffff16565b60035490505b6000610ec9610725565b9050828190806001815401808255809150506001900390600052602060002001600090919091909150556000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507ff2a7058f2fa32c5a0bb4f7265a4daddf6fbd6a61a5c51053cb3f8731d4aa02e2848054905033848685604051610f7295949392919061393c565b60405180910390a1600181610f879190613a05565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b61546081565b610fdf82610794565b610fe881611af5565b610ff28383611bf1565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b600080821161105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690613681565b60405180910390fd5b60148211156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906136c1565b60405180910390fd5b60008410156110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90613721565b60405180910390fd5b600083101561112b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112290613821565b60405180910390fd5b600584111561116f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611166906137c1565b60405180910390fd5b60058311156111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa906138a1565b60405180910390fd5b60008060008467ffffffffffffffff8111156111f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156112265781602001602082028036833780820191505090505b50905060005b858110156114245760018111611316576000811461124a578661124c565b875b600a600460025461125d9190613a8c565b6112679190613a5b565b6112719190613a8c565b60025461127e9190613a05565b8282815181106112b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508181815181106112fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518461130f9190613a05565b9350611411565b816001826113249190613ae6565b8151811061135b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151826002836113719190613ae6565b815181106113a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516113ba9190613a05565b925082846113c89190613a05565b935082828281518110611404577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b808061141c90613c5c565b91505061122c565b50600354836114339190613a05565b93505050509392505050565b611447611d97565b60003373ffffffffffffffffffffffffffffffffffffffff163b146114a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149890613841565b60405180910390fd5b428310156114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db90613781565b60405180910390fd5b6000851015611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90613721565b60405180910390fd5b600084101561156c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156390613821565b60405180910390fd5b60058511156115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a7906137c1565b60405180910390fd5b60058411156115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb906138a1565b60405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561167f57602002820191906000526020600020905b81548152602001906001019080831161166b575b50505050509050600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006116d19190612a54565b6000815111611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c906137e1565b60405180910390fd5b4262093a8082600184516117299190613ae6565b81518110611760577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516117729190613a05565b106117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990613661565b60405180910390fd5b60006117c033888888610b27565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661185a85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061184c84611e6a565b611e9a90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a7906136e1565b60405180910390fd5b60006118be8888855161101b565b905060006064600e836118d19190613a8c565b6118db9190613a5b565b9050600081836118eb9190613ae6565b90506000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018161193e9190613a05565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119f0600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ec19092919063ffffffff16565b611a3d3383600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ec19092919063ffffffff16565b7ff2a7058f2fa32c5a0bb4f7265a4daddf6fbd6a61a5c51053cb3f8731d4aa02e260003360008785604051611a769594939291906135ac565b60405180910390a15050505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611b0681611b01611be9565b611f47565b50565b611b1382826109a0565b611be557600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b8a611be9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b611bfb82826109a0565b15611ccf5760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c74611be9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611cdb611fe4565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d1e611be9565b604051611d2b9190613435565b60405180910390a1565b611d3d611d97565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d80611be9565b604051611d8d9190613435565b60405180910390a1565b611d9f610894565b15611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd6906137a1565b60405180910390fd5b565b611e64846323b872dd60e01b858585604051602401611e0293929190613479565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061202d565b50505050565b600081604051602001611e7d91906133d5565b604051602081830303815290604052805190602001209050919050565b6000806000611ea985856120f4565b91509150611eb681612146565b819250505092915050565b611f428363a9059cbb60e01b8484604051602401611ee09291906134b0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061202d565b505050565b611f5182826109a0565b611fe057611f768173ffffffffffffffffffffffffffffffffffffffff166014612497565b611f848360001c6020612497565b604051602001611f959291906133fb565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd791906135ff565b60405180910390fd5b5050565b611fec610894565b61202b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612022906136a1565b60405180910390fd5b565b600061208f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127919092919063ffffffff16565b90506000815111156120ef57808060200190518101906120af9190612c22565b6120ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e590613881565b60405180910390fd5b5b505050565b6000806041835114156121365760008060006020860151925060408601519150606086015160001a905061212a878285856127a9565b9450945050505061213f565b60006002915091505b9250929050565b60006004811115612180577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156121b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156121c457612494565b600160048111156121fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612237577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613621565b60405180910390fd5b600260048111156122b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156122eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561232c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232390613701565b60405180910390fd5b60036004811115612366577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561239f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d790613741565b60405180910390fd5b600480811115612419577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612452577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248a90613801565b60405180910390fd5b5b50565b6060600060028360026124aa9190613a8c565b6124b49190613a05565b67ffffffffffffffff8111156124f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125255781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612583577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061260d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261264d9190613a8c565b6126579190613a05565b90505b6001811115612743577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106126bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106126fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061273c90613c32565b905061265a565b5060008414612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e90613641565b60405180910390fd5b8091505092915050565b60606127a084846000856128b6565b90509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156127e45760006003915091506128ad565b601b8560ff16141580156127fc5750601c8560ff1614155b1561280e5760006004915091506128ad565b6000600187878787604051600081526020016040526040516128339493929190613531565b6020604051602081039080840390855afa158015612855573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128a4576000600192509250506128ad565b80600092509250505b94509492505050565b6060824710156128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290613761565b60405180910390fd5b612904856129ca565b612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90613861565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161296c91906133be565b60006040518083038185875af1925050503d80600081146129a9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ae565b606091505b50915091506129be8282866129ed565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156129fd57829050612a4d565b600083511115612a105782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4491906135ff565b60405180910390fd5b9392505050565b5080546000825590600052602060002090810190612a729190612a75565b50565b5b80821115612a8e576000816000905550600101612a76565b5090565b600081359050612aa18161437f565b92915050565b600081519050612ab681614396565b92915050565b600081359050612acb816143ad565b92915050565b600081359050612ae0816143c4565b92915050565b60008083601f840112612af857600080fd5b8235905067ffffffffffffffff811115612b1157600080fd5b602083019150836001820283011115612b2957600080fd5b9250929050565b600081359050612b3f816143db565b92915050565b600081519050612b54816143db565b92915050565b600060208284031215612b6c57600080fd5b6000612b7a84828501612a92565b91505092915050565b60008060408385031215612b9657600080fd5b6000612ba485828601612a92565b9250506020612bb585828601612b30565b9150509250929050565b60008060008060808587031215612bd557600080fd5b6000612be387828801612a92565b9450506020612bf487828801612b30565b9350506040612c0587828801612b30565b9250506060612c1687828801612b30565b91505092959194509250565b600060208284031215612c3457600080fd5b6000612c4284828501612aa7565b91505092915050565b600060208284031215612c5d57600080fd5b6000612c6b84828501612abc565b91505092915050565b60008060408385031215612c8757600080fd5b6000612c9585828601612abc565b9250506020612ca685828601612a92565b9150509250929050565b600060208284031215612cc257600080fd5b6000612cd084828501612ad1565b91505092915050565b600060208284031215612ceb57600080fd5b6000612cf984828501612b45565b91505092915050565b600080600060608486031215612d1757600080fd5b6000612d2586828701612b30565b9350506020612d3686828701612b30565b9250506040612d4786828701612b30565b9150509250925092565b600080600080600060808688031215612d6957600080fd5b6000612d7788828901612b30565b9550506020612d8888828901612b30565b9450506040612d9988828901612b30565b935050606086013567ffffffffffffffff811115612db657600080fd5b612dc288828901612ae6565b92509250509295509295909350565b6000612ddd838361331b565b60208301905092915050565b612df281613b1a565b82525050565b612e09612e0482613b1a565b613ca5565b82525050565b6000612e1a8261399f565b612e2481856139cd565b9350612e2f8361398f565b8060005b83811015612e60578151612e478882612dd1565b9750612e52836139c0565b925050600181019050612e33565b5085935050505092915050565b612e7681613b2c565b82525050565b612e8581613b38565b82525050565b612e9c612e9782613b38565b613cb7565b82525050565b6000612ead826139aa565b612eb781856139de565b9350612ec7818560208601613bff565b80840191505092915050565b612edc81613ba5565b82525050565b612eeb81613bc9565b82525050565b612efa81613bed565b82525050565b6000612f0b826139b5565b612f1581856139e9565b9350612f25818560208601613bff565b612f2e81613d6c565b840191505092915050565b6000612f44826139b5565b612f4e81856139fa565b9350612f5e818560208601613bff565b80840191505092915050565b6000612f776018836139e9565b9150612f8282613d8a565b602082019050919050565b6000612f9a6020836139e9565b9150612fa582613db3565b602082019050919050565b6000612fbd6019836139e9565b9150612fc882613ddc565b602082019050919050565b6000612fe0601d836139e9565b9150612feb82613e05565b602082019050919050565b60006130036014836139e9565b915061300e82613e2e565b602082019050919050565b60006130266027836139e9565b915061303182613e57565b604082019050919050565b60006130496011836139e9565b915061305482613ea6565b602082019050919050565b600061306c601f836139e9565b915061307782613ecf565b602082019050919050565b600061308f601c836139fa565b915061309a82613ef8565b601c82019050919050565b60006130b26034836139e9565b91506130bd82613f21565b604082019050919050565b60006130d56022836139e9565b91506130e082613f70565b604082019050919050565b60006130f86026836139e9565b915061310382613fbf565b604082019050919050565b600061311b6007836139e9565b91506131268261400e565b602082019050919050565b600061313e6010836139e9565b915061314982614037565b602082019050919050565b60006131616030836139e9565b915061316c82614060565b604082019050919050565b6000613184601f836139e9565b915061318f826140af565b602082019050919050565b60006131a76022836139e9565b91506131b2826140d8565b604082019050919050565b60006131ca6034836139e9565b91506131d582614127565b604082019050919050565b60006131ed600e836139e9565b91506131f882614176565b602082019050919050565b6000613210601d836139e9565b915061321b8261419f565b602082019050919050565b60006132336017836139fa565b915061323e826141c8565b601782019050919050565b6000613256602a836139e9565b9150613261826141f1565b604082019050919050565b60006132796030836139e9565b915061328482614240565b604082019050919050565b600061329c6025836139e9565b91506132a78261428f565b604082019050919050565b60006132bf6011836139fa565b91506132ca826142de565b601182019050919050565b60006132e2602f836139e9565b91506132ed82614307565b604082019050919050565b60006133056019836139e9565b915061331082614356565b602082019050919050565b61332481613b8e565b82525050565b61333381613b8e565b82525050565b61334a61334582613b8e565b613cd3565b82525050565b61335981613b98565b82525050565b600061336b8288612df8565b60148201915061337b8287613339565b60208201915061338b8286613339565b60208201915061339b8285613339565b6020820191506133ab8284613339565b6020820191508190509695505050505050565b60006133ca8284612ea2565b915081905092915050565b60006133e082613082565b91506133ec8284612e8b565b60208201915081905092915050565b600061340682613226565b91506134128285612f39565b915061341d826132b2565b91506134298284612f39565b91508190509392505050565b600060208201905061344a6000830184612de9565b92915050565b60006040820190506134656000830185612de9565b6134726020830184612de9565b9392505050565b600060608201905061348e6000830186612de9565b61349b6020830185612de9565b6134a8604083018461332a565b949350505050565b60006040820190506134c56000830185612de9565b6134d2602083018461332a565b9392505050565b600060208201905081810360008301526134f38184612e0f565b905092915050565b60006020820190506135106000830184612e6d565b92915050565b600060208201905061352b6000830184612e7c565b92915050565b60006080820190506135466000830187612e7c565b6135536020830186613350565b6135606040830185612e7c565b61356d6060830184612e7c565b95945050505050565b600060208201905061358b6000830184612ed3565b92915050565b60006020820190506135a66000830184612ee2565b92915050565b600060a0820190506135c16000830188612ef1565b6135ce6020830187612de9565b6135db6040830186612ef1565b6135e8606083018561332a565b6135f5608083018461332a565b9695505050505050565b600060208201905081810360008301526136198184612f00565b905092915050565b6000602082019050818103600083015261363a81612f6a565b9050919050565b6000602082019050818103600083015261365a81612f8d565b9050919050565b6000602082019050818103600083015261367a81612fb0565b9050919050565b6000602082019050818103600083015261369a81612fd3565b9050919050565b600060208201905081810360008301526136ba81612ff6565b9050919050565b600060208201905081810360008301526136da81613019565b9050919050565b600060208201905081810360008301526136fa8161303c565b9050919050565b6000602082019050818103600083015261371a8161305f565b9050919050565b6000602082019050818103600083015261373a816130a5565b9050919050565b6000602082019050818103600083015261375a816130c8565b9050919050565b6000602082019050818103600083015261377a816130eb565b9050919050565b6000602082019050818103600083015261379a8161310e565b9050919050565b600060208201905081810360008301526137ba81613131565b9050919050565b600060208201905081810360008301526137da81613154565b9050919050565b600060208201905081810360008301526137fa81613177565b9050919050565b6000602082019050818103600083015261381a8161319a565b9050919050565b6000602082019050818103600083015261383a816131bd565b9050919050565b6000602082019050818103600083015261385a816131e0565b9050919050565b6000602082019050818103600083015261387a81613203565b9050919050565b6000602082019050818103600083015261389a81613249565b9050919050565b600060208201905081810360008301526138ba8161326c565b9050919050565b600060208201905081810360008301526138da8161328f565b9050919050565b600060208201905081810360008301526138fa816132d5565b9050919050565b6000602082019050818103600083015261391a816132f8565b9050919050565b6000602082019050613936600083018461332a565b92915050565b600060a082019050613951600083018861332a565b61395e6020830187612de9565b61396b604083018661332a565b613978606083018561332a565b613985608083018461332a565b9695505050505050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a1082613b8e565b9150613a1b83613b8e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a5057613a4f613d0e565b5b828201905092915050565b6000613a6682613b8e565b9150613a7183613b8e565b925082613a8157613a80613d3d565b5b828204905092915050565b6000613a9782613b8e565b9150613aa283613b8e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613adb57613ada613d0e565b5b828202905092915050565b6000613af182613b8e565b9150613afc83613b8e565b925082821015613b0f57613b0e613d0e565b5b828203905092915050565b6000613b2582613b6e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613bb082613bb7565b9050919050565b6000613bc282613b6e565b9050919050565b6000613bd482613bdb565b9050919050565b6000613be682613b6e565b9050919050565b6000613bf882613b8e565b9050919050565b60005b83811015613c1d578082015181840152602081019050613c02565b83811115613c2c576000848401525b50505050565b6000613c3d82613b8e565b91506000821415613c5157613c50613d0e565b5b600182039050919050565b6000613c6782613b8e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c9a57613c99613d0e565b5b600182019050919050565b6000613cb082613cc1565b9050919050565b6000819050919050565b6000613ccc82613d7d565b9050919050565b6000819050919050565b6000613ce882613b8e565b9150613cf383613b8e565b925082613d0357613d02613d3d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f63757272656e7420726f756e64206973206e6f74206f76657200000000000000600082015250565b7f726f756e6473206d7573742062652067726561746572207468616e2030000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f726f756e6473206d757374206265206c657373207468616e206f72206571756160008201527f6c20746f20323000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f726f756e6431496e7669746174696f6e73206d7573742062652067726561746560008201527f72207468616e206f7220657175616c20746f2030000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f6578706972656400000000000000000000000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f726f756e6431496e7669746174696f6e206d757374206265206c65737320746860008201527f616e206f7220657175616c20746f203500000000000000000000000000000000602082015250565b7f646964206e6f7420706172746963697061746520696e207468652067616d6500600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f726f756e6432496e7669746174696f6e73206d7573742062652067726561746560008201527f72207468616e206f7220657175616c20746f2030000000000000000000000000602082015250565b7f6d75737420757365722063616c6c000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f726f756e6432496e7669746174696f6e206d757374206265206c65737320746860008201527f616e206f7220657175616c20746f203500000000000000000000000000000000602082015250565b7f6d6178696d756d206e756d626572206f662067616d6520726f756e647320726560008201527f6163686564000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f6e6f7420656e6f75676820617070726f766520746f6b656e7300000000000000600082015250565b61438881613b1a565b811461439357600080fd5b50565b61439f81613b2c565b81146143aa57600080fd5b50565b6143b681613b38565b81146143c157600080fd5b50565b6143cd81613b42565b81146143d857600080fd5b50565b6143e481613b8e565b81146143ef57600080fd5b5056fea2646970667358221220f904b2a79600ba02cda37283cc4732744bbaedec853c5a5988a4dfb37195f11764736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
-----Decoded View---------------
Arg [0] : _token (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.