ETH Price: $3,560.62 (+6.73%)

Token

Zen Token (ZEN)
 

Overview

Max Total Supply

98,508.953787120370369999 ZEN

Holders

310

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
77.377633101851851851 ZEN

Value
$0.00
0x07e995da69985141fa8bb28264efb27bd353719b
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:
ZenTokenV2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-10-11
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
                                     

/*
    @author @sheeeev66 of @thecoredevs
*/

contract ERC20 {
    // Supply
    uint256 public totalSupply; 
    uint256 public maxTotalSupply = 10000000000000000000000000;
    // Mappings of Balances
    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    // Events
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function name() external pure returns (string memory) {
        return "Zen Token";
    }

    function symbol() external pure returns (string memory) {
        return "ZEN";
    }

    function decimals() external pure returns (uint8) {
        return 18;
    }

    // Internal Functions
    function _mint(address to_, uint256 _amount) internal {
        uint256 _totalAfterAmount = totalSupply + _amount;
        require(_totalAfterAmount <= maxTotalSupply, "You cannot mint more than Mox Total Supply!");
        totalSupply += _amount;
        balanceOf[to_] += _amount;
        emit Transfer(address(0x0), to_, _amount);
    }

    function _burn(address from_, uint256 _amount) internal {
        balanceOf[from_] -= _amount;
        totalSupply -= _amount;
        emit Transfer(from_, address(0x0), _amount);
    }
    
    function _approve(address owner_, address _spender, uint256 _amount) internal {
        allowance[owner_][_spender] = _amount;
        emit Approval(owner_, _spender, _amount);
    }

    // Public Functions
    function approve(address _spender, uint256 _amount) public returns (bool) {
        _approve(msg.sender, _spender, _amount);
        return true;
    }


    function transfer(address to_, uint256 _amount) public returns (bool) {
        balanceOf[msg.sender] -= _amount;
        balanceOf[to_] += _amount;
        emit Transfer(msg.sender, to_, _amount);
        return true;
    }

    function transferFrom(address from_, address to_, uint256 _amount) public returns (bool) {
        if (allowance[from_][msg.sender] != type(uint256).max) {
            allowance[from_][msg.sender] -= _amount; }
        balanceOf[from_] -= _amount;
        balanceOf[to_] += _amount;
        emit Transfer(from_, to_, _amount);
        return true;
    }

    function burn(uint256 _amount) external { // should you allow anyone to burn?
        _burn(msg.sender, _amount);
    }
    
    function burnFrom(address from_, uint256 _amount) public {
        uint256 _currentAllowance = allowance[from_][msg.sender];
        require(_currentAllowance >= _amount, "ERC20IBurnable: Burn amount requested exceeds allowance!");

        if (allowance[from_][msg.sender] != type(uint256).max) {
            allowance[from_][msg.sender] -= _amount; }

        _burn(from_, _amount);
    }
}

contract Control  {
    address public owner;
    mapping(address => bool) public controllers;

    constructor() { owner = msg.sender; }
    
    modifier onlyOwner { require(owner == msg.sender, "Not Owner!"); _; }
    modifier onlyController { require(controllers[msg.sender], "Not Controller!"); _; }

    function transferOwnership(address new_) external onlyOwner { owner = new_; }
    
    function setController(address address_, bool bool_) external onlyOwner {
        controllers[address_] = bool_;
    }
}

