ETH Price: $3,420.83 (+2.24%)

Token

Decentral Games Governance (xDG)
 

Overview

Max Total Supply

105,668,537.642321614652084382 xDG

Holders

3,107 (0.00%)

Market

Price

$0.01 @ 0.000003 ETH (+5.08%)

Onchain Market Cap

$974,016.28

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000166879475949164 xDG

Value
$0.00 ( ~0 Eth) [0.0000%]
0xdfd338e79c71bfd3462769ac52f5475ce070f781
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Decentral Games is a community-owned metaverse casino ecosystem powered by DG.

Market

Volume (24H):$33.64
Market Capitalization:$0.00
Circulating Supply:0.00 xDG
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DGTownHall

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: DGTownHall.sol
// SPDX-License-Identifier: DG

pragma solidity ^0.8.9;

import "./ERC20.sol";

interface DGToken {

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

    function transfer(
        address _recipient,
        uint256 _amount
    )
        external
        returns (bool);

    function transferFrom(
        address _sender,
        address _recipient,
        uint256 _amount
    )
        external
        returns (bool);
}

contract DGTownHall is ERC20("Decentral Games Governance", "xDG") {

    DGToken public immutable DG;

    constructor(
        address _tokenAddress
    ) {
        DG = DGToken(
            _tokenAddress
        );
    }

    function stepInside(
        uint256 _DGAmount
    )
        external
    {
        uint256 DGTotal = innerSupply();
        uint256 xDGTotal = totalSupply();

        DGTotal == 0 || xDGTotal == 0
            ? _mint(msg.sender, _DGAmount)
            : _mint(msg.sender, _DGAmount * xDGTotal / DGTotal);

        DG.transferFrom(
            msg.sender,
            address(this),
            _DGAmount
        );
    }

    function stepOutside(
        uint256 _xDGAmount
    )
        external
    {
        uint256 transferAmount = _xDGAmount
            * innerSupply()
            / totalSupply();

        _burn(
            msg.sender,
            _xDGAmount
        );

        DG.transfer(
            msg.sender,
            transferAmount
        );
    }

    function DGAmount(
        address _account
    )
        external
        view
        returns (uint256)
    {
        return balanceOf(_account)
            * innerSupply()
            / totalSupply();
    }

    function outsidAmount(
        uint256 _xDGAmount
    )
        external
        view
        returns (uint256 _DGAmount)
    {
        return _xDGAmount
            * innerSupply()
            / totalSupply();
    }

    function insideAmount(
        uint256 _DGAmount
    )
        external
        view
        returns (uint256 _xDGAmount)
    {
        uint256 xDGTotal = totalSupply();
        uint256 DGTotal = innerSupply();

        return xDGTotal == 0 || DGTotal == 0
            ? _DGAmount
            : _DGAmount * xDGTotal / DGTotal;
    }

    function innerSupply()
        public
        view
        returns (uint256)
    {
        return DG.balanceOf(address(this));
    }
}

File 2 of 2: ERC20.sol
// SPDX-License-Identifier: ---DG----

pragma solidity ^0.8.9;

