ETH Price: $3,273.69 (-10.99%)

Contract

0x0596908263Ef2724fBfBcAfA1c983FCD7a629038
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InitializableMintableERC20

Compiler Version
v0.6.9+commit.3e3065ac

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license
/**
 *Submitted for verification at Etherscan.io on 2021-01-24
*/

// File: contracts/lib/SafeMath.sol

/*

    Copyright 2020 DODO ZOO.
    SPDX-License-Identifier: Apache-2.0

*/

pragma solidity 0.6.9;


/**
 * @title SafeMath
 * @author DODO Breeder
 *
 * @notice Math operations with safety checks that revert on error
 */
library SafeMath {
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "MUL_ERROR");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "DIVIDING_ERROR");
        return a / b;
    }

    function divCeil(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 quotient = div(a, b);
        uint256 remainder = a - quotient * b;
        if (remainder > 0) {
            return quotient + 1;
        } else {
            return quotient;
        }
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SUB_ERROR");
        return a - b;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "ADD_ERROR");
        return c;
    }

    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 z = x / 2 + 1;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

// File: contracts/lib/InitializableOwnable.sol

/**
 * @title Ownable
 * @author DODO Breeder
 *
 * @notice Ownership related functions
 */
contract InitializableOwnable {
    address public _OWNER_;
    address public _NEW_OWNER_;
    bool internal _INITIALIZED_;

    // ============ Events ============

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

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

    // ============ Modifiers ============

    modifier notInitialized() {
        require(!_INITIALIZED_, "DODO_INITIALIZED");
        _;
    }

    modifier onlyOwner() {
        require(msg.sender == _OWNER_, "NOT_OWNER");
        _;
    }

    // ============ Functions ============

    function initOwner(address newOwner) public notInitialized {
        _INITIALIZED_ = true;
        _OWNER_ = newOwner;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        emit OwnershipTransferPrepared(_OWNER_, newOwner);
        _NEW_OWNER_ = newOwner;
    }

    function claimOwnership() public {
        require(msg.sender == _NEW_OWNER_, "INVALID_CLAIM");
        emit OwnershipTransferred(_OWNER_, _NEW_OWNER_);
        _OWNER_ = _NEW_OWNER_;
        _NEW_OWNER_ = address(0);
    }
}

// File: contracts/external/ERC20/InitializableMintableERC20.sol




