ETH Price: $3,779.47 (-1.54%)
Gas: 10 Gwei

Contract

0xf6c8E6083fF7B328e524681576139725C990C67d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60806040107084892020-08-22 6:39:441376 days ago1598078384IN
 Create: MooniswapTokenAdapter
0 ETH0.0585338780.1

Advanced mode:
Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MooniswapTokenAdapter

Compiler Version
v0.6.5+commit.f956cc89

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
File 1 of 4 : MooniswapTokenAdapter.sol
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;

import { ERC20 } from "../../ERC20.sol";
import { TokenMetadata, Component } from "../../Structs.sol";
import { TokenAdapter } from "../TokenAdapter.sol";


/**
 * @dev CToken contract interface.
 * Only the functions required for MooniswapTokenAdapter contract are added.
 * The CToken contract is available here
 * github.com/compound-finance/compound-protocol/blob/master/contracts/CToken.sol.
 */
interface CToken {
    function isCToken() external view returns (bool);
}


/**
 * @dev Mooniswap contract interface.
 * Only the functions required for MooniswapTokenAdapter contract are added.
 * The MooniswapV2Pair contract is available here
 * github.com/CryptoManiacsZone/mooniswap/blob/master/contracts/Mooniswap.sol
 */
interface Mooniswap {
    function getTokens() external view returns(address[] memory);
}


/**
 * @title Token adapter for Mooniswap pool tokens.
 * @dev Implementation of TokenAdapter interface.
 * @author 1inch.exchange <[email protected]>
 */
contract MooniswapTokenAdapter is TokenAdapter {

    /**
     * @return TokenMetadata struct with ERC20-style token info.
     * @dev Implementation of TokenAdapter interface function.
     */
    function getMetadata(address token) external view override returns (TokenMetadata memory) {
        return TokenMetadata({
            token: token,
            name: ERC20(token).name(),
            symbol: ERC20(token).symbol(),
            decimals: ERC20(token).decimals()
        });
    }

    /**
     * @return Array of Component structs with underlying tokens rates for the given token.
     * @dev Implementation of TokenAdapter interface function.
     */
    function getComponents(address token) external view override returns (Component[] memory) {
        address[] memory tokens = Mooniswap(token).getTokens();
        uint256 totalSupply = ERC20(token).totalSupply();
        Component[] memory underlyingTokens = new Component[](2);

        for (uint256 i = 0; i < 2; i++) {
            underlyingTokens[i] = Component({
                token: isETH(ERC20(tokens[i])) ? 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE : tokens[i],
                tokenType: getTokenType(tokens[i]),
                rate: uniBalanceOf(ERC20(tokens[i]), token) * 1e18 / totalSupply
            });
        }

        return underlyingTokens;
    }

    function getTokenType(address token) internal view returns (string memory) {
        (bool success, bytes memory returnData) = token.staticcall{gas: 2000}(
            abi.encodeWithSelector(CToken(token).isCToken.selector)
        );

        if (success) {
            if (returnData.length == 32) {
                return abi.decode(returnData, (bool)) ? "CToken" : "ERC20";
            } else {
                return "ERC20";
            }
        } else {
            return "ERC20";
        }
    }

    function uniBalanceOf(ERC20 token, address account) internal view returns (uint256) {
        if (isETH(token)) {
            return account.balance;
        } else {
            return token.balanceOf(account);
        }
    }

    function isETH(ERC20 token) internal pure returns(bool) {
        return (address(token) == address(0));
    }
}

File 3 of 4 : ERC20.sol
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;


interface ERC20 {
    function approve(address, uint256) external returns (bool);
    function transfer(address, uint256) external returns (bool);
    function transferFrom(address, address, uint256) external returns (bool);
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint256);
    function balanceOf(address) external view returns (uint256);
}

File 4 of 4 : Structs.sol
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;


struct ProtocolBalance {
    ProtocolMetadata metadata;
    AdapterBalance[] adapterBalances;
}


struct ProtocolMetadata {
    string name;
    string description;
    string websiteURL;
    string iconURL;
    uint256 version;
}


