ETH Price: $2,369.84 (-4.02%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Convert Tokens166630832023-02-19 13:58:59624 days ago1676815139IN
0xA044F15f...7bc3228a5
0 ETH0.0006538527.51083795
Convert Tokens166044062023-02-11 8:44:35632 days ago1676105075IN
0xA044F15f...7bc3228a5
0 ETH0.0004482918.86209238
Convert Tokens166024112023-02-11 2:02:47632 days ago1676080967IN
0xA044F15f...7bc3228a5
0 ETH0.0006065725.52177393
Convert Tokens165985582023-02-10 13:08:23633 days ago1676034503IN
0xA044F15f...7bc3228a5
0 ETH0.0006174625.97977679
Convert Tokens165921832023-02-09 15:46:59634 days ago1675957619IN
0xA044F15f...7bc3228a5
0 ETH0.0009042838.04809341
Convert Tokens165921772023-02-09 15:45:47634 days ago1675957547IN
0xA044F15f...7bc3228a5
0 ETH0.0008904637.46645964
Convert Tokens165921712023-02-09 15:44:35634 days ago1675957475IN
0xA044F15f...7bc3228a5
0 ETH0.0010136342.64878604
Convert Tokens165921702023-02-09 15:44:23634 days ago1675957463IN
0xA044F15f...7bc3228a5
0 ETH0.0009446639.74677478
Convert Tokens165717272023-02-06 19:05:59637 days ago1675710359IN
0xA044F15f...7bc3228a5
0 ETH0.0009472339.8550461
Convert Tokens165717252023-02-06 19:05:35637 days ago1675710335IN
0xA044F15f...7bc3228a5
0 ETH0.0009548140.17398707
Convert Tokens165672922023-02-06 4:15:23637 days ago1675656923IN
0xA044F15f...7bc3228a5
0 ETH0.0004762920.04021688
Convert Tokens165672892023-02-06 4:14:47637 days ago1675656887IN
0xA044F15f...7bc3228a5
0 ETH0.0004325318.19888751
Convert Tokens165672402023-02-06 4:04:59637 days ago1675656299IN
0xA044F15f...7bc3228a5
0 ETH0.0004558219.1787425
Convert Tokens165671912023-02-06 3:55:11637 days ago1675655711IN
0xA044F15f...7bc3228a5
0 ETH0.0004521419.02389512
Convert Tokens165671912023-02-06 3:55:11637 days ago1675655711IN
0xA044F15f...7bc3228a5
0 ETH0.0004521419.02389512
Convert Tokens165671902023-02-06 3:54:59637 days ago1675655699IN
0xA044F15f...7bc3228a5
0 ETH0.0004706319.80215529
Withdraw Tokens165365722023-02-01 21:12:35642 days ago1675285955IN
0xA044F15f...7bc3228a5
0 ETH0.0024715749.7289712
Withdraw Tokens165365712023-02-01 21:12:23642 days ago1675285943IN
0xA044F15f...7bc3228a5
0 ETH0.0025402448.97239772
Convert Tokens165353212023-02-01 17:01:23642 days ago1675270883IN
0xA044F15f...7bc3228a5
0 ETH0.0005931224.95593847
Convert Tokens165350292023-02-01 16:02:35642 days ago1675267355IN
0xA044F15f...7bc3228a5
0 ETH0.0007689132.35241134
Convert Tokens165350162023-02-01 15:59:59642 days ago1675267199IN
0xA044F15f...7bc3228a5
0 ETH0.0005220821.96699734
Set Contract Sta...165332092023-02-01 9:55:47642 days ago1675245347IN
0xA044F15f...7bc3228a5
0 ETH0.0004975118.43810101
Convert Tokens165326542023-02-01 8:03:47642 days ago1675238627IN
0xA044F15f...7bc3228a5
0 ETH0.0020878917.85869282
Convert Tokens165325722023-02-01 7:47:11642 days ago1675237631IN
0xA044F15f...7bc3228a5
0 ETH0.0017115814.63995109
Convert Tokens165314802023-02-01 4:07:35642 days ago1675224455IN
0xA044F15f...7bc3228a5
0 ETH0.0021471118.36523684
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EHIVE_TRANSFER

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 6: convert.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./ERC20.sol";

contract EHIVE_TRANSFER is Ownable {
    bool public isEnabled = true;

    IERC20 public oldToken;
    IERC20 public newToken;

    constructor(IERC20 _oldToken, IERC20 _newToken) {
        oldToken = _oldToken;
        newToken = _newToken;
    }

    function setContractState(bool onoff) external onlyOwner {
        isEnabled = onoff;
    }

    function withdrawTokens(IERC20 token) external onlyOwner {
        uint256 amount = token.balanceOf(address(this));
        token.transfer(msg.sender, amount);
    }

    function convertTokens() external {
        require(isEnabled, "Contract is not enabled.");

        uint256 amount = oldToken.balanceOf(msg.sender);

        // Take old token
        oldToken.transferFrom(msg.sender, address(this), amount);

        // Send new token
        newToken.transfer(msg.sender, amount);
    }
}

File 2 of 6: Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 3 of 6: ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 6: IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

File 5 of 6: IERC20Metadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC20.sol";

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

File 6 of 6: Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./Context.sol";

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_oldToken","type":"address"},{"internalType":"contract IERC20","name":"_newToken","type":"address"}],"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":[],"name":"convertTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"onoff","type":"bool"}],"name":"setContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600060146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162001059380380620010598339818101604052810190620000529190620001df565b6200007262000066620000fc60201b60201c565b6200010460201b60201c565b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200028d565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001d98162000273565b92915050565b60008060408385031215620001f957620001f86200026e565b5b60006200020985828601620001c8565b92505060206200021c85828601620001c8565b9150509250929050565b600062000233826200024e565b9050919050565b6000620002478262000226565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200027e816200023a565b81146200028a57600080fd5b50565b610dbc806200029d6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100e6578063aefd8dc714610104578063b31c710a14610120578063c42bd05a1461013e578063f2fde38b1461015c57610093565b806349df728c146100985780636aa633b6146100b4578063715018a6146100d25780638c8e2478146100dc575b600080fd5b6100b260048036038101906100ad91906109d3565b610178565b005b6100bc610313565b6040516100c99190610b4d565b60405180910390f35b6100da610326565b005b6100e46103ae565b005b6100ee610611565b6040516100fb9190610ad2565b60405180910390f35b61011e60048036038101906101199190610979565b61063a565b005b6101286106d3565b6040516101359190610b68565b60405180910390f35b6101466106f9565b6040516101539190610b68565b60405180910390f35b6101766004803603810190610171919061094c565b61071f565b005b610180610817565b73ffffffffffffffffffffffffffffffffffffffff1661019e610611565b73ffffffffffffffffffffffffffffffffffffffff16146101f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101eb90610bc3565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161022f9190610ad2565b60206040518083038186803b15801561024757600080fd5b505afa15801561025b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027f9190610a00565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016102bc929190610b24565b602060405180830381600087803b1580156102d657600080fd5b505af11580156102ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030e91906109a6565b505050565b600060149054906101000a900460ff1681565b61032e610817565b73ffffffffffffffffffffffffffffffffffffffff1661034c610611565b73ffffffffffffffffffffffffffffffffffffffff16146103a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039990610bc3565b60405180910390fd5b6103ac600061081f565b565b600060149054906101000a900460ff166103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f490610b83565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161045a9190610ad2565b60206040518083038186803b15801561047257600080fd5b505afa158015610486573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104aa9190610a00565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161050b93929190610aed565b602060405180830381600087803b15801561052557600080fd5b505af1158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d91906109a6565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016105bb929190610b24565b602060405180830381600087803b1580156105d557600080fd5b505af11580156105e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060d91906109a6565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610642610817565b73ffffffffffffffffffffffffffffffffffffffff16610660610611565b73ffffffffffffffffffffffffffffffffffffffff16146106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad90610bc3565b60405180910390fd5b80600060146101000a81548160ff02191690831515021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610727610817565b73ffffffffffffffffffffffffffffffffffffffff16610745610611565b73ffffffffffffffffffffffffffffffffffffffff161461079b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079290610bc3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561080b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080290610ba3565b60405180910390fd5b6108148161081f565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000813590506108f281610d2a565b92915050565b60008135905061090781610d41565b92915050565b60008151905061091c81610d41565b92915050565b60008135905061093181610d58565b92915050565b60008151905061094681610d6f565b92915050565b60006020828403121561096257610961610c84565b5b6000610970848285016108e3565b91505092915050565b60006020828403121561098f5761098e610c84565b5b600061099d848285016108f8565b91505092915050565b6000602082840312156109bc576109bb610c84565b5b60006109ca8482850161090d565b91505092915050565b6000602082840312156109e9576109e8610c84565b5b60006109f784828501610922565b91505092915050565b600060208284031215610a1657610a15610c84565b5b6000610a2484828501610937565b91505092915050565b610a3681610bf4565b82525050565b610a4581610c06565b82525050565b610a5481610c4e565b82525050565b6000610a67601883610be3565b9150610a7282610c89565b602082019050919050565b6000610a8a602683610be3565b9150610a9582610cb2565b604082019050919050565b6000610aad602083610be3565b9150610ab882610d01565b602082019050919050565b610acc81610c44565b82525050565b6000602082019050610ae76000830184610a2d565b92915050565b6000606082019050610b026000830186610a2d565b610b0f6020830185610a2d565b610b1c6040830184610ac3565b949350505050565b6000604082019050610b396000830185610a2d565b610b466020830184610ac3565b9392505050565b6000602082019050610b626000830184610a3c565b92915050565b6000602082019050610b7d6000830184610a4b565b92915050565b60006020820190508181036000830152610b9c81610a5a565b9050919050565b60006020820190508181036000830152610bbc81610a7d565b9050919050565b60006020820190508181036000830152610bdc81610aa0565b9050919050565b600082825260208201905092915050565b6000610bff82610c24565b9050919050565b60008115159050919050565b6000610c1d82610bf4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610c5982610c60565b9050919050565b6000610c6b82610c72565b9050919050565b6000610c7d82610c24565b9050919050565b600080fd5b7f436f6e7472616374206973206e6f7420656e61626c65642e0000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b610d3381610bf4565b8114610d3e57600080fd5b50565b610d4a81610c06565b8114610d5557600080fd5b50565b610d6181610c12565b8114610d6c57600080fd5b50565b610d7881610c44565b8114610d8357600080fd5b5056fea26469706673582212208a0a96994ef50b693d066e7068f86cd9e3da1edebfcf7c984a1713bb4f12b08b64736f6c634300080700330000000000000000000000004ae2cd1f5b8806a973953b76f9ce6d5fab9cdcfd000000000000000000000000bce111a9f652a3c02df7fea08b9c2ea001c2a702

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100e6578063aefd8dc714610104578063b31c710a14610120578063c42bd05a1461013e578063f2fde38b1461015c57610093565b806349df728c146100985780636aa633b6146100b4578063715018a6146100d25780638c8e2478146100dc575b600080fd5b6100b260048036038101906100ad91906109d3565b610178565b005b6100bc610313565b6040516100c99190610b4d565b60405180910390f35b6100da610326565b005b6100e46103ae565b005b6100ee610611565b6040516100fb9190610ad2565b60405180910390f35b61011e60048036038101906101199190610979565b61063a565b005b6101286106d3565b6040516101359190610b68565b60405180910390f35b6101466106f9565b6040516101539190610b68565b60405180910390f35b6101766004803603810190610171919061094c565b61071f565b005b610180610817565b73ffffffffffffffffffffffffffffffffffffffff1661019e610611565b73ffffffffffffffffffffffffffffffffffffffff16146101f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101eb90610bc3565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161022f9190610ad2565b60206040518083038186803b15801561024757600080fd5b505afa15801561025b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027f9190610a00565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016102bc929190610b24565b602060405180830381600087803b1580156102d657600080fd5b505af11580156102ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030e91906109a6565b505050565b600060149054906101000a900460ff1681565b61032e610817565b73ffffffffffffffffffffffffffffffffffffffff1661034c610611565b73ffffffffffffffffffffffffffffffffffffffff16146103a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039990610bc3565b60405180910390fd5b6103ac600061081f565b565b600060149054906101000a900460ff166103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f490610b83565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161045a9190610ad2565b60206040518083038186803b15801561047257600080fd5b505afa158015610486573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104aa9190610a00565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161050b93929190610aed565b602060405180830381600087803b15801561052557600080fd5b505af1158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d91906109a6565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016105bb929190610b24565b602060405180830381600087803b1580156105d557600080fd5b505af11580156105e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060d91906109a6565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610642610817565b73ffffffffffffffffffffffffffffffffffffffff16610660610611565b73ffffffffffffffffffffffffffffffffffffffff16146106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad90610bc3565b60405180910390fd5b80600060146101000a81548160ff02191690831515021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610727610817565b73ffffffffffffffffffffffffffffffffffffffff16610745610611565b73ffffffffffffffffffffffffffffffffffffffff161461079b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079290610bc3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561080b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080290610ba3565b60405180910390fd5b6108148161081f565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000813590506108f281610d2a565b92915050565b60008135905061090781610d41565b92915050565b60008151905061091c81610d41565b92915050565b60008135905061093181610d58565b92915050565b60008151905061094681610d6f565b92915050565b60006020828403121561096257610961610c84565b5b6000610970848285016108e3565b91505092915050565b60006020828403121561098f5761098e610c84565b5b600061099d848285016108f8565b91505092915050565b6000602082840312156109bc576109bb610c84565b5b60006109ca8482850161090d565b91505092915050565b6000602082840312156109e9576109e8610c84565b5b60006109f784828501610922565b91505092915050565b600060208284031215610a1657610a15610c84565b5b6000610a2484828501610937565b91505092915050565b610a3681610bf4565b82525050565b610a4581610c06565b82525050565b610a5481610c4e565b82525050565b6000610a67601883610be3565b9150610a7282610c89565b602082019050919050565b6000610a8a602683610be3565b9150610a9582610cb2565b604082019050919050565b6000610aad602083610be3565b9150610ab882610d01565b602082019050919050565b610acc81610c44565b82525050565b6000602082019050610ae76000830184610a2d565b92915050565b6000606082019050610b026000830186610a2d565b610b0f6020830185610a2d565b610b1c6040830184610ac3565b949350505050565b6000604082019050610b396000830185610a2d565b610b466020830184610ac3565b9392505050565b6000602082019050610b626000830184610a3c565b92915050565b6000602082019050610b7d6000830184610a4b565b92915050565b60006020820190508181036000830152610b9c81610a5a565b9050919050565b60006020820190508181036000830152610bbc81610a7d565b9050919050565b60006020820190508181036000830152610bdc81610aa0565b9050919050565b600082825260208201905092915050565b6000610bff82610c24565b9050919050565b60008115159050919050565b6000610c1d82610bf4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610c5982610c60565b9050919050565b6000610c6b82610c72565b9050919050565b6000610c7d82610c24565b9050919050565b600080fd5b7f436f6e7472616374206973206e6f7420656e61626c65642e0000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b610d3381610bf4565b8114610d3e57600080fd5b50565b610d4a81610c06565b8114610d5557600080fd5b50565b610d6181610c12565b8114610d6c57600080fd5b50565b610d7881610c44565b8114610d8357600080fd5b5056fea26469706673582212208a0a96994ef50b693d066e7068f86cd9e3da1edebfcf7c984a1713bb4f12b08b64736f6c63430008070033

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

