ERC-20
Overview
Max Total Supply
951,132,527.000000001009244277 CMB
Holders
1,520
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CoolMonkeBanana
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT // @author: @CoolMonkes - Monkebank - $CMB // // ,#%&@@@@@@@@@&&&&%, // /&@&&%%%%%#((//(/,,,,/,,/((%%&&@%, // .(@%&%(//,(##%%%%%#%%%%%#,,#%%%%(/,///#%&@/. // ./@&%#///(####(((((///////,,,,,,,,////(##%#(//#&@&, // /@&%#(//##((((/,,,,,,,,,,,,,,,,,,,,,,,,,///////%#/((%&&, // .#@%%/,/(##(/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,///#(//#&&( // .#&%%//(#(,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//(%/,(&@( // (@%%//(#/,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//%//#&@, // .&&%#/(%#,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,((((((,,,,,,,,,,,,,,,//(#(#%&% // &&%(/###,,,,,,,,,,,,,,,,.,,,,,,,,.,.,,,,%##((##/,,,,,,,,,,,,,,,,//#(#%&& // .&&%(/##(/,,,,,,,,,..,,,,,,,,,,,,,,,,,,..,,%((#/#(,,,,,,,,,,,,,,,,,//#((&&& // %&%#/(#(/,,,,,,,.,,,,,,,,,,,,,,.,,,,,,,,.,%%#,,/%(%,,,,,,,,,,,,,,,,,//#/(%&& // /@%#/(%(/,,,,,,,,,,,,,,,,,,,..,,,,..,..,.(#%(,,,,(%##/,,,,,,,,,,,,,,,,/(((#%&, // #&%//##/,,,,,,,,,,,,,,,,,,,.,,,,..,,,,,/%(%,,,,,,,(%/#,,,,.,,,,,,,,,,,/(#/(%&% // &&%//#/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%/%(..,,,,,,(%(#,,,,,,,,,,,,,,,///#(/#%@ // &%%//#/,,,,,,,,,,,,,,,,,,,,,,,,,,,/&/%%,..,,,,.,,/%/%,,,,,,..,,,,,,,,///##/(%@ // %&%//#(,,,,,,,,.,,,,,,,,,,,,,.,(%(%%/,,,,,,..,,,,%(%,,,,,,,,,,,,,,,,,///##/#&& // (&&#/(#,,,,,,,,,,,,,,,,,.,#%#(%&(,,,,,,,,,,,.,.#%/%,,,,,,,,,,,,,,,,,///(#/,#&% // &%%//#(,,,,,,,,,,,/##//#&%/,,,,,,,,,,,,,,,,,(#(%,,,,,,,,,.,,,,,,,,,///#(,/%@, // ,&%#//#/,,,,,,,.,(/,..,,,,,,,,,,,,,..,..,(%/##,,,,,,..,,,,,,,,,,,,///#(//%&% // #&%(//#/,,,,,,,,,#(,,,,,,,,,,,,,..,/##//##,.,,,,,,,,,,,,,,,,,,,,///((,/%&% // /@%#//##,,,,,,,,,/%#((((((((((///#%#(,,,,,,,,,,,,,,..,,,,,,,,,///%(//%&# // .@&%//(#(/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//(#//#&@, // (&%#//##(,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//(##,(&&&. // %&%%(,(%#//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//(#(/#%&&, // (@&%%((#%(//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//(##/(%%&%. // .&&&%%#/(#%#(//,,,,,,,,,,,,,,,,,,,,,,,,,////(##/(%%&&, // .#@&%%((/,/(#%##(/,,,,,,,,,,,///////(##(/(#%%@&, // .%&&%%%#//,,,///(###%%%%##((//(//#%%&&@, // .,@&&&&%%%%%%%%%%%%%%%%&&&@@&. // ,#%&@@@@@@@@@&&&&%, // Features: // Secure signed mint function for extra security // Variable taxation system to balance ecosystem health until long term sustianability equilibrium is achieved // Auto approved ERC20 Permit to lower gas fees when selling token pragma solidity ^0.8.11; import "./ERC20.sol"; import "./ERC20Burnable.sol"; import "./draft-ERC20Permit.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./ECDSA.sol"; import "./Pausable.sol"; contract CoolMonkeBanana is ERC20, ERC20Burnable, Pausable, Ownable, ERC20Permit { using SafeMath for uint256; using ECDSA for bytes32; address public constant enforcerAddress = 0xD8A7fd1887cf690119FFed888924056aF7f299CE; //Monkeworld Socio-economic Ecosystem //This maximum value is not used by default, can be turned on if necessary in the future if optimal for $CMB ecosystem health uint256 public totalCMBMinted = 0; uint256 public maxCMBLimit = 0; //Minting tracking and efficient rule enforcement, nounce sent must always be unique mapping(address => uint256) public nounceTracker; //Optional taxation to project wallet uint256 public taxRate = 0; // In percentage points, e.g 20 => 20% address public taxWallet = 0xBbaEF1CF314755f3182fB8388061dA3Cf8724fEE; //Approved Spender Contracts mapping(address => bool) public approvedSpenders; //Last claim timestamp mapping(address => uint80) public lastClaim; constructor() ERC20("Cool Monke Banana", "CMB") ERC20Permit("Cool Monke Banana") {} //Returns nounce for earner to enable transaction parity for security, next nounce has to be > than this value! function earnerCurrentNounce(address earner) public view returns (uint256) { return nounceTracker[earner]; } function getMessageHash(address _to, uint _amount, uint _nonce) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_to, _amount, _nonce)); } function getEthSignedMessageHash(bytes32 _messageHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)); } function verify(address _signer, address _to, uint _amount, uint _nounce, bytes memory signature) internal pure returns (bool) { bytes32 messageHash = getMessageHash(_to, _amount, _nounce); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, signature) == _signer; } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) internal pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) internal pure returns (bytes32 r, bytes32 s, uint8 v ) { require(sig.length == 65, "Invalid signature length!"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } function burnWithTax(address from, uint256 amount) public whenNotPaused virtual { require(approvedSpenders[_msgSender()], 'Only approved spenders can burn'); amount = amount * (10 ** 18); if (taxRate > 0) { uint256 taxedAmount = (amount * taxRate) / 100; _transfer(from, taxWallet, taxedAmount); _burn(from, amount - taxedAmount); } else { _burn(from, amount); } } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function setMaxLimit(uint256 amount) public onlyOwner { amount = amount * (10 ** 18); require(amount >= totalCMBMinted, 'Max limit is lower than already minted supply!'); maxCMBLimit = amount; } function setApprovedSpender(address spender, bool enabled) public onlyOwner { approvedSpenders[spender] = enabled; } function setTax(uint256 rate, address wallet) public onlyOwner { require(rate <= 50, 'Tax can not be higher than 50%!'); require(rate >= 0, 'Tax can not be lower than 0%!'); taxRate = rate; taxWallet = wallet; } function mint(address to, uint256 amount, uint nounce, bytes memory signature) public whenNotPaused { require(to == _msgSender(), 'Not your earnings!'); require(nounceTracker[_msgSender()] < nounce, "Can not repeat a prior transaction!"); require(verify(enforcerAddress, _msgSender(), amount, nounce, signature) == true, "CMB must be minted from our website!"); amount = amount * (10 ** 18); if (maxCMBLimit > 0) { require(totalCMBMinted + amount <= maxCMBLimit, 'Max CMB minting limit has been reached!'); totalCMBMinted += amount; } nounceTracker[_msgSender()] = nounce; lastClaim[_msgSender()] = uint80(block.timestamp); _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { super._beforeTokenTransfer(from, to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "./ERC20.sol"; import "./draft-EIP712.sol"; import "./ECDSA.sol"; import "./Counters.sol"; /** * @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(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "./Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "./ERC20.sol"; import "./Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev 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()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // 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); } }
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":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":"","type":"address"}],"name":"approvedSpenders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnWithTax","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":"earner","type":"address"}],"name":"earnerCurrentNounce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enforcerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaim","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCMBLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nounce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nounceTracker","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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setApprovedSpender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCMBMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961014052600060078190556008819055600a55600b80546001600160a01b03191673bbaef1cf314755f3182fb8388061da3cf8724fee1790553480156200006c57600080fd5b5060405180604001604052806011815260200170436f6f6c204d6f6e6b652042616e616e6160781b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806011815260200170436f6f6c204d6f6e6b652042616e616e6160781b8152506040518060400160405280600381526020016221a6a160e91b8152508160039080519060200190620001109291906200022e565b508051620001269060049060208401906200022e565b50506005805460ff19169055506200013e33620001d4565b815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c094850190915281519190950120905291909152610120525062000311565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200023c90620002d4565b90600052602060002090601f016020900481019282620002605760008555620002ab565b82601f106200027b57805160ff1916838001178555620002ab565b82800160010185558215620002ab579182015b82811115620002ab5782518255916020019190600101906200028e565b50620002b9929150620002bd565b5090565b5b80821115620002b95760008155600101620002be565b600181811c90821680620002e957607f821691505b602082108114156200030b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051610140516126c86200036c60003960006110fe015260006116f501526000611737015260006117160152600061167a015260006116a4015260006116ce01526126c86000f3fe608060405234801561001057600080fd5b506004361061025b5760003560e01c8063771a3a1d11610145578063a457c2d7116100bd578063c7c7f9321161008c578063dd62ed3e11610071578063dd62ed3e14610526578063f2fde38b1461055f578063fe78dd081461057257600080fd5b8063c7c7f932146104f3578063d505accf1461051357600080fd5b8063a457c2d7146104a7578063a9059cbb146104ba578063bf8bcee4146104cd578063c5252fdc146104e057600080fd5b80638da5cb5b1161011457806395d89b41116100f957806395d89b41146104835780639a5ce8831461048b578063a2f8ae751461049457600080fd5b80638da5cb5b1461046457806395c74de21461047a57600080fd5b8063771a3a1d1461042d57806379cc6790146104365780637ecebe00146104495780638456cb591461045c57600080fd5b8063382e7244116101d85780635c16e15e116101a757806370a082311161018c57806370a08231146103e9578063715018a614610412578063731133e91461041a57600080fd5b80635c16e15e146103975780635c975abb146103de57600080fd5b8063382e72441461034657806339509351146103695780633f4ba83a1461037c57806342966c681461038457600080fd5b806318160ddd1161022f5780632dc0562d116102145780632dc0562d14610304578063313ce5671461032f5780633644e5151461033e57600080fd5b806318160ddd146102e957806323b872dd146102f157600080fd5b8062e677e11461026057806306fdde031461029c578063095ea7b3146102b15780630f49d6c7146102d4575b600080fd5b61028961026e366004612204565b6001600160a01b031660009081526009602052604090205490565b6040519081526020015b60405180910390f35b6102a461058d565b6040516102939190612226565b6102c46102bf366004612299565b61061f565b6040519015158152602001610293565b6102e76102e23660046122c3565b610635565b005b600254610289565b6102c46102ff3660046122ef565b61072a565b600b54610317906001600160a01b031681565b6040516001600160a01b039091168152602001610293565b60405160128152602001610293565b6102896107e9565b6102c4610354366004612204565b600c6020526000908152604090205460ff1681565b6102c4610377366004612299565b6107f8565b6102e7610834565b6102e761039236600461232b565b61089e565b6103c36103a5366004612204565b600d6020526000908152604090205469ffffffffffffffffffff1681565b60405169ffffffffffffffffffff9091168152602001610293565b60055460ff166102c4565b6102896103f7366004612204565b6001600160a01b031660009081526020819052604090205490565b6102e76108ab565b6102e7610428366004612373565b610915565b610289600a5481565b6102e7610444366004612299565b610bf5565b610289610457366004612204565b610c94565b6102e7610cb4565b60055461010090046001600160a01b0316610317565b61028960075481565b6102a4610d1c565b61028960085481565b6102e76104a2366004612466565b610d2b565b6102c46104b5366004612299565b610dd4565b6102c46104c8366004612299565b610e85565b6102e76104db36600461232b565b610e92565b6102e76104ee366004612299565b610f83565b610289610501366004612204565b60096020526000908152604090205481565b6102e76105213660046124a2565b6110aa565b610289610534366004612515565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102e761056d366004612204565b61120e565b61031773d8a7fd1887cf690119ffed888924056af7f299ce81565b60606003805461059c9061253f565b80601f01602080910402602001604051908101604052809291908181526020018280546105c89061253f565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c3384846112f3565b50600192915050565b6005546001600160a01b0361010090910416331461069a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60328211156106eb5760405162461bcd60e51b815260206004820152601f60248201527f5461782063616e206e6f7420626520686967686572207468616e2035302521006044820152606401610691565b600a91909155600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909216919091179055565b600061073784848461144b565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107d15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610691565b6107de85338584036112f3565b506001949350505050565b60006107f361166d565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161062c91859061082f9086906125bc565b6112f3565b6005546001600160a01b036101009091041633146108945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b61089c61175b565b565b6108a83382611815565b50565b6005546001600160a01b0361010090910416331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b61089c60006119a6565b60055460ff16156109685760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b6001600160a01b03841633146109c05760405162461bcd60e51b815260206004820152601260248201527f4e6f7420796f7572206561726e696e67732100000000000000000000000000006044820152606401610691565b336000908152600960205260409020548211610a445760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f74207265706561742061207072696f72207472616e736163746960448201527f6f6e2100000000000000000000000000000000000000000000000000000000006064820152608401610691565b610a6573d8a7fd1887cf690119ffed888924056af7f299ce33858585611a17565b1515600114610adb5760405162461bcd60e51b8152602060048201526024808201527f434d42206d757374206265206d696e7465642066726f6d206f7572207765627360448201527f69746521000000000000000000000000000000000000000000000000000000006064820152608401610691565b610aed83670de0b6b3a76400006125d4565b60085490935015610b955760085483600754610b0991906125bc565b1115610b7d5760405162461bcd60e51b815260206004820152602760248201527f4d617820434d42206d696e74696e67206c696d697420686173206265656e207260448201527f65616368656421000000000000000000000000000000000000000000000000006064820152608401610691565b8260076000828254610b8f91906125bc565b90915550505b336000908152600960209081526040808320859055600d909152902080547fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000164269ffffffffffffffffffff16179055610bef8484611aac565b50505050565b6000610c018333610534565b905081811015610c785760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610691565b610c8583338484036112f3565b610c8f8383611815565b505050565b6001600160a01b0381166000908152600660205260408120545b92915050565b6005546001600160a01b03610100909104163314610d145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b61089c611b97565b60606004805461059c9061253f565b6005546001600160a01b03610100909104163314610d8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b6001600160a01b03919091166000908152600c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e6e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610691565b610e7b33858584036112f3565b5060019392505050565b600061062c33848461144b565b6005546001600160a01b03610100909104163314610ef25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b610f0481670de0b6b3a76400006125d4565b9050600754811015610f7e5760405162461bcd60e51b815260206004820152602e60248201527f4d6178206c696d6974206973206c6f776572207468616e20616c72656164792060448201527f6d696e74656420737570706c79210000000000000000000000000000000000006064820152608401610691565b600855565b60055460ff1615610fd65760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b336000908152600c602052604090205460ff166110355760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920617070726f766564207370656e646572732063616e206275726e006044820152606401610691565b61104781670de0b6b3a76400006125d4565b600a549091501561109c5760006064600a548361106491906125d4565b61106e9190612611565b600b549091506110899084906001600160a01b03168361144b565b610c8f83611097838561264c565b611815565b6110a68282611815565b5050565b834211156110fa5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610691565b60007f00000000000000000000000000000000000000000000000000000000000000008888886111298c611c3d565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061118482611c65565b9050600061119482878787611cce565b9050896001600160a01b0316816001600160a01b0316146111f75760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610691565b6112028a8a8a6112f3565b50505050505050505050565b6005546001600160a01b0361010090910416331461126e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b6001600160a01b0381166112ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610691565b6108a8816119a6565b6001600160a01b03831661136e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b0382166113ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166114c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b0382166115435760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610691565b61154e838383611cf6565b6001600160a01b038316600090815260208190526040902054818110156115dd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906116149084906125bc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161166091815260200190565b60405180910390a3610bef565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156116c657507f000000000000000000000000000000000000000000000000000000000000000046145b156116f057507f000000000000000000000000000000000000000000000000000000000000000090565b6107f37f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611d49565b60055460ff166117ad5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610691565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166118915760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610691565b61189d82600083611cf6565b6001600160a01b0382166000908152602081905260409020548181101561192c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b038316600090815260208190526040812083830390556002805484929061195b90849061264c565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080611a25868686611d93565b90506000611a80826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050876001600160a01b0316611a968286611ddb565b6001600160a01b03161498975050505050505050565b6001600160a01b038216611b025760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610691565b611b0e60008383611cf6565b8060026000828254611b2091906125bc565b90915550506001600160a01b03821660009081526020819052604081208054839290611b4d9084906125bc565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60055460ff1615611bea5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117f83390565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b6000610cae611c7261166d565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611cdf87878787611e78565b91509150611cec81611f83565b5095945050505050565b60055460ff1615610c8f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b6040805160208101859052908101839052606081018290524660808201523060a082015260009060c0015b6040516020818303038152906040528051906020012090509392505050565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b1660208201526034810183905260548101829052600090607401611d74565b600080600080611dea85612174565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611e45573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611eaf5750600090506003611f7a565b8460ff16601b14158015611ec757508460ff16601c14155b15611ed85750600090506004611f7a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f2c573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b038116611f7357600060019250925050611f7a565b9150600090505b94509492505050565b6000816004811115611f9757611f97612663565b1415611fa05750565b6001816004811115611fb457611fb4612663565b14156120025760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610691565b600281600481111561201657612016612663565b14156120645760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610691565b600381600481111561207857612078612663565b14156120ec5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610691565b600481600481111561210057612100612663565b14156108a85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610691565b600080600083516041146121ca5760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964207369676e6174757265206c656e67746821000000000000006044820152606401610691565b50505060208101516040820151606090920151909260009190911a90565b80356001600160a01b03811681146121ff57600080fd5b919050565b60006020828403121561221657600080fd5b61221f826121e8565b9392505050565b600060208083528351808285015260005b8181101561225357858101830151858201604001528201612237565b81811115612265576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600080604083850312156122ac57600080fd5b6122b5836121e8565b946020939093013593505050565b600080604083850312156122d657600080fd5b823591506122e6602084016121e8565b90509250929050565b60008060006060848603121561230457600080fd5b61230d846121e8565b925061231b602085016121e8565b9150604084013590509250925092565b60006020828403121561233d57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561238957600080fd5b612392856121e8565b93506020850135925060408501359150606085013567ffffffffffffffff808211156123bd57600080fd5b818701915087601f8301126123d157600080fd5b8135818111156123e3576123e3612344565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561242957612429612344565b816040528281528a602084870101111561244257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561247957600080fd5b612482836121e8565b91506020830135801515811461249757600080fd5b809150509250929050565b600080600080600080600060e0888a0312156124bd57600080fd5b6124c6886121e8565b96506124d4602089016121e8565b95506040880135945060608801359350608088013560ff811681146124f857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561252857600080fd5b612531836121e8565b91506122e6602084016121e8565b600181811c9082168061255357607f821691505b60208210811415611c5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156125cf576125cf61258d565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561260c5761260c61258d565b500290565b600082612647577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008282101561265e5761265e61258d565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220bf00d788754f2d79e3792395475245144773c2b4279641b6cca2498c438d1bcb64736f6c634300080b0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025b5760003560e01c8063771a3a1d11610145578063a457c2d7116100bd578063c7c7f9321161008c578063dd62ed3e11610071578063dd62ed3e14610526578063f2fde38b1461055f578063fe78dd081461057257600080fd5b8063c7c7f932146104f3578063d505accf1461051357600080fd5b8063a457c2d7146104a7578063a9059cbb146104ba578063bf8bcee4146104cd578063c5252fdc146104e057600080fd5b80638da5cb5b1161011457806395d89b41116100f957806395d89b41146104835780639a5ce8831461048b578063a2f8ae751461049457600080fd5b80638da5cb5b1461046457806395c74de21461047a57600080fd5b8063771a3a1d1461042d57806379cc6790146104365780637ecebe00146104495780638456cb591461045c57600080fd5b8063382e7244116101d85780635c16e15e116101a757806370a082311161018c57806370a08231146103e9578063715018a614610412578063731133e91461041a57600080fd5b80635c16e15e146103975780635c975abb146103de57600080fd5b8063382e72441461034657806339509351146103695780633f4ba83a1461037c57806342966c681461038457600080fd5b806318160ddd1161022f5780632dc0562d116102145780632dc0562d14610304578063313ce5671461032f5780633644e5151461033e57600080fd5b806318160ddd146102e957806323b872dd146102f157600080fd5b8062e677e11461026057806306fdde031461029c578063095ea7b3146102b15780630f49d6c7146102d4575b600080fd5b61028961026e366004612204565b6001600160a01b031660009081526009602052604090205490565b6040519081526020015b60405180910390f35b6102a461058d565b6040516102939190612226565b6102c46102bf366004612299565b61061f565b6040519015158152602001610293565b6102e76102e23660046122c3565b610635565b005b600254610289565b6102c46102ff3660046122ef565b61072a565b600b54610317906001600160a01b031681565b6040516001600160a01b039091168152602001610293565b60405160128152602001610293565b6102896107e9565b6102c4610354366004612204565b600c6020526000908152604090205460ff1681565b6102c4610377366004612299565b6107f8565b6102e7610834565b6102e761039236600461232b565b61089e565b6103c36103a5366004612204565b600d6020526000908152604090205469ffffffffffffffffffff1681565b60405169ffffffffffffffffffff9091168152602001610293565b60055460ff166102c4565b6102896103f7366004612204565b6001600160a01b031660009081526020819052604090205490565b6102e76108ab565b6102e7610428366004612373565b610915565b610289600a5481565b6102e7610444366004612299565b610bf5565b610289610457366004612204565b610c94565b6102e7610cb4565b60055461010090046001600160a01b0316610317565b61028960075481565b6102a4610d1c565b61028960085481565b6102e76104a2366004612466565b610d2b565b6102c46104b5366004612299565b610dd4565b6102c46104c8366004612299565b610e85565b6102e76104db36600461232b565b610e92565b6102e76104ee366004612299565b610f83565b610289610501366004612204565b60096020526000908152604090205481565b6102e76105213660046124a2565b6110aa565b610289610534366004612515565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102e761056d366004612204565b61120e565b61031773d8a7fd1887cf690119ffed888924056af7f299ce81565b60606003805461059c9061253f565b80601f01602080910402602001604051908101604052809291908181526020018280546105c89061253f565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c3384846112f3565b50600192915050565b6005546001600160a01b0361010090910416331461069a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60328211156106eb5760405162461bcd60e51b815260206004820152601f60248201527f5461782063616e206e6f7420626520686967686572207468616e2035302521006044820152606401610691565b600a91909155600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909216919091179055565b600061073784848461144b565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107d15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610691565b6107de85338584036112f3565b506001949350505050565b60006107f361166d565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161062c91859061082f9086906125bc565b6112f3565b6005546001600160a01b036101009091041633146108945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b61089c61175b565b565b6108a83382611815565b50565b6005546001600160a01b0361010090910416331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b61089c60006119a6565b60055460ff16156109685760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b6001600160a01b03841633146109c05760405162461bcd60e51b815260206004820152601260248201527f4e6f7420796f7572206561726e696e67732100000000000000000000000000006044820152606401610691565b336000908152600960205260409020548211610a445760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f74207265706561742061207072696f72207472616e736163746960448201527f6f6e2100000000000000000000000000000000000000000000000000000000006064820152608401610691565b610a6573d8a7fd1887cf690119ffed888924056af7f299ce33858585611a17565b1515600114610adb5760405162461bcd60e51b8152602060048201526024808201527f434d42206d757374206265206d696e7465642066726f6d206f7572207765627360448201527f69746521000000000000000000000000000000000000000000000000000000006064820152608401610691565b610aed83670de0b6b3a76400006125d4565b60085490935015610b955760085483600754610b0991906125bc565b1115610b7d5760405162461bcd60e51b815260206004820152602760248201527f4d617820434d42206d696e74696e67206c696d697420686173206265656e207260448201527f65616368656421000000000000000000000000000000000000000000000000006064820152608401610691565b8260076000828254610b8f91906125bc565b90915550505b336000908152600960209081526040808320859055600d909152902080547fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000164269ffffffffffffffffffff16179055610bef8484611aac565b50505050565b6000610c018333610534565b905081811015610c785760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610691565b610c8583338484036112f3565b610c8f8383611815565b505050565b6001600160a01b0381166000908152600660205260408120545b92915050565b6005546001600160a01b03610100909104163314610d145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b61089c611b97565b60606004805461059c9061253f565b6005546001600160a01b03610100909104163314610d8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b6001600160a01b03919091166000908152600c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e6e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610691565b610e7b33858584036112f3565b5060019392505050565b600061062c33848461144b565b6005546001600160a01b03610100909104163314610ef25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b610f0481670de0b6b3a76400006125d4565b9050600754811015610f7e5760405162461bcd60e51b815260206004820152602e60248201527f4d6178206c696d6974206973206c6f776572207468616e20616c72656164792060448201527f6d696e74656420737570706c79210000000000000000000000000000000000006064820152608401610691565b600855565b60055460ff1615610fd65760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b336000908152600c602052604090205460ff166110355760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920617070726f766564207370656e646572732063616e206275726e006044820152606401610691565b61104781670de0b6b3a76400006125d4565b600a549091501561109c5760006064600a548361106491906125d4565b61106e9190612611565b600b549091506110899084906001600160a01b03168361144b565b610c8f83611097838561264c565b611815565b6110a68282611815565b5050565b834211156110fa5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610691565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886111298c611c3d565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061118482611c65565b9050600061119482878787611cce565b9050896001600160a01b0316816001600160a01b0316146111f75760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610691565b6112028a8a8a6112f3565b50505050505050505050565b6005546001600160a01b0361010090910416331461126e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b6001600160a01b0381166112ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610691565b6108a8816119a6565b6001600160a01b03831661136e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b0382166113ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166114c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b0382166115435760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610691565b61154e838383611cf6565b6001600160a01b038316600090815260208190526040902054818110156115dd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906116149084906125bc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161166091815260200190565b60405180910390a3610bef565b6000306001600160a01b037f000000000000000000000000c6db556fd9ec09bab6dfea320e52d8476f61d424161480156116c657507f000000000000000000000000000000000000000000000000000000000000000146145b156116f057507fe3d46a9f661d81d42d5ed068b63defacd98aefd1e93dc9a6b0163f11cdb919b390565b6107f37f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f90b026c66be17209012c2133c4f18ccf7f302138c9f8815d744a5e8b5717748b7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6611d49565b60055460ff166117ad5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610691565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166118915760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610691565b61189d82600083611cf6565b6001600160a01b0382166000908152602081905260409020548181101561192c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610691565b6001600160a01b038316600090815260208190526040812083830390556002805484929061195b90849061264c565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080611a25868686611d93565b90506000611a80826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050876001600160a01b0316611a968286611ddb565b6001600160a01b03161498975050505050505050565b6001600160a01b038216611b025760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610691565b611b0e60008383611cf6565b8060026000828254611b2091906125bc565b90915550506001600160a01b03821660009081526020819052604081208054839290611b4d9084906125bc565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60055460ff1615611bea5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117f83390565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b6000610cae611c7261166d565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611cdf87878787611e78565b91509150611cec81611f83565b5095945050505050565b60055460ff1615610c8f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b6040805160208101859052908101839052606081018290524660808201523060a082015260009060c0015b6040516020818303038152906040528051906020012090509392505050565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b1660208201526034810183905260548101829052600090607401611d74565b600080600080611dea85612174565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611e45573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611eaf5750600090506003611f7a565b8460ff16601b14158015611ec757508460ff16601c14155b15611ed85750600090506004611f7a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f2c573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b038116611f7357600060019250925050611f7a565b9150600090505b94509492505050565b6000816004811115611f9757611f97612663565b1415611fa05750565b6001816004811115611fb457611fb4612663565b14156120025760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610691565b600281600481111561201657612016612663565b14156120645760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610691565b600381600481111561207857612078612663565b14156120ec5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610691565b600481600481111561210057612100612663565b14156108a85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610691565b600080600083516041146121ca5760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964207369676e6174757265206c656e67746821000000000000006044820152606401610691565b50505060208101516040820151606090920151909260009190911a90565b80356001600160a01b03811681146121ff57600080fd5b919050565b60006020828403121561221657600080fd5b61221f826121e8565b9392505050565b600060208083528351808285015260005b8181101561225357858101830151858201604001528201612237565b81811115612265576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600080604083850312156122ac57600080fd5b6122b5836121e8565b946020939093013593505050565b600080604083850312156122d657600080fd5b823591506122e6602084016121e8565b90509250929050565b60008060006060848603121561230457600080fd5b61230d846121e8565b925061231b602085016121e8565b9150604084013590509250925092565b60006020828403121561233d57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561238957600080fd5b612392856121e8565b93506020850135925060408501359150606085013567ffffffffffffffff808211156123bd57600080fd5b818701915087601f8301126123d157600080fd5b8135818111156123e3576123e3612344565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561242957612429612344565b816040528281528a602084870101111561244257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561247957600080fd5b612482836121e8565b91506020830135801515811461249757600080fd5b809150509250929050565b600080600080600080600060e0888a0312156124bd57600080fd5b6124c6886121e8565b96506124d4602089016121e8565b95506040880135945060608801359350608088013560ff811681146124f857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561252857600080fd5b612531836121e8565b91506122e6602084016121e8565b600181811c9082168061255357607f821691505b60208210811415611c5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156125cf576125cf61258d565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561260c5761260c61258d565b500290565b600082612647577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008282101561265e5761265e61258d565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220bf00d788754f2d79e3792395475245144773c2b4279641b6cca2498c438d1bcb64736f6c634300080b0033
Deployed Bytecode Sourcemap
3303:4864:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4521:122;;;;;;:::i;:::-;-1:-1:-1;;;;;4614:21:1;4587:7;4614:21;;;:13;:21;;;;;;;4521:122;;;;552:25:15;;;540:2;525:18;4521:122:1;;;;;;;;2120:98:4;;;:::i;:::-;;;;;;;:::i;4217:166::-;;;;;;:::i;:::-;;:::i;:::-;;;1673:14:15;;1666:22;1648:41;;1636:2;1621:18;4217:166:4;1508:187:15;6971:252:1;;;;;;:::i;:::-;;:::i;:::-;;3208:106:4;3295:12;;3208:106;;4850:478;;;;;;:::i;:::-;;:::i;4064:69:1:-;;;;;-1:-1:-1;;;;;4064:69:1;;;;;;-1:-1:-1;;;;;2456:55:15;;;2438:74;;2426:2;2411:18;4064:69:1;2292:226:15;3057:91:4;;;3139:2;2665:36:15;;2653:2;2638:18;3057:91:4;2523:184:15;2440:113:13;;;:::i;4176:48:1:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5723:212:4;;;;;;:::i;:::-;;:::i;6526:65:1:-;;;:::i;549:89:5:-;;;;;;:::i;:::-;;:::i;4261:43:1:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3253:22:15;3241:35;;;3223:54;;3211:2;3196:18;4261:43:1;3079:204:15;1091:84:9;1161:7;;;;1091:84;;3372:125:4;;;;;;:::i;:::-;-1:-1:-1;;;;;3472:18:4;3446:7;3472:18;;;;;;;;;;;;3372:125;1661:101:8;;;:::i;7231:758:1:-;;;;;;:::i;:::-;;:::i;3992:26::-;;;;;;944:361:5;;;;;;:::i;:::-;;:::i;2190:126:13:-;;;;;;:::i;:::-;;:::i;6457:61:1:-;;;:::i;1029:85:8:-;1101:6;;;;;-1:-1:-1;;;;;1101:6:8;1029:85;;3723:33:1;;;;;;2331:102:4;;;:::i;3763:30:1:-;;;;;;6833:130;;;;;;:::i;:::-;;:::i;6422:405:4:-;;;;;;:::i;:::-;;:::i;3700:172::-;;;;;;:::i;:::-;;:::i;6599:226:1:-;;;;;;:::i;:::-;;:::i;5983:466::-;;;;;;:::i;:::-;;:::i;3892:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;1503:626:13;;;;;;:::i;:::-;;:::i;3930:149:4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4045:18:4;;;4019:7;4045:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3930:149;1911:198:8;;;;;;:::i;:::-;;:::i;3456:84:1:-;;3498:42;3456:84;;2120:98:4;2174:13;2206:5;2199:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2120:98;:::o;4217:166::-;4300:4;4316:39;719:10:0;4339:7:4;4348:6;4316:8;:39::i;:::-;-1:-1:-1;4372:4:4;4217:166;;;;:::o;6971:252:1:-;1101:6:8;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;;;;;;;;;7061:2:1::1;7053:4;:10;;7045:54;;;::::0;-1:-1:-1;;;7045:54:1;;6993:2:15;7045:54:1::1;::::0;::::1;6975:21:15::0;7032:2;7012:18;;;7005:30;7071:33;7051:18;;;7044:61;7122:18;;7045:54:1::1;6791:355:15::0;7045:54:1::1;7172:7;:14:::0;;;;7197:9:::1;:18:::0;;;::::1;-1:-1:-1::0;;;;;7197:18:1;;::::1;::::0;;;::::1;::::0;;6971:252::o;4850:478:4:-;4986:4;5002:36;5012:6;5020:9;5031:6;5002:9;:36::i;:::-;-1:-1:-1;;;;;5076:19:4;;5049:24;5076:19;;;:11;:19;;;;;;;;719:10:0;5076:33:4;;;;;;;;5127:26;;;;5119:79;;;;-1:-1:-1;;;5119:79:4;;7711:2:15;5119:79:4;;;7693:21:15;7750:2;7730:18;;;7723:30;7789:34;7769:18;;;7762:62;7860:10;7840:18;;;7833:38;7888:19;;5119:79:4;7509:404:15;5119:79:4;5232:57;5241:6;719:10:0;5282:6:4;5263:16;:25;5232:8;:57::i;:::-;-1:-1:-1;5317:4:4;;4850:478;-1:-1:-1;;;;4850:478:4:o;2440:113:13:-;2500:7;2526:20;:18;:20::i;:::-;2519:27;;2440:113;:::o;5723:212:4:-;719:10:0;5811:4:4;5859:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;5859:34:4;;;;;;;;;;5811:4;;5827:80;;5850:7;;5859:47;;5896:10;;5859:47;:::i;:::-;5827:8;:80::i;6526:65:1:-;1101:6:8;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;6430:356:15;1233:68:8;6573:10:1::1;:8;:10::i;:::-;6526:65::o:0;549:89:5:-;604:27;719:10:0;624:6:5;604:5;:27::i;:::-;549:89;:::o;1661:101:8:-;1101:6;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;6430:356:15;1233:68:8;1725:30:::1;1752:1;1725:18;:30::i;7231:758:1:-:0;1161:7:9;;;;1404:9;1396:38;;;;-1:-1:-1;;;1396:38:9;;8442:2:15;1396:38:9;;;8424:21:15;8481:2;8461:18;;;8454:30;8520:18;8500;;;8493:46;8556:18;;1396:38:9;8240:340:15;1396:38:9;-1:-1:-1;;;;;7350:18:1;::::1;719:10:0::0;7350:18:1::1;7342:49;;;::::0;-1:-1:-1;;;7342:49:1;;8787:2:15;7342:49:1::1;::::0;::::1;8769:21:15::0;8826:2;8806:18;;;8799:30;8865:20;8845:18;;;8838:48;8903:18;;7342:49:1::1;8585:342:15::0;7342:49:1::1;719:10:0::0;7410:27:1::1;::::0;;;:13:::1;:27;::::0;;;;;:36;-1:-1:-1;7402:84:1::1;;;::::0;-1:-1:-1;;;7402:84:1;;9134:2:15;7402:84:1::1;::::0;::::1;9116:21:15::0;9173:2;9153:18;;;9146:30;9212:34;9192:18;;;9185:62;9283:5;9263:18;;;9256:33;9306:19;;7402:84:1::1;8932:399:15::0;7402:84:1::1;7505:64;3498:42;719:10:0::0;7543:6:1::1;7551;7559:9;7505:6;:64::i;:::-;:72;;7573:4;7505:72;7497:121;;;::::0;-1:-1:-1;;;7497:121:1;;9538:2:15;7497:121:1::1;::::0;::::1;9520:21:15::0;9577:2;9557:18;;;9550:30;9616:34;9596:18;;;9589:62;9687:6;9667:18;;;9660:34;9711:19;;7497:121:1::1;9336:400:15::0;7497:121:1::1;7638:19;:6:::0;7648:8:::1;7638:19;:::i;:::-;7672:11;::::0;7629:28;;-1:-1:-1;7672:15:1;7668:177:::1;;7739:11;;7729:6;7712:14;;:23;;;;:::i;:::-;:38;;7704:90;;;::::0;-1:-1:-1;;;7704:90:1;;10176:2:15;7704:90:1::1;::::0;::::1;10158:21:15::0;10215:2;10195:18;;;10188:30;10254:34;10234:18;;;10227:62;10325:9;10305:18;;;10298:37;10352:19;;7704:90:1::1;9974:403:15::0;7704:90:1::1;7827:6;7809:14;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;7668:177:1::1;719:10:0::0;7857:27:1::1;::::0;;;:13:::1;:27;::::0;;;;;;;:36;;;7904:9:::1;:23:::0;;;;;:49;;;::::1;7937:15;7904:49;;;::::0;;7964:17:::1;7970:2:::0;7974:6;7964:5:::1;:17::i;:::-;7231:758:::0;;;;:::o;944:361:5:-;1020:24;1047:32;1057:7;719:10:0;3930:149:4;:::i;1047:32:5:-;1020:59;;1117:6;1097:16;:26;;1089:75;;;;-1:-1:-1;;;1089:75:5;;10584:2:15;1089:75:5;;;10566:21:15;10623:2;10603:18;;;10596:30;10662:34;10642:18;;;10635:62;10733:6;10713:18;;;10706:34;10757:19;;1089:75:5;10382:400:15;1089:75:5;1198:58;1207:7;719:10:0;1249:6:5;1230:16;:25;1198:8;:58::i;:::-;1276:22;1282:7;1291:6;1276:5;:22::i;:::-;1010:295;944:361;;:::o;2190:126:13:-;-1:-1:-1;;;;;2285:14:13;;2259:7;2285:14;;;:7;:14;;;;;918::2;2285:24:13;2278:31;2190:126;-1:-1:-1;;2190:126:13:o;6457:61:1:-;1101:6:8;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;6430:356:15;1233:68:8;6502:8:1::1;:6;:8::i;2331:102:4:-:0;2387:13;2419:7;2412:14;;;;;:::i;6833:130:1:-;1101:6:8;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;6430:356:15;1233:68:8;-1:-1:-1;;;;;6920:25:1;;;::::1;;::::0;;;:16:::1;:25;::::0;;;;:35;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;6833:130::o;6422:405:4:-;719:10:0;6515:4:4;6558:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6558:34:4;;;;;;;;;;6610:35;;;;6602:85;;;;-1:-1:-1;;;6602:85:4;;10989:2:15;6602:85:4;;;10971:21:15;11028:2;11008:18;;;11001:30;11067:34;11047:18;;;11040:62;11138:7;11118:18;;;11111:35;11163:19;;6602:85:4;10787:401:15;6602:85:4;6721:67;719:10:0;6744:7:4;6772:15;6753:16;:34;6721:8;:67::i;:::-;-1:-1:-1;6816:4:4;;6422:405;-1:-1:-1;;;6422:405:4:o;3700:172::-;3786:4;3802:42;719:10:0;3826:9:4;3837:6;3802:9;:42::i;6599:226:1:-;1101:6:8;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;6430:356:15;1233:68:8;6673:19:1::1;:6:::0;6683:8:::1;6673:19;:::i;:::-;6664:28;;6721:14;;6711:6;:24;;6703:83;;;::::0;-1:-1:-1;;;6703:83:1;;11395:2:15;6703:83:1::1;::::0;::::1;11377:21:15::0;11434:2;11414:18;;;11407:30;11473:34;11453:18;;;11446:62;11544:16;11524:18;;;11517:44;11578:19;;6703:83:1::1;11193:410:15::0;6703:83:1::1;6797:11;:20:::0;6599:226::o;5983:466::-;1161:7:9;;;;1404:9;1396:38;;;;-1:-1:-1;;;1396:38:9;;8442:2:15;1396:38:9;;;8424:21:15;8481:2;8461:18;;;8454:30;8520:18;8500;;;8493:46;8556:18;;1396:38:9;8240:340:15;1396:38:9;719:10:0;6082:30:1::1;::::0;;;:16:::1;:30;::::0;;;;;::::1;;6074:74;;;::::0;-1:-1:-1;;;6074:74:1;;11810:2:15;6074:74:1::1;::::0;::::1;11792:21:15::0;11849:2;11829:18;;;11822:30;11888:33;11868:18;;;11861:61;11939:18;;6074:74:1::1;11608:355:15::0;6074:74:1::1;6168:19;:6:::0;6178:8:::1;6168:19;:::i;:::-;6202:7;::::0;6159:28;;-1:-1:-1;6202:11:1;6198:244:::1;;6230:19;6273:3;6262:7;;6253:6;:16;;;;:::i;:::-;6252:24;;;;:::i;:::-;6307:9;::::0;6230:46;;-1:-1:-1;6291:39:1::1;::::0;6301:4;;-1:-1:-1;;;;;6307:9:1::1;6230:46:::0;6291:9:::1;:39::i;:::-;6345:33;6351:4:::0;6357:20:::1;6366:11:::0;6357:6;:20:::1;:::i;:::-;6345:5;:33::i;6198:244::-;6411:19;6417:4;6423:6;6411:5;:19::i;:::-;5983:466:::0;;:::o;1503:626:13:-;1738:8;1719:15;:27;;1711:69;;;;-1:-1:-1;;;1711:69:13;;12579:2:15;1711:69:13;;;12561:21:15;12618:2;12598:18;;;12591:30;12657:31;12637:18;;;12630:59;12706:18;;1711:69:13;12377:353:15;1711:69:13;1791:18;1833:16;1851:5;1858:7;1867:5;1874:16;1884:5;1874:9;:16::i;:::-;1822:79;;;;;;13022:25:15;;;;-1:-1:-1;;;;;13144:15:15;;;13124:18;;;13117:43;13196:15;;;;13176:18;;;13169:43;13228:18;;;13221:34;13271:19;;;13264:35;13315:19;;;13308:35;;;12994:19;;1822:79:13;;;;;;;;;;;;1812:90;;;;;;1791:111;;1913:12;1928:28;1945:10;1928:16;:28::i;:::-;1913:43;;1967:14;1984:28;1998:4;2004:1;2007;2010;1984:13;:28::i;:::-;1967:45;;2040:5;-1:-1:-1;;;;;2030:15:13;:6;-1:-1:-1;;;;;2030:15:13;;2022:58;;;;-1:-1:-1;;;2022:58:13;;13556:2:15;2022:58:13;;;13538:21:15;13595:2;13575:18;;;13568:30;13634:32;13614:18;;;13607:60;13684:18;;2022:58:13;13354:354:15;2022:58:13;2091:31;2100:5;2107:7;2116:5;2091:8;:31::i;:::-;1701:428;;;1503:626;;;;;;;:::o;1911:198:8:-;1101:6;;-1:-1:-1;;;;;1101:6:8;;;;;719:10:0;1241:23:8;1233:68;;;;-1:-1:-1;;;1233:68:8;;6632:2:15;1233:68:8;;;6614:21:15;;;6651:18;;;6644:30;6710:34;6690:18;;;6683:62;6762:18;;1233:68:8;6430:356:15;1233:68:8;-1:-1:-1;;;;;1999:22:8;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:8;;13915:2:15;1991:73:8::1;::::0;::::1;13897:21:15::0;13954:2;13934:18;;;13927:30;13993:34;13973:18;;;13966:62;14064:8;14044:18;;;14037:36;14090:19;;1991:73:8::1;13713:402:15::0;1991:73:8::1;2074:28;2093:8;2074:18;:28::i;9998:370:4:-:0;-1:-1:-1;;;;;10129:19:4;;10121:68;;;;-1:-1:-1;;;10121:68:4;;14322:2:15;10121:68:4;;;14304:21:15;14361:2;14341:18;;;14334:30;14400:34;14380:18;;;14373:62;14471:6;14451:18;;;14444:34;14495:19;;10121:68:4;14120:400:15;10121:68:4;-1:-1:-1;;;;;10207:21:4;;10199:68;;;;-1:-1:-1;;;10199:68:4;;14727:2:15;10199:68:4;;;14709:21:15;14766:2;14746:18;;;14739:30;14805:34;14785:18;;;14778:62;14876:4;14856:18;;;14849:32;14898:19;;10199:68:4;14525:398:15;10199:68:4;-1:-1:-1;;;;;10278:18:4;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10329:32;;552:25:15;;;10329:32:4;;525:18:15;10329:32:4;;;;;;;9998:370;;;:::o;7301:713::-;-1:-1:-1;;;;;7436:20:4;;7428:70;;;;-1:-1:-1;;;7428:70:4;;15130:2:15;7428:70:4;;;15112:21:15;15169:2;15149:18;;;15142:30;15208:34;15188:18;;;15181:62;15279:7;15259:18;;;15252:35;15304:19;;7428:70:4;14928:401:15;7428:70:4;-1:-1:-1;;;;;7516:23:4;;7508:71;;;;-1:-1:-1;;;7508:71:4;;15536:2:15;7508:71:4;;;15518:21:15;15575:2;15555:18;;;15548:30;15614:34;15594:18;;;15587:62;15685:5;15665:18;;;15658:33;15708:19;;7508:71:4;15334:399:15;7508:71:4;7590:47;7611:6;7619:9;7630:6;7590:20;:47::i;:::-;-1:-1:-1;;;;;7672:17:4;;7648:21;7672:17;;;;;;;;;;;7707:23;;;;7699:74;;;;-1:-1:-1;;;7699:74:4;;15940:2:15;7699:74:4;;;15922:21:15;15979:2;15959:18;;;15952:30;16018:34;15998:18;;;15991:62;16089:8;16069:18;;;16062:36;16115:19;;7699:74:4;15738:402:15;7699:74:4;-1:-1:-1;;;;;7807:17:4;;;:9;:17;;;;;;;;;;;7827:22;;;7807:42;;7869:20;;;;;;;;:30;;7843:6;;7807:9;7869:30;;7843:6;;7869:30;:::i;:::-;;;;;;;;7932:9;-1:-1:-1;;;;;7915:35:4;7924:6;-1:-1:-1;;;;;7915:35:4;;7943:6;7915:35;;;;552:25:15;;540:2;525:18;;406:177;7915:35:4;;;;;;;;7961:46;944:361:5;3143:308:12;3196:7;3227:4;-1:-1:-1;;;;;3236:12:12;3219:29;;:66;;;;;3269:16;3252:13;:33;3219:66;3215:230;;;-1:-1:-1;3308:24:12;;3143:308::o;3215:230::-;3370:64;3392:10;3404:12;3418:15;3370:21;:64::i;2103:117:9:-;1161:7;;;;1662:41;;;;-1:-1:-1;;;1662:41:9;;16347:2:15;1662:41:9;;;16329:21:15;16386:2;16366:18;;;16359:30;16425:22;16405:18;;;16398:50;16465:18;;1662:41:9;16145:344:15;1662:41:9;2161:7:::1;:15:::0;;;::::1;::::0;;2191:22:::1;719:10:0::0;2200:12:9::1;2191:22;::::0;-1:-1:-1;;;;;2456:55:15;;;2438:74;;2426:2;2411:18;2191:22:9::1;;;;;;;2103:117::o:0;8999:576:4:-;-1:-1:-1;;;;;9082:21:4;;9074:67;;;;-1:-1:-1;;;9074:67:4;;16696:2:15;9074:67:4;;;16678:21:15;16735:2;16715:18;;;16708:30;16774:34;16754:18;;;16747:62;16845:3;16825:18;;;16818:31;16866:19;;9074:67:4;16494:397:15;9074:67:4;9152:49;9173:7;9190:1;9194:6;9152:20;:49::i;:::-;-1:-1:-1;;;;;9237:18:4;;9212:22;9237:18;;;;;;;;;;;9273:24;;;;9265:71;;;;-1:-1:-1;;;9265:71:4;;17098:2:15;9265:71:4;;;17080:21:15;17137:2;17117:18;;;17110:30;17176:34;17156:18;;;17149:62;17247:4;17227:18;;;17220:32;17269:19;;9265:71:4;16896:398:15;9265:71:4;-1:-1:-1;;;;;9370:18:4;;:9;:18;;;;;;;;;;9391:23;;;9370:44;;9434:12;:22;;9408:6;;9370:9;9434:22;;9408:6;;9434:22;:::i;:::-;;;;-1:-1:-1;;9472:37:4;;552:25:15;;;9498:1:4;;-1:-1:-1;;;;;9472:37:4;;;;;540:2:15;525:18;9472:37:4;;;;;;;1010:295:5;944:361;;:::o;2263:187:8:-;2355:6;;;-1:-1:-1;;;;;2371:17:8;;;2355:6;2371:17;;;;;;;;;;2403:40;;2355:6;;;;;;;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;5028:358:1:-;5149:4;5166:19;5188:37;5203:3;5208:7;5217;5188:14;:37::i;:::-;5166:59;;5236:28;5267:36;5291:11;4945:66;;18817::15;4945::1;;;18805:79:15;18900:12;;;18893:28;;;4908:7:1;;18937:12:15;;4945:66:1;;;;;;;;;;;;4935:77;;;;;;4928:84;;4830:190;;;;5267:36;5236:67;;5371:7;-1:-1:-1;;;;;5321:57:1;:46;5335:20;5357:9;5321:13;:46::i;:::-;-1:-1:-1;;;;;5321:57:1;;;5028:358;-1:-1:-1;;;;;;;;5028:358:1:o;8290:389:4:-;-1:-1:-1;;;;;8373:21:4;;8365:65;;;;-1:-1:-1;;;8365:65:4;;17501:2:15;8365:65:4;;;17483:21:15;17540:2;17520:18;;;17513:30;17579:33;17559:18;;;17552:61;17630:18;;8365:65:4;17299:355:15;8365:65:4;8441:49;8470:1;8474:7;8483:6;8441:20;:49::i;:::-;8517:6;8501:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8533:18:4;;:9;:18;;;;;;;;;;:28;;8555:6;;8533:9;:28;;8555:6;;8533:28;:::i;:::-;;;;-1:-1:-1;;8576:37:4;;552:25:15;;;-1:-1:-1;;;;;8576:37:4;;;8593:1;;8576:37;;540:2:15;525:18;8576:37:4;;;;;;;5983:466:1;;:::o;1856:115:9:-;1161:7;;;;1404:9;1396:38;;;;-1:-1:-1;;;1396:38:9;;8442:2:15;1396:38:9;;;8424:21:15;8481:2;8461:18;;;8454:30;8520:18;8500;;;8493:46;8556:18;;1396:38:9;8240:340:15;1396:38:9;1915:7:::1;:14:::0;;;::::1;1925:4;1915:14;::::0;;1944:20:::1;1951:12;719:10:0::0;;640:96;2684:203:13;-1:-1:-1;;;;;2804:14:13;;2744:15;2804:14;;;:7;:14;;;;;918::2;;1050:1;1032:19;;;;918:14;2863:17:13;2761:126;2684:203;;;:::o;4339:165:12:-;4416:7;4442:55;4464:20;:18;:20::i;:::-;4486:10;9253:57:3;;19633:66:15;9253:57:3;;;19621:79:15;19716:11;;;19709:27;;;19752:12;;;19745:28;;;9217:7:3;;19789:12:15;;9253:57:3;;;;;;;;;;;;9243:68;;;;;;9236:75;;9124:194;;;;;7479:270;7602:7;7622:17;7641:18;7663:25;7674:4;7680:1;7683;7686;7663:10;:25::i;:::-;7621:67;;;;7698:18;7710:5;7698:11;:18::i;:::-;-1:-1:-1;7733:9:3;7479:270;-1:-1:-1;;;;;7479:270:3:o;7997:167:1:-;1161:7:9;;;;1404:9;1396:38;;;;-1:-1:-1;;;1396:38:9;;8442:2:15;1396:38:9;;;8424:21:15;8481:2;8461:18;;;8454:30;8520:18;8500;;;8493:46;8556:18;;1396:38:9;8240:340:15;3457:257:12;3633:73;;;;;;17918:25:15;;;17959:18;;;17952:34;;;18002:18;;;17995:34;;;3677:13:12;18045:18:15;;;18038:34;3700:4:12;18088:19:15;;;18081:84;3597:7:12;;17890:19:15;;3633:73:12;;;;;;;;;;;;;3623:84;;;;;;3616:91;;3457:257;;;;;:::o;4651:171:1:-;4775:38;;18394:66:15;18381:2;18377:15;;;18373:88;4775:38:1;;;18361:101:15;18478:12;;;18471:28;;;18515:12;;;18508:28;;;4738:7:1;;18552:12:15;;4775:38:1;18176:394:15;5394:249:1;5496:7;5517:9;5528;5539:7;5550:26;5565:10;5550:14;:26::i;:::-;5594:41;;;;;;;;;;;;19187:25:15;;;19260:4;19248:17;;19228:18;;;19221:45;;;;19282:18;;;19275:34;;;19325:18;;;19318:34;;;5516:60:1;;-1:-1:-1;5516:60:1;;-1:-1:-1;5516:60:1;-1:-1:-1;5594:41:1;;19159:19:15;;5594:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5594:41:1;;;;;;5394:249;-1:-1:-1;;;;;;;5394:249:1:o;5743:1603:3:-;5869:7;;6793:66;6780:79;;6776:161;;;-1:-1:-1;6891:1:3;;-1:-1:-1;6895:30:3;6875:51;;6776:161;6950:1;:7;;6955:2;6950:7;;:18;;;;;6961:1;:7;;6966:2;6961:7;;6950:18;6946:100;;;-1:-1:-1;7000:1:3;;-1:-1:-1;7004:30:3;6984:51;;6946:100;7157:24;;;7140:14;7157:24;;;;;;;;;19187:25:15;;;19260:4;19248:17;;19228:18;;;19221:45;;;;19282:18;;;19275:34;;;19325:18;;;19318:34;;;7157:24:3;;19159:19:15;;7157:24:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7157:24:3;;;;;;-1:-1:-1;;;;;;;7195:20:3;;7191:101;;7247:1;7251:29;7231:50;;;;;;;7191:101;7310:6;-1:-1:-1;7318:20:3;;-1:-1:-1;5743:1603:3;;;;;;;;:::o;532:631::-;609:20;600:5;:29;;;;;;;;:::i;:::-;;596:561;;;532:631;:::o;596:561::-;705:29;696:5;:38;;;;;;;;:::i;:::-;;692:465;;;750:34;;-1:-1:-1;;;750:34:3;;20203:2:15;750:34:3;;;20185:21:15;20242:2;20222:18;;;20215:30;20281:26;20261:18;;;20254:54;20325:18;;750:34:3;20001:348:15;692:465:3;814:35;805:5;:44;;;;;;;;:::i;:::-;;801:356;;;865:41;;-1:-1:-1;;;865:41:3;;20556:2:15;865:41:3;;;20538:21:15;20595:2;20575:18;;;20568:30;20634:33;20614:18;;;20607:61;20685:18;;865:41:3;20354:355:15;801:356:3;936:30;927:5;:39;;;;;;;;:::i;:::-;;923:234;;;982:44;;-1:-1:-1;;;982:44:3;;20916:2:15;982:44:3;;;20898:21:15;20955:2;20935:18;;;20928:30;20994:34;20974:18;;;20967:62;21065:4;21045:18;;;21038:32;21087:19;;982:44:3;20714:398:15;923:234:3;1056:30;1047:5;:39;;;;;;;;:::i;:::-;;1043:114;;;1102:44;;-1:-1:-1;;;1102:44:3;;21319:2:15;1102:44:3;;;21301:21:15;21358:2;21338:18;;;21331:30;21397:34;21377:18;;;21370:62;21468:4;21448:18;;;21441:32;21490:19;;1102:44:3;21117:398:15;5651:324:1;5716:9;5727;5738:7;5767:3;:10;5781:2;5767:16;5759:54;;;;-1:-1:-1;;;5759:54:1;;21722:2:15;5759:54:1;;;21704:21:15;21761:2;21741:18;;;21734:30;21800:27;21780:18;;;21773:55;21845:18;;5759:54:1;21520:349:15;5759:54:1;-1:-1:-1;;;5868:2:1;5859:12;;5853:19;5906:2;5897:12;;5891:19;5952:2;5943:12;;;5937:19;5853;;5934:1;5929:28;;;;;5651:324::o;14:196:15:-;82:20;;-1:-1:-1;;;;;131:54:15;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:15:o;588:656::-;700:4;729:2;758;747:9;740:21;790:6;784:13;833:6;828:2;817:9;813:18;806:34;858:1;868:140;882:6;879:1;876:13;868:140;;;977:14;;;973:23;;967:30;943:17;;;962:2;939:26;932:66;897:10;;868:140;;;1026:6;1023:1;1020:13;1017:91;;;1096:1;1091:2;1082:6;1071:9;1067:22;1063:31;1056:42;1017:91;-1:-1:-1;1160:2:15;1148:15;1165:66;1144:88;1129:104;;;;1235:2;1125:113;;588:656;-1:-1:-1;;;588:656:15:o;1249:254::-;1317:6;1325;1378:2;1366:9;1357:7;1353:23;1349:32;1346:52;;;1394:1;1391;1384:12;1346:52;1417:29;1436:9;1417:29;:::i;:::-;1407:39;1493:2;1478:18;;;;1465:32;;-1:-1:-1;;;1249:254:15:o;1700:::-;1768:6;1776;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;1881:9;1868:23;1858:33;;1910:38;1944:2;1933:9;1929:18;1910:38;:::i;:::-;1900:48;;1700:254;;;;;:::o;1959:328::-;2036:6;2044;2052;2105:2;2093:9;2084:7;2080:23;2076:32;2073:52;;;2121:1;2118;2111:12;2073:52;2144:29;2163:9;2144:29;:::i;:::-;2134:39;;2192:38;2226:2;2215:9;2211:18;2192:38;:::i;:::-;2182:48;;2277:2;2266:9;2262:18;2249:32;2239:42;;1959:328;;;;;:::o;2894:180::-;2953:6;3006:2;2994:9;2985:7;2981:23;2977:32;2974:52;;;3022:1;3019;3012:12;2974:52;-1:-1:-1;3045:23:15;;2894:180;-1:-1:-1;2894:180:15:o;3288:184::-;3340:77;3337:1;3330:88;3437:4;3434:1;3427:15;3461:4;3458:1;3451:15;3477:1191;3572:6;3580;3588;3596;3649:3;3637:9;3628:7;3624:23;3620:33;3617:53;;;3666:1;3663;3656:12;3617:53;3689:29;3708:9;3689:29;:::i;:::-;3679:39;;3765:2;3754:9;3750:18;3737:32;3727:42;;3816:2;3805:9;3801:18;3788:32;3778:42;;3871:2;3860:9;3856:18;3843:32;3894:18;3935:2;3927:6;3924:14;3921:34;;;3951:1;3948;3941:12;3921:34;3989:6;3978:9;3974:22;3964:32;;4034:7;4027:4;4023:2;4019:13;4015:27;4005:55;;4056:1;4053;4046:12;4005:55;4092:2;4079:16;4114:2;4110;4107:10;4104:36;;;4120:18;;:::i;:::-;4254:2;4248:9;4316:4;4308:13;;4159:66;4304:22;;;4328:2;4300:31;4296:40;4284:53;;;4352:18;;;4372:22;;;4349:46;4346:72;;;4398:18;;:::i;:::-;4438:10;4434:2;4427:22;4473:2;4465:6;4458:18;4513:7;4508:2;4503;4499;4495:11;4491:20;4488:33;4485:53;;;4534:1;4531;4524:12;4485:53;4590:2;4585;4581;4577:11;4572:2;4564:6;4560:15;4547:46;4635:1;4630:2;4625;4617:6;4613:15;4609:24;4602:35;4656:6;4646:16;;;;;;;3477:1191;;;;;;;:::o;4673:347::-;4738:6;4746;4799:2;4787:9;4778:7;4774:23;4770:32;4767:52;;;4815:1;4812;4805:12;4767:52;4838:29;4857:9;4838:29;:::i;:::-;4828:39;;4917:2;4906:9;4902:18;4889:32;4964:5;4957:13;4950:21;4943:5;4940:32;4930:60;;4986:1;4983;4976:12;4930:60;5009:5;4999:15;;;4673:347;;;;;:::o;5025:693::-;5136:6;5144;5152;5160;5168;5176;5184;5237:3;5225:9;5216:7;5212:23;5208:33;5205:53;;;5254:1;5251;5244:12;5205:53;5277:29;5296:9;5277:29;:::i;:::-;5267:39;;5325:38;5359:2;5348:9;5344:18;5325:38;:::i;:::-;5315:48;;5410:2;5399:9;5395:18;5382:32;5372:42;;5461:2;5450:9;5446:18;5433:32;5423:42;;5515:3;5504:9;5500:19;5487:33;5560:4;5553:5;5549:16;5542:5;5539:27;5529:55;;5580:1;5577;5570:12;5529:55;5025:693;;;;-1:-1:-1;5025:693:15;;;;5603:5;5655:3;5640:19;;5627:33;;-1:-1:-1;5707:3:15;5692:19;;;5679:33;;5025:693;-1:-1:-1;;5025:693:15:o;5723:260::-;5791:6;5799;5852:2;5840:9;5831:7;5827:23;5823:32;5820:52;;;5868:1;5865;5858:12;5820:52;5891:29;5910:9;5891:29;:::i;:::-;5881:39;;5939:38;5973:2;5962:9;5958:18;5939:38;:::i;5988:437::-;6067:1;6063:12;;;;6110;;;6131:61;;6185:4;6177:6;6173:17;6163:27;;6131:61;6238:2;6230:6;6227:14;6207:18;6204:38;6201:218;;;6275:77;6272:1;6265:88;6376:4;6373:1;6366:15;6404:4;6401:1;6394:15;7918:184;7970:77;7967:1;7960:88;8067:4;8064:1;8057:15;8091:4;8088:1;8081:15;8107:128;8147:3;8178:1;8174:6;8171:1;8168:13;8165:39;;;8184:18;;:::i;:::-;-1:-1:-1;8220:9:15;;8107:128::o;9741:228::-;9781:7;9907:1;9839:66;9835:74;9832:1;9829:81;9824:1;9817:9;9810:17;9806:105;9803:131;;;9914:18;;:::i;:::-;-1:-1:-1;9954:9:15;;9741:228::o;11968:274::-;12008:1;12034;12024:189;;12069:77;12066:1;12059:88;12170:4;12167:1;12160:15;12198:4;12195:1;12188:15;12024:189;-1:-1:-1;12227:9:15;;11968:274::o;12247:125::-;12287:4;12315:1;12312;12309:8;12306:34;;;12320:18;;:::i;:::-;-1:-1:-1;12357:9:15;;12247:125::o;19812:184::-;19864:77;19861:1;19854:88;19961:4;19958:1;19951:15;19985:4;19982:1;19975:15
Swarm Source
ipfs://bf00d788754f2d79e3792395475245144773c2b4279641b6cca2498c438d1bcb
Loading...
Loading
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.