struct AdapterBalance {
    AdapterMetadata metadata;
    FullTokenBalance[] balances;
}


struct AdapterMetadata {
    address adapterAddress;
    string adapterType; // "Asset", "Debt"
}


// token and its underlying tokens (if exist) balances
struct FullTokenBalance {
    TokenBalance base;
    TokenBalance[] underlying;
}


struct TokenBalance {
    TokenMetadata metadata;
    uint256 amount;
}


// ERC20-style token metadata
// 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE address is used for ETH
struct TokenMetadata {
    address token;
    string name;
    string symbol;
    uint8 decimals;
}


struct Component {
    address token;
    string tokenType;  // "ERC20" by default
    uint256 rate;  // price per full share (1e18)
}

File 5 of 4 : TokenAdapter.sol
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;

import { TokenMetadata, Component } from "../Structs.sol";


/**
 * @title Token adapter interface.
 * @dev getMetadata() and getComponents() functions MUST be implemented.
 * @author Igor Sobolev <[email protected]>
 */
interface TokenAdapter {

    /**
     * @dev MUST return TokenMetadata struct with ERC20-style token info.
     * struct TokenMetadata {
     *     address token;
     *     string name;
     *     string symbol;
     *     uint8 decimals;
     * }
     */
    function getMetadata(address token) external view returns (TokenMetadata memory);

