ETH Price: $3,335.44 (-1.44%)
Gas: 15 Gwei

Token

MARU NEKO (MARU)
 

Overview

Max Total Supply

6,969,696,969 MARU

Holders

47

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
5,822,572.084800512 MARU

Value
$0.00
0xd6d58ddfe8f52b89ff480a6b4057b859fce74b47
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MARU

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 6 : MARU.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./tax/ITaxHandler.sol";
import "./treasury/ITreasuryHandler.sol";

contract MARU is IERC20, Ownable {
    /// @dev Registry of user token balances.
    mapping(address => uint256) private _balances;

    /// @dev Registry of addresses users have given allowances to.
    mapping(address => mapping(address => uint256)) private _allowances;

    /// @notice The contract implementing tax calculations.
    ITaxHandler public taxHandler;

    /// @notice The contract that performs treasury-related operations.
    ITreasuryHandler public treasuryHandler;

    /// @notice Emitted when the tax handler contract is changed.
    event TaxHandlerChanged(address oldAddress, address newAddress);

    /// @notice Emitted when the treasury handler contract is changed.
    event TreasuryHandlerChanged(address oldAddress, address newAddress);

    /// @dev Name of the token.
    string private _name;

    /// @dev Symbol of the token.
    string private _symbol;

    /**
     * @param name_ Name of the token.
     * @param symbol_ Symbol of the token.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;

        _balances[_msgSender()] = totalSupply();

        emit Transfer(address(0), _msgSender(), totalSupply());
    }

    /**
     * @notice Get token name.
     * @return Name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @notice Get token symbol.
     * @return Symbol of the token.
     */
    function symbol() external view returns (string memory) {
        return _symbol;
    }

    /**
     * @notice Get number of decimals used by the token.
     * @return Number of decimals used by the token.
     */
    function decimals() external pure returns (uint8) {
        return 9;
    }

    /**
     * @notice Get the maximum number of tokens.
     * @return The maximum number of tokens that will ever be in existence.
     */
    function totalSupply() public pure override returns (uint256) {
        // six billion nine hundred sixty-nine million six hundred ninety-six thousand nine hundred sixty-nine, i.e., 6,969,696,969 tokens.
        return 6_969_696_969 * 1e9;
    }

    /**
     * @notice Get token balance of given given account.
     * @param account Address to retrieve balance for.
     * @return The number of tokens owned by `account`.
     */
    function balanceOf(address account)
        external
        view
        override
        returns (uint256)
    {
        return _balances[account];
    }

    /**
     * @notice Transfer tokens from caller's address to another.
     * @param recipient Address to send the caller's tokens to.
     * @param amount The number of tokens to transfer to recipient.
     * @return True if transfer succeeds, else an error is raised.
     */
    function transfer(address recipient, uint256 amount)
        external
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @notice Get the allowance `owner` has given `spender`.
     * @param owner The address on behalf of whom tokens can be spent by `spender`.
     * @param spender The address authorized to spend tokens on behalf of `owner`.
     * @return The allowance `owner` has given `spender`.
     */
    function allowance(address owner, address spender)
        external
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    /**
     * @notice Approve address to spend caller's tokens.
     * @dev This method can be exploited by malicious spenders if their allowance is already non-zero. See the following
     * document for details: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/edit.
     * Ensure the spender can be trusted before calling this method if they've already been approved before. Otherwise
     * use either the `increaseAllowance`/`decreaseAllowance` functions, or first set their allowance to zero, before
     * setting a new allowance.
     * @param spender Address to authorize for token expenditure.
     * @param amount The number of tokens `spender` is allowed to spend.
     * @return True if the approval succeeds, else an error is raised.
     */
    function approve(address spender, uint256 amount)
        external
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @notice Transfer tokens from one address to another.
     * @param sender Address to move tokens from.
     * @param recipient Address to send the caller's tokens to.
     * @param amount The number of tokens to transfer to recipient.
     * @return True if the transfer succeeds, else an error is raised.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(
            currentAllowance >= amount,
            "MARU:transferFrom:ALLOWANCE_EXCEEDED: Transfer amount exceeds allowance."
        );
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @notice Increase spender's allowance.
     * @param spender Address of user authorized to spend caller's tokens.
     * @param addedValue The number of tokens to add to `spender`'s allowance.
     * @return True if the allowance is successfully increased, else an error is raised.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        external
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender] + addedValue
        );

        return true;
    }

    /**
     * @notice Decrease spender's allowance.
     * @param spender Address of user authorized to spend caller's tokens.
     * @param subtractedValue The number of tokens to remove from `spender`'s allowance.
     * @return True if the allowance is successfully decreased, else an error is raised.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        external
        returns (bool)
    {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(
            currentAllowance >= subtractedValue,
            "MARU:decreaseAllowance:ALLOWANCE_UNDERFLOW: Subtraction results in sub-zero allowance."
        );
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @notice Set new tax handler contract.
     * @param taxHandlerAddress Address of new tax handler contract.
     */
    function setTaxHandler(address taxHandlerAddress) external onlyOwner {
        address oldTaxHandlerAddress = address(taxHandler);
        taxHandler = ITaxHandler(taxHandlerAddress);

        emit TaxHandlerChanged(oldTaxHandlerAddress, taxHandlerAddress);
    }

    /**
     * @notice Set new treasury handler contract.
     * @param treasuryHandlerAddress Address of new treasury handler contract.
     */
    function setTreasuryHandler(address treasuryHandlerAddress)
        external
        onlyOwner
    {
        address oldTreasuryHandlerAddress = address(treasuryHandler);
        treasuryHandler = ITreasuryHandler(treasuryHandlerAddress);

        emit TreasuryHandlerChanged(
            oldTreasuryHandlerAddress,
            treasuryHandlerAddress
        );
    }

    /**
     * @notice Approve spender on behalf of owner.
     * @param owner Address on behalf of whom tokens can be spent by `spender`.
     * @param spender Address to authorize for token expenditure.
     * @param amount The number of tokens `spender` is allowed to spend.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(
            owner != address(0),
            "MARU:_approve:OWNER_ZERO: Cannot approve for the zero address."
        );
        require(
            spender != address(0),
            "MARU:_approve:SPENDER_ZERO: Cannot approve to the zero address."
        );

        _allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    /**
     * @notice Transfer `amount` tokens from account `from` to account `to`.
     * @param from Address the tokens are moved out of.
     * @param to Address the tokens are moved to.
     * @param amount The number of tokens to transfer.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(
            from != address(0),
            "MARU:_transfer:FROM_ZERO: Cannot transfer from the zero address."
        );
        require(
            to != address(0),
            "MARU:_transfer:TO_ZERO: Cannot transfer to the zero address."
        );
        require(
            amount > 0,
            "MARU:_transfer:ZERO_AMOUNT: Transfer amount must be greater than zero."
        );
        require(
            amount <= _balances[from],
            "MARU:_transfer:INSUFFICIENT_BALANCE: Transfer amount exceeds balance."
        );

        treasuryHandler.beforeTransferHandler(from, to, amount);

        uint256 tax = taxHandler.getTax(from, to, amount);
        uint256 taxedAmount = amount - tax;

        _balances[from] -= amount;
        _balances[to] += taxedAmount;

        if (tax > 0) {
            _balances[address(treasuryHandler)] += tax;

            emit Transfer(from, address(treasuryHandler), tax);
        }

        treasuryHandler.afterTransferHandler(from, to, amount);

        emit Transfer(from, to, taxedAmount);
    }
}

File 2 of 6 : ITreasuryHandler.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.18;

/**
 * @title Treasury handler interface
 * @dev Any class that implements this interface can be used for protocol-specific operations pertaining to the treasury.
 */
