ETH Price: $3,350.99 (+0.35%)
Gas: 11.1 Gwei

Contract

0x3802a712d24EABCFD825FC4dd508aBc01E75753e
 

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:
WXETA

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-03-13
*/

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

library SafeMath { 
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
      assert(b <= a);
      return a - b;
    }
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
      uint256 c = a + b;
      assert(c >= a);
      return c;
    }
}

contract WXETA {
    using SafeMath for uint256;
    bytes32 internal constant WXETANAMESPACE = keccak256('wxeta.facet');

    struct WXETASTORAGE {
        string name;
        string symbol;
        uint8 decimals;  

        address owner;
        bool initialized;
        uint256 _maxSupply;
        uint256 _totalSupply;
        
        mapping(address => bool) authorized;
        mapping(address => uint256) balances;
        mapping(address => mapping (address => uint256)) allowed;
    }

    function getWXETAStorage() internal pure returns(WXETASTORAGE storage s) {
        bytes32 position = WXETANAMESPACE;
        assembly {
            s.slot := position
        }
    }

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);

    modifier onlyOwner() {
        require(msg.sender == getWXETAStorage().owner, "WXETA: not owner");
        _;
    }

    modifier onlyAuthorized() {
        require(getWXETAStorage().authorized[msg.sender], "WXETA: not authorized");
        _;
    }

    function initialize(uint256 max) public {
        WXETASTORAGE storage s = getWXETAStorage();
        require(!s.initialized, "WXETA: already initialized");
        s._maxSupply = max;
        s.owner = msg.sender;
        s.authorized[msg.sender] = true;
        s.name = "Wrapped Xeta";
        s.symbol = "WXETA";
        s.decimals = 18;  
    }

    function totalSupply() public view returns (uint256) {
	    return getWXETAStorage()._totalSupply;
    }
    
    function maxSupply() public view returns (uint256) {
        return getWXETAStorage()._maxSupply;
    }
    
    function balanceOf(address tokenOwner) public view returns (uint) {
        return getWXETAStorage().balances[tokenOwner];
    }

    function mint(address receiver, uint256 amount) public onlyAuthorized() returns(bool) {
        WXETASTORAGE storage s = getWXETAStorage();
        require(s._totalSupply + amount <= s._maxSupply, "Mint exceeds maximum supply");

        s._totalSupply = totalSupply().add(amount);
        s.balances[receiver] = s.balances[receiver].add(amount);
        emit Transfer(address(this), receiver, amount);
        return true;
    }

    function burn(address from, uint256 amount) public onlyAuthorized() returns(bool) {
        WXETASTORAGE storage s = getWXETAStorage();
        require(s.balances[from] >= amount, "Insufficient balance to burn");

        s._totalSupply = s._totalSupply.sub(amount);
        s.balances[from] = s.balances[from].sub(amount);
        emit Transfer(from, address(0), amount);
        return true;
    }

    function approve(address delegate, uint numTokens) public returns (bool) {
        WXETASTORAGE storage s = getWXETAStorage();
        s.allowed[msg.sender][delegate] = numTokens;
        emit Approval(msg.sender, delegate, numTokens);
        return true;
    }

    function allowance(address user, address delegate) public view returns (uint) {
        return getWXETAStorage().allowed[user][delegate];
    }

    function transfer(address receiver, uint numTokens) public returns (bool) {
        WXETASTORAGE storage s = getWXETAStorage();
        require(numTokens <= s.balances[msg.sender]);
        require(receiver != address(0), "WXETA: Cannot transfer to the zero address");

        s.balances[msg.sender] = s.balances[msg.sender].sub(numTokens);
        s.balances[receiver] = s.balances[receiver].add(numTokens);
        emit Transfer(msg.sender, receiver, numTokens);
        return true;
    }

    function transferFrom(address user, address receiver, uint numTokens) public returns (bool) {
        WXETASTORAGE storage s = getWXETAStorage();
        require(numTokens <= s.balances[user]);
        require(numTokens <= s.allowed[user][msg.sender]);
        require(receiver != address(0), "WXETA: Cannot transfer to the zero address");
    
        s.balances[user] = s.balances[user].sub(numTokens);
        s.allowed[user][msg.sender] = s.allowed[user][msg.sender].sub(numTokens);
        s.balances[receiver] = s.balances[receiver].add(numTokens);
        emit Transfer(user, receiver, numTokens);
        return true;
    }

    function setAuthorized(address _address, bool _status) public onlyOwner() {
        getWXETAStorage().authorized[_address] = _status;
    }

    function authorized(address _add) external view returns(bool) {
        return getWXETAStorage().authorized[_add];
    }

    function owner() external view returns(address) {
        return getWXETAStorage().owner;
    }

    function name() external view returns(string memory) {
        return getWXETAStorage().name;
    }

    function symbol() external view returns(string memory) {
        return getWXETAStorage().symbol;
    }

    function decimals() external view returns(uint256) {
        return getWXETAStorage().decimals;
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_add","type":"address"}],"name":"authorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"_status","type":"bool"}],"name":"setAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610f40806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063b918161111610066578063b918161114610200578063d5abeb0114610213578063dd62ed3e1461021b578063fe4b84df1461022e57600080fd5b80638da5cb5b146101b257806395d89b41146101d25780639dc29fac146101da578063a9059cbb146101ed57600080fd5b8063313ce567116100d3578063313ce5671461016f57806340c10f191461017757806370a082311461018a578063711bf9b21461019d57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd1461015c575b600080fd5b61010d610241565b60405161011a9190610b7c565b60405180910390f35b610136610131366004610be6565b6102d9565b604051901515815260200161011a565b61014e610350565b60405190815260200161011a565b61013661016a366004610c10565b610363565b61014e6104f2565b610136610185366004610be6565b610508565b61014e610198366004610c4c565b610659565b6101b06101ab366004610c67565b610685565b005b6101ba61071a565b6040516001600160a01b03909116815260200161011a565b61010d61073b565b6101366101e8366004610be6565b610753565b6101366101fb366004610be6565b6108a6565b61013661020e366004610c4c565b610983565b61014e6109b2565b61014e610229366004610ca3565b6109c5565b6101b061023c366004610cd6565b6109ff565b606061024b610b16565b805461025690610cef565b80601f016020809104026020016040519081016040528092919081815260200182805461028290610cef565b80156102cf5780601f106102a4576101008083540402835291602001916102cf565b820191906000526020600020905b8154815290600101906020018083116102b257829003601f168201915b5050505050905090565b6000806102e4610b16565b33600081815260078301602090815260408083206001600160a01b038a16808552908352928190208890555187815293945090927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a360019150505b92915050565b600061035a610b16565b60040154905090565b60008061036e610b16565b6001600160a01b038616600090815260068201602052604090205490915083111561039857600080fd5b6001600160a01b038516600090815260078201602090815260408083203384529091529020548311156103ca57600080fd5b6001600160a01b0384166103f95760405162461bcd60e51b81526004016103f090610d29565b60405180910390fd5b6001600160a01b038516600090815260068201602052604090205461041e9084610b3a565b6001600160a01b0386166000908152600683016020908152604080832093909355600784018152828220338352905220546104599084610b3a565b6001600160a01b0380871660009081526007840160209081526040808320338452825280832094909455918716815260068401909152205461049b9084610b5d565b6001600160a01b0380861660008181526006850160205260409081902093909355915190871690600080516020610eeb833981519152906104df9087815260200190565b60405180910390a3506001949350505050565b60006104fc610b16565b6002015460ff16919050565b6000610512610b16565b336000908152600591909101602052604090205460ff1661056d5760405162461bcd60e51b815260206004820152601560248201527415d61155104e881b9bdd08185d5d1a1bdc9a5e9959605a1b60448201526064016103f0565b6000610577610b16565b9050806003015483826004015461058e9190610d89565b11156105dc5760405162461bcd60e51b815260206004820152601b60248201527f4d696e742065786365656473206d6178696d756d20737570706c79000000000060448201526064016103f0565b6105ee836105e8610350565b90610b5d565b60048201556001600160a01b03841660009081526006820160205260409020546106189084610b5d565b6001600160a01b0385166000818152600684016020526040908190209290925590513090600080516020610eeb8339815191529061033c9087815260200190565b6000610663610b16565b6001600160a01b03909216600090815260069290920160205250604090205490565b61068d610b16565b6002015461010090046001600160a01b031633146106e05760405162461bcd60e51b815260206004820152601060248201526f2bac22aa209d103737ba1037bbb732b960811b60448201526064016103f0565b806106e9610b16565b6001600160a01b0393909316600090815260059093016020526040909220805460ff19169215159290921790915550565b6000610724610b16565b6002015461010090046001600160a01b0316919050565b6060610745610b16565b600101805461025690610cef565b600061075d610b16565b336000908152600591909101602052604090205460ff166107b85760405162461bcd60e51b815260206004820152601560248201527415d61155104e881b9bdd08185d5d1a1bdc9a5e9959605a1b60448201526064016103f0565b60006107c2610b16565b6001600160a01b038516600090815260068201602052604090205490915083111561082f5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e742062616c616e636520746f206275726e0000000060448201526064016103f0565b600481015461083e9084610b3a565b60048201556001600160a01b03841660009081526006820160205260409020546108689084610b3a565b6001600160a01b0385166000818152600684016020526040808220939093559151600080516020610eeb8339815191529061033c9087815260200190565b6000806108b1610b16565b3360009081526006820160205260409020549091508311156108d257600080fd5b6001600160a01b0384166108f85760405162461bcd60e51b81526004016103f090610d29565b3360009081526006820160205260409020546109149084610b3a565b336000908152600683016020526040808220929092556001600160a01b038616815220546109429084610b5d565b6001600160a01b0385166000818152600684016020526040908190209290925590513390600080516020610eeb8339815191529061033c9087815260200190565b600061098d610b16565b6001600160a01b03909216600090815260059290920160205250604090205460ff1690565b60006109bc610b16565b60030154905090565b60006109cf610b16565b6001600160a01b039384166000908152600791909101602090815260408083209490951682529290925250205490565b6000610a09610b16565b6002810154909150600160a81b900460ff1615610a685760405162461bcd60e51b815260206004820152601a60248201527f57584554413a20616c726561647920696e697469616c697a656400000000000060448201526064016103f0565b60038101829055600281018054610100600160a81b031916336101008102919091179091556000908152600582016020908152604091829020805460ff191660011790558151808301909252600c82526b57726170706564205865746160a01b908201528190610ad89082610e01565b50604080518082019091526005815264575845544160d81b60208201526001820190610b049082610e01565b50600201805460ff1916601217905550565b7fb143160265a9e359cc1c657916955958a34cf95de1779627bdd0ce8334ab57c990565b600082821115610b4c57610b4c610ec1565b610b568284610ed7565b9392505050565b600080610b6a8385610d89565b905083811015610b5657610b56610ec1565b600060208083528351808285015260005b81811015610ba957858101830151858201604001528201610b8d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610be157600080fd5b919050565b60008060408385031215610bf957600080fd5b610c0283610bca565b946020939093013593505050565b600080600060608486031215610c2557600080fd5b610c2e84610bca565b9250610c3c60208501610bca565b9150604084013590509250925092565b600060208284031215610c5e57600080fd5b610b5682610bca565b60008060408385031215610c7a57600080fd5b610c8383610bca565b915060208301358015158114610c9857600080fd5b809150509250929050565b60008060408385031215610cb657600080fd5b610cbf83610bca565b9150610ccd60208401610bca565b90509250929050565b600060208284031215610ce857600080fd5b5035919050565b600181811c90821680610d0357607f821691505b602082108103610d2357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602a908201527f57584554413a2043616e6e6f74207472616e7366657220746f20746865207a65604082015269726f206164647265737360b01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561034a5761034a610d73565b634e487b7160e01b600052604160045260246000fd5b601f821115610dfc57600081815260208120601f850160051c81016020861015610dd95750805b601f850160051c820191505b81811015610df857828155600101610de5565b5050505b505050565b815167ffffffffffffffff811115610e1b57610e1b610d9c565b610e2f81610e298454610cef565b84610db2565b602080601f831160018114610e645760008415610e4c5750858301515b600019600386901b1c1916600185901b178555610df8565b600085815260208120601f198616915b82811015610e9357888601518255948401946001909101908401610e74565b5085821015610eb15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052600160045260246000fd5b8181038181111561034a5761034a610d7356feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220d9264c1fbff415b283562a049c16f8e3361d44b124a8d2adb54eecf9c65392f864736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063b918161111610066578063b918161114610200578063d5abeb0114610213578063dd62ed3e1461021b578063fe4b84df1461022e57600080fd5b80638da5cb5b146101b257806395d89b41146101d25780639dc29fac146101da578063a9059cbb146101ed57600080fd5b8063313ce567116100d3578063313ce5671461016f57806340c10f191461017757806370a082311461018a578063711bf9b21461019d57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd1461015c575b600080fd5b61010d610241565b60405161011a9190610b7c565b60405180910390f35b610136610131366004610be6565b6102d9565b604051901515815260200161011a565b61014e610350565b60405190815260200161011a565b61013661016a366004610c10565b610363565b61014e6104f2565b610136610185366004610be6565b610508565b61014e610198366004610c4c565b610659565b6101b06101ab366004610c67565b610685565b005b6101ba61071a565b6040516001600160a01b03909116815260200161011a565b61010d61073b565b6101366101e8366004610be6565b610753565b6101366101fb366004610be6565b6108a6565b61013661020e366004610c4c565b610983565b61014e6109b2565b61014e610229366004610ca3565b6109c5565b6101b061023c366004610cd6565b6109ff565b606061024b610b16565b805461025690610cef565b80601f016020809104026020016040519081016040528092919081815260200182805461028290610cef565b80156102cf5780601f106102a4576101008083540402835291602001916102cf565b820191906000526020600020905b8154815290600101906020018083116102b257829003601f168201915b5050505050905090565b6000806102e4610b16565b33600081815260078301602090815260408083206001600160a01b038a16808552908352928190208890555187815293945090927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a360019150505b92915050565b600061035a610b16565b60040154905090565b60008061036e610b16565b6001600160a01b038616600090815260068201602052604090205490915083111561039857600080fd5b6001600160a01b038516600090815260078201602090815260408083203384529091529020548311156103ca57600080fd5b6001600160a01b0384166103f95760405162461bcd60e51b81526004016103f090610d29565b60405180910390fd5b6001600160a01b038516600090815260068201602052604090205461041e9084610b3a565b6001600160a01b0386166000908152600683016020908152604080832093909355600784018152828220338352905220546104599084610b3a565b6001600160a01b0380871660009081526007840160209081526040808320338452825280832094909455918716815260068401909152205461049b9084610b5d565b6001600160a01b0380861660008181526006850160205260409081902093909355915190871690600080516020610eeb833981519152906104df9087815260200190565b60405180910390a3506001949350505050565b60006104fc610b16565b6002015460ff16919050565b6000610512610b16565b336000908152600591909101602052604090205460ff1661056d5760405162461bcd60e51b815260206004820152601560248201527415d61155104e881b9bdd08185d5d1a1bdc9a5e9959605a1b60448201526064016103f0565b6000610577610b16565b9050806003015483826004015461058e9190610d89565b11156105dc5760405162461bcd60e51b815260206004820152601b60248201527f4d696e742065786365656473206d6178696d756d20737570706c79000000000060448201526064016103f0565b6105ee836105e8610350565b90610b5d565b60048201556001600160a01b03841660009081526006820160205260409020546106189084610b5d565b6001600160a01b0385166000818152600684016020526040908190209290925590513090600080516020610eeb8339815191529061033c9087815260200190565b6000610663610b16565b6001600160a01b03909216600090815260069290920160205250604090205490565b61068d610b16565b6002015461010090046001600160a01b031633146106e05760405162461bcd60e51b815260206004820152601060248201526f2bac22aa209d103737ba1037bbb732b960811b60448201526064016103f0565b806106e9610b16565b6001600160a01b0393909316600090815260059093016020526040909220805460ff19169215159290921790915550565b6000610724610b16565b6002015461010090046001600160a01b0316919050565b6060610745610b16565b600101805461025690610cef565b600061075d610b16565b336000908152600591909101602052604090205460ff166107b85760405162461bcd60e51b815260206004820152601560248201527415d61155104e881b9bdd08185d5d1a1bdc9a5e9959605a1b60448201526064016103f0565b60006107c2610b16565b6001600160a01b038516600090815260068201602052604090205490915083111561082f5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e742062616c616e636520746f206275726e0000000060448201526064016103f0565b600481015461083e9084610b3a565b60048201556001600160a01b03841660009081526006820160205260409020546108689084610b3a565b6001600160a01b0385166000818152600684016020526040808220939093559151600080516020610eeb8339815191529061033c9087815260200190565b6000806108b1610b16565b3360009081526006820160205260409020549091508311156108d257600080fd5b6001600160a01b0384166108f85760405162461bcd60e51b81526004016103f090610d29565b3360009081526006820160205260409020546109149084610b3a565b336000908152600683016020526040808220929092556001600160a01b038616815220546109429084610b5d565b6001600160a01b0385166000818152600684016020526040908190209290925590513390600080516020610eeb8339815191529061033c9087815260200190565b600061098d610b16565b6001600160a01b03909216600090815260059290920160205250604090205460ff1690565b60006109bc610b16565b60030154905090565b60006109cf610b16565b6001600160a01b039384166000908152600791909101602090815260408083209490951682529290925250205490565b6000610a09610b16565b6002810154909150600160a81b900460ff1615610a685760405162461bcd60e51b815260206004820152601a60248201527f57584554413a20616c726561647920696e697469616c697a656400000000000060448201526064016103f0565b60038101829055600281018054610100600160a81b031916336101008102919091179091556000908152600582016020908152604091829020805460ff191660011790558151808301909252600c82526b57726170706564205865746160a01b908201528190610ad89082610e01565b50604080518082019091526005815264575845544160d81b60208201526001820190610b049082610e01565b50600201805460ff1916601217905550565b7fb143160265a9e359cc1c657916955958a34cf95de1779627bdd0ce8334ab57c990565b600082821115610b4c57610b4c610ec1565b610b568284610ed7565b9392505050565b600080610b6a8385610d89565b905083811015610b5657610b56610ec1565b600060208083528351808285015260005b81811015610ba957858101830151858201604001528201610b8d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610be157600080fd5b919050565b60008060408385031215610bf957600080fd5b610c0283610bca565b946020939093013593505050565b600080600060608486031215610c2557600080fd5b610c2e84610bca565b9250610c3c60208501610bca565b9150604084013590509250925092565b600060208284031215610c5e57600080fd5b610b5682610bca565b60008060408385031215610c7a57600080fd5b610c8383610bca565b915060208301358015158114610c9857600080fd5b809150509250929050565b60008060408385031215610cb657600080fd5b610cbf83610bca565b9150610ccd60208401610bca565b90509250929050565b600060208284031215610ce857600080fd5b5035919050565b600181811c90821680610d0357607f821691505b602082108103610d2357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602a908201527f57584554413a2043616e6e6f74207472616e7366657220746f20746865207a65604082015269726f206164647265737360b01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561034a5761034a610d73565b634e487b7160e01b600052604160045260246000fd5b601f821115610dfc57600081815260208120601f850160051c81016020861015610dd95750805b601f850160051c820191505b81811015610df857828155600101610de5565b5050505b505050565b815167ffffffffffffffff811115610e1b57610e1b610d9c565b610e2f81610e298454610cef565b84610db2565b602080601f831160018114610e645760008415610e4c5750858301515b600019600386901b1c1916600185901b178555610df8565b600085815260208120601f198616915b82811015610e9357888601518255948401946001909101908401610e74565b5085821015610eb15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052600160045260246000fd5b8181038181111561034a5761034a610d7356feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220d9264c1fbff415b283562a049c16f8e3361d44b124a8d2adb54eecf9c65392f864736f6c63430008110033

