Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 202 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21149797 | 13 days ago | IN | 0 ETH | 0.00047621 | ||||
Approve | 20496095 | 104 days ago | IN | 0 ETH | 0.0000204 | ||||
Approve | 20254487 | 138 days ago | IN | 0 ETH | 0.00006733 | ||||
Transfer | 20250585 | 138 days ago | IN | 0 ETH | 0.00004793 | ||||
Transfer | 20250584 | 138 days ago | IN | 0 ETH | 0.00007642 | ||||
Approve | 19665150 | 220 days ago | IN | 0 ETH | 0.00033751 | ||||
Approve | 18459433 | 389 days ago | IN | 0 ETH | 0.00057821 | ||||
Approve | 18415058 | 395 days ago | IN | 0 ETH | 0.00144772 | ||||
Approve | 18413262 | 396 days ago | IN | 0 ETH | 0.0010097 | ||||
Approve | 18413224 | 396 days ago | IN | 0 ETH | 0.00101693 | ||||
Approve | 18413076 | 396 days ago | IN | 0 ETH | 0.00073685 | ||||
Approve | 18412989 | 396 days ago | IN | 0 ETH | 0.00087786 | ||||
Approve | 18412592 | 396 days ago | IN | 0 ETH | 0.00035099 | ||||
Approve | 18412551 | 396 days ago | IN | 0 ETH | 0.00061665 | ||||
Approve | 18412485 | 396 days ago | IN | 0 ETH | 0.00022906 | ||||
Approve | 18412482 | 396 days ago | IN | 0 ETH | 0.00041432 | ||||
Approve | 18412417 | 396 days ago | IN | 0 ETH | 0.00050816 | ||||
Approve | 18412387 | 396 days ago | IN | 0 ETH | 0.00069788 | ||||
Approve | 18412334 | 396 days ago | IN | 0 ETH | 0.00062185 | ||||
Approve | 18412301 | 396 days ago | IN | 0 ETH | 0.00046374 | ||||
Approve | 18412291 | 396 days ago | IN | 0 ETH | 0.00043976 | ||||
Approve | 18412285 | 396 days ago | IN | 0 ETH | 0.00050392 | ||||
Approve | 18412282 | 396 days ago | IN | 0 ETH | 0.0004642 | ||||
Approve | 18412275 | 396 days ago | IN | 0 ETH | 0.00056488 | ||||
Approve | 18412270 | 396 days ago | IN | 0 ETH | 0.00043237 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BookToken
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract BookToken is ERC20 { event Redemption(address indexed addr, uint256 indexed orderId, uint8 copy); uint256 public purchasedCopies; constructor() ERC20("ENS Constitution Book Token", unicode"📘") { _mint(msg.sender, 50 * 10 ** decimals()); } function redeem(uint256 orderId, uint8 copy) public { _redeem(msg.sender, orderId, copy); } function redeemFor(address owner, uint256 orderId, uint8 copy) public { _spendAllowance(owner, msg.sender, 10 ** decimals()); _redeem(owner, orderId, copy); } function _redeem(address owner, uint256 orderId, uint8 copy) internal { require(copy < 50, "Invalid copy ID"); require((purchasedCopies & (1 << copy)) == 0, "Copy already purchased"); purchasedCopies |= 1 << copy; _burn(owner, 10 ** decimals()); emit Redemption(owner, orderId, copy); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../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 { 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 `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: * * - `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 {} }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) 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); }
// SPDX-License-Identifier: MIT // 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"orderId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"copy","type":"uint8"}],"name":"Redemption","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":[],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchasedCopies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderId","type":"uint256"},{"internalType":"uint8","name":"copy","type":"uint8"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"orderId","type":"uint256"},{"internalType":"uint8","name":"copy","type":"uint8"}],"name":"redeemFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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
60806040523480156200001157600080fd5b50604080518082018252601b81527f454e5320436f6e737469747574696f6e20426f6f6b20546f6b656e00000000006020808301918252835180850190945260048452631e13f27360e31b9084015281519192916200007391600391620001b4565b50805162000089906004906020840190620001b4565b505050620000c133620000a1620000c760201b60201c565b620000ae90600a6200036f565b620000bb90603262000387565b620000cc565b62000400565b601290565b6001600160a01b038216620001275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200013b9190620003a9565b90915550506001600160a01b038216600090815260208190526040812080548392906200016a908490620003a9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001c290620003c4565b90600052602060002090601f016020900481019282620001e6576000855562000231565b82601f106200020157805160ff191683800117855562000231565b8280016001018555821562000231579182015b828111156200023157825182559160200191906001019062000214565b506200023f92915062000243565b5090565b5b808211156200023f576000815560010162000244565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002b15781600019048211156200029557620002956200025a565b80851615620002a357918102915b93841c939080029062000275565b509250929050565b600082620002ca5750600162000369565b81620002d95750600062000369565b8160018114620002f25760028114620002fd576200031d565b600191505062000369565b60ff8411156200031157620003116200025a565b50506001821b62000369565b5060208310610133831016604e8410600b841016171562000342575081810a62000369565b6200034e838362000270565b80600019048211156200036557620003656200025a565b0290505b92915050565b60006200038060ff841683620002b9565b9392505050565b6000816000190483118215151615620003a457620003a46200025a565b500290565b60008219821115620003bf57620003bf6200025a565b500190565b600181811c90821680620003d957607f821691505b602082108103620003fa57634e487b7160e01b600052602260045260246000fd5b50919050565b610cf980620004106000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a4e2c46511610066578063a4e2c465146101c4578063a9059cbb146101d9578063aeee0880146101ec578063dd62ed3e146101ff57600080fd5b806370a082311461018057806395d89b41146101a9578063a457c2d7146101b157600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806349fb553a1461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610212565b60405161010491906109b5565b60405180910390f35b61012061011b366004610a26565b6102a4565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a50565b6102be565b60405160128152602001610104565b610120610172366004610a26565b6102e2565b61013460055481565b61013461018e366004610a8c565b6001600160a01b031660009081526020819052604090205490565b6100f7610304565b6101206101bf366004610a26565b610313565b6101d76101d2366004610abf565b610393565b005b6101206101e7366004610a26565b6103a2565b6101d76101fa366004610aeb565b6103b0565b61013461020d366004610b27565b6103d6565b60606003805461022190610b51565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90610b51565b801561029a5780601f1061026f5761010080835404028352916020019161029a565b820191906000526020600020905b81548152906001019060200180831161027d57829003601f168201915b5050505050905090565b6000336102b2818585610401565b60019150505b92915050565b6000336102cc858285610526565b6102d78585856105a0565b506001949350505050565b6000336102b28185856102f583836103d6565b6102ff9190610ba1565b610401565b60606004805461022190610b51565b6000338161032182866103d6565b9050838110156103865760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102d78286868403610401565b61039e33838361076e565b5050565b6000336102b28185856105a0565b6103c683336103c16012600a610c9d565b610526565b6103d183838361076e565b505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161037d565b6001600160a01b0382166104c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161037d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061053284846103d6565b9050600019811461059a578181101561058d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161037d565b61059a8484848403610401565b50505050565b6001600160a01b0383166106045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161037d565b6001600160a01b0382166106665760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161037d565b6001600160a01b038316600090815260208190526040902054818110156106de5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161037d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610715908490610ba1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161076191815260200190565b60405180910390a361059a565b60328160ff16106107b35760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818dbdc1e481251608a1b604482015260640161037d565b600554600160ff83161b16156108045760405162461bcd60e51b815260206004820152601660248201527510dbdc1e48185b1c9958591e481c1d5c98da185cd95960521b604482015260640161037d565b60058054600160ff84161b179055610827836108226012600a610c9d565b610867565b60405160ff8216815282906001600160a01b038516907f9660be19a2310b5cb01b403d0364653e20828cdc31d40fa57a40729688fce03890602001610519565b6001600160a01b0382166108c75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161037d565b6001600160a01b0382166000908152602081905260409020548181101561093b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161037d565b6001600160a01b038316600090815260208190526040812083830390556002805484929061096a908490610cac565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208083528351808285015260005b818110156109e2578581018301518582016040015282016109c6565b818111156109f4576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610a2157600080fd5b919050565b60008060408385031215610a3957600080fd5b610a4283610a0a565b946020939093013593505050565b600080600060608486031215610a6557600080fd5b610a6e84610a0a565b9250610a7c60208501610a0a565b9150604084013590509250925092565b600060208284031215610a9e57600080fd5b610aa782610a0a565b9392505050565b803560ff81168114610a2157600080fd5b60008060408385031215610ad257600080fd5b82359150610ae260208401610aae565b90509250929050565b600080600060608486031215610b0057600080fd5b610b0984610a0a565b925060208401359150610b1e60408501610aae565b90509250925092565b60008060408385031215610b3a57600080fd5b610b4383610a0a565b9150610ae260208401610a0a565b600181811c90821680610b6557607f821691505b602082108103610b8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610bb457610bb4610b8b565b500190565b600181815b80851115610bf4578160001904821115610bda57610bda610b8b565b80851615610be757918102915b93841c9390800290610bbe565b509250929050565b600082610c0b575060016102b8565b81610c18575060006102b8565b8160018114610c2e5760028114610c3857610c54565b60019150506102b8565b60ff841115610c4957610c49610b8b565b50506001821b6102b8565b5060208310610133831016604e8410600b8410161715610c77575081810a6102b8565b610c818383610bb9565b8060001904821115610c9557610c95610b8b565b029392505050565b6000610aa760ff841683610bfc565b600082821015610cbe57610cbe610b8b565b50039056fea2646970667358221220194002182420a63ec320e1c106f9953664c7ca6593939891deb2aa0f92a7e4f064736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a4e2c46511610066578063a4e2c465146101c4578063a9059cbb146101d9578063aeee0880146101ec578063dd62ed3e146101ff57600080fd5b806370a082311461018057806395d89b41146101a9578063a457c2d7146101b157600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806349fb553a1461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610212565b60405161010491906109b5565b60405180910390f35b61012061011b366004610a26565b6102a4565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610a50565b6102be565b60405160128152602001610104565b610120610172366004610a26565b6102e2565b61013460055481565b61013461018e366004610a8c565b6001600160a01b031660009081526020819052604090205490565b6100f7610304565b6101206101bf366004610a26565b610313565b6101d76101d2366004610abf565b610393565b005b6101206101e7366004610a26565b6103a2565b6101d76101fa366004610aeb565b6103b0565b61013461020d366004610b27565b6103d6565b60606003805461022190610b51565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90610b51565b801561029a5780601f1061026f5761010080835404028352916020019161029a565b820191906000526020600020905b81548152906001019060200180831161027d57829003601f168201915b5050505050905090565b6000336102b2818585610401565b60019150505b92915050565b6000336102cc858285610526565b6102d78585856105a0565b506001949350505050565b6000336102b28185856102f583836103d6565b6102ff9190610ba1565b610401565b60606004805461022190610b51565b6000338161032182866103d6565b9050838110156103865760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102d78286868403610401565b61039e33838361076e565b5050565b6000336102b28185856105a0565b6103c683336103c16012600a610c9d565b610526565b6103d183838361076e565b505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161037d565b6001600160a01b0382166104c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161037d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061053284846103d6565b9050600019811461059a578181101561058d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161037d565b61059a8484848403610401565b50505050565b6001600160a01b0383166106045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161037d565b6001600160a01b0382166106665760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161037d565b6001600160a01b038316600090815260208190526040902054818110156106de5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161037d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610715908490610ba1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161076191815260200190565b60405180910390a361059a565b60328160ff16106107b35760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818dbdc1e481251608a1b604482015260640161037d565b600554600160ff83161b16156108045760405162461bcd60e51b815260206004820152601660248201527510dbdc1e48185b1c9958591e481c1d5c98da185cd95960521b604482015260640161037d565b60058054600160ff84161b179055610827836108226012600a610c9d565b610867565b60405160ff8216815282906001600160a01b038516907f9660be19a2310b5cb01b403d0364653e20828cdc31d40fa57a40729688fce03890602001610519565b6001600160a01b0382166108c75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161037d565b6001600160a01b0382166000908152602081905260409020548181101561093b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161037d565b6001600160a01b038316600090815260208190526040812083830390556002805484929061096a908490610cac565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208083528351808285015260005b818110156109e2578581018301518582016040015282016109c6565b818111156109f4576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610a2157600080fd5b919050565b60008060408385031215610a3957600080fd5b610a4283610a0a565b946020939093013593505050565b600080600060608486031215610a6557600080fd5b610a6e84610a0a565b9250610a7c60208501610a0a565b9150604084013590509250925092565b600060208284031215610a9e57600080fd5b610aa782610a0a565b9392505050565b803560ff81168114610a2157600080fd5b60008060408385031215610ad257600080fd5b82359150610ae260208401610aae565b90509250929050565b600080600060608486031215610b0057600080fd5b610b0984610a0a565b925060208401359150610b1e60408501610aae565b90509250925092565b60008060408385031215610b3a57600080fd5b610b4383610a0a565b9150610ae260208401610a0a565b600181811c90821680610b6557607f821691505b602082108103610b8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610bb457610bb4610b8b565b500190565b600181815b80851115610bf4578160001904821115610bda57610bda610b8b565b80851615610be757918102915b93841c9390800290610bbe565b509250929050565b600082610c0b575060016102b8565b81610c18575060006102b8565b8160018114610c2e5760028114610c3857610c54565b60019150506102b8565b60ff841115610c4957610c49610b8b565b50506001821b6102b8565b5060208310610133831016604e8410600b8410161715610c77575081810a6102b8565b610c818383610bb9565b8060001904821115610c9557610c95610b8b565b029392505050565b6000610aa760ff841683610bfc565b600082821015610cbe57610cbe610b8b565b50039056fea2646970667358221220194002182420a63ec320e1c106f9953664c7ca6593939891deb2aa0f92a7e4f064736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.