contract InitializableMintableERC20 is InitializableOwnable {
    using SafeMath for uint256;

    string public name;
    uint256 public decimals;
    string public symbol;
    uint256 public totalSupply;

    mapping(address => uint256) balances;
    mapping(address => mapping(address => uint256)) internal allowed;

    event Transfer(address indexed from, address indexed to, uint256 amount);
    event Approval(address indexed owner, address indexed spender, uint256 amount);
    event Mint(address indexed user, uint256 value);
    event Burn(address indexed user, uint256 value);

    function init(
        address _creator,
        uint256 _initSupply,
        string memory _name,
        string memory _symbol,
        uint256 _decimals
    ) public {
        initOwner(_creator);
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _initSupply;
        balances[_creator] = _initSupply;
        emit Transfer(address(0), _creator, _initSupply);
    }

    function transfer(address to, uint256 amount) public returns (bool) {
        require(to != address(0), "TO_ADDRESS_IS_EMPTY");
        require(amount <= balances[msg.sender], "BALANCE_NOT_ENOUGH");

        balances[msg.sender] = balances[msg.sender].sub(amount);
        balances[to] = balances[to].add(amount);
        emit Transfer(msg.sender, to, amount);
        return true;
    }

    function balanceOf(address owner) public view returns (uint256 balance) {
        return balances[owner];
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public returns (bool) {
        require(to != address(0), "TO_ADDRESS_IS_EMPTY");
        require(amount <= balances[from], "BALANCE_NOT_ENOUGH");
        require(amount <= allowed[from][msg.sender], "ALLOWANCE_NOT_ENOUGH");

        balances[from] = balances[from].sub(amount);
        balances[to] = balances[to].add(amount);
        allowed[from][msg.sender] = allowed[from][msg.sender].sub(amount);
        emit Transfer(from, to, amount);
        return true;
    }

    function approve(address spender, uint256 amount) public returns (bool) {
        allowed[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function allowance(address owner, address spender) public view returns (uint256) {
        return allowed[owner][spender];
    }

    function mint(address user, uint256 value) external onlyOwner {
        balances[user] = balances[user].add(value);
        totalSupply = totalSupply.add(value);
        emit Mint(user, value);
        emit Transfer(address(0), user, value);
    }

    function burn(address user, uint256 value) external onlyOwner {
        balances[user] = balances[user].sub(value);
        totalSupply = totalSupply.sub(value);
        emit Burn(user, value);
        emit Transfer(user, address(0), value);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferPrepared","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_NEW_OWNER_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_OWNER_","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_creator","type":"address"},{"internalType":"uint256","name":"_initSupply","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_decimals","type":"uint256"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"initOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50611002806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634e71e0c8116100a257806395d89b411161007157806395d89b41146104175780639dc29fac1461041f578063a9059cbb1461044b578063dd62ed3e14610477578063f2fde38b146104a55761010b565b80634e71e0c81461029d57806370a08231146102a55780637e24f904146102cb5780638456db151461040f5761010b565b806318160ddd116100de57806318160ddd1461021957806323b872dd14610233578063313ce5671461026957806340c10f19146102715761010b565b806306fdde0314610110578063095ea7b31461018d5780630d009297146101cd57806316048bc4146101f5575b600080fd5b6101186104cb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610556565b604080519115158252519081900360200190f35b6101f3600480360360208110156101e357600080fd5b50356001600160a01b03166105bc565b005b6101fd610644565b604080516001600160a01b039092168252519081900360200190f35b610221610653565b60408051918252519081900360200190f35b6101b96004803603606081101561024957600080fd5b506001600160a01b03813581169160208101359091169060400135610659565b610221610878565b6101f36004803603604081101561028757600080fd5b506001600160a01b03813516906020013561087e565b6101f3610993565b610221600480360360208110156102bb57600080fd5b50356001600160a01b0316610a46565b6101f3600480360360a08110156102e157600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561031157600080fd5b82018360208201111561032357600080fd5b8035906020019184600183028401116401000000008311171561034557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561039857600080fd5b8201836020820111156103aa57600080fd5b803590602001918460018302840111640100000000831117156103cc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610a61915050565b6101fd610ae1565b610118610af0565b6101f36004803603604081101561043557600080fd5b506001600160a01b038135169060200135610b4b565b6101b96004803603604081101561046157600080fd5b506001600160a01b038135169060200135610c60565b6102216004803603604081101561048d57600080fd5b506001600160a01b0381358116916020013516610daa565b6101f3600480360360208110156104bb57600080fd5b50356001600160a01b0316610dd5565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561054e5780601f106105235761010080835404028352916020019161054e565b820191906000526020600020905b81548152906001019060200180831161053157829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600154600160a01b900460ff161561060e576040805162461bcd60e51b815260206004820152601060248201526f1113d113d7d25392551250531256915160821b604482015290519081900360640190fd5b6001805460ff60a01b1916600160a01b179055600080546001600160a01b039092166001600160a01b0319909216919091179055565b6000546001600160a01b031681565b60055481565b60006001600160a01b0383166106ac576040805162461bcd60e51b8152602060048201526013602482015272544f5f414444524553535f49535f454d50545960681b604482015290519081900360640190fd5b6001600160a01b03841660009081526006602052604090205482111561070e576040805162461bcd60e51b81526020600482015260126024820152710848298829c868abe9c9ea8be8a9c9eaa8e960731b604482015290519081900360640190fd5b6001600160a01b038416600090815260076020908152604080832033845290915290205482111561077d576040805162461bcd60e51b815260206004820152601460248201527308298989eae829c868abe9c9ea8be8a9c9eaa8e960631b604482015290519081900360640190fd5b6001600160a01b0384166000908152600660205260409020546107a6908363ffffffff610e7b16565b6001600160a01b0380861660009081526006602052604080822093909355908516815220546107db908363ffffffff610ec416565b6001600160a01b03808516600090815260066020908152604080832094909455918716815260078252828120338252909152205461081f908363ffffffff610e7b16565b6001600160a01b0380861660008181526007602090815260408083203384528252918290209490945580518681529051928716939192600080516020610fad833981519152929181900390910190a35060019392505050565b60035481565b6000546001600160a01b031633146108c9576040805162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b604482015290519081900360640190fd5b6001600160a01b0382166000908152600660205260409020546108f2908263ffffffff610ec416565b6001600160a01b03831660009081526006602052604090205560055461091e908263ffffffff610ec416565b6005556040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a26040805182815290516001600160a01b03841691600091600080516020610fad8339815191529181900360200190a35050565b6001546001600160a01b031633146109e2576040805162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f434c41494d60981b604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6001600160a01b031660009081526006602052604090205490565b610a6a856105bc565b8251610a7d906002906020860190610f11565b508151610a91906004906020850190610f11565b50600381905560058490556001600160a01b038516600081815260066020908152604080832088905580518881529051600080516020610fad833981519152929181900390910190a35050505050565b6001546001600160a01b031681565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561054e5780601f106105235761010080835404028352916020019161054e565b6000546001600160a01b03163314610b96576040805162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b604482015290519081900360640190fd5b6001600160a01b038216600090815260066020526040902054610bbf908263ffffffff610e7b16565b6001600160a01b038316600090815260066020526040902055600554610beb908263ffffffff610e7b16565b6005556040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a26040805182815290516000916001600160a01b03851691600080516020610fad8339815191529181900360200190a35050565b60006001600160a01b038316610cb3576040805162461bcd60e51b8152602060048201526013602482015272544f5f414444524553535f49535f454d50545960681b604482015290519081900360640190fd5b33600090815260066020526040902054821115610d0c576040805162461bcd60e51b81526020600482015260126024820152710848298829c868abe9c9ea8be8a9c9eaa8e960731b604482015290519081900360640190fd5b33600090815260066020526040902054610d2c908363ffffffff610e7b16565b33600090815260066020526040808220929092556001600160a01b03851681522054610d5e908363ffffffff610ec416565b6001600160a01b038416600081815260066020908152604091829020939093558051858152905191923392600080516020610fad8339815191529281900390910190a350600192915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610e20576040805162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917fdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e6291a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082821115610ebe576040805162461bcd60e51b815260206004820152600960248201526829aaa12fa2a92927a960b91b604482015290519081900360640190fd5b50900390565b600082820183811015610f0a576040805162461bcd60e51b815260206004820152600960248201526820a2222fa2a92927a960b91b604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610f5257805160ff1916838001178555610f7f565b82800160010185558215610f7f579182015b82811115610f7f578251825591602001919060010190610f64565b50610f8b929150610f8f565b5090565b610fa991905b80821115610f8b5760008155600101610f95565b9056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e7cf9e2eb30dd62d5ef381665ce346044ca39b91fb2b1012f7f2bea64fab17f264736f6c63430006090033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634e71e0c8116100a257806395d89b411161007157806395d89b41146104175780639dc29fac1461041f578063a9059cbb1461044b578063dd62ed3e14610477578063f2fde38b146104a55761010b565b80634e71e0c81461029d57806370a08231146102a55780637e24f904146102cb5780638456db151461040f5761010b565b806318160ddd116100de57806318160ddd1461021957806323b872dd14610233578063313ce5671461026957806340c10f19146102715761010b565b806306fdde0314610110578063095ea7b31461018d5780630d009297146101cd57806316048bc4146101f5575b600080fd5b6101186104cb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610556565b604080519115158252519081900360200190f35b6101f3600480360360208110156101e357600080fd5b50356001600160a01b03166105bc565b005b6101fd610644565b604080516001600160a01b039092168252519081900360200190f35b610221610653565b60408051918252519081900360200190f35b6101b96004803603606081101561024957600080fd5b506001600160a01b03813581169160208101359091169060400135610659565b610221610878565b6101f36004803603604081101561028757600080fd5b506001600160a01b03813516906020013561087e565b6101f3610993565b610221600480360360208110156102bb57600080fd5b50356001600160a01b0316610a46565b6101f3600480360360a08110156102e157600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561031157600080fd5b82018360208201111561032357600080fd5b8035906020019184600183028401116401000000008311171561034557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561039857600080fd5b8201836020820111156103aa57600080fd5b803590602001918460018302840111640100000000831117156103cc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610a61915050565b6101fd610ae1565b610118610af0565b6101f36004803603604081101561043557600080fd5b506001600160a01b038135169060200135610b4b565b6101b96004803603604081101561046157600080fd5b506001600160a01b038135169060200135610c60565b6102216004803603604081101561048d57600080fd5b506001600160a01b0381358116916020013516610daa565b6101f3600480360360208110156104bb57600080fd5b50356001600160a01b0316610dd5565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561054e5780601f106105235761010080835404028352916020019161054e565b820191906000526020600020905b81548152906001019060200180831161053157829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600154600160a01b900460ff161561060e576040805162461bcd60e51b815260206004820152601060248201526f1113d113d7d25392551250531256915160821b604482015290519081900360640190fd5b6001805460ff60a01b1916600160a01b179055600080546001600160a01b039092166001600160a01b0319909216919091179055565b6000546001600160a01b031681565b60055481565b60006001600160a01b0383166106ac576040805162461bcd60e51b8152602060048201526013602482015272544f5f414444524553535f49535f454d50545960681b604482015290519081900360640190fd5b6001600160a01b03841660009081526006602052604090205482111561070e576040805162461bcd60e51b81526020600482015260126024820152710848298829c868abe9c9ea8be8a9c9eaa8e960731b604482015290519081900360640190fd5b6001600160a01b038416600090815260076020908152604080832033845290915290205482111561077d576040805162461bcd60e51b815260206004820152601460248201527308298989eae829c868abe9c9ea8be8a9c9eaa8e960631b604482015290519081900360640190fd5b6001600160a01b0384166000908152600660205260409020546107a6908363ffffffff610e7b16565b6001600160a01b0380861660009081526006602052604080822093909355908516815220546107db908363ffffffff610ec416565b6001600160a01b03808516600090815260066020908152604080832094909455918716815260078252828120338252909152205461081f908363ffffffff610e7b16565b6001600160a01b0380861660008181526007602090815260408083203384528252918290209490945580518681529051928716939192600080516020610fad833981519152929181900390910190a35060019392505050565b60035481565b6000546001600160a01b031633146108c9576040805162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b604482015290519081900360640190fd5b6001600160a01b0382166000908152600660205260409020546108f2908263ffffffff610ec416565b6001600160a01b03831660009081526006602052604090205560055461091e908263ffffffff610ec416565b6005556040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a26040805182815290516001600160a01b03841691600091600080516020610fad8339815191529181900360200190a35050565b6001546001600160a01b031633146109e2576040805162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f434c41494d60981b604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6001600160a01b031660009081526006602052604090205490565b610a6a856105bc565b8251610a7d906002906020860190610f11565b508151610a91906004906020850190610f11565b50600381905560058490556001600160a01b038516600081815260066020908152604080832088905580518881529051600080516020610fad833981519152929181900390910190a35050505050565b6001546001600160a01b031681565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561054e5780601f106105235761010080835404028352916020019161054e565b6000546001600160a01b03163314610b96576040805162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b604482015290519081900360640190fd5b6001600160a01b038216600090815260066020526040902054610bbf908263ffffffff610e7b16565b6001600160a01b038316600090815260066020526040902055600554610beb908263ffffffff610e7b16565b6005556040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a26040805182815290516000916001600160a01b03851691600080516020610fad8339815191529181900360200190a35050565b60006001600160a01b038316610cb3576040805162461bcd60e51b8152602060048201526013602482015272544f5f414444524553535f49535f454d50545960681b604482015290519081900360640190fd5b33600090815260066020526040902054821115610d0c576040805162461bcd60e51b81526020600482015260126024820152710848298829c868abe9c9ea8be8a9c9eaa8e960731b604482015290519081900360640190fd5b33600090815260066020526040902054610d2c908363ffffffff610e7b16565b33600090815260066020526040808220929092556001600160a01b03851681522054610d5e908363ffffffff610ec416565b6001600160a01b038416600081815260066020908152604091829020939093558051858152905191923392600080516020610fad8339815191529281900390910190a350600192915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610e20576040805162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917fdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e6291a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082821115610ebe576040805162461bcd60e51b815260206004820152600960248201526829aaa12fa2a92927a960b91b604482015290519081900360640190fd5b50900390565b600082820183811015610f0a576040805162461bcd60e51b815260206004820152600960248201526820a2222fa2a92927a960b91b604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610f5257805160ff1916838001178555610f7f565b82800160010185558215610f7f579182015b82811115610f7f578251825591602001919060010190610f64565b50610f8b929150610f8f565b5090565b610fa991905b80821115610f8b5760008155600101610f95565b9056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e7cf9e2eb30dd62d5ef381665ce346044ca39b91fb2b1012f7f2bea64fab17f264736f6c63430006090033

Deployed Bytecode Sourcemap

2942:3023:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3044:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5101:203;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5101:203:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2327:127;;;;;;;;;;;;;;;;-1:-1:-1;2327:127:0;-1:-1:-1;;;;;2327:127:0;;:::i;:::-;;1694:22;;;:::i;:::-;;;;-1:-1:-1;;;;;1694:22:0;;;;;;;;;;;;;;3126:26;;;:::i;:::-;;;;;;;;;;;;;;;;4515:578;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4515:578:0;;;;;;;;;;;;;;;;;:::i;3069:23::-;;;:::i;5450:252::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5450:252:0;;;;;;;;:::i;2633:228::-;;;:::i;4394:113::-;;;;;;;;;;;;;;;;-1:-1:-1;4394:113:0;-1:-1:-1;;;;;4394:113:0;;:::i;3551:432::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3551:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3551:432:0;;;;;;;;-1:-1:-1;3551:432:0;;-1:-1:-1;;3551:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3551:432:0;;-1:-1:-1;;3551:432:0;;;-1:-1:-1;3551:432:0;;-1:-1:-1;;3551:432:0:i;1723:26::-;;;:::i;3099:20::-;;;:::i;5710:252::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5710:252:0;;;;;;;;:::i;3991:395::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3991:395:0;;;;;;;;:::i;5312:130::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5312:130:0;;;;;;;;;;:::i;2462:163::-;;;;;;;;;;;;;;;;-1:-1:-1;2462:163:0;-1:-1:-1;;;;;2462:163:0;;:::i;3044:18::-;;;;;;;;;;;;;;-1:-1:-1;;3044:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5101:203::-;5192:10;5167:4;5184:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;5184:28:0;;;;;;;;;;;:37;;;5237;;;;;;;5167:4;;5184:28;;5192:10;;5237:37;;;;;;;;-1:-1:-1;5292:4:0;5101:203;;;;:::o;2327:127::-;2116:13;;-1:-1:-1;;;2116:13:0;;;;2115:14;2107:43;;;;;-1:-1:-1;;;2107:43:0;;;;;;;;;;;;-1:-1:-1;;;2107:43:0;;;;;;;;;;;;;;;2413:4:::1;2397:20:::0;;-1:-1:-1;;;;2397:20:0::1;-1:-1:-1::0;;;2397:20:0::1;::::0;;;2428:18;;-1:-1:-1;;;;;2428:18:0;;::::1;-1:-1:-1::0;;;;;;2428:18:0;;::::1;::::0;;;::::1;::::0;;2327:127::o;1694:22::-;;;-1:-1:-1;;;;;1694:22:0;;:::o;3126:26::-;;;;:::o;4515:578::-;4629:4;-1:-1:-1;;;;;4654:16:0;;4646:48;;;;;-1:-1:-1;;;4646:48:0;;;;;;;;;;;;-1:-1:-1;;;4646:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;4723:14:0;;;;;;:8;:14;;;;;;4713:24;;;4705:55;;;;;-1:-1:-1;;;4705:55:0;;;;;;;;;;;;-1:-1:-1;;;4705:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;4789:13:0;;;;;;:7;:13;;;;;;;;4803:10;4789:25;;;;;;;;4779:35;;;4771:68;;;;;-1:-1:-1;;;4771:68:0;;;;;;;;;;;;-1:-1:-1;;;4771:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;4869:14:0;;;;;;:8;:14;;;;;;:26;;4888:6;4869:26;:18;:26;:::i;:::-;-1:-1:-1;;;;;4852:14:0;;;;;;;:8;:14;;;;;;:43;;;;4921:12;;;;;;;:24;;4938:6;4921:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;4906:12:0;;;;;;;:8;:12;;;;;;;;:39;;;;4984:13;;;;;:7;:13;;;;;4998:10;4984:25;;;;;;;:37;;5014:6;4984:37;:29;:37;:::i;:::-;-1:-1:-1;;;;;4956:13:0;;;;;;;:7;:13;;;;;;;;4970:10;4956:25;;;;;;;;:65;;;;5037:26;;;;;;;;;;;4956:13;;-1:-1:-1;;;;;;;;;;;5037:26:0;;;;;;;;;;-1:-1:-1;5081:4:0;4515:578;;;;;:::o;3069:23::-;;;;:::o;5450:252::-;2232:7;;-1:-1:-1;;;;;2232:7:0;2218:10;:21;2210:43;;;;;-1:-1:-1;;;2210:43:0;;;;;;;;;;;;-1:-1:-1;;;2210:43:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;5540:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;;:25:::1;::::0;5559:5;5540:25:::1;:18;:25;:::i;:::-;-1:-1:-1::0;;;;;5523:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:42;5590:11:::1;::::0;:22:::1;::::0;5606:5;5590:22:::1;:15;:22;:::i;:::-;5576:11;:36:::0;5628:17:::1;::::0;;;;;;;-1:-1:-1;;;;;5628:17:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;5661:33;::::0;;;;;;;-1:-1:-1;;;;;5661:33:0;::::1;::::0;5678:1:::1;::::0;-1:-1:-1;;;;;;;;;;;5661:33:0;;;;::::1;::::0;;::::1;5450:252:::0;;:::o;2633:228::-;2699:11;;-1:-1:-1;;;;;2699:11:0;2685:10;:25;2677:51;;;;;-1:-1:-1;;;2677:51:0;;;;;;;;;;;;-1:-1:-1;;;2677:51:0;;;;;;;;;;;;;;;2774:11;;;2765:7;;2744:42;;-1:-1:-1;;;;;2774:11:0;;;;2765:7;;;;2744:42;;;2807:11;;;;2797:21;;-1:-1:-1;;;;;;2797:21:0;;;-1:-1:-1;;;;;2807:11:0;;2797:21;;;;2829:24;;;2633:228::o;4394:113::-;-1:-1:-1;;;;;4484:15:0;4449;4484;;;:8;:15;;;;;;;4394:113::o;3551:432::-;3737:19;3747:8;3737:9;:19::i;:::-;3767:12;;;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;3790:16:0;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;3817:8:0;:20;;;3848:11;:25;;;-1:-1:-1;;;;;3884:18:0;;-1:-1:-1;3884:18:0;;;:8;:18;;;;;;;;:32;;;3932:43;;;;;;;-1:-1:-1;;;;;;;;;;;3932:43:0;;;;;;;;;;3551:432;;;;;:::o;1723:26::-;;;-1:-1:-1;;;;;1723:26:0;;:::o;3099:20::-;;;;;;;;;;;;;;;-1:-1:-1;;3099:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5710:252;2232:7;;-1:-1:-1;;;;;2232:7:0;2218:10;:21;2210:43;;;;;-1:-1:-1;;;2210:43:0;;;;;;;;;;;;-1:-1:-1;;;2210:43:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;5800:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;;:25:::1;::::0;5819:5;5800:25:::1;:18;:25;:::i;:::-;-1:-1:-1::0;;;;;5783:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;:42;5850:11:::1;::::0;:22:::1;::::0;5866:5;5850:22:::1;:15;:22;:::i;:::-;5836:11;:36:::0;5888:17:::1;::::0;;;;;;;-1:-1:-1;;;;;5888:17:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;5921:33;::::0;;;;;;;5944:1:::1;::::0;-1:-1:-1;;;;;5921:33:0;::::1;::::0;-1:-1:-1;;;;;;;;;;;5921:33:0;;;;::::1;::::0;;::::1;5710:252:::0;;:::o;3991:395::-;4053:4;-1:-1:-1;;;;;4078:16:0;;4070:48;;;;;-1:-1:-1;;;4070:48:0;;;;;;;;;;;;-1:-1:-1;;;4070:48:0;;;;;;;;;;;;;;;4156:10;4147:20;;;;:8;:20;;;;;;4137:30;;;4129:61;;;;;-1:-1:-1;;;4129:61:0;;;;;;;;;;;;-1:-1:-1;;;4129:61:0;;;;;;;;;;;;;;;4235:10;4226:20;;;;:8;:20;;;;;;:32;;4251:6;4226:32;:24;:32;:::i;:::-;4212:10;4203:20;;;;:8;:20;;;;;;:55;;;;-1:-1:-1;;;;;4284:12:0;;;;;;:24;;4301:6;4284:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;4269:12:0;;;;;;:8;:12;;;;;;;;;:39;;;;4324:32;;;;;;;4269:12;;4333:10;;-1:-1:-1;;;;;;;;;;;4324:32:0;;;;;;;;;-1:-1:-1;4374:4:0;3991:395;;;;:::o;5312:130::-;-1:-1:-1;;;;;5411:14:0;;;5384:7;5411:14;;;:7;:14;;;;;;;;:23;;;;;;;;;;;;;5312:130::o;2462:163::-;2232:7;;-1:-1:-1;;;;;2232:7:0;2218:10;:21;2210:43;;;;;-1:-1:-1;;;2210:43:0;;;;;;;;;;;;-1:-1:-1;;;2210:43:0;;;;;;;;;;;;;;;2566:7:::1;::::0;;2540:44:::1;::::0;-1:-1:-1;;;;;2540:44:0;;::::1;::::0;2566:7;::::1;::::0;2540:44:::1;::::0;::::1;2595:11;:22:::0;;-1:-1:-1;;;;;;2595:22:0::1;-1:-1:-1::0;;;;;2595:22:0;;;::::1;::::0;;;::::1;::::0;;2462:163::o;982:137::-;1040:7;1073:1;1068;:6;;1060:28;;;;;-1:-1:-1;;;1060:28:0;;;;;;;;;;;;-1:-1:-1;;;1060:28:0;;;;;;;;;;;;;;;-1:-1:-1;1106:5:0;;;982:137::o;1127:161::-;1185:7;1217:5;;;1241:6;;;;1233:28;;;;;-1:-1:-1;;;1233:28:0;;;;;;;;;;;;-1:-1:-1;;;1233:28:0;;;;;;;;;;;;;;;1279:1;1127:161;-1:-1:-1;;;1127:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://e7cf9e2eb30dd62d5ef381665ce346044ca39b91fb2b1012f7f2bea64fab17f2

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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.