    /**
     * @dev MUST return array of Component structs with underlying tokens rates for the given token.
     * struct Component {
     *     address token;    // Address of token contract
     *     string tokenType; // Token type ("ERC20" by default)
     *     uint256 rate;     // Price per share (1e18)
     * }
     */
    function getComponents(address token) external view returns (Component[] memory);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getComponents","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"string","name":"tokenType","type":"string"},{"internalType":"uint256","name":"rate","type":"uint256"}],"internalType":"struct Component[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getMetadata","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"internalType":"struct TokenMetadata","name":"","type":"tuple"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50610c48806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632a50c1461461003b57806379b1833414610064575b600080fd5b61004e610049366004610805565b610084565b60405161005b9190610b06565b60405180910390f35b610077610072366004610805565b610288565b60405161005b9190610a54565b61008c610782565b60405180608001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156100f957600080fd5b505afa15801561010d573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261015391908101906108f3565b81526020018373ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561019e57600080fd5b505afa1580156101b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526101f891908101906108f3565b81526020018373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b91906109ac565b60ff16905290505b919050565b6060808273ffffffffffffffffffffffffffffffffffffffff1663aa6ca8086040518163ffffffff1660e01b815260040160006040518083038186803b1580156102d157600080fd5b505afa1580156102e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261032b9190810190610828565b905060008373ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561037557600080fd5b505afa158015610389573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ad9190610994565b60408051600280825260608281019093529293509091816020015b6103d06107c3565b8152602001906001900390816103c857905050905060005b60028110156104d957604051806060016040528061041886848151811061040b57fe5b60200260200101516104e2565b6104355785838151811061042857fe5b602002602001015161044b565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee5b73ffffffffffffffffffffffffffffffffffffffff16815260200161048286848151811061047557fe5b60200260200101516104fc565b8152602001846104a587858151811061049757fe5b60200260200101518a6106a9565b670de0b6b3a764000002816104b657fe5b048152508282815181106104c657fe5b60209081029190910101526001016103e8565b50949350505050565b73ffffffffffffffffffffffffffffffffffffffff161590565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffe9c44ae000000000000000000000000000000000000000000000000000000001790529051606091600091839173ffffffffffffffffffffffffffffffffffffffff8616916107d09161058191610a17565b6000604051808303818686fa925050503d80600081146105bd576040519150601f19603f3d011682016040523d82523d6000602084013e6105c2565b606091505b5091509150811561066a5780516020141561066a57808060200190518101906105eb91906108d3565b61062a576040518060400160405280600581526020017f4552433230000000000000000000000000000000000000000000000000000000815250610661565b6040518060400160405280600681526020017f43546f6b656e00000000000000000000000000000000000000000000000000008152505b92505050610283565b6040518060400160405280600581526020017f455243323000000000000000000000000000000000000000000000000000000081525092505050610283565b60006106b4836104e2565b156106d7575073ffffffffffffffffffffffffffffffffffffffff81163161077c565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190610729908590600401610a33565b60206040518083038186803b15801561074157600080fd5b505afa158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190610994565b90505b92915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600060ff1681525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001600081525090565b805161077c81610bed565b600060208284031215610816578081fd5b813561082181610bed565b9392505050565b6000602080838503121561083a578182fd5b825167ffffffffffffffff80821115610851578384fd5b81850186601f820112610862578485fd5b8051925081831115610872578485fd5b8383029150610882848301610b96565b8381528481019082860184840187018a101561089c578788fd5b8794505b858510156108c6576108b28a826107fa565b8352600194909401939186019186016108a0565b5098975050505050505050565b6000602082840312156108e4578081fd5b81518015158114610821578182fd5b600060208284031215610904578081fd5b815167ffffffffffffffff8082111561091b578283fd5b81840185601f82011261092c578384fd5b805192508183111561093c578384fd5b61096d60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601610b96565b9150828252856020848301011115610983578384fd5b6104d9836020840160208401610bbd565b6000602082840312156109a5578081fd5b5051919050565b6000602082840312156109bd578081fd5b815160ff81168114610821578182fd5b600081518084526109e5816020860160208601610bbd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251610a29818460208701610bbd565b9190910192915050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015610af8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08984030185528151606073ffffffffffffffffffffffffffffffffffffffff825116855288820151818a870152610ada828701826109cd565b92890151958901959095525094870194925090860190600101610a78565b509098975050505050505050565b60006020825273ffffffffffffffffffffffffffffffffffffffff8351166020830152602083015160806040840152610b4260a08401826109cd565b604085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016060850152610b7d81836109cd565b60ff606087015116608086015280935050505092915050565b60405181810167ffffffffffffffff81118282101715610bb557600080fd5b604052919050565b60005b83811015610bd8578181015183820152602001610bc0565b83811115610be7576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610c0f57600080fd5b5056fea26469706673582212206a89819ba13ba2b2ac0f575ffdf1a29ccd47e57b99d20116b4864bc2a12e87e964736f6c63430006050033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80632a50c1461461003b57806379b1833414610064575b600080fd5b61004e610049366004610805565b610084565b60405161005b9190610b06565b60405180910390f35b610077610072366004610805565b610288565b60405161005b9190610a54565b61008c610782565b60405180608001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156100f957600080fd5b505afa15801561010d573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261015391908101906108f3565b81526020018373ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561019e57600080fd5b505afa1580156101b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526101f891908101906108f3565b81526020018373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b91906109ac565b60ff16905290505b919050565b6060808273ffffffffffffffffffffffffffffffffffffffff1663aa6ca8086040518163ffffffff1660e01b815260040160006040518083038186803b1580156102d157600080fd5b505afa1580156102e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261032b9190810190610828565b905060008373ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561037557600080fd5b505afa158015610389573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ad9190610994565b60408051600280825260608281019093529293509091816020015b6103d06107c3565b8152602001906001900390816103c857905050905060005b60028110156104d957604051806060016040528061041886848151811061040b57fe5b60200260200101516104e2565b6104355785838151811061042857fe5b602002602001015161044b565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee5b73ffffffffffffffffffffffffffffffffffffffff16815260200161048286848151811061047557fe5b60200260200101516104fc565b8152602001846104a587858151811061049757fe5b60200260200101518a6106a9565b670de0b6b3a764000002816104b657fe5b048152508282815181106104c657fe5b60209081029190910101526001016103e8565b50949350505050565b73ffffffffffffffffffffffffffffffffffffffff161590565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffe9c44ae000000000000000000000000000000000000000000000000000000001790529051606091600091839173ffffffffffffffffffffffffffffffffffffffff8616916107d09161058191610a17565b6000604051808303818686fa925050503d80600081146105bd576040519150601f19603f3d011682016040523d82523d6000602084013e6105c2565b606091505b5091509150811561066a5780516020141561066a57808060200190518101906105eb91906108d3565b61062a576040518060400160405280600581526020017f4552433230000000000000000000000000000000000000000000000000000000815250610661565b6040518060400160405280600681526020017f43546f6b656e00000000000000000000000000000000000000000000000000008152505b92505050610283565b6040518060400160405280600581526020017f455243323000000000000000000000000000000000000000000000000000000081525092505050610283565b60006106b4836104e2565b156106d7575073ffffffffffffffffffffffffffffffffffffffff81163161077c565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190610729908590600401610a33565b60206040518083038186803b15801561074157600080fd5b505afa158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190610994565b90505b92915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600060ff1681525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001600081525090565b805161077c81610bed565b600060208284031215610816578081fd5b813561082181610bed565b9392505050565b6000602080838503121561083a578182fd5b825167ffffffffffffffff80821115610851578384fd5b81850186601f820112610862578485fd5b8051925081831115610872578485fd5b8383029150610882848301610b96565b8381528481019082860184840187018a101561089c578788fd5b8794505b858510156108c6576108b28a826107fa565b8352600194909401939186019186016108a0565b5098975050505050505050565b6000602082840312156108e4578081fd5b81518015158114610821578182fd5b600060208284031215610904578081fd5b815167ffffffffffffffff8082111561091b578283fd5b81840185601f82011261092c578384fd5b805192508183111561093c578384fd5b61096d60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601610b96565b9150828252856020848301011115610983578384fd5b6104d9836020840160208401610bbd565b6000602082840312156109a5578081fd5b5051919050565b6000602082840312156109bd578081fd5b815160ff81168114610821578182fd5b600081518084526109e5816020860160208601610bbd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251610a29818460208701610bbd565b9190910192915050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015610af8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08984030185528151606073ffffffffffffffffffffffffffffffffffffffff825116855288820151818a870152610ada828701826109cd565b92890151958901959095525094870194925090860190600101610a78565b509098975050505050505050565b60006020825273ffffffffffffffffffffffffffffffffffffffff8351166020830152602083015160806040840152610b4260a08401826109cd565b604085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016060850152610b7d81836109cd565b60ff606087015116608086015280935050505092915050565b60405181810167ffffffffffffffff81118282101715610bb557600080fd5b604052919050565b60005b83811015610bd8578181015183820152602001610bc0565b83811115610be7576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610c0f57600080fd5b5056fea26469706673582212206a89819ba13ba2b2ac0f575ffdf1a29ccd47e57b99d20116b4864bc2a12e87e964736f6c63430006050033

