Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 CGN
Holders
660
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
44,856.572618449194443067 CGNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ChainGainToken
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-10-13 */ // SPDX-License-Identifier: MIT 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; } } /** * @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() { _setOwner(_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 { _setOwner(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" ); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @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 ); } /** * @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); } /** * @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(uint256 amount) internal virtual { address burner = msg.sender; _beforeTokenTransfer(burner, address(0), amount); uint256 accountBalance = _balances[burner]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[burner] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(burner, address(0), amount); _afterTokenTransfer(burner, 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 {} } /** * @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 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) ); } } /** * @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; 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 ); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (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); } } /** * @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; } } /** * @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); } /** * @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(); } } contract ChainGainToken is ERC20Permit, Ownable { string internal constant NAME = "ChainGain"; string internal constant SYMBOL = "CGN"; uint256 internal constant MAX_SUPPLY_AMOUNT = 100000000; uint256 public maxSupply; event Burn(address indexed burner, uint256 value); constructor() ERC20Permit(NAME) ERC20(NAME, SYMBOL) { maxSupply = MAX_SUPPLY_AMOUNT * decimalFactor(); } function decimalFactor() public view returns (uint256) { return 10**decimals(); } function mint(address _to, uint256 _value) external onlyOwner { unchecked { uint256 newTotalSupply = totalSupply() + _value; require(maxSupply >= newTotalSupply, "Minting exceed max supply"); } super._mint(_to, _value); } function burn(uint256 _value) public { super._burn(_value); emit Burn(msg.sender, _value); } }
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":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimalFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b506040518060400160405280600981526020016821b430b4b723b0b4b760b91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600981526020016821b430b4b723b0b4b760b91b8152506040518060400160405280600381526020016221a3a760e91b8152508160039080519060200190620000cb92919062000204565b508051620000e190600490602084019062000204565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a0181905281830198909852606081019590955260808086019390935230858301528051808603909201825293909201909252805194019390932090925261010052506200017a9050336200019d565b62000184620001ef565b62000194906305f5e100620002c0565b60075562000436565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000620001ff6012600a620003e1565b905090565b8280546200021290620003f9565b90600052602060002090601f01602090048101928262000236576000855562000281565b82601f106200025157805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028157825182559160200191906001019062000264565b506200028f92915062000293565b5090565b5b808211156200028f576000815560010162000294565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620002dd57620002dd620002aa565b500290565b600181815b8085111562000323578160001904821115620003075762000307620002aa565b808516156200031557918102915b93841c9390800290620002e7565b509250929050565b6000826200033c57506001620003db565b816200034b57506000620003db565b81600181146200036457600281146200036f576200038f565b6001915050620003db565b60ff841115620003835762000383620002aa565b50506001821b620003db565b5060208310610133831016604e8410600b8410161715620003b4575081810a620003db565b620003c08383620002e2565b8060001904821115620003d757620003d7620002aa565b0290505b92915050565b6000620003f260ff8416836200032b565b9392505050565b600181811c908216806200040e57607f821691505b602082108114156200043057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051610120516115666200048660003960006106da01526000610bcf01526000610c1e01526000610bf901526000610b7d01526000610ba601526115666000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063a457c2d71161007c578063a457c2d714610263578063a9059cbb14610276578063d505accf14610289578063d5abeb011461029c578063dd62ed3e146102a5578063f2fde38b146102de57600080fd5b806370a08231146101fc578063715018a6146102255780637ecebe001461022d5780638da5cb5b1461024057806395d89b411461025b57600080fd5b80633644e515116100ff5780633644e515146101b157806339509351146101b957806340c10f19146101cc57806342966c68146101e15780636d6a6a4d146101f457600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d57806323b872dd1461018f578063313ce567146101a2575b600080fd5b6101446102f1565b60405161015191906111c0565b60405180910390f35b61016d610168366004611231565b610383565b6040519015158152602001610151565b6002545b604051908152602001610151565b61016d61019d36600461125b565b61039a565b60405160128152602001610151565b610181610449565b61016d6101c7366004611231565b610458565b6101df6101da366004611231565b610494565b005b6101df6101ef366004611297565b61052e565b61018161056f565b61018161020a3660046112b0565b6001600160a01b031660009081526020819052604090205490565b6101df61057d565b61018161023b3660046112b0565b6105b3565b6006546040516001600160a01b039091168152602001610151565b6101446105d1565b61016d610271366004611231565b6105e0565b61016d610284366004611231565b610679565b6101df6102973660046112d2565b610686565b61018160075481565b6101816102b3366004611345565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101df6102ec3660046112b0565b6107ea565b60606003805461030090611378565b80601f016020809104026020016040519081016040528092919081815260200182805461032c90611378565b80156103795780601f1061034e57610100808354040283529160200191610379565b820191906000526020600020905b81548152906001019060200180831161035c57829003601f168201915b5050505050905090565b6000610390338484610885565b5060015b92915050565b60006103a78484846109aa565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104315760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61043e8533858403610885565b506001949350505050565b6000610453610b79565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161039091859061048f9086906113c3565b610885565b6006546001600160a01b031633146104be5760405162461bcd60e51b8152600401610428906113db565b6000816104ca60025490565b01905080600754101561051f5760405162461bcd60e51b815260206004820152601960248201527f4d696e74696e6720657863656564206d617820737570706c79000000000000006044820152606401610428565b5061052a8282610c6c565b5050565b61053781610d4b565b60405181815233907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59060200160405180910390a250565b60006104536012600a6114f4565b6006546001600160a01b031633146105a75760405162461bcd60e51b8152600401610428906113db565b6105b16000610e28565b565b6001600160a01b038116600090815260056020526040812054610394565b60606004805461030090611378565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106625760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610428565b61066f3385858403610885565b5060019392505050565b60006103903384846109aa565b834211156106d65760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610428565b60007f00000000000000000000000000000000000000000000000000000000000000008888886107058c610e7a565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061076082610ea2565b9050600061077082878787610ef0565b9050896001600160a01b0316816001600160a01b0316146107d35760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610428565b6107de8a8a8a610885565b50505050505050505050565b6006546001600160a01b031633146108145760405162461bcd60e51b8152600401610428906113db565b6001600160a01b0381166108795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610428565b61088281610e28565b50565b6001600160a01b0383166108e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610428565b6001600160a01b0382166109485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610428565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a0e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610428565b6001600160a01b038216610a705760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610428565b6001600160a01b03831660009081526020819052604090205481811015610ae85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610428565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b1f9084906113c3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b6b91815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610bc857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610cc25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610428565b8060026000828254610cd491906113c3565b90915550506001600160a01b03821660009081526020819052604081208054839290610d019084906113c3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b3360008181526020819052604090205482811015610db65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610428565b6001600160a01b0382166000908152602081905260408120848303905560028054859290610de5908490611503565b90915550506040518381526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161099d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610394610eaf610b79565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000610f0187878787610f18565b91509150610f0e81611005565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610f4f5750600090506003610ffc565b8460ff16601b14158015610f6757508460ff16601c14155b15610f785750600090506004610ffc565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610fcc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ff557600060019250925050610ffc565b9150600090505b94509492505050565b60008160048111156110195761101961151a565b14156110225750565b60018160048111156110365761103661151a565b14156110845760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610428565b60028160048111156110985761109861151a565b14156110e65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610428565b60038160048111156110fa576110fa61151a565b14156111535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610428565b60048160048111156111675761116761151a565b14156108825760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610428565b600060208083528351808285015260005b818110156111ed578581018301518582016040015282016111d1565b818111156111ff576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461122c57600080fd5b919050565b6000806040838503121561124457600080fd5b61124d83611215565b946020939093013593505050565b60008060006060848603121561127057600080fd5b61127984611215565b925061128760208501611215565b9150604084013590509250925092565b6000602082840312156112a957600080fd5b5035919050565b6000602082840312156112c257600080fd5b6112cb82611215565b9392505050565b600080600080600080600060e0888a0312156112ed57600080fd5b6112f688611215565b965061130460208901611215565b95506040880135945060608801359350608088013560ff8116811461132857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561135857600080fd5b61136183611215565b915061136f60208401611215565b90509250929050565b600181811c9082168061138c57607f821691505b60208210811415610e9c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156113d6576113d66113ad565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181815b8085111561144b578160001904821115611431576114316113ad565b8085161561143e57918102915b93841c9390800290611415565b509250929050565b60008261146257506001610394565b8161146f57506000610394565b8160018114611485576002811461148f576114ab565b6001915050610394565b60ff8411156114a0576114a06113ad565b50506001821b610394565b5060208310610133831016604e8410600b84101617156114ce575081810a610394565b6114d88383611410565b80600019048211156114ec576114ec6113ad565b029392505050565b60006112cb60ff841683611453565b600082821015611515576115156113ad565b500390565b634e487b7160e01b600052602160045260246000fdfea26469706673582212203d99a505f2bac07273f84e96e50e7c5dc41928e461c25146d64cb69ecb5c357f64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063a457c2d71161007c578063a457c2d714610263578063a9059cbb14610276578063d505accf14610289578063d5abeb011461029c578063dd62ed3e146102a5578063f2fde38b146102de57600080fd5b806370a08231146101fc578063715018a6146102255780637ecebe001461022d5780638da5cb5b1461024057806395d89b411461025b57600080fd5b80633644e515116100ff5780633644e515146101b157806339509351146101b957806340c10f19146101cc57806342966c68146101e15780636d6a6a4d146101f457600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d57806323b872dd1461018f578063313ce567146101a2575b600080fd5b6101446102f1565b60405161015191906111c0565b60405180910390f35b61016d610168366004611231565b610383565b6040519015158152602001610151565b6002545b604051908152602001610151565b61016d61019d36600461125b565b61039a565b60405160128152602001610151565b610181610449565b61016d6101c7366004611231565b610458565b6101df6101da366004611231565b610494565b005b6101df6101ef366004611297565b61052e565b61018161056f565b61018161020a3660046112b0565b6001600160a01b031660009081526020819052604090205490565b6101df61057d565b61018161023b3660046112b0565b6105b3565b6006546040516001600160a01b039091168152602001610151565b6101446105d1565b61016d610271366004611231565b6105e0565b61016d610284366004611231565b610679565b6101df6102973660046112d2565b610686565b61018160075481565b6101816102b3366004611345565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101df6102ec3660046112b0565b6107ea565b60606003805461030090611378565b80601f016020809104026020016040519081016040528092919081815260200182805461032c90611378565b80156103795780601f1061034e57610100808354040283529160200191610379565b820191906000526020600020905b81548152906001019060200180831161035c57829003601f168201915b5050505050905090565b6000610390338484610885565b5060015b92915050565b60006103a78484846109aa565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104315760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61043e8533858403610885565b506001949350505050565b6000610453610b79565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161039091859061048f9086906113c3565b610885565b6006546001600160a01b031633146104be5760405162461bcd60e51b8152600401610428906113db565b6000816104ca60025490565b01905080600754101561051f5760405162461bcd60e51b815260206004820152601960248201527f4d696e74696e6720657863656564206d617820737570706c79000000000000006044820152606401610428565b5061052a8282610c6c565b5050565b61053781610d4b565b60405181815233907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59060200160405180910390a250565b60006104536012600a6114f4565b6006546001600160a01b031633146105a75760405162461bcd60e51b8152600401610428906113db565b6105b16000610e28565b565b6001600160a01b038116600090815260056020526040812054610394565b60606004805461030090611378565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106625760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610428565b61066f3385858403610885565b5060019392505050565b60006103903384846109aa565b834211156106d65760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610428565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886107058c610e7a565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061076082610ea2565b9050600061077082878787610ef0565b9050896001600160a01b0316816001600160a01b0316146107d35760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610428565b6107de8a8a8a610885565b50505050505050505050565b6006546001600160a01b031633146108145760405162461bcd60e51b8152600401610428906113db565b6001600160a01b0381166108795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610428565b61088281610e28565b50565b6001600160a01b0383166108e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610428565b6001600160a01b0382166109485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610428565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a0e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610428565b6001600160a01b038216610a705760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610428565b6001600160a01b03831660009081526020819052604090205481811015610ae85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610428565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b1f9084906113c3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b6b91815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415610bc857507f80b61935a76550a2823abe775aa830ab5d33dabe8e884e2e7b5fc8fcd1085ee590565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f1dcfcf43a20a379b7363126d483a6ce40066110ab58fdbc3e72a2e8a13ee62e8828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610cc25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610428565b8060026000828254610cd491906113c3565b90915550506001600160a01b03821660009081526020819052604081208054839290610d019084906113c3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b3360008181526020819052604090205482811015610db65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610428565b6001600160a01b0382166000908152602081905260408120848303905560028054859290610de5908490611503565b90915550506040518381526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161099d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610394610eaf610b79565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000610f0187878787610f18565b91509150610f0e81611005565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610f4f5750600090506003610ffc565b8460ff16601b14158015610f6757508460ff16601c14155b15610f785750600090506004610ffc565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610fcc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ff557600060019250925050610ffc565b9150600090505b94509492505050565b60008160048111156110195761101961151a565b14156110225750565b60018160048111156110365761103661151a565b14156110845760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610428565b60028160048111156110985761109861151a565b14156110e65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610428565b60038160048111156110fa576110fa61151a565b14156111535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610428565b60048160048111156111675761116761151a565b14156108825760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610428565b600060208083528351808285015260005b818110156111ed578581018301518582016040015282016111d1565b818111156111ff576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461122c57600080fd5b919050565b6000806040838503121561124457600080fd5b61124d83611215565b946020939093013593505050565b60008060006060848603121561127057600080fd5b61127984611215565b925061128760208501611215565b9150604084013590509250925092565b6000602082840312156112a957600080fd5b5035919050565b6000602082840312156112c257600080fd5b6112cb82611215565b9392505050565b600080600080600080600060e0888a0312156112ed57600080fd5b6112f688611215565b965061130460208901611215565b95506040880135945060608801359350608088013560ff8116811461132857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561135857600080fd5b61136183611215565b915061136f60208401611215565b90509250929050565b600181811c9082168061138c57607f821691505b60208210811415610e9c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156113d6576113d66113ad565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181815b8085111561144b578160001904821115611431576114316113ad565b8085161561143e57918102915b93841c9390800290611415565b509250929050565b60008261146257506001610394565b8161146f57506000610394565b8160018114611485576002811461148f576114ab565b6001915050610394565b60ff8411156114a0576114a06113ad565b50506001821b610394565b5060208310610133831016604e8410600b84101617156114ce575081810a610394565b6114d88383611410565b80600019048211156114ec576114ec6113ad565b029392505050565b60006112cb60ff841683611453565b600082821015611515576115156113ad565b500390565b634e487b7160e01b600052602160045260246000fdfea26469706673582212203d99a505f2bac07273f84e96e50e7c5dc41928e461c25146d64cb69ecb5c357f64736f6c63430008090033
Deployed Bytecode Sourcemap
39167:943:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8446:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10761:210;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;10761:210:0;1053:187:1;9569:108:0;9657:12;;9569:108;;;1391:25:1;;;1379:2;1364:18;9569:108:0;1245:177:1;11454:531:0;;;;;;:::i;:::-;;:::i;9410:93::-;;;9493:2;1902:36:1;;1890:2;1875:18;9410:93:0;1760:184:1;38666:115:0;;;:::i;12395:297::-;;;;;;:::i;:::-;;:::i;39704:279::-;;;;;;:::i;:::-;;:::i;:::-;;39992:115;;;;;;:::i;:::-;;:::i;39600:95::-;;;:::i;9741:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;9892:18:0;9860:7;9892:18;;;;;;;;;;;;9741:177;2411:94;;;:::i;38357:178::-;;;;;;:::i;:::-;;:::i;1758:87::-;1831:6;;1758:87;;-1:-1:-1;;;;;1831:6:0;;;2653:51:1;;2641:2;2626:18;1758:87:0;2507:203:1;8666:104:0;;;:::i;13196:483::-;;;;;;:::i;:::-;;:::i;10132:216::-;;;;;;:::i;:::-;;:::i;37500:790::-;;;;;;:::i;:::-;;:::i;39380:24::-;;;;;;10412:201;;;;;;:::i;:::-;-1:-1:-1;;;;;10578:18:0;;;10546:7;10578:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10412:201;2661:229;;;;;;:::i;:::-;;:::i;8446:100::-;8500:13;8533:5;8526:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8446:100;:::o;10761:210::-;10880:4;10902:39;684:10;10925:7;10934:6;10902:8;:39::i;:::-;-1:-1:-1;10959:4:0;10761:210;;;;;:::o;11454:531::-;11594:4;11611:36;11621:6;11629:9;11640:6;11611:9;:36::i;:::-;-1:-1:-1;;;;;11688:19:0;;11661:24;11688:19;;;:11;:19;;;;;;;;684:10;11688:33;;;;;;;;11754:26;;;;11732:116;;;;-1:-1:-1;;;11732:116:0;;4265:2:1;11732:116:0;;;4247:21:1;4304:2;4284:18;;;4277:30;4343:34;4323:18;;;4316:62;-1:-1:-1;;;4394:18:1;;;4387:38;4442:19;;11732:116:0;;;;;;;;;11884:57;11893:6;684:10;11934:6;11915:16;:25;11884:8;:57::i;:::-;-1:-1:-1;11973:4:0;;11454:531;-1:-1:-1;;;;11454:531:0:o;38666:115::-;38726:7;38753:20;:18;:20::i;:::-;38746:27;;38666:115;:::o;12395:297::-;684:10;12510:4;12604:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12604:34:0;;;;;;;;;;12510:4;;12532:130;;12582:7;;12604:47;;12641:10;;12604:47;:::i;:::-;12532:8;:130::i;39704:279::-;1831:6;;-1:-1:-1;;;;;1831:6:0;684:10;1979:23;1971:68;;;;-1:-1:-1;;;1971:68:0;;;;;;;:::i;:::-;39802:22:::1;39843:6;39827:13;9657:12:::0;;;9569:108;39827:13:::1;:22;39802:47;;39885:14;39872:9;;:27;;39864:65;;;::::0;-1:-1:-1;;;39864:65:0;;5300:2:1;39864:65:0::1;::::0;::::1;5282:21:1::0;5339:2;5319:18;;;5312:30;5378:27;5358:18;;;5351:55;5423:18;;39864:65:0::1;5098:349:1::0;39864:65:0::1;39777:164;39951:24;39963:3;39968:6;39951:11;:24::i;:::-;39704:279:::0;;:::o;39992:115::-;40040:19;40052:6;40040:11;:19::i;:::-;40075:24;;1391:25:1;;;40080:10:0;;40075:24;;1379:2:1;1364:18;40075:24:0;;;;;;;39992:115;:::o;39600:95::-;39646:7;39673:14;9493:2;39673;:14;:::i;2411:94::-;1831:6;;-1:-1:-1;;;;;1831:6:0;684:10;1979:23;1971:68;;;;-1:-1:-1;;;1971:68:0;;;;;;;:::i;:::-;2476:21:::1;2494:1;2476:9;:21::i;:::-;2411:94::o:0;38357:178::-;-1:-1:-1;;;;;38503:14:0;;38471:7;38503:14;;;:7;:14;;;;;33534;38503:24;33442:114;8666:104;8722:13;8755:7;8748:14;;;;;:::i;13196:483::-;684:10;13316:4;13365:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13365:34:0;;;;;;;;;;13432:35;;;;13410:122;;;;-1:-1:-1;;;13410:122:0;;7037:2:1;13410:122:0;;;7019:21:1;7076:2;7056:18;;;7049:30;7115:34;7095:18;;;7088:62;-1:-1:-1;;;7166:18:1;;;7159:35;7211:19;;13410:122:0;6835:401:1;13410:122:0;13568:67;684:10;13591:7;13619:15;13600:16;:34;13568:8;:67::i;:::-;-1:-1:-1;13667:4:0;;13196:483;-1:-1:-1;;;13196:483:0:o;10132:216::-;10254:4;10276:42;684:10;10300:9;10311:6;10276:9;:42::i;37500:790::-;37744:8;37725:15;:27;;37717:69;;;;-1:-1:-1;;;37717:69:0;;7443:2:1;37717:69:0;;;7425:21:1;7482:2;7462:18;;;7455:30;7521:31;7501:18;;;7494:59;7570:18;;37717:69:0;7241:353:1;37717:69:0;37800:18;37874:16;37909:5;37933:7;37959:5;37983:16;37993:5;37983:9;:16::i;:::-;37845:196;;;;;;7886:25:1;;;;-1:-1:-1;;;;;7985:15:1;;;7965:18;;;7958:43;8037:15;;;;8017:18;;;8010:43;8069:18;;;8062:34;8112:19;;;8105:35;8156:19;;;8149:35;;;7858:19;;37845:196:0;;;;;;;;;;;;37821:231;;;;;;37800:252;;38066:12;38081:28;38098:10;38081:16;:28::i;:::-;38066:43;;38123:14;38140:28;38154:4;38160:1;38163;38166;38140:13;:28::i;:::-;38123:45;;38197:5;-1:-1:-1;;;;;38187:15:0;:6;-1:-1:-1;;;;;38187:15:0;;38179:58;;;;-1:-1:-1;;;38179:58:0;;8397:2:1;38179:58:0;;;8379:21:1;8436:2;8416:18;;;8409:30;8475:32;8455:18;;;8448:60;8525:18;;38179:58:0;8195:354:1;38179:58:0;38251:31;38260:5;38267:7;38276:5;38251:8;:31::i;:::-;37706:584;;;37500:790;;;;;;;:::o;2661:229::-;1831:6;;-1:-1:-1;;;;;1831:6:0;684:10;1979:23;1971:68;;;;-1:-1:-1;;;1971:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2764:22:0;::::1;2742:110;;;::::0;-1:-1:-1;;;2742:110:0;;8756:2:1;2742:110:0::1;::::0;::::1;8738:21:1::0;8795:2;8775:18;;;8768:30;8834:34;8814:18;;;8807:62;-1:-1:-1;;;8885:18:1;;;8878:36;8931:19;;2742:110:0::1;8554:402:1::0;2742:110:0::1;2863:19;2873:8;2863:9;:19::i;:::-;2661:229:::0;:::o;16937:381::-;-1:-1:-1;;;;;17073:19:0;;17065:68;;;;-1:-1:-1;;;17065:68:0;;9163:2:1;17065:68:0;;;9145:21:1;9202:2;9182:18;;;9175:30;9241:34;9221:18;;;9214:62;-1:-1:-1;;;9292:18:1;;;9285:34;9336:19;;17065:68:0;8961:400:1;17065:68:0;-1:-1:-1;;;;;17152:21:0;;17144:68;;;;-1:-1:-1;;;17144:68:0;;9568:2:1;17144:68:0;;;9550:21:1;9607:2;9587:18;;;9580:30;9646:34;9626:18;;;9619:62;-1:-1:-1;;;9697:18:1;;;9690:32;9739:19;;17144:68:0;9366:398:1;17144:68:0;-1:-1:-1;;;;;17226:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;17278:32;;1391:25:1;;;17278:32:0;;1364:18:1;17278:32:0;;;;;;;;16937:381;;;:::o;14170:774::-;-1:-1:-1;;;;;14310:20:0;;14302:70;;;;-1:-1:-1;;;14302:70:0;;9971:2:1;14302:70:0;;;9953:21:1;10010:2;9990:18;;;9983:30;10049:34;10029:18;;;10022:62;-1:-1:-1;;;10100:18:1;;;10093:35;10145:19;;14302:70:0;9769:401:1;14302:70:0;-1:-1:-1;;;;;14391:23:0;;14383:71;;;;-1:-1:-1;;;14383:71:0;;10377:2:1;14383:71:0;;;10359:21:1;10416:2;10396:18;;;10389:30;10455:34;10435:18;;;10428:62;-1:-1:-1;;;10506:18:1;;;10499:33;10549:19;;14383:71:0;10175:399:1;14383:71:0;-1:-1:-1;;;;;14553:17:0;;14529:21;14553:17;;;;;;;;;;;14603:23;;;;14581:111;;;;-1:-1:-1;;;14581:111:0;;10781:2:1;14581:111:0;;;10763:21:1;10820:2;10800:18;;;10793:30;10859:34;10839:18;;;10832:62;-1:-1:-1;;;10910:18:1;;;10903:36;10956:19;;14581:111:0;10579:402:1;14581:111:0;-1:-1:-1;;;;;14728:17:0;;;:9;:17;;;;;;;;;;;14748:22;;;14728:42;;14792:20;;;;;;;;:30;;14764:6;;14728:9;14792:30;;14764:6;;14792:30;:::i;:::-;;;;;;;;14858:9;-1:-1:-1;;;;;14841:35:0;14850:6;-1:-1:-1;;;;;14841:35:0;;14869:6;14841:35;;;;1391:25:1;;1379:2;1364:18;;1245:177;14841:35:0;;;;;;;;14291:653;14170:774;;;:::o;31030:380::-;31083:7;31124:16;31107:13;:33;31103:300;;;-1:-1:-1;31164:24:0;;31030:380::o;31103:300::-;-1:-1:-1;31631:197:0;;;31289:10;31631:197;;;;12138:25:1;;;;31322:12:0;12179:18:1;;;12172:34;31357:15:0;12222:18:1;;;12215:34;31760:13:0;12265:18:1;;;12258:34;31804:4:0;12308:19:1;;;;12301:61;;;;31631:197:0;;;;;;;;;;12110:19:1;;;;31631:197:0;;;31603:240;;;;;;38666:115::o;15232:402::-;-1:-1:-1;;;;;15316:21:0;;15308:65;;;;-1:-1:-1;;;15308:65:0;;11188:2:1;15308:65:0;;;11170:21:1;11227:2;11207:18;;;11200:30;11266:33;11246:18;;;11239:61;11317:18;;15308:65:0;10986:355:1;15308:65:0;15466:6;15450:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;15483:18:0;;:9;:18;;;;;;;;;;:28;;15505:6;;15483:9;:28;;15505:6;;15483:28;:::i;:::-;;;;-1:-1:-1;;15527:37:0;;1391:25:1;;;-1:-1:-1;;;;;15527:37:0;;;15544:1;;15527:37;;1379:2:1;1364:18;15527:37:0;;;;;;;39704:279;;:::o;15968:530::-;16044:10;16127:22;16152:17;;;;;;;;;;;16188:24;;;;16180:71;;;;-1:-1:-1;;;16180:71:0;;11548:2:1;16180:71:0;;;11530:21:1;11587:2;11567:18;;;11560:30;11626:34;11606:18;;;11599:62;-1:-1:-1;;;11677:18:1;;;11670:32;11719:19;;16180:71:0;11346:398:1;16180:71:0;-1:-1:-1;;;;;16287:17:0;;:9;:17;;;;;;;;;;16307:23;;;16287:43;;16352:12;:22;;16324:6;;16287:9;16352:22;;16324:6;;16352:22;:::i;:::-;;;;-1:-1:-1;;16393:36:0;;1391:25:1;;;16418:1:0;;-1:-1:-1;;;;;16393:36:0;;;;;1379:2:1;1364:18;16393:36:0;1245:177:1;2899:173:0;2974:6;;;-1:-1:-1;;;;;2991:17:0;;;-1:-1:-1;;;;;;2991:17:0;;;;;;;3024:40;;2974:6;;;2991:17;2974:6;;3024:40;;2955:16;;3024:40;2944:128;2899:173;:::o;38920:239::-;-1:-1:-1;;;;;39073:14:0;;39007:15;39073:14;;;:7;:14;;;;;33534;;33672:1;33654:19;;;;33534:14;39134:17;39029:130;38920:239;;;:::o;32494:208::-;32607:7;32639:55;32661:20;:18;:20::i;:::-;32683:10;27919:57;;-1:-1:-1;;;27919:57:0;;;12631:27:1;12674:11;;;12667:27;;;12710:12;;;12703:28;;;27846:7:0;;12747:12:1;;27919:57:0;;;;;;;;;;;;27891:100;;;;;;27871:120;;27726:273;;;;;26449:279;26577:7;26598:17;26617:18;26639:25;26650:4;26656:1;26659;26662;26639:10;:25::i;:::-;26597:67;;;;26675:18;26687:5;26675:11;:18::i;:::-;-1:-1:-1;26711:9:0;26449:279;-1:-1:-1;;;;;26449:279:0:o;24638:1671::-;24769:7;;25730:66;25704:92;;25686:200;;;-1:-1:-1;25839:1:0;;-1:-1:-1;25843:30:0;25823:51;;25686:200;25900:1;:7;;25905:2;25900:7;;:18;;;;;25911:1;:7;;25916:2;25911:7;;25900:18;25896:102;;;-1:-1:-1;25951:1:0;;-1:-1:-1;25955:30:0;25935:51;;25896:102;26113:24;;;26096:14;26113:24;;;;;;;;;12997:25:1;;;13070:4;13058:17;;13038:18;;;13031:45;;;;13092:18;;;13085:34;;;13135:18;;;13128:34;;;26113:24:0;;12969:19:1;;26113:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26113:24:0;;-1:-1:-1;;26113:24:0;;;-1:-1:-1;;;;;;;26152:20:0;;26148:103;;26205:1;26209:29;26189:50;;;;;;;26148:103;26272:6;-1:-1:-1;26280:20:0;;-1:-1:-1;24638:1671:0;;;;;;;;:::o;19182:643::-;19260:20;19251:5;:29;;;;;;;;:::i;:::-;;19247:571;;;19182:643;:::o;19247:571::-;19358:29;19349:5;:38;;;;;;;;:::i;:::-;;19345:473;;;19404:34;;-1:-1:-1;;;19404:34:0;;13507:2:1;19404:34:0;;;13489:21:1;13546:2;13526:18;;;13519:30;13585:26;13565:18;;;13558:54;13629:18;;19404:34:0;13305:348:1;19345:473:0;19469:35;19460:5;:44;;;;;;;;:::i;:::-;;19456:362;;;19521:41;;-1:-1:-1;;;19521:41:0;;13860:2:1;19521:41:0;;;13842:21:1;13899:2;13879:18;;;13872:30;13938:33;13918:18;;;13911:61;13989:18;;19521:41:0;13658:355:1;19456:362:0;19593:30;19584:5;:39;;;;;;;;:::i;:::-;;19580:238;;;19640:44;;-1:-1:-1;;;19640:44:0;;14220:2:1;19640:44:0;;;14202:21:1;14259:2;14239:18;;;14232:30;14298:34;14278:18;;;14271:62;-1:-1:-1;;;14349:18:1;;;14342:32;14391:19;;19640:44:0;14018:398:1;19580:238:0;19715:30;19706:5;:39;;;;;;;;:::i;:::-;;19702:116;;;19762:44;;-1:-1:-1;;;19762:44:0;;14623:2:1;19762:44:0;;;14605:21:1;14662:2;14642:18;;;14635:30;14701:34;14681:18;;;14674:62;-1:-1:-1;;;14752:18:1;;;14745:32;14794:19;;19762:44:0;14421:398:1;14:597;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;2131:180::-;2190:6;2243:2;2231:9;2222:7;2218:23;2214:32;2211:52;;;2259:1;2256;2249:12;2211:52;-1:-1:-1;2282:23:1;;2131:180;-1:-1:-1;2131:180:1:o;2316:186::-;2375:6;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;2316:186;-1:-1:-1;;;2316:186:1:o;2715:693::-;2826:6;2834;2842;2850;2858;2866;2874;2927:3;2915:9;2906:7;2902:23;2898:33;2895:53;;;2944:1;2941;2934:12;2895:53;2967:29;2986:9;2967:29;:::i;:::-;2957:39;;3015:38;3049:2;3038:9;3034:18;3015:38;:::i;:::-;3005:48;;3100:2;3089:9;3085:18;3072:32;3062:42;;3151:2;3140:9;3136:18;3123:32;3113:42;;3205:3;3194:9;3190:19;3177:33;3250:4;3243:5;3239:16;3232:5;3229:27;3219:55;;3270:1;3267;3260:12;3219:55;2715:693;;;;-1:-1:-1;2715:693:1;;;;3293:5;3345:3;3330:19;;3317:33;;-1:-1:-1;3397:3:1;3382:19;;;3369:33;;2715:693;-1:-1:-1;;2715:693:1:o;3413:260::-;3481:6;3489;3542:2;3530:9;3521:7;3517:23;3513:32;3510:52;;;3558:1;3555;3548:12;3510:52;3581:29;3600:9;3581:29;:::i;:::-;3571:39;;3629:38;3663:2;3652:9;3648:18;3629:38;:::i;:::-;3619:48;;3413:260;;;;;:::o;3678:380::-;3757:1;3753:12;;;;3800;;;3821:61;;3875:4;3867:6;3863:17;3853:27;;3821:61;3928:2;3920:6;3917:14;3897:18;3894:38;3891:161;;;3974:10;3969:3;3965:20;3962:1;3955:31;4009:4;4006:1;3999:15;4037:4;4034:1;4027:15;4472:127;4533:10;4528:3;4524:20;4521:1;4514:31;4564:4;4561:1;4554:15;4588:4;4585:1;4578:15;4604:128;4644:3;4675:1;4671:6;4668:1;4665:13;4662:39;;;4681:18;;:::i;:::-;-1:-1:-1;4717:9:1;;4604:128::o;4737:356::-;4939:2;4921:21;;;4958:18;;;4951:30;5017:34;5012:2;4997:18;;4990:62;5084:2;5069:18;;4737:356::o;5452:422::-;5541:1;5584:5;5541:1;5598:270;5619:7;5609:8;5606:21;5598:270;;;5678:4;5674:1;5670:6;5666:17;5660:4;5657:27;5654:53;;;5687:18;;:::i;:::-;5737:7;5727:8;5723:22;5720:55;;;5757:16;;;;5720:55;5836:22;;;;5796:15;;;;5598:270;;;5602:3;5452:422;;;;;:::o;5879:806::-;5928:5;5958:8;5948:80;;-1:-1:-1;5999:1:1;6013:5;;5948:80;6047:4;6037:76;;-1:-1:-1;6084:1:1;6098:5;;6037:76;6129:4;6147:1;6142:59;;;;6215:1;6210:130;;;;6122:218;;6142:59;6172:1;6163:10;;6186:5;;;6210:130;6247:3;6237:8;6234:17;6231:43;;;6254:18;;:::i;:::-;-1:-1:-1;;6310:1:1;6296:16;;6325:5;;6122:218;;6424:2;6414:8;6411:16;6405:3;6399:4;6396:13;6392:36;6386:2;6376:8;6373:16;6368:2;6362:4;6359:12;6355:35;6352:77;6349:159;;;-1:-1:-1;6461:19:1;;;6493:5;;6349:159;6540:34;6565:8;6559:4;6540:34;:::i;:::-;6610:6;6606:1;6602:6;6598:19;6589:7;6586:32;6583:58;;;6621:18;;:::i;:::-;6659:20;;5879:806;-1:-1:-1;;;5879:806:1:o;6690:140::-;6748:5;6777:47;6818:4;6808:8;6804:19;6798:4;6777:47;:::i;11749:125::-;11789:4;11817:1;11814;11811:8;11808:34;;;11822:18;;:::i;:::-;-1:-1:-1;11859:9:1;;11749:125::o;13173:127::-;13234:10;13229:3;13225:20;13222:1;13215:31;13265:4;13262:1;13255:15;13289:4;13286:1;13279:15
Swarm Source
ipfs://3d99a505f2bac07273f84e96e50e7c5dc41928e461c25146d64cb69ecb5c357f
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.