Goerli Testnet

Token

Testv4 (Testv4)
ERC-20

Overview

Max Total Supply

10,000,000,000 Testv4

Holders

155,131

Market

Fully Diluted Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3 Testv4
0x4d217dc1cda85f4c044a0314cf1beb0b0cbc3189
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:
TestToken

Compiler Version
v0.5.11+commit.22be8592

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-21
*/

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

pragma solidity 0.5.11;

/**
 * @title ERC20 interface
 * @dev see https://eips.ethereum.org/EIPS/eip-20
 */
interface IERC20 {
    function transfer(address to, uint256 value) external returns (bool);

    function approve(address spender, uint256 value) external returns (bool);

    function transferFrom(address from, address to, uint256 value) external returns (bool);

    function totalSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity 0.5.11;

/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error
 */
library SafeMath {
    /**
     * @dev Multiplies two unsigned integers, reverts on 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-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
     * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Adds two unsigned integers, reverts on overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);

        return c;
    }

    /**
     * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
     * reverts when dividing by zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

pragma solidity 0.5.11;



/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://eips.ethereum.org/EIPS/eip-20
 * Originally based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 *
 * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for
 * all accounts just by listening to said events. Note that this isn't required by the specification, and other
 * compliant implementations may not do it.
 */
contract ERC20 is IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    /**
     * @dev Total number of tokens in existence
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner The address to query the balance of.
     * @return A uint256 representing the amount owned by the passed address.
     */
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param owner address The address which owns the funds.
     * @param spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

    /**
     * @dev Transfer token to a specified address
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * 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
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to tr vbmansfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _transfer(from, to, value);
        _approve(from, msg.sender, _allowed[from][msg.sender].sub(value));
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    /**
     * @dev Transfer token for a specified addresses
     * @param from The address to transfer from.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function _transfer(address from, address to, uint256 value) internal {
        require(to != address(0));

        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(from, to, value);
    }

    /**
     * @dev Internal function that mints an amount of the token and assigns it to
     * an account. This encapsulates the modification of balances such that the
     * proper events are emitted.
     * @param account The account that will receive the created tokens.
     * @param value The amount that will be created.
     */
    function _mint(address account, uint256 value) internal {
        require(account != address(0));

        _totalSupply = _totalSupply.add(value);
        _balances[account] = _balances[account].add(value);
        emit Transfer(address(0), account, value);
    }

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account.
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burn(address account, uint256 value) internal {
        require(account != address(0));

        _totalSupply = _totalSupply.sub(value);
        _balances[account] = _balances[account].sub(value);
        emit Transfer(account, address(0), value);
    }

    /**
     * @dev Approve an address to spend another addresses' tokens.
     * @param owner The address that owns the tokens.
     * @param spender The address that will spend the tokens.
     * @param value The number of tokens that can be spent.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        require(spender != address(0));
        require(owner != address(0));

        _allowed[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account, deducting from the sender's allowance for said account. Uses the
     * internal burn function.
     * Emits an Approval event (reflecting the reduced allowance).
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burnFrom(address account, uint256 value) internal {
        _burn(account, value);
        _approve(account, msg.sender, _allowed[account][msg.sender].sub(value));
    }
}

// File: openzeppelin-solidity/contracts/access/Roles.sol

pragma solidity 0.5.11;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev give an account access to this role
     */
    function add(Role storage role, address account) internal {
        require(account != address(0));
        require(!has(role, account));

        role.bearer[account] = true;
    }

    /**
     * @dev remove an account's access to this role
     */
    function remove(Role storage role, address account) internal {
        require(account != address(0));
        require(has(role, account));

        role.bearer[account] = false;
    }

    /**
     * @dev check if an account has this role
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0));
        return role.bearer[account];
    }
}

// File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol

pragma solidity 0.5.11;


contract MinterRole {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(msg.sender);
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender));
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol

pragma solidity 0.5.11;



/**
 * @title ERC20Mintable
 * @dev ERC20 minting logic
 */
contract ERC20Mintable is ERC20, MinterRole {
    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param value The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(address to, uint256 value) public onlyMinter returns (bool) {
        _mint(to, value);
        return true;
    }
}

// File: contracts/common/tokens/TestToken.sol

pragma solidity 0.5.11;


contract TestToken is ERC20Mintable {
    // detailed ERC20
    string public name;
    string public symbol;
    uint8 public decimals = 18;

    constructor(string memory _name, string memory _symbol) public {
        name = _name;
        symbol = _symbol;

        uint256 value = 10**10 * (10**18);
        mint(msg.sender, value);
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","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":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"}]

60806040526006805460ff191660121790553480156200001e57600080fd5b5060405162000ead38038062000ead833981810160405260408110156200004457600080fd5b81019080805160405193929190846401000000008211156200006557600080fd5b9083019060208201858111156200007b57600080fd5b82516401000000008111828201881017156200009657600080fd5b82525081516020918201929091019080838360005b83811015620000c5578181015183820152602001620000ab565b50505050905090810190601f168015620000f35780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011757600080fd5b9083019060208201858111156200012d57600080fd5b82516401000000008111828201881017156200014857600080fd5b82525081516020918201929091019080838360005b83811015620001775781810151838201526020016200015d565b50505050905090810190601f168015620001a55780820380516001836020036101000a031916815260200191505b50604052505050620001bd336200021560201b60201c565b8151620001d29060049060208501906200042a565b508051620001e89060059060208401906200042a565b506b204fce5e3e250261100000006200020b33826001600160e01b036200026716565b50505050620004cf565b62000230816003620002a560201b620009051790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b60006200027d336001600160e01b03620002fe16565b6200028757600080fd5b6200029c83836001600160e01b036200032116565b50600192915050565b6001600160a01b038116620002b957600080fd5b620002ce82826001600160e01b03620003da16565b15620002d957600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006200031b826003620003da60201b620008d01790919060201c565b92915050565b6001600160a01b0382166200033557600080fd5b62000351816002546200041060201b6200077f1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620003849183906200077f62000410821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006001600160a01b038216620003f057600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000828201838110156200042357600080fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200046d57805160ff19168380011785556200049d565b828001600101855582156200049d579182015b828111156200049d57825182559160200191906001019062000480565b50620004ab929150620004af565b5090565b620004cc91905b80821115620004ab5760008155600101620004b6565b90565b6109ce80620004df6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d7146102db578063a9059cbb14610307578063aa271e1a14610333578063dd62ed3e14610359576100f5565b806370a082311461027d57806395d89b41146102a3578063983b2d56146102ab57806398650275146102d3576100f5565b806323b872dd116100d357806323b872dd146101d1578063313ce56714610207578063395093511461022557806340c10f1914610251576100f5565b806306fdde03146100fa578063095ea7b31461017757806318160ddd146101b7575b600080fd5b610102610387565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013c578181015183820152602001610124565b50505050905090810190601f1680156101695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a36004803603604081101561018d57600080fd5b506001600160a01b038135169060200135610415565b604080519115158252519081900360200190f35b6101bf61042b565b60408051918252519081900360200190f35b6101a3600480360360608110156101e757600080fd5b506001600160a01b03813581169160208101359091169060400135610431565b61020f610488565b6040805160ff9092168252519081900360200190f35b6101a36004803603604081101561023b57600080fd5b506001600160a01b038135169060200135610491565b6101a36004803603604081101561026757600080fd5b506001600160a01b0381351690602001356104cd565b6101bf6004803603602081101561029357600080fd5b50356001600160a01b03166104eb565b610102610506565b6102d1600480360360208110156102c157600080fd5b50356001600160a01b0316610561565b005b6102d161057f565b6101a3600480360360408110156102f157600080fd5b506001600160a01b03813516906020013561058a565b6101a36004803603604081101561031d57600080fd5b506001600160a01b0381351690602001356105c6565b6101a36004803603602081101561034957600080fd5b50356001600160a01b03166105d3565b6101bf6004803603604081101561036f57600080fd5b506001600160a01b03813581169160200135166105ec565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561040d5780601f106103e25761010080835404028352916020019161040d565b820191906000526020600020905b8154815290600101906020018083116103f057829003601f168201915b505050505081565b6000610422338484610617565b50600192915050565b60025490565b600061043e84848461069f565b6001600160a01b03841660009081526001602090815260408083203380855292529091205461047e918691610479908663ffffffff61076a16565b610617565b5060019392505050565b60065460ff1681565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610422918590610479908663ffffffff61077f16565b60006104d8336105d3565b6104e157600080fd5b6104228383610798565b6001600160a01b031660009081526020819052604090205490565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561040d5780601f106103e25761010080835404028352916020019161040d565b61056a336105d3565b61057357600080fd5b61057c81610840565b50565b61058833610888565b565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610422918590610479908663ffffffff61076a16565b600061042233848461069f565b60006105e660038363ffffffff6108d016565b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03821661062a57600080fd5b6001600160a01b03831661063d57600080fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166106b257600080fd5b6001600160a01b0383166000908152602081905260409020546106db908263ffffffff61076a16565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610710908263ffffffff61077f16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561077957600080fd5b50900390565b60008282018381101561079157600080fd5b9392505050565b6001600160a01b0382166107ab57600080fd5b6002546107be908263ffffffff61077f16565b6002556001600160a01b0382166000908152602081905260409020546107ea908263ffffffff61077f16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b61085160038263ffffffff61090516565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61089960038263ffffffff61095116565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b0382166108e557600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b03811661091857600080fd5b61092282826108d0565b1561092c57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b03811661096457600080fd5b61096e82826108d0565b61097757600080fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fea265627a7a7231582063d99db8b2b99028b9516d0efc3cefc49918c8df464ab070b569937fe89cfecf64736f6c634300050b0032000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006546573747634000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065465737476340000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d7146102db578063a9059cbb14610307578063aa271e1a14610333578063dd62ed3e14610359576100f5565b806370a082311461027d57806395d89b41146102a3578063983b2d56146102ab57806398650275146102d3576100f5565b806323b872dd116100d357806323b872dd146101d1578063313ce56714610207578063395093511461022557806340c10f1914610251576100f5565b806306fdde03146100fa578063095ea7b31461017757806318160ddd146101b7575b600080fd5b610102610387565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013c578181015183820152602001610124565b50505050905090810190601f1680156101695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a36004803603604081101561018d57600080fd5b506001600160a01b038135169060200135610415565b604080519115158252519081900360200190f35b6101bf61042b565b60408051918252519081900360200190f35b6101a3600480360360608110156101e757600080fd5b506001600160a01b03813581169160208101359091169060400135610431565b61020f610488565b6040805160ff9092168252519081900360200190f35b6101a36004803603604081101561023b57600080fd5b506001600160a01b038135169060200135610491565b6101a36004803603604081101561026757600080fd5b506001600160a01b0381351690602001356104cd565b6101bf6004803603602081101561029357600080fd5b50356001600160a01b03166104eb565b610102610506565b6102d1600480360360208110156102c157600080fd5b50356001600160a01b0316610561565b005b6102d161057f565b6101a3600480360360408110156102f157600080fd5b506001600160a01b03813516906020013561058a565b6101a36004803603604081101561031d57600080fd5b506001600160a01b0381351690602001356105c6565b6101a36004803603602081101561034957600080fd5b50356001600160a01b03166105d3565b6101bf6004803603604081101561036f57600080fd5b506001600160a01b03813581169160200135166105ec565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561040d5780601f106103e25761010080835404028352916020019161040d565b820191906000526020600020905b8154815290600101906020018083116103f057829003601f168201915b505050505081565b6000610422338484610617565b50600192915050565b60025490565b600061043e84848461069f565b6001600160a01b03841660009081526001602090815260408083203380855292529091205461047e918691610479908663ffffffff61076a16565b610617565b5060019392505050565b60065460ff1681565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610422918590610479908663ffffffff61077f16565b60006104d8336105d3565b6104e157600080fd5b6104228383610798565b6001600160a01b031660009081526020819052604090205490565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561040d5780601f106103e25761010080835404028352916020019161040d565b61056a336105d3565b61057357600080fd5b61057c81610840565b50565b61058833610888565b565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610422918590610479908663ffffffff61076a16565b600061042233848461069f565b60006105e660038363ffffffff6108d016565b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03821661062a57600080fd5b6001600160a01b03831661063d57600080fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166106b257600080fd5b6001600160a01b0383166000908152602081905260409020546106db908263ffffffff61076a16565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610710908263ffffffff61077f16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561077957600080fd5b50900390565b60008282018381101561079157600080fd5b9392505050565b6001600160a01b0382166107ab57600080fd5b6002546107be908263ffffffff61077f16565b6002556001600160a01b0382166000908152602081905260409020546107ea908263ffffffff61077f16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b61085160038263ffffffff61090516565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61089960038263ffffffff61095116565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b0382166108e557600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b03811661091857600080fd5b61092282826108d0565b1561092c57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b03811661096457600080fd5b61096e82826108d0565b61097757600080fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fea265627a7a7231582063d99db8b2b99028b9516d0efc3cefc49918c8df464ab070b569937fe89cfecf64736f6c634300050b0032

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006546573747634000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065465737476340000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Testv4
Arg [1] : _symbol (string): Testv4

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 5465737476340000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 5465737476340000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

13468:357:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13468:357:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13534:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13534:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5643:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5643:148:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3796:91;;;:::i;:::-;;;;;;;;;;;;;;;;6268:228;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6268:228:0;;;;;;;;;;;;;;;;;:::i;13586:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7022:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7022:203:0;;;;;;;;:::i;13251:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13251:131:0;;;;;;;;:::i;4106:106::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4106:106:0;-1:-1:-1;;;;;4106:106:0;;:::i;13559:20::-;;;:::i;12332:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12332:92:0;-1:-1:-1;;;;;12332:92:0;;:::i;:::-;;12432:77;;;:::i;7756:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7756:213:0;;;;;;;;:::i;4856:140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4856:140:0;;;;;;;;:::i;12215:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12215:109:0;-1:-1:-1;;;;;12215:109:0;;:::i;4551:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4551:131:0;;;;;;;;;;:::i;13534:18::-;;;;;;;;;;;;;;;-1:-1:-1;;13534:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5643:148::-;5708:4;5725:36;5734:10;5746:7;5755:5;5725:8;:36::i;:::-;-1:-1:-1;5779:4:0;5643:148;;;;:::o;3796:91::-;3867:12;;3796:91;:::o;6268:228::-;6347:4;6364:26;6374:4;6380:2;6384:5;6364:9;:26::i;:::-;-1:-1:-1;;;;;6428:14:0;;;;;;:8;:14;;;;;;;;6416:10;6428:26;;;;;;;;;6401:65;;6410:4;;6428:37;;6459:5;6428:37;:30;:37;:::i;:::-;6401:8;:65::i;:::-;-1:-1:-1;6484:4:0;6268:228;;;;;:::o;13586:26::-;;;;;;:::o;7022:203::-;7128:10;7102:4;7149:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7149:29:0;;;;;;;;;;7102:4;;7119:76;;7140:7;;7149:45;;7183:10;7149:45;:33;:45;:::i;13251:131::-;13319:4;12166:20;12175:10;12166:8;:20::i;:::-;12158:29;;;;;;13336:16;13342:2;13346:5;13336;:16::i;4106:106::-;-1:-1:-1;;;;;4188:16:0;4161:7;4188:16;;;;;;;;;;;;4106:106::o;13559:20::-;;;;;;;;;;;;;;;-1:-1:-1;;13559:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12332:92;12166:20;12175:10;12166:8;:20::i;:::-;12158:29;;;;;;12397:19;12408:7;12397:10;:19::i;:::-;12332:92;:::o;12432:77::-;12476:25;12490:10;12476:13;:25::i;:::-;12432:77::o;7756:213::-;7867:10;7841:4;7888:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7888:29:0;;;;;;;;;;7841:4;;7858:81;;7879:7;;7888:50;;7922:15;7888:50;:33;:50;:::i;4856:140::-;4917:4;4934:32;4944:10;4956:2;4960:5;4934:9;:32::i;12215:109::-;12271:4;12295:21;:8;12308:7;12295:21;:12;:21;:::i;:::-;12288:28;12215:109;-1:-1:-1;;12215:109:0:o;4551:131::-;-1:-1:-1;;;;;4650:15:0;;;4623:7;4650:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;4551:131::o;9855:254::-;-1:-1:-1;;;;;9948:21:0;;9940:30;;;;;;-1:-1:-1;;;;;9989:19:0;;9981:28;;;;;;-1:-1:-1;;;;;10022:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;:32;;;10070:31;;;;;;;;;;;;;;;;;9855:254;;;:::o;8196:262::-;-1:-1:-1;;;;;8284:16:0;;8276:25;;;;;;-1:-1:-1;;;;;8332:15:0;;:9;:15;;;;;;;;;;;:26;;8352:5;8332:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;8314:15:0;;;:9;:15;;;;;;;;;;;:44;;;;8385:13;;;;;;;:24;;8403:5;8385:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;8369:13:0;;;:9;:13;;;;;;;;;;;;:40;;;;8425:25;;;;;;;8369:13;;8425:25;;;;;;;;;;;;;8196:262;;;:::o;2162:150::-;2220:7;2253:1;2248;:6;;2240:15;;;;;;-1:-1:-1;2278:5:0;;;2162:150::o;2400:::-;2458:7;2490:5;;;2514:6;;;;2506:15;;;;;;2541:1;2400:150;-1:-1:-1;;;2400:150:0:o;8810:269::-;-1:-1:-1;;;;;8885:21:0;;8877:30;;;;;;8935:12;;:23;;8952:5;8935:23;:16;:23;:::i;:::-;8920:12;:38;-1:-1:-1;;;;;8990:18:0;;:9;:18;;;;;;;;;;;:29;;9013:5;8990:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;8969:18:0;;:9;:18;;;;;;;;;;;:50;;;;9035:36;;;;;;;8969:18;;:9;;9035:36;;;;;;;;;;8810:269;;:::o;12517:122::-;12574:21;:8;12587:7;12574:21;:12;:21;:::i;:::-;12611:20;;-1:-1:-1;;;;;12611:20:0;;;;;;;;12517:122;:::o;12647:130::-;12707:24;:8;12723:7;12707:24;:15;:24;:::i;:::-;12747:22;;-1:-1:-1;;;;;12747:22:0;;;;;;;;12647:130;:::o;11579:165::-;11651:4;-1:-1:-1;;;;;11676:21:0;;11668:30;;;;;;-1:-1:-1;;;;;;11716:20:0;:11;:20;;;;;;;;;;;;;;;11579:165::o;11031:186::-;-1:-1:-1;;;;;11108:21:0;;11100:30;;;;;;11150:18;11154:4;11160:7;11150:3;:18::i;:::-;11149:19;11141:28;;;;;;-1:-1:-1;;;;;11182:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;11182:27:0;11205:4;11182:27;;;11031:186::o;11296:189::-;-1:-1:-1;;;;;11376:21:0;;11368:30;;;;;;11417:18;11421:4;11427:7;11417:3;:18::i;:::-;11409:27;;;;;;-1:-1:-1;;;;;11449:20:0;11472:5;11449:20;;;;;;;;;;;:28;;-1:-1:-1;;11449:28:0;;;11296:189::o

Swarm Source

bzzr://63d99db8b2b99028b9516d0efc3cefc49918c8df464ab070b569937fe89cfecf
[ 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.