interface ITreasuryHandler {
    /**
     * @notice Perform operations before a transfer is executed.
     * @param benefactor Address of the benefactor.
     * @param beneficiary Address of the beneficiary.
     * @param amount Number of tokens in the transfer.
     */
    function beforeTransferHandler(
        address benefactor,
        address beneficiary,
        uint256 amount
    ) external;

    /**
     * @notice Perform operations after a transfer is executed.
     * @param benefactor Address of the benefactor.
     * @param beneficiary Address of the beneficiary.
     * @param amount Number of tokens in the transfer.
     */
    function afterTransferHandler(
        address benefactor,
        address beneficiary,
        uint256 amount
    ) external;
}

File 3 of 6 : ITaxHandler.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.18;

/**
 * @title Tax handler interface
 * @dev Any class that implements this interface can be used for protocol-specific tax calculations.
 */
interface ITaxHandler {
    /**
     * @notice Get number of tokens to pay as tax.
     * @param benefactor Address of the benefactor.
     * @param beneficiary Address of the beneficiary.
     * @param amount Number of tokens in the transfer.
     * @return Number of tokens to pay as tax.
     */
    function getTax(
        address benefactor,
        address beneficiary,
        uint256 amount
    ) external view returns (uint256);
}

File 4 of 6 : IERC20.sol
// 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);
}