0000000000000000000000004ae2cd1f5b8806a973953b76f9ce6d5fab9cdcfd000000000000000000000000bce111a9f652a3c02df7fea08b9c2ea001c2a702

-----Decoded View---------------
Arg [0] : _oldToken (address): 0x4Ae2Cd1F5B8806a973953B76f9Ce6d5FAB9cdcfd
Arg [1] : _newToken (address): 0xbce111a9f652a3C02Df7FEa08B9c2EA001C2A702

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004ae2cd1f5b8806a973953b76f9ce6d5fab9cdcfd
Arg [1] : 000000000000000000000000bce111a9f652a3c02df7fea08b9c2ea001c2a702


Deployed Bytecode Sourcemap

112:877:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;478:168;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;154:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;550:103:4;;;:::i;:::-;;654:332:5;;;:::i;:::-;;327:87:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;377:93:5;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;191:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;220;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;661:201:4;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;478:168:5;473:12:4;:10;:12::i;:::-;462:23;;:7;:5;:7::i;:::-;:23;;;454:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;546:14:5::1;563:5;:15;;;587:4;563:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;546:47;;604:5;:14;;;619:10;631:6;604:34;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;535:111;478:168:::0;:::o;154:28::-;;;;;;;;;;;;;:::o;550:103:4:-;473:12;:10;:12::i;:::-;462:23;;:7;:5;:7::i;:::-;:23;;;454:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;615:30:::1;642:1;615:18;:30::i;:::-;550:103::o:0;654:332:5:-;707:9;;;;;;;;;;;699:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;758:14;775:8;;;;;;;;;;;:18;;;794:10;775:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;758:47;;845:8;;;;;;;;;;;:21;;;867:10;887:4;894:6;845:56;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;941:8;;;;;;;;;;;:17;;;959:10;971:6;941:37;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;688:298;654:332::o;327:87:4:-;373:7;400:6;;;;;;;;;;;393:13;;327:87;:::o;377:93:5:-;473:12:4;:10;:12::i;:::-;462:23;;:7;:5;:7::i;:::-;:23;;;454:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;457:5:5::1;445:9;;:17;;;;;;;;;;;;;;;;;;377:93:::0;:::o;191:22::-;;;;;;;;;;;;;:::o;220:::-;;;;;;;;;;;;;:::o;661:201:4:-;473:12;:10;:12::i;:::-;462:23;;:7;:5;:7::i;:::-;:23;;;454:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;770:1:::1;750:22;;:8;:22;;;;742:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;826:28;845:8;826:18;:28::i;:::-;661:201:::0;:::o;93:98:0:-;146:7;173:10;166:17;;93:98;:::o;870:191:4:-;944:16;963:6;;;;;;;;;;;944:25;;989:8;980:6;;:17;;;;;;;;;;;;;;;;;;1044:8;1013:40;;1034:8;1013:40;;;;;;;;;;;;933:128;870:191;:::o;7:139:6:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:133::-;195:5;233:6;220:20;211:29;;249:30;273:5;249:30;:::i;:::-;152:133;;;;:::o;291:137::-;345:5;376:6;370:13;361:22;;392:30;416:5;392:30;:::i;:::-;291:137;;;;:::o;434:167::-;494:5;532:6;519:20;510:29;;548:47;589:5;548:47;:::i;:::-;434:167;;;;:::o;607:143::-;664:5;695:6;689:13;680:22;;711:33;738:5;711:33;:::i;:::-;607:143;;;;:::o;756:329::-;815:6;864:2;852:9;843:7;839:23;835:32;832:119;;;870:79;;:::i;:::-;832:119;990:1;1015:53;1060:7;1051:6;1040:9;1036:22;1015:53;:::i;:::-;1005:63;;961:117;756:329;;;;:::o;1091:323::-;1147:6;1196:2;1184:9;1175:7;1171:23;1167:32;1164:119;;;1202:79;;:::i;:::-;1164:119;1322:1;1347:50;1389:7;1380:6;1369:9;1365:22;1347:50;:::i;:::-;1337:60;;1293:114;1091:323;;;;:::o;1420:345::-;1487:6;1536:2;1524:9;1515:7;1511:23;1507:32;1504:119;;;1542:79;;:::i;:::-;1504:119;1662:1;1687:61;1740:7;1731:6;1720:9;1716:22;1687:61;:::i;:::-;1677:71;;1633:125;1420:345;;;;:::o;1771:357::-;1844:6;1893:2;1881:9;1872:7;1868:23;1864:32;1861:119;;;1899:79;;:::i;:::-;1861:119;2019:1;2044:67;2103:7;2094:6;2083:9;2079:22;2044:67;:::i;:::-;2034:77;;1990:131;1771:357;;;;:::o;2134:351::-;2204:6;2253:2;2241:9;2232:7;2228:23;2224:32;2221:119;;;2259:79;;:::i;:::-;2221:119;2379:1;2404:64;2460:7;2451:6;2440:9;2436:22;2404:64;:::i;:::-;2394:74;;2350:128;2134:351;;;;:::o;2491:118::-;2578:24;2596:5;2578:24;:::i;:::-;2573:3;2566:37;2491:118;;:::o;2615:109::-;2696:21;2711:5;2696:21;:::i;:::-;2691:3;2684:34;2615:109;;:::o;2730:159::-;2831:51;2876:5;2831:51;:::i;:::-;2826:3;2819:64;2730:159;;:::o;2895:366::-;3037:3;3058:67;3122:2;3117:3;3058:67;:::i;:::-;3051:74;;3134:93;3223:3;3134:93;:::i;:::-;3252:2;3247:3;3243:12;3236:19;;2895:366;;;:::o;3267:::-;3409:3;3430:67;3494:2;3489:3;3430:67;:::i;:::-;3423:74;;3506:93;3595:3;3506:93;:::i;:::-;3624:2;3619:3;3615:12;3608:19;;3267:366;;;:::o;3639:::-;3781:3;3802:67;3866:2;3861:3;3802:67;:::i;:::-;3795:74;;3878:93;3967:3;3878:93;:::i;:::-;3996:2;3991:3;3987:12;3980:19;;3639:366;;;:::o;4011:118::-;4098:24;4116:5;4098:24;:::i;:::-;4093:3;4086:37;4011:118;;:::o;4135:222::-;4228:4;4266:2;4255:9;4251:18;4243:26;;4279:71;4347:1;4336:9;4332:17;4323:6;4279:71;:::i;:::-;4135:222;;;;:::o;4363:442::-;4512:4;4550:2;4539:9;4535:18;4527:26;;4563:71;4631:1;4620:9;4616:17;4607:6;4563:71;:::i;:::-;4644:72;4712:2;4701:9;4697:18;4688:6;4644:72;:::i;:::-;4726;4794:2;4783:9;4779:18;4770:6;4726:72;:::i;:::-;4363:442;;;;;;:::o;4811:332::-;4932:4;4970:2;4959:9;4955:18;4947:26;;4983:71;5051:1;5040:9;5036:17;5027:6;4983:71;:::i;:::-;5064:72;5132:2;5121:9;5117:18;5108:6;5064:72;:::i;:::-;4811:332;;;;;:::o;5149:210::-;5236:4;5274:2;5263:9;5259:18;5251:26;;5287:65;5349:1;5338:9;5334:17;5325:6;5287:65;:::i;:::-;5149:210;;;;:::o;5365:250::-;5472:4;5510:2;5499:9;5495:18;5487:26;;5523:85;5605:1;5594:9;5590:17;5581:6;5523:85;:::i;:::-;5365:250;;;;:::o;5621:419::-;5787:4;5825:2;5814:9;5810:18;5802:26;;5874:9;5868:4;5864:20;5860:1;5849:9;5845:17;5838:47;5902:131;6028:4;5902:131;:::i;:::-;5894:139;;5621:419;;;:::o;6046:::-;6212:4;6250:2;6239:9;6235:18;6227:26;;6299:9;6293:4;6289:20;6285:1;6274:9;6270:17;6263:47;6327:131;6453:4;6327:131;:::i;:::-;6319:139;;6046:419;;;:::o;6471:::-;6637:4;6675:2;6664:9;6660:18;6652:26;;6724:9;6718:4;6714:20;6710:1;6699:9;6695:17;6688:47;6752:131;6878:4;6752:131;:::i;:::-;6744:139;;6471:419;;;:::o;6977:169::-;7061:11;7095:6;7090:3;7083:19;7135:4;7130:3;7126:14;7111:29;;6977:169;;;;:::o;7152:96::-;7189:7;7218:24;7236:5;7218:24;:::i;:::-;7207:35;;7152:96;;;:::o;7254:90::-;7288:7;7331:5;7324:13;7317:21;7306:32;;7254:90;;;:::o;7350:110::-;7401:7;7430:24;7448:5;7430:24;:::i;:::-;7419:35;;7350:110;;;:::o;7466:126::-;7503:7;7543:42;7536:5;7532:54;7521:65;;7466:126;;;:::o;7598:77::-;7635:7;7664:5;7653:16;;7598:77;;;:::o;7681:140::-;7745:9;7778:37;7809:5;7778:37;:::i;:::-;7765:50;;7681:140;;;:::o;7827:126::-;7877:9;7910:37;7941:5;7910:37;:::i;:::-;7897:50;;7827:126;;;:::o;7959:113::-;8009:9;8042:24;8060:5;8042:24;:::i;:::-;8029:37;;7959:113;;;:::o;8201:117::-;8310:1;8307;8300:12;8324:174;8464:26;8460:1;8452:6;8448:14;8441:50;8324:174;:::o;8504:225::-;8644:34;8640:1;8632:6;8628:14;8621:58;8713:8;8708:2;8700:6;8696:15;8689:33;8504:225;:::o;8735:182::-;8875:34;8871:1;8863:6;8859:14;8852:58;8735:182;:::o;8923:122::-;8996:24;9014:5;8996:24;:::i;:::-;8989:5;8986:35;8976:63;;9035:1;9032;9025:12;8976:63;8923:122;:::o;9051:116::-;9121:21;9136:5;9121:21;:::i;:::-;9114:5;9111:32;9101:60;;9157:1;9154;9147:12;9101:60;9051:116;:::o;9173:150::-;9260:38;9292:5;9260:38;:::i;:::-;9253:5;9250:49;9240:77;;9313:1;9310;9303:12;9240:77;9173:150;:::o;9329:122::-;9402:24;9420:5;9402:24;:::i;:::-;9395:5;9392:35;9382:63;;9441:1;9438;9431:12;9382:63;9329:122;:::o

Swarm Source

ipfs://8a0a96994ef50b693d066e7068f86cd9e3da1edebfcf7c984a1713bb4f12b08b

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
[ 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.