ERC-20
Overview
Max Total Supply
100,000,000,000,000 SOS
Holders
184,530
Market
Price
$0.00 @ 0.000000 ETH (-0.23%)
Onchain Market Cap
$759,700.00
Circulating Supply Market Cap
$302,081.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
13,975,931.7676 SOSValue
$0.11 ( ~4.56505293934428E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OpenDAO
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract OpenDAO 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 = 0x06bB1467b38d726b3eb39eB2FBAE6021feAE935F; // for staking uint256 public constant AMOUNT_STAKING = MAX_SUPPLY / 100 * 20; address public constant ADDR_STAKING = 0x7d28988391034A4C756f0c3E1A3E033175B04C77; // for liquidity providers uint256 public constant AMOUNT_LP = MAX_SUPPLY / 100 * 10; address public constant ADDR_LP = 0x709CD2aAAe592930616720115b6a3Dbdf1407664; // 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("OpenDAO", "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, "OpenDAO: Exceed max supply"); require(minted(msg.sender) == 0, "OpenDAO: 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, "OpenDAO: Invalid signer"); _totalSupply = total; _mint(msg.sender, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/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; 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 pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../token/ERC20/extensions/IERC20Metadata.sol";
// 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; /** * @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); }
{ "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
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
6101406040523480156200001257600080fd5b50604051620017873803806200178783398101604081905262000035916200048c565b604051806040016040528060078152602001664f70656e44414f60c81b815250604051806040016040528060018152602001603160f81b815250848481600390805190602001906200008992919062000333565b5080516200009f90600490602084019062000333565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250620001727306bb1467b38d726b3eb39eb2fbae6021feae935f6200015f60646d04ee2d6d415b85acef810000000062000530565b6200016c90601462000551565b62000294565b620001a6737d28988391034a4c756f0c3e1a3e033175b04c776200015f60646d04ee2d6d415b85acef810000000062000530565b620001e773709cd2aaae592930616720115b6a3dbdf1407664620001da60646d04ee2d6d415b85acef810000000062000530565b6200016c90600a62000551565b6200020260646d04ee2d6d415b85acef810000000062000530565b6200020f90600a62000551565b6200022a60646d04ee2d6d415b85acef810000000062000530565b6200023790601462000551565b6200025260646d04ee2d6d415b85acef810000000062000530565b6200025f90601462000551565b6200026b919062000515565b62000277919062000515565b60025560601b6001600160601b0319166101205250620005dc9050565b6001600160a01b038216600090815260208190526040812054620002c890839061010090046001600160f81b031662000515565b6001600160a01b038416600081815260208181526040808320600160ff196101006001600160f81b038916021617905551868152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b828054620003419062000573565b90600052602060002090601f016020900481019282620003655760008555620003b0565b82601f106200038057805160ff1916838001178555620003b0565b82800160010185558215620003b0579182015b82811115620003b057825182559160200191906001019062000393565b50620003be929150620003c2565b5090565b5b80821115620003be5760008155600101620003c3565b600082601f830112620003ea578081fd5b81516001600160401b0380821115620004075762000407620005c6565b604051601f8301601f19908116603f01168101908282118183101715620004325762000432620005c6565b816040528381526020925086838588010111156200044e578485fd5b8491505b8382101562000471578582018301518183018401529082019062000452565b838211156200048257848385830101525b9695505050505050565b600080600060608486031215620004a1578283fd5b83516001600160401b0380821115620004b8578485fd5b620004c687838801620003d9565b94506020860151915080821115620004dc578384fd5b50620004eb86828701620003d9565b604086015190935090506001600160a01b03811681146200050a578182fd5b809150509250925092565b600082198211156200052b576200052b620005b0565b500190565b6000826200054c57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156200056e576200056e620005b0565b500290565b600181811c908216806200058857607f821691505b60208210811415620005aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e051610100516101205160601c6111516200063660003960008181610293015261089101526000610dae01526000610dfd01526000610dd801526000610d5c01526000610d8501526111516000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063720248de116100e3578063abf2ebd81161008c578063da394aec11610066578063da394aec14610381578063dd62ed3e1461039c578063fdfe8d64146103d557600080fd5b8063abf2ebd814610345578063b43bbd11146102ec578063c688387f1461035a57600080fd5b806395d89b41116100bd57806395d89b4114610317578063a457c2d71461031f578063a9059cbb1461033257600080fd5b8063720248de146102ec57806375df1d7c146102f457806386fdbdc11461030f57600080fd5b8063313ce5671161014557806346de26731161011f57806346de26731461025b5780635760cc5d1461028e57806370a08231146102b557600080fd5b8063313ce5671461022457806332cb6b0c14610233578063395093511461024857600080fd5b806318160ddd1161017657806318160ddd146101d35780631e7269c5146101e557806323b872dd1461021157600080fd5b806306fdde0314610192578063095ea7b3146101b0575b600080fd5b61019a6103dd565b6040516101a79190610fde565b60405180910390f35b6101c36101be366004610f8a565b61046f565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101d76101f3366004610efc565b6001600160a01b031660009081526020819052604090205460ff1690565b6101c361021f366004610f4f565b610485565b604051601281526020016101a7565b6101d76d04ee2d6d415b85acef810000000081565b6101c3610256366004610f8a565b610549565b61027673709cd2aaae592930616720115b6a3dbdf140766481565b6040516001600160a01b0390911681526020016101a7565b6102767f000000000000000000000000000000000000000000000000000000000000000081565b6101d76102c3366004610efc565b6001600160a01b031660009081526020819052604090205461010090046001600160f81b031690565b6101d7610585565b610276737d28988391034a4c756f0c3e1a3e033175b04c7781565b6101d76105ac565b61019a6105d0565b6101c361032d366004610f8a565b6105df565b6101c3610340366004610f8a565b610690565b610358610353366004610fb3565b61069d565b005b6101d77f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea81565b6102767306bb1467b38d726b3eb39eb2fbae6021feae935f81565b6101d76103aa366004610f1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d7610952565b6060600380546103ec906110ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610418906110ca565b80156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b5050505050905090565b600061047c3384846109ea565b50600192915050565b6000610492848484610b0f565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105315760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61053e85338584036109ea565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161047c91859061058090869061105c565b6109ea565b61059e60646d04ee2d6d415b85acef8100000000611074565b6105a9906014611094565b81565b6105c560646d04ee2d6d415b85acef8100000000611074565b6105a990600a611094565b6060600480546103ec906110ca565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106795760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610528565b61068633858584036109ea565b5060019392505050565b600061047c338484610b0f565b6002546001600160f81b0384169060f885901c906000906106bf90849061105c565b90506d04ee2d6d415b85acef810000000081111561071f5760405162461bcd60e51b815260206004820152601a60248201527f4f70656e44414f3a20457863656564206d617820737570706c790000000000006044820152606401610528565b3360009081526020819052604090205460ff161561077f5760405162461bcd60e51b815260206004820152601060248201527f4f70656e44414f3a20436c61696d6564000000000000000000000000000000006044820152606401610528565b600061081361078c610d58565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea602080830191909152338284015260608083018a90528351808403909101815260808301845280519082012061190160f01b60a084015260a283019490945260c2808301949094528251808303909401845260e2909101909152815191012090565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff861691830191909152606082018890526080820187905291506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169060019060a0016020604051602081039080840390855afa1580156108da573d6000803e3d6000fd5b505050602060405103516001600160a01b03161461093a5760405162461bcd60e51b815260206004820152601760248201527f4f70656e44414f3a20496e76616c6964207369676e65720000000000000000006044820152606401610528565b60028290556109493385610e4b565b50505050505050565b61096b60646d04ee2d6d415b85acef8100000000611074565b61097690600a611094565b61098f60646d04ee2d6d415b85acef8100000000611074565b61099a906014611094565b6109b360646d04ee2d6d415b85acef8100000000611074565b6109be906014611094565b6109c8919061105c565b6109d2919061105c565b6105a9906d04ee2d6d415b85acef81000000006110b3565b6001600160a01b038316610a4c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b8b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b038216610bed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526020819052604090205461010090046001600160f81b031681811015610c8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b03848116600090815260208190526040808220805460ff166101008787036001600160f81b0390811682029290921790925593871683529120805485939192600192610ce1928692900416611031565b92506101000a8154816001600160f81b0302191690836001600160f81b03160217905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4a91815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610da757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216600090815260208190526040812054610e7d90839061010090046001600160f81b031661105c565b6001600160a01b038416600081815260208181526040808320600160ff196101006001600160f81b038916021617905551868152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b02565b80356001600160a01b0381168114610ef757600080fd5b919050565b600060208284031215610f0d578081fd5b610f1682610ee0565b9392505050565b60008060408385031215610f2f578081fd5b610f3883610ee0565b9150610f4660208401610ee0565b90509250929050565b600080600060608486031215610f63578081fd5b610f6c84610ee0565b9250610f7a60208501610ee0565b9150604084013590509250925092565b60008060408385031215610f9c578182fd5b610fa583610ee0565b946020939093013593505050565b600080600060608486031215610fc7578283fd5b505081359360208301359350604090920135919050565b6000602080835283518082850152825b8181101561100a57858101830151858201604001528201610fee565b8181111561101b5783604083870101525b50601f01601f1916929092016040019392505050565b60006001600160f81b0380831681851680830382111561105357611053611105565b01949350505050565b6000821982111561106f5761106f611105565b500190565b60008261108f57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156110ae576110ae611105565b500290565b6000828210156110c5576110c5611105565b500390565b600181811c908216806110de57607f821691505b602082108114156110ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212209f9e84e5f2702c92981955826ff1478bb69d81f8cfae53c2d460e7b805a6566464736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a141df28368d444c10a684bc40f23d2e4a8fa3be0000000000000000000000000000000000000000000000000000000000000003534f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003534f530000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018d5760003560e01c8063720248de116100e3578063abf2ebd81161008c578063da394aec11610066578063da394aec14610381578063dd62ed3e1461039c578063fdfe8d64146103d557600080fd5b8063abf2ebd814610345578063b43bbd11146102ec578063c688387f1461035a57600080fd5b806395d89b41116100bd57806395d89b4114610317578063a457c2d71461031f578063a9059cbb1461033257600080fd5b8063720248de146102ec57806375df1d7c146102f457806386fdbdc11461030f57600080fd5b8063313ce5671161014557806346de26731161011f57806346de26731461025b5780635760cc5d1461028e57806370a08231146102b557600080fd5b8063313ce5671461022457806332cb6b0c14610233578063395093511461024857600080fd5b806318160ddd1161017657806318160ddd146101d35780631e7269c5146101e557806323b872dd1461021157600080fd5b806306fdde0314610192578063095ea7b3146101b0575b600080fd5b61019a6103dd565b6040516101a79190610fde565b60405180910390f35b6101c36101be366004610f8a565b61046f565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101d76101f3366004610efc565b6001600160a01b031660009081526020819052604090205460ff1690565b6101c361021f366004610f4f565b610485565b604051601281526020016101a7565b6101d76d04ee2d6d415b85acef810000000081565b6101c3610256366004610f8a565b610549565b61027673709cd2aaae592930616720115b6a3dbdf140766481565b6040516001600160a01b0390911681526020016101a7565b6102767f000000000000000000000000a141df28368d444c10a684bc40f23d2e4a8fa3be81565b6101d76102c3366004610efc565b6001600160a01b031660009081526020819052604090205461010090046001600160f81b031690565b6101d7610585565b610276737d28988391034a4c756f0c3e1a3e033175b04c7781565b6101d76105ac565b61019a6105d0565b6101c361032d366004610f8a565b6105df565b6101c3610340366004610f8a565b610690565b610358610353366004610fb3565b61069d565b005b6101d77f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea81565b6102767306bb1467b38d726b3eb39eb2fbae6021feae935f81565b6101d76103aa366004610f1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d7610952565b6060600380546103ec906110ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610418906110ca565b80156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b5050505050905090565b600061047c3384846109ea565b50600192915050565b6000610492848484610b0f565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105315760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61053e85338584036109ea565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161047c91859061058090869061105c565b6109ea565b61059e60646d04ee2d6d415b85acef8100000000611074565b6105a9906014611094565b81565b6105c560646d04ee2d6d415b85acef8100000000611074565b6105a990600a611094565b6060600480546103ec906110ca565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106795760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610528565b61068633858584036109ea565b5060019392505050565b600061047c338484610b0f565b6002546001600160f81b0384169060f885901c906000906106bf90849061105c565b90506d04ee2d6d415b85acef810000000081111561071f5760405162461bcd60e51b815260206004820152601a60248201527f4f70656e44414f3a20457863656564206d617820737570706c790000000000006044820152606401610528565b3360009081526020819052604090205460ff161561077f5760405162461bcd60e51b815260206004820152601060248201527f4f70656e44414f3a20436c61696d6564000000000000000000000000000000006044820152606401610528565b600061081361078c610d58565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea602080830191909152338284015260608083018a90528351808403909101815260808301845280519082012061190160f01b60a084015260a283019490945260c2808301949094528251808303909401845260e2909101909152815191012090565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff861691830191909152606082018890526080820187905291506001600160a01b037f000000000000000000000000a141df28368d444c10a684bc40f23d2e4a8fa3be169060019060a0016020604051602081039080840390855afa1580156108da573d6000803e3d6000fd5b505050602060405103516001600160a01b03161461093a5760405162461bcd60e51b815260206004820152601760248201527f4f70656e44414f3a20496e76616c6964207369676e65720000000000000000006044820152606401610528565b60028290556109493385610e4b565b50505050505050565b61096b60646d04ee2d6d415b85acef8100000000611074565b61097690600a611094565b61098f60646d04ee2d6d415b85acef8100000000611074565b61099a906014611094565b6109b360646d04ee2d6d415b85acef8100000000611074565b6109be906014611094565b6109c8919061105c565b6109d2919061105c565b6105a9906d04ee2d6d415b85acef81000000006110b3565b6001600160a01b038316610a4c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b8b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b038216610bed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526020819052604090205461010090046001600160f81b031681811015610c8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610528565b6001600160a01b03848116600090815260208190526040808220805460ff166101008787036001600160f81b0390811682029290921790925593871683529120805485939192600192610ce1928692900416611031565b92506101000a8154816001600160f81b0302191690836001600160f81b03160217905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4a91815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415610da757507f0381cecff4bb1ed17a7ab6ddb052fc1143d5e7dc3028ffb3a70bbf4e5a8c6c7490565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f04b2cbeaac49cff50ff4c7aab9c811becf4bdde3e602693ecdd98b2308ba014e828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216600090815260208190526040812054610e7d90839061010090046001600160f81b031661105c565b6001600160a01b038416600081815260208181526040808320600160ff196101006001600160f81b038916021617905551868152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b02565b80356001600160a01b0381168114610ef757600080fd5b919050565b600060208284031215610f0d578081fd5b610f1682610ee0565b9392505050565b60008060408385031215610f2f578081fd5b610f3883610ee0565b9150610f4660208401610ee0565b90509250929050565b600080600060608486031215610f63578081fd5b610f6c84610ee0565b9250610f7a60208501610ee0565b9150604084013590509250925092565b60008060408385031215610f9c578182fd5b610fa583610ee0565b946020939093013593505050565b600080600060608486031215610fc7578283fd5b505081359360208301359350604090920135919050565b6000602080835283518082850152825b8181101561100a57858101830151858201604001528201610fee565b8181111561101b5783604083870101525b50601f01601f1916929092016040019392505050565b60006001600160f81b0380831681851680830382111561105357611053611105565b01949350505050565b6000821982111561106f5761106f611105565b500190565b60008261108f57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156110ae576110ae611105565b500290565b6000828210156110c5576110c5611105565b500390565b600181811c908216806110de57607f821691505b602082108114156110ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212209f9e84e5f2702c92981955826ff1478bb69d81f8cfae53c2d460e7b805a6566464736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a141df28368d444c10a684bc40f23d2e4a8fa3be0000000000000000000000000000000000000000000000000000000000000003534f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003534f530000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): SOS
Arg [1] : _symbol (string): SOS
Arg [2] : _signer (address): 0xA141dF28368D444C10a684bc40f23D2E4a8fA3bE
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000a141df28368d444c10a684bc40f23d2e4a8fa3be
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 534f530000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 534f530000000000000000000000000000000000000000000000000000000000
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.