More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 5,304 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18917269 | 16 days ago | IN | 0 CRO | 0.1765208 | ||||
Approve | 18807273 | 23 days ago | IN | 0 CRO | 0.1655289 | ||||
Approve | 18773270 | 25 days ago | IN | 0 CRO | 0.26485987 | ||||
Approve | 18773188 | 25 days ago | IN | 0 CRO | 0.26485987 | ||||
Approve | 18653857 | 33 days ago | IN | 0 CRO | 0.17657325 | ||||
Approve | 18264942 | 59 days ago | IN | 0 CRO | 0.1136304 | ||||
Approve | 18264941 | 59 days ago | IN | 0 CRO | 0.1136304 | ||||
Approve | 17999410 | 76 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17962862 | 79 days ago | IN | 0 CRO | 0.174816 | ||||
Approve | 17955685 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17955683 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17955681 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17955679 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17955677 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17955643 | 79 days ago | IN | 0 CRO | 0.1471368 | ||||
Approve | 17955641 | 79 days ago | IN | 0 CRO | 0.1471368 | ||||
Approve | 17955640 | 79 days ago | IN | 0 CRO | 0.1471368 | ||||
Approve | 17955638 | 79 days ago | IN | 0 CRO | 0.1471368 | ||||
Approve | 17955609 | 79 days ago | IN | 0 CRO | 0.1471368 | ||||
Approve | 17955522 | 79 days ago | IN | 0 CRO | 0.14777687 | ||||
Approve | 17954878 | 79 days ago | IN | 0 CRO | 0.1544208 | ||||
Approve | 17954877 | 79 days ago | IN | 0 CRO | 0.1544208 | ||||
Approve | 17954560 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17954560 | 79 days ago | IN | 0 CRO | 0.1515072 | ||||
Approve | 17954559 | 79 days ago | IN | 0 CRO | 0.1515072 |
Loading...
Loading
Contract Name:
Souls
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-03-02 */ // File: @openzeppelin/contracts/utils/math/SafeCast.sol // OpenZeppelin Contracts v4.4.1 (utils/math/SafeCast.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // 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); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 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)); } } // File: @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * 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. */ 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. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity <=0.8.2; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Implementation 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. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Votes.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's, * and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1. * * NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module. * * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting * power can be queried through the public accessors {getVotes} and {getPastVotes}. * * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked. * Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this * will significantly increase the base gas cost of transfers. * * _Available since v4.2._ */ abstract contract ERC20Votes is ERC20Permit { struct Checkpoint { uint32 fromBlock; uint224 votes; } bytes32 private constant _DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); mapping(address => address) private _delegates; mapping(address => Checkpoint[]) private _checkpoints; Checkpoint[] private _totalSupplyCheckpoints; /** * @dev Emitted when an account changes their delegate. */ event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /** * @dev Emitted when a token transfer or delegate change results in changes to an account's voting power. */ event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance); /** * @dev Get the `pos`-th checkpoint for `account`. */ function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) { return _checkpoints[account][pos]; } /** * @dev Get number of checkpoints for `account`. */ function numCheckpoints(address account) public view virtual returns (uint32) { return SafeCast.toUint32(_checkpoints[account].length); } /** * @dev Get the address `account` is currently delegating to. */ function delegates(address account) public view virtual returns (address) { return _delegates[account]; } /** * @dev Gets the current votes balance for `account` */ function getVotes(address account) public view returns (uint256) { uint256 pos = _checkpoints[account].length; return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes; } /** * @dev Retrieve the number of votes for `account` at the end of `blockNumber`. * * Requirements: * * - `blockNumber` must have been already mined */ function getPastVotes(address account, uint256 blockNumber) public view returns (uint256) { require(blockNumber < block.number, "ERC20Votes: block not yet mined"); return _checkpointsLookup(_checkpoints[account], blockNumber); } /** * @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances. * It is but NOT the sum of all the delegated votes! * * Requirements: * * - `blockNumber` must have been already mined */ function getPastTotalSupply(uint256 blockNumber) public view returns (uint256) { require(blockNumber < block.number, "ERC20Votes: block not yet mined"); return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber); } /** * @dev Lookup a value in a list of (sorted) checkpoints. */ function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) { // We run a binary search to look for the earliest checkpoint taken after `blockNumber`. // // During the loop, the index of the wanted checkpoint remains in the range [low-1, high). // With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant. // - If the middle checkpoint is after `blockNumber`, we look in [low, mid) // - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high) // Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not // out of bounds (in which case we're looking too far in the past and the result is 0). // Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is // past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out // the same. uint256 high = ckpts.length; uint256 low = 0; while (low < high) { uint256 mid = Math.average(low, high); if (ckpts[mid].fromBlock > blockNumber) { high = mid; } else { low = mid + 1; } } return high == 0 ? 0 : ckpts[high - 1].votes; } /** * @dev Delegate votes from the sender to `delegatee`. */ function delegate(address delegatee) public virtual { _delegate(_msgSender(), delegatee); } /** * @dev Delegates votes from signer to `delegatee` */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) public virtual { require(block.timestamp <= expiry, "ERC20Votes: signature expired"); address signer = ECDSA.recover( _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))), v, r, s ); require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce"); _delegate(signer, delegatee); } /** * @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1). */ function _maxSupply() internal view virtual returns (uint224) { return type(uint224).max; } /** * @dev Snapshots the totalSupply after it has been increased. */ function _mint(address account, uint256 amount) internal virtual override { super._mint(account, amount); require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes"); _writeCheckpoint(_totalSupplyCheckpoints, _add, amount); } /** * @dev Snapshots the totalSupply after it has been decreased. */ function _burn(address account, uint256 amount) internal virtual override { super._burn(account, amount); _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount); } /** * @dev Move voting power when tokens are transferred. * * Emits a {DelegateVotesChanged} event. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._afterTokenTransfer(from, to, amount); _moveVotingPower(delegates(from), delegates(to), amount); } /** * @dev Change delegation for `delegator` to `delegatee`. * * Emits events {DelegateChanged} and {DelegateVotesChanged}. */ function _delegate(address delegator, address delegatee) internal virtual { address currentDelegate = delegates(delegator); uint256 delegatorBalance = balanceOf(delegator); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveVotingPower(currentDelegate, delegatee, delegatorBalance); } function _moveVotingPower( address src, address dst, uint256 amount ) private { if (src != dst && amount > 0) { if (src != address(0)) { (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount); emit DelegateVotesChanged(src, oldWeight, newWeight); } if (dst != address(0)) { (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount); emit DelegateVotesChanged(dst, oldWeight, newWeight); } } } function _writeCheckpoint( Checkpoint[] storage ckpts, function(uint256, uint256) view returns (uint256) op, uint256 delta ) private returns (uint256 oldWeight, uint256 newWeight) { uint256 pos = ckpts.length; oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes; newWeight = op(oldWeight, delta); if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) { ckpts[pos - 1].votes = SafeCast.toUint224(newWeight); } else { ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)})); } } function _add(uint256 a, uint256 b) private pure returns (uint256) { return a + b; } function _subtract(uint256 a, uint256 b) private pure returns (uint256) { return a - b; } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } } // File: contracts/souls.sol pragma solidity <=0.8.2; contract Souls is ERC20, ERC20Burnable, AccessControl, ERC20Permit, ERC20Votes { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); constructor() ERC20("Souls", "SLS") ERC20Permit("Souls") { _mint(msg.sender, 1000 * 10 ** decimals()); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); } function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) { _mint(to, amount); } function decimals() public override pure returns(uint8) { return 0; } // The following functions are overrides required by Solidity. function _afterTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Votes) { super._afterTokenTransfer(from, to, amount); } function _mint(address to, uint256 amount) internal override(ERC20, ERC20Votes) { super._mint(to, amount); } function _burn(address account, uint256 amount) internal override(ERC20, ERC20Votes) { super._burn(account, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","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":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140523480156200003757600080fd5b5060405180604001604052806005815260200164536f756c7360d81b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806005815260200164536f756c7360d81b81525060405180604001604052806003815260200162534c5360e81b8152508160039080519060200190620000c3929190620008ca565b508051620000d9906004906020840190620008ca565b5050825160208085019190912083519184019190912060e08290526101008190524660a0529091507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200012f818484620001b3565b6080523060601b60c052610120525062000174935033925062000153915050600090565b6200016090600a620009ce565b6200016e906103e862000ab9565b620001fd565b6200018160003362000218565b620001ad7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000218565b62000b48565b6040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090505b9392505050565b620002148282620002bc60201b62000e661760201c565b5050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620002145760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002783390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b620002d382826200037360201b62000ef61760201c565b6001600160e01b03620002e7620004628216565b1115620003545760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084015b60405180910390fd5b6200036d600962000fdd6200046860201b178362000476565b50505050565b6001600160a01b038216620003cb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200034b565b8060026000828254620003df919062000966565b90915550506001600160a01b038216600090815260208190526040812080548392906200040e90849062000966565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a362000214600083836200065f565b60025490565b6000620001f6828462000966565b825460009081908015620004d457856200049260018362000adb565b81548110620004b157634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316620004d7565b60005b6001600160e01b03169250620004ee83858760201c565b91506000811180156200053e575043866200050b60018462000adb565b815481106200052a57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b15620005be576200055a826200067760201b62000fe91760201c565b866200056860018462000adb565b815481106200058757634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b0316021790555062000651565b856040518060400160405280620005e043620006e660201b620010561760201c565b63ffffffff16815260200162000601856200067760201b62000fe91760201c565b6001600160e01b039081169091528254600181018455600093845260209384902083519101805493909401519091166401000000000263ffffffff91821663ffffffff1990931692909217161790555b50935093915050565b505050565b6200065a8383836200074d60201b620010bb1760201c565b60006001600160e01b03821115620006e25760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016200034b565b5090565b600063ffffffff821115620006e25760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016200034b565b620007658383836200065a60201b620006ee1760201c565b6001600160a01b038381166000908152600760205260408082205485841683529120546200065a92918216911683818314801590620007a45750600081115b156200065a576001600160a01b0383161562000831576001600160a01b038316600090815260086020908152604082208291620007ee9190620008bc901b620010ed178562000476565b91509150846001600160a01b03166000805160206200317c833981519152838360405162000826929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156200065a576001600160a01b03821660009081526008602090815260408220829162000875919062000468901b62000fdd178562000476565b91509150836001600160a01b03166000805160206200317c8339815191528383604051620008ad929190918252602082015260400190565b60405180910390a25050505050565b6000620001f6828462000adb565b828054620008d89062000af5565b90600052602060002090601f016020900481019282620008fc576000855562000947565b82601f106200091757805160ff191683800117855562000947565b8280016001018555821562000947579182015b82811115620009475782518255916020019190600101906200092a565b50620006e29291505b80821115620006e2576000815560010162000950565b600082198211156200097c576200097c62000b32565b500190565b80825b6001808611620009955750620009c5565b818704821115620009aa57620009aa62000b32565b80861615620009b857918102915b9490941c93800262000984565b94509492505050565b6000620001f660001960ff851684600082620009ed57506001620001f6565b81620009fc57506000620001f6565b816001811462000a15576002811462000a205762000a54565b6001915050620001f6565b60ff84111562000a345762000a3462000b32565b6001841b91508482111562000a4d5762000a4d62000b32565b50620001f6565b5060208310610133831016604e8410600b841016171562000a8c575081810a8381111562000a865762000a8662000b32565b620001f6565b62000a9b848484600162000981565b80860482111562000ab05762000ab062000b32565b02949350505050565b600081600019048311821515161562000ad65762000ad662000b32565b500290565b60008282101562000af05762000af062000b32565b500390565b60028104600182168062000b0a57607f821691505b6020821081141562000b2c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160601c60e0516101005161012051610140516125d662000ba66000396000610c9e01526000611567015260006115b601526000611591015260006114e8015260006115120152600061153c01526125d66000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636fcfff451161011a578063a217fddf116100ad578063d505accf1161007c578063d505accf14610473578063d539139314610486578063d547741f146104ad578063dd62ed3e146104c0578063f1127ed8146104f9576101fb565b8063a217fddf14610432578063a457c2d71461043a578063a9059cbb1461044d578063c3cda52014610460576101fb565b80638e539e8c116100e95780638e539e8c146103f157806391d148541461040457806395d89b41146104175780639ab24eb01461041f576101fb565b80636fcfff451461037a57806370a08231146103a257806379cc6790146103cb5780637ecebe00146103de576101fb565b80633644e5151161019257806340c10f191161016157806340c10f19146102fd57806342966c6814610310578063587cde1e146103235780635c19a95c14610367576101fb565b80633644e515146102bc57806336568abe146102c457806339509351146102d75780633a46b1a8146102ea576101fb565b806323b872dd116101ce57806323b872dd14610262578063248a9ca3146102755780632f2ff15d14610298578063313ce567146102ad576101fb565b806301ffc9a71461020057806306fdde0314610228578063095ea7b31461023d57806318160ddd14610250575b600080fd5b61021361020e3660046123d4565b610536565b60405190151581526020015b60405180910390f35b61023061056f565b60405161021f9190612471565b61021361024b3660046122dc565b610602565b6002545b60405190815260200161021f565b610213610270366004612238565b610618565b61025461028336600461239a565b60009081526005602052604090206001015490565b6102ab6102a63660046123b2565b6106c7565b005b6040516000815260200161021f565b6102546106f3565b6102ab6102d23660046123b2565b610702565b6102136102e53660046122dc565b610780565b6102546102f83660046122dc565b6107bc565b6102ab61030b3660046122dc565b610836565b6102ab61031e36600461239a565b61086b565b61034f6103313660046121ec565b6001600160a01b039081166000908152600760205260409020541690565b6040516001600160a01b03909116815260200161021f565b6102ab6103753660046121ec565b610878565b61038d6103883660046121ec565b610882565b60405163ffffffff909116815260200161021f565b6102546103b03660046121ec565b6001600160a01b031660009081526020819052604090205490565b6102ab6103d93660046122dc565b6108a4565b6102546103ec3660046121ec565b610925565b6102546103ff36600461239a565b610943565b6102136104123660046123b2565b61099f565b6102306109ca565b61025461042d3660046121ec565b6109d9565b610254600081565b6102136104483660046122dc565b610a6e565b61021361045b3660046122dc565b610b07565b6102ab61046e366004612305565b610b14565b6102ab610481366004612273565b610c4a565b6102547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102ab6104bb3660046123b2565b610dae565b6102546104ce366004612206565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61050c61050736600461235c565b610dd4565b60408051825163ffffffff1681526020928301516001600160e01b0316928101929092520161021f565b60006001600160e01b03198216637965db0b60e01b148061056757506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606003805461057e90612555565b80601f01602080910402602001604051908101604052809291908181526020018280546105aa90612555565b80156105f75780601f106105cc576101008083540402835291602001916105f7565b820191906000526020600020905b8154815290600101906020018083116105da57829003601f168201915b505050505090505b90565b600061060f3384846110f9565b50600192915050565b600061062584848461121d565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106af5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106bc85338584036110f9565b506001949350505050565b6000828152600560205260409020600101546106e481335b6113f1565b6106ee8383611455565b505050565b60006106fd6114db565b905090565b6001600160a01b03811633146107725760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106a6565b61077c8282611606565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161060f9185906107b79086906124a4565b6110f9565b600043821061080d5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016106a6565b6001600160a01b038316600090815260086020526040902061082f908361166d565b9392505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661086181336106df565b6106ee8383611746565b6108753382611750565b50565b610875338261175a565b6001600160a01b03811660009081526008602052604081205461056790611056565b60006108b083336104ce565b90508181101561090e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016106a6565b61091b83338484036110f9565b6106ee8383611750565b6001600160a01b038116600090815260066020526040812054610567565b60004382106109945760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016106a6565b61056760098361166d565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461057e90612555565b6001600160a01b0381166000908152600860205260408120548015610a5b576001600160a01b0383166000908152600860205260409020610a1b6001836124fb565b81548110610a3957634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316610a5e565b60005b6001600160e01b03169392505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610af05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a6565b610afd33858584036110f9565b5060019392505050565b600061060f33848461121d565b83421115610b645760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e6174757265206578706972656400000060448201526064016106a6565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610bde90610bd69060a001604051602081830303815290604052805190602001206117d3565b858585611821565b9050610be981611849565b8614610c375760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e63650000000000000060448201526064016106a6565b610c41818861175a565b50505050505050565b83421115610c9a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106a6565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610cc98c611849565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d24826117d3565b90506000610d3482878787611821565b9050896001600160a01b0316816001600160a01b031614610d975760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106a6565b610da28a8a8a6110f9565b50505050505050505050565b600082815260056020526040902060010154610dca81336106df565b6106ee8383611606565b60408051808201909152600080825260208201526001600160a01b0383166000908152600860205260409020805463ffffffff8416908110610e2657634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610e708282610ef6565b6002546001600160e01b031015610ee25760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084016106a6565b610ef06009610fdd83611871565b50505050565b6001600160a01b038216610f4c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106a6565b8060026000828254610f5e91906124a4565b90915550506001600160a01b03821660009081526020819052604081208054839290610f8b9084906124a4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361077c60008383611a22565b600061082f82846124a4565b60006001600160e01b038211156110525760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016106a6565b5090565b600063ffffffff8211156110525760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016106a6565b6001600160a01b038381166000908152600760205260408082205485841683529120546106ee92918216911683611a2d565b600061082f82846124fb565b6001600160a01b03831661115b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a6565b6001600160a01b0382166111bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a6565b6001600160a01b0382166112e35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a6565b6001600160a01b0383166000908152602081905260409020548181101561135b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106a6565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113929084906124a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113de91815260200190565b60405180910390a3610ef0848484611a22565b6113fb828261099f565b61077c57611413816001600160a01b03166014611b6a565b61141e836020611b6a565b60405160200161142f9291906123fc565b60408051601f198184030181529082905262461bcd60e51b82526106a691600401612471565b61145f828261099f565b61077c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114973390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561153457507f000000000000000000000000000000000000000000000000000000000000000046145b1561156057507f00000000000000000000000000000000000000000000000000000000000000006105ff565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c090920190925280519101206105ff565b611610828261099f565b1561077c5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b8154600090815b818110156116df5760006116888284611d4c565b9050848682815481106116ab57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff1611156116cb578092506116d9565b6116d68160016124a4565b91505b50611674565b811561173157846116f16001846124fb565b8154811061170f57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316611734565b60005b6001600160e01b031695945050505050565b61077c8282610e66565b61077c8282611d67565b6001600160a01b038281166000818152600760208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610ef0828483611a2d565b60006105676117e06114db565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183287878787611d7f565b9150915061183f81611e6c565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b8254600090819080156118ca578561188a6001836124fb565b815481106118a857634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166118cd565b60005b6001600160e01b031692506118e683858763ffffffff16565b9150600081118015611932575043866119006001846124fb565b8154811061191e57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b156119a05761194082610fe9565b8661194c6001846124fb565b8154811061196a57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611a19565b8560405180604001604052806119b543611056565b63ffffffff1681526020016119c985610fe9565b6001600160e01b039081169091528254600181018455600093845260209384902083519101805493909401519091166401000000000263ffffffff91821663ffffffff1990931692909217161790555b50935093915050565b6106ee8383836110bb565b816001600160a01b0316836001600160a01b031614158015611a4f5750600081115b156106ee576001600160a01b03831615611add576001600160a01b03831660009081526008602052604081208190611a8a906110ed85611871565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611ad2929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156106ee576001600160a01b03821660009081526008602052604081208190611b1390610fdd85611871565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611b5b929190918252602082015260400190565b60405180910390a25050505050565b60606000611b798360026124dc565b611b849060026124a4565b67ffffffffffffffff811115611baa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bd4576020820181803683370190505b509050600360fc1b81600081518110611bfd57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c3a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611c5e8460026124dc565b611c699060016124a4565b90505b6001811115611cfd576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611cab57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611ccf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611cf68161253e565b9050611c6c565b50831561082f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106a6565b6000611d5b60028484186124bc565b61082f908484166124a4565b611d71828261206f565b610ef060096110ed83611871565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611db65750600090506003611e63565b8460ff16601b14158015611dce57508460ff16601c14155b15611ddf5750600090506004611e63565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e33573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e5c57600060019250925050611e63565b9150600090505b94509492505050565b6000816004811115611e8e57634e487b7160e01b600052602160045260246000fd5b1415611e9957610875565b6001816004811115611ebb57634e487b7160e01b600052602160045260246000fd5b1415611f095760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106a6565b6002816004811115611f2b57634e487b7160e01b600052602160045260246000fd5b1415611f795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106a6565b6003816004811115611f9b57634e487b7160e01b600052602160045260246000fd5b1415611ff45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106a6565b600481600481111561201657634e487b7160e01b600052602160045260246000fd5b14156108755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106a6565b6001600160a01b0382166120cf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106a6565b6001600160a01b038216600090815260208190526040902054818110156121435760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106a6565b6001600160a01b03831660009081526020819052604081208383039055600280548492906121729084906124fb565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36106ee83600084611a22565b80356001600160a01b038116811461056a57600080fd5b803560ff8116811461056a57600080fd5b6000602082840312156121fd578081fd5b61082f826121c4565b60008060408385031215612218578081fd5b612221836121c4565b915061222f602084016121c4565b90509250929050565b60008060006060848603121561224c578081fd5b612255846121c4565b9250612263602085016121c4565b9150604084013590509250925092565b600080600080600080600060e0888a03121561228d578283fd5b612296886121c4565b96506122a4602089016121c4565b955060408801359450606088013593506122c0608089016121db565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156122ee578182fd5b6122f7836121c4565b946020939093013593505050565b60008060008060008060c0878903121561231d578182fd5b612326876121c4565b95506020870135945060408701359350612342606088016121db565b92506080870135915060a087013590509295509295509295565b6000806040838503121561236e578182fd5b612377836121c4565b9150602083013563ffffffff8116811461238f578182fd5b809150509250929050565b6000602082840312156123ab578081fd5b5035919050565b600080604083850312156123c4578182fd5b8235915061222f602084016121c4565b6000602082840312156123e5578081fd5b81356001600160e01b03198116811461082f578182fd5b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351612434816017850160208801612512565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612465816028840160208801612512565b01602801949350505050565b6000602082528251806020840152612490816040850160208701612512565b601f01601f19169190910160400192915050565b600082198211156124b7576124b761258a565b500190565b6000826124d757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156124f6576124f661258a565b500290565b60008282101561250d5761250d61258a565b500390565b60005b8381101561252d578181015183820152602001612515565b83811115610ef05750506000910152565b60008161254d5761254d61258a565b506000190190565b60028104600182168061256957607f821691505b6020821081141561186b57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212202179f2c08d7222a3091fcdc9e50d696c887605d7409b9d1cfd6c1b03e439e93b64736f6c63430008020033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636fcfff451161011a578063a217fddf116100ad578063d505accf1161007c578063d505accf14610473578063d539139314610486578063d547741f146104ad578063dd62ed3e146104c0578063f1127ed8146104f9576101fb565b8063a217fddf14610432578063a457c2d71461043a578063a9059cbb1461044d578063c3cda52014610460576101fb565b80638e539e8c116100e95780638e539e8c146103f157806391d148541461040457806395d89b41146104175780639ab24eb01461041f576101fb565b80636fcfff451461037a57806370a08231146103a257806379cc6790146103cb5780637ecebe00146103de576101fb565b80633644e5151161019257806340c10f191161016157806340c10f19146102fd57806342966c6814610310578063587cde1e146103235780635c19a95c14610367576101fb565b80633644e515146102bc57806336568abe146102c457806339509351146102d75780633a46b1a8146102ea576101fb565b806323b872dd116101ce57806323b872dd14610262578063248a9ca3146102755780632f2ff15d14610298578063313ce567146102ad576101fb565b806301ffc9a71461020057806306fdde0314610228578063095ea7b31461023d57806318160ddd14610250575b600080fd5b61021361020e3660046123d4565b610536565b60405190151581526020015b60405180910390f35b61023061056f565b60405161021f9190612471565b61021361024b3660046122dc565b610602565b6002545b60405190815260200161021f565b610213610270366004612238565b610618565b61025461028336600461239a565b60009081526005602052604090206001015490565b6102ab6102a63660046123b2565b6106c7565b005b6040516000815260200161021f565b6102546106f3565b6102ab6102d23660046123b2565b610702565b6102136102e53660046122dc565b610780565b6102546102f83660046122dc565b6107bc565b6102ab61030b3660046122dc565b610836565b6102ab61031e36600461239a565b61086b565b61034f6103313660046121ec565b6001600160a01b039081166000908152600760205260409020541690565b6040516001600160a01b03909116815260200161021f565b6102ab6103753660046121ec565b610878565b61038d6103883660046121ec565b610882565b60405163ffffffff909116815260200161021f565b6102546103b03660046121ec565b6001600160a01b031660009081526020819052604090205490565b6102ab6103d93660046122dc565b6108a4565b6102546103ec3660046121ec565b610925565b6102546103ff36600461239a565b610943565b6102136104123660046123b2565b61099f565b6102306109ca565b61025461042d3660046121ec565b6109d9565b610254600081565b6102136104483660046122dc565b610a6e565b61021361045b3660046122dc565b610b07565b6102ab61046e366004612305565b610b14565b6102ab610481366004612273565b610c4a565b6102547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102ab6104bb3660046123b2565b610dae565b6102546104ce366004612206565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61050c61050736600461235c565b610dd4565b60408051825163ffffffff1681526020928301516001600160e01b0316928101929092520161021f565b60006001600160e01b03198216637965db0b60e01b148061056757506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606003805461057e90612555565b80601f01602080910402602001604051908101604052809291908181526020018280546105aa90612555565b80156105f75780601f106105cc576101008083540402835291602001916105f7565b820191906000526020600020905b8154815290600101906020018083116105da57829003601f168201915b505050505090505b90565b600061060f3384846110f9565b50600192915050565b600061062584848461121d565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106af5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106bc85338584036110f9565b506001949350505050565b6000828152600560205260409020600101546106e481335b6113f1565b6106ee8383611455565b505050565b60006106fd6114db565b905090565b6001600160a01b03811633146107725760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106a6565b61077c8282611606565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161060f9185906107b79086906124a4565b6110f9565b600043821061080d5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016106a6565b6001600160a01b038316600090815260086020526040902061082f908361166d565b9392505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661086181336106df565b6106ee8383611746565b6108753382611750565b50565b610875338261175a565b6001600160a01b03811660009081526008602052604081205461056790611056565b60006108b083336104ce565b90508181101561090e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016106a6565b61091b83338484036110f9565b6106ee8383611750565b6001600160a01b038116600090815260066020526040812054610567565b60004382106109945760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016106a6565b61056760098361166d565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461057e90612555565b6001600160a01b0381166000908152600860205260408120548015610a5b576001600160a01b0383166000908152600860205260409020610a1b6001836124fb565b81548110610a3957634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316610a5e565b60005b6001600160e01b03169392505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610af05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a6565b610afd33858584036110f9565b5060019392505050565b600061060f33848461121d565b83421115610b645760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e6174757265206578706972656400000060448201526064016106a6565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610bde90610bd69060a001604051602081830303815290604052805190602001206117d3565b858585611821565b9050610be981611849565b8614610c375760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e63650000000000000060448201526064016106a6565b610c41818861175a565b50505050505050565b83421115610c9a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106a6565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610cc98c611849565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d24826117d3565b90506000610d3482878787611821565b9050896001600160a01b0316816001600160a01b031614610d975760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106a6565b610da28a8a8a6110f9565b50505050505050505050565b600082815260056020526040902060010154610dca81336106df565b6106ee8383611606565b60408051808201909152600080825260208201526001600160a01b0383166000908152600860205260409020805463ffffffff8416908110610e2657634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610e708282610ef6565b6002546001600160e01b031015610ee25760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084016106a6565b610ef06009610fdd83611871565b50505050565b6001600160a01b038216610f4c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106a6565b8060026000828254610f5e91906124a4565b90915550506001600160a01b03821660009081526020819052604081208054839290610f8b9084906124a4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361077c60008383611a22565b600061082f82846124a4565b60006001600160e01b038211156110525760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016106a6565b5090565b600063ffffffff8211156110525760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016106a6565b6001600160a01b038381166000908152600760205260408082205485841683529120546106ee92918216911683611a2d565b600061082f82846124fb565b6001600160a01b03831661115b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a6565b6001600160a01b0382166111bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a6565b6001600160a01b0382166112e35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a6565b6001600160a01b0383166000908152602081905260409020548181101561135b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106a6565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113929084906124a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113de91815260200190565b60405180910390a3610ef0848484611a22565b6113fb828261099f565b61077c57611413816001600160a01b03166014611b6a565b61141e836020611b6a565b60405160200161142f9291906123fc565b60408051601f198184030181529082905262461bcd60e51b82526106a691600401612471565b61145f828261099f565b61077c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114973390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f0000000000000000000000005f18ee2f8f823fddf425e41f523d7a86359e2ac91614801561153457507f000000000000000000000000000000000000000000000000000000000000001946145b1561156057507f4b1c54dd4dd862822aa2c396f1309a2fb079c727f83282c2376b2144e1aee80c6105ff565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fd5c206cddc19d5b0249f7de375682cac94825187735c89b2cc585f2b74c70016828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c090920190925280519101206105ff565b611610828261099f565b1561077c5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b8154600090815b818110156116df5760006116888284611d4c565b9050848682815481106116ab57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff1611156116cb578092506116d9565b6116d68160016124a4565b91505b50611674565b811561173157846116f16001846124fb565b8154811061170f57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316611734565b60005b6001600160e01b031695945050505050565b61077c8282610e66565b61077c8282611d67565b6001600160a01b038281166000818152600760208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610ef0828483611a2d565b60006105676117e06114db565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183287878787611d7f565b9150915061183f81611e6c565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b8254600090819080156118ca578561188a6001836124fb565b815481106118a857634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166118cd565b60005b6001600160e01b031692506118e683858763ffffffff16565b9150600081118015611932575043866119006001846124fb565b8154811061191e57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b156119a05761194082610fe9565b8661194c6001846124fb565b8154811061196a57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611a19565b8560405180604001604052806119b543611056565b63ffffffff1681526020016119c985610fe9565b6001600160e01b039081169091528254600181018455600093845260209384902083519101805493909401519091166401000000000263ffffffff91821663ffffffff1990931692909217161790555b50935093915050565b6106ee8383836110bb565b816001600160a01b0316836001600160a01b031614158015611a4f5750600081115b156106ee576001600160a01b03831615611add576001600160a01b03831660009081526008602052604081208190611a8a906110ed85611871565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611ad2929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156106ee576001600160a01b03821660009081526008602052604081208190611b1390610fdd85611871565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611b5b929190918252602082015260400190565b60405180910390a25050505050565b60606000611b798360026124dc565b611b849060026124a4565b67ffffffffffffffff811115611baa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bd4576020820181803683370190505b509050600360fc1b81600081518110611bfd57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c3a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611c5e8460026124dc565b611c699060016124a4565b90505b6001811115611cfd576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611cab57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611ccf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611cf68161253e565b9050611c6c565b50831561082f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106a6565b6000611d5b60028484186124bc565b61082f908484166124a4565b611d71828261206f565b610ef060096110ed83611871565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611db65750600090506003611e63565b8460ff16601b14158015611dce57508460ff16601c14155b15611ddf5750600090506004611e63565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e33573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e5c57600060019250925050611e63565b9150600090505b94509492505050565b6000816004811115611e8e57634e487b7160e01b600052602160045260246000fd5b1415611e9957610875565b6001816004811115611ebb57634e487b7160e01b600052602160045260246000fd5b1415611f095760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106a6565b6002816004811115611f2b57634e487b7160e01b600052602160045260246000fd5b1415611f795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106a6565b6003816004811115611f9b57634e487b7160e01b600052602160045260246000fd5b1415611ff45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106a6565b600481600481111561201657634e487b7160e01b600052602160045260246000fd5b14156108755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106a6565b6001600160a01b0382166120cf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106a6565b6001600160a01b038216600090815260208190526040902054818110156121435760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106a6565b6001600160a01b03831660009081526020819052604081208383039055600280548492906121729084906124fb565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36106ee83600084611a22565b80356001600160a01b038116811461056a57600080fd5b803560ff8116811461056a57600080fd5b6000602082840312156121fd578081fd5b61082f826121c4565b60008060408385031215612218578081fd5b612221836121c4565b915061222f602084016121c4565b90509250929050565b60008060006060848603121561224c578081fd5b612255846121c4565b9250612263602085016121c4565b9150604084013590509250925092565b600080600080600080600060e0888a03121561228d578283fd5b612296886121c4565b96506122a4602089016121c4565b955060408801359450606088013593506122c0608089016121db565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156122ee578182fd5b6122f7836121c4565b946020939093013593505050565b60008060008060008060c0878903121561231d578182fd5b612326876121c4565b95506020870135945060408701359350612342606088016121db565b92506080870135915060a087013590509295509295509295565b6000806040838503121561236e578182fd5b612377836121c4565b9150602083013563ffffffff8116811461238f578182fd5b809150509250929050565b6000602082840312156123ab578081fd5b5035919050565b600080604083850312156123c4578182fd5b8235915061222f602084016121c4565b6000602082840312156123e5578081fd5b81356001600160e01b03198116811461082f578182fd5b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351612434816017850160208801612512565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612465816028840160208801612512565b01602801949350505050565b6000602082528251806020840152612490816040850160208701612512565b601f01601f19169190910160400192915050565b600082198211156124b7576124b761258a565b500190565b6000826124d757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156124f6576124f661258a565b500290565b60008282101561250d5761250d61258a565b500390565b60005b8381101561252d578181015183820152602001612515565b83811115610ef05750506000910152565b60008161254d5761254d61258a565b506000190190565b60028104600182168061256957607f821691505b6020821081141561186b57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212202179f2c08d7222a3091fcdc9e50d696c887605d7409b9d1cfd6c1b03e439e93b64736f6c63430008020033
Deployed Bytecode Sourcemap
72860:1170:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37979:204;;;;;;:::i;:::-;;:::i;:::-;;;5514:14:1;;5507:22;5489:41;;5477:2;5462:18;37979:204:0;;;;;;;;48705:100;;;:::i;:::-;;;;;;;:::i;50872:169::-;;;;;;:::i;:::-;;:::i;49825:108::-;49913:12;;49825:108;;;5687:25:1;;;5675:2;5660:18;49825:108:0;5642:76:1;51523:492:0;;;;;;:::i;:::-;;:::i;39390:123::-;;;;;;:::i;:::-;39456:7;39483:12;;;:6;:12;;;;;:22;;;;39390:123;39775:147;;;;;;:::i;:::-;;:::i;:::-;;73357:83;;;73406:5;18878:36:1;;18866:2;18851:18;73357:83:0;18833:87:1;61098:115:0;;;:::i;40823:218::-;;;;;;:::i;:::-;;:::i;52424:215::-;;;;;;:::i;:::-;;:::i;64861:251::-;;;;;;:::i;:::-;;:::i;73242:107::-;;;;;;:::i;:::-;;:::i;72003:91::-;;;;;;:::i;:::-;;:::i;64261:119::-;;;;;;:::i;:::-;-1:-1:-1;;;;;64353:19:0;;;64326:7;64353:19;;;:10;:19;;;;;;;;64261:119;;;;-1:-1:-1;;;;;5305:32:1;;;5287:51;;5275:2;5260:18;64261:119:0;5242:102:1;67300:105:0;;;;;;:::i;:::-;;:::i;64017:151::-;;;;;;:::i;:::-;;:::i;:::-;;;18713:10:1;18701:23;;;18683:42;;18671:2;18656:18;64017:151:0;18638:93:1;49996:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;50097:18:0;50070:7;50097:18;;;;;;;;;;;;49996:127;72413:368;;;;;;:::i;:::-;;:::i;60840:128::-;;;;;;:::i;:::-;;:::i;65401:242::-;;;;;;:::i;:::-;;:::i;38275:139::-;;;;;;:::i;:::-;;:::i;48924:104::-;;;:::i;64464:195::-;;;;;;:::i;:::-;;:::i;37366:49::-;;37411:4;37366:49;;53142:413;;;;;;:::i;:::-;;:::i;50336:175::-;;;;;;:::i;:::-;;:::i;67487:582::-;;;;;;:::i;:::-;;:::i;60129:645::-;;;;;;:::i;:::-;;:::i;72946:62::-;;72984:24;72946:62;;40167:149;;;;;;:::i;:::-;;:::i;50574:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;50690:18:0;;;50663:7;50690:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;50574:151;63787:150;;;;;;:::i;:::-;;:::i;:::-;;;;17977:13:1;;17992:10;17973:30;17955:49;;18064:4;18052:17;;;18046:24;-1:-1:-1;;;;;18042:50:1;18020:20;;;18013:80;;;;17928:18;63787:150:0;17910:189:1;37979:204:0;38064:4;-1:-1:-1;;;;;;38088:47:0;;-1:-1:-1;;;38088:47:0;;:87;;-1:-1:-1;;;;;;;;;;15093:40:0;;;38139:36;38081:94;;37979:204;;;;:::o;48705:100::-;48759:13;48792:5;48785:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48705:100;;:::o;50872:169::-;50955:4;50972:39;35269:10;50995:7;51004:6;50972:8;:39::i;:::-;-1:-1:-1;51029:4:0;50872:169;;;;:::o;51523:492::-;51663:4;51680:36;51690:6;51698:9;51709:6;51680:9;:36::i;:::-;-1:-1:-1;;;;;51756:19:0;;51729:24;51756:19;;;:11;:19;;;;;;;;35269:10;51756:33;;;;;;;;51808:26;;;;51800:79;;;;-1:-1:-1;;;51800:79:0;;13514:2:1;51800:79:0;;;13496:21:1;13553:2;13533:18;;;13526:30;13592:34;13572:18;;;13565:62;-1:-1:-1;;;13643:18:1;;;13636:38;13691:19;;51800:79:0;;;;;;;;;51915:57;51924:6;35269:10;51965:6;51946:16;:25;51915:8;:57::i;:::-;-1:-1:-1;52003:4:0;;51523:492;-1:-1:-1;;;;51523:492:0:o;39775:147::-;39456:7;39483:12;;;:6;:12;;;;;:22;;;37857:30;37868:4;35269:10;37874:12;37857:10;:30::i;:::-;39889:25:::1;39900:4;39906:7;39889:10;:25::i;:::-;39775:147:::0;;;:::o;61098:115::-;61158:7;61185:20;:18;:20::i;:::-;61178:27;;61098:115;:::o;40823:218::-;-1:-1:-1;;;;;40919:23:0;;35269:10;40919:23;40911:83;;;;-1:-1:-1;;;40911:83:0;;17179:2:1;40911:83:0;;;17161:21:1;17218:2;17198:18;;;17191:30;17257:34;17237:18;;;17230:62;-1:-1:-1;;;17308:18:1;;;17301:45;17363:19;;40911:83:0;17151:237:1;40911:83:0;41007:26;41019:4;41025:7;41007:11;:26::i;:::-;40823:218;;:::o;52424:215::-;35269:10;52512:4;52561:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;52561:34:0;;;;;;;;;;52512:4;;52529:80;;52552:7;;52561:47;;52598:10;;52561:47;:::i;:::-;52529:8;:80::i;64861:251::-;64942:7;64984:12;64970:11;:26;64962:70;;;;-1:-1:-1;;;64962:70:0;;9346:2:1;64962:70:0;;;9328:21:1;9385:2;9365:18;;;9358:30;9424:33;9404:18;;;9397:61;9475:18;;64962:70:0;9318:181:1;64962:70:0;-1:-1:-1;;;;;65069:21:0;;;;;;:12;:21;;;;;65050:54;;65092:11;65050:18;:54::i;:::-;65043:61;64861:251;-1:-1:-1;;;64861:251:0:o;73242:107::-;72984:24;37857:30;72984:24;35269:10;37874:12;35189:98;37857:30;73324:17:::1;73330:2;73334:6;73324:5;:17::i;72003:91::-:0;72059:27;35269:10;72079:6;72059:5;:27::i;:::-;72003:91;:::o;67300:105::-;67363:34;35269:10;67387:9;67363;:34::i;64017:151::-;-1:-1:-1;;;;;64131:21:0;;64087:6;64131:21;;;:12;:21;;;;;:28;64113:47;;:17;:47::i;72413:368::-;72490:24;72517:32;72527:7;35269:10;72536:12;35189:98;72517:32;72490:59;;72588:6;72568:16;:26;;72560:75;;;;-1:-1:-1;;;72560:75:0;;14748:2:1;72560:75:0;;;14730:21:1;14787:2;14767:18;;;14760:30;14826:34;14806:18;;;14799:62;-1:-1:-1;;;14877:18:1;;;14870:34;14921:19;;72560:75:0;14720:226:1;72560:75:0;72671:58;72680:7;35269:10;72722:6;72703:16;:25;72671:8;:58::i;:::-;72751:22;72757:7;72766:6;72751:5;:22::i;60840:128::-;-1:-1:-1;;;;;60936:14:0;;60909:7;60936:14;;;:7;:14;;;;;10336;60936:24;10244:114;65401:242;65471:7;65513:12;65499:11;:26;65491:70;;;;-1:-1:-1;;;65491:70:0;;9346:2:1;65491:70:0;;;9328:21:1;9385:2;9365:18;;;9358:30;9424:33;9404:18;;;9397:61;9475:18;;65491:70:0;9318:181:1;65491:70:0;65579:56;65598:23;65623:11;65579:18;:56::i;38275:139::-;38353:4;38377:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;38377:29:0;;;;;;;;;;;;;;;38275:139::o;48924:104::-;48980:13;49013:7;49006:14;;;;;:::i;64464:195::-;-1:-1:-1;;;;;64554:21:0;;64520:7;64554:21;;;:12;:21;;;;;:28;64600:8;;:51;;-1:-1:-1;;;;;64615:21:0;;;;;;:12;:21;;;;;64637:7;64643:1;64637:3;:7;:::i;:::-;64615:30;;;;;;-1:-1:-1;;;64615:30:0;;;;;;;;;;;;;;;;;;:36;;;;-1:-1:-1;;;;;64615:36:0;64600:51;;;64611:1;64600:51;-1:-1:-1;;;;;64593:58:0;;64464:195;-1:-1:-1;;;64464:195:0:o;53142:413::-;35269:10;53235:4;53279:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;53279:34:0;;;;;;;;;;53332:35;;;;53324:85;;;;-1:-1:-1;;;53324:85:0;;16773:2:1;53324:85:0;;;16755:21:1;16812:2;16792:18;;;16785:30;16851:34;16831:18;;;16824:62;-1:-1:-1;;;16902:18:1;;;16895:35;16947:19;;53324:85:0;16745:227:1;53324:85:0;53445:67;35269:10;53468:7;53496:15;53477:16;:34;53445:8;:67::i;:::-;-1:-1:-1;53543:4:0;;53142:413;-1:-1:-1;;;53142:413:0:o;50336:175::-;50422:4;50439:42;35269:10;50463:9;50474:6;50439:9;:42::i;67487:582::-;67705:6;67686:15;:25;;67678:67;;;;-1:-1:-1;;;67678:67:0;;9706:2:1;67678:67:0;;;9688:21:1;9745:2;9725:18;;;9718:30;9784:31;9764:18;;;9757:59;9833:18;;67678:67:0;9678:179:1;67678:67:0;67828:58;;;63038:71;67828:58;;;6550:25:1;-1:-1:-1;;;;;6611:32:1;;6591:18;;;6584:60;;;;6660:18;;;6653:34;;;6703:18;;;6696:34;;;67756:14:0;;67773:174;;67801:87;;6522:19:1;;67828:58:0;;;;;;;;;;;;67818:69;;;;;;67801:16;:87::i;:::-;67903:1;67919;67935;67773:13;:174::i;:::-;67756:191;;67975:17;67985:6;67975:9;:17::i;:::-;67966:5;:26;67958:64;;;;-1:-1:-1;;;67958:64:0;;10827:2:1;67958:64:0;;;10809:21:1;10866:2;10846:18;;;10839:30;10905:27;10885:18;;;10878:55;10950:18;;67958:64:0;10799:175:1;67958:64:0;68033:28;68043:6;68051:9;68033;:28::i;:::-;67487:582;;;;;;;:::o;60129:645::-;60373:8;60354:15;:27;;60346:69;;;;-1:-1:-1;;;60346:69:0;;11584:2:1;60346:69:0;;;11566:21:1;11623:2;11603:18;;;11596:30;11662:31;11642:18;;;11635:59;11711:18;;60346:69:0;11556:179:1;60346:69:0;60428:18;60470:16;60488:5;60495:7;60504:5;60511:16;60521:5;60511:9;:16::i;:::-;60459:79;;;;;;6010:25:1;;;;-1:-1:-1;;;;;6109:15:1;;;6089:18;;;6082:43;6161:15;;;;6141:18;;;6134:43;6193:18;;;6186:34;6236:19;;;6229:35;6280:19;;;6273:35;;;5982:19;;60459:79:0;;;;;;;;;;;;60449:90;;;;;;60428:111;;60552:12;60567:28;60584:10;60567:16;:28::i;:::-;60552:43;;60608:14;60625:28;60639:4;60645:1;60648;60651;60625:13;:28::i;:::-;60608:45;;60682:5;-1:-1:-1;;;;;60672:15:0;:6;-1:-1:-1;;;;;60672:15:0;;60664:58;;;;-1:-1:-1;;;60664:58:0;;13155:2:1;60664:58:0;;;13137:21:1;13194:2;13174:18;;;13167:30;13233:32;13213:18;;;13206:60;13283:18;;60664:58:0;13127:180:1;60664:58:0;60735:31;60744:5;60751:7;60760:5;60735:8;:31::i;:::-;60129:645;;;;;;;;;;:::o;40167:149::-;39456:7;39483:12;;;:6;:12;;;;;:22;;;37857:30;37868:4;35269:10;37874:12;35189:98;37857:30;40282:26:::1;40294:4;40300:7;40282:11;:26::i;63787:150::-:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;63903:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;-1:-1:-1;;;63903:26:0;;;;;;;;;;;;;;;;;;63896:33;;;;;;;;;63903:26;;63896:33;;;;;;;;;-1:-1:-1;;;;;63896:33:0;;;;;;;;;63787:150;-1:-1:-1;;;63787:150:0:o;68375:290::-;68460:28;68472:7;68481:6;68460:11;:28::i;:::-;49913:12;;-1:-1:-1;;;;;;68507:29:0;68499:90;;;;-1:-1:-1;;;68499:90:0;;13923:2:1;68499:90:0;;;13905:21:1;13962:2;13942:18;;;13935:30;14001:34;13981:18;;;13974:62;-1:-1:-1;;;14052:18:1;;;14045:46;14108:19;;68499:90:0;13895:238:1;68499:90:0;68602:55;68619:23;68644:4;68650:6;68602:16;:55::i;:::-;;;68375:290;;:::o;55065:399::-;-1:-1:-1;;;;;55149:21:0;;55141:65;;;;-1:-1:-1;;;55141:65:0;;17595:2:1;55141:65:0;;;17577:21:1;17634:2;17614:18;;;17607:30;17673:33;17653:18;;;17646:61;17724:18;;55141:65:0;17567:181:1;55141:65:0;55297:6;55281:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;55314:18:0;;:9;:18;;;;;;;;;;:28;;55336:6;;55314:9;:28;;55336:6;;55314:28;:::i;:::-;;;;-1:-1:-1;;55358:37:0;;5687:25:1;;;-1:-1:-1;;;;;55358:37:0;;;55375:1;;55358:37;;5675:2:1;5660:18;55358:37:0;;;;;;;55408:48;55436:1;55440:7;55449:6;55408:19;:48::i;71219:98::-;71277:7;71304:5;71308:1;71304;:5;:::i;1195:195::-;1252:7;-1:-1:-1;;;;;1280:26:0;;;1272:78;;;;-1:-1:-1;;;1272:78:0;;14340:2:1;1272:78:0;;;14322:21:1;14379:2;14359:18;;;14352:30;14418:34;14398:18;;;14391:62;-1:-1:-1;;;14469:18:1;;;14462:37;14516:19;;1272:78:0;14312:229:1;1272:78:0;-1:-1:-1;1376:5:0;1195:195::o;3165:190::-;3221:6;3257:16;3248:25;;;3240:76;;;;-1:-1:-1;;;3240:76:0;;15961:2:1;3240:76:0;;;15943:21:1;16000:2;15980:18;;;15973:30;16039:34;16019:18;;;16012:62;-1:-1:-1;;;16090:18:1;;;16083:36;16136:19;;3240:76:0;15933:228:1;69093:262:0;-1:-1:-1;;;;;64353:19:0;;;64326:7;64353:19;;;:10;:19;;;;;;;;;;;;;;;69291:56;;64353:19;;;;;69340:6;69291:16;:56::i;71325:103::-;71388:7;71415:5;71419:1;71415;:5;:::i;56826:380::-;-1:-1:-1;;;;;56962:19:0;;56954:68;;;;-1:-1:-1;;;56954:68:0;;16368:2:1;56954:68:0;;;16350:21:1;16407:2;16387:18;;;16380:30;16446:34;16426:18;;;16419:62;-1:-1:-1;;;16497:18:1;;;16490:34;16541:19;;56954:68:0;16340:226:1;56954:68:0;-1:-1:-1;;;;;57041:21:0;;57033:68;;;;-1:-1:-1;;;57033:68:0;;11181:2:1;57033:68:0;;;11163:21:1;11220:2;11200:18;;;11193:30;11259:34;11239:18;;;11232:62;-1:-1:-1;;;11310:18:1;;;11303:32;11352:19;;57033:68:0;11153:224:1;57033:68:0;-1:-1:-1;;;;;57114:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;57166:32;;5687:25:1;;;57166:32:0;;5660:18:1;57166:32:0;;;;;;;56826:380;;;:::o;54045:733::-;-1:-1:-1;;;;;54185:20:0;;54177:70;;;;-1:-1:-1;;;54177:70:0;;15555:2:1;54177:70:0;;;15537:21:1;15594:2;15574:18;;;15567:30;15633:34;15613:18;;;15606:62;-1:-1:-1;;;15684:18:1;;;15677:35;15729:19;;54177:70:0;15527:227:1;54177:70:0;-1:-1:-1;;;;;54266:23:0;;54258:71;;;;-1:-1:-1;;;54258:71:0;;8942:2:1;54258:71:0;;;8924:21:1;8981:2;8961:18;;;8954:30;9020:34;9000:18;;;8993:62;-1:-1:-1;;;9071:18:1;;;9064:33;9114:19;;54258:71:0;8914:225:1;54258:71:0;-1:-1:-1;;;;;54426:17:0;;54402:21;54426:17;;;;;;;;;;;54462:23;;;;54454:74;;;;-1:-1:-1;;;54454:74:0;;11942:2:1;54454:74:0;;;11924:21:1;11981:2;11961:18;;;11954:30;12020:34;12000:18;;;11993:62;-1:-1:-1;;;12071:18:1;;;12064:36;12117:19;;54454:74:0;11914:228:1;54454:74:0;-1:-1:-1;;;;;54564:17:0;;;:9;:17;;;;;;;;;;;54584:22;;;54564:42;;54628:20;;;;;;;;:30;;54600:6;;54564:9;54628:30;;54600:6;;54628:30;:::i;:::-;;;;;;;;54693:9;-1:-1:-1;;;;;54676:35:0;54685:6;-1:-1:-1;;;;;54676:35:0;;54704:6;54676:35;;;;5687:25:1;;5675:2;5660:18;;5642:76;54676:35:0;;;;;;;;54724:46;54744:6;54752:9;54763:6;54724:19;:46::i;38704:497::-;38785:22;38793:4;38799:7;38785;:22::i;:::-;38780:414;;38973:41;39001:7;-1:-1:-1;;;;;38973:41:0;39011:2;38973:19;:41::i;:::-;39087:38;39115:4;39122:2;39087:19;:38::i;:::-;38878:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;38878:270:0;;;;;;;;;;-1:-1:-1;;;38824:358:0;;;;;;;:::i;42324:238::-;42408:22;42416:4;42422:7;42408;:22::i;:::-;42403:152;;42447:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;42447:29:0;;;;;;;;;:36;;-1:-1:-1;;42447:36:0;42479:4;42447:36;;;42530:12;35269:10;35189:98;;42530:12;-1:-1:-1;;;;;42503:40:0;42521:7;-1:-1:-1;;;;;42503:40:0;42515:4;42503:40;;;;;;;;;;42324:238;;:::o;30068:314::-;30121:7;30153:4;-1:-1:-1;;;;;30162:12:0;30145:29;;:66;;;;;30195:16;30178:13;:33;30145:66;30141:234;;;-1:-1:-1;30235:24:0;30228:31;;30141:234;-1:-1:-1;30571:73:0;;;30321:10;30571:73;;;;7000:25:1;;;;30333:12:0;7041:18:1;;;7034:34;30347:15:0;7084:18:1;;;7077:34;30615:13:0;7127:18:1;;;7120:34;30638:4:0;7170:19:1;;;;7163:61;;;;30571:73:0;;;;;;;;;;6972:19:1;;;;30571:73:0;;;30561:84;;;;;30292:71;;42694:239;42778:22;42786:4;42792:7;42778;:22::i;:::-;42774:152;;;42849:5;42817:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;42817:29:0;;;;;;;;;;:37;;-1:-1:-1;;42817:37:0;;;42874:40;35269:10;;42817:12;;42874:40;;42849:5;42874:40;42694:239;;:::o;65732:1482::-;66865:12;;65831:7;;;66914:236;66927:4;66921:3;:10;66914:236;;;66948:11;66962:23;66975:3;66980:4;66962:12;:23::i;:::-;66948:37;;67027:11;67004:5;67010:3;67004:10;;;;;;-1:-1:-1;;;67004:10:0;;;;;;;;;;;;;;;;;;:20;;;:34;67000:139;;;67066:3;67059:10;;67000:139;;;67116:7;:3;67122:1;67116:7;:::i;:::-;67110:13;;67000:139;66914:236;;;;67169:9;;:37;;67185:5;67191:8;67198:1;67191:4;:8;:::i;:::-;67185:15;;;;;;-1:-1:-1;;;67185:15:0;;;;;;;;;;;;;;;;;;:21;;;;-1:-1:-1;;;;;67185:21:0;67169:37;;;67181:1;67169:37;-1:-1:-1;;;;;67162:44:0;;65732:1482;-1:-1:-1;;;;;65732:1482:0:o;73719:145::-;73833:23;73845:2;73849:6;73833:11;:23::i;73872:155::-;73991:28;74003:7;74012:6;73991:11;:28::i;69519:388::-;-1:-1:-1;;;;;64353:19:0;;;69604:23;64353:19;;;:10;:19;;;;;;;;;;50097:18;;;;;;;69719:21;;;;:33;;;-1:-1:-1;;;;;;69719:33:0;;;;;;;69770:54;;64353:19;;;;;50097:18;;69719:33;;64353:19;;;69770:54;;69604:23;69770:54;69837:62;69854:15;69871:9;69882:16;69837;:62::i;31295:167::-;31372:7;31399:55;31421:20;:18;:20::i;:::-;31443:10;26765:57;;-1:-1:-1;;;26765:57:0;;;4211:27:1;4254:11;;;4247:27;;;4290:12;;;4283:28;;;26728:7:0;;4327:12:1;;26765:57:0;;;;;;;;;;;;26755:68;;;;;;26748:75;;26635:196;;;;;24944:279;25072:7;25093:17;25112:18;25134:25;25145:4;25151:1;25154;25157;25134:10;:25::i;:::-;25092:67;;;;25170:18;25182:5;25170:11;:18::i;:::-;-1:-1:-1;25206:9:0;24944:279;-1:-1:-1;;;;;24944:279:0:o;61351:207::-;-1:-1:-1;;;;;61472:14:0;;61411:15;61472:14;;;:7;:14;;;;;10336;;10473:1;10455:19;;;;10336:14;61533:17;61351:207;;;;:::o;70566:645::-;70803:12;;70740:17;;;;70838:8;;:35;;70853:5;70859:7;70865:1;70859:3;:7;:::i;:::-;70853:14;;;;;;-1:-1:-1;;;70853:14:0;;;;;;;;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;70853:20:0;70838:35;;;70849:1;70838:35;-1:-1:-1;;;;;70826:47:0;;;70896:20;70899:9;70910:5;70896:2;:20;;:::i;:::-;70884:32;;70939:1;70933:3;:7;:51;;;;-1:-1:-1;70972:12:0;70944:5;70950:7;70956:1;70950:3;:7;:::i;:::-;70944:14;;;;;;-1:-1:-1;;;70944:14:0;;;;;;;;;;;;;;;;;;:24;;;:40;70933:51;70929:275;;;71024:29;71043:9;71024:18;:29::i;:::-;71001:5;71007:7;71013:1;71007:3;:7;:::i;:::-;71001:14;;;;;;-1:-1:-1;;;71001:14:0;;;;;;;;;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;71001:52:0;;;;;-1:-1:-1;;;;;71001:52:0;;;;;;70929:275;;;71086:5;71097:94;;;;;;;;71120:31;71138:12;71120:17;:31::i;:::-;71097:94;;;;;;71160:29;71179:9;71160:18;:29::i;:::-;-1:-1:-1;;;;;71097:94:0;;;;;;71086:106;;;;;;;-1:-1:-1;71086:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71086:106:0;;;;;;;;;;;70929:275;70566:645;;;;;;;:::o;73518:193::-;73660:43;73686:4;73692:2;73696:6;73660:25;:43::i;69915:643::-;70047:3;-1:-1:-1;;;;;70040:10:0;:3;-1:-1:-1;;;;;70040:10:0;;;:24;;;;;70063:1;70054:6;:10;70040:24;70036:515;;;-1:-1:-1;;;;;70085:17:0;;;70081:224;;-1:-1:-1;;;;;70181:17:0;;70124;70181;;;:12;:17;;;;;70124;;70164:54;;70200:9;70211:6;70164:16;:54::i;:::-;70123:95;;;;70263:3;-1:-1:-1;;;;;70242:47:0;;70268:9;70279;70242:47;;;;;;18460:25:1;;;18516:2;18501:18;;18494:34;18448:2;18433:18;;18415:119;70242:47:0;;;;;;;;70081:224;;;-1:-1:-1;;;;;70325:17:0;;;70321:219;;-1:-1:-1;;;;;70421:17:0;;70364;70421;;;:12;:17;;;;;70364;;70404:49;;70440:4;70446:6;70404:16;:49::i;:::-;70363:90;;;;70498:3;-1:-1:-1;;;;;70477:47:0;;70503:9;70514;70477:47;;;;;;18460:25:1;;;18516:2;18501:18;;18494:34;18448:2;18433:18;;18415:119;70477:47:0;;;;;;;;70321:219;;69915:643;;;:::o;16814:451::-;16889:13;16915:19;16947:10;16951:6;16947:1;:10;:::i;:::-;:14;;16960:1;16947:14;:::i;:::-;16937:25;;;;;;-1:-1:-1;;;16937:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16937:25:0;;16915:47;;-1:-1:-1;;;16973:6:0;16980:1;16973:9;;;;;;-1:-1:-1;;;16973:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;16973:15:0;;;;;;;;;-1:-1:-1;;;16999:6:0;17006:1;16999:9;;;;;;-1:-1:-1;;;16999:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;16999:15:0;;;;;;;;-1:-1:-1;17030:9:0;17042:10;17046:6;17042:1;:10;:::i;:::-;:14;;17055:1;17042:14;:::i;:::-;17030:26;;17025:135;17062:1;17058;:5;17025:135;;;-1:-1:-1;;;17110:5:0;17118:3;17110:11;17097:25;;;;;-1:-1:-1;;;17097:25:0;;;;;;;;;;;;17085:6;17092:1;17085:9;;;;;;-1:-1:-1;;;17085:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;17085:37:0;;;;;;;;-1:-1:-1;17147:1:0;17137:11;;;;;17065:3;;;:::i;:::-;;;17025:135;;;-1:-1:-1;17178:10:0;;17170:55;;;;-1:-1:-1;;;17170:55:0;;8581:2:1;17170:55:0;;;8563:21:1;;;8600:18;;;8593:30;8659:34;8639:18;;;8632:62;8711:18;;17170:55:0;8553:182:1;8805:156:0;8867:7;8942:11;8952:1;8943:5;;;8942:11;:::i;:::-;8932:21;;8933:5;;;8932:21;:::i;68759:194::-;68844:28;68856:7;68865:6;68844:11;:28::i;:::-;68885:60;68902:23;68927:9;68938:6;68885:16;:60::i;23173:1632::-;23304:7;;24238:66;24225:79;;24221:163;;;-1:-1:-1;24337:1:0;;-1:-1:-1;24341:30:0;24321:51;;24221:163;24398:1;:7;;24403:2;24398:7;;:18;;;;;24409:1;:7;;24414:2;24409:7;;24398:18;24394:102;;;-1:-1:-1;24449:1:0;;-1:-1:-1;24453:30:0;24433:51;;24394:102;24610:24;;;24593:14;24610:24;;;;;;;;;7462:25:1;;;7535:4;7523:17;;7503:18;;;7496:45;;;;7557:18;;;7550:34;;;7600:18;;;7593:34;;;24610:24:0;;7434:19:1;;24610:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24610:24:0;;-1:-1:-1;;24610:24:0;;;-1:-1:-1;;;;;;;24649:20:0;;24645:103;;24702:1;24706:29;24686:50;;;;;;;24645:103;24768:6;-1:-1:-1;24776:20:0;;-1:-1:-1;23173:1632:0;;;;;;;;:::o;17835:643::-;17913:20;17904:5;:29;;;;;;-1:-1:-1;;;17904:29:0;;;;;;;;;;17900:571;;;17950:7;;17900:571;18011:29;18002:5;:38;;;;;;-1:-1:-1;;;18002:38:0;;;;;;;;;;17998:473;;;18057:34;;-1:-1:-1;;;18057:34:0;;8228:2:1;18057:34:0;;;8210:21:1;8267:2;8247:18;;;8240:30;8306:26;8286:18;;;8279:54;8350:18;;18057:34:0;8200:174:1;17998:473:0;18122:35;18113:5;:44;;;;;;-1:-1:-1;;;18113:44:0;;;;;;;;;;18109:362;;;18174:41;;-1:-1:-1;;;18174:41:0;;10467:2:1;18174:41:0;;;10449:21:1;10506:2;10486:18;;;10479:30;10545:33;10525:18;;;10518:61;10596:18;;18174:41:0;10439:181:1;18109:362:0;18246:30;18237:5;:39;;;;;;-1:-1:-1;;;18237:39:0;;;;;;;;;;18233:238;;;18293:44;;-1:-1:-1;;;18293:44:0;;12349:2:1;18293:44:0;;;12331:21:1;12388:2;12368:18;;;12361:30;12427:34;12407:18;;;12400:62;-1:-1:-1;;;12478:18:1;;;12471:32;12520:19;;18293:44:0;12321:224:1;18233:238:0;18368:30;18359:5;:39;;;;;;-1:-1:-1;;;18359:39:0;;;;;;;;;;18355:116;;;18415:44;;-1:-1:-1;;;18415:44:0;;12752:2:1;18415:44:0;;;12734:21:1;12791:2;12771:18;;;12764:30;12830:34;12810:18;;;12803:62;-1:-1:-1;;;12881:18:1;;;12874:32;12923:19;;18415:44:0;12724:224:1;55797:591:0;-1:-1:-1;;;;;55881:21:0;;55873:67;;;;-1:-1:-1;;;55873:67:0;;15153:2:1;55873:67:0;;;15135:21:1;15192:2;15172:18;;;15165:30;15231:34;15211:18;;;15204:62;-1:-1:-1;;;15282:18:1;;;15275:31;15323:19;;55873:67:0;15125:223:1;55873:67:0;-1:-1:-1;;;;;56040:18:0;;56015:22;56040:18;;;;;;;;;;;56077:24;;;;56069:71;;;;-1:-1:-1;;;56069:71:0;;10064:2:1;56069:71:0;;;10046:21:1;10103:2;10083:18;;;10076:30;10142:34;10122:18;;;10115:62;-1:-1:-1;;;10193:18:1;;;10186:32;10235:19;;56069:71:0;10036:224:1;56069:71:0;-1:-1:-1;;;;;56176:18:0;;:9;:18;;;;;;;;;;56197:23;;;56176:44;;56242:12;:22;;56214:6;;56176:9;56242:22;;56214:6;;56242:22;:::i;:::-;;;;-1:-1:-1;;56282:37:0;;5687:25:1;;;56308:1:0;;-1:-1:-1;;;;;56282:37:0;;;;;5675:2:1;5660:18;56282:37:0;;;;;;;56332:48;56352:7;56369:1;56373:6;56332:19;:48::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:156;258:20;;318:4;307:16;;297:27;;287:2;;338:1;335;328:12;353:196;;465:2;453:9;444:7;440:23;436:32;433:2;;;486:6;478;471:22;433:2;514:29;533:9;514:29;:::i;554:270::-;;;683:2;671:9;662:7;658:23;654:32;651:2;;;704:6;696;689:22;651:2;732:29;751:9;732:29;:::i;:::-;722:39;;780:38;814:2;803:9;799:18;780:38;:::i;:::-;770:48;;641:183;;;;;:::o;829:338::-;;;;975:2;963:9;954:7;950:23;946:32;943:2;;;996:6;988;981:22;943:2;1024:29;1043:9;1024:29;:::i;:::-;1014:39;;1072:38;1106:2;1095:9;1091:18;1072:38;:::i;:::-;1062:48;;1157:2;1146:9;1142:18;1129:32;1119:42;;933:234;;;;;:::o;1172:616::-;;;;;;;;1384:3;1372:9;1363:7;1359:23;1355:33;1352:2;;;1406:6;1398;1391:22;1352:2;1434:29;1453:9;1434:29;:::i;:::-;1424:39;;1482:38;1516:2;1505:9;1501:18;1482:38;:::i;:::-;1472:48;;1567:2;1556:9;1552:18;1539:32;1529:42;;1618:2;1607:9;1603:18;1590:32;1580:42;;1641:37;1673:3;1662:9;1658:19;1641:37;:::i;:::-;1631:47;;1725:3;1714:9;1710:19;1697:33;1687:43;;1777:3;1766:9;1762:19;1749:33;1739:43;;1342:446;;;;;;;;;;:::o;1793:264::-;;;1922:2;1910:9;1901:7;1897:23;1893:32;1890:2;;;1943:6;1935;1928:22;1890:2;1971:29;1990:9;1971:29;:::i;:::-;1961:39;2047:2;2032:18;;;;2019:32;;-1:-1:-1;;;1880:177:1:o;2062:541::-;;;;;;;2257:3;2245:9;2236:7;2232:23;2228:33;2225:2;;;2279:6;2271;2264:22;2225:2;2307:29;2326:9;2307:29;:::i;:::-;2297:39;;2383:2;2372:9;2368:18;2355:32;2345:42;;2434:2;2423:9;2419:18;2406:32;2396:42;;2457:36;2489:2;2478:9;2474:18;2457:36;:::i;:::-;2447:46;;2540:3;2529:9;2525:19;2512:33;2502:43;;2592:3;2581:9;2577:19;2564:33;2554:43;;2215:388;;;;;;;;:::o;2608:370::-;;;2736:2;2724:9;2715:7;2711:23;2707:32;2704:2;;;2757:6;2749;2742:22;2704:2;2785:29;2804:9;2785:29;:::i;:::-;2775:39;;2864:2;2853:9;2849:18;2836:32;2908:10;2901:5;2897:22;2890:5;2887:33;2877:2;;2939:6;2931;2924:22;2877:2;2967:5;2957:15;;;2694:284;;;;;:::o;2983:190::-;;3095:2;3083:9;3074:7;3070:23;3066:32;3063:2;;;3116:6;3108;3101:22;3063:2;-1:-1:-1;3144:23:1;;3053:120;-1:-1:-1;3053:120:1:o;3178:264::-;;;3307:2;3295:9;3286:7;3282:23;3278:32;3275:2;;;3328:6;3320;3313:22;3275:2;3369:9;3356:23;3346:33;;3398:38;3432:2;3421:9;3417:18;3398:38;:::i;3447:306::-;;3558:2;3546:9;3537:7;3533:23;3529:32;3526:2;;;3579:6;3571;3564:22;3526:2;3610:23;;-1:-1:-1;;;;;;3662:32:1;;3652:43;;3642:2;;3714:6;3706;3699:22;4350:786;;4761:25;4756:3;4749:38;4816:6;4810:13;4832:62;4887:6;4882:2;4877:3;4873:12;4866:4;4858:6;4854:17;4832:62;:::i;:::-;-1:-1:-1;;;4953:2:1;4913:16;;;4945:11;;;4938:40;5003:13;;5025:63;5003:13;5074:2;5066:11;;5059:4;5047:17;;5025:63;:::i;:::-;5108:17;5127:2;5104:26;;4739:397;-1:-1:-1;;;;4739:397:1:o;7638:383::-;;7787:2;7776:9;7769:21;7819:6;7813:13;7862:6;7857:2;7846:9;7842:18;7835:34;7878:66;7937:6;7932:2;7921:9;7917:18;7912:2;7904:6;7900:15;7878:66;:::i;:::-;8005:2;7984:15;-1:-1:-1;;7980:29:1;7965:45;;;;8012:2;7961:54;;7759:262;-1:-1:-1;;7759:262:1:o;18925:128::-;;18996:1;18992:6;18989:1;18986:13;18983:2;;;19002:18;;:::i;:::-;-1:-1:-1;19038:9:1;;18973:80::o;19058:217::-;;19124:1;19114:2;;-1:-1:-1;;;19149:31:1;;19203:4;19200:1;19193:15;19231:4;19156:1;19221:15;19114:2;-1:-1:-1;19260:9:1;;19104:171::o;19280:168::-;;19386:1;19382;19378:6;19374:14;19371:1;19368:21;19363:1;19356:9;19349:17;19345:45;19342:2;;;19393:18;;:::i;:::-;-1:-1:-1;19433:9:1;;19332:116::o;19453:125::-;;19521:1;19518;19515:8;19512:2;;;19526:18;;:::i;:::-;-1:-1:-1;19563:9:1;;19502:76::o;19583:258::-;19655:1;19665:113;19679:6;19676:1;19673:13;19665:113;;;19755:11;;;19749:18;19736:11;;;19729:39;19701:2;19694:10;19665:113;;;19796:6;19793:1;19790:13;19787:2;;;-1:-1:-1;;19831:1:1;19813:16;;19806:27;19636:205::o;19846:136::-;;19913:5;19903:2;;19922:18;;:::i;:::-;-1:-1:-1;;;19958:18:1;;19893:89::o;19987:380::-;20072:1;20062:12;;20119:1;20109:12;;;20130:2;;20184:4;20176:6;20172:17;20162:27;;20130:2;20237;20229:6;20226:14;20206:18;20203:38;20200:2;;;20283:10;20278:3;20274:20;20271:1;20264:31;20318:4;20315:1;20308:15;20346:4;20343:1;20336:15;20372:127;20433:10;20428:3;20424:20;20421:1;20414:31;20464:4;20461:1;20454:15;20488:4;20485:1;20478:15
Swarm Source
ipfs://2179f2c08d7222a3091fcdc9e50d696c887605d7409b9d1cfd6c1b03e439e93b
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.