ETH Price: $2,120.54 (+2.61%)

Contract

0x5B2dDdd6f4D5E2DfD815c7419CC1A9625AeA1617
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Balance146234062022-04-20 18:03:451424 days ago1650477825IN
0x5B2dDdd6...25AeA1617
0 ETH0.0040600575
Withdraw Balance146234062022-04-20 18:03:451424 days ago1650477825IN
0x5B2dDdd6...25AeA1617
0 ETH0.0027762775
Set Active142963602022-02-28 18:51:241475 days ago1646074284IN
0x5B2dDdd6...25AeA1617
0 ETH0.0021136772.87265621
Swap142829572022-02-26 17:02:591477 days ago1645894979IN
0x5B2dDdd6...25AeA1617
0 ETH0.0034960246.9063999
Swap140697922022-01-24 17:50:251510 days ago1643046625IN
0x5B2dDdd6...25AeA1617
0 ETH0.01065807143
Swap140388942022-01-19 23:11:321515 days ago1642633892IN
0x5B2dDdd6...25AeA1617
0 ETH0.01017728136.54923315
Swap139268772022-01-02 15:36:571532 days ago1641137817IN
0x5B2dDdd6...25AeA1617
0 ETH0.0051094368.54260068
Swap139210012022-01-01 17:55:571533 days ago1641059757IN
0x5B2dDdd6...25AeA1617
0 ETH0.0048263764.75576385
Swap139064082021-12-30 11:33:161535 days ago1640863996IN
0x5B2dDdd6...25AeA1617
0 ETH0.00803102107.77005971
Swap138745122021-12-25 13:07:391540 days ago1640437659IN
0x5B2dDdd6...25AeA1617
0 ETH0.0050628167.92803595
Swap138500532021-12-21 18:07:551544 days ago1640110075IN
0x5B2dDdd6...25AeA1617
0 ETH0.0066436189.12333947
Swap138409562021-12-20 8:25:051546 days ago1639988705IN
0x5B2dDdd6...25AeA1617
0 ETH0.0031423842.16153108
Swap138288452021-12-18 11:23:191547 days ago1639826599IN
0x5B2dDdd6...25AeA1617
0 ETH0.0027992337.5574921
Swap138167542021-12-16 14:37:561549 days ago1639665476IN
0x5B2dDdd6...25AeA1617
0 ETH0.0046273262.10507893
Swap137935642021-12-13 0:09:261553 days ago1639354166IN
0x5B2dDdd6...25AeA1617
0 ETH0.0043551858.44311592
Swap137732572021-12-09 20:50:001556 days ago1639083000IN
0x5B2dDdd6...25AeA1617
0 ETH0.0049240966.0668014
Swap137713522021-12-09 13:41:301556 days ago1639057290IN
0x5B2dDdd6...25AeA1617
0 ETH0.0051096468.55642765
Swap137672922021-12-08 21:57:511557 days ago1639000671IN
0x5B2dDdd6...25AeA1617
0 ETH0.0056296575.53338354
Swap137459232021-12-05 11:55:391560 days ago1638705339IN
0x5B2dDdd6...25AeA1617
0 ETH0.0055469574.42374023
Swap137354422021-12-03 19:34:401562 days ago1638560080IN
0x5B2dDdd6...25AeA1617
0 ETH0.0065426987.78366061
Swap137056902021-11-29 1:09:211567 days ago1638148161IN
0x5B2dDdd6...25AeA1617
0 ETH0.00965222129.50444002
Swap136766582021-11-24 10:20:181572 days ago1637749218IN
0x5B2dDdd6...25AeA1617
0 ETH0.0070158294.16204099
Swap136766072021-11-24 10:11:151572 days ago1637748675IN
0x5B2dDdd6...25AeA1617
0 ETH0.0056888476.32757255
Swap136587802021-11-21 14:44:191574 days ago1637505859IN
0x5B2dDdd6...25AeA1617
0 ETH0.0068327491.67530102
Swap136576202021-11-21 10:29:471575 days ago1637490587IN
0x5B2dDdd6...25AeA1617
0 ETH0.005913579.32906731
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
Swap

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-08-30
*/

