ETH Price: $3,360.39 (+0.77%)

Contract

0xF0939011a9bb95c3B791f0cb546377Ed2693a574
 
Transaction Hash
Method
Block
From
To
0x12f6763756f390bb7e40fe725e8bb45baaa6767ea5b8a85d0bd5a0cbf94aca90 Approve(pending)2024-12-23 1:11:464 days ago1734916306IN
Zero Exchange: ZERO Token
0 ETH(Pending)(Pending)
0xdf250a9c94d64ab9283d21d5eb68c87344082f81b149f142c3aa621f2990e988 Approve(pending)2024-12-22 21:37:564 days ago1734903476IN
Zero Exchange: ZERO Token
0 ETH(Pending)(Pending)
Approve214945222024-12-27 14:54:113 hrs ago1735311251IN
Zero Exchange: ZERO Token
0 ETH0.0002679311.11682777
Approve214831842024-12-26 0:52:3541 hrs ago1735174355IN
Zero Exchange: ZERO Token
0 ETH0.000279376.02279809
Approve214680642024-12-23 22:08:473 days ago1734991727IN
Zero Exchange: ZERO Token
0 ETH0.0005976712.95852094
Approve214603682024-12-22 20:17:234 days ago1734898643IN
Zero Exchange: ZERO Token
0 ETH0.0004663810.06756243
Approve214528442024-12-21 19:02:475 days ago1734807767IN
Zero Exchange: ZERO Token
0 ETH0.000435479.44924085
Approve214372242024-12-19 14:40:358 days ago1734619235IN
Zero Exchange: ZERO Token
0 ETH0.0007930517.09679973
Approve214150642024-12-16 12:25:2311 days ago1734351923IN
Zero Exchange: ZERO Token
0 ETH0.0003098512.85606419
Approve214146352024-12-16 10:59:1111 days ago1734346751IN
Zero Exchange: ZERO Token
0 ETH0.0005976612.95827699
Approve214090342024-12-15 16:12:5912 days ago1734279179IN
Zero Exchange: ZERO Token
0 ETH0.0002752211.419296
Approve214028812024-12-14 19:36:3512 days ago1734204995IN
Zero Exchange: ZERO Token
0 ETH0.000236199.8
Approve214005582024-12-14 11:48:3513 days ago1734176915IN
Zero Exchange: ZERO Token
0 ETH0.000174897.25639318
Approve214005582024-12-14 11:48:3513 days ago1734176915IN
Zero Exchange: ZERO Token
0 ETH0.00018947.25639318
Approve214005542024-12-14 11:47:4713 days ago1734176867IN
Zero Exchange: ZERO Token
0 ETH0.00020158.36049126
Approve213981522024-12-14 3:45:2313 days ago1734147923IN
Zero Exchange: ZERO Token
0 ETH0.000225879.37157921
Transfer213962482024-12-13 21:22:3513 days ago1734124955IN
Zero Exchange: ZERO Token
0 ETH0.0006412613.72515211
Approve213767222024-12-11 3:55:4716 days ago1733889347IN
Zero Exchange: ZERO Token
0 ETH0.000315113.0737194
Approve213707592024-12-10 7:57:3517 days ago1733817455IN
Zero Exchange: ZERO Token
0 ETH0.0002914712.09353718
Approve213542682024-12-08 0:44:1119 days ago1733618651IN
Zero Exchange: ZERO Token
0 ETH0.0002674111.09493613
Approve213485012024-12-07 5:22:2320 days ago1733548943IN
Zero Exchange: ZERO Token
0 ETH0.0007238115.6243358
Approve213407072024-12-06 3:15:3521 days ago1733454935IN
Zero Exchange: ZERO Token
0 ETH0.0005265121.84542834
Approve213256362024-12-04 0:44:2323 days ago1733273063IN
Zero Exchange: ZERO Token
0 ETH0.0010060821.71759585
Approve213185382024-12-03 0:56:3524 days ago1733187395IN
Zero Exchange: ZERO Token
0 ETH0.000916319.75400512
Approve213038552024-11-30 23:44:2326 days ago1733010263IN
Zero Exchange: ZERO Token
0 ETH0.0004785510.31679219
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZERO

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 99999 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2020-12-26
*/

pragma solidity 0.5.17;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

library SafeMath {
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x, "MATH:ADD_OVERFLOW");
    }

    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x, "MATH:SUB_UNDERFLOW");
    }
}


