Token

yoko fun Traveller (TRAV)

Overview

Max Total Supply

1,000,000,000 TRAV

Holders

12

Market

Price

-

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.811290491399064171 TRAV

Value
$0.00
0xC5763A6ad2A8604709Ecd60E5a07098Fbb6B4E49
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
FERC20

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 4 : FERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract FERC20 is Context, IERC20, Ownable {
    uint8 private constant _decimals = 18;

    uint256 private _totalSupply;

    string private _name;

    string private _symbol;

    uint256 public maxTx;

    uint256 private _maxTxAmount;

    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    mapping(address => bool) private isExcludedFromMaxTx;

    event MaxTxUpdated(uint256 _maxTx);

    error ZeroAddressUnallowed();

    error InvalidAmount();

    error MaxTxExceeded();

    constructor(string memory name_, string memory symbol_, uint256 supply, uint256 _maxTx) Ownable(msg.sender) {
        _name = name_;

        _symbol = symbol_;

        _totalSupply = supply * 10 ** _decimals;

        _balances[_msgSender()] = _totalSupply;

        isExcludedFromMaxTx[_msgSender()] = true;

        isExcludedFromMaxTx[address(this)] = true;

        _updateMaxTx(_maxTx);

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

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);

        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);

        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);

        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount);

        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        if (owner == address(0) || spender == address(0)) revert ZeroAddressUnallowed();

        _allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    function _transfer(address from, address to, uint256 amount) private {
        if (from == address(0) || to == address(0)) revert ZeroAddressUnallowed();
        if (amount == 0) revert InvalidAmount();

        if (!isExcludedFromMaxTx[from]) {
            if (amount > _maxTxAmount) revert MaxTxExceeded();
        }

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

        emit Transfer(from, to, amount);
    }

    function _updateMaxTx(uint256 _maxTx) internal {
        maxTx = _maxTx;
        _maxTxAmount = (maxTx * _totalSupply) / 100;

        emit MaxTxUpdated(_maxTx);
    }

    function updateMaxTx(uint256 _maxTx) public onlyOwner {
        _updateMaxTx(_maxTx);
    }

    function excludeFromMaxTx(address user) public onlyOwner {
        if (user == address(0)) revert ZeroAddressUnallowed();

        isExcludedFromMaxTx[user] = true;
    }

    function _burn(address user, uint256 amount) internal {
        if (user == address(0)) revert ZeroAddressUnallowed();
        _balances[user] = _balances[user] - amount;
    }

    function burnFrom(address user, uint256 amount) public onlyOwner {
        if (user == address(0)) revert ZeroAddressUnallowed();
        _balances[user] = _balances[user] - amount;
        emit Transfer(user, address(0), amount);
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * 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 private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "v2-core/=lib/v2-core/contracts/",
    "v2-periphery/=lib/v2-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"MaxTxExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ZeroAddressUnallowed","type":"error"},{"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":false,"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"MaxTxUpdated","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"updateMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000fb838038062000fb883398101604081905262000034916200029d565b33806200005b57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b62000066816200012c565b506002620000758582620003a6565b506003620000848482620003a6565b50620000936012600a62000587565b6200009f90836200059f565b60018181553360009081526006602090815260408083209490945560089052828120805460ff1990811684179091553082529290208054909216179055620000e7816200017c565b60015460405190815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050620005dc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60048190556001546064906200019390836200059f565b6200019f9190620005b9565b6005556040518181527fff3dd5e80294197918c284bbfc3dadd97d0b40ce92106110946329088f80068a9060200160405180910390a150565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200020057600080fd5b81516001600160401b03808211156200021d576200021d620001d8565b604051601f8301601f19908116603f01168101908282118183101715620002485762000248620001d8565b816040528381526020925086838588010111156200026557600080fd5b600091505b838210156200028957858201830151818301840152908201906200026a565b600093810190920192909252949350505050565b60008060008060808587031215620002b457600080fd5b84516001600160401b0380821115620002cc57600080fd5b620002da88838901620001ee565b95506020870151915080821115620002f157600080fd5b506200030087828801620001ee565b604087015160609097015195989097509350505050565b600181811c908216806200032c57607f821691505b6020821081036200034d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003a157600081815260208120601f850160051c810160208610156200037c5750805b601f850160051c820191505b818110156200039d5782815560010162000388565b5050505b505050565b81516001600160401b03811115620003c257620003c2620001d8565b620003da81620003d3845462000317565b8462000353565b602080601f831160018114620004125760008415620003f95750858301515b600019600386901b1c1916600185901b1785556200039d565b600085815260208120601f198616915b82811015620004435788860151825594840194600190910190840162000422565b5085821015620004625787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004c9578160001904821115620004ad57620004ad62000472565b80851615620004bb57918102915b93841c93908002906200048d565b509250929050565b600082620004e25750600162000581565b81620004f15750600062000581565b81600181146200050a5760028114620005155762000535565b600191505062000581565b60ff84111562000529576200052962000472565b50506001821b62000581565b5060208310610133831016604e8410600b84101617156200055a575081810a62000581565b62000566838362000488565b80600019048211156200057d576200057d62000472565b0290505b92915050565b60006200059860ff841683620004d1565b9392505050565b808202811582820484141762000581576200058162000472565b600082620005d757634e487b7160e01b600052601260045260246000fd5b500490565b6109cc80620005ec6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806379cc679011610097578063c2d0ffca11610066578063c2d0ffca146101ff578063db4cf1e014610212578063dd62ed3e14610225578063f2fde38b1461025e57600080fd5b806379cc6790146101b65780638da5cb5b146101c957806395d89b41146101e4578063a9059cbb146101ec57600080fd5b8063313ce567116100d3578063313ce5671461016b57806370a082311461017a578063715018a6146101a35780637437681e146101ad57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610271565b60405161011a91906107a9565b60405180910390f35b610136610131366004610813565b610303565b604051901515815260200161011a565b6001545b60405190815260200161011a565b61013661016636600461083d565b61031a565b6040516012815260200161011a565b61014a610188366004610879565b6001600160a01b031660009081526006602052604090205490565b6101ab61036c565b005b61014a60045481565b6101ab6101c4366004610813565b610380565b6000546040516001600160a01b03909116815260200161011a565b61010d61042d565b6101366101fa366004610813565b61043c565b6101ab61020d36600461089b565b610449565b6101ab610220366004610879565b61045d565b61014a6102333660046108b4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6101ab61026c366004610879565b6104b0565b606060028054610280906108e7565b80601f01602080910402602001604051908101604052809291908181526020018280546102ac906108e7565b80156102f95780601f106102ce576101008083540402835291602001916102f9565b820191906000526020600020905b8154815290600101906020018083116102dc57829003601f168201915b5050505050905090565b60006103103384846104f0565b5060015b92915050565b600061032784848461058d565b6001600160a01b03841660009081526007602090815260408083203380855292529091205461036291869161035d908690610937565b6104f0565b5060019392505050565b6103746106d4565b61037e6000610701565b565b6103886106d4565b6001600160a01b0382166103af576040516310f73e1360e21b815260040160405180910390fd5b6001600160a01b0382166000908152600660205260409020546103d3908290610937565b6001600160a01b0383166000818152600660205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104219085815260200190565b60405180910390a35050565b606060038054610280906108e7565b600061031033848461058d565b6104516106d4565b61045a81610751565b50565b6104656106d4565b6001600160a01b03811661048c576040516310f73e1360e21b815260040160405180910390fd5b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6104b86106d4565b6001600160a01b0381166104e757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61045a81610701565b6001600160a01b038316158061050d57506001600160a01b038216155b1561052b576040516310f73e1360e21b815260040160405180910390fd5b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831615806105aa57506001600160a01b038216155b156105c8576040516310f73e1360e21b815260040160405180910390fd5b806000036105e95760405163162908e360e11b815260040160405180910390fd5b6001600160a01b03831660009081526008602052604090205460ff1661062c5760055481111561062c5760405163136c002360e21b815260040160405180910390fd5b6001600160a01b038316600090815260066020526040902054610650908290610937565b6001600160a01b03808516600090815260066020526040808220939093559084168152205461068090829061094a565b6001600160a01b0380841660008181526006602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105809085815260200190565b6000546001600160a01b0316331461037e5760405163118cdaa760e01b81523360048201526024016104de565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004819055600154606490610766908361095d565b6107709190610974565b6005556040518181527fff3dd5e80294197918c284bbfc3dadd97d0b40ce92106110946329088f80068a9060200160405180910390a150565b600060208083528351808285015260005b818110156107d6578581018301518582016040015282016107ba565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461080e57600080fd5b919050565b6000806040838503121561082657600080fd5b61082f836107f7565b946020939093013593505050565b60008060006060848603121561085257600080fd5b61085b846107f7565b9250610869602085016107f7565b9150604084013590509250925092565b60006020828403121561088b57600080fd5b610894826107f7565b9392505050565b6000602082840312156108ad57600080fd5b5035919050565b600080604083850312156108c757600080fd5b6108d0836107f7565b91506108de602084016107f7565b90509250929050565b600181811c908216806108fb57607f821691505b60208210810361091b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561031457610314610921565b8082018082111561031457610314610921565b808202811582820484141761031457610314610921565b60008261099157634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202e89e326a41bd8c1ba3bae81a21b5d5df87dfedf137ad65ff5f47b8bf687430b64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000012796f6b6f2066756e2054726176656c6c6572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045452415600000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c806379cc679011610097578063c2d0ffca11610066578063c2d0ffca146101ff578063db4cf1e014610212578063dd62ed3e14610225578063f2fde38b1461025e57600080fd5b806379cc6790146101b65780638da5cb5b146101c957806395d89b41146101e4578063a9059cbb146101ec57600080fd5b8063313ce567116100d3578063313ce5671461016b57806370a082311461017a578063715018a6146101a35780637437681e146101ad57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610271565b60405161011a91906107a9565b60405180910390f35b610136610131366004610813565b610303565b604051901515815260200161011a565b6001545b60405190815260200161011a565b61013661016636600461083d565b61031a565b6040516012815260200161011a565b61014a610188366004610879565b6001600160a01b031660009081526006602052604090205490565b6101ab61036c565b005b61014a60045481565b6101ab6101c4366004610813565b610380565b6000546040516001600160a01b03909116815260200161011a565b61010d61042d565b6101366101fa366004610813565b61043c565b6101ab61020d36600461089b565b610449565b6101ab610220366004610879565b61045d565b61014a6102333660046108b4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6101ab61026c366004610879565b6104b0565b606060028054610280906108e7565b80601f01602080910402602001604051908101604052809291908181526020018280546102ac906108e7565b80156102f95780601f106102ce576101008083540402835291602001916102f9565b820191906000526020600020905b8154815290600101906020018083116102dc57829003601f168201915b5050505050905090565b60006103103384846104f0565b5060015b92915050565b600061032784848461058d565b6001600160a01b03841660009081526007602090815260408083203380855292529091205461036291869161035d908690610937565b6104f0565b5060019392505050565b6103746106d4565b61037e6000610701565b565b6103886106d4565b6001600160a01b0382166103af576040516310f73e1360e21b815260040160405180910390fd5b6001600160a01b0382166000908152600660205260409020546103d3908290610937565b6001600160a01b0383166000818152600660205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104219085815260200190565b60405180910390a35050565b606060038054610280906108e7565b600061031033848461058d565b6104516106d4565b61045a81610751565b50565b6104656106d4565b6001600160a01b03811661048c576040516310f73e1360e21b815260040160405180910390fd5b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6104b86106d4565b6001600160a01b0381166104e757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61045a81610701565b6001600160a01b038316158061050d57506001600160a01b038216155b1561052b576040516310f73e1360e21b815260040160405180910390fd5b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831615806105aa57506001600160a01b038216155b156105c8576040516310f73e1360e21b815260040160405180910390fd5b806000036105e95760405163162908e360e11b815260040160405180910390fd5b6001600160a01b03831660009081526008602052604090205460ff1661062c5760055481111561062c5760405163136c002360e21b815260040160405180910390fd5b6001600160a01b038316600090815260066020526040902054610650908290610937565b6001600160a01b03808516600090815260066020526040808220939093559084168152205461068090829061094a565b6001600160a01b0380841660008181526006602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105809085815260200190565b6000546001600160a01b0316331461037e5760405163118cdaa760e01b81523360048201526024016104de565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004819055600154606490610766908361095d565b6107709190610974565b6005556040518181527fff3dd5e80294197918c284bbfc3dadd97d0b40ce92106110946329088f80068a9060200160405180910390a150565b600060208083528351808285015260005b818110156107d6578581018301518582016040015282016107ba565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461080e57600080fd5b919050565b6000806040838503121561082657600080fd5b61082f836107f7565b946020939093013593505050565b60008060006060848603121561085257600080fd5b61085b846107f7565b9250610869602085016107f7565b9150604084013590509250925092565b60006020828403121561088b57600080fd5b610894826107f7565b9392505050565b6000602082840312156108ad57600080fd5b5035919050565b600080604083850312156108c757600080fd5b6108d0836107f7565b91506108de602084016107f7565b90509250929050565b600181811c908216806108fb57607f821691505b60208210810361091b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561031457610314610921565b8082018082111561031457610314610921565b808202811582820484141761031457610314610921565b60008261099157634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202e89e326a41bd8c1ba3bae81a21b5d5df87dfedf137ad65ff5f47b8bf687430b64736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000012796f6b6f2066756e2054726176656c6c6572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045452415600000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): yoko fun Traveller
Arg [1] : symbol_ (string): TRAV
Arg [2] : supply (uint256): 1000000000
Arg [3] : _maxTx (uint256): 100

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 796f6b6f2066756e2054726176656c6c65720000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5452415600000000000000000000000000000000000000000000000000000000


[ 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.