Deployed Bytecode Sourcemap

365:5047:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5084:101;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3113:267;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;3113:267:0;1004:187:1;1880:106:0;;;:::i;:::-;;;1342:25:1;;;1330:2;1315:18;1880:106:0;1196:177:1;4050:642:0;;;;;;:::i;:::-;;:::i;5306:103::-;;;:::i;2253:437::-;;;;;;:::i;:::-;;:::i;2115:130::-;;;;;;:::i;:::-;;:::i;4700:141::-;;;;;;:::i;:::-;;:::i;:::-;;4979:97;;;:::i;:::-;;;-1:-1:-1;;;;;2418:32:1;;;2400:51;;2388:2;2373:18;4979:97:0;2254:203:1;5193:105:0;;;:::i;2698:407::-;;;;;;:::i;:::-;;:::i;3541:501::-;;;;;;:::i;:::-;;:::i;4849:122::-;;;;;;:::i;:::-;;:::i;1998:105::-;;;:::i;3388:145::-;;;;;;:::i;:::-;;:::i;1514:358::-;;;;;;:::i;:::-;;:::i;5084:101::-;5122:13;5155:17;:15;:17::i;:::-;5148:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5084:101;:::o;3113:267::-;3180:4;3197:22;3222:17;:15;:17::i;:::-;3260:10;3250:21;;;;:9;;;:21;;;;;;;;-1:-1:-1;;;;;3250:31:0;;;;;;;;;;;;:43;;;3309:41;1342:25:1;;;3250:9:0;;-1:-1:-1;3250:31:0;;3309:41;;1315:18:1;3309:41:0;;;;;;;;3368:4;3361:11;;;3113:267;;;;;:::o;1880:106::-;1924:7;1948:17;:15;:17::i;:::-;:30;;;1941:37;;1880:106;:::o;4050:642::-;4136:4;4153:22;4178:17;:15;:17::i;:::-;-1:-1:-1;;;;;4227:16:0;;;;;;:10;;;:16;;;;;;4153:42;;-1:-1:-1;4214:29:0;;;4206:38;;;;;;-1:-1:-1;;;;;4276:15:0;;;;;;:9;;;:15;;;;;;;;4292:10;4276:27;;;;;;;;4263:40;;;4255:49;;;;;;-1:-1:-1;;;;;4323:22:0;;4315:77;;;;-1:-1:-1;;;4315:77:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;4428:16:0;;;;;;:10;;;:16;;;;;;:31;;4449:9;4428:20;:31::i;:::-;-1:-1:-1;;;;;4409:16:0;;;;;;:10;;;:16;;;;;;;;:50;;;;4500:9;;;:15;;;;;4516:10;4500:27;;;;;;:42;;4532:9;4500:31;:42::i;:::-;-1:-1:-1;;;;;4470:15:0;;;;;;;:9;;;:15;;;;;;;;4486:10;4470:27;;;;;;;:72;;;;4576:20;;;;;:10;;;:20;;;;;:35;;4601:9;4576:24;:35::i;:::-;-1:-1:-1;;;;;4553:20:0;;;;;;;:10;;;:20;;;;;;;:58;;;;4627:35;;;;;;-1:-1:-1;;;;;;;;;;;4627:35:0;;;4652:9;1342:25:1;;1330:2;1315:18;;1196:177;4627:35:0;;;;;;;;-1:-1:-1;4680:4:0;;4050:642;-1:-1:-1;;;;4050:642:0:o;5306:103::-;5348:7;5375:17;:15;:17::i;:::-;:26;;;;;;5306:103;-1:-1:-1;5306:103:0:o;2253:437::-;2333:4;1420:17;:15;:17::i;:::-;1449:10;1420:40;;;;:28;;;;;:40;;;;;;;;1412:74;;;;-1:-1:-1;;;1412:74:0;;3910:2:1;1412:74:0;;;3892:21:1;3949:2;3929:18;;;3922:30;-1:-1:-1;;;3968:18:1;;;3961:51;4029:18;;1412:74:0;3708:345:1;1412:74:0;2350:22:::1;2375:17;:15;:17::i;:::-;2350:42;;2438:1;:12;;;2428:6;2411:1;:14;;;:23;;;;:::i;:::-;:39;;2403:79;;;::::0;-1:-1:-1;;;2403:79:0;;4522:2:1;2403:79:0::1;::::0;::::1;4504:21:1::0;4561:2;4541:18;;;4534:30;4600:29;4580:18;;;4573:57;4647:18;;2403:79:0::1;4320:351:1::0;2403:79:0::1;2512:25;2530:6;2512:13;:11;:13::i;:::-;:17:::0;::::1;:25::i;:::-;2495:14;::::0;::::1;:42:::0;-1:-1:-1;;;;;2571:20:0;::::1;;::::0;;;:10:::1;::::0;::::1;:20;::::0;;;;;:32:::1;::::0;2596:6;2571:24:::1;:32::i;:::-;-1:-1:-1::0;;;;;2548:20:0;::::1;;::::0;;;:10:::1;::::0;::::1;:20;::::0;;;;;;:55;;;;2619:41;;2636:4:::1;::::0;-1:-1:-1;;;;;;;;;;;2619:41:0;::::1;::::0;2653:6;1342:25:1;;1330:2;1315:18;;1196:177;2115:130:0;2175:4;2199:17;:15;:17::i;:::-;-1:-1:-1;;;;;2199:38:0;;;;;;;:26;;;;;:38;;-1:-1:-1;2199:38:0;;;;;2115:130::o;4700:141::-;1303:17;:15;:17::i;:::-;:23;;;;;;-1:-1:-1;;;;;1303:23:0;1289:10;:37;1281:66;;;;-1:-1:-1;;;1281:66:0;;4878:2:1;1281:66:0;;;4860:21:1;4917:2;4897:18;;;4890:30;-1:-1:-1;;;4936:18:1;;;4929:46;4992:18;;1281:66:0;4676:340:1;1281:66:0;4826:7:::1;4785:17;:15;:17::i;:::-;-1:-1:-1::0;;;;;4785:38:0;;;::::1;;::::0;;;:28:::1;::::0;;::::1;:38;::::0;;;;;:48;;-1:-1:-1;;4785:48:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;-1:-1:-1;4700:141:0:o;4979:97::-;5018:7;5045:17;:15;:17::i;:::-;:23;;;;;;-1:-1:-1;;;;;5045:23:0;;;-1:-1:-1;4979:97:0:o;5193:105::-;5233:13;5266:17;:15;:17::i;:::-;:24;;5259:31;;;;;:::i;2698:407::-;2774:4;1420:17;:15;:17::i;:::-;1449:10;1420:40;;;;:28;;;;;:40;;;;;;;;1412:74;;;;-1:-1:-1;;;1412:74:0;;3910:2:1;1412:74:0;;;3892:21:1;3949:2;3929:18;;;3922:30;-1:-1:-1;;;3968:18:1;;;3961:51;4029:18;;1412:74:0;3708:345:1;1412:74:0;2791:22:::1;2816:17;:15;:17::i;:::-;-1:-1:-1::0;;;;;2852:16:0;::::1;;::::0;;;:10:::1;::::0;::::1;:16;::::0;;;;;2791:42;;-1:-1:-1;2852:26:0;-1:-1:-1;2852:26:0::1;2844:67;;;::::0;-1:-1:-1;;;2844:67:0;;5223:2:1;2844:67:0::1;::::0;::::1;5205:21:1::0;5262:2;5242:18;;;5235:30;5301;5281:18;;;5274:58;5349:18;;2844:67:0::1;5021:352:1::0;2844:67:0::1;2941:14;::::0;::::1;::::0;:26:::1;::::0;2960:6;2941:18:::1;:26::i;:::-;2924:14;::::0;::::1;:43:::0;-1:-1:-1;;;;;2997:16:0;::::1;;::::0;;;:10:::1;::::0;::::1;:16;::::0;;;;;:28:::1;::::0;3018:6;2997:20:::1;:28::i;:::-;-1:-1:-1::0;;;;;2978:16:0;::::1;;::::0;;;:10:::1;::::0;::::1;:16;::::0;;;;;:47;;;;3041:34;;-1:-1:-1;;;;;;;;;;;3041:34:0;::::1;::::0;3068:6;1342:25:1;;1330:2;1315:18;;1196:177;3541:501:0;3609:4;3626:22;3651:17;:15;:17::i;:::-;3711:10;3700:22;;;;:10;;;:22;;;;;;3626:42;;-1:-1:-1;3687:35:0;;;3679:44;;;;;;-1:-1:-1;;;;;3742:22:0;;3734:77;;;;-1:-1:-1;;;3734:77:0;;;;;;;:::i;:::-;3860:10;3849:22;;;;:10;;;:22;;;;;;:37;;3876:9;3849:26;:37::i;:::-;3835:10;3824:22;;;;:10;;;:22;;;;;;:62;;;;-1:-1:-1;;;;;3920:20:0;;;;;;:35;;3945:9;3920:24;:35::i;:::-;-1:-1:-1;;;;;3897:20:0;;;;;;:10;;;:20;;;;;;;:58;;;;3971:41;;3980:10;;-1:-1:-1;;;;;;;;;;;3971:41:0;;;4002:9;1342:25:1;;1330:2;1315:18;;1196:177;4849:122:0;4905:4;4929:17;:15;:17::i;:::-;-1:-1:-1;;;;;4929:34:0;;;;;;;:28;;;;;:34;;-1:-1:-1;4929:34:0;;;;;;;4849:122::o;1998:105::-;2040:7;2067:17;:15;:17::i;:::-;:28;;;2060:35;;1998:105;:::o;3388:145::-;3460:4;3484:17;:15;:17::i;:::-;-1:-1:-1;;;;;3484:31:0;;;;;;;:25;;;;;:31;;;;;;;;:41;;;;;;;;;;-1:-1:-1;3484:41:0;;;3388:145::o;1514:358::-;1565:22;1590:17;:15;:17::i;:::-;1627:13;;;;;;-1:-1:-1;;;;1627:13:0;;;;1626:14;1618:53;;;;-1:-1:-1;;;1618:53:0;;5580:2:1;1618:53:0;;;5562:21:1;5619:2;5599:18;;;5592:30;5658:28;5638:18;;;5631:56;5704:18;;1618:53:0;5378:350:1;1618:53:0;1682:12;;;:18;;;1711:7;;;:20;;-1:-1:-1;;;;;;1711:20:0;1721:10;1711:20;;;;;;;;;;-1:-1:-1;1742:24:0;;;:12;;;:24;;;;;;;;;:31;;-1:-1:-1;;1742:31:0;-1:-1:-1;1742:31:0;;;1784:23;;;;;;;;;;;-1:-1:-1;;;1784:23:0;;;;1682:12;;1784:23;;1682:12;1784:23;:::i;:::-;-1:-1:-1;1818:18:0;;;;;;;;;;;;-1:-1:-1;;;1818:18:0;;;;:8;;;;:18;;:8;:18;:::i;:::-;-1:-1:-1;1847:10:0;;:15;;-1:-1:-1;;1847:15:0;1860:2;1847:15;;;-1:-1:-1;1514:358:0:o;888:188::-;463:24;;888:188::o;86:119::-;144:7;174:1;169;:6;;162:14;;;;:::i;:::-;192:5;196:1;192;:5;:::i;:::-;185:12;86:119;-1:-1:-1;;;86:119:0:o;217:141::-;275:7;;305:5;309:1;305;:5;:::i;:::-;293:17;;331:1;326;:6;;319:14;;;;:::i;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1711:186::-;1770:6;1823:2;1811:9;1802:7;1798:23;1794:32;1791:52;;;1839:1;1836;1829:12;1791:52;1862:29;1881:9;1862:29;:::i;1902:347::-;1967:6;1975;2028:2;2016:9;2007:7;2003:23;1999:32;1996:52;;;2044:1;2041;2034:12;1996:52;2067:29;2086:9;2067:29;:::i;:::-;2057:39;;2146:2;2135:9;2131:18;2118:32;2193:5;2186:13;2179:21;2172:5;2169:32;2159:60;;2215:1;2212;2205:12;2159:60;2238:5;2228:15;;;1902:347;;;;;:::o;2462:260::-;2530:6;2538;2591:2;2579:9;2570:7;2566:23;2562:32;2559:52;;;2607:1;2604;2597:12;2559:52;2630:29;2649:9;2630:29;:::i;:::-;2620:39;;2678:38;2712:2;2701:9;2697:18;2678:38;:::i;:::-;2668:48;;2462:260;;;;;:::o;2727:180::-;2786:6;2839:2;2827:9;2818:7;2814:23;2810:32;2807:52;;;2855:1;2852;2845:12;2807:52;-1:-1:-1;2878:23:1;;2727:180;-1:-1:-1;2727:180:1:o;2912:380::-;2991:1;2987:12;;;;3034;;;3055:61;;3109:4;3101:6;3097:17;3087:27;;3055:61;3162:2;3154:6;3151:14;3131:18;3128:38;3125:161;;3208:10;3203:3;3199:20;3196:1;3189:31;3243:4;3240:1;3233:15;3271:4;3268:1;3261:15;3125:161;;2912:380;;;:::o;3297:406::-;3499:2;3481:21;;;3538:2;3518:18;;;3511:30;3577:34;3572:2;3557:18;;3550:62;-1:-1:-1;;;3643:2:1;3628:18;;3621:40;3693:3;3678:19;;3297:406::o;4058:127::-;4119:10;4114:3;4110:20;4107:1;4100:31;4150:4;4147:1;4140:15;4174:4;4171:1;4164:15;4190:125;4255:9;;;4276:10;;;4273:36;;;4289:18;;:::i;5733:127::-;5794:10;5789:3;5785:20;5782:1;5775:31;5825:4;5822:1;5815:15;5849:4;5846:1;5839:15;5991:545;6093:2;6088:3;6085:11;6082:448;;;6129:1;6154:5;6150:2;6143:17;6199:4;6195:2;6185:19;6269:2;6257:10;6253:19;6250:1;6246:27;6240:4;6236:38;6305:4;6293:10;6290:20;6287:47;;;-1:-1:-1;6328:4:1;6287:47;6383:2;6378:3;6374:12;6371:1;6367:20;6361:4;6357:31;6347:41;;6438:82;6456:2;6449:5;6446:13;6438:82;;;6501:17;;;6482:1;6471:13;6438:82;;;6442:3;;;6082:448;5991:545;;;:::o;6712:1352::-;6838:3;6832:10;6865:18;6857:6;6854:30;6851:56;;;6887:18;;:::i;:::-;6916:97;7006:6;6966:38;6998:4;6992:11;6966:38;:::i;:::-;6960:4;6916:97;:::i;:::-;7068:4;;7132:2;7121:14;;7149:1;7144:663;;;;7851:1;7868:6;7865:89;;;-1:-1:-1;7920:19:1;;;7914:26;7865:89;-1:-1:-1;;6669:1:1;6665:11;;;6661:24;6657:29;6647:40;6693:1;6689:11;;;6644:57;7967:81;;7114:944;;7144:663;5938:1;5931:14;;;5975:4;5962:18;;-1:-1:-1;;7180:20:1;;;7298:236;7312:7;7309:1;7306:14;7298:236;;;7401:19;;;7395:26;7380:42;;7493:27;;;;7461:1;7449:14;;;;7328:19;;7298:236;;;7302:3;7562:6;7553:7;7550:19;7547:201;;;7623:19;;;7617:26;-1:-1:-1;;7706:1:1;7702:14;;;7718:3;7698:24;7694:37;7690:42;7675:58;7660:74;;7547:201;-1:-1:-1;;;;;7794:1:1;7778:14;;;7774:22;7761:36;;-1:-1:-1;6712:1352:1:o;8069:127::-;8130:10;8125:3;8121:20;8118:1;8111:31;8161:4;8158:1;8151:15;8185:4;8182:1;8175:15;8201:128;8268:9;;;8289:11;;;8286:37;;;8303:18;;:::i

Swarm Source

ipfs://d9264c1fbff415b283562a049c16f8e3361d44b124a8d2adb54eecf9c65392f8

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.