// Lightweight token modelled after UNI-LP: https://github.com/Uniswap/uniswap-v2-core/blob/v1.0.1/contracts/UniswapV2ERC20.sol
// Adds:
//   - An exposed `mint()` with minting role
//   - An exposed `burn()`
//   - ERC-3009 (`transferWithAuthorization()`)

contract ZERO is IERC20 {
    using SafeMath for uint256;

    // bytes32 private constant EIP712DOMAIN_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
    bytes32 private constant EIP712DOMAIN_HASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f;
    // bytes32 private constant NAME_HASH = keccak256("Zero Exchange Token")
    bytes32 private constant NAME_HASH = 0xb842fe63d152980530213644bef33f942b91da9d9f990afde0934f9b22f28cf9;
    // bytes32 private constant VERSION_HASH = keccak256("1")
    bytes32 private constant VERSION_HASH = 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6;

    // bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    // bytes32 public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH =
    // keccak256("TransferWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)");
    bytes32 public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH = 0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267;

    string public constant name = "Zero.Exchange Token";
    string public constant symbol = "ZERO";
    uint8 public constant decimals = 18;
    uint256 public constant decimalFactor = 10 ** uint256(decimals);
    uint256 private constant cap = 1000000000 * decimalFactor;

    address public minter;
    uint256 public totalSupply;
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    // ERC-2612, ERC-3009 state
    mapping (address => uint256) public nonces;
    mapping (address => mapping (bytes32 => bool)) public authorizationState;

    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce);
    event ChangeMinter(address indexed minter);

    modifier onlyMinter {
        require(msg.sender == minter, "ZERO:NOT_MINTER");
        _;
    }

    constructor(address initialMinter) public {
        _changeMinter(initialMinter);
    }

    function _validateSignedData(address signer, bytes32 encodeData, uint8 v, bytes32 r, bytes32 s) internal view {
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                getDomainSeparator(),
                encodeData
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        // Explicitly disallow authorizations for address(0) as ecrecover returns address(0) on malformed messages
        require(recoveredAddress != address(0) && recoveredAddress == signer, "ZERO:INVALID_SIGNATURE");
    }

    function _changeMinter(address newMinter) internal {
        minter = newMinter;
        emit ChangeMinter(newMinter);
    }

    function _mint(address to, uint256 value) internal {
        require(totalSupply.add(value) <= cap, "ZERO:CAP_EXCEEDED");
        totalSupply = totalSupply.add(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(address(0), to, value);
    }

    function _burn(address from, uint value) internal {
        // Balance is implicitly checked with SafeMath's underflow protection
        balanceOf[from] = balanceOf[from].sub(value);
        totalSupply = totalSupply.sub(value);
        emit Transfer(from, address(0), value);
    }

    function _approve(address owner, address spender, uint256 value) private {
        allowance[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _transfer(address from, address to, uint256 value) private {
        require(to != address(this) && to != address(0), "ZERO:RECEIVER_IS_TOKEN_OR_ZERO");

        // Balance is implicitly checked with SafeMath's underflow protection
        balanceOf[from] = balanceOf[from].sub(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(from, to, value);
    }

    function getChainId() public pure returns (uint256 chainId) {
        assembly { chainId := chainid() }
    }

    function getDomainSeparator() public view returns (bytes32) {
        return keccak256(
            abi.encode(
                EIP712DOMAIN_HASH,
                NAME_HASH,
                VERSION_HASH,
                getChainId(),
                address(this)
            )
        );
    }

    function mint(address to, uint256 value) external onlyMinter returns (bool) {
        _mint(to, value);
        return true;
    }

    function changeMinter(address newMinter) external onlyMinter {
        _changeMinter(newMinter);
    }

    function burn(uint256 value) external returns (bool) {
        _burn(msg.sender, value);
        return true;
    }

    function approve(address spender, uint256 value) external returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function transfer(address to, uint256 value) external returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value) external returns (bool) {
        uint256 fromAllowance = allowance[from][msg.sender];
        if (fromAllowance != uint256(-1)) {
            // Allowance is implicitly checked with SafeMath's underflow protection
            allowance[from][msg.sender] = fromAllowance.sub(value);
        }
        _transfer(from, to, value);
        return true;
    }

    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, "ZERO:AUTH_EXPIRED");

        bytes32 encodeData = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline));
        _validateSignedData(owner, encodeData, v, r, s);

        _approve(owner, spender, value);
    }

    function transferWithAuthorization(
        address from,
        address to,
        uint256 value,
        uint256 validAfter,
        uint256 validBefore,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        require(block.timestamp > validAfter, "ZERO:AUTH_NOT_YET_VALID");
        require(block.timestamp < validBefore, "ZERO:AUTH_EXPIRED");
        require(!authorizationState[from][nonce],  "ZERO:AUTH_ALREADY_USED");

        bytes32 encodeData = keccak256(abi.encode(TRANSFER_WITH_AUTHORIZATION_TYPEHASH, from, to, value, validAfter, validBefore, nonce));
        _validateSignedData(from, encodeData, v, r, s);

        authorizationState[from][nonce] = true;
        emit AuthorizationUsed(from, nonce);

        _transfer(from, to, value);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialMinter","type":"address"}],"payable":false,"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":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"}],"name":"ChangeMinter","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"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TRANSFER_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"authorizationState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"changeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimalFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"chainId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithAuthorization","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516115463803806115468339818101604052602081101561003357600080fd5b5051610047816001600160e01b0361004d16565b50610095565b600080546001600160a01b0319166001600160a01b038316908117825560405190917fc87aeafc6e4ae6202adf4f08a76769119ae93cc129c0e0cbac08a118bc18e1ce91a250565b6114a2806100a46000396000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80636d6a6a4d116100d8578063a9059cbb1161008c578063e3ee160e11610066578063e3ee160e146104e8578063e94a010214610554578063ed24911d1461058d57610182565b8063a9059cbb14610416578063d505accf1461044f578063dd62ed3e146104ad57610182565b80637ecebe00116100bd5780637ecebe00146103d357806395d89b4114610406578063a0cc6a681461040e57610182565b80636d6a6a4d1461039857806370a08231146103a057610182565b80632c4d4d181161013a5780633408e470116101145780633408e4701461033a57806340c10f191461034257806342966c681461037b57610182565b80632c4d4d18146102df57806330adf81f14610314578063313ce5671461031c57610182565b8063095ea7b31161016b578063095ea7b31461023557806318160ddd1461028257806323b872dd1461029c57610182565b806306fdde03146101875780630754617214610204575b600080fd5b61018f610595565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c95781810151838201526020016101b1565b50505050905090810190601f1680156101f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020c6105ce565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61026e6004803603604081101561024b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356105ea565b604080519115158252519081900360200190f35b61028a610601565b60408051918252519081900360200190f35b61026e600480360360608110156102b257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610607565b610312600480360360208110156102f557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106b7565b005b61028a610749565b61032461076d565b6040805160ff9092168252519081900360200190f35b61028a610772565b61026e6004803603604081101561035857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610776565b61026e6004803603602081101561039157600080fd5b5035610807565b61028a61081b565b61028a600480360360208110156103b657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610827565b61028a600480360360208110156103e957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610839565b61018f61084b565b61028a610884565b61026e6004803603604081101561042c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108a8565b610312600480360360e081101561046557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356108b5565b61028a600480360360408110156104c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166109dc565b61031260048036036101208110156104ff57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e08101359061010001356109f9565b61026e6004803603604081101561056a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ca0565b61028a610cc0565b6040518060400160405280601381526020017f5a65726f2e45786368616e676520546f6b656e0000000000000000000000000081525081565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006105f7338484610d73565b5060015b92915050565b60015481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106a15761066f818463ffffffff610de216565b73ffffffffffffffffffffffffffffffffffffffff861660009081526003602090815260408083203384529091529020555b6106ac858585610e54565b506001949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461073d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5a45524f3a4e4f545f4d494e5445520000000000000000000000000000000000604482015290519081900360640190fd5b61074681610fdb565b50565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b4690565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146107fd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5a45524f3a4e4f545f4d494e5445520000000000000000000000000000000000604482015290519081900360640190fd5b6105f78383611048565b60006108133383611187565b506001919050565b670de0b6b3a764000081565b60026020526000908152604090205481565b60046020526000908152604090205481565b6040518060400160405280600481526020017f5a45524f0000000000000000000000000000000000000000000000000000000081525081565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b60006105f7338484610e54565b4284101561092457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5a45524f3a415554485f45585049524544000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff80881660008181526004602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938a1660608401526080830189905260a083019390935260c08083018890528151808403909101815260e0909201905280519101206109c7888286868661124b565b6109d2888888610d73565b5050505050505050565b600360209081526000928352604080842090915290825290205481565b854211610a6757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5a45524f3a415554485f4e4f545f5945545f56414c4944000000000000000000604482015290519081900360640190fd5b844210610ad557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5a45524f3a415554485f45585049524544000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8916600090815260056020908152604080832087845290915290205460ff1615610b7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5a45524f3a415554485f414c52454144595f5553454400000000000000000000604482015290519081900360640190fd5b604080517f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760208083019190915273ffffffffffffffffffffffffffffffffffffffff808d16838501528b166060830152608082018a905260a0820189905260c0820188905260e0808301889052835180840390910181526101009092019092528051910120610c088a8286868661124b565b73ffffffffffffffffffffffffffffffffffffffff8a16600081815260056020908152604080832089845290915280822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055518792917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a3610c948a8a8a610e54565b50505050505050505050565b600560209081526000928352604080842090915290825290205460ff1681565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fb842fe63d152980530213644bef33f942b91da9d9f990afde0934f9b22f28cf97fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6610d2d610772565b6040805160208082019690965280820194909452606084019290925260808301523060a0808401919091528151808403909101815260c090920190528051910120905090565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b808203828111156105fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4d4154483a5355425f554e444552464c4f570000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82163014801590610e8f575073ffffffffffffffffffffffffffffffffffffffff821615155b610efa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5a45524f3a52454345495645525f49535f544f4b454e5f4f525f5a45524f0000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902054610f30908263ffffffff610de216565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600260205260408082209390935590841681522054610f72908263ffffffff6113fb16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fc87aeafc6e4ae6202adf4f08a76769119ae93cc129c0e0cbac08a118bc18e1ce91a250565b6001546b033b2e3c9fd0803ce800000090611069908363ffffffff6113fb16565b11156110d657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5a45524f3a4341505f4558434545444544000000000000000000000000000000604482015290519081900360640190fd5b6001546110e9908263ffffffff6113fb16565b60015573ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054611122908263ffffffff6113fb16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020546111bd908263ffffffff610de216565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260409020556001546111f6908263ffffffff610de216565b60015560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611255610cc0565b8560405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600060018286868660405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561130c573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81161580159061138757508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6113f257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5a45524f3a494e56414c49445f5349474e415455524500000000000000000000604482015290519081900360640190fd5b50505050505050565b808201828110156105fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4d4154483a4144445f4f564552464c4f57000000000000000000000000000000604482015290519081900360640190fdfea265627a7a7231582007e0833a25de594f9da01cf12524e05c35d0b6e5644247bc409219270c7cc9e164736f6c63430005110032000000000000000000000000b66a45e381e0e84c1f493c5bb25fd00fb3bd5340

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101825760003560e01c80636d6a6a4d116100d8578063a9059cbb1161008c578063e3ee160e11610066578063e3ee160e146104e8578063e94a010214610554578063ed24911d1461058d57610182565b8063a9059cbb14610416578063d505accf1461044f578063dd62ed3e146104ad57610182565b80637ecebe00116100bd5780637ecebe00146103d357806395d89b4114610406578063a0cc6a681461040e57610182565b80636d6a6a4d1461039857806370a08231146103a057610182565b80632c4d4d181161013a5780633408e470116101145780633408e4701461033a57806340c10f191461034257806342966c681461037b57610182565b80632c4d4d18146102df57806330adf81f14610314578063313ce5671461031c57610182565b8063095ea7b31161016b578063095ea7b31461023557806318160ddd1461028257806323b872dd1461029c57610182565b806306fdde03146101875780630754617214610204575b600080fd5b61018f610595565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c95781810151838201526020016101b1565b50505050905090810190601f1680156101f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020c6105ce565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61026e6004803603604081101561024b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356105ea565b604080519115158252519081900360200190f35b61028a610601565b60408051918252519081900360200190f35b61026e600480360360608110156102b257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610607565b610312600480360360208110156102f557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106b7565b005b61028a610749565b61032461076d565b6040805160ff9092168252519081900360200190f35b61028a610772565b61026e6004803603604081101561035857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610776565b61026e6004803603602081101561039157600080fd5b5035610807565b61028a61081b565b61028a600480360360208110156103b657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610827565b61028a600480360360208110156103e957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610839565b61018f61084b565b61028a610884565b61026e6004803603604081101561042c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108a8565b610312600480360360e081101561046557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356108b5565b61028a600480360360408110156104c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166109dc565b61031260048036036101208110156104ff57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e08101359061010001356109f9565b61026e6004803603604081101561056a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ca0565b61028a610cc0565b6040518060400160405280601381526020017f5a65726f2e45786368616e676520546f6b656e0000000000000000000000000081525081565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006105f7338484610d73565b5060015b92915050565b60015481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106a15761066f818463ffffffff610de216565b73ffffffffffffffffffffffffffffffffffffffff861660009081526003602090815260408083203384529091529020555b6106ac858585610e54565b506001949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461073d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5a45524f3a4e4f545f4d494e5445520000000000000000000000000000000000604482015290519081900360640190fd5b61074681610fdb565b50565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b4690565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146107fd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5a45524f3a4e4f545f4d494e5445520000000000000000000000000000000000604482015290519081900360640190fd5b6105f78383611048565b60006108133383611187565b506001919050565b670de0b6b3a764000081565b60026020526000908152604090205481565b60046020526000908152604090205481565b6040518060400160405280600481526020017f5a45524f0000000000000000000000000000000000000000000000000000000081525081565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b60006105f7338484610e54565b4284101561092457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5a45524f3a415554485f45585049524544000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff80881660008181526004602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938a1660608401526080830189905260a083019390935260c08083018890528151808403909101815260e0909201905280519101206109c7888286868661124b565b6109d2888888610d73565b5050505050505050565b600360209081526000928352604080842090915290825290205481565b854211610a6757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5a45524f3a415554485f4e4f545f5945545f56414c4944000000000000000000604482015290519081900360640190fd5b844210610ad557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5a45524f3a415554485f45585049524544000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8916600090815260056020908152604080832087845290915290205460ff1615610b7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5a45524f3a415554485f414c52454144595f5553454400000000000000000000604482015290519081900360640190fd5b604080517f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760208083019190915273ffffffffffffffffffffffffffffffffffffffff808d16838501528b166060830152608082018a905260a0820189905260c0820188905260e0808301889052835180840390910181526101009092019092528051910120610c088a8286868661124b565b73ffffffffffffffffffffffffffffffffffffffff8a16600081815260056020908152604080832089845290915280822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055518792917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a3610c948a8a8a610e54565b50505050505050505050565b600560209081526000928352604080842090915290825290205460ff1681565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fb842fe63d152980530213644bef33f942b91da9d9f990afde0934f9b22f28cf97fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6610d2d610772565b6040805160208082019690965280820194909452606084019290925260808301523060a0808401919091528151808403909101815260c090920190528051910120905090565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b808203828111156105fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4d4154483a5355425f554e444552464c4f570000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82163014801590610e8f575073ffffffffffffffffffffffffffffffffffffffff821615155b610efa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5a45524f3a52454345495645525f49535f544f4b454e5f4f525f5a45524f0000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902054610f30908263ffffffff610de216565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600260205260408082209390935590841681522054610f72908263ffffffff6113fb16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fc87aeafc6e4ae6202adf4f08a76769119ae93cc129c0e0cbac08a118bc18e1ce91a250565b6001546b033b2e3c9fd0803ce800000090611069908363ffffffff6113fb16565b11156110d657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5a45524f3a4341505f4558434545444544000000000000000000000000000000604482015290519081900360640190fd5b6001546110e9908263ffffffff6113fb16565b60015573ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054611122908263ffffffff6113fb16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020546111bd908263ffffffff610de216565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260409020556001546111f6908263ffffffff610de216565b60015560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611255610cc0565b8560405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600060018286868660405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561130c573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81161580159061138757508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6113f257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5a45524f3a494e56414c49445f5349474e415455524500000000000000000000604482015290519081900360640190fd5b50505050505050565b808201828110156105fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4d4154483a4144445f4f564552464c4f57000000000000000000000000000000604482015290519081900360640190fdfea265627a7a7231582007e0833a25de594f9da01cf12524e05c35d0b6e5644247bc409219270c7cc9e164736f6c63430005110032

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

000000000000000000000000b66a45e381e0e84c1f493c5bb25fd00fb3bd5340

-----Decoded View---------------
Arg [0] : initialMinter (address): 0xB66A45e381E0e84c1F493C5Bb25Fd00fb3bd5340

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b66a45e381e0e84c1f493c5bb25fd00fb3bd5340


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Zero exchange is built on the Avalanche blockchain, and airdrop recipients will receive Ethereum based tokens ahead of the mainnet DEX launch, whereafter the tokens will be upgradeable 1:1 for Avalanche tokens (ZERO ARC-20).

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.