Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,500,000,000 PASTA
Holders
30
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
10,000 PASTAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-02 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: Pasta.sol pragma solidity 0.8.17; contract Token is ERC20Burnable { uint256 public constant maxSupply = 100000000000 ether; constructor( address treasureAddress_ ) ERC20("SPAGHETTI.FINANCE", "PASTA") { _mint(treasureAddress_, maxSupply); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"treasureAddress_","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000e2638038062000e268339810160408190526200003491620001b2565b604051806040016040528060118152602001705350414748455454492e46494e414e434560781b81525060405180604001604052806005815260200164504153544160d81b81525081600390816200008d919062000288565b5060046200009c828262000288565b505050620000be816c01431e0fae6d7217caa0000000620000c560201b60201c565b506200037c565b6001600160a01b038216620001205760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000134919062000354565b90915550506001600160a01b038216600090815260208190526040812080548392906200016390849062000354565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b600060208284031215620001c557600080fd5b81516001600160a01b0381168114620001dd57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020f57607f821691505b6020821081036200023057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ad57600081815260208120601f850160051c810160208610156200025f5750805b601f850160051c820191505b8181101562000280578281556001016200026b565b505050505050565b81516001600160401b03811115620002a457620002a4620001e4565b620002bc81620002b58454620001fa565b8462000236565b602080601f831160018114620002f45760008415620002db5750858301515b600019600386901b1c1916600185901b17855562000280565b600085815260208120601f198616915b82811015620003255788860151825594840194600190910190840162000304565b5085821015620003445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200037657634e487b7160e01b600052601160045260246000fd5b92915050565b610a9a806200038c6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101d0578063a9059cbb146101e3578063d5abeb01146101f6578063dd62ed3e1461020a57600080fd5b806370a082311461018c57806379cc6790146101b557806395d89b41146101c857600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806342966c681461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761021d565b60405161010491906108b0565b60405180910390f35b61012061011b36600461091a565b6102af565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610944565b6102c9565b60405160128152602001610104565b61012061017236600461091a565b6102ed565b61018a610185366004610980565b61030f565b005b61013461019a366004610999565b6001600160a01b031660009081526020819052604090205490565b61018a6101c336600461091a565b61031c565b6100f7610335565b6101206101de36600461091a565b610344565b6101206101f136600461091a565b6103c4565b6101346c01431e0fae6d7217caa000000081565b6101346102183660046109bb565b6103d2565b60606003805461022c906109ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610258906109ee565b80156102a55780601f1061027a576101008083540402835291602001916102a5565b820191906000526020600020905b81548152906001019060200180831161028857829003601f168201915b5050505050905090565b6000336102bd8185856103fd565b60019150505b92915050565b6000336102d7858285610522565b6102e285858561059c565b506001949350505050565b6000336102bd81858561030083836103d2565b61030a9190610a3e565b6103fd565b610319338261076a565b50565b610327823383610522565b610331828261076a565b5050565b60606004805461022c906109ee565b6000338161035282866103d2565b9050838110156103b75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102e282868684036103fd565b6000336102bd81858561059c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661045f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103ae565b6001600160a01b0382166104c05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ae565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061052e84846103d2565b9050600019811461059657818110156105895760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ae565b61059684848484036103fd565b50505050565b6001600160a01b0383166106005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103ae565b6001600160a01b0382166106625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103ae565b6001600160a01b038316600090815260208190526040902054818110156106da5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103ae565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610711908490610a3e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161075d91815260200190565b60405180910390a3610596565b6001600160a01b0382166107ca5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103ae565b6001600160a01b0382166000908152602081905260409020548181101561083e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103ae565b6001600160a01b038316600090815260208190526040812083830390556002805484929061086d908490610a51565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610515565b600060208083528351808285015260005b818110156108dd578581018301518582016040015282016108c1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461091557600080fd5b919050565b6000806040838503121561092d57600080fd5b610936836108fe565b946020939093013593505050565b60008060006060848603121561095957600080fd5b610962846108fe565b9250610970602085016108fe565b9150604084013590509250925092565b60006020828403121561099257600080fd5b5035919050565b6000602082840312156109ab57600080fd5b6109b4826108fe565b9392505050565b600080604083850312156109ce57600080fd5b6109d7836108fe565b91506109e5602084016108fe565b90509250929050565b600181811c90821680610a0257607f821691505b602082108103610a2257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156102c3576102c3610a28565b818103818111156102c3576102c3610a2856fea2646970667358221220cfedbe81c7faf91794a9fab156a0fecdf097f098a51490e190a829bbe08112d964736f6c63430008110033000000000000000000000000084faf3fe7ab18926f068bb1e8af81ea882677a8
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101d0578063a9059cbb146101e3578063d5abeb01146101f6578063dd62ed3e1461020a57600080fd5b806370a082311461018c57806379cc6790146101b557806395d89b41146101c857600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806342966c681461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761021d565b60405161010491906108b0565b60405180910390f35b61012061011b36600461091a565b6102af565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610944565b6102c9565b60405160128152602001610104565b61012061017236600461091a565b6102ed565b61018a610185366004610980565b61030f565b005b61013461019a366004610999565b6001600160a01b031660009081526020819052604090205490565b61018a6101c336600461091a565b61031c565b6100f7610335565b6101206101de36600461091a565b610344565b6101206101f136600461091a565b6103c4565b6101346c01431e0fae6d7217caa000000081565b6101346102183660046109bb565b6103d2565b60606003805461022c906109ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610258906109ee565b80156102a55780601f1061027a576101008083540402835291602001916102a5565b820191906000526020600020905b81548152906001019060200180831161028857829003601f168201915b5050505050905090565b6000336102bd8185856103fd565b60019150505b92915050565b6000336102d7858285610522565b6102e285858561059c565b506001949350505050565b6000336102bd81858561030083836103d2565b61030a9190610a3e565b6103fd565b610319338261076a565b50565b610327823383610522565b610331828261076a565b5050565b60606004805461022c906109ee565b6000338161035282866103d2565b9050838110156103b75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102e282868684036103fd565b6000336102bd81858561059c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661045f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103ae565b6001600160a01b0382166104c05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ae565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061052e84846103d2565b9050600019811461059657818110156105895760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ae565b61059684848484036103fd565b50505050565b6001600160a01b0383166106005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103ae565b6001600160a01b0382166106625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103ae565b6001600160a01b038316600090815260208190526040902054818110156106da5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103ae565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610711908490610a3e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161075d91815260200190565b60405180910390a3610596565b6001600160a01b0382166107ca5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103ae565b6001600160a01b0382166000908152602081905260409020548181101561083e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103ae565b6001600160a01b038316600090815260208190526040812083830390556002805484929061086d908490610a51565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610515565b600060208083528351808285015260005b818110156108dd578581018301518582016040015282016108c1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461091557600080fd5b919050565b6000806040838503121561092d57600080fd5b610936836108fe565b946020939093013593505050565b60008060006060848603121561095957600080fd5b610962846108fe565b9250610970602085016108fe565b9150604084013590509250925092565b60006020828403121561099257600080fd5b5035919050565b6000602082840312156109ab57600080fd5b6109b4826108fe565b9392505050565b600080604083850312156109ce57600080fd5b6109d7836108fe565b91506109e5602084016108fe565b90509250929050565b600181811c90821680610a0257607f821691505b602082108103610a2257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156102c3576102c3610a28565b818103818111156102c3576102c3610a2856fea2646970667358221220cfedbe81c7faf91794a9fab156a0fecdf097f098a51490e190a829bbe08112d964736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000084faf3fe7ab18926f068bb1e8af81ea882677a8
-----Decoded View---------------
Arg [0] : treasureAddress_ (address): 0x084fAF3fE7Ab18926F068Bb1E8Af81EA882677a8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000084faf3fe7ab18926f068bb1e8af81ea882677a8
Deployed Bytecode Sourcemap
18689:250:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6686:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9037:201;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;9037:201:0;1004:187:1;7806:108:0;7894:12;;7806:108;;;1342:25:1;;;1330:2;1315:18;7806:108:0;1196:177:1;9818:295:0;;;;;;:::i;:::-;;:::i;7648:93::-;;;7731:2;1853:36:1;;1841:2;1826:18;7648:93:0;1711:184:1;10522:238:0;;;;;;:::i;:::-;;:::i;18055:91::-;;;;;;:::i;:::-;;:::i;:::-;;7977:127;;;;;;:::i;:::-;-1:-1:-1;;;;;8078:18:0;8051:7;8078:18;;;;;;;;;;;;7977:127;18465:164;;;;;;:::i;:::-;;:::i;6905:104::-;;;:::i;11263:436::-;;;;;;:::i;:::-;;:::i;8310:193::-;;;;;;:::i;:::-;;:::i;18730:54::-;;18766:18;18730:54;;8566:151;;;;;;:::i;:::-;;:::i;6686:100::-;6740:13;6773:5;6766:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6686:100;:::o;9037:201::-;9120:4;792:10;9176:32;792:10;9192:7;9201:6;9176:8;:32::i;:::-;9226:4;9219:11;;;9037:201;;;;;:::o;9818:295::-;9949:4;792:10;10007:38;10023:4;792:10;10038:6;10007:15;:38::i;:::-;10056:27;10066:4;10072:2;10076:6;10056:9;:27::i;:::-;-1:-1:-1;10101:4:0;;9818:295;-1:-1:-1;;;;9818:295:0:o;10522:238::-;10610:4;792:10;10666:64;792:10;10682:7;10719:10;10691:25;792:10;10682:7;10691:9;:25::i;:::-;:38;;;;:::i;:::-;10666:8;:64::i;18055:91::-;18111:27;792:10;18131:6;18111:5;:27::i;:::-;18055:91;:::o;18465:164::-;18542:46;18558:7;792:10;18581:6;18542:15;:46::i;:::-;18599:22;18605:7;18614:6;18599:5;:22::i;:::-;18465:164;;:::o;6905:104::-;6961:13;6994:7;6987:14;;;;;:::i;11263:436::-;11356:4;792:10;11356:4;11439:25;792:10;11456:7;11439:9;:25::i;:::-;11412:52;;11503:15;11483:16;:35;;11475:85;;;;-1:-1:-1;;;11475:85:0;;3390:2:1;11475:85:0;;;3372:21:1;3429:2;3409:18;;;3402:30;3468:34;3448:18;;;3441:62;-1:-1:-1;;;3519:18:1;;;3512:35;3564:19;;11475:85:0;;;;;;;;;11596:60;11605:5;11612:7;11640:15;11621:16;:34;11596:8;:60::i;8310:193::-;8389:4;792:10;8445:28;792:10;8462:2;8466:6;8445:9;:28::i;8566:151::-;-1:-1:-1;;;;;8682:18:0;;;8655:7;8682:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8566:151::o;14888:380::-;-1:-1:-1;;;;;15024:19:0;;15016:68;;;;-1:-1:-1;;;15016:68:0;;3796:2:1;15016:68:0;;;3778:21:1;3835:2;3815:18;;;3808:30;3874:34;3854:18;;;3847:62;-1:-1:-1;;;3925:18:1;;;3918:34;3969:19;;15016:68:0;3594:400:1;15016:68:0;-1:-1:-1;;;;;15103:21:0;;15095:68;;;;-1:-1:-1;;;15095:68:0;;4201:2:1;15095:68:0;;;4183:21:1;4240:2;4220:18;;;4213:30;4279:34;4259:18;;;4252:62;-1:-1:-1;;;4330:18:1;;;4323:32;4372:19;;15095:68:0;3999:398:1;15095:68:0;-1:-1:-1;;;;;15176:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15228:32;;1342:25:1;;;15228:32:0;;1315:18:1;15228:32:0;;;;;;;;14888:380;;;:::o;15559:453::-;15694:24;15721:25;15731:5;15738:7;15721:9;:25::i;:::-;15694:52;;-1:-1:-1;;15761:16:0;:37;15757:248;;15843:6;15823:16;:26;;15815:68;;;;-1:-1:-1;;;15815:68:0;;4604:2:1;15815:68:0;;;4586:21:1;4643:2;4623:18;;;4616:30;4682:31;4662:18;;;4655:59;4731:18;;15815:68:0;4402:353:1;15815:68:0;15927:51;15936:5;15943:7;15971:6;15952:16;:25;15927:8;:51::i;:::-;15683:329;15559:453;;;:::o;12169:671::-;-1:-1:-1;;;;;12300:18:0;;12292:68;;;;-1:-1:-1;;;12292:68:0;;4962:2:1;12292:68:0;;;4944:21:1;5001:2;4981:18;;;4974:30;5040:34;5020:18;;;5013:62;-1:-1:-1;;;5091:18:1;;;5084:35;5136:19;;12292:68:0;4760:401:1;12292:68:0;-1:-1:-1;;;;;12379:16:0;;12371:64;;;;-1:-1:-1;;;12371:64:0;;5368:2:1;12371:64:0;;;5350:21:1;5407:2;5387:18;;;5380:30;5446:34;5426:18;;;5419:62;-1:-1:-1;;;5497:18:1;;;5490:33;5540:19;;12371:64:0;5166:399:1;12371:64:0;-1:-1:-1;;;;;12521:15:0;;12499:19;12521:15;;;;;;;;;;;12555:21;;;;12547:72;;;;-1:-1:-1;;;12547:72:0;;5772:2:1;12547:72:0;;;5754:21:1;5811:2;5791:18;;;5784:30;5850:34;5830:18;;;5823:62;-1:-1:-1;;;5901:18:1;;;5894:36;5947:19;;12547:72:0;5570:402:1;12547:72:0;-1:-1:-1;;;;;12655:15:0;;;:9;:15;;;;;;;;;;;12673:20;;;12655:38;;12715:13;;;;;;;;:23;;12687:6;;12655:9;12715:23;;12687:6;;12715:23;:::i;:::-;;;;;;;;12771:2;-1:-1:-1;;;;;12756:26:0;12765:4;-1:-1:-1;;;;;12756:26:0;;12775:6;12756:26;;;;1342:25:1;;1330:2;1315:18;;1196:177;12756:26:0;;;;;;;;12795:37;13859:591;;-1:-1:-1;;;;;13943:21:0;;13935:67;;;;-1:-1:-1;;;13935:67:0;;6179:2:1;13935:67:0;;;6161:21:1;6218:2;6198:18;;;6191:30;6257:34;6237:18;;;6230:62;-1:-1:-1;;;6308:18:1;;;6301:31;6349:19;;13935:67:0;5977:397:1;13935:67:0;-1:-1:-1;;;;;14102:18:0;;14077:22;14102:18;;;;;;;;;;;14139:24;;;;14131:71;;;;-1:-1:-1;;;14131:71:0;;6581:2:1;14131:71:0;;;6563:21:1;6620:2;6600:18;;;6593:30;6659:34;6639:18;;;6632:62;-1:-1:-1;;;6710:18:1;;;6703:32;6752:19;;14131:71:0;6379:398:1;14131:71:0;-1:-1:-1;;;;;14238:18:0;;:9;:18;;;;;;;;;;14259:23;;;14238:44;;14304:12;:22;;14276:6;;14238:9;14304:22;;14276:6;;14304:22;:::i;:::-;;;;-1:-1:-1;;14344:37:0;;1342:25:1;;;14370:1:0;;-1:-1:-1;;;;;14344:37:0;;;;;1330:2:1;1315:18;14344:37:0;1196:177:1;14:548;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:180::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;-1:-1:-1;2051:23:1;;1900:180;-1:-1:-1;1900:180:1:o;2085:186::-;2144:6;2197:2;2185:9;2176:7;2172:23;2168:32;2165:52;;;2213:1;2210;2203:12;2165:52;2236:29;2255:9;2236:29;:::i;:::-;2226:39;2085:186;-1:-1:-1;;;2085:186:1:o;2276:260::-;2344:6;2352;2405:2;2393:9;2384:7;2380:23;2376:32;2373:52;;;2421:1;2418;2411:12;2373:52;2444:29;2463:9;2444:29;:::i;:::-;2434:39;;2492:38;2526:2;2515:9;2511:18;2492:38;:::i;:::-;2482:48;;2276:260;;;;;:::o;2541:380::-;2620:1;2616:12;;;;2663;;;2684:61;;2738:4;2730:6;2726:17;2716:27;;2684:61;2791:2;2783:6;2780:14;2760:18;2757:38;2754:161;;2837:10;2832:3;2828:20;2825:1;2818:31;2872:4;2869:1;2862:15;2900:4;2897:1;2890:15;2754:161;;2541:380;;;:::o;2926:127::-;2987:10;2982:3;2978:20;2975:1;2968:31;3018:4;3015:1;3008:15;3042:4;3039:1;3032:15;3058:125;3123:9;;;3144:10;;;3141:36;;;3157:18;;:::i;6782:128::-;6849:9;;;6870:11;;;6867:37;;;6884:18;;:::i
Swarm Source
ipfs://cfedbe81c7faf91794a9fab156a0fecdf097f098a51490e190a829bbe08112d9
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.