ETH Price: $3,191.27 (+4.70%)

Token

Terra Virtua (TVA)
 

Overview

Max Total Supply

1,200,000,000 TVA

Holders

370

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,000 TVA

Value
$0.00
0xCaf269a22079DDC45c83532750Fb9871457b2c3F
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Terra Virtua is an AR/VR entertainment platform within a persistent 3D world.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TerraVirtua

Compiler Version
v0.5.7+commit.6da8b019

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-04-02
*/

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;
    }
}

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);
}

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 An 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 for 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) {
        require(spender != address(0));

        _allowed[msg.sender][spender] = value;
        emit Approval(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 transfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
        _transfer(from, to, value);
        emit Approval(from, msg.sender, _allowed[from][msg.sender]);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when allowed_[_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) {
        require(spender != address(0));

        _allowed[msg.sender][spender] = _allowed[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     * approve should be called when allowed_[_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) {
        require(spender != address(0));

        _allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue);
        emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
        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 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 {
        _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value);
        _burn(account, value);
        emit Approval(account, msg.sender, _allowed[account][msg.sender]);
    }
}

contract Ownable {
    address private _owner;

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

    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    constructor () internal {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @return the address of the owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner());
        _;
    }

    /**
     * @return true if `msg.sender` is the owner of the contract.
     */
    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }

    /**
     * @dev Allows the current owner to relinquish control of the contract.
     * @notice Renouncing to ownership will leave the contract without an owner.
     * It will not be possible to call the functions with the `onlyOwner`
     * modifier anymore.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0));
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

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

    /**
     * @return the number of decimals of the token.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

contract TerraVirtua is ERC20Detailed, ERC20, Ownable {

    bool public isTransferFrozen = true;

    mapping(address => bool) public distributors;

    event DistributionPermissions(address account, bool _value);
    event TransfersUnfrozen(address account);

    constructor(address _tokenHolder, uint256 _totalSupply)
        public
        ERC20Detailed("Terra Virtua", "TVA", 18)
    {
        _mint(_tokenHolder, _totalSupply);
        distributors[msg.sender] = true;
        distributors[_tokenHolder] = true;
    }

    /**
     * @dev set or unset distributor address
     * @param _address The address of distributor.
     * @param _value The bool value to set or unset permissions.
     */
    function setDistributionPermissions(
        address _address,
        bool _value
    )
        public
        onlyOwner
    {
        distributors[_address] = _value;
        emit DistributionPermissions(_address, _value);
    }

    /**
    * @dev allow to transfer tokens by everyone to everyone
    */
    function unfreezingTransfers() public onlyOwner {
        isTransferFrozen = false;
        emit TransfersUnfrozen(msg.sender);
    }

    function bulkTransfer(address[] memory _addresses, uint256[] memory _tokens) public {
        require(_addresses.length == _tokens.length);
        for (uint256 i = 0; i < _addresses.length; i++) {
            require(_addresses[i] != address(0) && _tokens[i] > 0);

            _transfer(msg.sender, _addresses[i], _tokens[i]);
        }
    }

    function _transfer(address from, address to, uint256 value) internal {
        if (true == isTransferFrozen) {
            require(
                distributors[from] == true || distributors[to] == true,
                "Action is not available"
            );
        }
        return super._transfer(from, to, value);
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isTransferFrozen","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addresses","type":"address[]"},{"name":"_tokens","type":"uint256[]"}],"name":"bulkTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"},{"name":"_value","type":"bool"}],"name":"setDistributionPermissions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"distributors","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unfreezingTransfers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_tokenHolder","type":"address"},{"name":"_totalSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"},{"indexed":false,"name":"_value","type":"bool"}],"name":"DistributionPermissions","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"TransfersUnfrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

