ETH Price: $2,359.02 (+1.56%)

Contract

0xD63aB09ac2048a7eCac92f0fFad5F104edD0E032

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

Sponsored

Transaction Hash
Method
Block
From
To
Set Registry Add...263841422022-09-30 4:09:04713 days ago1664510944IN
0xD63aB09a...4edD0E032
0 ETH0.0000477175760.00100155
0x60806040181084292022-08-06 21:50:36767 days ago1659822636IN
 Create: AddressesGeneratorV2Vaults
0 ETH0.0006913849380.001

View more zero value Internal Transactions in Advanced View mode

Advanced mode:

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AddressesGeneratorV2Vaults

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at optimistic.etherscan.io on 2022-08-06
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;

interface ManagementList {
    function isManager(address accountAddress) external returns (bool);
}

contract Manageable {
    ManagementList public managementList;

    constructor(address _managementListAddress) {
        managementList = ManagementList(_managementListAddress);
    }

    modifier onlyManagers() {
        bool isManager = managementList.isManager(msg.sender);
        require(isManager, "ManagementList: caller is not a manager");
        _;
    }
}


/*******************************************************
 *                       Interfaces                    *
 *******************************************************/
interface IV2Registry {
    function numTokens() external view returns (uint256);

    function numVaults(address token) external view returns (uint256);

    function tokens(uint256 tokenIdx) external view returns (address);

    function latestVault(address token) external view returns (address);

    function vaults(address token, uint256 tokenIdx)
        external
        view
        returns (address);
}

/*******************************************************
 *                    Generator Logic                  *
 *******************************************************/