contract ZenTokenV2 is ERC20, Control {

    // bool disableYieldTokenMint; this is done by setting the address in the yield contract to 0

    ERC20 public immutable oldToken;

    constructor(address _oldToken) { oldToken = ERC20(_oldToken); }
    



    // functions for yield token
    function mintAsController(address to_, uint256 _amount) external onlyController {
        _mint(to_, _amount);
    }
    function burnAsController(address from_, uint256 _amount) external onlyController {
        _burn(from_, _amount);
    }

    // migration
        bool public migrationEnabled = false;
    function toggleMigration() external onlyOwner {
        migrationEnabled = !migrationEnabled;
    }

    function migrate() external {
        require(migrationEnabled, "Migration is not enabled!");
        uint userBal = oldToken.balanceOf(msg.sender);
        oldToken.burnFrom(msg.sender, userBal);
        _mint(msg.sender, userBal / 10);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_oldToken","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":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnAsController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintAsController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"oldToken","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"toggleMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526a084595161401484a0000006001556006805460ff1916905534801561002957600080fd5b506040516112b73803806112b783398101604081905261004891610071565b60048054336001600160a01b031990911617905560601b6001600160601b0319166080526100a1565b60006020828403121561008357600080fd5b81516001600160a01b038116811461009a57600080fd5b9392505050565b60805160601c6111ea6100cd60003960008181610345015281816108de01526109a501526111ea6000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806379cc6790116100d8578063b31c710a1161008c578063e0dba60f11610066578063e0dba60f146103b5578063e5e656cb146103c8578063f2fde38b146103db57600080fd5b8063b31c710a14610340578063da8c229e14610367578063dd62ed3e1461038a57600080fd5b80638fd3ab80116100bd5780638fd3ab80146102ec57806395d89b41146102f4578063a9059cbb1461032d57600080fd5b806379cc6790146102945780638da5cb5b146102a757600080fd5b806323b872dd1161013a57806335b944bf1161011457806335b944bf1461025457806342966c681461026157806370a082311461027457600080fd5b806323b872dd146102295780632ab4d0521461023c578063313ce5671461024557600080fd5b8063153db98a1161016b578063153db98a146101f557806318160ddd1461020a57806321fec36c1461022157600080fd5b806306fdde0314610187578063095ea7b3146101d2575b600080fd5b60408051808201909152600981527f5a656e20546f6b656e000000000000000000000000000000000000000000000060208201525b6040516101c991906110a8565b60405180910390f35b6101e56101e036600461104c565b6103ee565b60405190151581526020016101c9565b61020861020336600461104c565b610404565b005b61021360005481565b6040519081526020016101c9565b610208610490565b6101e5610237366004610fd4565b610543565b61021360015481565b604051601281526020016101c9565b6006546101e59060ff1681565b61020861026f366004611076565b6106c7565b610213610282366004610f7f565b60026020526000908152604090205481565b6102086102a236600461104c565b6106d4565b6004546102c79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c9565b610208610841565b60408051808201909152600381527f5a454e000000000000000000000000000000000000000000000000000000000060208201526101bc565b6101e561033b36600461104c565b610a2c565b6102c77f000000000000000000000000000000000000000000000000000000000000000081565b6101e5610375366004610f7f565b60056020526000908152604090205460ff1681565b610213610398366004610fa1565b600360209081526000928352604080842090915290825290205481565b6102086103c3366004611010565b610ae2565b6102086103d636600461104c565b610bb9565b6102086103e9366004610f7f565b610c3c565b60006103fb338484610d04565b50600192915050565b3360009081526005602052604090205460ff16610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420436f6e74726f6c6c657221000000000000000000000000000000000060448201526064015b60405180910390fd5b61048c8282610d73565b5050565b60045473ffffffffffffffffffffffffffffffffffffffff163314610511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f74204f776e657221000000000000000000000000000000000000000000006044820152606401610479565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146105e05773ffffffffffffffffffffffffffffffffffffffff84166000908152600360209081526040808320338452909152812080548492906105da90849061116e565b90915550505b73ffffffffffffffffffffffffffffffffffffffff84166000908152600260205260408120805484929061061590849061116e565b909155505073ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260408120805484929061064f90849061111b565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b591815260200190565b60405180910390a35060019392505050565b6106d13382610eb2565b50565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832033845290915290205481811015610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433230494275726e61626c653a204275726e20616d6f756e74207265717560448201527f6573746564206578636565647320616c6c6f77616e63652100000000000000006064820152608401610479565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146108325773ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120805484929061082c90849061116e565b90915550505b61083c8383610eb2565b505050565b60065460ff166108ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d6967726174696f6e206973206e6f7420656e61626c656421000000000000006044820152606401610479565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561093557600080fd5b505afa158015610949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096d919061108f565b6040517f79cc6790000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906379cc679090604401600060405180830381600087803b1580156109fe57600080fd5b505af1158015610a12573d6000803e3d6000fd5b505050506106d133600a83610a279190611133565b610d73565b33600090815260026020526040812080548391908390610a4d90849061116e565b909155505073ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054849290610a8790849061111b565b909155505060405182815273ffffffffffffffffffffffffffffffffffffffff84169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b60045473ffffffffffffffffffffffffffffffffffffffff163314610b63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f74204f776e657221000000000000000000000000000000000000000000006044820152606401610479565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3360009081526005602052604090205460ff16610c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420436f6e74726f6c6c65722100000000000000000000000000000000006044820152606401610479565b61048c8282610eb2565b60045473ffffffffffffffffffffffffffffffffffffffff163314610cbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f74204f776e657221000000000000000000000000000000000000000000006044820152606401610479565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600081600054610d83919061111b565b9050600154811115610e17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e204d6f7820546f60448201527f74616c20537570706c79210000000000000000000000000000000000000000006064820152608401610479565b81600080828254610e28919061111b565b909155505073ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054849290610e6290849061111b565b909155505060405182815273ffffffffffffffffffffffffffffffffffffffff8416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610d66565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604081208054839290610ee790849061116e565b9250508190555080600080828254610eff919061116e565b909155505060405181815260009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f7a57600080fd5b919050565b600060208284031215610f9157600080fd5b610f9a82610f56565b9392505050565b60008060408385031215610fb457600080fd5b610fbd83610f56565b9150610fcb60208401610f56565b90509250929050565b600080600060608486031215610fe957600080fd5b610ff284610f56565b925061100060208501610f56565b9150604084013590509250925092565b6000806040838503121561102357600080fd5b61102c83610f56565b91506020830135801515811461104157600080fd5b809150509250929050565b6000806040838503121561105f57600080fd5b61106883610f56565b946020939093013593505050565b60006020828403121561108857600080fd5b5035919050565b6000602082840312156110a157600080fd5b5051919050565b600060208083528351808285015260005b818110156110d5578581018301518582016040015282016110b9565b818111156110e7576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561112e5761112e611185565b500190565b600082611169577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008282101561118057611180611185565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122003035e2601bb494e95f1d0bdcc04c7c92568ed86e7fa4c6e9a7720289134528c64736f6c63430008070033000000000000000000000000884345a7b7e7ffd7f4298ad6115f5d5afb2f7660

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101825760003560e01c806379cc6790116100d8578063b31c710a1161008c578063e0dba60f11610066578063e0dba60f146103b5578063e5e656cb146103c8578063f2fde38b146103db57600080fd5b8063b31c710a14610340578063da8c229e14610367578063dd62ed3e1461038a57600080fd5b80638fd3ab80116100bd5780638fd3ab80146102ec57806395d89b41146102f4578063a9059cbb1461032d57600080fd5b806379cc6790146102945780638da5cb5b146102a757600080fd5b806323b872dd1161013a57806335b944bf1161011457806335b944bf1461025457806342966c681461026157806370a082311461027457600080fd5b806323b872dd146102295780632ab4d0521461023c578063313ce5671461024557600080fd5b8063153db98a1161016b578063153db98a146101f557806318160ddd1461020a57806321fec36c1461022157600080fd5b806306fdde0314610187578063095ea7b3146101d2575b600080fd5b60408051808201909152600981527f5a656e20546f6b656e000000000000000000000000000000000000000000000060208201525b6040516101c991906110a8565b60405180910390f35b6101e56101e036600461104c565b6103ee565b60405190151581526020016101c9565b61020861020336600461104c565b610404565b005b61021360005481565b6040519081526020016101c9565b610208610490565b6101e5610237366004610fd4565b610543565b61021360015481565b604051601281526020016101c9565b6006546101e59060ff1681565b61020861026f366004611076565b6106c7565b610213610282366004610f7f565b60026020526000908152604090205481565b6102086102a236600461104c565b6106d4565b6004546102c79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c9565b610208610841565b60408051808201909152600381527f5a454e000000000000000000000000000000000000000000000000000000000060208201526101bc565b6101e561033b36600461104c565b610a2c565b6102c77f000000000000000000000000884345a7b7e7ffd7f4298ad6115f5d5afb2f766081565b6101e5610375366004610f7f565b60056020526000908152604090205460ff1681565b610213610398366004610fa1565b600360209081526000928352604080842090915290825290205481565b6102086103c3366004611010565b610ae2565b6102086103d636600461104c565b610bb9565b6102086103e9366004610f7f565b610c3c565b60006103fb338484610d04565b50600192915050565b3360009081526005602052604090205460ff16610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420436f6e74726f6c6c657221000000000000000000000000000000000060448201526064015b60405180910390fd5b61048c8282610d73565b5050565b60045473ffffffffffffffffffffffffffffffffffffffff163314610511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f74204f776e657221000000000000000000000000000000000000000000006044820152606401610479565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146105e05773ffffffffffffffffffffffffffffffffffffffff84166000908152600360209081526040808320338452909152812080548492906105da90849061116e565b90915550505b73ffffffffffffffffffffffffffffffffffffffff84166000908152600260205260408120805484929061061590849061116e565b909155505073ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260408120805484929061064f90849061111b565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b591815260200190565b60405180910390a35060019392505050565b6106d13382610eb2565b50565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832033845290915290205481811015610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433230494275726e61626c653a204275726e20616d6f756e74207265717560448201527f6573746564206578636565647320616c6c6f77616e63652100000000000000006064820152608401610479565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146108325773ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120805484929061082c90849061116e565b90915550505b61083c8383610eb2565b505050565b60065460ff166108ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d6967726174696f6e206973206e6f7420656e61626c656421000000000000006044820152606401610479565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526000907f000000000000000000000000884345a7b7e7ffd7f4298ad6115f5d5afb2f766073ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561093557600080fd5b505afa158015610949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096d919061108f565b6040517f79cc6790000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000884345a7b7e7ffd7f4298ad6115f5d5afb2f766073ffffffffffffffffffffffffffffffffffffffff16906379cc679090604401600060405180830381600087803b1580156109fe57600080fd5b505af1158015610a12573d6000803e3d6000fd5b505050506106d133600a83610a279190611133565b610d73565b33600090815260026020526040812080548391908390610a4d90849061116e565b909155505073ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054849290610a8790849061111b565b909155505060405182815273ffffffffffffffffffffffffffffffffffffffff84169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b60045473ffffffffffffffffffffffffffffffffffffffff163314610b63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f74204f776e657221000000000000000000000000000000000000000000006044820152606401610479565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3360009081526005602052604090205460ff16610c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420436f6e74726f6c6c65722100000000000000000000000000000000006044820152606401610479565b61048c8282610eb2565b60045473ffffffffffffffffffffffffffffffffffffffff163314610cbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f74204f776e657221000000000000000000000000000000000000000000006044820152606401610479565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600081600054610d83919061111b565b9050600154811115610e17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e204d6f7820546f60448201527f74616c20537570706c79210000000000000000000000000000000000000000006064820152608401610479565b81600080828254610e28919061111b565b909155505073ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054849290610e6290849061111b565b909155505060405182815273ffffffffffffffffffffffffffffffffffffffff8416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610d66565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604081208054839290610ee790849061116e565b9250508190555080600080828254610eff919061116e565b909155505060405181815260009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f7a57600080fd5b919050565b600060208284031215610f9157600080fd5b610f9a82610f56565b9392505050565b60008060408385031215610fb457600080fd5b610fbd83610f56565b9150610fcb60208401610f56565b90509250929050565b600080600060608486031215610fe957600080fd5b610ff284610f56565b925061100060208501610f56565b9150604084013590509250925092565b6000806040838503121561102357600080fd5b61102c83610f56565b91506020830135801515811461104157600080fd5b809150509250929050565b6000806040838503121561105f57600080fd5b61106883610f56565b946020939093013593505050565b60006020828403121561108857600080fd5b5035919050565b6000602082840312156110a157600080fd5b5051919050565b600060208083528351808285015260005b818110156110d5578581018301518582016040015282016110b9565b818111156110e7576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561112e5761112e611185565b500190565b600082611169577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008282101561118057611180611185565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122003035e2601bb494e95f1d0bdcc04c7c92568ed86e7fa4c6e9a7720289134528c64736f6c63430008070033

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

000000000000000000000000884345a7b7e7ffd7f4298ad6115f5d5afb2f7660

-----Decoded View---------------
Arg [0] : _oldToken (address): 0x884345a7B7E7fFd7F4298aD6115f5d5afb2F7660

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000884345a7b7e7ffd7f4298ad6115f5d5afb2f7660


Deployed Bytecode Sourcemap

3538:982:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;617:91;682:18;;;;;;;;;;;;;;;;;617:91;;;;;;;:::i;:::-;;;;;;;;1696:154;;;;;;:::i;:::-;;:::i;:::-;;;2687:14:1;;2680:22;2662:41;;2650:2;2635:18;1696:154:0;2522:187:1;3841:118:0;;;;;;:::i;:::-;;:::i;:::-;;186:26;;;;;;;;;5639:25:1;;;5627:2;5612:18;186:26:0;5493:177:1;4160:101:0;;;:::i;2097:360::-;;;;;;:::i;:::-;;:::i;220:58::-;;;;;;811:78;;;879:2;5817:36:1;;5805:2;5790:18;811:78:0;5675:184:1;4117:36:0;;;;;;;;;2465:121;;;;;;:::i;:::-;;:::i;314:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;2598:398;;;;;;:::i;:::-;;:::i;3028:20::-;;;;;;;;;;;;2165:42:1;2153:55;;;2135:74;;2123:2;2108:18;3028:20:0;1989:226:1;4269:248:0;;;:::i;716:87::-;783:12;;;;;;;;;;;;;;;;;716:87;;1860:229;;;;;;:::i;:::-;;:::i;3686:31::-;;;;;3055:43;;;;;;:::i;:::-;;;;;;;;;;;;;;;;365:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;3411:120;;;;;;:::i;:::-;;:::i;3965:122::-;;;;;;:::i;:::-;;:::i;3322:77::-;;;;;;:::i;:::-;;:::i;1696:154::-;1764:4;1781:39;1790:10;1802:8;1812:7;1781:8;:39::i;:::-;-1:-1:-1;1838:4:0;1696:154;;;;:::o;3841:118::-;3277:10;3265:23;;;;:11;:23;;;;;;;;3257:51;;;;;;;4160:2:1;3257:51:0;;;4142:21:1;4199:2;4179:18;;;4172:30;4238:17;4218:18;;;4211:45;4273:18;;3257:51:0;;;;;;;;;3932:19:::1;3938:3;3943:7;3932:5;:19::i;:::-;3841:118:::0;;:::o;4160:101::-;3185:5;;:19;:5;3194:10;3185:19;3177:42;;;;;;;3821:2:1;3177:42:0;;;3803:21:1;3860:2;3840:18;;;3833:30;3899:12;3879:18;;;3872:40;3929:18;;3177:42:0;3619:334:1;3177:42:0;4237:16:::1;::::0;;4217:36;;::::1;4237:16;::::0;;::::1;4236:17;4217:36;::::0;;4160:101::o;2097:360::-;2201:16;;;2180:4;2201:16;;;:9;:16;;;;;;;;2218:10;2201:28;;;;;;;;2233:17;2201:49;2197:112;;2267:16;;;;;;;:9;:16;;;;;;;;2284:10;2267:28;;;;;;;:39;;2299:7;;2267:16;:39;;2299:7;;2267:39;:::i;:::-;;;;-1:-1:-1;;2197:112:0;2319:16;;;;;;;:9;:16;;;;;:27;;2339:7;;2319:16;:27;;2339:7;;2319:27;:::i;:::-;;;;-1:-1:-1;;2357:14:0;;;;;;;:9;:14;;;;;:25;;2375:7;;2357:14;:25;;2375:7;;2357:25;:::i;:::-;;;;;;;;2414:3;2398:29;;2407:5;2398:29;;;2419:7;2398:29;;;;5639:25:1;;5627:2;5612:18;;5493:177;2398:29:0;;;;;;;;-1:-1:-1;2445:4:0;2097:360;;;;;:::o;2465:121::-;2552:26;2558:10;2570:7;2552:5;:26::i;:::-;2465:121;:::o;2598:398::-;2694:16;;;2666:25;2694:16;;;:9;:16;;;;;;;;2711:10;2694:28;;;;;;;;2741;;;;2733:97;;;;;;;5270:2:1;2733:97:0;;;5252:21:1;5309:2;5289:18;;;5282:30;5348:34;5328:18;;;5321:62;5419:26;5399:18;;;5392:54;5463:19;;2733:97:0;5068:420:1;2733:97:0;2847:16;;;;;;;:9;:16;;;;;;;;2864:10;2847:28;;;;;;;;2879:17;2847:49;2843:112;;2913:16;;;;;;;:9;:16;;;;;;;;2930:10;2913:28;;;;;;;:39;;2945:7;;2913:16;:39;;2945:7;;2913:39;:::i;:::-;;;;-1:-1:-1;;2843:112:0;2967:21;2973:5;2980:7;2967:5;:21::i;:::-;2655:341;2598:398;;:::o;4269:248::-;4316:16;;;;4308:54;;;;;;;4504:2:1;4308:54:0;;;4486:21:1;4543:2;4523:18;;;4516:30;4582:27;4562:18;;;4555:55;4627:18;;4308:54:0;4302:349:1;4308:54:0;4388:30;;;;;4407:10;4388:30;;;2135:74:1;4373:12:0;;4388:8;:18;;;;;2108::1;;4388:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4429:38;;;;;4447:10;4429:38;;;2394:74:1;2484:18;;;2477:34;;;4373:45:0;;-1:-1:-1;4429:8:0;:17;;;;;2367:18:1;;4429:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4478:31;4484:10;4506:2;4496:7;:12;;;;:::i;:::-;4478:5;:31::i;1860:229::-;1951:10;1924:4;1941:21;;;:9;:21;;;;;:32;;1966:7;;1941:21;1924:4;;1941:32;;1966:7;;1941:32;:::i;:::-;;;;-1:-1:-1;;1984:14:0;;;;;;;:9;:14;;;;;:25;;2002:7;;1984:14;:25;;2002:7;;1984:25;:::i;:::-;;;;-1:-1:-1;;2025:34:0;;5639:25:1;;;2025:34:0;;;;2034:10;;2025:34;;5627:2:1;5612:18;2025:34:0;;;;;;;-1:-1:-1;2077:4:0;1860:229;;;;:::o;3411:120::-;3185:5;;:19;:5;3194:10;3185:19;3177:42;;;;;;;3821:2:1;3177:42:0;;;3803:21:1;3860:2;3840:18;;;3833:30;3899:12;3879:18;;;3872:40;3929:18;;3177:42:0;3619:334:1;3177:42:0;3494:21:::1;::::0;;;::::1;;::::0;;;:11:::1;:21;::::0;;;;:29;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;3411:120::o;3965:122::-;3277:10;3265:23;;;;:11;:23;;;;;;;;3257:51;;;;;;;4160:2:1;3257:51:0;;;4142:21:1;4199:2;4179:18;;;4172:30;4238:17;4218:18;;;4211:45;4273:18;;3257:51:0;3958:339:1;3257:51:0;4058:21:::1;4064:5;4071:7;4058:5;:21::i;3322:77::-:0;3185:5;;:19;:5;3194:10;3185:19;3177:42;;;;;;;3821:2:1;3177:42:0;;;3803:21:1;3860:2;3840:18;;;3833:30;3899:12;3879:18;;;3872:40;3929:18;;3177:42:0;3619:334:1;3177:42:0;3384:5:::1;:12:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3322:77::o;1478:185::-;1567:17;;;;;;;;:9;:17;;;;;;;;:27;;;;;;;;;;;;;:37;;;1620:35;;5639:25:1;;;1620:35:0;;5612:18:1;1620:35:0;;;;;;;;1478:185;;;:::o;924:345::-;989:25;1031:7;1017:11;;:21;;;;:::i;:::-;989:49;;1078:14;;1057:17;:35;;1049:91;;;;;;;4858:2:1;1049:91:0;;;4840:21:1;4897:2;4877:18;;;4870:30;4936:34;4916:18;;;4909:62;5007:13;4987:18;;;4980:41;5038:19;;1049:91:0;4656:407:1;1049:91:0;1166:7;1151:11;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;1184:14:0;;;;;;;:9;:14;;;;;:25;;1202:7;;1184:14;:25;;1202:7;;1184:25;:::i;:::-;;;;-1:-1:-1;;1225:36:0;;5639:25:1;;;1225:36:0;;;;1242:3;;1225:36;;5627:2:1;5612:18;1225:36:0;5493:177:1;1277:189:0;1344:16;;;;;;;:9;:16;;;;;:27;;1364:7;;1344:16;:27;;1364:7;;1344:27;:::i;:::-;;;;;;;;1397:7;1382:11;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;1420:38:0;;5639:25:1;;;1444:3:0;;1420:38;;;;;;5627:2:1;5612:18;1420:38:0;;;;;;;1277:189;;:::o;14:196:1:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:1:o;406:260::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:52;;;551:1;548;541:12;503:52;574:29;593:9;574:29;:::i;:::-;564:39;;622:38;656:2;645:9;641:18;622:38;:::i;:::-;612:48;;406:260;;;;;:::o;671:328::-;748:6;756;764;817:2;805:9;796:7;792:23;788:32;785:52;;;833:1;830;823:12;785:52;856:29;875:9;856:29;:::i;:::-;846:39;;904:38;938:2;927:9;923:18;904:38;:::i;:::-;894:48;;989:2;978:9;974:18;961:32;951:42;;671:328;;;;;:::o;1004:347::-;1069:6;1077;1130:2;1118:9;1109:7;1105:23;1101:32;1098:52;;;1146:1;1143;1136:12;1098:52;1169:29;1188:9;1169:29;:::i;:::-;1159:39;;1248:2;1237:9;1233:18;1220:32;1295:5;1288:13;1281:21;1274:5;1271:32;1261:60;;1317:1;1314;1307:12;1261:60;1340:5;1330:15;;;1004:347;;;;;:::o;1356:254::-;1424:6;1432;1485:2;1473:9;1464:7;1460:23;1456:32;1453:52;;;1501:1;1498;1491:12;1453:52;1524:29;1543:9;1524:29;:::i;:::-;1514:39;1600:2;1585:18;;;;1572:32;;-1:-1:-1;;;1356:254:1:o;1615:180::-;1674:6;1727:2;1715:9;1706:7;1702:23;1698:32;1695:52;;;1743:1;1740;1733:12;1695:52;-1:-1:-1;1766:23:1;;1615:180;-1:-1:-1;1615:180:1:o;1800:184::-;1870:6;1923:2;1911:9;1902:7;1898:23;1894:32;1891:52;;;1939:1;1936;1929:12;1891:52;-1:-1:-1;1962:16:1;;1800:184;-1:-1:-1;1800:184:1:o;2958:656::-;3070:4;3099:2;3128;3117:9;3110:21;3160:6;3154:13;3203:6;3198:2;3187:9;3183:18;3176:34;3228:1;3238:140;3252:6;3249:1;3246:13;3238:140;;;3347:14;;;3343:23;;3337:30;3313:17;;;3332:2;3309:26;3302:66;3267:10;;3238:140;;;3396:6;3393:1;3390:13;3387:91;;;3466:1;3461:2;3452:6;3441:9;3437:22;3433:31;3426:42;3387:91;-1:-1:-1;3530:2:1;3518:15;3535:66;3514:88;3499:104;;;;3605:2;3495:113;;2958:656;-1:-1:-1;;;2958:656:1:o;5864:128::-;5904:3;5935:1;5931:6;5928:1;5925:13;5922:39;;;5941:18;;:::i;:::-;-1:-1:-1;5977:9:1;;5864:128::o;5997:274::-;6037:1;6063;6053:189;;6098:77;6095:1;6088:88;6199:4;6196:1;6189:15;6227:4;6224:1;6217:15;6053:189;-1:-1:-1;6256:9:1;;5997:274::o;6276:125::-;6316:4;6344:1;6341;6338:8;6335:34;;;6349:18;;:::i;:::-;-1:-1:-1;6386:9:1;;6276:125::o;6406:184::-;6458:77;6455:1;6448:88;6555:4;6552:1;6545:15;6579:4;6576:1;6569:15

Swarm Source

ipfs://03035e2601bb494e95f1d0bdcc04c7c92568ed86e7fa4c6e9a7720289134528c
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.