ETH Price: $3,753.92 (-1.95%)
Gas: 9 Gwei

Contract

0x8951e7e995BF6cEC9b1bb26BD3274Ba25d5c43F7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60806040104125062020-07-07 13:11:561422 days ago1594127516IN
 Create: MstableTokenAdapter
0 ETH0.0176274225.1

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

Contract Source Code Verified (Exact Match)

Contract Name:
MstableTokenAdapter

Compiler Version
v0.6.5+commit.f956cc89

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
File 1 of 4 : MstableTokenAdapter.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 Basset struct.
 * The Basset struct is available here
 * github.com/mstable/mStable-contracts/blob/master/contracts/masset/shared/MassetStructs.sol.
 */
struct Basset {
    address addr;
    uint8 status;
    bool isTransferFeeCharged;
    uint256 ratio;
    uint256 maxWeight;
    uint256 vaultBalance;
}
//
//
///**
// * @dev BassetStatus enum.
// * The BassetStatus enum is available here
// * github.com/mstable/mStable-contracts/blob/master/contracts/masset/shared/MassetStructs.sol.
// */
//enum BassetStatus {
//    Default,
//    Normal,
//    BrokenBelowPeg,
//    BrokenAbovePeg,
//    Blacklisted,
//    Liquidating,
//    Liquidated,
//    Failed
//}


/**
 * @dev BasketManager contract interface.
 * Only the functions required for MassetTokenAdapter contract are added.
 * The BasketManager contract is available here
 * github.com/mstable/mStable-contracts/blob/master/contracts/masset/BasketManager.sol.
 */
interface BasketManager {
    function getBassets() external view returns (Basset[] memory, uint256);
}


/**
 * @dev ForgeValidator contract interface.
 * Only the functions required for MassetTokenAdapter contract are added.
 * The ForgeValidator contract is available here
 * github.com/mstable/mStable-contracts/blob/master/contracts/masset/forge-validator/ForgeValidator.sol.
 */
interface ForgeValidator {
    function calculateRedemptionMulti(
        uint256,
        Basset[] calldata
    )
    external
    view
    returns (bool, string memory, uint256[] memory);
}


/**
 * @title Token adapter for Masset.
 * @dev Implementation of TokenAdapter interface.
 */