contract AddressesGeneratorV2Vaults is Manageable {
    mapping(address => bool) public assetDeprecated; // Support for deprecating assets. If an asset is deprecated it will not appear is results
    uint256 public numberOfDeprecatedAssets; // Used to keep track of the number of deprecated assets for an adapter
    address[] public positionSpenderAddresses; // A settable list of spender addresses with which to fetch asset allowances
    IV2Registry public registry; // The registry is used to fetch the list of vaults and migration data

    /**
     * Information about the generator
     */
    struct GeneratorInfo {
        address id; // Generator address
        string typeId; // Generator typeId (for example "VAULT_V2" or "IRON_BANK_MARKET")
        string categoryId; // Generator categoryId (for example "VAULT")
    }

    /**
     * Configure generator
     */
    constructor(address _registryAddress, address _managementListAddress)
        Manageable(_managementListAddress)
    {
        require(
            _managementListAddress != address(0),
            "Missing management list address"
        );
        require(_registryAddress != address(0), "Missing registry address");
        registry = IV2Registry(_registryAddress);
    }

    /**
     * Deprecate or undeprecate an asset. Deprecated assets will not appear in any adapter or generator method call responses
     */
    function setAssetDeprecated(address assetAddress, bool newDeprecationStatus)
        public
        onlyManagers
    {
        bool currentDeprecationStatus = assetDeprecated[assetAddress];
        if (currentDeprecationStatus == newDeprecationStatus) {
            revert("Generator: Unable to change asset deprecation status");
        }
        if (newDeprecationStatus == true) {
            numberOfDeprecatedAssets++;
        } else {
            numberOfDeprecatedAssets--;
        }
        assetDeprecated[assetAddress] = newDeprecationStatus;
    }

    /**
     * Set position spender addresses. Used by `adapter.assetAllowances(address,address)`.
     */
    function setPositionSpenderAddresses(address[] memory addresses)
        public
        onlyManagers
    {
        positionSpenderAddresses = addresses;
    }

    /**
     * Set registry address
     */
    function setRegistryAddress(address _registryAddress) public onlyManagers {
        require(_registryAddress != address(0), "Missing registry address");
        registry = IV2Registry(_registryAddress);
    }

    /**
     * Fetch a list of position spender addresses
     */
    function getPositionSpenderAddresses()
        external
        view
        returns (address[] memory)
    {
        return positionSpenderAddresses;
    }

    /**
     * Fetch generator info
     */
    function generatorInfo() public view returns (GeneratorInfo memory) {
        return
            GeneratorInfo({
                id: address(this),
                typeId: "VAULT_V2",
                categoryId: "VAULT"
            });
    }

    /**
     * Fetch the total number of assets
     */
    function assetsLength() public view returns (uint256) {
        uint256 numTokens = registry.numTokens();
        uint256 numVaults;
        for (uint256 tokenIdx = 0; tokenIdx < numTokens; tokenIdx++) {
            address currentToken = registry.tokens(tokenIdx);
            uint256 numVaultsForToken = registry.numVaults(currentToken);
            numVaults += numVaultsForToken;
        }
        return numVaults - numberOfDeprecatedAssets;
    }

    /**
     * Fetch all asset addresses
     */
    function assetsAddresses() public view returns (address[] memory) {
        uint256 numVaults = assetsLength();
        address[] memory _assetsAddresses = new address[](numVaults);
        uint256 numTokens = registry.numTokens();
        uint256 currentVaultIdx;
        for (uint256 tokenIdx = 0; tokenIdx < numTokens; tokenIdx++) {
            address currentTokenAddress = registry.tokens(tokenIdx);
            uint256 numVaultsForToken = registry.numVaults(currentTokenAddress);
            for (
                uint256 vaultTokenIdx = 0;
                vaultTokenIdx < numVaultsForToken;
                vaultTokenIdx++
            ) {
                address currentAssetAddress =
                    registry.vaults(currentTokenAddress, vaultTokenIdx);
                bool assetIsNotDeprecated =
                    assetDeprecated[currentAssetAddress] == false;
                if (assetIsNotDeprecated) {
                    _assetsAddresses[currentVaultIdx] = currentAssetAddress;
                    currentVaultIdx++;
                }
            }
        }
        return _assetsAddresses;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_registryAddress","type":"address"},{"internalType":"address","name":"_managementListAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"assetDeprecated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"assetsAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"assetsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generatorInfo","outputs":[{"components":[{"internalType":"address","name":"id","type":"address"},{"internalType":"string","name":"typeId","type":"string"},{"internalType":"string","name":"categoryId","type":"string"}],"internalType":"struct AddressesGeneratorV2Vaults.GeneratorInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPositionSpenderAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"managementList","outputs":[{"internalType":"contract ManagementList","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfDeprecatedAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"positionSpenderAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract IV2Registry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"assetAddress","type":"address"},{"internalType":"bool","name":"newDeprecationStatus","type":"bool"}],"name":"setAssetDeprecated","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setPositionSpenderAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_registryAddress","type":"address"}],"name":"setRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516110f53803806110f583398101604081905261002f91610136565b600080546001600160a01b0319166001600160a01b03831690811790915561009e5760405162461bcd60e51b815260206004820152601f60248201527f4d697373696e67206d616e6167656d656e74206c69737420616464726573730060448201526064015b60405180910390fd5b6001600160a01b0382166100f45760405162461bcd60e51b815260206004820152601860248201527f4d697373696e67207265676973747279206164647265737300000000000000006044820152606401610095565b50600480546001600160a01b0319166001600160a01b0392909216919091179055610168565b80516001600160a01b038116811461013157600080fd5b919050565b60008060408385031215610148578182fd5b6101518361011a565b915061015f6020840161011a565b90509250929050565b610f7e806101776000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80639daf0359116100715780639daf03591461016a578063a31091c71461017f578063ab7b499314610194578063cf5f86bd146101a7578063da35bc69146101af578063f50477a2146101c6576100b4565b806314e027de146100b957806358443a3b146100e95780635e70843b146100fc5780635fea577f146101115780637a0e558b146101245780637b10399914610157575b600080fd5b6100cc6100c7366004610d32565b6101ce565b6040516001600160a01b0390911681526020015b60405180910390f35b6000546100cc906001600160a01b031681565b61010f61010a366004610c18565b6101f8565b005b61010f61011f366004610c50565b610393565b610147610132366004610bd9565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b6004546100cc906001600160a01b031681565b610172610448565b6040516100e09190610e41565b6101876104db565b6040516100e09190610dad565b61010f6101a2366004610bd9565b610811565b610187610927565b6101b860025481565b6040519081526020016100e0565b6101b8610989565b600381815481106101de57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000805460405163f3ae241560e01b81523360048201526001600160a01b039091169063f3ae241590602401602060405180830381600087803b15801561023e57600080fd5b505af1158015610252573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102769190610d16565b90508061029e5760405162461bcd60e51b815260040161029590610dfa565b60405180910390fd5b6001600160a01b03831660009081526001602052604090205460ff16801515831515141561032b5760405162461bcd60e51b815260206004820152603460248201527f47656e657261746f723a20556e61626c6520746f206368616e6765206173736560448201527374206465707265636174696f6e2073746174757360601b6064820152608401610295565b60018315151415610350576002805490600061034683610edb565b9190505550610366565b6002805490600061036083610ec4565b91905055505b50506001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805460405163f3ae241560e01b81523360048201526001600160a01b039091169063f3ae241590602401602060405180830381600087803b1580156103d957600080fd5b505af11580156103ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104119190610d16565b9050806104305760405162461bcd60e51b815260040161029590610dfa565b8151610443906003906020850190610b4f565b505050565b610475604051806060016040528060006001600160a01b0316815260200160608152602001606081525090565b6040518060600160405280306001600160a01b03168152602001604051806040016040528060088152602001672b20aaa62a2fab1960c11b815250815260200160405180604001604052806005815260200164159055531560da1b815250815250905090565b606060006104e7610989565b905060008167ffffffffffffffff81111561051257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561053b578160200160208202803683370190505b5090506000600460009054906101000a90046001600160a01b03166001600160a01b0316638e499bcf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561058e57600080fd5b505afa1580156105a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c69190610d4a565b90506000805b8281101561080757600480546040516327b2595f60e11b81529182018390526000916001600160a01b0390911690634f64b2be9060240160206040518083038186803b15801561061b57600080fd5b505afa15801561062f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106539190610bfc565b6004805460405163f9c7bba560e01b81526001600160a01b038085169382019390935292935060009291169063f9c7bba59060240160206040518083038186803b1580156106a057600080fd5b505afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190610d4a565b905060005b818110156107f15760048054604051633ddfe34f60e11b81526001600160a01b03868116938201939093526024810184905260009290911690637bbfc69e9060440160206040518083038186803b15801561073757600080fd5b505afa15801561074b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076f9190610bfc565b6001600160a01b03811660009081526001602052604090205490915060ff161580156107dc57818988815181106107b657634e487b7160e01b600052603260045260246000fd5b6001600160a01b0390921660209283029190910190910152866107d881610edb565b9750505b505080806107e990610edb565b9150506106dd565b50505080806107ff90610edb565b9150506105cc565b5091935050505090565b6000805460405163f3ae241560e01b81523360048201526001600160a01b039091169063f3ae241590602401602060405180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190610d16565b9050806108ae5760405162461bcd60e51b815260040161029590610dfa565b6001600160a01b0382166109045760405162461bcd60e51b815260206004820152601860248201527f4d697373696e67207265676973747279206164647265737300000000000000006044820152606401610295565b50600480546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380548060200260200160405190810160405280929190818152602001828054801561097f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610961575b5050505050905090565b6004805460408051638e499bcf60e01b8152905160009384936001600160a01b031692638e499bcf9281830192602092829003018186803b1580156109cd57600080fd5b505afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190610d4a565b90506000805b82811015610b3a57600480546040516327b2595f60e11b81529182018390526000916001600160a01b0390911690634f64b2be9060240160206040518083038186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a929190610bfc565b6004805460405163f9c7bba560e01b81526001600160a01b038085169382019390935292935060009291169063f9c7bba59060240160206040518083038186803b158015610adf57600080fd5b505afa158015610af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b179190610d4a565b9050610b238185610e95565b935050508080610b3290610edb565b915050610a0b565b50600254610b489082610ead565b9250505090565b828054828255906000526020600020908101928215610ba4579160200282015b82811115610ba457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190610b6f565b50610bb0929150610bb4565b5090565b5b80821115610bb05760008155600101610bb5565b8035610bd481610f22565b919050565b600060208284031215610bea578081fd5b8135610bf581610f22565b9392505050565b600060208284031215610c0d578081fd5b8151610bf581610f22565b60008060408385031215610c2a578081fd5b8235610c3581610f22565b91506020830135610c4581610f3a565b809150509250929050565b60006020808385031215610c62578182fd5b823567ffffffffffffffff80821115610c79578384fd5b818501915085601f830112610c8c578384fd5b813581811115610c9e57610c9e610f0c565b838102604051601f19603f83011681018181108582111715610cc257610cc2610f0c565b604052828152858101935084860182860187018a1015610ce0578788fd5b8795505b83861015610d0957610cf581610bc9565b855260019590950194938601938601610ce4565b5098975050505050505050565b600060208284031215610d27578081fd5b8151610bf581610f3a565b600060208284031215610d43578081fd5b5035919050565b600060208284031215610d5b578081fd5b5051919050565b60008151808452815b81811015610d8757602081850181015186830182015201610d6b565b81811115610d985782602083870101525b50601f01601f19169290920160200192915050565b6020808252825182820181905260009190848201906040850190845b81811015610dee5783516001600160a01b031683529284019291840191600101610dc9565b50909695505050505050565b60208082526027908201527f4d616e6167656d656e744c6973743a2063616c6c6572206973206e6f7420612060408201526636b0b730b3b2b960c91b606082015260800190565b602080825282516001600160a01b03168282015282015160606040830152600090610e6f6080840182610d62565b90506040840151601f19848303016060850152610e8c8282610d62565b95945050505050565b60008219821115610ea857610ea8610ef6565b500190565b600082821015610ebf57610ebf610ef6565b500390565b600081610ed357610ed3610ef6565b506000190190565b6000600019821415610eef57610eef610ef6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f3757600080fd5b50565b8015158114610f3757600080fdfea264697066735822122018763f14f130f2f7e3d2ffaa7ad7d2569b44e73a3ca1303e9f3581dca891ae1764736f6c634300080200330000000000000000000000001ba4eb0f44ab82541e56669e18972b0d6037dfe00000000000000000000000007e9756e1427b3c38f001f9d272d8d62bef63d619

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80639daf0359116100715780639daf03591461016a578063a31091c71461017f578063ab7b499314610194578063cf5f86bd146101a7578063da35bc69146101af578063f50477a2146101c6576100b4565b806314e027de146100b957806358443a3b146100e95780635e70843b146100fc5780635fea577f146101115780637a0e558b146101245780637b10399914610157575b600080fd5b6100cc6100c7366004610d32565b6101ce565b6040516001600160a01b0390911681526020015b60405180910390f35b6000546100cc906001600160a01b031681565b61010f61010a366004610c18565b6101f8565b005b61010f61011f366004610c50565b610393565b610147610132366004610bd9565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b6004546100cc906001600160a01b031681565b610172610448565b6040516100e09190610e41565b6101876104db565b6040516100e09190610dad565b61010f6101a2366004610bd9565b610811565b610187610927565b6101b860025481565b6040519081526020016100e0565b6101b8610989565b600381815481106101de57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000805460405163f3ae241560e01b81523360048201526001600160a01b039091169063f3ae241590602401602060405180830381600087803b15801561023e57600080fd5b505af1158015610252573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102769190610d16565b90508061029e5760405162461bcd60e51b815260040161029590610dfa565b60405180910390fd5b6001600160a01b03831660009081526001602052604090205460ff16801515831515141561032b5760405162461bcd60e51b815260206004820152603460248201527f47656e657261746f723a20556e61626c6520746f206368616e6765206173736560448201527374206465707265636174696f6e2073746174757360601b6064820152608401610295565b60018315151415610350576002805490600061034683610edb565b9190505550610366565b6002805490600061036083610ec4565b91905055505b50506001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805460405163f3ae241560e01b81523360048201526001600160a01b039091169063f3ae241590602401602060405180830381600087803b1580156103d957600080fd5b505af11580156103ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104119190610d16565b9050806104305760405162461bcd60e51b815260040161029590610dfa565b8151610443906003906020850190610b4f565b505050565b610475604051806060016040528060006001600160a01b0316815260200160608152602001606081525090565b6040518060600160405280306001600160a01b03168152602001604051806040016040528060088152602001672b20aaa62a2fab1960c11b815250815260200160405180604001604052806005815260200164159055531560da1b815250815250905090565b606060006104e7610989565b905060008167ffffffffffffffff81111561051257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561053b578160200160208202803683370190505b5090506000600460009054906101000a90046001600160a01b03166001600160a01b0316638e499bcf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561058e57600080fd5b505afa1580156105a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c69190610d4a565b90506000805b8281101561080757600480546040516327b2595f60e11b81529182018390526000916001600160a01b0390911690634f64b2be9060240160206040518083038186803b15801561061b57600080fd5b505afa15801561062f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106539190610bfc565b6004805460405163f9c7bba560e01b81526001600160a01b038085169382019390935292935060009291169063f9c7bba59060240160206040518083038186803b1580156106a057600080fd5b505afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190610d4a565b905060005b818110156107f15760048054604051633ddfe34f60e11b81526001600160a01b03868116938201939093526024810184905260009290911690637bbfc69e9060440160206040518083038186803b15801561073757600080fd5b505afa15801561074b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076f9190610bfc565b6001600160a01b03811660009081526001602052604090205490915060ff161580156107dc57818988815181106107b657634e487b7160e01b600052603260045260246000fd5b6001600160a01b0390921660209283029190910190910152866107d881610edb565b9750505b505080806107e990610edb565b9150506106dd565b50505080806107ff90610edb565b9150506105cc565b5091935050505090565b6000805460405163f3ae241560e01b81523360048201526001600160a01b039091169063f3ae241590602401602060405180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190610d16565b9050806108ae5760405162461bcd60e51b815260040161029590610dfa565b6001600160a01b0382166109045760405162461bcd60e51b815260206004820152601860248201527f4d697373696e67207265676973747279206164647265737300000000000000006044820152606401610295565b50600480546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380548060200260200160405190810160405280929190818152602001828054801561097f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610961575b5050505050905090565b6004805460408051638e499bcf60e01b8152905160009384936001600160a01b031692638e499bcf9281830192602092829003018186803b1580156109cd57600080fd5b505afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190610d4a565b90506000805b82811015610b3a57600480546040516327b2595f60e11b81529182018390526000916001600160a01b0390911690634f64b2be9060240160206040518083038186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a929190610bfc565b6004805460405163f9c7bba560e01b81526001600160a01b038085169382019390935292935060009291169063f9c7bba59060240160206040518083038186803b158015610adf57600080fd5b505afa158015610af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b179190610d4a565b9050610b238185610e95565b935050508080610b3290610edb565b915050610a0b565b50600254610b489082610ead565b9250505090565b828054828255906000526020600020908101928215610ba4579160200282015b82811115610ba457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190610b6f565b50610bb0929150610bb4565b5090565b5b80821115610bb05760008155600101610bb5565b8035610bd481610f22565b919050565b600060208284031215610bea578081fd5b8135610bf581610f22565b9392505050565b600060208284031215610c0d578081fd5b8151610bf581610f22565b60008060408385031215610c2a578081fd5b8235610c3581610f22565b91506020830135610c4581610f3a565b809150509250929050565b60006020808385031215610c62578182fd5b823567ffffffffffffffff80821115610c79578384fd5b818501915085601f830112610c8c578384fd5b813581811115610c9e57610c9e610f0c565b838102604051601f19603f83011681018181108582111715610cc257610cc2610f0c565b604052828152858101935084860182860187018a1015610ce0578788fd5b8795505b83861015610d0957610cf581610bc9565b855260019590950194938601938601610ce4565b5098975050505050505050565b600060208284031215610d27578081fd5b8151610bf581610f3a565b600060208284031215610d43578081fd5b5035919050565b600060208284031215610d5b578081fd5b5051919050565b60008151808452815b81811015610d8757602081850181015186830182015201610d6b565b81811115610d985782602083870101525b50601f01601f19169290920160200192915050565b6020808252825182820181905260009190848201906040850190845b81811015610dee5783516001600160a01b031683529284019291840191600101610dc9565b50909695505050505050565b60208082526027908201527f4d616e6167656d656e744c6973743a2063616c6c6572206973206e6f7420612060408201526636b0b730b3b2b960c91b606082015260800190565b602080825282516001600160a01b03168282015282015160606040830152600090610e6f6080840182610d62565b90506040840151601f19848303016060850152610e8c8282610d62565b95945050505050565b60008219821115610ea857610ea8610ef6565b500190565b600082821015610ebf57610ebf610ef6565b500390565b600081610ed357610ed3610ef6565b506000190190565b6000600019821415610eef57610eef610ef6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f3757600080fd5b50565b8015158114610f3757600080fdfea264697066735822122018763f14f130f2f7e3d2ffaa7ad7d2569b44e73a3ca1303e9f3581dca891ae1764736f6c63430008020033

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

0000000000000000000000001ba4eb0f44ab82541e56669e18972b0d6037dfe00000000000000000000000007e9756e1427b3c38f001f9d272d8d62bef63d619

-----Decoded View---------------
Arg [0] : _registryAddress (address): 0x1ba4eB0F44AB82541E56669e18972b0d6037dfE0
Arg [1] : _managementListAddress (address): 0x7E9756E1427B3c38F001F9D272D8d62BEF63D619

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001ba4eb0f44ab82541e56669e18972b0d6037dfe0
Arg [1] : 0000000000000000000000007e9756e1427b3c38f001f9d272d8d62bef63d619


Deployed Bytecode Sourcemap

1334:4829:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1654:41;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3560:32:1;;;3542:51;;3530:2;3515:18;1654:41:0;;;;;;;;195:36;;;;;-1:-1:-1;;;;;195:36:0;;;2771:572;;;;;;:::i;:::-;;:::i;:::-;;3461:163;;;;;;:::i;:::-;;:::i;1391:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4714:14:1;;4707:22;4689:41;;4677:2;4662:18;1391:47:0;4644:92:1;1779:27:0;;;;;-1:-1:-1;;;;;1779:27:0;;;4184:248;;;:::i;:::-;;;;;;;:::i;5020:1140::-;;;:::i;:::-;;;;;;;:::i;3679:211::-;;;;;;:::i;:::-;;:::i;3967:162::-;;;:::i;1536:39::-;;;;;;;;;7153:25:1;;;7141:2;7126:18;1536:39:0;7108:76:1;4499:461:0;;;:::i;1654:41::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1654:41:0;;-1:-1:-1;1654:41:0;:::o;2771:572::-;401:14;418;;:36;;-1:-1:-1;;;418:36:0;;443:10;418:36;;;3542:51:1;-1:-1:-1;;;;;418:14:0;;;;:24;;3515:18:1;;418:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;401:53;;473:9;465:61;;;;-1:-1:-1;;;465:61:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;2934:29:0;::::1;2902;2934::::0;;;:15:::1;:29;::::0;;;;;::::1;;2978:48:::0;::::1;;::::0;::::1;;;2974:143;;;3043:62;::::0;-1:-1:-1;;;3043:62:0;;5397:2:1;3043:62:0::1;::::0;::::1;5379:21:1::0;5436:2;5416:18;;;5409:30;5475:34;5455:18;;;5448:62;-1:-1:-1;;;5526:18:1;;;5519:50;5586:19;;3043:62:0::1;5369:242:1::0;2974:143:0::1;3155:4;3131:28:::0;::::1;;;3127:146;;;3176:24;:26:::0;;;:24:::1;:26;::::0;::::1;:::i;:::-;;;;;;3127:146;;;3235:24;:26:::0;;;:24:::1;:26;::::0;::::1;:::i;:::-;;;;;;3127:146;-1:-1:-1::0;;;;;;;3283:29:0;;;::::1;;::::0;;;:15:::1;:29;::::0;;;;:52;;-1:-1:-1;;3283:52:0::1;::::0;::::1;;::::0;;;::::1;::::0;;2771:572::o;3461:163::-;401:14;418;;:36;;-1:-1:-1;;;418:36:0;;443:10;418:36;;;3542:51:1;-1:-1:-1;;;;;418:14:0;;;;:24;;3515:18:1;;418:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;401:53;;473:9;465:61;;;;-1:-1:-1;;;465:61:0;;;;;;;:::i;:::-;3580:36;;::::1;::::0;:24:::1;::::0;:36:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3461:163:::0;;:::o;4184:248::-;4230:20;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4230:20:0;4283:141;;;;;;;;4328:4;-1:-1:-1;;;;;4283:141:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4283:141:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4283:141:0;;;;;;4263:161;;4184:248;:::o;5020:1140::-;5068:16;5097:17;5117:14;:12;:14::i;:::-;5097:34;;5142:33;5192:9;5178:24;;;;;;-1:-1:-1;;;5178:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5178:24:0;;5142:60;;5213:17;5233:8;;;;;;;;;-1:-1:-1;;;;;5233:8:0;-1:-1:-1;;;;;5233:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5213:40;-1:-1:-1;5264:23:0;;5298:821;5336:9;5325:8;:20;5298:821;;;5404:8;;;:25;;-1:-1:-1;;;5404:25:0;;;;;7153::1;;;5374:27:0;;-1:-1:-1;;;;;5404:8:0;;;;:15;;7126:18:1;;5404:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5472:8;;;:39;;-1:-1:-1;;;5472:39:0;;-1:-1:-1;;;;;3560:32:1;;;5472:39:0;;;3542:51:1;;;;5374:55:0;;-1:-1:-1;5444:25:0;;5472:8;;;:18;;3515::1;;5472:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5444:67;;5549:21;5526:582;5609:17;5593:13;:33;5526:582;;;5746:8;;;:51;;-1:-1:-1;;;5746:51:0;;-1:-1:-1;;;;;3796:32:1;;;5746:51:0;;;3778::1;;;;3845:18;;;3838:34;;;5695:27:0;;5746:8;;;;:15;;3751:18:1;;5746:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;5865:36:0;;5816:25;5865:36;;;:15;:36;;;;;;5695:102;;-1:-1:-1;5865:36:0;;:45;;;5929:164;;6014:19;5978:16;5995:15;5978:33;;;;;;-1:-1:-1;;;5978:33:0;;;;;;;;;-1:-1:-1;;;;;5978:55:0;;;:33;;;;;;;;;;;:55;6056:17;;;;:::i;:::-;;;;5929:164;5526:582;;5645:15;;;;;:::i;:::-;;;;5526:582;;;;5298:821;;5347:10;;;;;:::i;:::-;;;;5298:821;;;-1:-1:-1;6136:16:0;;-1:-1:-1;;;;5020:1140:0;:::o;3679:211::-;401:14;418;;:36;;-1:-1:-1;;;418:36:0;;443:10;418:36;;;3542:51:1;-1:-1:-1;;;;;418:14:0;;;;:24;;3515:18:1;;418:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;401:53;;473:9;465:61;;;;-1:-1:-1;;;465:61:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3772:30:0;::::1;3764:67;;;::::0;-1:-1:-1;;;3764:67:0;;5818:2:1;3764:67:0::1;::::0;::::1;5800:21:1::0;5857:2;5837:18;;;5830:30;5896:26;5876:18;;;5869:54;5940:18;;3764:67:0::1;5790:174:1::0;3764:67:0::1;-1:-1:-1::0;3842:8:0::1;:40:::0;;-1:-1:-1;;;;;;3842:40:0::1;-1:-1:-1::0;;;;;3842:40:0;;;::::1;::::0;;;::::1;::::0;;3679:211::o;3967:162::-;4056:16;4097:24;4090:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4090:31:0;;;;;;;;;;;;;;;;;;;;;;;3967:162;:::o;4499:461::-;4584:8;;;:20;;;-1:-1:-1;;;4584:20:0;;;;4544:7;;;;-1:-1:-1;;;;;4584:8:0;;:18;;:20;;;;;;;;;;;:8;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4564:40;-1:-1:-1;4615:17:0;;4643:256;4681:9;4670:8;:20;4643:256;;;4742:8;;;:25;;-1:-1:-1;;;4742:25:0;;;;;7153::1;;;4719:20:0;;-1:-1:-1;;;;;4742:8:0;;;;:15;;7126:18:1;;4742:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4810:8;;;:32;;-1:-1:-1;;;4810:32:0;;-1:-1:-1;;;;;3560:32:1;;;4810::0;;;3542:51:1;;;;4719:48:0;;-1:-1:-1;4782:25:0;;4810:8;;;:18;;3515::1;;4810:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4782:60;-1:-1:-1;4857:30:0;4782:60;4857:30;;:::i;:::-;;;4643:256;;4692:10;;;;;:::i;:::-;;;;4643:256;;;-1:-1:-1;4928:24:0;;4916:36;;:9;:36;:::i;:::-;4909:43;;;;4499:461;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:134:1;82:20;;111:31;82:20;111:31;:::i;:::-;63:85;;;:::o;153:257::-;;265:2;253:9;244:7;240:23;236:32;233:2;;;286:6;278;271:22;233:2;330:9;317:23;349:31;374:5;349:31;:::i;:::-;399:5;223:187;-1:-1:-1;;;223:187:1:o;415:261::-;;538:2;526:9;517:7;513:23;509:32;506:2;;;559:6;551;544:22;506:2;596:9;590:16;615:31;640:5;615:31;:::i;681:392::-;;;807:2;795:9;786:7;782:23;778:32;775:2;;;828:6;820;813:22;775:2;872:9;859:23;891:31;916:5;891:31;:::i;:::-;941:5;-1:-1:-1;998:2:1;983:18;;970:32;1011:30;970:32;1011:30;:::i;:::-;1060:7;1050:17;;;765:308;;;;;:::o;1078:1178::-;;1193:2;1236;1224:9;1215:7;1211:23;1207:32;1204:2;;;1257:6;1249;1242:22;1204:2;1302:9;1289:23;1331:18;1372:2;1364:6;1361:14;1358:2;;;1393:6;1385;1378:22;1358:2;1436:6;1425:9;1421:22;1411:32;;1481:7;1474:4;1470:2;1466:13;1462:27;1452:2;;1508:6;1500;1493:22;1452:2;1549;1536:16;1571:2;1567;1564:10;1561:2;;;1577:18;;:::i;:::-;1624:2;1620;1616:11;1656:2;1650:9;1719:2;1715:7;1710:2;1706;1702:11;1698:25;1690:6;1686:38;1774:6;1762:10;1759:22;1754:2;1742:10;1739:18;1736:46;1733:2;;;1785:18;;:::i;:::-;1821:2;1814:22;1871:18;;;1905:15;;;;-1:-1:-1;1940:11:1;;;1970;;;1966:20;;1963:33;-1:-1:-1;1960:2:1;;;2014:6;2006;1999:22;1960:2;2041:6;2032:15;;2056:169;2070:2;2067:1;2064:9;2056:169;;;2127:23;2146:3;2127:23;:::i;:::-;2115:36;;2088:1;2081:9;;;;;2171:12;;;;2203;;2056:169;;;-1:-1:-1;2244:6:1;1173:1083;-1:-1:-1;;;;;;;;1173:1083:1:o;2261:255::-;;2381:2;2369:9;2360:7;2356:23;2352:32;2349:2;;;2402:6;2394;2387:22;2349:2;2439:9;2433:16;2458:28;2480:5;2458:28;:::i;2521:190::-;;2633:2;2621:9;2612:7;2608:23;2604:32;2601:2;;;2654:6;2646;2639:22;2601:2;-1:-1:-1;2682:23:1;;2591:120;-1:-1:-1;2591:120:1:o;2716:194::-;;2839:2;2827:9;2818:7;2814:23;2810:32;2807:2;;;2860:6;2852;2845:22;2807:2;-1:-1:-1;2888:16:1;;2797:113;-1:-1:-1;2797:113:1:o;2915:476::-;;2995:5;2989:12;3022:6;3017:3;3010:19;3047:3;3059:162;3073:6;3070:1;3067:13;3059:162;;;3135:4;3191:13;;;3187:22;;3181:29;3163:11;;;3159:20;;3152:59;3088:12;3059:162;;;3239:6;3236:1;3233:13;3230:2;;;3305:3;3298:4;3289:6;3284:3;3280:16;3276:27;3269:40;3230:2;-1:-1:-1;3373:2:1;3352:15;-1:-1:-1;;3348:29:1;3339:39;;;;3380:4;3335:50;;2965:426;-1:-1:-1;;2965:426:1:o;3883:661::-;4054:2;4106:21;;;4176:13;;4079:18;;;4198:22;;;3883:661;;4054:2;4277:15;;;;4251:2;4236:18;;;3883:661;4323:195;4337:6;4334:1;4331:13;4323:195;;;4402:13;;-1:-1:-1;;;;;4398:39:1;4386:52;;4493:15;;;;4458:12;;;;4434:1;4352:9;4323:195;;;-1:-1:-1;4535:3:1;;4034:510;-1:-1:-1;;;;;;4034:510:1:o;5969:403::-;6171:2;6153:21;;;6210:2;6190:18;;;6183:30;6249:34;6244:2;6229:18;;6222:62;-1:-1:-1;;;6315:2:1;6300:18;;6293:37;6362:3;6347:19;;6143:229::o;6377:625::-;6564:2;6546:21;;;6607:13;;-1:-1:-1;;;;;6603:39:1;6583:18;;;6576:67;6678:15;;6672:22;6730:4;6725:2;6710:18;;6703:32;6377:625;;6758:52;6805:3;6790:19;;6672:22;6758:52;:::i;:::-;6744:66;;6859:2;6851:6;6847:15;6841:22;6933:2;6929:7;6917:9;6909:6;6905:22;6901:36;6894:4;6883:9;6879:20;6872:66;6955:41;6989:6;6973:14;6955:41;:::i;:::-;6947:49;6536:466;-1:-1:-1;;;;;6536:466:1:o;7189:128::-;;7260:1;7256:6;7253:1;7250:13;7247:2;;;7266:18;;:::i;:::-;-1:-1:-1;7302:9:1;;7237:80::o;7322:125::-;;7390:1;7387;7384:8;7381:2;;;7395:18;;:::i;:::-;-1:-1:-1;7432:9:1;;7371:76::o;7452:136::-;;7519:5;7509:2;;7528:18;;:::i;:::-;-1:-1:-1;;;7564:18:1;;7499:89::o;7593:135::-;;-1:-1:-1;;7653:17:1;;7650:2;;;7673:18;;:::i;:::-;-1:-1:-1;7720:1:1;7709:13;;7640:88::o;7733:127::-;7794:10;7789:3;7785:20;7782:1;7775:31;7825:4;7822:1;7815:15;7849:4;7846:1;7839:15;7865:127;7926:10;7921:3;7917:20;7914:1;7907:31;7957:4;7954:1;7947:15;7981:4;7978:1;7971:15;7997:131;-1:-1:-1;;;;;8072:31:1;;8062:42;;8052:2;;8118:1;8115;8108:12;8052:2;8042:86;:::o;8133:118::-;8219:5;8212:13;8205:21;8198:5;8195:32;8185:2;;8241:1;8238;8231:12

Swarm Source

ipfs://18763f14f130f2f7e3d2ffaa7ad7d2569b44e73a3ca1303e9f3581dca891ae17

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