ERC-20
DAO
Overview
Max Total Supply
1,000,000,000 L2DAO
Holders
12,924 (0.00%)
Total Transfers
-
Market
Price
$0.0002 @ 0.000000 ETH (+2.21%)
Onchain Market Cap
$199,530.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
L2DAOToken
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Arbiscan.io on 2022-01-30 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } } // 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/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/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/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/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/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: L2DAOTokenLock.sol pragma solidity ^0.8.2; /** * @dev Time-locks tokens according to an unlock schedule. */ contract L2DAOTokenLock { ERC20 public immutable token; uint256 public immutable unlockBegin; uint256 public immutable unlockCliff; uint256 public immutable unlockEnd; mapping(address=>uint256) public lockedAmounts; mapping(address=>uint256) public claimedAmounts; event Locked(address indexed sender, address indexed recipient, uint256 amount); event Claimed(address indexed owner, address indexed recipient, uint256 amount); /** * @dev Constructor. * @param _token The token this contract will lock.l * @param _unlockBegin The time at which unlocking of tokens will begin. * @param _unlockCliff The first time at which tokens are claimable. * @param _unlockEnd The time at which the last token will unlock. */ constructor(ERC20 _token, uint256 _unlockBegin, uint256 _unlockCliff, uint256 _unlockEnd) { require(_unlockCliff >= _unlockBegin, "ERC20Locked: Unlock cliff must not be before unlock begin"); require(_unlockEnd >= _unlockCliff, "ERC20Locked: Unlock end must not be before unlock cliff"); token = _token; unlockBegin = _unlockBegin; unlockCliff = _unlockCliff; unlockEnd = _unlockEnd; } /** * @dev Returns the maximum number of tokens currently claimable by `owner`. * @param owner The account to check the claimable balance of. * @return The number of tokens currently claimable. */ function claimableBalance(address owner) public view returns(uint256) { if(block.timestamp < unlockCliff) { return 0; } uint256 locked = lockedAmounts[owner]; uint256 claimed = claimedAmounts[owner]; if(block.timestamp >= unlockEnd) { return locked - claimed; } return (locked * (block.timestamp - unlockBegin)) / (unlockEnd - unlockBegin) - claimed; } /** * @dev Transfers tokens from the caller to the token lock contract and locks them for benefit of `recipient`. * Requires that the caller has authorised this contract with the token contract. * @param recipient The account the tokens will be claimable by. * @param amount The number of tokens to transfer and lock. */ function lock(address recipient, uint256 amount) public { require(block.timestamp < unlockEnd, "TokenLock: Unlock period already complete"); lockedAmounts[recipient] += amount; require(token.transferFrom(msg.sender, address(this), amount), "TokenLock: Transfer failed"); emit Locked(msg.sender, recipient, amount); } /** * @dev Claims the caller's tokens that have been unlocked, sending them to `recipient`. * @param recipient The account to transfer unlocked tokens to. * @param amount The amount to transfer. If greater than the claimable amount, the maximum is transferred. */ function claim(address recipient, uint256 amount) public { uint256 claimable = claimableBalance(msg.sender); if(amount > claimable) { amount = claimable; } claimedAmounts[msg.sender] += amount; require(token.transfer(recipient, amount), "TokenLock: Transfer failed"); emit Claimed(msg.sender, recipient, amount); } } // File: L2DAOToken.sol pragma solidity ^0.8.2; /** * @dev An ERC20 token for Layer2DAO. Based on the excellent work done by GasDao. * - Airdrop claim functionality via `claimTokens`. At creation time the tokens that * should be available for the airdrop are transferred to the token contract address; * airdrop claims are made from this balance. */ contract L2DAOToken is ERC20, ERC20Permit, ERC20Votes, Ownable { bytes32 public merkleRoot; mapping(address=>bool) private claimed; event MerkleRootChanged(bytes32 merkleRoot); event Claim(address indexed claimant, uint256 amount); // total supply 1 billion, 30% airdrop, 10% devs vested, remainder to DAO Treasury uint256 constant airdropSupply = 300_000_000e18; uint256 constant teamSupply = 100_000_000e18; uint256 constant DAOTreasurySupply = 1_000_000_000e18 - airdropSupply - teamSupply; bool public vestStarted = false; uint256 public constant claimPeriodEnds = 1646092800;// feb 28, 2022 /** * @dev Constructor. * @param DAOTreasuryAddress The address of the DAO Treasury. */ constructor( address DAOTreasuryAddress ) ERC20("Layer2DAO", "L2DAO") ERC20Permit("Layer2DAO") { _mint(address(this), airdropSupply); _mint(address(this), teamSupply); _mint(DAOTreasuryAddress, DAOTreasurySupply); } function startVest(address tokenLockAddress) public onlyOwner { require(!vestStarted, "Layer2DAO: Vest has already started."); vestStarted = true; _approve(address(this), tokenLockAddress, teamSupply); L2DAOTokenLock(tokenLockAddress).lock(0x062a07cBf4848fdA67292A96a5E02C97E402233F, 25_000_000e18); L2DAOTokenLock(tokenLockAddress).lock(0x1CabC3e62e0527cBe09917F5Ca8e6D9999502d82, 25_000_000e18); L2DAOTokenLock(tokenLockAddress).lock(0x357990585a6BB953DCBA126de48585ed27E22319, 50_000_000e18); } /** * @dev Claims airdropped tokens. * @param amount The amount of the claim being made. * @param merkleProof A merkle proof proving the claim is valid. */ function claimTokens(uint256 amount, bytes32[] calldata merkleProof) public { bytes32 leaf = keccak256(abi.encodePacked(msg.sender, amount)); bool valid = MerkleProof.verify(merkleProof, merkleRoot, leaf); require(valid, "Layer2DAO: Valid proof required."); require(!claimed[msg.sender], "Layer2DAO: Tokens already claimed."); claimed[msg.sender] = true; emit Claim(msg.sender, amount); _transfer(address(this), msg.sender, amount); } /** * @dev Allows the owner to sweep unclaimed tokens after the claim period ends. * @param dest The address to sweep the tokens to. */ function sweep(address dest) public onlyOwner { require(block.timestamp > claimPeriodEnds, "Layer2DAO: Claim period not yet ended"); _transfer(address(this), dest, balanceOf(address(this))); } /** * @dev Returns true if the claim at the given index in the merkle tree has already been made. * @param account The address to check if claimed. */ function hasClaimed(address account) public view returns (bool) { return claimed[account]; } /** * @dev Sets the merkle root. Only callable if the root is not yet set. * @param _merkleRoot The merkle root to set. */ function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { require(merkleRoot == bytes32(0), "Layer2DAO: Merkle root already set"); merkleRoot = _merkleRoot; emit MerkleRootChanged(_merkleRoot); } // 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
[{"inputs":[{"internalType":"address","name":"DAOTreasuryAddress","type":"address"}],"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":"claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","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":false,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"MerkleRootChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"claimPeriodEnds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenLockAddress","type":"address"}],"name":"startVest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dest","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vestStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961014052600c805460ff191690553480156200004157600080fd5b5060405162002fed38038062002fed833981016040819052620000649162000929565b604051806040016040528060098152602001684c617965723244414f60b81b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060098152602001684c617965723244414f60b81b815250604051806040016040528060058152602001644c3244414f60d81b8152508160039080519060200190620000f99291906200088d565b5080516200010f9060049060208401906200088d565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060601b60c0526101205250620001be9350620001b8925050620002399050565b6200023d565b620001d5306af8277896582678ac0000006200028f565b620001ec306a52b7d2dcc80cd2e40000006200028f565b62000232816a52b7d2dcc80cd2e4000000620002206af8277896582678ac0000006b033b2e3c9fd0803ce80000006200096f565b6200022c91906200096f565b6200028f565b50620009f2565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002a68282620002aa60201b620012381760201c565b5050565b620002c182826200036160201b620012c81760201c565b6001600160e01b03620002d5620004508216565b1115620003425760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084015b60405180910390fd5b6200035b6008620013b36200045660201b17836200046b565b50505050565b6001600160a01b038216620003b95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000339565b8060026000828254620003cd919062000954565b90915550506001600160a01b03821660009081526020819052604081208054839290620003fc90849062000954565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620002a66000838362000622565b60025490565b600062000464828462000954565b9392505050565b825460009081908015620004bd5785620004876001836200096f565b815481106200049a576200049a620009dc565b60009182526020909120015464010000000090046001600160e01b0316620004c0565b60005b6001600160e01b03169250620004d783858760201c565b91506000811180156200051b57504386620004f46001846200096f565b81548110620005075762000507620009dc565b60009182526020909120015463ffffffff16145b156200058f5762000537826200063a60201b620013bf1760201c565b86620005456001846200096f565b81548110620005585762000558620009dc565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b0316021790555062000614565b856040518060400160405280620005b143620006a960201b6200142c1760201c565b63ffffffff168152602001620005d2856200063a60201b620013bf1760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b505050565b6200061d8383836200071060201b620014911760201c565b60006001600160e01b03821115620006a55760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840162000339565b5090565b600063ffffffff821115620006a55760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840162000339565b620007288383836200061d60201b620014c31760201c565b6001600160a01b038381166000908152600660205260408082205485841683529120546200061d92918216911683818314801590620007675750600081115b156200061d576001600160a01b03831615620007f4576001600160a01b038316600090815260076020908152604082208291620007b191906200087f901b620014c817856200046b565b91509150846001600160a01b031660008051602062002fcd8339815191528383604051620007e9929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156200061d576001600160a01b03821660009081526007602090815260408220829162000838919062000456901b620013b317856200046b565b91509150836001600160a01b031660008051602062002fcd833981519152838360405162000870929190918252602082015260400190565b60405180910390a25050505050565b60006200046482846200096f565b8280546200089b9062000989565b90600052602060002090601f016020900481019282620008bf57600085556200090a565b82601f10620008da57805160ff19168380011785556200090a565b828001600101855582156200090a579182015b828111156200090a578251825591602001919060010190620008ed565b50620006a59291505b80821115620006a5576000815560010162000913565b6000602082840312156200093c57600080fd5b81516001600160a01b03811681146200046457600080fd5b600082198211156200096a576200096a620009c6565b500190565b600082821015620009845762000984620009c6565b500390565b600181811c908216806200099e57607f821691505b60208210811415620009c057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60805160a05160c05160601c60e05161010051610120516101405161257d62000a50600039600061100c01526000611856015260006118a501526000611880015260006117d9015260006118030152600061182d015261257d6000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a5780639ab24eb0116100ad578063d505accf1161007c578063d505accf1461046c578063d7acdb661461047f578063dd62ed3e1461048c578063f1127ed8146104c5578063f2fde38b1461050257600080fd5b80639ab24eb014610420578063a457c2d714610433578063a9059cbb14610446578063c3cda5201461045957600080fd5b80638da5cb5b116100e95780638da5cb5b146103e15780638e539e8c146103f257806395d89b41146104055780639a114cb21461040d57600080fd5b8063715018a61461038757806373b2e80e1461038f5780637cb64759146103bb5780637ecebe00146103ce57600080fd5b806339509351116101925780635c19a95c116101615780635c19a95c1461031857806366deac471461032b5780636fcfff451461033657806370a082311461035e57600080fd5b8063395093511461029b5780633a46b1a8146102ae5780634f6ae201146102c1578063587cde1e146102d457600080fd5b806323b872dd116101ce57806323b872dd146102685780632eb4a7ab1461027b578063313ce567146102845780633644e5151461029357600080fd5b806301681a621461020057806306fdde0314610215578063095ea7b31461023357806318160ddd14610256575b600080fd5b61021361020e36600461218c565b610515565b005b61021d6105c8565b60405161022a91906123da565b60405180910390f35b610246610241366004612280565b61065a565b604051901515815260200161022a565b6002545b60405190815260200161022a565b6102466102763660046121da565b610670565b61025a600a5481565b6040516012815260200161022a565b61025a61071a565b6102466102a9366004612280565b610729565b61025a6102bc366004612280565b610765565b6102136102cf36600461218c565b6107df565b6103006102e236600461218c565b6001600160a01b039081166000908152600660205260409020541690565b6040516001600160a01b03909116815260200161022a565b61021361032636600461218c565b610a08565b61025a63621d620081565b61034961034436600461218c565b610a12565b60405163ffffffff909116815260200161022a565b61025a61036c36600461218c565b6001600160a01b031660009081526020819052604090205490565b610213610a3a565b61024661039d36600461218c565b6001600160a01b03166000908152600b602052604090205460ff1690565b6102136103c9366004612342565b610a70565b61025a6103dc36600461218c565b610b30565b6009546001600160a01b0316610300565b61025a610400366004612342565b610b4e565b61021d610baa565b61021361041b36600461235b565b610bb9565b61025a61042e36600461218c565b610d55565b610246610441366004612280565b610ddc565b610246610454366004612280565b610e75565b6102136104673660046122aa565b610e82565b61021361047a366004612216565b610fb8565b600c546102469060ff1681565b61025a61049a3660046121a7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104d86104d3366004612302565b61111c565b60408051825163ffffffff1681526020928301516001600160e01b0316928101929092520161022a565b61021361051036600461218c565b6111a0565b6009546001600160a01b031633146105485760405162461bcd60e51b815260040161053f9061242f565b60405180910390fd5b63621d620042116105a95760405162461bcd60e51b815260206004820152602560248201527f4c617965723244414f3a20436c61696d20706572696f64206e6f742079657420604482015264195b99195960da1b606482015260840161053f565b306000818152602081905260409020546105c5919083906114d4565b50565b6060600380546105d7906124b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610603906124b5565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b5050505050905090565b60006106673384846116a8565b50600192915050565b600061067d8484846114d4565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107025760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161053f565b61070f85338584036116a8565b506001949350505050565b60006107246117cc565b905090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610667918590610760908690612464565b6116a8565b60004382106107b65760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604482015260640161053f565b6001600160a01b03831660009081526007602052604090206107d890836118f3565b9392505050565b6009546001600160a01b031633146108095760405162461bcd60e51b815260040161053f9061242f565b600c5460ff16156108685760405162461bcd60e51b8152602060048201526024808201527f4c617965723244414f3a20566573742068617320616c726561647920737461726044820152633a32b21760e11b606482015260840161053f565b600c805460ff1916600117905561088b30826a52b7d2dcc80cd2e40000006116a8565b60405163282d3fdf60e01b815273062a07cbf4848fda67292a96a5e02c97e402233f60048201526a14adf4b7320334b900000060248201526001600160a01b0382169063282d3fdf90604401600060405180830381600087803b1580156108f157600080fd5b505af1158015610905573d6000803e3d6000fd5b505060405163282d3fdf60e01b8152731cabc3e62e0527cbe09917f5ca8e6d9999502d8260048201526a14adf4b7320334b900000060248201526001600160a01b038416925063282d3fdf9150604401600060405180830381600087803b15801561096f57600080fd5b505af1158015610983573d6000803e3d6000fd5b505060405163282d3fdf60e01b815273357990585a6bb953dcba126de48585ed27e2231960048201526a295be96e6406697200000060248201526001600160a01b038416925063282d3fdf9150604401600060405180830381600087803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b5050505050565b6105c533826119b0565b6001600160a01b038116600090815260076020526040812054610a349061142c565b92915050565b6009546001600160a01b03163314610a645760405162461bcd60e51b815260040161053f9061242f565b610a6e6000611a29565b565b6009546001600160a01b03163314610a9a5760405162461bcd60e51b815260040161053f9061242f565b600a5415610af55760405162461bcd60e51b815260206004820152602260248201527f4c617965723244414f3a204d65726b6c6520726f6f7420616c72656164792073604482015261195d60f21b606482015260840161053f565b600a8190556040518181527f1b930366dfeaa7eb3b325021e4ae81e36527063452ee55b86c95f85b36f4c31c9060200160405180910390a150565b6001600160a01b038116600090815260056020526040812054610a34565b6000438210610b9f5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604482015260640161053f565b610a346008836118f3565b6060600480546105d7906124b5565b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506000610c3c84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150859050611a7b565b905080610c8b5760405162461bcd60e51b815260206004820181905260248201527f4c617965723244414f3a2056616c69642070726f6f662072657175697265642e604482015260640161053f565b336000908152600b602052604090205460ff1615610cf65760405162461bcd60e51b815260206004820152602260248201527f4c617965723244414f3a20546f6b656e7320616c726561647920636c61696d65604482015261321760f11b606482015260840161053f565b336000818152600b602052604090819020805460ff19166001179055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610d429088815260200190565b60405180910390a2610a013033876114d4565b6001600160a01b0381166000908152600760205260408120548015610dc9576001600160a01b0383166000908152600760205260409020610d9760018361249e565b81548110610da757610da7612531565b60009182526020909120015464010000000090046001600160e01b0316610dcc565b60005b6001600160e01b03169392505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e5e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053f565b610e6b33858584036116a8565b5060019392505050565b60006106673384846114d4565b83421115610ed25760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e61747572652065787069726564000000604482015260640161053f565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610f4c90610f449060a00160405160208183030381529060405280519060200120611a91565b858585611adf565b9050610f5781611b07565b8614610fa55760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000604482015260640161053f565b610faf81886119b0565b50505050505050565b834211156110085760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161053f565b60007f00000000000000000000000000000000000000000000000000000000000000008888886110378c611b07565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061109282611a91565b905060006110a282878787611adf565b9050896001600160a01b0316816001600160a01b0316146111055760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161053f565b6111108a8a8a6116a8565b50505050505050505050565b60408051808201909152600080825260208201526001600160a01b0383166000908152600760205260409020805463ffffffff841690811061116057611160612531565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6009546001600160a01b031633146111ca5760405162461bcd60e51b815260040161053f9061242f565b6001600160a01b03811661122f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053f565b6105c581611a29565b61124282826112c8565b6002546001600160e01b0310156112b45760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840161053f565b6112c260086113b383611b2f565b50505050565b6001600160a01b03821661131e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161053f565b80600260008282546113309190612464565b90915550506001600160a01b0382166000908152602081905260408120805483929061135d908490612464565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36113af60008383611ca8565b5050565b60006107d88284612464565b60006001600160e01b038211156114285760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840161053f565b5090565b600063ffffffff8211156114285760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840161053f565b6001600160a01b038381166000908152600660205260408082205485841683529120546114c392918216911683611cb3565b505050565b60006107d8828461249e565b6001600160a01b0383166115385760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053f565b6001600160a01b03821661159a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053f565b6001600160a01b038316600090815260208190526040902054818110156116125760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611649908490612464565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161169591815260200190565b60405180910390a36112c2848484611ca8565b6001600160a01b03831661170a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053f565b6001600160a01b03821661176b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561182557507f000000000000000000000000000000000000000000000000000000000000000046145b1561184f57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b8181101561195757600061190e8284611df0565b90508486828154811061192357611923612531565b60009182526020909120015463ffffffff16111561194357809250611951565b61194e816001612464565b91505b506118fa565b811561199b578461196960018461249e565b8154811061197957611979612531565b60009182526020909120015464010000000090046001600160e01b031661199e565b60005b6001600160e01b031695945050505050565b6001600160a01b038281166000818152600660208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46112c2828483611cb3565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082611a888584611e0b565b14949350505050565b6000610a34611a9e6117cc565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611af087878787611eb7565b91509150611afd81611fa4565b5095945050505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b825460009081908015611b7a5785611b4860018361249e565b81548110611b5857611b58612531565b60009182526020909120015464010000000090046001600160e01b0316611b7d565b60005b6001600160e01b03169250611b9683858763ffffffff16565b9150600081118015611bd457504386611bb060018461249e565b81548110611bc057611bc0612531565b60009182526020909120015463ffffffff16145b15611c3457611be2826113bf565b86611bee60018461249e565b81548110611bfe57611bfe612531565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611c9f565b856040518060400160405280611c494361142c565b63ffffffff168152602001611c5d856113bf565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b6114c3838383611491565b816001600160a01b0316836001600160a01b031614158015611cd55750600081115b156114c3576001600160a01b03831615611d63576001600160a01b03831660009081526007602052604081208190611d10906114c885611b2f565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611d58929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156114c3576001600160a01b03821660009081526007602052604081208190611d99906113b385611b2f565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611de1929190918252602082015260400190565b60405180910390a25050505050565b6000611dff600284841861247c565b6107d890848416612464565b600081815b8451811015611eaf576000858281518110611e2d57611e2d612531565b60200260200101519050808311611e6f576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611e9c565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ea7816124ea565b915050611e10565b509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611eee5750600090506003611f9b565b8460ff16601b14158015611f0657508460ff16601c14155b15611f175750600090506004611f9b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f6b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611f9457600060019250925050611f9b565b9150600090505b94509492505050565b6000816004811115611fb857611fb861251b565b1415611fc15750565b6001816004811115611fd557611fd561251b565b14156120235760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161053f565b60028160048111156120375761203761251b565b14156120855760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161053f565b60038160048111156120995761209961251b565b14156120f25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161053f565b60048160048111156121065761210661251b565b14156105c55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161053f565b80356001600160a01b038116811461217657600080fd5b919050565b803560ff8116811461217657600080fd5b60006020828403121561219e57600080fd5b6107d88261215f565b600080604083850312156121ba57600080fd5b6121c38361215f565b91506121d16020840161215f565b90509250929050565b6000806000606084860312156121ef57600080fd5b6121f88461215f565b92506122066020850161215f565b9150604084013590509250925092565b600080600080600080600060e0888a03121561223157600080fd5b61223a8861215f565b96506122486020890161215f565b955060408801359450606088013593506122646080890161217b565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561229357600080fd5b61229c8361215f565b946020939093013593505050565b60008060008060008060c087890312156122c357600080fd5b6122cc8761215f565b955060208701359450604087013593506122e86060880161217b565b92506080870135915060a087013590509295509295509295565b6000806040838503121561231557600080fd5b61231e8361215f565b9150602083013563ffffffff8116811461233757600080fd5b809150509250929050565b60006020828403121561235457600080fd5b5035919050565b60008060006040848603121561237057600080fd5b83359250602084013567ffffffffffffffff8082111561238f57600080fd5b818601915086601f8301126123a357600080fd5b8135818111156123b257600080fd5b8760208260051b85010111156123c757600080fd5b6020830194508093505050509250925092565b600060208083528351808285015260005b81811015612407578581018301518582016040015282016123eb565b81811115612419576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561247757612477612505565b500190565b60008261249957634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156124b0576124b0612505565b500390565b600181811c908216806124c957607f821691505b60208210811415611b2957634e487b7160e01b600052602260045260246000fd5b60006000198214156124fe576124fe612505565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea26469706673582212205f0f410cf78d6ed07a10147c863081ee42fc008271ff967db0cd1408264ae62b64736f6c63430008070033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7240000000000000000000000005318f07a3a20a2f8bb0ddf14f1dd58c517a76508
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a5780639ab24eb0116100ad578063d505accf1161007c578063d505accf1461046c578063d7acdb661461047f578063dd62ed3e1461048c578063f1127ed8146104c5578063f2fde38b1461050257600080fd5b80639ab24eb014610420578063a457c2d714610433578063a9059cbb14610446578063c3cda5201461045957600080fd5b80638da5cb5b116100e95780638da5cb5b146103e15780638e539e8c146103f257806395d89b41146104055780639a114cb21461040d57600080fd5b8063715018a61461038757806373b2e80e1461038f5780637cb64759146103bb5780637ecebe00146103ce57600080fd5b806339509351116101925780635c19a95c116101615780635c19a95c1461031857806366deac471461032b5780636fcfff451461033657806370a082311461035e57600080fd5b8063395093511461029b5780633a46b1a8146102ae5780634f6ae201146102c1578063587cde1e146102d457600080fd5b806323b872dd116101ce57806323b872dd146102685780632eb4a7ab1461027b578063313ce567146102845780633644e5151461029357600080fd5b806301681a621461020057806306fdde0314610215578063095ea7b31461023357806318160ddd14610256575b600080fd5b61021361020e36600461218c565b610515565b005b61021d6105c8565b60405161022a91906123da565b60405180910390f35b610246610241366004612280565b61065a565b604051901515815260200161022a565b6002545b60405190815260200161022a565b6102466102763660046121da565b610670565b61025a600a5481565b6040516012815260200161022a565b61025a61071a565b6102466102a9366004612280565b610729565b61025a6102bc366004612280565b610765565b6102136102cf36600461218c565b6107df565b6103006102e236600461218c565b6001600160a01b039081166000908152600660205260409020541690565b6040516001600160a01b03909116815260200161022a565b61021361032636600461218c565b610a08565b61025a63621d620081565b61034961034436600461218c565b610a12565b60405163ffffffff909116815260200161022a565b61025a61036c36600461218c565b6001600160a01b031660009081526020819052604090205490565b610213610a3a565b61024661039d36600461218c565b6001600160a01b03166000908152600b602052604090205460ff1690565b6102136103c9366004612342565b610a70565b61025a6103dc36600461218c565b610b30565b6009546001600160a01b0316610300565b61025a610400366004612342565b610b4e565b61021d610baa565b61021361041b36600461235b565b610bb9565b61025a61042e36600461218c565b610d55565b610246610441366004612280565b610ddc565b610246610454366004612280565b610e75565b6102136104673660046122aa565b610e82565b61021361047a366004612216565b610fb8565b600c546102469060ff1681565b61025a61049a3660046121a7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104d86104d3366004612302565b61111c565b60408051825163ffffffff1681526020928301516001600160e01b0316928101929092520161022a565b61021361051036600461218c565b6111a0565b6009546001600160a01b031633146105485760405162461bcd60e51b815260040161053f9061242f565b60405180910390fd5b63621d620042116105a95760405162461bcd60e51b815260206004820152602560248201527f4c617965723244414f3a20436c61696d20706572696f64206e6f742079657420604482015264195b99195960da1b606482015260840161053f565b306000818152602081905260409020546105c5919083906114d4565b50565b6060600380546105d7906124b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610603906124b5565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b5050505050905090565b60006106673384846116a8565b50600192915050565b600061067d8484846114d4565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107025760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161053f565b61070f85338584036116a8565b506001949350505050565b60006107246117cc565b905090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610667918590610760908690612464565b6116a8565b60004382106107b65760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604482015260640161053f565b6001600160a01b03831660009081526007602052604090206107d890836118f3565b9392505050565b6009546001600160a01b031633146108095760405162461bcd60e51b815260040161053f9061242f565b600c5460ff16156108685760405162461bcd60e51b8152602060048201526024808201527f4c617965723244414f3a20566573742068617320616c726561647920737461726044820152633a32b21760e11b606482015260840161053f565b600c805460ff1916600117905561088b30826a52b7d2dcc80cd2e40000006116a8565b60405163282d3fdf60e01b815273062a07cbf4848fda67292a96a5e02c97e402233f60048201526a14adf4b7320334b900000060248201526001600160a01b0382169063282d3fdf90604401600060405180830381600087803b1580156108f157600080fd5b505af1158015610905573d6000803e3d6000fd5b505060405163282d3fdf60e01b8152731cabc3e62e0527cbe09917f5ca8e6d9999502d8260048201526a14adf4b7320334b900000060248201526001600160a01b038416925063282d3fdf9150604401600060405180830381600087803b15801561096f57600080fd5b505af1158015610983573d6000803e3d6000fd5b505060405163282d3fdf60e01b815273357990585a6bb953dcba126de48585ed27e2231960048201526a295be96e6406697200000060248201526001600160a01b038416925063282d3fdf9150604401600060405180830381600087803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b5050505050565b6105c533826119b0565b6001600160a01b038116600090815260076020526040812054610a349061142c565b92915050565b6009546001600160a01b03163314610a645760405162461bcd60e51b815260040161053f9061242f565b610a6e6000611a29565b565b6009546001600160a01b03163314610a9a5760405162461bcd60e51b815260040161053f9061242f565b600a5415610af55760405162461bcd60e51b815260206004820152602260248201527f4c617965723244414f3a204d65726b6c6520726f6f7420616c72656164792073604482015261195d60f21b606482015260840161053f565b600a8190556040518181527f1b930366dfeaa7eb3b325021e4ae81e36527063452ee55b86c95f85b36f4c31c9060200160405180910390a150565b6001600160a01b038116600090815260056020526040812054610a34565b6000438210610b9f5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604482015260640161053f565b610a346008836118f3565b6060600480546105d7906124b5565b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506000610c3c84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150859050611a7b565b905080610c8b5760405162461bcd60e51b815260206004820181905260248201527f4c617965723244414f3a2056616c69642070726f6f662072657175697265642e604482015260640161053f565b336000908152600b602052604090205460ff1615610cf65760405162461bcd60e51b815260206004820152602260248201527f4c617965723244414f3a20546f6b656e7320616c726561647920636c61696d65604482015261321760f11b606482015260840161053f565b336000818152600b602052604090819020805460ff19166001179055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610d429088815260200190565b60405180910390a2610a013033876114d4565b6001600160a01b0381166000908152600760205260408120548015610dc9576001600160a01b0383166000908152600760205260409020610d9760018361249e565b81548110610da757610da7612531565b60009182526020909120015464010000000090046001600160e01b0316610dcc565b60005b6001600160e01b03169392505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e5e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053f565b610e6b33858584036116a8565b5060019392505050565b60006106673384846114d4565b83421115610ed25760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e61747572652065787069726564000000604482015260640161053f565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610f4c90610f449060a00160405160208183030381529060405280519060200120611a91565b858585611adf565b9050610f5781611b07565b8614610fa55760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000604482015260640161053f565b610faf81886119b0565b50505050505050565b834211156110085760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161053f565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110378c611b07565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061109282611a91565b905060006110a282878787611adf565b9050896001600160a01b0316816001600160a01b0316146111055760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161053f565b6111108a8a8a6116a8565b50505050505050505050565b60408051808201909152600080825260208201526001600160a01b0383166000908152600760205260409020805463ffffffff841690811061116057611160612531565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6009546001600160a01b031633146111ca5760405162461bcd60e51b815260040161053f9061242f565b6001600160a01b03811661122f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053f565b6105c581611a29565b61124282826112c8565b6002546001600160e01b0310156112b45760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840161053f565b6112c260086113b383611b2f565b50505050565b6001600160a01b03821661131e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161053f565b80600260008282546113309190612464565b90915550506001600160a01b0382166000908152602081905260408120805483929061135d908490612464565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36113af60008383611ca8565b5050565b60006107d88284612464565b60006001600160e01b038211156114285760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840161053f565b5090565b600063ffffffff8211156114285760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840161053f565b6001600160a01b038381166000908152600660205260408082205485841683529120546114c392918216911683611cb3565b505050565b60006107d8828461249e565b6001600160a01b0383166115385760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053f565b6001600160a01b03821661159a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053f565b6001600160a01b038316600090815260208190526040902054818110156116125760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611649908490612464565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161169591815260200190565b60405180910390a36112c2848484611ca8565b6001600160a01b03831661170a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053f565b6001600160a01b03821661176b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000306001600160a01b037f0000000000000000000000002cab3abfc1670d1a452df502e216a66883cdf0791614801561182557507f000000000000000000000000000000000000000000000000000000000000a4b146145b1561184f57507f5eef00966c2dbb0c2b0b2de07ba5e973f4659a1eacc125f251d7be7db532ef3190565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527ff8510e0ee061b495d904a188d081120f2f21f94ccd2c6febcb76f363573964b3828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b8181101561195757600061190e8284611df0565b90508486828154811061192357611923612531565b60009182526020909120015463ffffffff16111561194357809250611951565b61194e816001612464565b91505b506118fa565b811561199b578461196960018461249e565b8154811061197957611979612531565b60009182526020909120015464010000000090046001600160e01b031661199e565b60005b6001600160e01b031695945050505050565b6001600160a01b038281166000818152600660208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46112c2828483611cb3565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082611a888584611e0b565b14949350505050565b6000610a34611a9e6117cc565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611af087878787611eb7565b91509150611afd81611fa4565b5095945050505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b825460009081908015611b7a5785611b4860018361249e565b81548110611b5857611b58612531565b60009182526020909120015464010000000090046001600160e01b0316611b7d565b60005b6001600160e01b03169250611b9683858763ffffffff16565b9150600081118015611bd457504386611bb060018461249e565b81548110611bc057611bc0612531565b60009182526020909120015463ffffffff16145b15611c3457611be2826113bf565b86611bee60018461249e565b81548110611bfe57611bfe612531565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611c9f565b856040518060400160405280611c494361142c565b63ffffffff168152602001611c5d856113bf565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b6114c3838383611491565b816001600160a01b0316836001600160a01b031614158015611cd55750600081115b156114c3576001600160a01b03831615611d63576001600160a01b03831660009081526007602052604081208190611d10906114c885611b2f565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611d58929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156114c3576001600160a01b03821660009081526007602052604081208190611d99906113b385611b2f565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611de1929190918252602082015260400190565b60405180910390a25050505050565b6000611dff600284841861247c565b6107d890848416612464565b600081815b8451811015611eaf576000858281518110611e2d57611e2d612531565b60200260200101519050808311611e6f576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611e9c565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ea7816124ea565b915050611e10565b509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611eee5750600090506003611f9b565b8460ff16601b14158015611f0657508460ff16601c14155b15611f175750600090506004611f9b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f6b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611f9457600060019250925050611f9b565b9150600090505b94509492505050565b6000816004811115611fb857611fb861251b565b1415611fc15750565b6001816004811115611fd557611fd561251b565b14156120235760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161053f565b60028160048111156120375761203761251b565b14156120855760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161053f565b60038160048111156120995761209961251b565b14156120f25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161053f565b60048160048111156121065761210661251b565b14156105c55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161053f565b80356001600160a01b038116811461217657600080fd5b919050565b803560ff8116811461217657600080fd5b60006020828403121561219e57600080fd5b6107d88261215f565b600080604083850312156121ba57600080fd5b6121c38361215f565b91506121d16020840161215f565b90509250929050565b6000806000606084860312156121ef57600080fd5b6121f88461215f565b92506122066020850161215f565b9150604084013590509250925092565b600080600080600080600060e0888a03121561223157600080fd5b61223a8861215f565b96506122486020890161215f565b955060408801359450606088013593506122646080890161217b565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561229357600080fd5b61229c8361215f565b946020939093013593505050565b60008060008060008060c087890312156122c357600080fd5b6122cc8761215f565b955060208701359450604087013593506122e86060880161217b565b92506080870135915060a087013590509295509295509295565b6000806040838503121561231557600080fd5b61231e8361215f565b9150602083013563ffffffff8116811461233757600080fd5b809150509250929050565b60006020828403121561235457600080fd5b5035919050565b60008060006040848603121561237057600080fd5b83359250602084013567ffffffffffffffff8082111561238f57600080fd5b818601915086601f8301126123a357600080fd5b8135818111156123b257600080fd5b8760208260051b85010111156123c757600080fd5b6020830194508093505050509250925092565b600060208083528351808285015260005b81811015612407578581018301518582016040015282016123eb565b81811115612419576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561247757612477612505565b500190565b60008261249957634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156124b0576124b0612505565b500390565b600181811c908216806124c957607f821691505b60208210811415611b2957634e487b7160e01b600052602260045260246000fd5b60006000198214156124fe576124fe612505565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea26469706673582212205f0f410cf78d6ed07a10147c863081ee42fc008271ff967db0cd1408264ae62b64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005318f07a3a20a2f8bb0ddf14f1dd58c517a76508
-----Decoded View---------------
Arg [0] : DAOTreasuryAddress (address): 0x5318f07A3a20A2f8bb0DDf14F1DD58C517a76508
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005318f07a3a20a2f8bb0ddf14f1dd58c517a76508
Deployed Bytecode Sourcemap
67524:3971:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70016:215;;;;;;:::i;:::-;;:::i;:::-;;40909:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43076:169;;;;;;:::i;:::-;;:::i;:::-;;;5906:14:1;;5899:22;5881:41;;5869:2;5854:18;43076:169:0;5741:187:1;42029:108:0;42117:12;;42029:108;;;6079:25:1;;;6067:2;6052:18;42029:108:0;5933:177:1;43727:492:0;;;;;;:::i;:::-;;:::i;67594:25::-;;;;;;41871:93;;;41954:2;20243:36:1;;20231:2;20216:18;41871:93:0;20101:184:1;53302:115:0;;;:::i;44628:215::-;;;;;;:::i;:::-;;:::i;57065:251::-;;;;;;:::i;:::-;;:::i;68590:556::-;;;;;;:::i;:::-;;:::i;56465:119::-;;;;;;:::i;:::-;-1:-1:-1;;;;;56557:19:0;;;56530:7;56557:19;;;:10;:19;;;;;;;;56465:119;;;;-1:-1:-1;;;;;5073:32:1;;;5055:51;;5043:2;5028:18;56465:119:0;4909:203:1;59504:105:0;;;;;;:::i;:::-;;:::i;68111:52::-;;68153:10;68111:52;;56221:151;;;;;;:::i;:::-;;:::i;:::-;;;20078:10:1;20066:23;;;20048:42;;20036:2;20021:18;56221:151:0;19904:192:1;42200:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;42301:18:0;42274:7;42301:18;;;;;;;;;;;;42200:127;34330:103;;;:::i;70413:106::-;;;;;;:::i;:::-;-1:-1:-1;;;;;70495:16:0;70471:4;70495:16;;;:7;:16;;;;;;;;;70413:106;70673:232;;;;;;:::i;:::-;;:::i;53044:128::-;;;;;;:::i;:::-;;:::i;33679:87::-;33752:6;;-1:-1:-1;;;;;33752:6:0;33679:87;;57605:242;;;;;;:::i;:::-;;:::i;41128:104::-;;;:::i;69339:510::-;;;;;;:::i;:::-;;:::i;56668:195::-;;;;;;:::i;:::-;;:::i;45346:413::-;;;;;;:::i;:::-;;:::i;42540:175::-;;;;;;:::i;:::-;;:::i;59691:582::-;;;;;;:::i;:::-;;:::i;52333:645::-;;;;;;:::i;:::-;;:::i;68071:31::-;;;;;;;;;42778:151;;;;;;:::i;:::-;-1:-1:-1;;;;;42894:18:0;;;42867:7;42894:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;42778:151;55991:150;;;;;;:::i;:::-;;:::i;:::-;;;;19342:13:1;;19357:10;19338:30;19320:49;;19429:4;19417:17;;;19411:24;-1:-1:-1;;;;;19407:50:1;19385:20;;;19378:80;;;;19293:18;55991:150:0;19118:346:1;34588:201:0;;;;;;:::i;:::-;;:::i;70016:215::-;33752:6;;-1:-1:-1;;;;;33752:6:0;32483:10;33899:23;33891:68;;;;-1:-1:-1;;;33891:68:0;;;;;;;:::i;:::-;;;;;;;;;68153:10:::1;70081:15;:33;70073:83;;;::::0;-1:-1:-1;;;70073:83:0;;10669:2:1;70073:83:0::1;::::0;::::1;10651:21:1::0;10708:2;10688:18;;;10681:30;10747:34;10727:18;;;10720:62;-1:-1:-1;;;10798:18:1;;;10791:35;10843:19;;70073:83:0::1;10467:401:1::0;70073:83:0::1;70185:4;42274:7:::0;42301:18;;;;;;;;;;;70167:56:::1;::::0;70185:4;70192;;70167:9:::1;:56::i;:::-;70016:215:::0;:::o;40909:100::-;40963:13;40996:5;40989:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40909:100;:::o;43076:169::-;43159:4;43176:39;32483:10;43199:7;43208:6;43176:8;:39::i;:::-;-1:-1:-1;43233:4:0;43076:169;;;;:::o;43727:492::-;43867:4;43884:36;43894:6;43902:9;43913:6;43884:9;:36::i;:::-;-1:-1:-1;;;;;43960:19:0;;43933:24;43960:19;;;:11;:19;;;;;;;;32483:10;43960:33;;;;;;;;44012:26;;;;44004:79;;;;-1:-1:-1;;;44004:79:0;;15336:2:1;44004:79:0;;;15318:21:1;15375:2;15355:18;;;15348:30;15414:34;15394:18;;;15387:62;-1:-1:-1;;;15465:18:1;;;15458:38;15513:19;;44004:79:0;15134:404:1;44004:79:0;44119:57;44128:6;32483:10;44169:6;44150:16;:25;44119:8;:57::i;:::-;-1:-1:-1;44207:4:0;;43727:492;-1:-1:-1;;;;43727:492:0:o;53302:115::-;53362:7;53389:20;:18;:20::i;:::-;53382:27;;53302:115;:::o;44628:215::-;32483:10;44716:4;44765:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;44765:34:0;;;;;;;;;;44716:4;;44733:80;;44756:7;;44765:47;;44802:10;;44765:47;:::i;:::-;44733:8;:80::i;57065:251::-;57146:7;57188:12;57174:11;:26;57166:70;;;;-1:-1:-1;;;57166:70:0;;9591:2:1;57166:70:0;;;9573:21:1;9630:2;9610:18;;;9603:30;9669:33;9649:18;;;9642:61;9720:18;;57166:70:0;9389:355:1;57166:70:0;-1:-1:-1;;;;;57273:21:0;;;;;;:12;:21;;;;;57254:54;;57296:11;57254:18;:54::i;:::-;57247:61;57065:251;-1:-1:-1;;;57065:251:0:o;68590:556::-;33752:6;;-1:-1:-1;;;;;33752:6:0;32483:10;33899:23;33891:68;;;;-1:-1:-1;;;33891:68:0;;;;;;;:::i;:::-;68672:11:::1;::::0;::::1;;68671:12;68663:61;;;::::0;-1:-1:-1;;;68663:61:0;;16931:2:1;68663:61:0::1;::::0;::::1;16913:21:1::0;16970:2;16950:18;;;16943:30;17009:34;16989:18;;;16982:62;-1:-1:-1;;;17060:18:1;;;17053:34;17104:19;;68663:61:0::1;16729:400:1::0;68663:61:0::1;68735:11;:18:::0;;-1:-1:-1;;68735:18:0::1;68749:4;68735:18;::::0;;68764:53:::1;68781:4;68788:16:::0;67959:14:::1;68764:8;:53::i;:::-;68828:96;::::0;-1:-1:-1;;;68828:96:0;;68866:42:::1;68828:96;::::0;::::1;5324:51:1::0;68910:13:0::1;5391:18:1::0;;;5384:34;-1:-1:-1;;;;;68828:37:0;::::1;::::0;::::1;::::0;5297:18:1;;68828:96:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;68935:96:0::1;::::0;-1:-1:-1;;;68935:96:0;;68973:42:::1;68935:96;::::0;::::1;5324:51:1::0;69017:13:0::1;5391:18:1::0;;;5384:34;-1:-1:-1;;;;;68935:37:0;::::1;::::0;-1:-1:-1;68935:37:0::1;::::0;-1:-1:-1;5297:18:1;;68935:96:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;69042:96:0::1;::::0;-1:-1:-1;;;69042:96:0;;69080:42:::1;69042:96;::::0;::::1;5324:51:1::0;69124:13:0::1;5391:18:1::0;;;5384:34;-1:-1:-1;;;;;69042:37:0;::::1;::::0;-1:-1:-1;69042:37:0::1;::::0;-1:-1:-1;5297:18:1;;69042:96:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;68590:556:::0;:::o;59504:105::-;59567:34;32483:10;59591:9;59567;:34::i;56221:151::-;-1:-1:-1;;;;;56335:21:0;;56291:6;56335:21;;;:12;:21;;;;;:28;56317:47;;:17;:47::i;:::-;56310:54;56221:151;-1:-1:-1;;56221:151:0:o;34330:103::-;33752:6;;-1:-1:-1;;;;;33752:6:0;32483:10;33899:23;33891:68;;;;-1:-1:-1;;;33891:68:0;;;;;;;:::i;:::-;34395:30:::1;34422:1;34395:18;:30::i;:::-;34330:103::o:0;70673:232::-;33752:6;;-1:-1:-1;;;;;33752:6:0;32483:10;33899:23;33891:68;;;;-1:-1:-1;;;33891:68:0;;;;;;;:::i;:::-;70753:10:::1;::::0;:24;70745:71:::1;;;::::0;-1:-1:-1;;;70745:71:0;;12239:2:1;70745:71:0::1;::::0;::::1;12221:21:1::0;12278:2;12258:18;;;12251:30;12317:34;12297:18;;;12290:62;-1:-1:-1;;;12368:18:1;;;12361:32;12410:19;;70745:71:0::1;12037:398:1::0;70745:71:0::1;70827:10;:24:::0;;;70867:30:::1;::::0;6079:25:1;;;70867:30:0::1;::::0;6067:2:1;6052:18;70867:30:0::1;;;;;;;70673:232:::0;:::o;53044:128::-;-1:-1:-1;;;;;53140:14:0;;53113:7;53140:14;;;:7;:14;;;;;12537;53140:24;12445:114;57605:242;57675:7;57717:12;57703:11;:26;57695:70;;;;-1:-1:-1;;;57695:70:0;;9591:2:1;57695:70:0;;;9573:21:1;9630:2;9610:18;;;9603:30;9669:33;9649:18;;;9642:61;9720:18;;57695:70:0;9389:355:1;57695:70:0;57783:56;57802:23;57827:11;57783:18;:56::i;41128:104::-;41184:13;41217:7;41210:14;;;;;:::i;69339:510::-;69451:36;;-1:-1:-1;;69468:10:0;4138:2:1;4134:15;4130:53;69451:36:0;;;4118:66:1;4200:12;;;4193:28;;;69426:12:0;;4237::1;;69451:36:0;;;;;;;;;;;;69441:47;;;;;;69426:62;;69499:10;69512:49;69531:11;;69512:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;69544:10:0;;;-1:-1:-1;69556:4:0;;-1:-1:-1;69512:18:0;:49::i;:::-;69499:62;;69580:5;69572:50;;;;-1:-1:-1;;;69572:50:0;;12642:2:1;69572:50:0;;;12624:21:1;;;12661:18;;;12654:30;12720:34;12700:18;;;12693:62;12772:18;;69572:50:0;12440:356:1;69572:50:0;69650:10;69642:19;;;;:7;:19;;;;;;;;69641:20;69633:67;;;;-1:-1:-1;;;69633:67:0;;14574:2:1;69633:67:0;;;14556:21:1;14613:2;14593:18;;;14586:30;14652:34;14632:18;;;14625:62;-1:-1:-1;;;14703:18:1;;;14696:32;14745:19;;69633:67:0;14372:398:1;69633:67:0;69719:10;69711:19;;;;:7;:19;;;;;;;:26;;-1:-1:-1;;69711:26:0;69733:4;69711:26;;;69759:25;;;;;69777:6;6079:25:1;;6067:2;6052:18;;5933:177;69759:25:0;;;;;;;;69797:44;69815:4;69822:10;69834:6;69797:9;:44::i;56668:195::-;-1:-1:-1;;;;;56758:21:0;;56724:7;56758:21;;;:12;:21;;;;;:28;56804:8;;:51;;-1:-1:-1;;;;;56819:21:0;;;;;;:12;:21;;;;;56841:7;56847:1;56841:3;:7;:::i;:::-;56819:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;56819:36:0;56804:51;;;56815:1;56804:51;-1:-1:-1;;;;;56797:58:0;;56668:195;-1:-1:-1;;;56668:195:0:o;45346:413::-;32483:10;45439:4;45483:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;45483:34:0;;;;;;;;;;45536:35;;;;45528:85;;;;-1:-1:-1;;;45528:85:0;;18554:2:1;45528:85:0;;;18536:21:1;18593:2;18573:18;;;18566:30;18632:34;18612:18;;;18605:62;-1:-1:-1;;;18683:18:1;;;18676:35;18728:19;;45528:85:0;18352:401:1;45528:85:0;45649:67;32483:10;45672:7;45700:15;45681:16;:34;45649:8;:67::i;:::-;-1:-1:-1;45747:4:0;;45346:413;-1:-1:-1;;;45346:413:0:o;42540:175::-;42626:4;42643:42;32483:10;42667:9;42678:6;42643:9;:42::i;59691:582::-;59909:6;59890:15;:25;;59882:67;;;;-1:-1:-1;;;59882:67:0;;9951:2:1;59882:67:0;;;9933:21:1;9990:2;9970:18;;;9963:30;10029:31;10009:18;;;10002:59;10078:18;;59882:67:0;9749:353:1;59882:67:0;60032:58;;;55242:71;60032:58;;;6942:25:1;-1:-1:-1;;;;;7003:32:1;;6983:18;;;6976:60;;;;7052:18;;;7045:34;;;7095:18;;;7088:34;;;59960:14:0;;59977:174;;60005:87;;6914:19:1;;60032:58:0;;;;;;;;;;;;60022:69;;;;;;60005:16;:87::i;:::-;60107:1;60123;60139;59977:13;:174::i;:::-;59960:191;;60179:17;60189:6;60179:9;:17::i;:::-;60170:5;:26;60162:64;;;;-1:-1:-1;;;60162:64:0;;11075:2:1;60162:64:0;;;11057:21:1;11114:2;11094:18;;;11087:30;11153:27;11133:18;;;11126:55;11198:18;;60162:64:0;10873:349:1;60162:64:0;60237:28;60247:6;60255:9;60237;:28::i;:::-;59871:402;59691:582;;;;;;:::o;52333:645::-;52577:8;52558:15;:27;;52550:69;;;;-1:-1:-1;;;52550:69:0;;13003:2:1;52550:69:0;;;12985:21:1;13042:2;13022:18;;;13015:30;13081:31;13061:18;;;13054:59;13130:18;;52550:69:0;12801:353:1;52550:69:0;52632:18;52674:16;52692:5;52699:7;52708:5;52715:16;52725:5;52715:9;:16::i;:::-;52663:79;;;;;;6402:25:1;;;;-1:-1:-1;;;;;6501:15:1;;;6481:18;;;6474:43;6553:15;;;;6533:18;;;6526:43;6585:18;;;6578:34;6628:19;;;6621:35;6672:19;;;6665:35;;;6374:19;;52663:79:0;;;;;;;;;;;;52653:90;;;;;;52632:111;;52756:12;52771:28;52788:10;52771:16;:28::i;:::-;52756:43;;52812:14;52829:28;52843:4;52849:1;52852;52855;52829:13;:28::i;:::-;52812:45;;52886:5;-1:-1:-1;;;;;52876:15:0;:6;-1:-1:-1;;;;;52876:15:0;;52868:58;;;;-1:-1:-1;;;52868:58:0;;14977:2:1;52868:58:0;;;14959:21:1;15016:2;14996:18;;;14989:30;15055:32;15035:18;;;15028:60;15105:18;;52868:58:0;14775:354:1;52868:58:0;52939:31;52948:5;52955:7;52964:5;52939:8;:31::i;:::-;52539:439;;;52333:645;;;;;;;:::o;55991:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;56107:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;56100:33;;;;;;;;;56107:26;;56100:33;;;;;;;;;-1:-1:-1;;;;;56100:33:0;;;;;;;;;55991:150;-1:-1:-1;;;55991:150:0:o;34588:201::-;33752:6;;-1:-1:-1;;;;;33752:6:0;32483:10;33899:23;33891:68;;;;-1:-1:-1;;;33891:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34677:22:0;::::1;34669:73;;;::::0;-1:-1:-1;;;34669:73:0;;11429:2:1;34669:73:0::1;::::0;::::1;11411:21:1::0;11468:2;11448:18;;;11441:30;11507:34;11487:18;;;11480:62;-1:-1:-1;;;11558:18:1;;;11551:36;11604:19;;34669:73:0::1;11227:402:1::0;34669:73:0::1;34753:28;34772:8;34753:18;:28::i;60579:290::-:0;60664:28;60676:7;60685:6;60664:11;:28::i;:::-;42117:12;;-1:-1:-1;;;;;;60711:29:0;60703:90;;;;-1:-1:-1;;;60703:90:0;;15745:2:1;60703:90:0;;;15727:21:1;15784:2;15764:18;;;15757:30;15823:34;15803:18;;;15796:62;-1:-1:-1;;;15874:18:1;;;15867:46;15930:19;;60703:90:0;15543:412:1;60703:90:0;60806:55;60823:23;60848:4;60854:6;60806:16;:55::i;:::-;;;60579:290;;:::o;47269:399::-;-1:-1:-1;;;;;47353:21:0;;47345:65;;;;-1:-1:-1;;;47345:65:0;;18960:2:1;47345:65:0;;;18942:21:1;18999:2;18979:18;;;18972:30;19038:33;19018:18;;;19011:61;19089:18;;47345:65:0;18758:355:1;47345:65:0;47501:6;47485:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;47518:18:0;;:9;:18;;;;;;;;;;:28;;47540:6;;47518:9;:28;;47540:6;;47518:28;:::i;:::-;;;;-1:-1:-1;;47562:37:0;;6079:25:1;;;-1:-1:-1;;;;;47562:37:0;;;47579:1;;47562:37;;6067:2:1;6052:18;47562:37:0;;;;;;;47612:48;47640:1;47644:7;47653:6;47612:19;:48::i;:::-;47269:399;;:::o;63423:98::-;63481:7;63508:5;63512:1;63508;:5;:::i;3396:195::-;3453:7;-1:-1:-1;;;;;3481:26:0;;;3473:78;;;;-1:-1:-1;;;3473:78:0;;16523:2:1;3473:78:0;;;16505:21:1;16562:2;16542:18;;;16535:30;16601:34;16581:18;;;16574:62;-1:-1:-1;;;16652:18:1;;;16645:37;16699:19;;3473:78:0;16321:403:1;3473:78:0;-1:-1:-1;3577:5:0;3396:195::o;5366:190::-;5422:6;5458:16;5449:25;;;5441:76;;;;-1:-1:-1;;;5441:76:0;;17742:2:1;5441:76:0;;;17724:21:1;17781:2;17761:18;;;17754:30;17820:34;17800:18;;;17793:62;-1:-1:-1;;;17871:18:1;;;17864:36;17917:19;;5441:76:0;17540:402:1;61297:262:0;-1:-1:-1;;;;;56557:19:0;;;56530:7;56557:19;;;:10;:19;;;;;;;;;;;;;;;61495:56;;56557:19;;;;;61544:6;61495:16;:56::i;:::-;61297:262;;;:::o;63529:103::-;63592:7;63619:5;63623:1;63619;:5;:::i;46249:733::-;-1:-1:-1;;;;;46389:20:0;;46381:70;;;;-1:-1:-1;;;46381:70:0;;17336:2:1;46381:70:0;;;17318:21:1;17375:2;17355:18;;;17348:30;17414:34;17394:18;;;17387:62;-1:-1:-1;;;17465:18:1;;;17458:35;17510:19;;46381:70:0;17134:401:1;46381:70:0;-1:-1:-1;;;;;46470:23:0;;46462:71;;;;-1:-1:-1;;;46462:71:0;;9187:2:1;46462:71:0;;;9169:21:1;9226:2;9206:18;;;9199:30;9265:34;9245:18;;;9238:62;-1:-1:-1;;;9316:18:1;;;9309:33;9359:19;;46462:71:0;8985:399:1;46462:71:0;-1:-1:-1;;;;;46630:17:0;;46606:21;46630:17;;;;;;;;;;;46666:23;;;;46658:74;;;;-1:-1:-1;;;46658:74:0;;13361:2:1;46658:74:0;;;13343:21:1;13400:2;13380:18;;;13373:30;13439:34;13419:18;;;13412:62;-1:-1:-1;;;13490:18:1;;;13483:36;13536:19;;46658:74:0;13159:402:1;46658:74:0;-1:-1:-1;;;;;46768:17:0;;;:9;:17;;;;;;;;;;;46788:22;;;46768:42;;46832:20;;;;;;;;:30;;46804:6;;46768:9;46832:30;;46804:6;;46832:30;:::i;:::-;;;;;;;;46897:9;-1:-1:-1;;;;;46880:35:0;46889:6;-1:-1:-1;;;;;46880:35:0;;46908:6;46880:35;;;;6079:25:1;;6067:2;6052:18;;5933:177;46880:35:0;;;;;;;;46928:46;46948:6;46956:9;46967:6;46928:19;:46::i;49030:380::-;-1:-1:-1;;;;;49166:19:0;;49158:68;;;;-1:-1:-1;;;49158:68:0;;18149:2:1;49158:68:0;;;18131:21:1;18188:2;18168:18;;;18161:30;18227:34;18207:18;;;18200:62;-1:-1:-1;;;18278:18:1;;;18271:34;18322:19;;49158:68:0;17947:400:1;49158:68:0;-1:-1:-1;;;;;49245:21:0;;49237:68;;;;-1:-1:-1;;;49237:68:0;;11836:2:1;49237:68:0;;;11818:21:1;11875:2;11855:18;;;11848:30;11914:34;11894:18;;;11887:62;-1:-1:-1;;;11965:18:1;;;11958:32;12007:19;;49237:68:0;11634:398:1;49237:68:0;-1:-1:-1;;;;;49318:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;49370:32;;6079:25:1;;;49370:32:0;;6052:18:1;49370:32:0;;;;;;;49030:380;;;:::o;27958:314::-;28011:7;28043:4;-1:-1:-1;;;;;28052:12:0;28035:29;;:66;;;;;28085:16;28068:13;:33;28035:66;28031:234;;;-1:-1:-1;28125:24:0;;27958:314::o;28031:234::-;-1:-1:-1;28461:73:0;;;28211:10;28461:73;;;;7392:25:1;;;;28223:12:0;7433:18:1;;;7426:34;28237:15:0;7476:18:1;;;7469:34;28505:13:0;7519:18:1;;;7512:34;28528:4:0;7562:19:1;;;;7555:61;;;;28461:73:0;;;;;;;;;;7364:19:1;;;;28461:73:0;;;28451:84;;;;;;53302:115::o;57936:1482::-;59069:12;;58035:7;;;59118:236;59131:4;59125:3;:10;59118:236;;;59152:11;59166:23;59179:3;59184:4;59166:12;:23::i;:::-;59152:37;;59231:11;59208:5;59214:3;59208:10;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;:34;59204:139;;;59270:3;59263:10;;59204:139;;;59320:7;:3;59326:1;59320:7;:::i;:::-;59314:13;;59204:139;59137:217;59118:236;;;59373:9;;:37;;59389:5;59395:8;59402:1;59395:4;:8;:::i;:::-;59389:15;;;;;;;;:::i;:::-;;;;;;;;;;:21;;;;-1:-1:-1;;;;;59389:21:0;59373:37;;;59385:1;59373:37;-1:-1:-1;;;;;59366:44:0;;57936:1482;-1:-1:-1;;;;;57936:1482:0:o;61723:388::-;-1:-1:-1;;;;;56557:19:0;;;61808:23;56557:19;;;:10;:19;;;;;;;;;;42301:18;;;;;;;61923:21;;;;:33;;;-1:-1:-1;;;;;;61923:33:0;;;;;;;61974:54;;56557:19;;;;;42301:18;;61923:33;;56557:19;;;61974:54;;61808:23;61974:54;62041:62;62058:15;62075:9;62086:16;62041;:62::i;34949:191::-;35042:6;;;-1:-1:-1;;;;;35059:17:0;;;-1:-1:-1;;;;;;35059:17:0;;;;;;;35092:40;;35042:6;;;35059:17;35042:6;;35092:40;;35023:16;;35092:40;35012:128;34949:191;:::o;941:190::-;1066:4;1119;1090:25;1103:5;1110:4;1090:12;:25::i;:::-;:33;;941:190;-1:-1:-1;;;;941:190:0:o;29185:167::-;29262:7;29289:55;29311:20;:18;:20::i;:::-;29333:10;24655:57;;-1:-1:-1;;;24655:57:0;;;4770:27:1;4813:11;;;4806:27;;;4849:12;;;4842:28;;;24618:7:0;;4886:12:1;;24655:57:0;;;;;;;;;;;;24645:68;;;;;;24638:75;;24525:196;;;;;22834:279;22962:7;22983:17;23002:18;23024:25;23035:4;23041:1;23044;23047;23024:10;:25::i;:::-;22982:67;;;;23060:18;23072:5;23060:11;:18::i;:::-;-1:-1:-1;23096:9:0;22834:279;-1:-1:-1;;;;;22834:279:0:o;53555:207::-;-1:-1:-1;;;;;53676:14:0;;53615:15;53676:14;;;:7;:14;;;;;12537;;12674:1;12656:19;;;;12537:14;53737:17;53632:130;53555:207;;;:::o;62770:645::-;63007:12;;62944:17;;;;63042:8;;:35;;63057:5;63063:7;63069:1;63063:3;:7;:::i;:::-;63057:14;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;;-1:-1:-1;;;;;63057:20:0;63042:35;;;63053:1;63042:35;-1:-1:-1;;;;;63030:47:0;;;63100:20;63103:9;63114:5;63100:2;:20;;:::i;:::-;63088:32;;63143:1;63137:3;:7;:51;;;;-1:-1:-1;63176:12:0;63148:5;63154:7;63160:1;63154:3;:7;:::i;:::-;63148:14;;;;;;;;:::i;:::-;;;;;;;;;;:24;;;:40;63137:51;63133:275;;;63228:29;63247:9;63228:18;:29::i;:::-;63205:5;63211:7;63217:1;63211:3;:7;:::i;:::-;63205:14;;;;;;;;:::i;:::-;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;63205:52:0;;;;;-1:-1:-1;;;;;63205:52:0;;;;;;63133:275;;;63290:5;63301:94;;;;;;;;63324:31;63342:12;63324:17;:31::i;:::-;63301:94;;;;;;63364:29;63383:9;63364:18;:29::i;:::-;-1:-1:-1;;;;;63301:94:0;;;;;;63290:106;;;;;;;-1:-1:-1;63290:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63133:275;62982:433;62770:645;;;;;;:::o;70983:193::-;71125:43;71151:4;71157:2;71161:6;71125:25;:43::i;62119:643::-;62251:3;-1:-1:-1;;;;;62244:10:0;:3;-1:-1:-1;;;;;62244:10:0;;;:24;;;;;62267:1;62258:6;:10;62244:24;62240:515;;;-1:-1:-1;;;;;62289:17:0;;;62285:224;;-1:-1:-1;;;;;62385:17:0;;62328;62385;;;:12;:17;;;;;62328;;62368:54;;62404:9;62415:6;62368:16;:54::i;:::-;62327:95;;;;62467:3;-1:-1:-1;;;;;62446:47:0;;62472:9;62483;62446:47;;;;;;19825:25:1;;;19881:2;19866:18;;19859:34;19813:2;19798:18;;19651:248;62446:47:0;;;;;;;;62308:201;;62285:224;-1:-1:-1;;;;;62529:17:0;;;62525:219;;-1:-1:-1;;;;;62625:17:0;;62568;62625;;;:12;:17;;;;;62568;;62608:49;;62644:4;62650:6;62608:16;:49::i;:::-;62567:90;;;;62702:3;-1:-1:-1;;;;;62681:47:0;;62707:9;62718;62681:47;;;;;;19825:25:1;;;19881:2;19866:18;;19859:34;19813:2;19798:18;;19651:248;62681:47:0;;;;;;;;62548:196;;62119:643;;;:::o;11006:156::-;11068:7;11143:11;11153:1;11144:5;;;11143:11;:::i;:::-;11133:21;;11134:5;;;11133:21;:::i;1493:701::-;1576:7;1619:4;1576:7;1634:523;1658:5;:12;1654:1;:16;1634:523;;;1692:20;1715:5;1721:1;1715:8;;;;;;;;:::i;:::-;;;;;;;1692:31;;1758:12;1742;:28;1738:408;;1895:44;;;;;;4417:19:1;;;4452:12;;;4445:28;;;4489:12;;1895:44:0;;;;;;;;;;;;1885:55;;;;;;1870:70;;1738:408;;;2085:44;;;;;;4417:19:1;;;4452:12;;;4445:28;;;4489:12;;2085:44:0;;;;;;;;;;;;2075:55;;;;;;2060:70;;1738:408;-1:-1:-1;1672:3:0;;;;:::i;:::-;;;;1634:523;;;-1:-1:-1;2174:12:0;1493:701;-1:-1:-1;;;1493:701:0:o;21063:1632::-;21194:7;;22128:66;22115:79;;22111:163;;;-1:-1:-1;22227:1:0;;-1:-1:-1;22231:30:0;22211:51;;22111:163;22288:1;:7;;22293:2;22288:7;;:18;;;;;22299:1;:7;;22304:2;22299:7;;22288:18;22284:102;;;-1:-1:-1;22339:1:0;;-1:-1:-1;22343:30:0;22323:51;;22284:102;22500:24;;;22483:14;22500:24;;;;;;;;;7854:25:1;;;7927:4;7915:17;;7895:18;;;7888:45;;;;7949:18;;;7942:34;;;7992:18;;;7985:34;;;22500:24:0;;7826:19:1;;22500:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22500:24:0;;-1:-1:-1;;22500:24:0;;;-1:-1:-1;;;;;;;22539:20:0;;22535:103;;22592:1;22596:29;22576:50;;;;;;;22535:103;22658:6;-1:-1:-1;22666:20:0;;-1:-1:-1;21063:1632:0;;;;;;;;:::o;15725:643::-;15803:20;15794:5;:29;;;;;;;;:::i;:::-;;15790:571;;;15725:643;:::o;15790:571::-;15901:29;15892:5;:38;;;;;;;;:::i;:::-;;15888:473;;;15947:34;;-1:-1:-1;;;15947:34:0;;8834:2:1;15947:34:0;;;8816:21:1;8873:2;8853:18;;;8846:30;8912:26;8892:18;;;8885:54;8956:18;;15947:34:0;8632:348:1;15888:473:0;16012:35;16003:5;:44;;;;;;;;:::i;:::-;;15999:362;;;16064:41;;-1:-1:-1;;;16064:41:0;;10309:2:1;16064:41:0;;;10291:21:1;10348:2;10328:18;;;10321:30;10387:33;10367:18;;;10360:61;10438:18;;16064:41:0;10107:355:1;15999:362:0;16136:30;16127:5;:39;;;;;;;;:::i;:::-;;16123:238;;;16183:44;;-1:-1:-1;;;16183:44:0;;13768:2:1;16183:44:0;;;13750:21:1;13807:2;13787:18;;;13780:30;13846:34;13826:18;;;13819:62;-1:-1:-1;;;13897:18:1;;;13890:32;13939:19;;16183:44:0;13566:398:1;16123:238:0;16258:30;16249:5;:39;;;;;;;;:::i;:::-;;16245:116;;;16305:44;;-1:-1:-1;;;16305:44:0;;14171:2:1;16305:44:0;;;14153:21:1;14210:2;14190:18;;;14183:30;14249:34;14229:18;;;14222:62;-1:-1:-1;;;14300:18:1;;;14293:32;14342:19;;16305:44:0;13969:398:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:156::-;258:20;;318:4;307:16;;297:27;;287:55;;338:1;335;328:12;353:186;412:6;465:2;453:9;444:7;440:23;436:32;433:52;;;481:1;478;471:12;433:52;504:29;523:9;504:29;:::i;544:260::-;612:6;620;673:2;661:9;652:7;648:23;644:32;641:52;;;689:1;686;679:12;641:52;712:29;731:9;712:29;:::i;:::-;702:39;;760:38;794:2;783:9;779:18;760:38;:::i;:::-;750:48;;544:260;;;;;:::o;809:328::-;886:6;894;902;955:2;943:9;934:7;930:23;926:32;923:52;;;971:1;968;961:12;923:52;994:29;1013:9;994:29;:::i;:::-;984:39;;1042:38;1076:2;1065:9;1061:18;1042:38;:::i;:::-;1032:48;;1127:2;1116:9;1112:18;1099:32;1089:42;;809:328;;;;;:::o;1142:606::-;1253:6;1261;1269;1277;1285;1293;1301;1354:3;1342:9;1333:7;1329:23;1325:33;1322:53;;;1371:1;1368;1361:12;1322:53;1394:29;1413:9;1394:29;:::i;:::-;1384:39;;1442:38;1476:2;1465:9;1461:18;1442:38;:::i;:::-;1432:48;;1527:2;1516:9;1512:18;1499:32;1489:42;;1578:2;1567:9;1563:18;1550:32;1540:42;;1601:37;1633:3;1622:9;1618:19;1601:37;:::i;:::-;1591:47;;1685:3;1674:9;1670:19;1657:33;1647:43;;1737:3;1726:9;1722:19;1709:33;1699:43;;1142:606;;;;;;;;;;:::o;1753:254::-;1821:6;1829;1882:2;1870:9;1861:7;1857:23;1853:32;1850:52;;;1898:1;1895;1888:12;1850:52;1921:29;1940:9;1921:29;:::i;:::-;1911:39;1997:2;1982:18;;;;1969:32;;-1:-1:-1;;;1753:254:1:o;2012:531::-;2114:6;2122;2130;2138;2146;2154;2207:3;2195:9;2186:7;2182:23;2178:33;2175:53;;;2224:1;2221;2214:12;2175:53;2247:29;2266:9;2247:29;:::i;:::-;2237:39;;2323:2;2312:9;2308:18;2295:32;2285:42;;2374:2;2363:9;2359:18;2346:32;2336:42;;2397:36;2429:2;2418:9;2414:18;2397:36;:::i;:::-;2387:46;;2480:3;2469:9;2465:19;2452:33;2442:43;;2532:3;2521:9;2517:19;2504:33;2494:43;;2012:531;;;;;;;;:::o;2548:350::-;2615:6;2623;2676:2;2664:9;2655:7;2651:23;2647:32;2644:52;;;2692:1;2689;2682:12;2644:52;2715:29;2734:9;2715:29;:::i;:::-;2705:39;;2794:2;2783:9;2779:18;2766:32;2838:10;2831:5;2827:22;2820:5;2817:33;2807:61;;2864:1;2861;2854:12;2807:61;2887:5;2877:15;;;2548:350;;;;;:::o;2903:180::-;2962:6;3015:2;3003:9;2994:7;2990:23;2986:32;2983:52;;;3031:1;3028;3021:12;2983:52;-1:-1:-1;3054:23:1;;2903:180;-1:-1:-1;2903:180:1:o;3273:683::-;3368:6;3376;3384;3437:2;3425:9;3416:7;3412:23;3408:32;3405:52;;;3453:1;3450;3443:12;3405:52;3489:9;3476:23;3466:33;;3550:2;3539:9;3535:18;3522:32;3573:18;3614:2;3606:6;3603:14;3600:34;;;3630:1;3627;3620:12;3600:34;3668:6;3657:9;3653:22;3643:32;;3713:7;3706:4;3702:2;3698:13;3694:27;3684:55;;3735:1;3732;3725:12;3684:55;3775:2;3762:16;3801:2;3793:6;3790:14;3787:34;;;3817:1;3814;3807:12;3787:34;3870:7;3865:2;3855:6;3852:1;3848:14;3844:2;3840:23;3836:32;3833:45;3830:65;;;3891:1;3888;3881:12;3830:65;3922:2;3918;3914:11;3904:21;;3944:6;3934:16;;;;;3273:683;;;;;:::o;8030:597::-;8142:4;8171:2;8200;8189:9;8182:21;8232:6;8226:13;8275:6;8270:2;8259:9;8255:18;8248:34;8300:1;8310:140;8324:6;8321:1;8318:13;8310:140;;;8419:14;;;8415:23;;8409:30;8385:17;;;8404:2;8381:26;8374:66;8339:10;;8310:140;;;8468:6;8465:1;8462:13;8459:91;;;8538:1;8533:2;8524:6;8513:9;8509:22;8505:31;8498:42;8459:91;-1:-1:-1;8611:2:1;8590:15;-1:-1:-1;;8586:29:1;8571:45;;;;8618:2;8567:54;;8030:597;-1:-1:-1;;;8030:597:1:o;15960:356::-;16162:2;16144:21;;;16181:18;;;16174:30;16240:34;16235:2;16220:18;;16213:62;16307:2;16292:18;;15960:356::o;20290:128::-;20330:3;20361:1;20357:6;20354:1;20351:13;20348:39;;;20367:18;;:::i;:::-;-1:-1:-1;20403:9:1;;20290:128::o;20423:217::-;20463:1;20489;20479:132;;20533:10;20528:3;20524:20;20521:1;20514:31;20568:4;20565:1;20558:15;20596:4;20593:1;20586:15;20479:132;-1:-1:-1;20625:9:1;;20423:217::o;20645:125::-;20685:4;20713:1;20710;20707:8;20704:34;;;20718:18;;:::i;:::-;-1:-1:-1;20755:9:1;;20645:125::o;20775:380::-;20854:1;20850:12;;;;20897;;;20918:61;;20972:4;20964:6;20960:17;20950:27;;20918:61;21025:2;21017:6;21014:14;20994:18;20991:38;20988:161;;;21071:10;21066:3;21062:20;21059:1;21052:31;21106:4;21103:1;21096:15;21134:4;21131:1;21124:15;21160:135;21199:3;-1:-1:-1;;21220:17:1;;21217:43;;;21240:18;;:::i;:::-;-1:-1:-1;21287:1:1;21276:13;;21160:135::o;21300:127::-;21361:10;21356:3;21352:20;21349:1;21342:31;21392:4;21389:1;21382:15;21416:4;21413:1;21406:15;21432:127;21493:10;21488:3;21484:20;21481:1;21474:31;21524:4;21521:1;21514:15;21548:4;21545:1;21538:15;21564:127;21625:10;21620:3;21616:20;21613:1;21606:31;21656:4;21653:1;21646:15;21680:4;21677:1;21670:15
Swarm Source
ipfs://5f0f410cf78d6ed07a10147c863081ee42fc008271ff967db0cd1408264ae62b
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.