contract MstableTokenAdapter is TokenAdapter {

    address internal constant BASKET_MANAGER = 0x66126B4aA2a1C07536Ef8E5e8bD4EfDA1FdEA96D;
    address internal constant FORGE_VALIDATOR = 0xbB90D06371030fFa150E463621c22950b212eaa1;


    /**
     * @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) external view override returns (Component[] memory) {
        (Basset[] memory bassets, uint256 length) = BasketManager(BASKET_MANAGER).getBassets();
        uint256[] memory underlyingAmounts;
        (, , underlyingAmounts) = ForgeValidator(FORGE_VALIDATOR).calculateRedemptionMulti(
            1e18,
            bassets
        );

        Component[] memory underlyingTokens = new Component[](length);
        for (uint256 i = 0; i < length; i++) {
            underlyingTokens[i] = Component({
                token: bassets[i].addr,
                tokenType: "ERC20",
                rate: underlyingAmounts[i]
            });
        }

        return underlyingTokens;
    }
}

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
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"","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"}]

608060405234801561001057600080fd5b50610bc0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632a50c1461461003b57806379b1833414610064575b600080fd5b61004e6100493660046106c2565b610084565b60405161005b9190610a50565b60405180910390f35b6100776100723660046106c2565b610286565b60405161005b9190610903565b61008c610533565b60405180608001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156100f957600080fd5b505afa15801561010d573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526101539190810190610863565b81526020018373ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561019e57600080fd5b505afa1580156101b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526101f89190810190610863565b81526020018373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b919061089e565b60ff16905292915050565b60608060007366126b4aa2a1c07536ef8e5e8bd4efda1fdea96d73ffffffffffffffffffffffffffffffffffffffff16631d3ce3986040518163ffffffff1660e01b815260040160006040518083038186803b1580156102e557600080fd5b505afa1580156102f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261033f91908101906106e5565b6040517f0201e2d0000000000000000000000000000000000000000000000000000000008152919350915060609073bb90d06371030ffa150e463621c22950b212eaa190630201e2d0906103a190670de0b6b3a76400009087906004016109b5565b60006040518083038186803b1580156103b957600080fd5b505afa1580156103cd573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526104139190810190610794565b92506060915083905067ffffffffffffffff8111801561043257600080fd5b5060405190808252806020026020018201604052801561046c57816020015b610459610574565b8152602001906001900390816104515790505b50905060005b8381101561052957604051806060016040528086838151811061049157fe5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1681526020016040518060400160405280600581526020017f455243323000000000000000000000000000000000000000000000000000000081525081526020018483815181106104ff57fe5b602002602001015181525082828151811061051657fe5b6020908102919091010152600101610472565b5095945050505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600060ff1681525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001600081525090565b600082601f8301126105bb578081fd5b815167ffffffffffffffff8111156105d1578182fd5b61060260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610ae0565b915080825283602082850101111561061957600080fd5b61062a816020840160208601610b27565b5092915050565b600060c08284031215610642578081fd5b61064c60c0610ae0565b9050815161065981610b57565b815261066883602084016106ab565b60208201526040820151801515811461068057600080fd5b80604083015250606082015160608201526080820151608082015260a082015160a082015292915050565b805160ff811681146106bc57600080fd5b92915050565b6000602082840312156106d3578081fd5b81356106de81610b57565b9392505050565b600080604083850312156106f7578081fd5b825167ffffffffffffffff81111561070d578182fd5b80840185601f82011261071e578283fd5b8051915061073361072e83610b07565b610ae0565b808382526020808301925080840160c08a838289028801011115610755578788fd5b8795505b868610156107815761076b8b83610631565b8552600195909501949382019390810190610759565b5050969096015195979596505050505050565b6000806000606084860312156107a8578081fd5b83516107b381610b7c565b8093505060208085015167ffffffffffffffff808211156107d2578384fd5b6107de888389016105ab565b945060408701519150808211156107f3578384fd5b5080860187601f820112610805578384fd5b8051915061081561072e83610b07565b82815283810190828501858502840186018b1015610831578687fd5b8693505b84841015610853578051835260019390930192918501918501610835565b5080955050505050509250925092565b600060208284031215610874578081fd5b815167ffffffffffffffff81111561088a578182fd5b610896848285016105ab565b949350505050565b6000602082840312156108af578081fd5b6106de83836106ab565b600081518084526108d1816020860160208601610b27565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208082528251828201819052600091906040908185019080840286018301878501865b838110156109a7577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08984030185528151606073ffffffffffffffffffffffffffffffffffffffff825116855288820151818a870152610989828701826108b9565b92890151958901959095525094870194925090860190600101610927565b509098975050505050505050565b6000604080830185845260208281860152818651808452606093508387019150828801865b82811015610a41578151805173ffffffffffffffffffffffffffffffffffffffff1685528581015160ff16868601528781015115158886015286810151878601526080808201519086015260a0908101519085015260c090930192908401906001016109da565b50919998505050505050505050565b60006020825273ffffffffffffffffffffffffffffffffffffffff8351166020830152602083015160806040840152610a8c60a08401826108b9565b604085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016060850152610ac781836108b9565b60ff606087015116608086015280935050505092915050565b60405181810167ffffffffffffffff81118282101715610aff57600080fd5b604052919050565b600067ffffffffffffffff821115610b1d578081fd5b5060209081020190565b60005b83811015610b42578181015183820152602001610b2a565b83811115610b51576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610b7957600080fd5b50565b8015158114610b7957600080fdfea2646970667358221220f74ab1ff6cde7afa396baa807cef5b448043ca2deb34f5f89b19bd99afe3ea1564736f6c63430006050033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80632a50c1461461003b57806379b1833414610064575b600080fd5b61004e6100493660046106c2565b610084565b60405161005b9190610a50565b60405180910390f35b6100776100723660046106c2565b610286565b60405161005b9190610903565b61008c610533565b60405180608001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156100f957600080fd5b505afa15801561010d573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526101539190810190610863565b81526020018373ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561019e57600080fd5b505afa1580156101b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526101f89190810190610863565b81526020018373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b919061089e565b60ff16905292915050565b60608060007366126b4aa2a1c07536ef8e5e8bd4efda1fdea96d73ffffffffffffffffffffffffffffffffffffffff16631d3ce3986040518163ffffffff1660e01b815260040160006040518083038186803b1580156102e557600080fd5b505afa1580156102f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261033f91908101906106e5565b6040517f0201e2d0000000000000000000000000000000000000000000000000000000008152919350915060609073bb90d06371030ffa150e463621c22950b212eaa190630201e2d0906103a190670de0b6b3a76400009087906004016109b5565b60006040518083038186803b1580156103b957600080fd5b505afa1580156103cd573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526104139190810190610794565b92506060915083905067ffffffffffffffff8111801561043257600080fd5b5060405190808252806020026020018201604052801561046c57816020015b610459610574565b8152602001906001900390816104515790505b50905060005b8381101561052957604051806060016040528086838151811061049157fe5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1681526020016040518060400160405280600581526020017f455243323000000000000000000000000000000000000000000000000000000081525081526020018483815181106104ff57fe5b602002602001015181525082828151811061051657fe5b6020908102919091010152600101610472565b5095945050505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600060ff1681525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001600081525090565b600082601f8301126105bb578081fd5b815167ffffffffffffffff8111156105d1578182fd5b61060260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610ae0565b915080825283602082850101111561061957600080fd5b61062a816020840160208601610b27565b5092915050565b600060c08284031215610642578081fd5b61064c60c0610ae0565b9050815161065981610b57565b815261066883602084016106ab565b60208201526040820151801515811461068057600080fd5b80604083015250606082015160608201526080820151608082015260a082015160a082015292915050565b805160ff811681146106bc57600080fd5b92915050565b6000602082840312156106d3578081fd5b81356106de81610b57565b9392505050565b600080604083850312156106f7578081fd5b825167ffffffffffffffff81111561070d578182fd5b80840185601f82011261071e578283fd5b8051915061073361072e83610b07565b610ae0565b808382526020808301925080840160c08a838289028801011115610755578788fd5b8795505b868610156107815761076b8b83610631565b8552600195909501949382019390810190610759565b5050969096015195979596505050505050565b6000806000606084860312156107a8578081fd5b83516107b381610b7c565b8093505060208085015167ffffffffffffffff808211156107d2578384fd5b6107de888389016105ab565b945060408701519150808211156107f3578384fd5b5080860187601f820112610805578384fd5b8051915061081561072e83610b07565b82815283810190828501858502840186018b1015610831578687fd5b8693505b84841015610853578051835260019390930192918501918501610835565b5080955050505050509250925092565b600060208284031215610874578081fd5b815167ffffffffffffffff81111561088a578182fd5b610896848285016105ab565b949350505050565b6000602082840312156108af578081fd5b6106de83836106ab565b600081518084526108d1816020860160208601610b27565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208082528251828201819052600091906040908185019080840286018301878501865b838110156109a7577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08984030185528151606073ffffffffffffffffffffffffffffffffffffffff825116855288820151818a870152610989828701826108b9565b92890151958901959095525094870194925090860190600101610927565b509098975050505050505050565b6000604080830185845260208281860152818651808452606093508387019150828801865b82811015610a41578151805173ffffffffffffffffffffffffffffffffffffffff1685528581015160ff16868601528781015115158886015286810151878601526080808201519086015260a0908101519085015260c090930192908401906001016109da565b50919998505050505050505050565b60006020825273ffffffffffffffffffffffffffffffffffffffff8351166020830152602083015160806040840152610a8c60a08401826108b9565b604085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0848203016060850152610ac781836108b9565b60ff606087015116608086015280935050505092915050565b60405181810167ffffffffffffffff81118282101715610aff57600080fd5b604052919050565b600067ffffffffffffffff821115610b1d578081fd5b5060209081020190565b60005b83811015610b42578181015183820152602001610b2a565b83811115610b51576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610b7957600080fd5b50565b8015158114610b7957600080fdfea2646970667358221220f74ab1ff6cde7afa396baa807cef5b448043ca2deb34f5f89b19bd99afe3ea1564736f6c63430006050033

Deployed Bytecode Sourcemap

2615:1612:3:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2615:1612:3;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;3006:301:3;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;3490:734;;;;;;;;;:::i;:::-;;;;;;;;3006:301;3074:20;;:::i;:::-;3114:185;;;;;;;;3150:5;3114:185;;;;;;3182:5;3176:17;;;:19;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3176:19:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3176:19:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;3176:19:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;3176:19:3;;;;;;;;;3114:185;;;;3224:5;3218:19;;;:21;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3218:21:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3218:21:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;3218:21:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;3218:21:3;;;;;;;;;3114:185;;;;3270:5;3264:21;;;:23;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3264:23:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3264: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;3264:23:3;;;;;;;;;3114:185;;;;3107:192;3006:301;-1:-1:-1;;3006:301:3:o;3490:734::-;3554:18;3586:23;3611:14;2712:42;3629:40;;;:42;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3629:42:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3629:42:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;3629:42:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;3629:42:3;;;;;;;;;3753:108;;;;;3585:86;;-1:-1:-1;3585:86:3;-1:-1:-1;3682:34:3;;2805:42;;3753:56;;:108;;3824:4;;3585:86;;3753:108;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3753:108:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3753:108:3;;;;;;39:16:-1;36:1;17:17;2:54;101:4;3753:108:3;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;3753:108:3;;;;;;;;;3727:134;-1:-1:-1;3874:35:3;;-1:-1:-1;3928:6:3;;-1:-1:-1;3912:23:3;;;2:2:-1;;;;27:1;24;17:12;2:2;3912:23:3;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;3874:61:3;-1:-1:-1;3951:9:3;3946:235;3970:6;3966:1;:10;3946:235;;;4020:149;;;;;;;;4056:7;4064:1;4056:10;;;;;;;;;;;;;;:15;;;4020:149;;;;;;;;;;;;;;;;;;;;;;;;;;;4133:17;4151:1;4133:20;;;;;;;;;;;;;;4020:149;;;3998:16;4015:1;3998:19;;;;;;;;;;;;;;;;;:171;3978:3;;3946:235;;;-1:-1:-1;4200:16:3;3490:734;-1:-1:-1;;;;;3490:734:3:o;2615:1612::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1990:444:-1:-;;2103:3;2096:4;2088:6;2084:17;2080:27;2070:2;;-1:-1;;2111:12;2070:2;2151:6;2145:13;15122:18;15114:6;15111:30;15108:2;;;-1:-1;;15144:12;15108:2;2173:65;15285:4;15217:9;2096:4;15202:6;15198:17;15194:33;15275:15;2173:65;;;2164:74;;2258:6;2251:5;2244:21;2362:3;15285:4;2353:6;2286;2344:16;;2341:25;2338:2;;;2379:1;;2369:12;2338:2;2389:39;2421:6;15285:4;2320:5;2316:16;15285:4;2286:6;2282:17;2389:39;;;;2063:371;;;;;2462:1147;;2585:4;2573:9;2568:3;2564:19;2560:30;2557:2;;;-1:-1;;2593:12;2557:2;2621:20;2585:4;2621:20;;;2612:29;;226:6;220:13;238:33;265:5;238:33;;;2698:86;;2880:58;2934:3;2847:2;2910:22;;2880:58;;;2847:2;2866:5;2862:16;2855:84;3016:2;3082:9;3078:22;1929:13;18215:5;17166:13;17159:21;18193:5;18190:32;18180:2;;-1:-1;;18226:12;18180:2;3049:57;3016:2;3035:5;3031:16;3024:83;;3169:2;3238:9;3234:22;3694:13;3169:2;3188:5;3184:16;3177:86;3329:3;3399:9;3395:22;3694:13;3329:3;3349:5;3345:16;3338:86;3493:3;3563:9;3559:22;3694:13;3493:3;3513:5;3509:16;3502:86;2551:1058;;;;;3757:130;3833:13;;17470:4;17459:16;;18433:33;;18423:2;;18480:1;;18470:12;18423:2;3818:69;;;;;3894:241;;3998:2;3986:9;3977:7;3973:23;3969:32;3966:2;;;-1:-1;;4004:12;3966:2;85:6;72:20;97:33;124:5;97:33;;;4056:63;3960:175;-1:-1;;;3960:175;4142:574;;;4322:2;4310:9;4301:7;4297:23;4293:32;4290:2;;;-1:-1;;4328:12;4290:2;4379:17;4373:24;4417:18;4409:6;4406:30;4403:2;;;-1:-1;;4439:12;4403:2;4564:6;4553:9;4549:22;458:3;451:4;443:6;439:17;435:27;425:2;;-1:-1;;466:12;425:2;506:6;500:13;486:27;;528:103;543:87;623:6;543:87;;;528:103;;;637:16;673:6;666:5;659:21;703:4;;720:3;716:14;709:21;;703:4;695:6;691:17;817:4;825:3;703:4;817;809:6;805:17;695:6;796:27;;793:36;790:2;;;-1:-1;;832:12;790:2;-1:-1;858:10;;852:240;877:6;874:1;871:13;852:240;;;957:71;1024:3;1012:10;957:71;;;945:84;;899:1;892:9;;;;;1043:14;;;;1071;;;;852:240;;;-1:-1;;4668:22;;;;3694:13;4459:122;;3694:13;;-1:-1;;;;;;4284:432;4723:757;;;;4904:2;4892:9;4883:7;4879:23;4875:32;4872:2;;;-1:-1;;4910:12;4872:2;1935:6;1929:13;1947:30;1971:5;1947:30;;;4962:71;;;;5091:2;;5080:9;5076:18;5070:25;5115:18;;5107:6;5104:30;5101:2;;;-1:-1;;5137:12;5101:2;5167:74;5233:7;5224:6;5213:9;5209:22;5167:74;;;5157:84;;5299:2;5288:9;5284:18;5278:25;5264:39;;5115:18;5315:6;5312:30;5309:2;;;-1:-1;;5345:12;5309:2;;5447:6;5436:9;5432:22;1252:3;1245:4;1237:6;1233:17;1229:27;1219:2;;-1:-1;;1260:12;1219:2;1300:6;1294:13;1280:27;;1322:80;1337:64;1394:6;1337:64;;1322:80;1430:21;;;1487:14;;;;1462:17;;;1576;;;1567:27;;;;1564:36;-1:-1;1561:2;;;-1:-1;;1603:12;1561:2;-1:-1;1629:10;;1623:217;1648:6;1645:1;1642:13;1623:217;;;3694:13;;1716:61;;1670:1;1663:9;;;;;1791:14;;;;1819;;1623:217;;;1627:14;5365:99;;;;;;;;4866:614;;;;;;5487:362;;5612:2;5600:9;5591:7;5587:23;5583:32;5580:2;;;-1:-1;;5618:12;5580:2;5669:17;5663:24;5707:18;5699:6;5696:30;5693:2;;;-1:-1;;5729:12;5693:2;5759:74;5825:7;5816:6;5805:9;5801:22;5759:74;;;5749:84;5574:275;-1:-1;;;;5574:275;5856:259;;5969:2;5957:9;5948:7;5944:23;5940:32;5937:2;;;-1:-1;;5975:12;5937:2;6037:62;6091:7;6067:22;6037:62;;9096:327;;9231:5;15798:12;16571:6;16566:3;16559:19;9315:52;9360:6;16608:4;16603:3;16599:14;16608:4;9341:5;9337:16;9315:52;;;17993:2;17973:14;17989:7;17969:28;9379:39;;;;16608:4;9379:39;;9178:245;-1:-1;;9178:245;12587:465;12807:2;12821:47;;;15798:12;;12792:18;;;16559:19;;;12587:465;;12807:2;16599:14;;;;;;8201:17;;;8192:27;;;;15445:14;;;12587:465;8355:408;8380:6;8377:1;8374:13;8355:408;;;8432:20;12796:9;8436:4;8432:20;;8427:3;8420:33;8487:6;8481:13;10760:4;17265:42;10833:16;10827:23;17254:54;6730:3;6723:37;12807:2;10996:5;10992:16;10986:23;10760:4;12807:2;11033:3;11029:14;11022:38;11075:73;10760:4;10755:3;10751:14;11129:12;11075:73;;;11222:16;;;11216:23;11293:14;;;12434:37;;;;-1:-1;8742:14;;;;8501:124;-1:-1;16250:14;;;;8402:1;8395:9;8355:408;;;-1:-1;12874:168;;12778:274;-1:-1;;;;;;;;12778:274;13059:616;;13327:2;;13316:9;13312:18;9077:5;9015:3;9008:76;13471:2;13327;13471;13460:9;13456:18;13449:48;13511:154;7077:5;15798:12;16571:6;16566:3;16559:19;16599:14;;;;13316:9;16599:14;7089:116;;13471:2;7299:5;15445:14;-1:-1;7338:329;7363:6;7360:1;7357:13;7338:329;;;7424:13;;9662:23;;17265:42;17254:54;6723:37;;9824:16;;;9818:23;17470:4;17459:16;9891:14;;;12540:35;9990:16;;;9984:23;17166:13;17159:21;10055:14;;;8865:34;10139:16;;;10133:23;10210:14;;;12434:37;10309:4;10298:16;;;10292:23;10369:14;;;12434:37;10471:4;10460:16;;;10454:23;10531:14;;;12434:37;6377:4;6368:14;;;;16250;;;;7385:1;7378:9;7338:329;;;-1:-1;13503:162;;13298:377;-1:-1;;;;;;;;;13298:377;13682:381;;13860:2;13881:17;13874:47;17265:42;11632:16;11626:23;17254:54;13860:2;13849:9;13845:18;6723:37;13860:2;11790:5;11786:16;11780:23;11559:4;11823:14;13849:9;11823:14;11816:38;11869:73;11550:14;13849:9;11550:14;11923:12;11869:73;;;11823:14;12022:5;12018:16;12012:23;11992:43;;12071:14;13849:9;12075:4;12071:14;;12055;13849:9;12055:14;12048:38;12101:73;12169:4;12155:12;12101:73;;;17470:4;12055:14;12256:5;12252:16;12246:23;17459:16;11559:4;13849:9;12319:14;12540:35;13927:126;;;;;;13831:232;;;;;14070:256;14132:2;14126:9;14158:17;;;14233:18;14218:34;;14254:22;;;14215:62;14212:2;;;14290:1;;14280:12;14212:2;14132;14299:22;14110:216;;-1:-1;14110:216;14333:327;;14515:18;14507:6;14504:30;14501:2;;;-1:-1;;14537:12;14501:2;-1:-1;14582:4;14570:17;;;14635:15;;14438:222;17629:268;17694:1;17701:101;17715:6;17712:1;17709:13;17701:101;;;17782:11;;;17776:18;17763:11;;;17756:39;17737:2;17730:10;17701:101;;;17817:6;17814:1;17811:13;17808:2;;;17694:1;17873:6;17868:3;17864:16;17857:27;17808:2;;17678:219;;;;18010:117;17265:42;18097:5;17254:54;18072:5;18069:35;18059:2;;18118:1;;18108:12;18059:2;18053:74;;18134:111;18215:5;17166:13;17159:21;18193:5;18190:32;18180:2;;18236:1;;18226:12

Swarm Source

ipfs://f74ab1ff6cde7afa396baa807cef5b448043ca2deb34f5f89b19bd99afe3ea15

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.