ERC-20
NFT
Overview
Max Total Supply
55,000 CPBT
Holders
37 (0.00%)
Market
Price
$0.00 @ 0.000000 FTM
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3.874413623206523297 CPBTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
ColorfulPixelBunniesToken
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2022-03-09 */ // 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 (last updated v4.5.0) (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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // 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/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/math/Math.sol // OpenZeppelin Contracts (last updated v4.5.0) (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/Arrays.sol // OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } // 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/security/Pausable.sol // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/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 (last updated v4.5.0) (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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @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 (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: @openzeppelin/contracts/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/ERC20Snapshot.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Snapshot.sol) pragma solidity ^0.8.0; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the begining of each new block. When overridding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping(address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _getCurrentSnapshotId(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: Colorful Pixel Bunnies Token.sol pragma solidity ^0.8.4; /// @custom:security-contact [email protected] contract ColorfulPixelBunniesToken is ERC20, ERC20Burnable, ERC20Snapshot, Ownable, Pausable, ERC20Permit { constructor() ERC20("Colorful Pixel Bunnies Token", "CPBT") ERC20Permit("Colorful Pixel Bunnies Token") { _mint(msg.sender, 222000 * 10 ** decimals()); } function snapshot() public onlyOwner { _snapshot(); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mint(address to, uint256 amount) public onlyOwner { _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override(ERC20, ERC20Snapshot) { super._beforeTokenTransfer(from, to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"snapshot","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140523480156200003757600080fd5b506040518060400160405280601c81526020017f436f6c6f7266756c20506978656c2042756e6e69657320546f6b656e0000000081525080604051806040016040528060018152602001603160f81b8152506040518060400160405280601c81526020017f436f6c6f7266756c20506978656c2042756e6e69657320546f6b656e000000008152506040518060400160405280600481526020016310d4109560e21b8152508160039080519060200190620000f492919062000539565b5080516200010a90600490602084019062000539565b50505062000127620001216200020260201b60201c565b62000206565b6009805460ff60a01b19169055815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060601b60c0526101205250620001fc9350339250620001da915050601290565b620001e790600a62000643565b620001f6906203633062000711565b62000258565b620007a0565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002b45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620002c2600083836200034f565b8060026000828254620002d69190620005df565b90915550506001600160a01b0382166000908152602081905260408120805483929062000305908490620005df565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b62000363600954600160a01b900460ff1690565b15620003a55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620002ab565b620003bd838383620003c260201b620009341760201c565b505050565b620003da838383620003bd60201b620009531760201c565b6001600160a01b038316620003fe57620003f48262000429565b620003bd62000461565b6001600160a01b0382166200041857620003f48362000429565b620004238362000429565b620003bd825b6001600160a01b038116600090815260056020908152604080832091839052909120546200045e919062000473565b62000473565b50565b6200047160066200045860025490565b565b60006200047f620004c2565b9050806200048d84620004e0565b1015620003bd578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000620004db60086200053560201b620009811760201c565b905090565b8054600090620004f257506000919050565b81548290620005049060019062000733565b815481106200052357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b5490565b82805462000547906200074d565b90600052602060002090601f0160209004810192826200056b5760008555620005b6565b82601f106200058657805160ff1916838001178555620005b6565b82800160010185558215620005b6579182015b82811115620005b657825182559160200191906001019062000599565b50620005c4929150620005c8565b5090565b5b80821115620005c45760008155600101620005c9565b60008219821115620005f557620005f56200078a565b500190565b600181815b808511156200063b5781600019048211156200061f576200061f6200078a565b808516156200062d57918102915b93841c9390800290620005ff565b509250929050565b60006200065460ff8416836200065b565b9392505050565b6000826200066c575060016200070b565b816200067b575060006200070b565b81600181146200069457600281146200069f57620006bf565b60019150506200070b565b60ff841115620006b357620006b36200078a565b50506001821b6200070b565b5060208310610133831016604e8410600b8410161715620006e4575081810a6200070b565b620006f08383620005fa565b80600019048211156200070757620007076200078a565b0290505b92915050565b60008160001904831182151516156200072e576200072e6200078a565b500290565b6000828210156200074857620007486200078a565b500390565b600181811c908216806200076257607f821691505b602082108114156200078457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160601c60e051610100516101205161014051611bce620007fe600039600061078c01526000610d9e01526000610ded01526000610dc801526000610d2101526000610d4b01526000610d750152611bce6000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de5780639711715a11610097578063a9059cbb11610071578063a9059cbb14610328578063d505accf1461033b578063dd62ed3e1461034e578063f2fde38b1461038757600080fd5b80639711715a146102fa578063981b24d014610302578063a457c2d71461031557600080fd5b8063715018a6146102a157806379cc6790146102a95780637ecebe00146102bc5780638456cb59146102cf5780638da5cb5b146102d757806395d89b41146102f257600080fd5b8063395093511161014b57806342966c681161012557806342966c68146102405780634ee2cd7e146102535780635c975abb1461026657806370a082311461027857600080fd5b806339509351146102105780633f4ba83a1461022357806340c10f191461022d57600080fd5b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101d457806323b872dd146101e6578063313ce567146101f95780633644e51514610208575b600080fd5b61019b61039a565b6040516101a89190611a76565b60405180910390f35b6101c46101bf366004611a35565b61042c565b60405190151581526020016101a8565b6002545b6040519081526020016101a8565b6101c46101f4366004611989565b610446565b604051601281526020016101a8565b6101d861046a565b6101c461021e366004611a35565b610479565b61022b6104b8565b005b61022b61023b366004611a35565b6104f5565b61022b61024e366004611a5e565b61052d565b6101d8610261366004611a35565b61053a565b600954600160a01b900460ff166101c4565b6101d861028636600461193d565b6001600160a01b031660009081526020819052604090205490565b61022b610593565b61022b6102b7366004611a35565b6105c7565b6101d86102ca36600461193d565b6105dc565b61022b6105fa565b6009546040516001600160a01b0390911681526020016101a8565b61019b61062c565b61022b61063b565b6101d8610310366004611a5e565b61066d565b6101c4610323366004611a35565b610698565b6101c4610336366004611a35565b61072a565b61022b6103493660046119c4565b610738565b6101d861035c366004611957565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022b61039536600461193d565b61089c565b6060600380546103a990611b4d565b80601f01602080910402602001604051908101604052809291908181526020018280546103d590611b4d565b80156104225780601f106103f757610100808354040283529160200191610422565b820191906000526020600020905b81548152906001019060200180831161040557829003601f168201915b5050505050905090565b60003361043a818585610985565b60019150505b92915050565b600033610454858285610aa9565b61045f858585610b3b565b506001949350505050565b6000610474610d14565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061043a90829086906104b3908790611afe565b610985565b6009546001600160a01b031633146104eb5760405162461bcd60e51b81526004016104e290611ac9565b60405180910390fd5b6104f3610e3b565b565b6009546001600160a01b0316331461051f5760405162461bcd60e51b81526004016104e290611ac9565b6105298282610ed8565b5050565b6105373382610fc3565b50565b6001600160a01b03821660009081526005602052604081208190819061056190859061111d565b9150915081610588576001600160a01b03851660009081526020819052604090205461058a565b805b95945050505050565b6009546001600160a01b031633146105bd5760405162461bcd60e51b81526004016104e290611ac9565b6104f36000611222565b6105d2823383610aa9565b6105298282610fc3565b6001600160a01b0381166000908152600a6020526040812054610440565b6009546001600160a01b031633146106245760405162461bcd60e51b81526004016104e290611ac9565b6104f3611274565b6060600480546103a990611b4d565b6009546001600160a01b031633146106655760405162461bcd60e51b81526004016104e290611ac9565b6105376112fc565b600080600061067d84600661111d565b915091508161068e57600254610690565b805b949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561071d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104e2565b61045f8286868403610985565b60003361043a818585610b3b565b834211156107885760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016104e2565b60007f00000000000000000000000000000000000000000000000000000000000000008888886107b78c611356565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006108128261137e565b90506000610822828787876113cc565b9050896001600160a01b0316816001600160a01b0316146108855760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016104e2565b6108908a8a8a610985565b50505050505050505050565b6009546001600160a01b031633146108c65760405162461bcd60e51b81526004016104e290611ac9565b6001600160a01b03811661092b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e2565b61053781611222565b6001600160a01b0383166109585761094b826113f4565b610953611426565b505050565b6001600160a01b03821661096f5761094b836113f4565b610978836113f4565b610953826113f4565b5490565b6001600160a01b0383166109e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e2565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b355781811015610b285760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104e2565b610b358484848403610985565b50505050565b6001600160a01b038316610b9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e2565b6001600160a01b038216610c015760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e2565b610c0c838383611434565b6001600160a01b03831660009081526020819052604090205481811015610c845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104e2565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610cbb908490611afe565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0791815260200190565b60405180910390a3610b35565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610d6d57507f000000000000000000000000000000000000000000000000000000000000000046145b15610d9757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600954600160a01b900460ff16610e8b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104e2565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610f2e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104e2565b610f3a60008383611434565b8060026000828254610f4c9190611afe565b90915550506001600160a01b03821660009081526020819052604081208054839290610f79908490611afe565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110235760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104e2565b61102f82600083611434565b6001600160a01b038216600090815260208190526040902054818110156110a35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104e2565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110d2908490611b36565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600080600084116111695760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104e2565b61117161148c565b8411156111c05760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104e2565b60006111cc8486611497565b84549091508114156111e557600080925092505061121b565b600184600101828154811061120a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600954600160a01b900460ff16156112c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016104e2565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ebb3390565b600061130c600880546001019055565b600061131661148c565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161134991815260200190565b60405180910390a1919050565b6001600160a01b0381166000908152600a602052604090208054600181018255905b50919050565b600061044061138b610d14565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006113dd87878787611576565b915091506113ea81611663565b5095945050505050565b6001600160a01b038116600090815260056020908152604080832091839052909120546105379190611864565b611864565b6104f3600661142160025490565b600954600160a01b900460ff16156114815760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016104e2565b610953838383610934565b600061047460085490565b81546000906114a857506000610440565b82546000905b808210156115125760006114c283836118ae565b9050848682815481106114e557634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156114fe5780915061150c565b611509816001611afe565b92505b506114ae565b6000821180156115555750838561152a600185611b36565b8154811061154857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154145b1561156e57611565600183611b36565b92505050610440565b509050610440565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115ad575060009050600361165a565b8460ff16601b141580156115c557508460ff16601c14155b156115d6575060009050600461165a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561162a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116535760006001925092505061165a565b9150600090505b94509492505050565b600081600481111561168557634e487b7160e01b600052602160045260246000fd5b141561168e5750565b60018160048111156116b057634e487b7160e01b600052602160045260246000fd5b14156116fe5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104e2565b600281600481111561172057634e487b7160e01b600052602160045260246000fd5b141561176e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104e2565b600381600481111561179057634e487b7160e01b600052602160045260246000fd5b14156117e95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104e2565b600481600481111561180b57634e487b7160e01b600052602160045260246000fd5b14156105375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104e2565b600061186e61148c565b90508061187a846118d0565b1015610953578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60006118bd6002848418611b16565b6118c990848416611afe565b9392505050565b80546000906118e157506000919050565b815482906118f190600190611b36565b8154811061190f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b919050565b80356001600160a01b038116811461192157600080fd5b60006020828403121561194e578081fd5b6118c982611926565b60008060408385031215611969578081fd5b61197283611926565b915061198060208401611926565b90509250929050565b60008060006060848603121561199d578081fd5b6119a684611926565b92506119b460208501611926565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119de578283fd5b6119e788611926565b96506119f560208901611926565b95506040880135945060608801359350608088013560ff81168114611a18578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a47578182fd5b611a5083611926565b946020939093013593505050565b600060208284031215611a6f578081fd5b5035919050565b6000602080835283518082850152825b81811015611aa257858101830151858201604001528201611a86565b81811115611ab35783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611b1157611b11611b82565b500190565b600082611b3157634e487b7160e01b81526012600452602481fd5b500490565b600082821015611b4857611b48611b82565b500390565b600181811c90821680611b6157607f821691505b6020821081141561137857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212202ef30a03e10fd792dfda10a9273b8193f121fddeae4c147136e9fcfcef07a40e64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de5780639711715a11610097578063a9059cbb11610071578063a9059cbb14610328578063d505accf1461033b578063dd62ed3e1461034e578063f2fde38b1461038757600080fd5b80639711715a146102fa578063981b24d014610302578063a457c2d71461031557600080fd5b8063715018a6146102a157806379cc6790146102a95780637ecebe00146102bc5780638456cb59146102cf5780638da5cb5b146102d757806395d89b41146102f257600080fd5b8063395093511161014b57806342966c681161012557806342966c68146102405780634ee2cd7e146102535780635c975abb1461026657806370a082311461027857600080fd5b806339509351146102105780633f4ba83a1461022357806340c10f191461022d57600080fd5b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101d457806323b872dd146101e6578063313ce567146101f95780633644e51514610208575b600080fd5b61019b61039a565b6040516101a89190611a76565b60405180910390f35b6101c46101bf366004611a35565b61042c565b60405190151581526020016101a8565b6002545b6040519081526020016101a8565b6101c46101f4366004611989565b610446565b604051601281526020016101a8565b6101d861046a565b6101c461021e366004611a35565b610479565b61022b6104b8565b005b61022b61023b366004611a35565b6104f5565b61022b61024e366004611a5e565b61052d565b6101d8610261366004611a35565b61053a565b600954600160a01b900460ff166101c4565b6101d861028636600461193d565b6001600160a01b031660009081526020819052604090205490565b61022b610593565b61022b6102b7366004611a35565b6105c7565b6101d86102ca36600461193d565b6105dc565b61022b6105fa565b6009546040516001600160a01b0390911681526020016101a8565b61019b61062c565b61022b61063b565b6101d8610310366004611a5e565b61066d565b6101c4610323366004611a35565b610698565b6101c4610336366004611a35565b61072a565b61022b6103493660046119c4565b610738565b6101d861035c366004611957565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022b61039536600461193d565b61089c565b6060600380546103a990611b4d565b80601f01602080910402602001604051908101604052809291908181526020018280546103d590611b4d565b80156104225780601f106103f757610100808354040283529160200191610422565b820191906000526020600020905b81548152906001019060200180831161040557829003601f168201915b5050505050905090565b60003361043a818585610985565b60019150505b92915050565b600033610454858285610aa9565b61045f858585610b3b565b506001949350505050565b6000610474610d14565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061043a90829086906104b3908790611afe565b610985565b6009546001600160a01b031633146104eb5760405162461bcd60e51b81526004016104e290611ac9565b60405180910390fd5b6104f3610e3b565b565b6009546001600160a01b0316331461051f5760405162461bcd60e51b81526004016104e290611ac9565b6105298282610ed8565b5050565b6105373382610fc3565b50565b6001600160a01b03821660009081526005602052604081208190819061056190859061111d565b9150915081610588576001600160a01b03851660009081526020819052604090205461058a565b805b95945050505050565b6009546001600160a01b031633146105bd5760405162461bcd60e51b81526004016104e290611ac9565b6104f36000611222565b6105d2823383610aa9565b6105298282610fc3565b6001600160a01b0381166000908152600a6020526040812054610440565b6009546001600160a01b031633146106245760405162461bcd60e51b81526004016104e290611ac9565b6104f3611274565b6060600480546103a990611b4d565b6009546001600160a01b031633146106655760405162461bcd60e51b81526004016104e290611ac9565b6105376112fc565b600080600061067d84600661111d565b915091508161068e57600254610690565b805b949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561071d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104e2565b61045f8286868403610985565b60003361043a818585610b3b565b834211156107885760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016104e2565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886107b78c611356565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006108128261137e565b90506000610822828787876113cc565b9050896001600160a01b0316816001600160a01b0316146108855760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016104e2565b6108908a8a8a610985565b50505050505050505050565b6009546001600160a01b031633146108c65760405162461bcd60e51b81526004016104e290611ac9565b6001600160a01b03811661092b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e2565b61053781611222565b6001600160a01b0383166109585761094b826113f4565b610953611426565b505050565b6001600160a01b03821661096f5761094b836113f4565b610978836113f4565b610953826113f4565b5490565b6001600160a01b0383166109e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e2565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b355781811015610b285760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104e2565b610b358484848403610985565b50505050565b6001600160a01b038316610b9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e2565b6001600160a01b038216610c015760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e2565b610c0c838383611434565b6001600160a01b03831660009081526020819052604090205481811015610c845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104e2565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610cbb908490611afe565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0791815260200190565b60405180910390a3610b35565b6000306001600160a01b037f0000000000000000000000001474a87eaaf4346dc73459edf1c279d94d55390916148015610d6d57507f00000000000000000000000000000000000000000000000000000000000000fa46145b15610d9757507fddd4ec22df53816766a2ef20af3b5b7a2dd548b7c4e95a2512a4989aadb2cb8890565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f91f54d5f97603e8ed4857fa7e26ab4d1449bce786f222b19251d17b78f684e23828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600954600160a01b900460ff16610e8b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104e2565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610f2e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104e2565b610f3a60008383611434565b8060026000828254610f4c9190611afe565b90915550506001600160a01b03821660009081526020819052604081208054839290610f79908490611afe565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110235760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104e2565b61102f82600083611434565b6001600160a01b038216600090815260208190526040902054818110156110a35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104e2565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110d2908490611b36565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600080600084116111695760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104e2565b61117161148c565b8411156111c05760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104e2565b60006111cc8486611497565b84549091508114156111e557600080925092505061121b565b600184600101828154811061120a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600954600160a01b900460ff16156112c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016104e2565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ebb3390565b600061130c600880546001019055565b600061131661148c565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161134991815260200190565b60405180910390a1919050565b6001600160a01b0381166000908152600a602052604090208054600181018255905b50919050565b600061044061138b610d14565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006113dd87878787611576565b915091506113ea81611663565b5095945050505050565b6001600160a01b038116600090815260056020908152604080832091839052909120546105379190611864565b611864565b6104f3600661142160025490565b600954600160a01b900460ff16156114815760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016104e2565b610953838383610934565b600061047460085490565b81546000906114a857506000610440565b82546000905b808210156115125760006114c283836118ae565b9050848682815481106114e557634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156114fe5780915061150c565b611509816001611afe565b92505b506114ae565b6000821180156115555750838561152a600185611b36565b8154811061154857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154145b1561156e57611565600183611b36565b92505050610440565b509050610440565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115ad575060009050600361165a565b8460ff16601b141580156115c557508460ff16601c14155b156115d6575060009050600461165a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561162a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116535760006001925092505061165a565b9150600090505b94509492505050565b600081600481111561168557634e487b7160e01b600052602160045260246000fd5b141561168e5750565b60018160048111156116b057634e487b7160e01b600052602160045260246000fd5b14156116fe5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104e2565b600281600481111561172057634e487b7160e01b600052602160045260246000fd5b141561176e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104e2565b600381600481111561179057634e487b7160e01b600052602160045260246000fd5b14156117e95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104e2565b600481600481111561180b57634e487b7160e01b600052602160045260246000fd5b14156105375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104e2565b600061186e61148c565b90508061187a846118d0565b1015610953578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60006118bd6002848418611b16565b6118c990848416611afe565b9392505050565b80546000906118e157506000919050565b815482906118f190600190611b36565b8154811061190f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b919050565b80356001600160a01b038116811461192157600080fd5b60006020828403121561194e578081fd5b6118c982611926565b60008060408385031215611969578081fd5b61197283611926565b915061198060208401611926565b90509250929050565b60008060006060848603121561199d578081fd5b6119a684611926565b92506119b460208501611926565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119de578283fd5b6119e788611926565b96506119f560208901611926565b95506040880135945060608801359350608088013560ff81168114611a18578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a47578182fd5b611a5083611926565b946020939093013593505050565b600060208284031215611a6f578081fd5b5035919050565b6000602080835283518082850152825b81811015611aa257858101830151858201604001528201611a86565b81811115611ab35783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611b1157611b11611b82565b500190565b600082611b3157634e487b7160e01b81526012600452602481fd5b500490565b600082821015611b4857611b48611b82565b500390565b600181811c90821680611b6157607f821691505b6020821081141561137857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212202ef30a03e10fd792dfda10a9273b8193f121fddeae4c147136e9fcfcef07a40e64736f6c63430008040033
Deployed Bytecode Sourcemap
58428:855:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34491:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36842:201;;;;;;:::i;:::-;;:::i;:::-;;;2963:14:1;;2956:22;2938:41;;2926:2;2911:18;36842:201:0;2893:92:1;35611:108:0;35699:12;;35611:108;;;3136:25:1;;;3124:2;3109:18;35611:108:0;3091:76:1;37623:295:0;;;;;;:::i;:::-;;:::i;35453:93::-;;;35536:2;13958:36:1;;13946:2;13931:18;35453:93:0;13913:87:1;47718:115:0;;;:::i;38327:240::-;;;;;;:::i;:::-;;:::i;58883:65::-;;;:::i;:::-;;58956:95;;;;;;:::i;:::-;;:::i;57701:91::-;;;;;;:::i;:::-;;:::i;53223:266::-;;;;;;:::i;:::-;;:::i;25015:86::-;25086:7;;-1:-1:-1;;;25086:7:0;;;;25015:86;;35782:127;;;;;;:::i;:::-;-1:-1:-1;;;;;35883:18:0;35856:7;35883:18;;;;;;;;;;;;35782:127;27914:103;;;:::i;58111:164::-;;;;;;:::i;:::-;;:::i;47460:128::-;;;;;;:::i;:::-;;:::i;58814:61::-;;;:::i;27263:87::-;27336:6;;27263:87;;-1:-1:-1;;;;;27336:6:0;;;2736:51:1;;2724:2;2709:18;27263:87:0;2691:102:1;34710:104:0;;;:::i;58739:67::-;;;:::i;53593:234::-;;;;;;:::i;:::-;;:::i;39070:438::-;;;;;;:::i;:::-;;:::i;36115:193::-;;;;;;:::i;:::-;;:::i;46749:645::-;;;;;;:::i;:::-;;:::i;36371:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;36487:18:0;;;36460:7;36487:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;36371:151;28172:201;;;;;;:::i;:::-;;:::i;34491:100::-;34545:13;34578:5;34571:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34491:100;:::o;36842:201::-;36925:4;23749:10;36981:32;23749:10;36997:7;37006:6;36981:8;:32::i;:::-;37031:4;37024:11;;;36842:201;;;;;:::o;37623:295::-;37754:4;23749:10;37812:38;37828:4;23749:10;37843:6;37812:15;:38::i;:::-;37861:27;37871:4;37877:2;37881:6;37861:9;:27::i;:::-;-1:-1:-1;37906:4:0;;37623:295;-1:-1:-1;;;;37623:295:0:o;47718:115::-;47778:7;47805:20;:18;:20::i;:::-;47798:27;;47718:115;:::o;38327:240::-;23749:10;38415:4;38496:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;38496:27:0;;;;;;;;;;38415:4;;23749:10;38471:66;;23749:10;;38496:27;;:40;;38526:10;;38496:40;:::i;:::-;38471:8;:66::i;58883:65::-;27336:6;;-1:-1:-1;;;;;27336:6:0;23749:10;27483:23;27475:68;;;;-1:-1:-1;;;27475:68:0;;;;;;;:::i;:::-;;;;;;;;;58930:10:::1;:8;:10::i;:::-;58883:65::o:0;58956:95::-;27336:6;;-1:-1:-1;;;;;27336:6:0;23749:10;27483:23;27475:68;;;;-1:-1:-1;;;27475:68:0;;;;;;;:::i;:::-;59026:17:::1;59032:2;59036:6;59026:5;:17::i;:::-;58956:95:::0;;:::o;57701:91::-;57757:27;23749:10;57777:6;57757:5;:27::i;:::-;57701:91;:::o;53223:266::-;-1:-1:-1;;;;;53387:33:0;;53310:7;53387:33;;;:24;:33;;;;;53310:7;;;;53366:55;;53375:10;;53366:8;:55::i;:::-;53330:91;;;;53441:11;:40;;-1:-1:-1;;;;;35883:18:0;;35856:7;35883:18;;;;;;;;;;;53441:40;;;53455:5;53441:40;53434:47;53223:266;-1:-1:-1;;;;;53223:266:0:o;27914:103::-;27336:6;;-1:-1:-1;;;;;27336:6:0;23749:10;27483:23;27475:68;;;;-1:-1:-1;;;27475:68:0;;;;;;;:::i;:::-;27979:30:::1;28006:1;27979:18;:30::i;58111:164::-:0;58188:46;58204:7;23749:10;58227:6;58188:15;:46::i;:::-;58245:22;58251:7;58260:6;58245:5;:22::i;47460:128::-;-1:-1:-1;;;;;47556:14:0;;47529:7;47556:14;;;:7;:14;;;;;19618;47556:24;19526:114;58814:61;27336:6;;-1:-1:-1;;;;;27336:6:0;23749:10;27483:23;27475:68;;;;-1:-1:-1;;;27475:68:0;;;;;;;:::i;:::-;58859:8:::1;:6;:8::i;34710:104::-:0;34766:13;34799:7;34792:14;;;;;:::i;58739:67::-;27336:6;;-1:-1:-1;;;;;27336:6:0;23749:10;27483:23;27475:68;;;;-1:-1:-1;;;27475:68:0;;;;;;;:::i;:::-;58787:11:::1;:9;:11::i;53593:234::-:0;53665:7;53686:16;53704:13;53721:43;53730:10;53742:21;53721:8;:43::i;:::-;53685:79;;;;53784:11;:35;;35699:12;;53784:35;;;53798:5;53784:35;53777:42;53593:234;-1:-1:-1;;;;53593:234:0:o;39070:438::-;23749:10;39163:4;39246:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;39246:27:0;;;;;;;;;;39163:4;;23749:10;39292:35;;;;39284:85;;;;-1:-1:-1;;;39284:85:0;;13070:2:1;39284:85:0;;;13052:21:1;13109:2;13089:18;;;13082:30;13148:34;13128:18;;;13121:62;-1:-1:-1;;;13199:18:1;;;13192:35;13244:19;;39284:85:0;13042:227:1;39284:85:0;39405:60;39414:5;39421:7;39449:15;39430:16;:34;39405:8;:60::i;36115:193::-;36194:4;23749:10;36250:28;23749:10;36267:2;36271:6;36250:9;:28::i;46749:645::-;46993:8;46974:15;:27;;46966:69;;;;-1:-1:-1;;;46966:69:0;;8870:2:1;46966:69:0;;;8852:21:1;8909:2;8889:18;;;8882:30;8948:31;8928:18;;;8921:59;8997:18;;46966:69:0;8842:179:1;46966:69:0;47048:18;47090:16;47108:5;47115:7;47124:5;47131:16;47141:5;47131:9;:16::i;:::-;47079:79;;;;;;3459:25:1;;;;-1:-1:-1;;;;;3558:15:1;;;3538:18;;;3531:43;3610:15;;;;3590:18;;;3583:43;3642:18;;;3635:34;3685:19;;;3678:35;3729:19;;;3722:35;;;3431:19;;47079:79:0;;;;;;;;;;;;47069:90;;;;;;47048:111;;47172:12;47187:28;47204:10;47187:16;:28::i;:::-;47172:43;;47228:14;47245:28;47259:4;47265:1;47268;47271;47245:13;:28::i;:::-;47228:45;;47302:5;-1:-1:-1;;;;;47292:15:0;:6;-1:-1:-1;;;;;47292:15:0;;47284:58;;;;-1:-1:-1;;;47284:58:0;;10786:2:1;47284:58:0;;;10768:21:1;10825:2;10805:18;;;10798:30;10864:32;10844:18;;;10837:60;10914:18;;47284:58:0;10758:180:1;47284:58:0;47355:31;47364:5;47371:7;47380:5;47355:8;:31::i;:::-;46749:645;;;;;;;;;;:::o;28172:201::-;27336:6;;-1:-1:-1;;;;;27336:6:0;23749:10;27483:23;27475:68;;;;-1:-1:-1;;;27475:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28261:22:0;::::1;28253:73;;;::::0;-1:-1:-1;;;28253:73:0;;7702:2:1;28253:73:0::1;::::0;::::1;7684:21:1::0;7741:2;7721:18;;;7714:30;7780:34;7760:18;;;7753:62;-1:-1:-1;;;7831:18:1;;;7824:36;7877:19;;28253:73:0::1;7674:228:1::0;28253:73:0::1;28337:28;28356:8;28337:18;:28::i;54044:622::-:0;-1:-1:-1;;;;;54248:18:0;;54244:415;;54304:26;54327:2;54304:22;:26::i;:::-;54345:28;:26;:28::i;:::-;54044:622;;;:::o;54244:415::-;-1:-1:-1;;;;;54395:16:0;;54391:268;;54449:28;54472:4;54449:22;:28::i;54391:268::-;54578:28;54601:4;54578:22;:28::i;:::-;54621:26;54644:2;54621:22;:26::i;19526:114::-;19618:14;;19526:114::o;42706:380::-;-1:-1:-1;;;;;42842:19:0;;42834:68;;;;-1:-1:-1;;;42834:68:0;;12314:2:1;42834:68:0;;;12296:21:1;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;-1:-1:-1;;;12443:18:1;;;12436:34;12487:19;;42834:68:0;12286:226:1;42834:68:0;-1:-1:-1;;;;;42921:21:0;;42913:68;;;;-1:-1:-1;;;42913:68:0;;8109:2:1;42913:68:0;;;8091:21:1;8148:2;8128:18;;;8121:30;8187:34;8167:18;;;8160:62;-1:-1:-1;;;8238:18:1;;;8231:32;8280:19;;42913:68:0;8081:224:1;42913:68:0;-1:-1:-1;;;;;42994:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;43046:32;;3136:25:1;;;43046:32:0;;3109:18:1;43046:32:0;;;;;;;42706:380;;;:::o;43373:453::-;-1:-1:-1;;;;;36487:18:0;;;43508:24;36487:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;43575:37:0;;43571:248;;43657:6;43637:16;:26;;43629:68;;;;-1:-1:-1;;;43629:68:0;;8512:2:1;43629:68:0;;;8494:21:1;8551:2;8531:18;;;8524:30;8590:31;8570:18;;;8563:59;8639:18;;43629:68:0;8484:179:1;43629:68:0;43741:51;43750:5;43757:7;43785:6;43766:16;:25;43741:8;:51::i;:::-;43373:453;;;;:::o;39987:671::-;-1:-1:-1;;;;;40118:18:0;;40110:68;;;;-1:-1:-1;;;40110:68:0;;11908:2:1;40110:68:0;;;11890:21:1;11947:2;11927:18;;;11920:30;11986:34;11966:18;;;11959:62;-1:-1:-1;;;12037:18:1;;;12030:35;12082:19;;40110:68:0;11880:227:1;40110:68:0;-1:-1:-1;;;;;40197:16:0;;40189:64;;;;-1:-1:-1;;;40189:64:0;;6186:2:1;40189:64:0;;;6168:21:1;6225:2;6205:18;;;6198:30;6264:34;6244:18;;;6237:62;-1:-1:-1;;;6315:18:1;;;6308:33;6358:19;;40189:64:0;6158:225:1;40189:64:0;40266:38;40287:4;40293:2;40297:6;40266:20;:38::i;:::-;-1:-1:-1;;;;;40339:15:0;;40317:19;40339:15;;;;;;;;;;;40373:21;;;;40365:72;;;;-1:-1:-1;;;40365:72:0;;9228:2:1;40365:72:0;;;9210:21:1;9267:2;9247:18;;;9240:30;9306:34;9286:18;;;9279:62;-1:-1:-1;;;9357:18:1;;;9350:36;9403:19;;40365:72:0;9200:228:1;40365:72:0;-1:-1:-1;;;;;40473:15:0;;;:9;:15;;;;;;;;;;;40491:20;;;40473:38;;40533:13;;;;;;;;:23;;40505:6;;40473:9;40533:23;;40505:6;;40533:23;:::i;:::-;;;;;;;;40589:2;-1:-1:-1;;;;;40574:26:0;40583:4;-1:-1:-1;;;;;40574:26:0;;40593:6;40574:26;;;;3136:25:1;;3124:2;3109:18;;3091:76;40574:26:0;;;;;;;;40613:37;54044:622;14888:314;14941:7;14973:4;-1:-1:-1;;;;;14982:12:0;14965:29;;:66;;;;;15015:16;14998:13;:33;14965:66;14961:234;;;-1:-1:-1;15055:24:0;;14888:314::o;14961:234::-;-1:-1:-1;15391:73:0;;;15141:10;15391:73;;;;4027:25:1;;;;15153:12:0;4068:18:1;;;4061:34;15167:15:0;4111:18:1;;;4104:34;15435:13:0;4154:18:1;;;4147:34;15458:4:0;4197:19:1;;;;4190:61;;;;15391:73:0;;;;;;;;;;3999:19:1;;;;15391:73:0;;;15381:84;;;;;;47718:115::o;26074:120::-;25086:7;;-1:-1:-1;;;25086:7:0;;;;25610:41;;;;-1:-1:-1;;;25610:41:0;;6590:2:1;25610:41:0;;;6572:21:1;6629:2;6609:18;;;6602:30;-1:-1:-1;;;6648:18:1;;;6641:50;6708:18;;25610:41:0;6562:170:1;25610:41:0;26133:7:::1;:15:::0;;-1:-1:-1;;;;26133:15:0::1;::::0;;26164:22:::1;23749:10:::0;26173:12:::1;26164:22;::::0;-1:-1:-1;;;;;2754:32:1;;;2736:51;;2724:2;2709:18;26164:22:0::1;;;;;;;26074:120::o:0;40945:399::-;-1:-1:-1;;;;;41029:21:0;;41021:65;;;;-1:-1:-1;;;41021:65:0;;13476:2:1;41021:65:0;;;13458:21:1;13515:2;13495:18;;;13488:30;13554:33;13534:18;;;13527:61;13605:18;;41021:65:0;13448:181:1;41021:65:0;41099:49;41128:1;41132:7;41141:6;41099:20;:49::i;:::-;41177:6;41161:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;41194:18:0;;:9;:18;;;;;;;;;;:28;;41216:6;;41194:9;:28;;41216:6;;41194:28;:::i;:::-;;;;-1:-1:-1;;41238:37:0;;3136:25:1;;;-1:-1:-1;;;;;41238:37:0;;;41255:1;;41238:37;;3124:2:1;3109:18;41238:37:0;;;;;;;58956:95;;:::o;41677:591::-;-1:-1:-1;;;;;41761:21:0;;41753:67;;;;-1:-1:-1;;;41753:67:0;;11506:2:1;41753:67:0;;;11488:21:1;11545:2;11525:18;;;11518:30;11584:34;11564:18;;;11557:62;-1:-1:-1;;;11635:18:1;;;11628:31;11676:19;;41753:67:0;11478:223:1;41753:67:0;41833:49;41854:7;41871:1;41875:6;41833:20;:49::i;:::-;-1:-1:-1;;;;;41920:18:0;;41895:22;41920:18;;;;;;;;;;;41957:24;;;;41949:71;;;;-1:-1:-1;;;41949:71:0;;6939:2:1;41949:71:0;;;6921:21:1;6978:2;6958:18;;;6951:30;7017:34;6997:18;;;6990:62;-1:-1:-1;;;7068:18:1;;;7061:32;7110:19;;41949:71:0;6911:224:1;41949:71:0;-1:-1:-1;;;;;42056:18:0;;:9;:18;;;;;;;;;;42077:23;;;42056:44;;42122:12;:22;;42094:6;;42056:9;42122:22;;42094:6;;42122:22;:::i;:::-;;;;-1:-1:-1;;42162:37:0;;3136:25:1;;;42188:1:0;;-1:-1:-1;;;;;42162:37:0;;;;;3124:2:1;3109:18;42162:37:0;;;;;;;54044:622;;;:::o;54674:1619::-;54763:4;54769:7;54810:1;54797:10;:14;54789:49;;;;-1:-1:-1;;;54789:49:0;;12719:2:1;54789:49:0;;;12701:21:1;12758:2;12738:18;;;12731:30;-1:-1:-1;;;12777:18:1;;;12770:52;12839:18;;54789:49:0;12691:172:1;54789:49:0;54871:23;:21;:23::i;:::-;54857:10;:37;;54849:79;;;;-1:-1:-1;;;54849:79:0;;5828:2:1;54849:79:0;;;5810:21:1;5867:2;5847:18;;;5840:30;5906:31;5886:18;;;5879:59;5955:18;;54849:79:0;5800:179:1;54849:79:0;56067:13;56083:40;:9;56112:10;56083:28;:40::i;:::-;56149:20;;56067:56;;-1:-1:-1;56140:29:0;;56136:150;;;56194:5;56201:1;56186:17;;;;;;;56136:150;56244:4;56250:9;:16;;56267:5;56250:23;;;;;;-1:-1:-1;;;56250:23:0;;;;;;;;;;;;;;;;;56236:38;;;;;54674:1619;;;;;;:::o;28533:191::-;28626:6;;;-1:-1:-1;;;;;28643:17:0;;;-1:-1:-1;;;;;;28643:17:0;;;;;;;28676:40;;28626:6;;;28643:17;28626:6;;28676:40;;28607:16;;28676:40;28533:191;;:::o;25815:118::-;25086:7;;-1:-1:-1;;;25086:7:0;;;;25340:9;25332:38;;;;-1:-1:-1;;;25332:38:0;;10038:2:1;25332:38:0;;;10020:21:1;10077:2;10057:18;;;10050:30;-1:-1:-1;;;10096:18:1;;;10089:46;10152:18;;25332:38:0;10010:166:1;25332:38:0;25875:7:::1;:14:::0;;-1:-1:-1;;;;25875:14:0::1;-1:-1:-1::0;;;25875:14:0::1;::::0;;25905:20:::1;25912:12;23749:10:::0;;23669:98;52695:223;52742:7;52762:30;:18;19737:19;;19755:1;19737:19;;;19648:127;52762:30;52805:17;52825:23;:21;:23::i;:::-;52805:43;;52864:19;52873:9;52864:19;;;;3136:25:1;;3124:2;3109:18;;3091:76;52864:19:0;;;;;;;;52901:9;52695:223;-1:-1:-1;52695:223:0:o;47971:207::-;-1:-1:-1;;;;;48092:14:0;;48031:15;48092:14;;;:7;:14;;;;;19618;;19755:1;19737:19;;;;19618:14;48153:17;47971:207;;;;:::o;16115:167::-;16192:7;16219:55;16241:20;:18;:20::i;:::-;16263:10;11585:57;;-1:-1:-1;;;11585:57:0;;;2451:27:1;2494:11;;;2487:27;;;2530:12;;;2523:28;;;11548:7:0;;2567:12:1;;11585:57:0;;;;;;;;;;;;11575:68;;;;;;11568:75;;11455:196;;;;;9764:279;9892:7;9913:17;9932:18;9954:25;9965:4;9971:1;9974;9977;9954:10;:25::i;:::-;9912:67;;;;9990:18;10002:5;9990:11;:18::i;:::-;-1:-1:-1;10026:9:0;9764:279;-1:-1:-1;;;;;9764:279:0:o;56301:146::-;-1:-1:-1;;;;;56385:33:0;;;;;;:24;:33;;;;;;;;35883:18;;;;;;;;56369:70;;56385:33;56369:15;:70::i;56420:18::-;56369:15;:70::i;56455:118::-;56512:53;56528:21;56551:13;35699:12;;;35611:108;59059:221;25086:7;;-1:-1:-1;;;25086:7:0;;;;25340:9;25332:38;;;;-1:-1:-1;;;25332:38:0;;10038:2:1;25332:38:0;;;10020:21:1;10077:2;10057:18;;;10050:30;-1:-1:-1;;;10096:18:1;;;10089:46;10152:18;;25332:38:0;10010:166:1;25332:38:0;59228:44:::1;59255:4;59261:2;59265:6;59228:26;:44::i;52984:127::-:0;53048:7;53075:28;:18;19618:14;;19526:114;22065:918;22178:12;;22154:7;;22174:58;;-1:-1:-1;22219:1:0;22212:8;;22174:58;22285:12;;22244:11;;22310:424;22323:4;22317:3;:10;22310:424;;;22344:11;22358:23;22371:3;22376:4;22358:12;:23::i;:::-;22344:37;;22615:7;22602:5;22608:3;22602:10;;;;;;-1:-1:-1;;;22602:10:0;;;;;;;;;;;;;;;;;:20;22598:125;;;22650:3;22643:10;;22598:125;;;22700:7;:3;22706:1;22700:7;:::i;:::-;22694:13;;22598:125;22310:424;;;;22860:1;22854:3;:7;:36;;;;-1:-1:-1;22883:7:0;22865:5;22871:7;22877:1;22871:3;:7;:::i;:::-;22865:14;;;;;;-1:-1:-1;;;22865:14:0;;;;;;;;;;;;;;;;;:25;22854:36;22850:126;;;22914:7;22920:1;22914:3;:7;:::i;:::-;22907:14;;;;;;22850:126;-1:-1:-1;22961:3:0;-1:-1:-1;22954:10:0;;7993:1632;8124:7;;9058:66;9045:79;;9041:163;;;-1:-1:-1;9157:1:0;;-1:-1:-1;9161:30:0;9141:51;;9041:163;9218:1;:7;;9223:2;9218:7;;:18;;;;;9229:1;:7;;9234:2;9229:7;;9218:18;9214:102;;;-1:-1:-1;9269:1:0;;-1:-1:-1;9273:30:0;9253:51;;9214:102;9430:24;;;9413:14;9430:24;;;;;;;;;4489:25:1;;;4562:4;4550:17;;4530:18;;;4523:45;;;;4584:18;;;4577:34;;;4627:18;;;4620:34;;;9430:24:0;;4461:19:1;;9430:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9430:24:0;;-1:-1:-1;;9430:24:0;;;-1:-1:-1;;;;;;;9469:20:0;;9465:103;;9522:1;9526:29;9506:50;;;;;;;9465:103;9588:6;-1:-1:-1;9596:20:0;;-1:-1:-1;7993:1632:0;;;;;;;;:::o;2702:643::-;2780:20;2771:5;:29;;;;;;-1:-1:-1;;;2771:29:0;;;;;;;;;;2767:571;;;2702:643;:::o;2767:571::-;2878:29;2869:5;:38;;;;;;-1:-1:-1;;;2869:38:0;;;;;;;;;;2865:473;;;2924:34;;-1:-1:-1;;;2924:34:0;;5475:2:1;2924:34:0;;;5457:21:1;5514:2;5494:18;;;5487:30;5553:26;5533:18;;;5526:54;5597:18;;2924:34:0;5447:174:1;2865:473:0;2989:35;2980:5;:44;;;;;;-1:-1:-1;;;2980:44:0;;;;;;;;;;2976:362;;;3041:41;;-1:-1:-1;;;3041:41:0;;7342:2:1;3041:41:0;;;7324:21:1;7381:2;7361:18;;;7354:30;7420:33;7400:18;;;7393:61;7471:18;;3041:41:0;7314:181:1;2976:362:0;3113:30;3104:5;:39;;;;;;-1:-1:-1;;;3104:39:0;;;;;;;;;;3100:238;;;3160:44;;-1:-1:-1;;;3160:44:0;;9635:2:1;3160:44:0;;;9617:21:1;9674:2;9654:18;;;9647:30;9713:34;9693:18;;;9686:62;-1:-1:-1;;;9764:18:1;;;9757:32;9806:19;;3160:44:0;9607:224:1;3100:238:0;3235:30;3226:5;:39;;;;;;-1:-1:-1;;;3226:39:0;;;;;;;;;;3222:116;;;3282:44;;-1:-1:-1;;;3282:44:0;;10383:2:1;3282:44:0;;;10365:21:1;10422:2;10402:18;;;10395:30;10461:34;10441:18;;;10434:62;-1:-1:-1;;;10512:18:1;;;10505:32;10554:19;;3282:44:0;10355:224:1;56581:310:0;56676:17;56696:23;:21;:23::i;:::-;56676:43;-1:-1:-1;56676:43:0;56734:30;56750:9;56734:15;:30::i;:::-;:42;56730:154;;;56793:29;;;;;;;;-1:-1:-1;56793:29:0;;;;;;;;;;;;;;56837:16;;;:35;;;;;;;;;;;;;;;56581:310::o;20849:156::-;20911:7;20986:11;20996:1;20987:5;;;20986:11;:::i;:::-;20976:21;;20977:5;;;20976:21;:::i;:::-;20969:28;20849:156;-1:-1:-1;;;20849:156:0:o;56899:212::-;56993:10;;56969:7;;56989:115;;-1:-1:-1;57032:1:0;;56899:212;-1:-1:-1;56899:212:0:o;56989:115::-;57077:10;;57073:3;;57077:14;;57090:1;;57077:14;:::i;:::-;57073:19;;;;;;-1:-1:-1;;;57073:19:0;;;;;;;;;;;;;;;;;57066:26;;56899:212;;;:::o;56989:115::-;56899:212;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:196;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:713::-;1122:6;1130;1138;1146;1154;1162;1170;1223:3;1211:9;1202:7;1198:23;1194:33;1191:2;;;1245:6;1237;1230:22;1191:2;1273:29;1292:9;1273:29;:::i;:::-;1263:39;;1321:38;1355:2;1344:9;1340:18;1321:38;:::i;:::-;1311:48;;1406:2;1395:9;1391:18;1378:32;1368:42;;1457:2;1446:9;1442:18;1429:32;1419:42;;1511:3;1500:9;1496:19;1483:33;1556:4;1549:5;1545:16;1538:5;1535:27;1525:2;;1581:6;1573;1566:22;1525:2;1181:543;;;;-1:-1:-1;1181:543:1;;;;1609:5;1661:3;1646:19;;1633:33;;-1:-1:-1;1713:3:1;1698:19;;;1685:33;;1181:543;-1:-1:-1;;1181:543:1:o;1729:264::-;1797:6;1805;1858:2;1846:9;1837:7;1833:23;1829:32;1826:2;;;1879:6;1871;1864:22;1826:2;1907:29;1926:9;1907:29;:::i;:::-;1897:39;1983:2;1968:18;;;;1955:32;;-1:-1:-1;;;1816:177:1:o;1998:190::-;2057:6;2110:2;2098:9;2089:7;2085:23;2081:32;2078:2;;;2131:6;2123;2116:22;2078:2;-1:-1:-1;2159:23:1;;2068:120;-1:-1:-1;2068:120:1:o;4665:603::-;4777:4;4806:2;4835;4824:9;4817:21;4867:6;4861:13;4910:6;4905:2;4894:9;4890:18;4883:34;4935:4;4948:140;4962:6;4959:1;4956:13;4948:140;;;5057:14;;;5053:23;;5047:30;5023:17;;;5042:2;5019:26;5012:66;4977:10;;4948:140;;;5106:6;5103:1;5100:13;5097:2;;;5176:4;5171:2;5162:6;5151:9;5147:22;5143:31;5136:45;5097:2;-1:-1:-1;5252:2:1;5231:15;-1:-1:-1;;5227:29:1;5212:45;;;;5259:2;5208:54;;4786:482;-1:-1:-1;;;4786:482:1:o;10943:356::-;11145:2;11127:21;;;11164:18;;;11157:30;11223:34;11218:2;11203:18;;11196:62;11290:2;11275:18;;11117:182::o;14005:128::-;14045:3;14076:1;14072:6;14069:1;14066:13;14063:2;;;14082:18;;:::i;:::-;-1:-1:-1;14118:9:1;;14053:80::o;14138:217::-;14178:1;14204;14194:2;;-1:-1:-1;;;14229:31:1;;14283:4;14280:1;14273:15;14311:4;14236:1;14301:15;14194:2;-1:-1:-1;14340:9:1;;14184:171::o;14360:125::-;14400:4;14428:1;14425;14422:8;14419:2;;;14433:18;;:::i;:::-;-1:-1:-1;14470:9:1;;14409:76::o;14490:380::-;14569:1;14565:12;;;;14612;;;14633:2;;14687:4;14679:6;14675:17;14665:27;;14633:2;14740;14732:6;14729:14;14709:18;14706:38;14703:2;;;14786:10;14781:3;14777:20;14774:1;14767:31;14821:4;14818:1;14811:15;14849:4;14846:1;14839:15;14875:127;14936:10;14931:3;14927:20;14924:1;14917:31;14967:4;14964:1;14957:15;14991:4;14988:1;14981:15
Swarm Source
ipfs://2ef30a03e10fd792dfda10a9273b8193f121fddeae4c147136e9fcfcef07a40e
Loading...
Loading
[ 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.