608060405260068054600160a01b60ff021916740100000000000000000000000000000000000000001790553480156200003857600080fd5b506040516040806200108f833981018060405260408110156200005a57600080fd5b508051602091820151604080518082018252600c81527f54657272612056697274756100000000000000000000000000000000000000008186019081528251808401909352600383527f5456410000000000000000000000000000000000000000000000000000000000958301959095528051939492939092601291620000e49160009162000285565b508151620000fa90600190602085019062000285565b506002805460ff90921660ff199092169190911790555050600680546001600160a01b0319163317908190556040516001600160a01b0391909116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620001708282620001ae60201b60201c565b50336000908152600760205260408082208054600160ff1991821681179092556001600160a01b03949094168352912080549092161790556200032a565b6001600160a01b038216620001c257600080fd5b620001de816005546200026b60201b62000bd41790919060201c565b6005556001600160a01b0382166000908152600360209081526040909120546200021391839062000bd46200026b821b17901c565b6001600160a01b03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828201838110156200027e57600080fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002c857805160ff1916838001178555620002f8565b82800160010185558215620002f8579182015b82811115620002f8578251825591602001919060010190620002db565b50620003069291506200030a565b5090565b6200032791905b8082111562000306576000815560010162000311565b90565b610d55806200033a6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063a9059cbb11610071578063a9059cbb14610475578063cc642784146104a1578063dd62ed3e146104c7578063ed5e7225146104f5578063f2fde38b146104fd5761012c565b80638da5cb5b146103e75780638f32d59b1461040b57806395d4481f1461041357806395d89b4114610441578063a457c2d7146104495761012c565b806323b872dd116100f457806323b872dd14610339578063313ce5671461036f578063395093511461038d57806370a08231146103b9578063715018a6146103df5761012c565b806306fdde0314610131578063095ea7b3146101ae5780630d21a776146101ee578063153a1f3e146101f657806318160ddd1461031f575b600080fd5b610139610523565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017357818101518382015260200161015b565b50505050905090810190601f1680156101a05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356105b9565b604080519115158252519081900360200190f35b6101da610635565b61031d6004803603604081101561020c57600080fd5b81019060208101813564010000000081111561022757600080fd5b82018360208201111561023957600080fd5b8035906020019184602083028401116401000000008311171561025b57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156102ab57600080fd5b8201836020820111156102bd57600080fd5b803590602001918460208302840111640100000000831117156102df57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610645945050505050565b005b6103276106ef565b60408051918252519081900360200190f35b6101da6004803603606081101561034f57600080fd5b506001600160a01b038135811691602081013590911690604001356106f5565b6103776107be565b6040805160ff9092168252519081900360200190f35b6101da600480360360408110156103a357600080fd5b506001600160a01b0381351690602001356107c7565b610327600480360360208110156103cf57600080fd5b50356001600160a01b0316610875565b61031d610890565b6103ef6108eb565b604080516001600160a01b039092168252519081900360200190f35b6101da6108fa565b61031d6004803603604081101561042957600080fd5b506001600160a01b038135169060200135151561090b565b610139610980565b6101da6004803603604081101561045f57600080fd5b506001600160a01b0381351690602001356109e0565b6101da6004803603604081101561048b57600080fd5b506001600160a01b038135169060200135610a29565b6101da600480360360208110156104b757600080fd5b50356001600160a01b0316610a3f565b610327600480360360408110156104dd57600080fd5b506001600160a01b0381358116916020013516610a54565b61031d610a7f565b61031d6004803603602081101561051357600080fd5b50356001600160a01b0316610ae3565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b60006001600160a01b0383166105ce57600080fd5b3360008181526004602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600654600160a01b900460ff1681565b805182511461065357600080fd5b60005b82518110156106ea5760006001600160a01b031683828151811061067657fe5b60200260200101516001600160a01b0316141580156106a85750600082828151811061069e57fe5b6020026020010151115b6106b157600080fd5b6106e2338483815181106106c157fe5b60200260200101518484815181106106d557fe5b6020026020010151610b00565b600101610656565b505050565b60055490565b6001600160a01b0383166000908152600460209081526040808320338452909152812054610729908363ffffffff610bbf16565b6001600160a01b0385166000908152600460209081526040808320338452909152902055610758848484610b00565b6001600160a01b0384166000818152600460209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60025460ff1690565b60006001600160a01b0383166107dc57600080fd5b3360009081526004602090815260408083206001600160a01b0387168452909152902054610810908363ffffffff610bd416565b3360008181526004602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6001600160a01b031660009081526003602052604090205490565b6108986108fa565b6108a157600080fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6006546001600160a01b031690565b6006546001600160a01b0316331490565b6109136108fa565b61091c57600080fd5b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517fe5967e79dfe1b4015b67fce06a811eb261583f0658d43381250fe8263e83b4e59281900390910190a15050565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156105af5780601f10610584576101008083540402835291602001916105af565b60006001600160a01b0383166109f557600080fd5b3360009081526004602090815260408083206001600160a01b0387168452909152902054610810908363ffffffff610bbf16565b6000610a36338484610b00565b50600192915050565b60076020526000908152604090205460ff1681565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610a876108fa565b610a9057600080fd5b6006805474ff0000000000000000000000000000000000000000191690556040805133815290517fdcb25bf029f316e335e3e1d4f55cc621e4e6ef838c2e4d0ffa5a5593e570e9969181900360200190a1565b610aeb6108fa565b610af457600080fd5b610afd81610bed565b50565b600654600160a01b900460ff16151560011415610bb4576001600160a01b03831660009081526007602052604090205460ff16151560011480610b6057506001600160a01b03821660009081526007602052604090205460ff1615156001145b610bb45760408051600160e51b62461bcd02815260206004820152601760248201527f416374696f6e206973206e6f7420617661696c61626c65000000000000000000604482015290519081900360640190fd5b6106ea838383610c5c565b600082821115610bce57600080fd5b50900390565b600082820183811015610be657600080fd5b9392505050565b6001600160a01b038116610c0057600080fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610c6f57600080fd5b6001600160a01b038316600090815260036020526040902054610c98908263ffffffff610bbf16565b6001600160a01b038085166000908152600360205260408082209390935590841681522054610ccd908263ffffffff610bd416565b6001600160a01b0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505056fea165627a7a72305820fe49112bdd726b203d0c57abd903bcf262aabcf90d3e0f9ea58403b1951863a60029000000000000000000000000966917a4c19888a012786d3220126090b8236da2000000000000000000000000000000000000000003e09de2596099e2b0000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063a9059cbb11610071578063a9059cbb14610475578063cc642784146104a1578063dd62ed3e146104c7578063ed5e7225146104f5578063f2fde38b146104fd5761012c565b80638da5cb5b146103e75780638f32d59b1461040b57806395d4481f1461041357806395d89b4114610441578063a457c2d7146104495761012c565b806323b872dd116100f457806323b872dd14610339578063313ce5671461036f578063395093511461038d57806370a08231146103b9578063715018a6146103df5761012c565b806306fdde0314610131578063095ea7b3146101ae5780630d21a776146101ee578063153a1f3e146101f657806318160ddd1461031f575b600080fd5b610139610523565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017357818101518382015260200161015b565b50505050905090810190601f1680156101a05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356105b9565b604080519115158252519081900360200190f35b6101da610635565b61031d6004803603604081101561020c57600080fd5b81019060208101813564010000000081111561022757600080fd5b82018360208201111561023957600080fd5b8035906020019184602083028401116401000000008311171561025b57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156102ab57600080fd5b8201836020820111156102bd57600080fd5b803590602001918460208302840111640100000000831117156102df57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610645945050505050565b005b6103276106ef565b60408051918252519081900360200190f35b6101da6004803603606081101561034f57600080fd5b506001600160a01b038135811691602081013590911690604001356106f5565b6103776107be565b6040805160ff9092168252519081900360200190f35b6101da600480360360408110156103a357600080fd5b506001600160a01b0381351690602001356107c7565b610327600480360360208110156103cf57600080fd5b50356001600160a01b0316610875565b61031d610890565b6103ef6108eb565b604080516001600160a01b039092168252519081900360200190f35b6101da6108fa565b61031d6004803603604081101561042957600080fd5b506001600160a01b038135169060200135151561090b565b610139610980565b6101da6004803603604081101561045f57600080fd5b506001600160a01b0381351690602001356109e0565b6101da6004803603604081101561048b57600080fd5b506001600160a01b038135169060200135610a29565b6101da600480360360208110156104b757600080fd5b50356001600160a01b0316610a3f565b610327600480360360408110156104dd57600080fd5b506001600160a01b0381358116916020013516610a54565b61031d610a7f565b61031d6004803603602081101561051357600080fd5b50356001600160a01b0316610ae3565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b60006001600160a01b0383166105ce57600080fd5b3360008181526004602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600654600160a01b900460ff1681565b805182511461065357600080fd5b60005b82518110156106ea5760006001600160a01b031683828151811061067657fe5b60200260200101516001600160a01b0316141580156106a85750600082828151811061069e57fe5b6020026020010151115b6106b157600080fd5b6106e2338483815181106106c157fe5b60200260200101518484815181106106d557fe5b6020026020010151610b00565b600101610656565b505050565b60055490565b6001600160a01b0383166000908152600460209081526040808320338452909152812054610729908363ffffffff610bbf16565b6001600160a01b0385166000908152600460209081526040808320338452909152902055610758848484610b00565b6001600160a01b0384166000818152600460209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60025460ff1690565b60006001600160a01b0383166107dc57600080fd5b3360009081526004602090815260408083206001600160a01b0387168452909152902054610810908363ffffffff610bd416565b3360008181526004602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6001600160a01b031660009081526003602052604090205490565b6108986108fa565b6108a157600080fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6006546001600160a01b031690565b6006546001600160a01b0316331490565b6109136108fa565b61091c57600080fd5b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517fe5967e79dfe1b4015b67fce06a811eb261583f0658d43381250fe8263e83b4e59281900390910190a15050565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156105af5780601f10610584576101008083540402835291602001916105af565b60006001600160a01b0383166109f557600080fd5b3360009081526004602090815260408083206001600160a01b0387168452909152902054610810908363ffffffff610bbf16565b6000610a36338484610b00565b50600192915050565b60076020526000908152604090205460ff1681565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610a876108fa565b610a9057600080fd5b6006805474ff0000000000000000000000000000000000000000191690556040805133815290517fdcb25bf029f316e335e3e1d4f55cc621e4e6ef838c2e4d0ffa5a5593e570e9969181900360200190a1565b610aeb6108fa565b610af457600080fd5b610afd81610bed565b50565b600654600160a01b900460ff16151560011415610bb4576001600160a01b03831660009081526007602052604090205460ff16151560011480610b6057506001600160a01b03821660009081526007602052604090205460ff1615156001145b610bb45760408051600160e51b62461bcd02815260206004820152601760248201527f416374696f6e206973206e6f7420617661696c61626c65000000000000000000604482015290519081900360640190fd5b6106ea838383610c5c565b600082821115610bce57600080fd5b50900390565b600082820183811015610be657600080fd5b9392505050565b6001600160a01b038116610c0057600080fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610c6f57600080fd5b6001600160a01b038316600090815260036020526040902054610c98908263ffffffff610bbf16565b6001600160a01b038085166000908152600360205260408082209390935590841681522054610ccd908263ffffffff610bd416565b6001600160a01b0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505056fea165627a7a72305820fe49112bdd726b203d0c57abd903bcf262aabcf90d3e0f9ea58403b1951863a60029

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

000000000000000000000000966917a4c19888a012786d3220126090b8236da2000000000000000000000000000000000000000003e09de2596099e2b0000000

-----Decoded View---------------
Arg [0] : _tokenHolder (address): 0x966917A4c19888A012786d3220126090b8236da2
Arg [1] : _totalSupply (uint256): 1200000000000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000966917a4c19888a012786d3220126090b8236da2
Arg [1] : 000000000000000000000000000000000000000003e09de2596099e2b0000000


Swarm Source

bzzr://fe49112bdd726b203d0c57abd903bcf262aabcf90d3e0f9ea58403b1951863a6
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.