Overview
Max Total Supply
1,000,000 RULER
Holders
1,030 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.020947000072659356 RULERValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RULER
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: No License pragma solidity ^0.8.0; import "./ERC20/ERC20Permit.sol"; import "./utils/Initializable.sol"; import "./utils/Ownable.sol"; import "./utils/Address.sol"; /** * @title Ruler Protocol Governance Token * @author crypto-pumpkin */ contract RULER is ERC20Permit, Ownable { uint256 public constant CAP = 1000000 ether; function initialize() external initializer { initializeOwner(); initializeERC20("Ruler Protocol", "RULER", 18); initializeERC20Permit("Ruler Protocol"); _mint(msg.sender, CAP); } // collect any tokens sent by mistake function collect(address _token) external { if (_token == address(0)) { // token address(0) = ETH Address.sendValue(payable(owner()), address(this).balance); } else { uint256 balance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(owner(), balance); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./ERC20.sol"; import "./IERC20Permit.sol"; import "./ECDSA.sol"; import "./EIP712.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. * * !!! crypto-pumpkin modified: use symbol instead of name to initiate EIP712, as symbol is unique and represent the token in Ruler Protocol */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { mapping (address => uint256) 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. */ function initializeERC20Permit(string memory _name) internal { initializeEIP712(_name, "1"); } /** * @dev See {IERC20Permit-permit}. */ function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override { // solhint-disable-next-line not-rely-on-time require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256( abi.encode( _PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner], deadline ) ); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _nonces[owner]++; _approve(owner, spender, amount); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view override returns (uint256) { return _nonces[owner]; } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } }
// SPDX-License-Identifier: MIT // solhint-disable-next-line compiler-version pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function _isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. address self = address(this); uint256 cs; // solhint-disable-next-line no-inline-assembly assembly { cs := extcodesize(self) } return cs == 0; } }
// SPDX-License-Identifier: No License pragma solidity ^0.8.0; import "./Initializable.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. * @author crypto-pumpkin * * By initialization, the owner account will be the one that called initializeOwner. 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. */ contract Ownable is Initializable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Ruler: Initializes the contract setting the deployer as the initial owner. */ function initializeOwner() internal initializer { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == msg.sender, "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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./IERC20.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 guidelines: functions revert instead * of 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}. * * !!! crypto-pumpkin modified: use initializeERC20 to replace constructor for proxy */ contract ERC20 is IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 internal _totalSupply; string public override name; uint8 public override decimals; string public override symbol; function initializeERC20(string memory name_, string memory symbol_, uint8 decimals_) internal { name = name_; symbol = symbol_; decimals = decimals_; } function balanceOf(address account) external view override returns (uint256) { return _balances[account]; } function totalSupply() external view override returns (uint256) { return _totalSupply; } function transfer(address recipient, uint256 amount) external virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) external view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) external virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) external virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual override returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual override returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender] - subtractedValue); return true; } function _mint(address _account, uint256 _amount) internal virtual { require(_account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply + _amount; _balances[_account] = _balances[_account] + _amount; emit Transfer(address(0), _account, _amount); } function _approve(address owner, address spender, uint256 amount) internal { 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); } function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender] - amount; _balances[recipient] = _balances[recipient] + amount; emit Transfer(sender, recipient, amount); } function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account] - amount; _totalSupply = _totalSupply - amount; emit Transfer(account, address(0), amount); } }
// SPDX-License-Identifier: MIT 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 `amount` 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 amount, 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 pragma solidity 0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @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) { // Check the signature length if (signature.length != 65) { revert("ECDSA: invalid signature length"); } // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * replicates the behavior of the * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`] * JSON-RPC method. * * 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)); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * !!! crypto-pumpkin modified: remove immutable for the 5 vars, since we cannot set them in constructor, should be safe as they are set once in initialize internally */ 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. // crypto-pumpkin@: remove immutable to be initiated, it should only be set once in initialize bytes32 private _CACHED_DOMAIN_SEPARATOR; uint256 private _CACHED_CHAIN_ID; bytes32 private _HASHED_NAME; bytes32 private _HASHED_VERSION; bytes32 private _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]. */ function initializeEIP712 (string memory name, string memory version) internal { 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 = _getChainId(); _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 (_getChainId() == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, _getChainId(), 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 returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash)); } function _getChainId() private view returns (uint256 chainId) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 // solhint-disable-next-line no-inline-assembly assembly { chainId := chainid() } } }
// SPDX-License-Identifier: No License pragma solidity ^0.8.0; /** * @title Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function approve(address spender, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function totalSupply() external view returns (uint256); function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":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":"CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"collect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","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":"amount","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
60a06040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960805234801561003457600080fd5b506080516119b2610050600039600061084401526119b26000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80637ecebe00116100cd578063a9059cbb11610081578063dd62ed3e11610066578063dd62ed3e146102a8578063ec81b483146102bb578063f2fde38b146102c35761016c565b8063a9059cbb14610282578063d505accf146102955761016c565b80638da5cb5b116100b25780638da5cb5b1461025257806395d89b4114610267578063a457c2d71461026f5761016c565b80637ecebe00146102375780638129fc1c1461024a5761016c565b8063313ce567116101245780633950935111610109578063395093511461020957806370a082311461021c578063715018a61461022f5761016c565b8063313ce567146101ec5780633644e515146102015761016c565b8063095ea7b311610155578063095ea7b3146101a457806318160ddd146101c457806323b872dd146101d95761016c565b806306ec16f81461017157806306fdde0314610186575b600080fd5b61018461017f36600461114e565b6102d6565b005b61018e610421565b60405161019b91906113a3565b60405180910390f35b6101b76101b236600461124d565b6104af565b60405161019b9190611311565b6101cc6104c5565b60405161019b919061131c565b6101b76101e73660046111a1565b6104cc565b6101f461051e565b60405161019b9190611883565b6101cc610527565b6101b761021736600461124d565b610536565b6101cc61022a36600461114e565b61056d565b61018461058c565b6101cc61024536600461114e565b61062d565b610184610648565b61025a61079a565b60405161019b91906112e4565b61018e6107af565b6101b761027d36600461124d565b6107bc565b6101b761029036600461124d565b6107f3565b6101846102a33660046111dc565b610800565b6101cc6102b636600461116f565b610919565b6101cc610944565b6101846102d136600461114e565b610952565b6001600160a01b0381166102fa576102f56102ef61079a565b47610a28565b61041e565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b038316906370a08231906103429030906004016112e4565b60206040518083038186803b15801561035a57600080fd5b505afa15801561036e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103929190611296565b9050816001600160a01b031663a9059cbb6103ab61079a565b836040518363ffffffff1660e01b81526004016103c99291906112f8565b602060405180830381600087803b1580156103e357600080fd5b505af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190611276565b50505b50565b6003805461042e906118c0565b80601f016020809104026020016040519081016040528092919081815260200182805461045a906118c0565b80156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b60006104bc338484610ac4565b50600192915050565b6002545b90565b60006104d9848484610b78565b6001600160a01b03841660009081526001602090815260408083203380855292529091205461051491869161050f9086906118a9565b610ac4565b5060019392505050565b60045460ff1681565b6000610531610c6a565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104bc91859061050f908690611891565b6001600160a01b0381166000908152602081905260409020545b919050565b600c546201000090046001600160a01b031633146105c55760405162461bcd60e51b81526004016105bc9061175d565b60405180910390fd5b600c546040516000916201000090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffff0000000000000000000000000000000000000000ffff169055565b6001600160a01b03166000908152600b602052604090205490565b600c54610100900460ff16806106615750610661610c9e565b8061066f5750600c5460ff16155b61068b5760405162461bcd60e51b81526004016105bc9061166c565b600c54610100900460ff161580156106b657600c805460ff1961ff0019909116610100171660011790555b6106be610ca4565b6107346040518060400160405280600e81526020017f52756c65722050726f746f636f6c0000000000000000000000000000000000008152506040518060400160405280600581526020017f52554c45520000000000000000000000000000000000000000000000000000008152506012610d94565b6107726040518060400160405280600e81526020017f52756c65722050726f746f636f6c000000000000000000000000000000000000815250610dd4565b6107863369d3c21bcecceda1000000610e13565b801561041e57600c805461ff001916905550565b600c546201000090046001600160a01b031690565b6005805461042e906118c0565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104bc91859061050f9086906118a9565b60006104bc338484610b78565b834211156108205760405162461bcd60e51b81526004016105bc90611544565b6001600160a01b0387166000908152600b60209081526040808320549051610873927f0000000000000000000000000000000000000000000000000000000000000000928c928c928c92918c9101611325565b604051602081830303815290604052805190602001209050600061089682610ec9565b905060006108a682878787610f02565b9050896001600160a01b0316816001600160a01b0316146108d95760405162461bcd60e51b81526004016105bc90611726565b6001600160a01b038a166000908152600b602052604081208054916108fd83611914565b919050555061090d8a8a8a610ac4565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b69d3c21bcecceda100000081565b600c546201000090046001600160a01b031633146109825760405162461bcd60e51b81526004016105bc9061175d565b6001600160a01b0381166109a85760405162461bcd60e51b81526004016105bc9061148a565b600c546040516001600160a01b038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b80471015610a485760405162461bcd60e51b81526004016105bc90611635565b6000826001600160a01b031682604051610a61906104c9565b60006040518083038185875af1925050503d8060008114610a9e576040519150601f19603f3d011682016040523d82523d6000602084013e610aa3565b606091505b505090508061041b5760405162461bcd60e51b81526004016105bc9061157b565b6001600160a01b038316610aea5760405162461bcd60e51b81526004016105bc906117ef565b6001600160a01b038216610b105760405162461bcd60e51b81526004016105bc906114e7565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b6b90859061131c565b60405180910390a3505050565b6001600160a01b038316610b9e5760405162461bcd60e51b81526004016105bc90611792565b6001600160a01b038216610bc45760405162461bcd60e51b81526004016105bc9061142d565b6001600160a01b038316600090815260208190526040902054610be89082906118a9565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610c18908290611891565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b6b90859061131c565b6000600754610c77610ff8565b1415610c8657506006546104c9565b610c97600a54600854600954610ffc565b90506104c9565b303b1590565b600c54610100900460ff1680610cbd5750610cbd610c9e565b80610ccb5750600c5460ff16155b610ce75760405162461bcd60e51b81526004016105bc9061166c565b600c54610100900460ff16158015610d1257600c805460ff1961ff0019909116610100171660011790555b600c8054620100003381027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179182905560405191046001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3801561041e57600c805461ff001916905550565b8251610da790600390602086019061109e565b508151610dbb90600590602085019061109e565b506004805460ff191660ff929092169190911790555050565b61041e816040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525061103d565b6001600160a01b038216610e395760405162461bcd60e51b81526004016105bc9061184c565b80600254610e479190611891565b6002556001600160a01b038216600090815260208190526040902054610e6e908290611891565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ebd90859061131c565b60405180910390a35050565b6000610ed3610c6a565b82604051602001610ee59291906112ae565b604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610f445760405162461bcd60e51b81526004016105bc906115d8565b8360ff16601b1480610f5957508360ff16601c145b610f755760405162461bcd60e51b81526004016105bc906116c9565b600060018686868660405160008152602001604052604051610f9a9493929190611385565b6020604051602081039080840390855afa158015610fbc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610fef5760405162461bcd60e51b81526004016105bc906113f6565b95945050505050565b4690565b6000838383611009610ff8565b3060405160200161101e959493929190611359565b6040516020818303038152906040528051906020012090509392505050565b8151602080840191909120825191830191909120600882905560098190557f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611084610ff8565b600755611092818484610ffc565b600655600a5550505050565b8280546110aa906118c0565b90600052602060002090601f0160209004810192826110cc5760008555611112565b82601f106110e557805160ff1916838001178555611112565b82800160010185558215611112579182015b828111156111125782518255916020019190600101906110f7565b5061111e929150611122565b5090565b5b8082111561111e5760008155600101611123565b80356001600160a01b038116811461058757600080fd5b60006020828403121561115f578081fd5b61116882611137565b9392505050565b60008060408385031215611181578081fd5b61118a83611137565b915061119860208401611137565b90509250929050565b6000806000606084860312156111b5578081fd5b6111be84611137565b92506111cc60208501611137565b9150604084013590509250925092565b600080600080600080600060e0888a0312156111f6578283fd5b6111ff88611137565b965061120d60208901611137565b95506040880135945060608801359350608088013560ff81168114611230578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561125f578182fd5b61126883611137565b946020939093013593505050565b600060208284031215611287578081fd5b81518015158114611168578182fd5b6000602082840312156112a7578081fd5b5051919050565b7f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b818110156113cf578581018301518582016040015282016113b3565b818111156113e05783604083870101525b50601f01601f1916929092016040019392505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60408201527f7565000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201527f647920696e697469616c697a6564000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60408201527f7565000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b600082198211156118a4576118a461194d565b500190565b6000828210156118bb576118bb61194d565b500390565b6002810460018216806118d457607f821691505b6020821081141561190e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156119465761194661194d565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122045e7d6dda636d141018a83f991fdd6afb994ea4462d4383e85554a35354008a764736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061016c5760003560e01c80637ecebe00116100cd578063a9059cbb11610081578063dd62ed3e11610066578063dd62ed3e146102a8578063ec81b483146102bb578063f2fde38b146102c35761016c565b8063a9059cbb14610282578063d505accf146102955761016c565b80638da5cb5b116100b25780638da5cb5b1461025257806395d89b4114610267578063a457c2d71461026f5761016c565b80637ecebe00146102375780638129fc1c1461024a5761016c565b8063313ce567116101245780633950935111610109578063395093511461020957806370a082311461021c578063715018a61461022f5761016c565b8063313ce567146101ec5780633644e515146102015761016c565b8063095ea7b311610155578063095ea7b3146101a457806318160ddd146101c457806323b872dd146101d95761016c565b806306ec16f81461017157806306fdde0314610186575b600080fd5b61018461017f36600461114e565b6102d6565b005b61018e610421565b60405161019b91906113a3565b60405180910390f35b6101b76101b236600461124d565b6104af565b60405161019b9190611311565b6101cc6104c5565b60405161019b919061131c565b6101b76101e73660046111a1565b6104cc565b6101f461051e565b60405161019b9190611883565b6101cc610527565b6101b761021736600461124d565b610536565b6101cc61022a36600461114e565b61056d565b61018461058c565b6101cc61024536600461114e565b61062d565b610184610648565b61025a61079a565b60405161019b91906112e4565b61018e6107af565b6101b761027d36600461124d565b6107bc565b6101b761029036600461124d565b6107f3565b6101846102a33660046111dc565b610800565b6101cc6102b636600461116f565b610919565b6101cc610944565b6101846102d136600461114e565b610952565b6001600160a01b0381166102fa576102f56102ef61079a565b47610a28565b61041e565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b038316906370a08231906103429030906004016112e4565b60206040518083038186803b15801561035a57600080fd5b505afa15801561036e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103929190611296565b9050816001600160a01b031663a9059cbb6103ab61079a565b836040518363ffffffff1660e01b81526004016103c99291906112f8565b602060405180830381600087803b1580156103e357600080fd5b505af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190611276565b50505b50565b6003805461042e906118c0565b80601f016020809104026020016040519081016040528092919081815260200182805461045a906118c0565b80156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b60006104bc338484610ac4565b50600192915050565b6002545b90565b60006104d9848484610b78565b6001600160a01b03841660009081526001602090815260408083203380855292529091205461051491869161050f9086906118a9565b610ac4565b5060019392505050565b60045460ff1681565b6000610531610c6a565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104bc91859061050f908690611891565b6001600160a01b0381166000908152602081905260409020545b919050565b600c546201000090046001600160a01b031633146105c55760405162461bcd60e51b81526004016105bc9061175d565b60405180910390fd5b600c546040516000916201000090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffff0000000000000000000000000000000000000000ffff169055565b6001600160a01b03166000908152600b602052604090205490565b600c54610100900460ff16806106615750610661610c9e565b8061066f5750600c5460ff16155b61068b5760405162461bcd60e51b81526004016105bc9061166c565b600c54610100900460ff161580156106b657600c805460ff1961ff0019909116610100171660011790555b6106be610ca4565b6107346040518060400160405280600e81526020017f52756c65722050726f746f636f6c0000000000000000000000000000000000008152506040518060400160405280600581526020017f52554c45520000000000000000000000000000000000000000000000000000008152506012610d94565b6107726040518060400160405280600e81526020017f52756c65722050726f746f636f6c000000000000000000000000000000000000815250610dd4565b6107863369d3c21bcecceda1000000610e13565b801561041e57600c805461ff001916905550565b600c546201000090046001600160a01b031690565b6005805461042e906118c0565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104bc91859061050f9086906118a9565b60006104bc338484610b78565b834211156108205760405162461bcd60e51b81526004016105bc90611544565b6001600160a01b0387166000908152600b60209081526040808320549051610873927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92918c9101611325565b604051602081830303815290604052805190602001209050600061089682610ec9565b905060006108a682878787610f02565b9050896001600160a01b0316816001600160a01b0316146108d95760405162461bcd60e51b81526004016105bc90611726565b6001600160a01b038a166000908152600b602052604081208054916108fd83611914565b919050555061090d8a8a8a610ac4565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b69d3c21bcecceda100000081565b600c546201000090046001600160a01b031633146109825760405162461bcd60e51b81526004016105bc9061175d565b6001600160a01b0381166109a85760405162461bcd60e51b81526004016105bc9061148a565b600c546040516001600160a01b038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b80471015610a485760405162461bcd60e51b81526004016105bc90611635565b6000826001600160a01b031682604051610a61906104c9565b60006040518083038185875af1925050503d8060008114610a9e576040519150601f19603f3d011682016040523d82523d6000602084013e610aa3565b606091505b505090508061041b5760405162461bcd60e51b81526004016105bc9061157b565b6001600160a01b038316610aea5760405162461bcd60e51b81526004016105bc906117ef565b6001600160a01b038216610b105760405162461bcd60e51b81526004016105bc906114e7565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b6b90859061131c565b60405180910390a3505050565b6001600160a01b038316610b9e5760405162461bcd60e51b81526004016105bc90611792565b6001600160a01b038216610bc45760405162461bcd60e51b81526004016105bc9061142d565b6001600160a01b038316600090815260208190526040902054610be89082906118a9565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610c18908290611891565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b6b90859061131c565b6000600754610c77610ff8565b1415610c8657506006546104c9565b610c97600a54600854600954610ffc565b90506104c9565b303b1590565b600c54610100900460ff1680610cbd5750610cbd610c9e565b80610ccb5750600c5460ff16155b610ce75760405162461bcd60e51b81526004016105bc9061166c565b600c54610100900460ff16158015610d1257600c805460ff1961ff0019909116610100171660011790555b600c8054620100003381027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179182905560405191046001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3801561041e57600c805461ff001916905550565b8251610da790600390602086019061109e565b508151610dbb90600590602085019061109e565b506004805460ff191660ff929092169190911790555050565b61041e816040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525061103d565b6001600160a01b038216610e395760405162461bcd60e51b81526004016105bc9061184c565b80600254610e479190611891565b6002556001600160a01b038216600090815260208190526040902054610e6e908290611891565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ebd90859061131c565b60405180910390a35050565b6000610ed3610c6a565b82604051602001610ee59291906112ae565b604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610f445760405162461bcd60e51b81526004016105bc906115d8565b8360ff16601b1480610f5957508360ff16601c145b610f755760405162461bcd60e51b81526004016105bc906116c9565b600060018686868660405160008152602001604052604051610f9a9493929190611385565b6020604051602081039080840390855afa158015610fbc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610fef5760405162461bcd60e51b81526004016105bc906113f6565b95945050505050565b4690565b6000838383611009610ff8565b3060405160200161101e959493929190611359565b6040516020818303038152906040528051906020012090509392505050565b8151602080840191909120825191830191909120600882905560098190557f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611084610ff8565b600755611092818484610ffc565b600655600a5550505050565b8280546110aa906118c0565b90600052602060002090601f0160209004810192826110cc5760008555611112565b82601f106110e557805160ff1916838001178555611112565b82800160010185558215611112579182015b828111156111125782518255916020019190600101906110f7565b5061111e929150611122565b5090565b5b8082111561111e5760008155600101611123565b80356001600160a01b038116811461058757600080fd5b60006020828403121561115f578081fd5b61116882611137565b9392505050565b60008060408385031215611181578081fd5b61118a83611137565b915061119860208401611137565b90509250929050565b6000806000606084860312156111b5578081fd5b6111be84611137565b92506111cc60208501611137565b9150604084013590509250925092565b600080600080600080600060e0888a0312156111f6578283fd5b6111ff88611137565b965061120d60208901611137565b95506040880135945060608801359350608088013560ff81168114611230578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561125f578182fd5b61126883611137565b946020939093013593505050565b600060208284031215611287578081fd5b81518015158114611168578182fd5b6000602082840312156112a7578081fd5b5051919050565b7f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b818110156113cf578581018301518582016040015282016113b3565b818111156113e05783604083870101525b50601f01601f1916929092016040019392505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60408201527f7565000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201527f647920696e697469616c697a6564000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60408201527f7565000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b600082198211156118a4576118a461194d565b500190565b6000828210156118bb576118bb61194d565b500390565b6002810460018216806118d457607f821691505b6020821081141561190e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156119465761194661194d565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122045e7d6dda636d141018a83f991fdd6afb994ea4462d4383e85554a35354008a764736f6c63430008000033
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.