// File: node_modules\@openzeppelin\contracts\utils\Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin\contracts\access\Ownable.sol

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

// File: contracts\Swap.sol

pragma solidity ^0.8.0;

contract Swap is Ownable {
    address public token0;
    address public token1;

    bool public isActive;

    constructor() {
        isActive = false;
    }

    function initialize(address _token0, address _token1) external onlyOwner {
        token0 = _token0;
        token1 = _token1;
    }

    function setActive(bool _isActive) external onlyOwner {
        isActive = _isActive;
    }

    function swap(uint256 _amount) external {
        require(isActive, "Swap is not active");
        require(msg.sender != address(0), "Invalid request");
        require(_amount > 0, "Invalid amount");

        IERC20(token0).transferFrom(msg.sender, address(this), _amount);
        IERC20(token1).transfer(msg.sender, _amount);
    }

    function withdrawBalance(
        address _recipient,
        address _token,
        uint256 _amount
    ) external onlyOwner {
        require(_recipient != address(0), "Invalid Target Address");
        require(_token != address(0), "Invalid Token Address");
        require(_amount > 0, "Amount should be bigger than 0");

        IERC20 token = IERC20(_token);
        require(token.transfer(_recipient, _amount), "Withdraw failed");
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060006100216100df60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506000600260146101000a81548160ff0219169083151502179055506100e7565b600033905090565b61123c806100f66000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461012157806394b918de1461013f578063acec338a1461015b578063d21220a714610177578063f2fde38b146101955761009e565b80630dfe1681146100a357806322f3e2d4146100c157806345d9a1ce146100df578063485cc955146100fb578063715018a614610117575b600080fd5b6100ab6101b1565b6040516100b89190610fb2565b60405180910390f35b6100c96101d7565b6040516100d6919061102d565b60405180910390f35b6100f960048036038101906100f49190610c55565b6101ea565b005b61011560048036038101906101109190610c19565b610460565b005b61011f610562565b005b61012961069c565b6040516101369190610fb2565b60405180910390f35b61015960048036038101906101549190610cf6565b6106c5565b005b61017560048036038101906101709190610ca4565b61092c565b005b61017f6109c5565b60405161018c9190610fb2565b60405180910390f35b6101af60048036038101906101aa9190610bf0565b6109eb565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260149054906101000a900460ff1681565b6101f2610b94565b73ffffffffffffffffffffffffffffffffffffffff1661021061069c565b73ffffffffffffffffffffffffffffffffffffffff1614610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90611108565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156102d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cd90611128565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033d906110e8565b60405180910390fd5b60008111610389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038090611148565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b81526004016103c9929190611004565b602060405180830381600087803b1580156103e357600080fd5b505af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190610ccd565b61045a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610451906110a8565b60405180910390fd5b50505050565b610468610b94565b73ffffffffffffffffffffffffffffffffffffffff1661048661069c565b73ffffffffffffffffffffffffffffffffffffffff16146104dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d390611108565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61056a610b94565b73ffffffffffffffffffffffffffffffffffffffff1661058861069c565b73ffffffffffffffffffffffffffffffffffffffff16146105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d590611108565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260149054906101000a900460ff16610714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070b90611068565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077b90611048565b60405180910390fd5b600081116107c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107be906110c8565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161082693929190610fcd565b602060405180830381600087803b15801561084057600080fd5b505af1158015610854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108789190610ccd565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016108d6929190611004565b602060405180830381600087803b1580156108f057600080fd5b505af1158015610904573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109289190610ccd565b5050565b610934610b94565b73ffffffffffffffffffffffffffffffffffffffff1661095261069c565b73ffffffffffffffffffffffffffffffffffffffff16146109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f90611108565b60405180910390fd5b80600260146101000a81548160ff02191690831515021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109f3610b94565b73ffffffffffffffffffffffffffffffffffffffff16610a1161069c565b73ffffffffffffffffffffffffffffffffffffffff1614610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e90611108565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace90611088565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600081359050610bab816111c1565b92915050565b600081359050610bc0816111d8565b92915050565b600081519050610bd5816111d8565b92915050565b600081359050610bea816111ef565b92915050565b600060208284031215610c0257600080fd5b6000610c1084828501610b9c565b91505092915050565b60008060408385031215610c2c57600080fd5b6000610c3a85828601610b9c565b9250506020610c4b85828601610b9c565b9150509250929050565b600080600060608486031215610c6a57600080fd5b6000610c7886828701610b9c565b9350506020610c8986828701610b9c565b9250506040610c9a86828701610bdb565b9150509250925092565b600060208284031215610cb657600080fd5b6000610cc484828501610bb1565b91505092915050565b600060208284031215610cdf57600080fd5b6000610ced84828501610bc6565b91505092915050565b600060208284031215610d0857600080fd5b6000610d1684828501610bdb565b91505092915050565b610d2881611179565b82525050565b610d378161118b565b82525050565b6000610d4a600f83611168565b91507f496e76616c6964207265717565737400000000000000000000000000000000006000830152602082019050919050565b6000610d8a601283611168565b91507f53776170206973206e6f742061637469766500000000000000000000000000006000830152602082019050919050565b6000610dca602683611168565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e30600f83611168565b91507f5769746864726177206661696c656400000000000000000000000000000000006000830152602082019050919050565b6000610e70600e83611168565b91507f496e76616c696420616d6f756e740000000000000000000000000000000000006000830152602082019050919050565b6000610eb0601583611168565b91507f496e76616c696420546f6b656e204164647265737300000000000000000000006000830152602082019050919050565b6000610ef0602083611168565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000610f30601683611168565b91507f496e76616c6964205461726765742041646472657373000000000000000000006000830152602082019050919050565b6000610f70601e83611168565b91507f416d6f756e742073686f756c6420626520626967676572207468616e203000006000830152602082019050919050565b610fac816111b7565b82525050565b6000602082019050610fc76000830184610d1f565b92915050565b6000606082019050610fe26000830186610d1f565b610fef6020830185610d1f565b610ffc6040830184610fa3565b949350505050565b60006040820190506110196000830185610d1f565b6110266020830184610fa3565b9392505050565b60006020820190506110426000830184610d2e565b92915050565b6000602082019050818103600083015261106181610d3d565b9050919050565b6000602082019050818103600083015261108181610d7d565b9050919050565b600060208201905081810360008301526110a181610dbd565b9050919050565b600060208201905081810360008301526110c181610e23565b9050919050565b600060208201905081810360008301526110e181610e63565b9050919050565b6000602082019050818103600083015261110181610ea3565b9050919050565b6000602082019050818103600083015261112181610ee3565b9050919050565b6000602082019050818103600083015261114181610f23565b9050919050565b6000602082019050818103600083015261116181610f63565b9050919050565b600082825260208201905092915050565b600061118482611197565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6111ca81611179565b81146111d557600080fd5b50565b6111e18161118b565b81146111ec57600080fd5b50565b6111f8816111b7565b811461120357600080fd5b5056fea264697066735822122087dc8c834ad6874a89c0095a66bbe4617e1e124f8ae5b5963c27f3e462036ab364736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461012157806394b918de1461013f578063acec338a1461015b578063d21220a714610177578063f2fde38b146101955761009e565b80630dfe1681146100a357806322f3e2d4146100c157806345d9a1ce146100df578063485cc955146100fb578063715018a614610117575b600080fd5b6100ab6101b1565b6040516100b89190610fb2565b60405180910390f35b6100c96101d7565b6040516100d6919061102d565b60405180910390f35b6100f960048036038101906100f49190610c55565b6101ea565b005b61011560048036038101906101109190610c19565b610460565b005b61011f610562565b005b61012961069c565b6040516101369190610fb2565b60405180910390f35b61015960048036038101906101549190610cf6565b6106c5565b005b61017560048036038101906101709190610ca4565b61092c565b005b61017f6109c5565b60405161018c9190610fb2565b60405180910390f35b6101af60048036038101906101aa9190610bf0565b6109eb565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260149054906101000a900460ff1681565b6101f2610b94565b73ffffffffffffffffffffffffffffffffffffffff1661021061069c565b73ffffffffffffffffffffffffffffffffffffffff1614610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90611108565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156102d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cd90611128565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033d906110e8565b60405180910390fd5b60008111610389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038090611148565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b81526004016103c9929190611004565b602060405180830381600087803b1580156103e357600080fd5b505af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190610ccd565b61045a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610451906110a8565b60405180910390fd5b50505050565b610468610b94565b73ffffffffffffffffffffffffffffffffffffffff1661048661069c565b73ffffffffffffffffffffffffffffffffffffffff16146104dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d390611108565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61056a610b94565b73ffffffffffffffffffffffffffffffffffffffff1661058861069c565b73ffffffffffffffffffffffffffffffffffffffff16146105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d590611108565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260149054906101000a900460ff16610714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070b90611068565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077b90611048565b60405180910390fd5b600081116107c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107be906110c8565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161082693929190610fcd565b602060405180830381600087803b15801561084057600080fd5b505af1158015610854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108789190610ccd565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016108d6929190611004565b602060405180830381600087803b1580156108f057600080fd5b505af1158015610904573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109289190610ccd565b5050565b610934610b94565b73ffffffffffffffffffffffffffffffffffffffff1661095261069c565b73ffffffffffffffffffffffffffffffffffffffff16146109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f90611108565b60405180910390fd5b80600260146101000a81548160ff02191690831515021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109f3610b94565b73ffffffffffffffffffffffffffffffffffffffff16610a1161069c565b73ffffffffffffffffffffffffffffffffffffffff1614610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e90611108565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace90611088565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600081359050610bab816111c1565b92915050565b600081359050610bc0816111d8565b92915050565b600081519050610bd5816111d8565b92915050565b600081359050610bea816111ef565b92915050565b600060208284031215610c0257600080fd5b6000610c1084828501610b9c565b91505092915050565b60008060408385031215610c2c57600080fd5b6000610c3a85828601610b9c565b9250506020610c4b85828601610b9c565b9150509250929050565b600080600060608486031215610c6a57600080fd5b6000610c7886828701610b9c565b9350506020610c8986828701610b9c565b9250506040610c9a86828701610bdb565b9150509250925092565b600060208284031215610cb657600080fd5b6000610cc484828501610bb1565b91505092915050565b600060208284031215610cdf57600080fd5b6000610ced84828501610bc6565b91505092915050565b600060208284031215610d0857600080fd5b6000610d1684828501610bdb565b91505092915050565b610d2881611179565b82525050565b610d378161118b565b82525050565b6000610d4a600f83611168565b91507f496e76616c6964207265717565737400000000000000000000000000000000006000830152602082019050919050565b6000610d8a601283611168565b91507f53776170206973206e6f742061637469766500000000000000000000000000006000830152602082019050919050565b6000610dca602683611168565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e30600f83611168565b91507f5769746864726177206661696c656400000000000000000000000000000000006000830152602082019050919050565b6000610e70600e83611168565b91507f496e76616c696420616d6f756e740000000000000000000000000000000000006000830152602082019050919050565b6000610eb0601583611168565b91507f496e76616c696420546f6b656e204164647265737300000000000000000000006000830152602082019050919050565b6000610ef0602083611168565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000610f30601683611168565b91507f496e76616c6964205461726765742041646472657373000000000000000000006000830152602082019050919050565b6000610f70601e83611168565b91507f416d6f756e742073686f756c6420626520626967676572207468616e203000006000830152602082019050919050565b610fac816111b7565b82525050565b6000602082019050610fc76000830184610d1f565b92915050565b6000606082019050610fe26000830186610d1f565b610fef6020830185610d1f565b610ffc6040830184610fa3565b949350505050565b60006040820190506110196000830185610d1f565b6110266020830184610fa3565b9392505050565b60006020820190506110426000830184610d2e565b92915050565b6000602082019050818103600083015261106181610d3d565b9050919050565b6000602082019050818103600083015261108181610d7d565b9050919050565b600060208201905081810360008301526110a181610dbd565b9050919050565b600060208201905081810360008301526110c181610e23565b9050919050565b600060208201905081810360008301526110e181610e63565b9050919050565b6000602082019050818103600083015261110181610ea3565b9050919050565b6000602082019050818103600083015261112181610ee3565b9050919050565b6000602082019050818103600083015261114181610f23565b9050919050565b6000602082019050818103600083015261116181610f63565b9050919050565b600082825260208201905092915050565b600061118482611197565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6111ca81611179565b81146111d557600080fd5b50565b6111e18161118b565b81146111ec57600080fd5b50565b6111f8816111b7565b811461120357600080fd5b5056fea264697066735822122087dc8c834ad6874a89c0095a66bbe4617e1e124f8ae5b5963c27f3e462036ab364736f6c63430008000033

Deployed Bytecode Sourcemap

6342:1227:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6374:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6432:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7111:455;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6518:135;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2781:148;;;:::i;:::-;;2130:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6762:341;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6661:93;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6402:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3084:281;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6374:21;;;;;;;;;;;;;:::o;6432:20::-;;;;;;;;;;;;;:::o;7111:455::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;7283:1:::1;7261:24;;:10;:24;;;;7253:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;7349:1;7331:20;;:6;:20;;;;7323:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;7406:1;7396:7;:11;7388:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;7455:12;7477:6;7455:29;;7503:5;:14;;;7518:10;7530:7;7503:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7495:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;2421:1;7111:455:::0;;;:::o;6518:135::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;6611:7:::1;6602:6;;:16;;;;;;;;;;;;;;;;;;6638:7;6629:6;;:16;;;;;;;;;;;;;;;;;;6518:135:::0;;:::o;2781:148::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2888:1:::1;2851:40;;2872:6;::::0;::::1;;;;;;;;2851:40;;;;;;;;;;;;2919:1;2902:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2781:148::o:0;2130:87::-;2176:7;2203:6;;;;;;;;;;;2196:13;;2130:87;:::o;6762:341::-;6821:8;;;;;;;;;;;6813:39;;;;;;;;;;;;:::i;:::-;;;;;;;;;6893:1;6871:24;;:10;:24;;;;6863:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;6944:1;6934:7;:11;6926:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;6984:6;;;;;;;;;;;6977:27;;;7005:10;7025:4;7032:7;6977:63;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7058:6;;;;;;;;;;;7051:23;;;7075:10;7087:7;7051:44;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6762:341;:::o;6661:93::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;6737:9:::1;6726:8;;:20;;;;;;;;;;;;;;;;;;6661:93:::0;:::o;6402:21::-;;;;;;;;;;;;;:::o;3084:281::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;3207:1:::1;3187:22;;:8;:22;;;;3165:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;3320:8;3291:38;;3312:6;::::0;::::1;;;;;;;;3291:38;;;;;;;;;;;;3349:8;3340:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;3084:281:::0;:::o;668:98::-;721:7;748:10;741:17;;668:98;:::o;7:139:1:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:133::-;;233:6;220:20;211:29;;249:30;273:5;249:30;:::i;:::-;201:84;;;;:::o;291:137::-;;376:6;370:13;361:22;;392:30;416:5;392:30;:::i;:::-;351:77;;;;:::o;434:139::-;;518:6;505:20;496:29;;534:33;561:5;534:33;:::i;:::-;486:87;;;;:::o;579:262::-;;687:2;675:9;666:7;662:23;658:32;655:2;;;703:1;700;693:12;655:2;746:1;771:53;816:7;807:6;796:9;792:22;771:53;:::i;:::-;761:63;;717:117;645:196;;;;:::o;847:407::-;;;972:2;960:9;951:7;947:23;943:32;940:2;;;988:1;985;978:12;940:2;1031:1;1056:53;1101:7;1092:6;1081:9;1077:22;1056:53;:::i;:::-;1046:63;;1002:117;1158:2;1184:53;1229:7;1220:6;1209:9;1205:22;1184:53;:::i;:::-;1174:63;;1129:118;930:324;;;;;:::o;1260:552::-;;;;1402:2;1390:9;1381:7;1377:23;1373:32;1370:2;;;1418:1;1415;1408:12;1370:2;1461:1;1486:53;1531:7;1522:6;1511:9;1507:22;1486:53;:::i;:::-;1476:63;;1432:117;1588:2;1614:53;1659:7;1650:6;1639:9;1635:22;1614:53;:::i;:::-;1604:63;;1559:118;1716:2;1742:53;1787:7;1778:6;1767:9;1763:22;1742:53;:::i;:::-;1732:63;;1687:118;1360:452;;;;;:::o;1818:256::-;;1923:2;1911:9;1902:7;1898:23;1894:32;1891:2;;;1939:1;1936;1929:12;1891:2;1982:1;2007:50;2049:7;2040:6;2029:9;2025:22;2007:50;:::i;:::-;1997:60;;1953:114;1881:193;;;;:::o;2080:278::-;;2196:2;2184:9;2175:7;2171:23;2167:32;2164:2;;;2212:1;2209;2202:12;2164:2;2255:1;2280:61;2333:7;2324:6;2313:9;2309:22;2280:61;:::i;:::-;2270:71;;2226:125;2154:204;;;;:::o;2364:262::-;;2472:2;2460:9;2451:7;2447:23;2443:32;2440:2;;;2488:1;2485;2478:12;2440:2;2531:1;2556:53;2601:7;2592:6;2581:9;2577:22;2556:53;:::i;:::-;2546:63;;2502:117;2430:196;;;;:::o;2632:118::-;2719:24;2737:5;2719:24;:::i;:::-;2714:3;2707:37;2697:53;;:::o;2756:109::-;2837:21;2852:5;2837:21;:::i;:::-;2832:3;2825:34;2815:50;;:::o;2871:313::-;;3034:67;3098:2;3093:3;3034:67;:::i;:::-;3027:74;;3131:17;3127:1;3122:3;3118:11;3111:38;3175:2;3170:3;3166:12;3159:19;;3017:167;;;:::o;3190:316::-;;3353:67;3417:2;3412:3;3353:67;:::i;:::-;3346:74;;3450:20;3446:1;3441:3;3437:11;3430:41;3497:2;3492:3;3488:12;3481:19;;3336:170;;;:::o;3512:370::-;;3675:67;3739:2;3734:3;3675:67;:::i;:::-;3668:74;;3772:34;3768:1;3763:3;3759:11;3752:55;3838:8;3833:2;3828:3;3824:12;3817:30;3873:2;3868:3;3864:12;3857:19;;3658:224;;;:::o;3888:313::-;;4051:67;4115:2;4110:3;4051:67;:::i;:::-;4044:74;;4148:17;4144:1;4139:3;4135:11;4128:38;4192:2;4187:3;4183:12;4176:19;;4034:167;;;:::o;4207:312::-;;4370:67;4434:2;4429:3;4370:67;:::i;:::-;4363:74;;4467:16;4463:1;4458:3;4454:11;4447:37;4510:2;4505:3;4501:12;4494:19;;4353:166;;;:::o;4525:319::-;;4688:67;4752:2;4747:3;4688:67;:::i;:::-;4681:74;;4785:23;4781:1;4776:3;4772:11;4765:44;4835:2;4830:3;4826:12;4819:19;;4671:173;;;:::o;4850:330::-;;5013:67;5077:2;5072:3;5013:67;:::i;:::-;5006:74;;5110:34;5106:1;5101:3;5097:11;5090:55;5171:2;5166:3;5162:12;5155:19;;4996:184;;;:::o;5186:320::-;;5349:67;5413:2;5408:3;5349:67;:::i;:::-;5342:74;;5446:24;5442:1;5437:3;5433:11;5426:45;5497:2;5492:3;5488:12;5481:19;;5332:174;;;:::o;5512:328::-;;5675:67;5739:2;5734:3;5675:67;:::i;:::-;5668:74;;5772:32;5768:1;5763:3;5759:11;5752:53;5831:2;5826:3;5822:12;5815:19;;5658:182;;;:::o;5846:118::-;5933:24;5951:5;5933:24;:::i;:::-;5928:3;5921:37;5911:53;;:::o;5970:222::-;;6101:2;6090:9;6086:18;6078:26;;6114:71;6182:1;6171:9;6167:17;6158:6;6114:71;:::i;:::-;6068:124;;;;:::o;6198:442::-;;6385:2;6374:9;6370:18;6362:26;;6398:71;6466:1;6455:9;6451:17;6442:6;6398:71;:::i;:::-;6479:72;6547:2;6536:9;6532:18;6523:6;6479:72;:::i;:::-;6561;6629:2;6618:9;6614:18;6605:6;6561:72;:::i;:::-;6352:288;;;;;;:::o;6646:332::-;;6805:2;6794:9;6790:18;6782:26;;6818:71;6886:1;6875:9;6871:17;6862:6;6818:71;:::i;:::-;6899:72;6967:2;6956:9;6952:18;6943:6;6899:72;:::i;:::-;6772:206;;;;;:::o;6984:210::-;;7109:2;7098:9;7094:18;7086:26;;7122:65;7184:1;7173:9;7169:17;7160:6;7122:65;:::i;:::-;7076:118;;;;:::o;7200:419::-;;7404:2;7393:9;7389:18;7381:26;;7453:9;7447:4;7443:20;7439:1;7428:9;7424:17;7417:47;7481:131;7607:4;7481:131;:::i;:::-;7473:139;;7371:248;;;:::o;7625:419::-;;7829:2;7818:9;7814:18;7806:26;;7878:9;7872:4;7868:20;7864:1;7853:9;7849:17;7842:47;7906:131;8032:4;7906:131;:::i;:::-;7898:139;;7796:248;;;:::o;8050:419::-;;8254:2;8243:9;8239:18;8231:26;;8303:9;8297:4;8293:20;8289:1;8278:9;8274:17;8267:47;8331:131;8457:4;8331:131;:::i;:::-;8323:139;;8221:248;;;:::o;8475:419::-;;8679:2;8668:9;8664:18;8656:26;;8728:9;8722:4;8718:20;8714:1;8703:9;8699:17;8692:47;8756:131;8882:4;8756:131;:::i;:::-;8748:139;;8646:248;;;:::o;8900:419::-;;9104:2;9093:9;9089:18;9081:26;;9153:9;9147:4;9143:20;9139:1;9128:9;9124:17;9117:47;9181:131;9307:4;9181:131;:::i;:::-;9173:139;;9071:248;;;:::o;9325:419::-;;9529:2;9518:9;9514:18;9506:26;;9578:9;9572:4;9568:20;9564:1;9553:9;9549:17;9542:47;9606:131;9732:4;9606:131;:::i;:::-;9598:139;;9496:248;;;:::o;9750:419::-;;9954:2;9943:9;9939:18;9931:26;;10003:9;9997:4;9993:20;9989:1;9978:9;9974:17;9967:47;10031:131;10157:4;10031:131;:::i;:::-;10023:139;;9921:248;;;:::o;10175:419::-;;10379:2;10368:9;10364:18;10356:26;;10428:9;10422:4;10418:20;10414:1;10403:9;10399:17;10392:47;10456:131;10582:4;10456:131;:::i;:::-;10448:139;;10346:248;;;:::o;10600:419::-;;10804:2;10793:9;10789:18;10781:26;;10853:9;10847:4;10843:20;10839:1;10828:9;10824:17;10817:47;10881:131;11007:4;10881:131;:::i;:::-;10873:139;;10771:248;;;:::o;11025:169::-;;11143:6;11138:3;11131:19;11183:4;11178:3;11174:14;11159:29;;11121:73;;;;:::o;11200:96::-;;11266:24;11284:5;11266:24;:::i;:::-;11255:35;;11245:51;;;:::o;11302:90::-;;11379:5;11372:13;11365:21;11354:32;;11344:48;;;:::o;11398:126::-;;11475:42;11468:5;11464:54;11453:65;;11443:81;;;:::o;11530:77::-;;11596:5;11585:16;;11575:32;;;:::o;11613:122::-;11686:24;11704:5;11686:24;:::i;:::-;11679:5;11676:35;11666:2;;11725:1;11722;11715:12;11666:2;11656:79;:::o;11741:116::-;11811:21;11826:5;11811:21;:::i;:::-;11804:5;11801:32;11791:2;;11847:1;11844;11837:12;11791:2;11781:76;:::o;11863:122::-;11936:24;11954:5;11936:24;:::i;:::-;11929:5;11926:35;11916:2;;11975:1;11972;11965:12;11916:2;11906:79;:::o

Swarm Source

ipfs://87dc8c834ad6874a89c0095a66bbe4617e1e124f8ae5b5963c27f3e462036ab3

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.