Deployed Bytecode Sourcemap

1739:2203:3:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1739:2203:3;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;1937:294:3;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2408:672;;;;;;;;;:::i;:::-;;;;;;;;1937:294;2005:20;;:::i;:::-;2044:180;;;;;;;;2079:5;2044:180;;;;;;2110:5;2104:17;;;:19;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2104:19:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2104:19:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;2104:19:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;2104:19:3;;;;;;;;;2044:180;;;;2151:5;2145:19;;;:21;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2145:21:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2145:21:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;2145:21:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;2145:21:3;;;;;;;;;2044:180;;;;2196:5;2190:21;;;:23;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2190:23:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2190:23:3;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2190:23:3;;;;;;;;;2044:180;;;;2037:187;-1:-1:-1;1937:294:3;;;;:::o;2408:672::-;2478:18;2508:23;2544:5;2534:26;;;:28;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2534:28:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2534:28:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;2534:28:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;2534:28:3;;;;;;;;;2508:54;;2572:19;2600:5;2594:24;;;:26;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2594:26:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2594:26:3;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2594:26:3;;;;;;;;;2668:18;;;2684:1;2668:18;;;2630:35;2668:18;;;;;;2572:48;;-1:-1:-1;2630:35:3;;2668:18;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;2630:56:3;-1:-1:-1;2702:9:3;2697:343;2721:1;2717;:5;2697:343;;;2765:264;;;;;;;;2800:23;2812:6;2819:1;2812:9;;;;;;;;;;;;;;2800:5;:23::i;:::-;:80;;2871:6;2878:1;2871:9;;;;;;;;;;;;;;2800:80;;;2826:42;2800:80;2765:264;;;;;;2909:23;2922:6;2929:1;2922:9;;;;;;;;;;;;;;2909:12;:23::i;:::-;2765:264;;;;3003:11;2956:37;2975:6;2982:1;2975:9;;;;;;;;;;;;;;2987:5;2956:12;:37::i;:::-;2996:4;2956:44;:58;;;;;;2765:264;;;2743:16;2760:1;2743:19;;;;;;;;;;;;;;;;;:286;2724:3;;2697:343;;;-1:-1:-1;3057:16:3;2408:672;-1:-1:-1;;;;2408:672:3:o;3830:110::-;3904:28;;;;3830:110::o;3086:505::-;3254:55;;;22:32:-1;6:49;;3254:55:3;;;;;49:4:-1;25:18;;61:17;;3254:55:3;182:15:-1;3277:31:3;179:29:-1;160:49;;3213:106:3;;3146:13;;3172:12;;3146:13;;3213:16;;;;3235:4;;3213:106;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;3171:148:3;;;;3334:7;3330:255;;;3361:10;:17;3382:2;3361:23;3357:173;;;3422:10;3411:30;;;;;;;;;;;;;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3404:58;;;;;;3357:173;3501:14;;;;;;;;;;;;;;;;;;;;;;;3597:227;3672:7;3695:12;3701:5;3695;:12::i;:::-;3691:127;;;-1:-1:-1;3730:15:3;;;;3723:22;;3691:127;3783:24;;;;;:15;;;;;;:24;;3799:7;;3783:24;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3783:24:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3783:24:3;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3783:24:3;;;;;;;;;3776:31;;3691:127;3597:227;;;;:::o;1739:2203::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;142:134:-1:-;220:13;;238:33;220:13;238:33;;1897:241;;2001:2;1989:9;1980:7;1976:23;1972:32;1969:2;;;-1:-1;;2007:12;1969:2;85:6;72:20;97:33;124:5;97:33;;;2059:63;1963:175;-1:-1;;;1963:175;2145:392;;2285:2;;2273:9;2264:7;2260:23;2256:32;2253:2;;;-1:-1;;2291:12;2253:2;2342:17;2336:24;2380:18;;2372:6;2369:30;2366:2;;;-1:-1;;2402:12;2366:2;2504:6;2493:9;2489:22;429:3;422:4;414:6;410:17;406:27;396:2;;-1:-1;;437:12;396:2;477:6;471:13;457:27;;2380:18;9795:6;9792:30;9789:2;;;-1:-1;;9825:12;9789:2;2285;9862:6;9858:17;;;499:80;2285:2;9858:17;9923:15;499:80;;;607:21;;;664:14;;;;639:17;;;744:27;;;;;741:36;-1:-1;738:2;;;-1:-1;;780:12;738:2;-1:-1;806:10;;800:217;825:6;822:1;819:13;800:217;;;905:48;949:3;937:10;905:48;;;893:61;;847:1;840:9;;;;;968:14;;;;996;;800:217;;;-1:-1;2422:99;2247:290;-1:-1;;;;;;;;2247:290;2544:257;;2656:2;2644:9;2635:7;2631:23;2627:32;2624:2;;;-1:-1;;2662:12;2624:2;1112:6;1106:13;12636:5;11728:13;11721:21;12614:5;12611:32;12601:2;;-1:-1;;12647:12;2808:362;;2933:2;2921:9;2912:7;2908:23;2904:32;2901:2;;;-1:-1;;2939:12;2901:2;2990:17;2984:24;3028:18;;3020:6;3017:30;3014:2;;;-1:-1;;3050:12;3014:2;3137:6;3126:9;3122:22;1280:3;1273:4;1265:6;1261:17;1257:27;1247:2;;-1:-1;;1288:12;1247:2;1328:6;1322:13;1308:27;;3028:18;10091:6;10088:30;10085:2;;;-1:-1;;10121:12;10085:2;1350:65;2933:2;10194:9;1273:4;10179:6;10175:17;10171:33;10252:15;1350:65;;;1341:74;;1435:6;1428:5;1421:21;1539:3;2933:2;1530:6;1463;1521:16;;1518:25;1515:2;;;-1:-1;;1546:12;1515:2;1566:39;1598:6;2933:2;1497:5;1493:16;2933:2;1463:6;1459:17;1566:39;;3177:263;;3292:2;3280:9;3271:7;3267:23;3263:32;3260:2;;;-1:-1;;3298:12;3260:2;-1:-1;1697:13;;3254:186;-1:-1;3254:186;3447:259;;3560:2;3548:9;3539:7;3535:23;3531:32;3528:2;;;-1:-1;;3566:12;3528:2;1842:6;1836:13;12032:4;12880:5;12021:16;12857:5;12854:33;12844:2;;-1:-1;;12891:12;5685:327;;5820:5;10597:12;11193:6;11188:3;11181:19;5904:52;5949:6;11230:4;11225:3;11221:14;11230:4;5930:5;5926:16;5904:52;;;12414:2;12394:14;12410:7;12390:28;5968:39;;;;11230:4;5968:39;;5767:245;-1:-1;;5767:245;8032:262;;5482:5;10597:12;5593:52;5638:6;5633:3;5626:4;5619:5;5615:16;5593:52;;;5657:16;;;;;8157:137;-1:-1;;8157:137;8301:213;11827:42;11816:54;;;;4040:37;;8419:2;8404:18;;8390:124;8521:465;8741:2;8755:47;;;10597:12;;8726:18;;;11181:19;;;8521:465;;8741:2;11221:14;;;;;;4713:17;;;4704:27;;;;10425:14;;;8521:465;4867:408;4892:6;4889:1;4886:13;4867:408;;;4944:20;8730:9;4948:4;4944:20;;4939:3;4932:33;4999:6;4993:13;6205:4;11827:42;6278:16;6272:23;11816:54;4047:3;4040:37;8741:2;6441:5;6437:16;6431:23;6205:4;8741:2;6478:3;6474:14;6467:38;6520:73;6205:4;6200:3;6196:14;6574:12;6520:73;;;6667:16;;;6661:23;6738:14;;;7879:37;;;;-1:-1;5254:14;;;;5013:124;-1:-1;11010:14;;;;4914:1;4907:9;4867:408;;;-1:-1;8808:168;;8712:274;-1:-1;;;;;;;;8712:274;8993:381;;9171:2;9192:17;9185:47;11827:42;7077:16;7071:23;11816:54;9171:2;9160:9;9156:18;4040:37;9171:2;7235:5;7231:16;7225:23;7004:4;7268:14;9160:9;7268:14;7261:38;7314:73;6995:14;9160:9;6995:14;7368:12;7314:73;;;7268:14;7467:5;7463:16;7457:23;7437:43;;7516:14;9160:9;7520:4;7516:14;;7500;9160:9;7500:14;7493:38;7546:73;7614:4;7600:12;7546:73;;;12032:4;7500:14;7701:5;7697:16;7691:23;12021:16;7004:4;9160:9;7764:14;7985:35;9238:126;;;;;;9142:232;;;;;9381:256;9443:2;9437:9;9469:17;;;9544:18;9529:34;;9565:22;;;9526:62;9523:2;;;9601:1;;9591:12;9523:2;9443;9610:22;9421:216;;-1:-1;9421:216;12050:268;12115:1;12122:101;12136:6;12133:1;12130:13;12122:101;;;12203:11;;;12197:18;12184:11;;;12177:39;12158:2;12151:10;12122:101;;;12238:6;12235:1;12232:13;12229:2;;;12115:1;12294:6;12289:3;12285:16;12278:27;12229:2;;12099:219;;;;12431:117;11827:42;12518:5;11816:54;12493:5;12490:35;12480:2;;12539:1;;12529:12;12480:2;12474:74;

Swarm Source

ipfs://6a89819ba13ba2b2ac0f575ffdf1a29ccd47e57b99d20116b4864bc2a12e87e9

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.