File 5 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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.
 *
 * By default, the owner account will be the one that deploys the contract. 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 private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 6 : Context.sol
// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"TaxHandlerChanged","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":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"TreasuryHandlerChanged","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":[],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"taxHandlerAddress","type":"address"}],"name":"setTaxHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasuryHandlerAddress","type":"address"}],"name":"setTreasuryHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxHandler","outputs":[{"internalType":"contract ITaxHandler","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryHandler","outputs":[{"internalType":"contract ITreasuryHandler","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001401380380620014018339810160408190526200003491620001cb565b6200003f33620000b6565b60056200004d8382620002c4565b5060066200005c8282620002c4565b503360008181526001602090815260408083206760b956775d5c9a0090819055815190815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505062000390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200012e57600080fd5b81516001600160401b03808211156200014b576200014b62000106565b604051601f8301601f19908116603f0116810190828211818310171562000176576200017662000106565b816040528381526020925086838588010111156200019357600080fd5b600091505b83821015620001b7578582018301518183018401529082019062000198565b600093810190920192909252949350505050565b60008060408385031215620001df57600080fd5b82516001600160401b0380821115620001f757600080fd5b62000205868387016200011c565b935060208501519150808211156200021c57600080fd5b506200022b858286016200011c565b9150509250929050565b600181811c908216806200024a57607f821691505b6020821081036200026b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002bf57600081815260208120601f850160051c810160208610156200029a5750805b601f850160051c820191505b81811015620002bb57828155600101620002a6565b5050505b505050565b81516001600160401b03811115620002e057620002e062000106565b620002f881620002f1845462000235565b8462000271565b602080601f831160018114620003305760008415620003175750858301515b600019600386901b1c1916600185901b178555620002bb565b600085815260208120601f198616915b82811015620003615788860151825594840194600190910190840162000340565b5085821015620003805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61106180620003a06000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806370a08231116100b2578063a457c2d711610081578063a9373b7b11610066578063a9373b7b1461028c578063dd62ed3e1461029f578063f2fde38b146102d857600080fd5b8063a457c2d714610266578063a9059cbb1461027957600080fd5b806370a082311461021c578063715018a6146102455780638da5cb5b1461024d57806395d89b411461025e57600080fd5b806318160ddd11610109578063313ce567116100ee578063313ce567146101e557806339509351146101f4578063488d4a511461020757600080fd5b806318160ddd146101ba57806323b872dd146101d257600080fd5b806306fdde031461013b578063095ea7b31461015957806312280ba81461017c57806317889633146101a7575b600080fd5b6101436102eb565b6040516101509190610e77565b60405180910390f35b61016c610167366004610ee1565b61037d565b6040519015158152602001610150565b60035461018f906001600160a01b031681565b6040516001600160a01b039091168152602001610150565b60045461018f906001600160a01b031681565b6760b956775d5c9a005b604051908152602001610150565b61016c6101e0366004610f0b565b610394565b60405160098152602001610150565b61016c610202366004610ee1565b61047e565b61021a610215366004610f47565b6104ba565b005b6101c461022a366004610f47565b6001600160a01b031660009081526001602052604090205490565b61021a610530565b6000546001600160a01b031661018f565b610143610544565b61016c610274366004610ee1565b610553565b61016c610287366004610ee1565b61062a565b61021a61029a366004610f47565b610637565b6101c46102ad366004610f69565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61021a6102e6366004610f47565b6106a6565b6060600580546102fa90610f9c565b80601f016020809104026020016040519081016040528092919081815260200182805461032690610f9c565b80156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b5050505050905090565b600061038a338484610736565b5060015b92915050565b60006103a184848461088f565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156104665760405162461bcd60e51b815260206004820152604860248201527f4d4152553a7472616e7366657246726f6d3a414c4c4f57414e43455f4558434560448201527f454445443a205472616e7366657220616d6f756e74206578636565647320616c60648201527f6c6f77616e63652e000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b6104738533858403610736565b506001949350505050565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161038a9185906104b5908690610fec565b610736565b6104c2610dc0565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527ed910c9481701ba32afe0c247572aaece27072f230c8ec769bf245fc0b38de691015b60405180910390a15050565b610538610dc0565b6105426000610e1a565b565b6060600680546102fa90610f9c565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156106135760405162461bcd60e51b815260206004820152605660248201527f4d4152553a6465637265617365416c6c6f77616e63653a414c4c4f57414e434560448201527f5f554e444552464c4f573a205375627472616374696f6e20726573756c74732060648201527f696e207375622d7a65726f20616c6c6f77616e63652e00000000000000000000608482015260a40161045d565b6106203385858403610736565b5060019392505050565b600061038a33848461088f565b61063f610dc0565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527f1bf87992a35ee29395ab494f9adb9a500a7fa60c3082cba0ef02701bb35900d99101610524565b6106ae610dc0565b6001600160a01b03811661072a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161045d565b61073381610e1a565b50565b6001600160a01b0383166107b25760405162461bcd60e51b815260206004820152603e60248201527f4d4152553a5f617070726f76653a4f574e45525f5a45524f3a2043616e6e6f7460448201527f20617070726f766520666f7220746865207a65726f20616464726573732e0000606482015260840161045d565b6001600160a01b03821661082e5760405162461bcd60e51b815260206004820152603f60248201527f4d4152553a5f617070726f76653a5350454e4445525f5a45524f3a2043616e6e60448201527f6f7420617070726f766520746f20746865207a65726f20616464726573732e00606482015260840161045d565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661090d576040805162461bcd60e51b81526020600482015260248101919091527f4d4152553a5f7472616e736665723a46524f4d5f5a45524f3a2043616e6e6f7460448201527f207472616e736665722066726f6d20746865207a65726f20616464726573732e606482015260840161045d565b6001600160a01b0382166109895760405162461bcd60e51b815260206004820152603c60248201527f4d4152553a5f7472616e736665723a544f5f5a45524f3a2043616e6e6f74207460448201527f72616e7366657220746f20746865207a65726f20616464726573732e00000000606482015260840161045d565b60008111610a255760405162461bcd60e51b815260206004820152604660248201527f4d4152553a5f7472616e736665723a5a45524f5f414d4f554e543a205472616e60448201527f7366657220616d6f756e74206d7573742062652067726561746572207468616e60648201527f207a65726f2e0000000000000000000000000000000000000000000000000000608482015260a40161045d565b6001600160a01b038316600090815260016020526040902054811115610ad95760405162461bcd60e51b815260206004820152604560248201527f4d4152553a5f7472616e736665723a494e53554646494349454e545f42414c4160448201527f4e43453a205472616e7366657220616d6f756e7420657863656564732062616c60648201527f616e63652e000000000000000000000000000000000000000000000000000000608482015260a40161045d565b600480546040517fc6512cc10000000000000000000000000000000000000000000000000000000081526001600160a01b038681169382019390935284831660248201526044810184905291169063c6512cc190606401600060405180830381600087803b158015610b4a57600080fd5b505af1158015610b5e573d6000803e3d6000fd5b50506003546040517fd7ad21ac0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015286811660248301526044820186905260009450909116915063d7ad21ac90606401602060405180830381865afa158015610bd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfb9190610fff565b90506000610c098284611018565b6001600160a01b038616600090815260016020526040812080549293508592909190610c36908490611018565b90915550506001600160a01b03841660009081526001602052604081208054839290610c63908490610fec565b90915550508115610ce3576004546001600160a01b031660009081526001602052604081208054849290610c98908490610fec565b90915550506004546040518381526001600160a01b03918216918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b600480546040517fe613b1cd0000000000000000000000000000000000000000000000000000000081526001600160a01b038881169382019390935286831660248201526044810186905291169063e613b1cd90606401600060405180830381600087803b158015610d5457600080fd5b505af1158015610d68573d6000803e3d6000fd5b50505050836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610db191815260200190565b60405180910390a35050505050565b6000546001600160a01b031633146105425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045d565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b81811015610ea457858101830151858201604001528201610e88565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610edc57600080fd5b919050565b60008060408385031215610ef457600080fd5b610efd83610ec5565b946020939093013593505050565b600080600060608486031215610f2057600080fd5b610f2984610ec5565b9250610f3760208501610ec5565b9150604084013590509250925092565b600060208284031215610f5957600080fd5b610f6282610ec5565b9392505050565b60008060408385031215610f7c57600080fd5b610f8583610ec5565b9150610f9360208401610ec5565b90509250929050565b600181811c90821680610fb057607f821691505b602082108103610fd057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561038e5761038e610fd6565b60006020828403121561101157600080fd5b5051919050565b8181038181111561038e5761038e610fd656fea26469706673582212200a4a156bcef09849389a279b42bcf00f6f211d99c33729382183934807f0c02b64736f6c634300081200330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000094d415255204e454b4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d41525500000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101365760003560e01c806370a08231116100b2578063a457c2d711610081578063a9373b7b11610066578063a9373b7b1461028c578063dd62ed3e1461029f578063f2fde38b146102d857600080fd5b8063a457c2d714610266578063a9059cbb1461027957600080fd5b806370a082311461021c578063715018a6146102455780638da5cb5b1461024d57806395d89b411461025e57600080fd5b806318160ddd11610109578063313ce567116100ee578063313ce567146101e557806339509351146101f4578063488d4a511461020757600080fd5b806318160ddd146101ba57806323b872dd146101d257600080fd5b806306fdde031461013b578063095ea7b31461015957806312280ba81461017c57806317889633146101a7575b600080fd5b6101436102eb565b6040516101509190610e77565b60405180910390f35b61016c610167366004610ee1565b61037d565b6040519015158152602001610150565b60035461018f906001600160a01b031681565b6040516001600160a01b039091168152602001610150565b60045461018f906001600160a01b031681565b6760b956775d5c9a005b604051908152602001610150565b61016c6101e0366004610f0b565b610394565b60405160098152602001610150565b61016c610202366004610ee1565b61047e565b61021a610215366004610f47565b6104ba565b005b6101c461022a366004610f47565b6001600160a01b031660009081526001602052604090205490565b61021a610530565b6000546001600160a01b031661018f565b610143610544565b61016c610274366004610ee1565b610553565b61016c610287366004610ee1565b61062a565b61021a61029a366004610f47565b610637565b6101c46102ad366004610f69565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61021a6102e6366004610f47565b6106a6565b6060600580546102fa90610f9c565b80601f016020809104026020016040519081016040528092919081815260200182805461032690610f9c565b80156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b5050505050905090565b600061038a338484610736565b5060015b92915050565b60006103a184848461088f565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156104665760405162461bcd60e51b815260206004820152604860248201527f4d4152553a7472616e7366657246726f6d3a414c4c4f57414e43455f4558434560448201527f454445443a205472616e7366657220616d6f756e74206578636565647320616c60648201527f6c6f77616e63652e000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b6104738533858403610736565b506001949350505050565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161038a9185906104b5908690610fec565b610736565b6104c2610dc0565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527ed910c9481701ba32afe0c247572aaece27072f230c8ec769bf245fc0b38de691015b60405180910390a15050565b610538610dc0565b6105426000610e1a565b565b6060600680546102fa90610f9c565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156106135760405162461bcd60e51b815260206004820152605660248201527f4d4152553a6465637265617365416c6c6f77616e63653a414c4c4f57414e434560448201527f5f554e444552464c4f573a205375627472616374696f6e20726573756c74732060648201527f696e207375622d7a65726f20616c6c6f77616e63652e00000000000000000000608482015260a40161045d565b6106203385858403610736565b5060019392505050565b600061038a33848461088f565b61063f610dc0565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527f1bf87992a35ee29395ab494f9adb9a500a7fa60c3082cba0ef02701bb35900d99101610524565b6106ae610dc0565b6001600160a01b03811661072a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161045d565b61073381610e1a565b50565b6001600160a01b0383166107b25760405162461bcd60e51b815260206004820152603e60248201527f4d4152553a5f617070726f76653a4f574e45525f5a45524f3a2043616e6e6f7460448201527f20617070726f766520666f7220746865207a65726f20616464726573732e0000606482015260840161045d565b6001600160a01b03821661082e5760405162461bcd60e51b815260206004820152603f60248201527f4d4152553a5f617070726f76653a5350454e4445525f5a45524f3a2043616e6e60448201527f6f7420617070726f766520746f20746865207a65726f20616464726573732e00606482015260840161045d565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661090d576040805162461bcd60e51b81526020600482015260248101919091527f4d4152553a5f7472616e736665723a46524f4d5f5a45524f3a2043616e6e6f7460448201527f207472616e736665722066726f6d20746865207a65726f20616464726573732e606482015260840161045d565b6001600160a01b0382166109895760405162461bcd60e51b815260206004820152603c60248201527f4d4152553a5f7472616e736665723a544f5f5a45524f3a2043616e6e6f74207460448201527f72616e7366657220746f20746865207a65726f20616464726573732e00000000606482015260840161045d565b60008111610a255760405162461bcd60e51b815260206004820152604660248201527f4d4152553a5f7472616e736665723a5a45524f5f414d4f554e543a205472616e60448201527f7366657220616d6f756e74206d7573742062652067726561746572207468616e60648201527f207a65726f2e0000000000000000000000000000000000000000000000000000608482015260a40161045d565b6001600160a01b038316600090815260016020526040902054811115610ad95760405162461bcd60e51b815260206004820152604560248201527f4d4152553a5f7472616e736665723a494e53554646494349454e545f42414c4160448201527f4e43453a205472616e7366657220616d6f756e7420657863656564732062616c60648201527f616e63652e000000000000000000000000000000000000000000000000000000608482015260a40161045d565b600480546040517fc6512cc10000000000000000000000000000000000000000000000000000000081526001600160a01b038681169382019390935284831660248201526044810184905291169063c6512cc190606401600060405180830381600087803b158015610b4a57600080fd5b505af1158015610b5e573d6000803e3d6000fd5b50506003546040517fd7ad21ac0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015286811660248301526044820186905260009450909116915063d7ad21ac90606401602060405180830381865afa158015610bd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfb9190610fff565b90506000610c098284611018565b6001600160a01b038616600090815260016020526040812080549293508592909190610c36908490611018565b90915550506001600160a01b03841660009081526001602052604081208054839290610c63908490610fec565b90915550508115610ce3576004546001600160a01b031660009081526001602052604081208054849290610c98908490610fec565b90915550506004546040518381526001600160a01b03918216918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b600480546040517fe613b1cd0000000000000000000000000000000000000000000000000000000081526001600160a01b038881169382019390935286831660248201526044810186905291169063e613b1cd90606401600060405180830381600087803b158015610d5457600080fd5b505af1158015610d68573d6000803e3d6000fd5b50505050836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610db191815260200190565b60405180910390a35050505050565b6000546001600160a01b031633146105425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045d565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b81811015610ea457858101830151858201604001528201610e88565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610edc57600080fd5b919050565b60008060408385031215610ef457600080fd5b610efd83610ec5565b946020939093013593505050565b600080600060608486031215610f2057600080fd5b610f2984610ec5565b9250610f3760208501610ec5565b9150604084013590509250925092565b600060208284031215610f5957600080fd5b610f6282610ec5565b9392505050565b60008060408385031215610f7c57600080fd5b610f8583610ec5565b9150610f9360208401610ec5565b90509250929050565b600181811c90821680610fb057607f821691505b602082108103610fd057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561038e5761038e610fd6565b60006020828403121561101157600080fd5b5051919050565b8181038181111561038e5761038e610fd656fea26469706673582212200a4a156bcef09849389a279b42bcf00f6f211d99c33729382183934807f0c02b64736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000094d415255204e454b4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d41525500000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): MARU NEKO
Arg [1] : symbol_ (string): MARU

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 4d415255204e454b4f0000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4d41525500000000000000000000000000000000000000000000000000000000


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.