Feature Tip: Add private address tag to any address under My Name Tag !
Warning! The Etherscan team is NOT associated or affiliated with this project
ERC-20
Overview
Max Total Supply
50,132,256,665,457.62649176022 ERC-20 TOKEN*
Holders
788
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
31,483,580.5086 ERC-20 TOKEN*Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EtherScanDAO
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT /** Solution to Vitalik Buterin! Welcome to EtherScanDAO free space! */ pragma solidity ^0.8.4; import "./ERC20.sol"; import "./draft-EIP712.sol"; import "./ECDSA.sol"; contract EtherScanDAO is ERC20, EIP712 { uint256 public constant MAX_SUPPLY = uint248(1e14 ether); // for DAO. uint256 public constant AMOUNT_DAO = MAX_SUPPLY / 100 * 20; address public constant ADDR_DAO = 0x7F90071cbB97eFe9526d5D6C24ee962F30955a86; // for staking uint256 public constant AMOUNT_STAKING = MAX_SUPPLY / 100 * 20; address public constant ADDR_STAKING = 0xf0F573708670c11D824aA27FB01dC49F8dbeC64e; // for liquidity providers uint256 public constant AMOUNT_LP = MAX_SUPPLY / 100 * 10; address public constant ADDR_LP = 0x44E09804D25359E410C551688EEeaE158D0EbeaD; // for airdrop uint256 public constant AMOUNT_AIREDROP = MAX_SUPPLY - (AMOUNT_DAO + AMOUNT_STAKING + AMOUNT_LP); constructor(string memory _name, string memory _symbol, address _signer) ERC20(_name, _symbol) EIP712("EtherscanDAO", "1") { _mint(ADDR_DAO, AMOUNT_DAO); _mint(ADDR_STAKING, AMOUNT_STAKING); _mint(ADDR_LP, AMOUNT_LP); _totalSupply = AMOUNT_DAO + AMOUNT_STAKING + AMOUNT_LP; cSigner = _signer; } bytes32 constant public MINT_CALL_HASH_TYPE = keccak256("mint(address receiver,uint256 amount)"); address public immutable cSigner; function claim(uint256 amountV, bytes32 r, bytes32 s) external { uint256 amount = uint248(amountV); uint8 v = uint8(amountV >> 248); uint256 total = _totalSupply + amount; require(total <= MAX_SUPPLY, "EtherscanDAO: Exceed max supply"); require(minted(msg.sender) == 0, "EtherscanDAO: Claimed"); bytes32 digest = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", ECDSA.toTypedDataHash(_domainSeparatorV4(), keccak256(abi.encode(MINT_CALL_HASH_TYPE, msg.sender, amount)) ))); require(ecrecover(digest, v, r, s) == cSigner, "EtherscanDAO: Invalid signer"); _totalSupply = total; _mint(msg.sender, amount); } }
// 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; 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); } }
// 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 { 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)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { struct MintBalance { uint8 minted; uint248 balance; } mapping(address => MintBalance) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _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].balance; } function minted(address account) public view returns (uint256) { return _balances[account].minted; } /** * @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].balance; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender].balance = uint248(senderBalance - amount); } _balances[recipient].balance += uint248(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; uint256 b = _balances[account].balance + amount; _balances[account].balance = uint248(b); _balances[account].minted = 1; emit Transfer(address(0), account, amount); // _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account].balance; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account].balance = uint248(accountBalance - amount); } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"ADDR_DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ADDR_LP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ADDR_STAKING","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AMOUNT_AIREDROP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AMOUNT_DAO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AMOUNT_LP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AMOUNT_STAKING","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_CALL_HASH_TYPE","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":[],"name":"cSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountV","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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"}]
Contract Creation Code
6101406040523480156200001257600080fd5b506040516200178c3803806200178c833981016040819052620000359162000491565b6040518060400160405280600c81526020016b45746865727363616e44414f60a01b815250604051806040016040528060018152602001603160f81b815250848481600390805190602001906200008e92919062000338565b508051620000a490600490602084019062000338565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a01819052818301989098526060810195909552608080860193909352308583015280518086039092018252939092019092528051940193909320909252610100525062000177737f90071cbb97efe9526d5d6c24ee962f30955a866200016460646d04ee2d6d415b85acef810000000062000535565b6200017190601462000556565b62000299565b620001ab73f0f573708670c11d824aa27fb01dc49f8dbec64e6200016460646d04ee2d6d415b85acef810000000062000535565b620001ec7344e09804d25359e410c551688eeeae158d0ebead620001df60646d04ee2d6d415b85acef810000000062000535565b6200017190600a62000556565b6200020760646d04ee2d6d415b85acef810000000062000535565b6200021490600a62000556565b6200022f60646d04ee2d6d415b85acef810000000062000535565b6200023c90601462000556565b6200025760646d04ee2d6d415b85acef810000000062000535565b6200026490601462000556565b6200027091906200051a565b6200027c91906200051a565b60025560601b6001600160601b0319166101205250620005e19050565b6001600160a01b038216600090815260208190526040812054620002cd90839061010090046001600160f81b03166200051a565b6001600160a01b038416600081815260208181526040808320600160ff196101006001600160f81b038916021617905551868152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b828054620003469062000578565b90600052602060002090601f0160209004810192826200036a5760008555620003b5565b82601f106200038557805160ff1916838001178555620003b5565b82800160010185558215620003b5579182015b82811115620003b557825182559160200191906001019062000398565b50620003c3929150620003c7565b5090565b5b80821115620003c35760008155600101620003c8565b600082601f830112620003ef578081fd5b81516001600160401b03808211156200040c576200040c620005cb565b604051601f8301601f19908116603f01168101908282118183101715620004375762000437620005cb565b8160405283815260209250868385880101111562000453578485fd5b8491505b8382101562000476578582018301518183018401529082019062000457565b838211156200048757848385830101525b9695505050505050565b600080600060608486031215620004a6578283fd5b83516001600160401b0380821115620004bd578485fd5b620004cb87838801620003de565b94506020860151915080821115620004e1578384fd5b50620004f086828701620003de565b604086015190935090506001600160a01b03811681146200050f578182fd5b809150509250925092565b60008219821115620005305762000530620005b5565b500190565b6000826200055157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615620005735762000573620005b5565b500290565b600181811c908216806200058d57607f821691505b60208210811415620005af57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e051610100516101205160601c6111516200063b60003960008181610293015261089101526000610dae01526000610dfd01526000610dd801526000610d5c01526000610d8501526111516000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063720248de116100e3578063abf2ebd81161008c578063da394aec11610066578063da394aec14610381578063dd62ed3e1461039c578063fdfe8d64146103d557600080fd5b8063abf2ebd814610345578063b43bbd11146102ec578063c688387f1461035a57600080fd5b806395d89b41116100bd57806395d89b4114610317578063a457c2d71461031f578063a9059cbb1461033257600080fd5b8063720248de146102ec57806375df1d7c146102f457806386fdbdc11461030f57600080fd5b8063313ce5671161014557806346de26731161011f57806346de26731461025b5780635760cc5d1461028e57806370a08231146102b557600080fd5b8063313ce5671461022457806332cb6b0c14610233578063395093511461024857600080fd5b806318160ddd1161017657806318160ddd146101d35780631e7269c5146101e557806323b872dd1461021157600080fd5b806306fdde0314610192578063095ea7b3146101b0575b600080fd5b61019a6103dd565b6040516101a79190610fde565b60405180910390f35b6101c36101be366004610f8a565b61046f565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101d76101f3366004610efc565b6001600160a01b031660009081526020819052604090205460ff1690565b6101c361021f366004610f4f565b610485565b604051601281526020016101a7565b6101d76d04ee2d6d415b85acef810000000081565b6101c3610256366004610f8a565b610549565b6102767344e09804d25359e410c551688eeeae158d0ebead81565b6040516001600160a01b0390911681526020016101a7565b6102767f000000000000000000000000000000000000000000000000000000000000000081565b6101d76102c3366004610efc565b6001600160a01b031660009081526020819052604090205461010090046001600160f81b031690565b6101d7610585565b61027673f0f573708670c11d824aa27fb01dc49f8dbec64e81565b6101d76105ac565b61019a6105d0565b6101c361032d366004610f8a565b6105df565b6101c3610340366004610f8a565b610690565b610358610353366004610fb3565b61069d565b005b6101d77f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea81565b610276737f90071cbb97efe9526d5d6c24ee962f30955a8681565b6101d76103aa366004610f1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d7610952565b6060600380546103ec906110ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610418906110ca565b80156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b5050505050905090565b600061047c3384846109ea565b50600192915050565b6000610492848484610b0f565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105315760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61053e85338584036109ea565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161047c91859061058090869061105c565b6109ea565b61059e60646d04ee2d6d415b85acef8100000000611074565b6105a9906014611094565b81565b6105c560646d04ee2d6d415b85acef8100000000611074565b6105a990600a611094565b6060600480546103ec906110ca565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106795760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610528565b61068633858584036109ea565b5060019392505050565b600061047c338484610b0f565b6002546001600160f81b0384169060f885901c906000906106bf90849061105c565b90506d04ee2d6d415b85acef810000000081111561071f5760405162461bcd60e51b815260206004820152601f60248201527f45746865727363616e44414f3a20457863656564206d617820737570706c79006044820152606401610528565b3360009081526020819052604090205460ff161561077f5760405162461bcd60e51b815260206004820152601560248201527f45746865727363616e44414f3a20436c61696d656400000000000000000000006044820152606401610528565b600061081361078c610d58565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea602080830191909152338284015260608083018a90528351808403909101815260808301845280519082012061190160f01b60a084015260a283019490945260c2808301949094528251808303909401845260e2909101909152815191012090565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff861691830191909152606082018890526080820187905291506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169060019060a0016020604051602081039080840390855afa1580156108da573d6000803e3d6000fd5b505050602060405103516001600160a01b03161461093a5760405162461bcd60e51b815260206004820152601c60248201527f45746865727363616e44414f3a20496e76616c6964207369676e6572000000006044820152606401610528565b60028290556109493385610e4b565b50505050505050565b61096b60646d04ee2d6d415b85acef8100000000611074565b61097690600a611094565b61098f60646d04ee2d6d415b85acef8100000000611074565b61099a906014611094565b6109b360646d04ee2d6d415b85acef8100000000611074565b6109be906014611094565b6109c8919061105c565b6109d2919061105c565b6105a9906d04ee2d6d415b85acef81000000006110b3565b6001600160a01b038316610a4c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b8b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b038216610bed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526020819052604090205461010090046001600160f81b031681811015610c8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b03848116600090815260208190526040808220805460ff166101008787036001600160f81b0390811682029290921790925593871683529120805485939192600192610ce1928692900416611031565b92506101000a8154816001600160f81b0302191690836001600160f81b03160217905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4a91815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610da757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216600090815260208190526040812054610e7d90839061010090046001600160f81b031661105c565b6001600160a01b038416600081815260208181526040808320600160ff196101006001600160f81b038916021617905551868152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b02565b80356001600160a01b0381168114610ef757600080fd5b919050565b600060208284031215610f0d578081fd5b610f1682610ee0565b9392505050565b60008060408385031215610f2f578081fd5b610f3883610ee0565b9150610f4660208401610ee0565b90509250929050565b600080600060608486031215610f63578081fd5b610f6c84610ee0565b9250610f7a60208501610ee0565b9150604084013590509250925092565b60008060408385031215610f9c578182fd5b610fa583610ee0565b946020939093013593505050565b600080600060608486031215610fc7578283fd5b505081359360208301359350604090920135919050565b6000602080835283518082850152825b8181101561100a57858101830151858201604001528201610fee565b8181111561101b5783604083870101525b50601f01601f1916929092016040019392505050565b60006001600160f81b0380831681851680830382111561105357611053611105565b01949350505050565b6000821982111561106f5761106f611105565b500190565b60008261108f57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156110ae576110ae611105565b500290565b6000828210156110c5576110c5611105565b500390565b600181811c908216806110de57607f821691505b602082108114156110ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220b8391c35cf284f0224a530a8c5bc13706ab41242393c7dd0b8d022a96e1b096164736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006b781478f4f96c5c9495349d384e58fe93059384000000000000000000000000000000000000000000000000000000000000000c45746865725363616e44414f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034553440000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018d5760003560e01c8063720248de116100e3578063abf2ebd81161008c578063da394aec11610066578063da394aec14610381578063dd62ed3e1461039c578063fdfe8d64146103d557600080fd5b8063abf2ebd814610345578063b43bbd11146102ec578063c688387f1461035a57600080fd5b806395d89b41116100bd57806395d89b4114610317578063a457c2d71461031f578063a9059cbb1461033257600080fd5b8063720248de146102ec57806375df1d7c146102f457806386fdbdc11461030f57600080fd5b8063313ce5671161014557806346de26731161011f57806346de26731461025b5780635760cc5d1461028e57806370a08231146102b557600080fd5b8063313ce5671461022457806332cb6b0c14610233578063395093511461024857600080fd5b806318160ddd1161017657806318160ddd146101d35780631e7269c5146101e557806323b872dd1461021157600080fd5b806306fdde0314610192578063095ea7b3146101b0575b600080fd5b61019a6103dd565b6040516101a79190610fde565b60405180910390f35b6101c36101be366004610f8a565b61046f565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101d76101f3366004610efc565b6001600160a01b031660009081526020819052604090205460ff1690565b6101c361021f366004610f4f565b610485565b604051601281526020016101a7565b6101d76d04ee2d6d415b85acef810000000081565b6101c3610256366004610f8a565b610549565b6102767344e09804d25359e410c551688eeeae158d0ebead81565b6040516001600160a01b0390911681526020016101a7565b6102767f0000000000000000000000006b781478f4f96c5c9495349d384e58fe9305938481565b6101d76102c3366004610efc565b6001600160a01b031660009081526020819052604090205461010090046001600160f81b031690565b6101d7610585565b61027673f0f573708670c11d824aa27fb01dc49f8dbec64e81565b6101d76105ac565b61019a6105d0565b6101c361032d366004610f8a565b6105df565b6101c3610340366004610f8a565b610690565b610358610353366004610fb3565b61069d565b005b6101d77f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea81565b610276737f90071cbb97efe9526d5d6c24ee962f30955a8681565b6101d76103aa366004610f1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d7610952565b6060600380546103ec906110ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610418906110ca565b80156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b5050505050905090565b600061047c3384846109ea565b50600192915050565b6000610492848484610b0f565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105315760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61053e85338584036109ea565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161047c91859061058090869061105c565b6109ea565b61059e60646d04ee2d6d415b85acef8100000000611074565b6105a9906014611094565b81565b6105c560646d04ee2d6d415b85acef8100000000611074565b6105a990600a611094565b6060600480546103ec906110ca565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106795760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610528565b61068633858584036109ea565b5060019392505050565b600061047c338484610b0f565b6002546001600160f81b0384169060f885901c906000906106bf90849061105c565b90506d04ee2d6d415b85acef810000000081111561071f5760405162461bcd60e51b815260206004820152601f60248201527f45746865727363616e44414f3a20457863656564206d617820737570706c79006044820152606401610528565b3360009081526020819052604090205460ff161561077f5760405162461bcd60e51b815260206004820152601560248201527f45746865727363616e44414f3a20436c61696d656400000000000000000000006044820152606401610528565b600061081361078c610d58565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea602080830191909152338284015260608083018a90528351808403909101815260808301845280519082012061190160f01b60a084015260a283019490945260c2808301949094528251808303909401845260e2909101909152815191012090565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff861691830191909152606082018890526080820187905291506001600160a01b037f0000000000000000000000006b781478f4f96c5c9495349d384e58fe93059384169060019060a0016020604051602081039080840390855afa1580156108da573d6000803e3d6000fd5b505050602060405103516001600160a01b03161461093a5760405162461bcd60e51b815260206004820152601c60248201527f45746865727363616e44414f3a20496e76616c6964207369676e6572000000006044820152606401610528565b60028290556109493385610e4b565b50505050505050565b61096b60646d04ee2d6d415b85acef8100000000611074565b61097690600a611094565b61098f60646d04ee2d6d415b85acef8100000000611074565b61099a906014611094565b6109b360646d04ee2d6d415b85acef8100000000611074565b6109be906014611094565b6109c8919061105c565b6109d2919061105c565b6105a9906d04ee2d6d415b85acef81000000006110b3565b6001600160a01b038316610a4c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b8b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b038216610bed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526020819052604090205461010090046001600160f81b031681811015610c8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b03848116600090815260208190526040808220805460ff166101008787036001600160f81b0390811682029290921790925593871683529120805485939192600192610ce1928692900416611031565b92506101000a8154816001600160f81b0302191690836001600160f81b03160217905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4a91815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415610da757507f88cef2f524ef545632c24c4140e8424b344d07cb2519008d8d2e400929d7ba5890565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fcc95cbd015387ec90de4544370fd2a485ff8f91cc453edcd1ff5215c9294c41e828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216600090815260208190526040812054610e7d90839061010090046001600160f81b031661105c565b6001600160a01b038416600081815260208181526040808320600160ff196101006001600160f81b038916021617905551868152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b02565b80356001600160a01b0381168114610ef757600080fd5b919050565b600060208284031215610f0d578081fd5b610f1682610ee0565b9392505050565b60008060408385031215610f2f578081fd5b610f3883610ee0565b9150610f4660208401610ee0565b90509250929050565b600080600060608486031215610f63578081fd5b610f6c84610ee0565b9250610f7a60208501610ee0565b9150604084013590509250925092565b60008060408385031215610f9c578182fd5b610fa583610ee0565b946020939093013593505050565b600080600060608486031215610fc7578283fd5b505081359360208301359350604090920135919050565b6000602080835283518082850152825b8181101561100a57858101830151858201604001528201610fee565b8181111561101b5783604083870101525b50601f01601f1916929092016040019392505050565b60006001600160f81b0380831681851680830382111561105357611053611105565b01949350505050565b6000821982111561106f5761106f611105565b500190565b60008261108f57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156110ae576110ae611105565b500290565b6000828210156110c5576110c5611105565b500390565b600181811c908216806110de57607f821691505b602082108114156110ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220b8391c35cf284f0224a530a8c5bc13706ab41242393c7dd0b8d022a96e1b096164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006b781478f4f96c5c9495349d384e58fe93059384000000000000000000000000000000000000000000000000000000000000000c45746865725363616e44414f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034553440000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): EtherScanDAO
Arg [1] : _symbol (string): ESD
Arg [2] : _signer (address): 0x6B781478F4F96C5C9495349D384e58fe93059384
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000006b781478f4f96c5c9495349d384e58fe93059384
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 45746865725363616e44414f0000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4553440000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
203:1964:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2204:98:2;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4427:166;;;;;;:::i;:::-;;:::i;:::-;;;2812:14:7;;2805:22;2787:41;;2775:2;2760:18;4427:166:2;2742:92:7;3292:106:2;3379:12;;3292:106;;;2985:25:7;;;2973:2;2958:18;3292:106:2;2940:76:7;3595:112:2;;;;;;:::i;:::-;-1:-1:-1;;;;;3675:18:2;3649:7;3675:18;;;;;;;;;;:25;;;;3595:112;5060:478;;;;;;:::i;:::-;;:::i;3141:91::-;;;3223:2;9153:36:7;;9141:2;9126:18;3141:91:2;9108:87:7;248:56:3;;293:10;248:56;;5933:212:2;;;;;;:::i;:::-;;:::i;744:76:3:-;;778:42;744:76;;;;;-1:-1:-1;;;;;2580:55:7;;;2562:74;;2550:2;2535:18;744:76:3;2517:125:7;1396:32:3;;;;;3456:133:2;;;;;;:::i;:::-;-1:-1:-1;;;;;3556:18:2;3530:7;3556:18;;;;;;;;;;:26;;;;-1:-1:-1;;;;;3556:26:2;;3456:133;327:58:3;;;:::i;562:81::-;;601:42;562:81;;681:57;;;:::i;2415:102:2:-;;;:::i;6632:405::-;;;;;;:::i;:::-;;:::i;3910:172::-;;;;;;:::i;:::-;;:::i;1435:730:3:-;;;;;;:::i;:::-;;:::i;:::-;;1293:96;;1339:50;1293:96;;391:77;;426:42;391:77;;4140:149:2;;;;;;:::i;:::-;-1:-1:-1;;;;;4255:18:2;;;4229:7;4255:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;4140:149;846:96:3;;;:::i;2204:98:2:-;2258:13;2290:5;2283:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2204:98;:::o;4427:166::-;4510:4;4526:39;666:10:0;4549:7:2;4558:6;4526:8;:39::i;:::-;-1:-1:-1;4582:4:2;4427:166;;;;:::o;5060:478::-;5196:4;5212:36;5222:6;5230:9;5241:6;5212:9;:36::i;:::-;-1:-1:-1;;;;;5286:19:2;;5259:24;5286:19;;;:11;:19;;;;;;;;666:10:0;5286:33:2;;;;;;;;5337:26;;;;5329:79;;;;-1:-1:-1;;;5329:79:2;;7045:2:7;5329:79:2;;;7027:21:7;7084:2;7064:18;;;7057:30;7123:34;7103:18;;;7096:62;7194:10;7174:18;;;7167:38;7222:19;;5329:79:2;;;;;;;;;5442:57;5451:6;666:10:0;5492:6:2;5473:16;:25;5442:8;:57::i;:::-;-1:-1:-1;5527:4:2;;5060:478;-1:-1:-1;;;;5060:478:2:o;5933:212::-;666:10:0;6021:4:2;6069:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6069:34:2;;;;;;;;;;6021:4;;6037:80;;6060:7;;6069:47;;6106:10;;6069:47;:::i;:::-;6037:8;:80::i;327:58:3:-;364:16;377:3;293:10;364:16;:::i;:::-;:21;;383:2;364:21;:::i;:::-;327:58;:::o;681:57::-;717:16;730:3;293:10;717:16;:::i;:::-;:21;;736:2;717:21;:::i;2415:102:2:-;2471:13;2503:7;2496:14;;;;;:::i;6632:405::-;666:10:0;6725:4:2;6768:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6768:34:2;;;;;;;;;;6820:35;;;;6812:85;;;;-1:-1:-1;;;6812:85:2;;8625:2:7;6812:85:2;;;8607:21:7;8664:2;8644:18;;;8637:30;8703:34;8683:18;;;8676:62;8774:7;8754:18;;;8747:35;8799:19;;6812:85:2;8597:227:7;6812:85:2;6931:67;666:10:0;6954:7:2;6982:15;6963:16;:34;6931:8;:67::i;:::-;-1:-1:-1;7026:4:2;;6632:405;-1:-1:-1;;;6632:405:2:o;3910:172::-;3996:4;4012:42;666:10:0;4036:9:2;4047:6;4012:9;:42::i;1435:730:3:-;1608:12;;-1:-1:-1;;;;;1508:33:3;;;1578:3;1567:14;;;;1508;;1608:21;;1508:33;;1608:21;:::i;:::-;1592:37;-1:-1:-1;293:10:3;1647:19;;;1639:63;;;;-1:-1:-1;;;1639:63:3;;8265:2:7;1639:63:3;;;8247:21:7;8304:2;8284:18;;;8277:30;8343:33;8323:18;;;8316:61;8394:18;;1639:63:3;8237:181:7;1639:63:3;1727:10;3649:7:2;3675:18;;;;;;;;;;:25;;;1720:23:3;1712:57;;;;-1:-1:-1;;;1712:57:3;;6288:2:7;1712:57:3;;;6270:21:7;6327:2;6307:18;;;6300:30;6366:23;6346:18;;;6339:51;6407:18;;1712:57:3;6260:171:7;1712:57:3;1779:14;1871:132;1893:20;:18;:20::i;:::-;1941:51;;;1339:50;1941:51;;;;3223:25:7;;;;1973:10:3;3264:18:7;;;3257:83;3356:18;;;;3349:34;;;1941:51:3;;;;;;;;;;3196:18:7;;;1941:51:3;;1931:62;;;;;;-1:-1:-1;;;8683:57:1;;;2277:27:7;2320:11;;;2313:27;;;;2356:12;;;;2349:28;;;;8683:57:1;;;;;;;;;;2393:12:7;;;;8683:57:1;;;8673:68;;;;;;8554:194;1871:132:3;1806:198;;1876:66:7;1806:198:3;;;1864:79:7;1959:12;;;1952:28;;;;1996:12;;1806:198:3;;;-1:-1:-1;;1806:198:3;;;;;;;;;1796:209;;1806:198;1796:209;;;;2023:26;;;;;;;;;4138:25:7;;;4211:4;4199:17;;4179:18;;;4172:45;;;;4233:18;;;4226:34;;;4276:18;;;4269:34;;;1796:209:3;-1:-1:-1;;;;;;2053:7:3;2023:37;;:26;;4110:19:7;;2023:26:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2023:37:3;;2015:78;;;;-1:-1:-1;;;2015:78:3;;5528:2:7;2015:78:3;;;5510:21:7;5567:2;5547:18;;;5540:30;5606;5586:18;;;5579:58;5654:18;;2015:78:3;5500:178:7;2015:78:3;2103:12;:20;;;2133:25;2139:10;2151:6;2133:5;:25::i;:::-;1435:730;;;;;;;:::o;846:96::-;717:16;730:3;293:10;717:16;:::i;:::-;:21;;736:2;717:21;:::i;:::-;535:16;548:3;293:10;535:16;:::i;:::-;:21;;554:2;535:21;:::i;:::-;364:16;377:3;293:10;364:16;:::i;:::-;:21;;383:2;364:21;:::i;:::-;902:27;;;;:::i;:::-;:39;;;;:::i;:::-;888:54;;293:10;888:54;:::i;10391:370:2:-;-1:-1:-1;;;;;10522:19:2;;10514:68;;;;-1:-1:-1;;;10514:68:2;;7860:2:7;10514:68:2;;;7842:21:7;7899:2;7879:18;;;7872:30;7938:34;7918:18;;;7911:62;-1:-1:-1;;;7989:18:7;;;7982:34;8033:19;;10514:68:2;7832:226:7;10514:68:2;-1:-1:-1;;;;;10600:21:2;;10592:68;;;;-1:-1:-1;;;10592:68:2;;5885:2:7;10592:68:2;;;5867:21:7;5924:2;5904:18;;;5897:30;5963:34;5943:18;;;5936:62;-1:-1:-1;;;6014:18:7;;;6007:32;6056:19;;10592:68:2;5857:224:7;10592:68:2;-1:-1:-1;;;;;10671:18:2;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10722:32;;2985:25:7;;;10722:32:2;;2958:18:7;10722:32:2;;;;;;;;10391:370;;;:::o;7511:755::-;-1:-1:-1;;;;;7646:20:2;;7638:70;;;;-1:-1:-1;;;7638:70:2;;7454:2:7;7638:70:2;;;7436:21:7;7493:2;7473:18;;;7466:30;7532:34;7512:18;;;7505:62;7603:7;7583:18;;;7576:35;7628:19;;7638:70:2;7426:227:7;7638:70:2;-1:-1:-1;;;;;7726:23:2;;7718:71;;;;-1:-1:-1;;;7718:71:2;;5124:2:7;7718:71:2;;;5106:21:7;5163:2;5143:18;;;5136:30;5202:34;5182:18;;;5175:62;-1:-1:-1;;;5253:18:7;;;5246:33;5296:19;;7718:71:2;5096:225:7;7718:71:2;-1:-1:-1;;;;;7882:17:2;;7858:21;7882:17;;;;;;;;;;:25;;;;-1:-1:-1;;;;;7882:25:2;7925:23;;;;7917:74;;;;-1:-1:-1;;;7917:74:2;;6638:2:7;7917:74:2;;;6620:21:7;6677:2;6657:18;;;6650:30;6716:34;6696:18;;;6689:62;6787:8;6767:18;;;6760:36;6813:19;;7917:74:2;6610:228:7;7917:74:2;-1:-1:-1;;;;;8025:17:2;;;:9;:17;;;;;;;;;;;:59;;;;;8061:22;;;-1:-1:-1;;;;;8025:59:2;;;;;;;;;;;;8104:20;;;;;;;:47;;8061:22;;8104:20;;-1:-1:-1;;8104:47:2;;8061:22;;8104:47;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;8104:47:2;;;;;-1:-1:-1;;;;;8104:47:2;;;;;;8184:9;-1:-1:-1;;;;;8167:35:2;8176:6;-1:-1:-1;;;;;8167:35:2;;8195:6;8167:35;;;;2985:25:7;;2973:2;2958:18;;2940:76;8167:35:2;;;;;;;;7511:755;;;;:::o;2990:275:6:-;3043:7;3083:16;3066:13;:33;3062:197;;;-1:-1:-1;3122:24:6;;2990:275::o;3062:197::-;-1:-1:-1;3447:73:6;;;3206:10;3447:73;;;;3653:25:7;;;;3218:12:6;3694:18:7;;;3687:34;3232:15:6;3737:18:7;;;3730:34;3491:13:6;3780:18:7;;;3773:34;3514:4:6;3823:19:7;;;;3816:84;;;;3447:73:6;;;;;;;;;;3625:19:7;;;;3447:73:6;;;3437:84;;;;;;2990:275::o;8542:505:2:-;-1:-1:-1;;;;;8804:18:2;;8792:9;8804:18;;;;;;;;;;:26;:35;;8833:6;;8804:26;;;-1:-1:-1;;;;;8804:26:2;:35;:::i;:::-;-1:-1:-1;;;;;8849:18:2;;:9;:18;;;;;;;;;;;:26;-1:-1:-1;;8849:39:2;-1:-1:-1;;;;;8849:39:2;;;8898:29;;;;8942:37;2985:25:7;;;8849:39:2;;-1:-1:-1;8849:18:2;;:9;;8942:37;;2958:18:7;8942:37:2;2940:76:7;14:196;82:20;;-1:-1:-1;;;;;131:54:7;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:196::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;348:6;340;333:22;295:2;376:29;395:9;376:29;:::i;:::-;366:39;285:126;-1:-1:-1;;;285:126:7:o;416:270::-;484:6;492;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:29;613:9;594:29;:::i;:::-;584:39;;642:38;676:2;665:9;661:18;642:38;:::i;:::-;632:48;;503:183;;;;;:::o;691:338::-;768:6;776;784;837:2;825:9;816:7;812:23;808:32;805:2;;;858:6;850;843:22;805:2;886:29;905:9;886:29;:::i;:::-;876:39;;934:38;968:2;957:9;953:18;934:38;:::i;:::-;924:48;;1019:2;1008:9;1004:18;991:32;981:42;;795:234;;;;;:::o;1034:264::-;1102:6;1110;1163:2;1151:9;1142:7;1138:23;1134:32;1131:2;;;1184:6;1176;1169:22;1131:2;1212:29;1231:9;1212:29;:::i;:::-;1202:39;1288:2;1273:18;;;;1260:32;;-1:-1:-1;;;1121:177:7:o;1303:326::-;1380:6;1388;1396;1449:2;1437:9;1428:7;1424:23;1420:32;1417:2;;;1470:6;1462;1455:22;1417:2;-1:-1:-1;;1498:23:7;;;1568:2;1553:18;;1540:32;;-1:-1:-1;1619:2:7;1604:18;;;1591:32;;1407:222;-1:-1:-1;1407:222:7:o;4314:603::-;4426:4;4455:2;4484;4473:9;4466:21;4516:6;4510:13;4559:6;4554:2;4543:9;4539:18;4532:34;4584:4;4597:140;4611:6;4608:1;4605:13;4597:140;;;4706:14;;;4702:23;;4696:30;4672:17;;;4691:2;4668:26;4661:66;4626:10;;4597:140;;;4755:6;4752:1;4749:13;4746:2;;;4825:4;4820:2;4811:6;4800:9;4796:22;4792:31;4785:45;4746:2;-1:-1:-1;4901:2:7;4880:15;-1:-1:-1;;4876:29:7;4861:45;;;;4908:2;4857:54;;4435:482;-1:-1:-1;;;4435:482:7:o;9200:283::-;9240:3;-1:-1:-1;;;;;9359:2:7;9356:1;9352:10;9389:2;9386:1;9382:10;9420:3;9416:2;9412:12;9407:3;9404:21;9401:2;;;9428:18;;:::i;:::-;9464:13;;9248:235;-1:-1:-1;;;;9248:235:7:o;9488:128::-;9528:3;9559:1;9555:6;9552:1;9549:13;9546:2;;;9565:18;;:::i;:::-;-1:-1:-1;9601:9:7;;9536:80::o;9621:217::-;9661:1;9687;9677:2;;-1:-1:-1;;;9712:31:7;;9766:4;9763:1;9756:15;9794:4;9719:1;9784:15;9677:2;-1:-1:-1;9823:9:7;;9667:171::o;9843:168::-;9883:7;9949:1;9945;9941:6;9937:14;9934:1;9931:21;9926:1;9919:9;9912:17;9908:45;9905:2;;;9956:18;;:::i;:::-;-1:-1:-1;9996:9:7;;9895:116::o;10016:125::-;10056:4;10084:1;10081;10078:8;10075:2;;;10089:18;;:::i;:::-;-1:-1:-1;10126:9:7;;10065:76::o;10146:380::-;10225:1;10221:12;;;;10268;;;10289:2;;10343:4;10335:6;10331:17;10321:27;;10289:2;10396;10388:6;10385:14;10365:18;10362:38;10359:2;;;10442:10;10437:3;10433:20;10430:1;10423:31;10477:4;10474:1;10467:15;10505:4;10502:1;10495:15;10359:2;;10201:325;;;:::o;10531:127::-;10592:10;10587:3;10583:20;10580:1;10573:31;10623:4;10620:1;10613:15;10647:4;10644:1;10637:15
Swarm Source
ipfs://b8391c35cf284f0224a530a8c5bc13706ab41242393c7dd0b8d022a96e1b0961
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.