contract ERC20 {

    string private _name;
    string private _symbol;
    uint8 private  _decimals;

    uint256 private _totalSupply;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => uint) public nonces;

    bytes32 public DOMAIN_SEPARATOR;
    bytes32 public constant PERMIT_TYPEHASH = keccak256(
        "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
    );

    event Transfer(
        address indexed _from,
        address indexed _to,
        uint256 _value
    );

    event Approval(
        address indexed _owner,
        address indexed _spender,
        uint256 _value
    );

    constructor(
        string memory _entryname,
        string memory _entrysymbol
    ) {
        _name = _entryname;
        _symbol = _entrysymbol;
        _decimals = 18;
    }

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

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

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

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

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

    function transfer(
        address _recipient,
        uint256 _amount
    )
        external
        returns (bool)
    {
        _transfer(
            msg.sender,
            _recipient,
            _amount
        );

        return true;
    }

    function allowance(
        address _owner,
        address _spender
    )
        external
        view
        returns (uint256)
    {
        return _allowances[_owner][_spender];
    }

    function approve(
        address _spender,
        uint256 _amount
    )
        external
        returns (bool)
    {
        _approve(
            msg.sender,
            _spender,
            _amount
        );

        return true;
    }

    function transferFrom(
        address _sender,
        address _recipient,
        uint256 _amount
    )
        public
        returns (bool)
    {
        _approve(
            _sender,
            msg.sender,
            _allowances[_sender][msg.sender] - _amount
        );

        _transfer(
            _sender,
            _recipient,
            _amount
        );

        return true;
    }

    function permit(
        address _owner,
        address _spender,
        uint256 _value,
        uint256 _deadline,
        uint8 _v,
        bytes32 _r,
        bytes32 _s
    )
        external
    {
        require(
            _deadline >= block.timestamp,
            'ERC20: PERMIT_CALL_EXPIRED'
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(
                    abi.encode(
                        PERMIT_TYPEHASH,
                        _owner,
                        _spender,
                        _value,
                        nonces[_owner]++,
                        _deadline
                    )
                )
            )
        );

        address recoveredAddress = ecrecover(
            digest,
            _v,
            _r,
            _s
        );

        require(
            recoveredAddress != address(0) &&
            recoveredAddress == _owner,
            'INVALID_SIGNATURE'
        );

        _approve(
            _owner,
            _spender,
            _value
        );
    }

    function _transfer(
        address _sender,
        address _recipient,
        uint256 _amount
    )
        internal
    {
        _balances[_sender] =
        _balances[_sender] - _amount;

        _balances[_recipient] =
        _balances[_recipient] + _amount;

        emit Transfer(
            _sender,
            _recipient,
            _amount
        );
    }

    function _mint(
        address _account,
        uint256 _amount
    )
        internal
    {
        _totalSupply =
        _totalSupply + _amount;

        unchecked {
            _balances[_account] =
            _balances[_account] + _amount;
        }

        emit Transfer(
            address(0),
            _account,
            _amount
        );
    }

    function _burn(
        address _account,
        uint256 _amount
    )
        internal
    {
        _balances[_account] =
        _balances[_account] - _amount;

        unchecked {
            _totalSupply =
            _totalSupply - _amount;
        }

        emit Transfer(
            _account,
            address(0),
            _amount
        );
    }

    function _approve(
        address _owner,
        address _spender,
        uint256 _amount
    )
        internal
    {
        _allowances[_owner][_spender] = _amount;

        emit Approval(
            _owner,
            _spender,
            _amount
        );
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DG","outputs":[{"internalType":"contract DGToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"DGAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"innerSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_DGAmount","type":"uint256"}],"name":"insideAmount","outputs":[{"internalType":"uint256","name":"_xDGAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xDGAmount","type":"uint256"}],"name":"outsidAmount","outputs":[{"internalType":"uint256","name":"_DGAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_DGAmount","type":"uint256"}],"name":"stepInside","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xDGAmount","type":"uint256"}],"name":"stepOutside","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"}]

60a06040523480156200001157600080fd5b506040516200108d3803806200108d833981016040819052620000349162000172565b604080518082018252601a81527f446563656e7472616c2047616d657320476f7665726e616e636500000000000060208083019182528351808501909452600384526278444760e81b9084015281519192916200009491600091620000cc565b508051620000aa906001906020840190620000cc565b50506002805460ff19166012179055506001600160a01b0316608052620001e1565b828054620000da90620001a4565b90600052602060002090601f016020900481019282620000fe576000855562000149565b82601f106200011957805160ff191683800117855562000149565b8280016001018555821562000149579182015b82811115620001495782518255916020019190600101906200012c565b50620001579291506200015b565b5090565b5b808211156200015757600081556001016200015c565b6000602082840312156200018557600080fd5b81516001600160a01b03811681146200019d57600080fd5b9392505050565b600181811c90821680620001b957607f821691505b60208210811415620001db57634e487b7160e01b600052602260045260246000fd5b50919050565b608051610e7b620002126000396000818161026001528181610443015281816105af01526108c70152610e7b6000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638e7975d6116100ad578063c9a48e6f11610071578063c9a48e6f146102ad578063d505accf146102c2578063db1b6948146102d5578063dd62ed3e146102e8578063dfcd63d51461032157600080fd5b80638e7975d61461022d578063904abd881461024057806395d89b4114610253578063a37cec151461025b578063a9059cbb1461029a57600080fd5b8063313ce567116100f4578063313ce567146101be5780633644e515146101d3578063485bcd73146101dc57806370a08231146101e45780637ecebe001461020d57600080fd5b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017257806323b872dd1461018457806330adf81f14610197575b600080fd5b610139610334565b6040516101469190610b76565b60405180910390f35b61016261015d366004610be7565b6103c6565b6040519015158152602001610146565b6003545b604051908152602001610146565b610162610192366004610c11565b6103dc565b6101767f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025460405160ff9091168152602001610146565b61017660075481565b61017661042b565b6101766101f2366004610c4d565b6001600160a01b031660009081526004602052604090205490565b61017661021b366004610c4d565b60066020526000908152604090205481565b61017661023b366004610c6f565b6104ca565b61017661024e366004610c6f565b6104f7565b610139610544565b6102827f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610146565b6101626102a8366004610be7565b610553565b6102c06102bb366004610c6f565b610560565b005b6102c06102d0366004610c88565b610638565b6102c06102e3366004610c6f565b610850565b6101766102f6366004610cfb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b61017661032f366004610c4d565b610951565b60606000805461034390610d2e565b80601f016020809104026020016040519081016040528092919081815260200182805461036f90610d2e565b80156103bc5780601f10610391576101008083540402835291602001916103bc565b820191906000526020600020905b81548152906001019060200180831161039f57829003601f168201915b5050505050905090565b60006103d3338484610987565b50600192915050565b6001600160a01b0383166000908152600560209081526040808320338085529252822054610416918691610411908690610d7f565b610987565b6104218484846109e9565b5060019392505050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561048d57600080fd5b505afa1580156104a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c59190610d96565b905090565b60006104d560035490565b6104dd61042b565b6104e79084610daf565b6104f19190610dce565b92915050565b60008061050360035490565b9050600061050f61042b565b905081158061051c575080155b61053a578061052b8386610daf565b6105359190610dce565b61053c565b835b949350505050565b60606001805461034390610d2e565b60006103d33384846109e9565b600061056b60035490565b61057361042b565b61057d9084610daf565b6105879190610dce565b90506105933383610a91565b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156105fb57600080fd5b505af115801561060f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106339190610df0565b505050565b4284101561068d5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a205045524d49545f43414c4c5f4558504952454400000000000060448201526064015b60405180910390fd5b6007546001600160a01b038816600090815260066020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b9190876106e083610e12565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e0016040516020818303038152906040528051906020012060405160200161075992919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa1580156107c4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107fa5750886001600160a01b0316816001600160a01b0316145b61083a5760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610684565b610845898989610987565b505050505050505050565b600061085a61042b565b9050600061086760035490565b9050811580610874575080155b61089b5761089633836108878487610daf565b6108919190610dce565b610b18565b6108a5565b6108a53384610b18565b6040516323b872dd60e01b8152336004820152306024820152604481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401602060405180830381600087803b15801561091357600080fd5b505af1158015610927573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094b9190610df0565b50505050565b600061095c60035490565b61096461042b565b6001600160a01b0384166000908152600460205260409020546104e79190610daf565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316600090815260046020526040902054610a0d908290610d7f565b6001600160a01b038085166000908152600460205260408082209390935590841681522054610a3d908290610e2d565b6001600160a01b0380841660008181526004602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109dc9085815260200190565b6001600160a01b038216600090815260046020526040902054610ab5908290610d7f565b6001600160a01b0383166000818152600460205260408082209390935560038054859003905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b0c9085815260200190565b60405180910390a35050565b80600354610b269190610e2d565b6003556001600160a01b0382166000818152600460209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b0c565b600060208083528351808285015260005b81811015610ba357858101830151858201604001528201610b87565b81811115610bb5576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610be257600080fd5b919050565b60008060408385031215610bfa57600080fd5b610c0383610bcb565b946020939093013593505050565b600080600060608486031215610c2657600080fd5b610c2f84610bcb565b9250610c3d60208501610bcb565b9150604084013590509250925092565b600060208284031215610c5f57600080fd5b610c6882610bcb565b9392505050565b600060208284031215610c8157600080fd5b5035919050565b600080600080600080600060e0888a031215610ca357600080fd5b610cac88610bcb565b9650610cba60208901610bcb565b95506040880135945060608801359350608088013560ff81168114610cde57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610d0e57600080fd5b610d1783610bcb565b9150610d2560208401610bcb565b90509250929050565b600181811c90821680610d4257607f821691505b60208210811415610d6357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610d9157610d91610d69565b500390565b600060208284031215610da857600080fd5b5051919050565b6000816000190483118215151615610dc957610dc9610d69565b500290565b600082610deb57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610e0257600080fd5b81518015158114610c6857600080fd5b6000600019821415610e2657610e26610d69565b5060010190565b60008219821115610e4057610e40610d69565b50019056fea26469706673582212200520a91f5f5dd6e6921478f2c2e49bb5beae70f5be22dc7b38a89c334726b97164736f6c634300080900330000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638e7975d6116100ad578063c9a48e6f11610071578063c9a48e6f146102ad578063d505accf146102c2578063db1b6948146102d5578063dd62ed3e146102e8578063dfcd63d51461032157600080fd5b80638e7975d61461022d578063904abd881461024057806395d89b4114610253578063a37cec151461025b578063a9059cbb1461029a57600080fd5b8063313ce567116100f4578063313ce567146101be5780633644e515146101d3578063485bcd73146101dc57806370a08231146101e45780637ecebe001461020d57600080fd5b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017257806323b872dd1461018457806330adf81f14610197575b600080fd5b610139610334565b6040516101469190610b76565b60405180910390f35b61016261015d366004610be7565b6103c6565b6040519015158152602001610146565b6003545b604051908152602001610146565b610162610192366004610c11565b6103dc565b6101767f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025460405160ff9091168152602001610146565b61017660075481565b61017661042b565b6101766101f2366004610c4d565b6001600160a01b031660009081526004602052604090205490565b61017661021b366004610c4d565b60066020526000908152604090205481565b61017661023b366004610c6f565b6104ca565b61017661024e366004610c6f565b6104f7565b610139610544565b6102827f0000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d81565b6040516001600160a01b039091168152602001610146565b6101626102a8366004610be7565b610553565b6102c06102bb366004610c6f565b610560565b005b6102c06102d0366004610c88565b610638565b6102c06102e3366004610c6f565b610850565b6101766102f6366004610cfb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b61017661032f366004610c4d565b610951565b60606000805461034390610d2e565b80601f016020809104026020016040519081016040528092919081815260200182805461036f90610d2e565b80156103bc5780601f10610391576101008083540402835291602001916103bc565b820191906000526020600020905b81548152906001019060200180831161039f57829003601f168201915b5050505050905090565b60006103d3338484610987565b50600192915050565b6001600160a01b0383166000908152600560209081526040808320338085529252822054610416918691610411908690610d7f565b610987565b6104218484846109e9565b5060019392505050565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d6001600160a01b0316906370a082319060240160206040518083038186803b15801561048d57600080fd5b505afa1580156104a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c59190610d96565b905090565b60006104d560035490565b6104dd61042b565b6104e79084610daf565b6104f19190610dce565b92915050565b60008061050360035490565b9050600061050f61042b565b905081158061051c575080155b61053a578061052b8386610daf565b6105359190610dce565b61053c565b835b949350505050565b60606001805461034390610d2e565b60006103d33384846109e9565b600061056b60035490565b61057361042b565b61057d9084610daf565b6105879190610dce565b90506105933383610a91565b60405163a9059cbb60e01b8152336004820152602481018290527f0000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d6001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156105fb57600080fd5b505af115801561060f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106339190610df0565b505050565b4284101561068d5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a205045524d49545f43414c4c5f4558504952454400000000000060448201526064015b60405180910390fd5b6007546001600160a01b038816600090815260066020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b9190876106e083610e12565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e0016040516020818303038152906040528051906020012060405160200161075992919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa1580156107c4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107fa5750886001600160a01b0316816001600160a01b0316145b61083a5760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610684565b610845898989610987565b505050505050505050565b600061085a61042b565b9050600061086760035490565b9050811580610874575080155b61089b5761089633836108878487610daf565b6108919190610dce565b610b18565b6108a5565b6108a53384610b18565b6040516323b872dd60e01b8152336004820152306024820152604481018490527f0000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d6001600160a01b0316906323b872dd90606401602060405180830381600087803b15801561091357600080fd5b505af1158015610927573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094b9190610df0565b50505050565b600061095c60035490565b61096461042b565b6001600160a01b0384166000908152600460205260409020546104e79190610daf565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316600090815260046020526040902054610a0d908290610d7f565b6001600160a01b038085166000908152600460205260408082209390935590841681522054610a3d908290610e2d565b6001600160a01b0380841660008181526004602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109dc9085815260200190565b6001600160a01b038216600090815260046020526040902054610ab5908290610d7f565b6001600160a01b0383166000818152600460205260408082209390935560038054859003905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b0c9085815260200190565b60405180910390a35050565b80600354610b269190610e2d565b6003556001600160a01b0382166000818152600460209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b0c565b600060208083528351808285015260005b81811015610ba357858101830151858201604001528201610b87565b81811115610bb5576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610be257600080fd5b919050565b60008060408385031215610bfa57600080fd5b610c0383610bcb565b946020939093013593505050565b600080600060608486031215610c2657600080fd5b610c2f84610bcb565b9250610c3d60208501610bcb565b9150604084013590509250925092565b600060208284031215610c5f57600080fd5b610c6882610bcb565b9392505050565b600060208284031215610c8157600080fd5b5035919050565b600080600080600080600060e0888a031215610ca357600080fd5b610cac88610bcb565b9650610cba60208901610bcb565b95506040880135945060608801359350608088013560ff81168114610cde57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610d0e57600080fd5b610d1783610bcb565b9150610d2560208401610bcb565b90509250929050565b600181811c90821680610d4257607f821691505b60208210811415610d6357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610d9157610d91610d69565b500390565b600060208284031215610da857600080fd5b5051919050565b6000816000190483118215151615610dc957610dc9610d69565b500290565b600082610deb57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610e0257600080fd5b81518015158114610c6857600080fd5b6000600019821415610e2657610e26610d69565b5060010190565b60008219821115610e4057610e40610d69565b50019056fea26469706673582212200520a91f5f5dd6e6921478f2c2e49bb5beae70f5be22dc7b38a89c334726b97164736f6c63430008090033

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

0000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x4b520c812E8430659FC9f12f6d0c39026C83588D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004b520c812e8430659fc9f12f6d0c39026c83588d


Deployed Bytecode Sourcemap

491:1912:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;983:109:1;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2061:242;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:2;;1211:22;1193:41;;1181:2;1166:18;2061:242:1;1053:187:2;1332:117:1;1430:12;;1332:117;;;1391:25:2;;;1379:2;1364:18;1332:117:1;1245:177:2;2309:402:1;;;;;;:::i;:::-;;:::i;412:151::-;;454:109;412:151;;1217:109;1310:9;;1217:109;;1310:9;;;;2084:36:2;;2072:2;2057:18;1217:109:1;1942:184:2;375:31:1;;;;;;2269:132:0;;;:::i;1455:152:1:-;;;;;;:::i;:::-;-1:-1:-1;;;;;1581:19:1;1551:7;1581:19;;;:9;:19;;;;;;;1455:152;330:38;;;;;;:::i;:::-;;;;;;;;;;;;;;1709:216:0;;;;;;:::i;:::-;;:::i;1931:332::-;;;;;;:::i;:::-;;:::i;1098:113:1:-;;;:::i;564:27:0:-;;;;;;;;-1:-1:-1;;;;;2685:32:2;;;2667:51;;2655:2;2640:18;564:27:0;2507:217:2;1613:248:1;;;;;;:::i;:::-;;:::i;1146:342:0:-;;;;;;:::i;:::-;;:::i;:::-;;2717:1151:1;;;;;;:::i;:::-;;:::i;719:421:0:-;;;;;;:::i;:::-;;:::i;1867:188:1:-;;;;;;:::i;:::-;-1:-1:-1;;;;;2019:19:1;;;1989:7;2019:19;;;:11;:19;;;;;;;;:29;;;;;;;;;;;;;1867:188;1494:209:0;;;;;;:::i;:::-;;:::i;983:109:1:-;1044:13;1080:5;1073:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;983:109;:::o;2061:242::-;2169:4;2189:85;2211:10;2235:8;2257:7;2189:8;:85::i;:::-;-1:-1:-1;2292:4:1;2061:242;;;;:::o;2309:402::-;-1:-1:-1;;;;;2534:20:1;;2447:4;2534:20;;;:11;:20;;;;;;;;2510:10;2534:32;;;;;;;;2467:119;;2489:7;;2534:42;;2569:7;;2534:42;:::i;:::-;2467:8;:119::i;:::-;2597:85;2620:7;2641:10;2665:7;2597:9;:85::i;:::-;-1:-1:-1;2700:4:1;2309:402;;;;;:::o;2269:132:0:-;2367:27;;-1:-1:-1;;;2367:27:0;;2388:4;2367:27;;;2667:51:2;2337:7:0;;2367:2;-1:-1:-1;;;;;2367:12:0;;;;2640:18:2;;2367:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2360:34;;2269:132;:::o;1709:216::-;1812:17;1905:13;1430:12:1;;;1332:117;1905:13:0;1877;:11;:13::i;:::-;1852:38;;:10;:38;:::i;:::-;:66;;;;:::i;:::-;1845:73;1709:216;-1:-1:-1;;1709:216:0:o;1931:332::-;2033:18;2067:16;2086:13;1430:12:1;;;1332:117;2086:13:0;2067:32;;2109:15;2127:13;:11;:13::i;:::-;2109:31;-1:-1:-1;2158:13:0;;;:29;;-1:-1:-1;2175:12:0;;2158:29;:98;;2249:7;2226:20;2238:8;2226:9;:20;:::i;:::-;:30;;;;:::i;:::-;2158:98;;;2202:9;2158:98;2151:105;1931:332;-1:-1:-1;;;;1931:332:0:o;1098:113:1:-;1161:13;1197:7;1190:14;;;;;:::i;1613:248::-;1724:4;1744:88;1767:10;1791;1815:7;1744:9;:88::i;1146:342:0:-;1232:22;1310:13;1430:12:1;;;1332:117;1310:13:0;1282;:11;:13::i;:::-;1257:38;;:10;:38;:::i;:::-;:66;;;;:::i;:::-;1232:91;;1334:63;1353:10;1377;1334:5;:63::i;:::-;1408:73;;-1:-1:-1;;;1408:73:0;;1433:10;1408:73;;;5305:51:2;5372:18;;;5365:34;;;1408:2:0;-1:-1:-1;;;;;1408:11:0;;;;5278:18:2;;1408:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1222:266;1146:342;:::o;2717:1151:1:-;2963:15;2950:9;:28;;2929:101;;;;-1:-1:-1;;;2929:101:1;;5894:2:2;2929:101:1;;;5876:21:2;5933:2;5913:18;;;5906:30;5972:28;5952:18;;;5945:56;6018:18;;2929:101:1;;;;;;;;;3143:16;;-1:-1:-1;;;;;3383:14:1;;3041;3383;;;:6;:14;;;;;:16;;3041:14;;3143:16;454:109;;3285:6;;3317:8;;3351:6;;3383:16;3041:14;3383:16;;;:::i;:::-;;;;-1:-1:-1;3208:248:1;;;;;;6474:25:2;;;;-1:-1:-1;;;;;6573:15:2;;;6553:18;;;6546:43;6625:15;;;;6605:18;;;6598:43;6657:18;;;6650:34;6700:19;;;6693:35;6744:19;;;6737:35;;;6446:19;;3208:248:1;;;;;;;;;;;;3177:297;;;;;;3081:407;;;;;;;;-1:-1:-1;;;7041:27:2;;7093:1;7084:11;;7077:27;;;;7129:2;7120:12;;7113:28;7166:2;7157:12;;6783:392;3081:407:1;;;;-1:-1:-1;;3081:407:1;;;;;;;;;3058:440;;3081:407;3058:440;;;;3509:24;3536:87;;;;;;;;;7407:25:2;;;7480:4;7468:17;;7448:18;;;7441:45;;;;7502:18;;;7495:34;;;7545:18;;;7538:34;;;3058:440:1;;-1:-1:-1;3509:24:1;3536:87;;7379:19:2;;3536:87:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3536:87:1;;-1:-1:-1;;3536:87:1;;;-1:-1:-1;;;;;;;3655:30:1;;;;;;:72;;;3721:6;-1:-1:-1;;;;;3701:26:1;:16;-1:-1:-1;;;;;3701:26:1;;3655:72;3634:136;;;;-1:-1:-1;;;3634:136:1;;7785:2:2;3634:136:1;;;7767:21:2;7824:2;7804:18;;;7797:30;-1:-1:-1;;;7843:18:2;;;7836:47;7900:18;;3634:136:1;7583:341:2;3634:136:1;3781:80;3803:6;3823:8;3845:6;3781:8;:80::i;:::-;2919:949;;2717:1151;;;;;;;:::o;719:421:0:-;803:15;821:13;:11;:13::i;:::-;803:31;;844:16;863:13;1430:12:1;;;1332:117;863:13:0;844:32;-1:-1:-1;887:12:0;;;:29;;-1:-1:-1;903:13:0;;887:29;:136;;974:49;980:10;1015:7;992:20;1004:8;992:9;:20;:::i;:::-;:30;;;;:::i;:::-;974:5;:49::i;:::-;887:136;;;931:28;937:10;949:9;931:5;:28::i;:::-;1034:99;;-1:-1:-1;;;1034:99:0;;1063:10;1034:99;;;8169:34:2;1095:4:0;8219:18:2;;;8212:43;8271:18;;;8264:34;;;1034:2:0;-1:-1:-1;;;;;1034:15:0;;;;8104:18:2;;1034:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;793:347;;719:421;:::o;1494:209::-;1591:7;1683:13;1430:12:1;;;1332:117;1683:13:0;1655;:11;:13::i;:::-;-1:-1:-1;;;;;1581:19:1;;1551:7;1581:19;;;:9;:19;;;;;;1621:47:0;;;;:::i;4992:273:1:-;-1:-1:-1;;;;;5122:19:1;;;;;;;:11;:19;;;;;;;;:29;;;;;;;;;;;;;:39;;;5177:81;;1391:25:2;;;5177:81:1;;1364:18:2;5177:81:1;;;;;;;;4992:273;;;:::o;3874:372::-;-1:-1:-1;;;;;4037:18:1;;;;;;:9;:18;;;;;;:28;;4058:7;;4037:28;:::i;:::-;-1:-1:-1;;;;;4008:18:1;;;;;;;:9;:18;;;;;;:57;;;;4108:21;;;;;;;:31;;4132:7;;4108:31;:::i;:::-;-1:-1:-1;;;;;4076:21:1;;;;;;;:9;:21;;;;;;;:63;;;;4155:84;;;;;;;;;;4222:7;1391:25:2;;1379:2;1364:18;;1245:177;4622:364:1;-1:-1:-1;;;;;4755:19:1;;;;;;:9;:19;;;;;;:29;;4777:7;;4755:29;:::i;:::-;-1:-1:-1;;;;;4725:19:1;;;;;;:9;:19;;;;;;:59;;;;4846:12;;;:22;;;4819:49;;4894:85;;;;;;4861:7;1391:25:2;;1379:2;1364:18;;1245:177;4894:85:1;;;;;;;;4622:364;;:::o;4252:::-;4393:7;4378:12;;:22;;;;:::i;:::-;4355:12;:45;-1:-1:-1;;;;;4469:19:1;;;;;;:9;:19;;;;;;;;;;:29;;4435:63;;4524:85;1391:25:2;;;4524:85:1;;1364:18:2;4524:85:1;1245:177:2;14:597;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:2;574:15;-1:-1:-1;;570:29:2;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:2:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:2;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:2:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;2131:186::-;2190:6;2243:2;2231:9;2222:7;2218:23;2214:32;2211:52;;;2259:1;2256;2249:12;2211:52;2282:29;2301:9;2282:29;:::i;:::-;2272:39;2131:186;-1:-1:-1;;;2131:186:2:o;2322:180::-;2381:6;2434:2;2422:9;2413:7;2409:23;2405:32;2402:52;;;2450:1;2447;2440:12;2402:52;-1:-1:-1;2473:23:2;;2322:180;-1:-1:-1;2322:180:2:o;2729:693::-;2840:6;2848;2856;2864;2872;2880;2888;2941:3;2929:9;2920:7;2916:23;2912:33;2909:53;;;2958:1;2955;2948:12;2909:53;2981:29;3000:9;2981:29;:::i;:::-;2971:39;;3029:38;3063:2;3052:9;3048:18;3029:38;:::i;:::-;3019:48;;3114:2;3103:9;3099:18;3086:32;3076:42;;3165:2;3154:9;3150:18;3137:32;3127:42;;3219:3;3208:9;3204:19;3191:33;3264:4;3257:5;3253:16;3246:5;3243:27;3233:55;;3284:1;3281;3274:12;3233:55;2729:693;;;;-1:-1:-1;2729:693:2;;;;3307:5;3359:3;3344:19;;3331:33;;-1:-1:-1;3411:3:2;3396:19;;;3383:33;;2729:693;-1:-1:-1;;2729:693:2:o;3427:260::-;3495:6;3503;3556:2;3544:9;3535:7;3531:23;3527:32;3524:52;;;3572:1;3569;3562:12;3524:52;3595:29;3614:9;3595:29;:::i;:::-;3585:39;;3643:38;3677:2;3666:9;3662:18;3643:38;:::i;:::-;3633:48;;3427:260;;;;;:::o;3692:380::-;3771:1;3767:12;;;;3814;;;3835:61;;3889:4;3881:6;3877:17;3867:27;;3835:61;3942:2;3934:6;3931:14;3911:18;3908:38;3905:161;;;3988:10;3983:3;3979:20;3976:1;3969:31;4023:4;4020:1;4013:15;4051:4;4048:1;4041:15;3905:161;;3692:380;;;:::o;4077:127::-;4138:10;4133:3;4129:20;4126:1;4119:31;4169:4;4166:1;4159:15;4193:4;4190:1;4183:15;4209:125;4249:4;4277:1;4274;4271:8;4268:34;;;4282:18;;:::i;:::-;-1:-1:-1;4319:9:2;;4209:125::o;4547:184::-;4617:6;4670:2;4658:9;4649:7;4645:23;4641:32;4638:52;;;4686:1;4683;4676:12;4638:52;-1:-1:-1;4709:16:2;;4547:184;-1:-1:-1;4547:184:2:o;4736:168::-;4776:7;4842:1;4838;4834:6;4830:14;4827:1;4824:21;4819:1;4812:9;4805:17;4801:45;4798:71;;;4849:18;;:::i;:::-;-1:-1:-1;4889:9:2;;4736:168::o;4909:217::-;4949:1;4975;4965:132;;5019:10;5014:3;5010:20;5007:1;5000:31;5054:4;5051:1;5044:15;5082:4;5079:1;5072:15;4965:132;-1:-1:-1;5111:9:2;;4909:217::o;5410:277::-;5477:6;5530:2;5518:9;5509:7;5505:23;5501:32;5498:52;;;5546:1;5543;5536:12;5498:52;5578:9;5572:16;5631:5;5624:13;5617:21;5610:5;5607:32;5597:60;;5653:1;5650;5643:12;6047:135;6086:3;-1:-1:-1;;6107:17:2;;6104:43;;;6127:18;;:::i;:::-;-1:-1:-1;6174:1:2;6163:13;;6047:135::o;8309:128::-;8349:3;8380:1;8376:6;8373:1;8370:13;8367:39;;;8386:18;;:::i;:::-;-1:-1:-1;8422:9:2;;8309:128::o

Swarm Source

ipfs://0520a91f5f5dd6e6921478f2c2e49bb5beae70f5be22dc7b38a89c334726b971
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.