Contract 0x780825fD0E7b09A8c136aD41090E356c138E0EdE

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc5cb56a1607d7337a8746219bd6c615137d59d42ba405234fecfec5ef9a014ea0x60c0604014628312022-02-09 14:38:00358 days 2 hrs agoLido: Deployer IN  Create: LedgerFactory0 MOVR0.00188337
[ Download CSV Export 
Latest 10 internal transactions
Parent Txn Hash Block From To Value
0xb506f7b3293dd9b105cd434682369fb4bc57bcd44dbc7c366ecf4df4033ef87234390722023-01-19 14:41:1814 days 2 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0x48fa89ab7915e175bd0dd66d2d77b39832462ad16f8fbd503f1eea1fd834872a30984982022-11-30 18:26:3063 days 23 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0x2b7de548e88a8ca94072dcb7b99b831d0692b961c65aa07738dd858a25db23ca23252762022-08-05 13:18:30181 days 4 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0xf0d5f4b16cb5b06b413322ac1ab6261bfe5d20681eb49b70551529f7e05a075819334802022-05-31 15:33:18247 days 2 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0x8372a16fdabc05b1fd9d2b0102ec49d91707423eadd11ba1d6f6fa63ce19360c18021822022-05-10 7:44:42268 days 9 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0x8d84ebaa24ae9512e322df5e5d2ab53830881daa41ee6b1d7e96f5e7033fed2e16095282022-03-18 9:59:00321 days 7 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0xdfd1259e5c8f96c10c5bae29b7d62fef873c68e54f7cdd79f4fb5ef0e857ced715908502022-03-13 20:12:18325 days 21 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0xacbf99db7b0e40846664daa7091996932b18f40ede09458a02d990c5f72c2ee015371672022-02-28 11:41:12339 days 5 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0xf938a974e45154726dd9173b8ff3ef8bc836718425821c224547ee3f5dbac97214628442022-02-09 14:41:06358 days 2 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
0x0b63f950218c3f25121bc7f971ec70edb0c88c643fc96ba0819e8b2af629fc2514628432022-02-09 14:40:42358 days 2 hrs ago 0x780825fd0e7b09a8c136ad41090e356c138e0ede  Contract Creation0 MOVR
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
LedgerFactory

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 8 : LedgerFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "LedgerProxy.sol";
import "ILedger.sol";

contract LedgerFactory {
    // LIDO address
    address private immutable LIDO;

    // Ledger beacon address
    address private immutable LEDGER_BEACON;

    /**
    * @notice Constructor
    * @param _lido - LIDO address
    * @param _ledgerBeacon - ledger beacon address
    */
    constructor(address _lido, address _ledgerBeacon) {
        require(_lido != address(0), "LF: LIDO_ZERO_ADDRESS");
        require(_ledgerBeacon != address(0), "LF: BEACON_ZERO_ADDRESS");

        LIDO = _lido;
        LEDGER_BEACON = _ledgerBeacon;
    }

    /**
    * @notice Create new ledger proxy contract
    * @param _stashAccount - stash account address on relay chain
    * @param _controllerAccount - controller account on relay chain
    * @param _vKSM - vKSM contract address
    * @param _controller - xcmTransactor(relaychain calls relayer) contract address
    * @param _minNominatorBalance - minimal allowed nominator balance
    * @param _minimumBalance - minimal allowed active balance for ledger
    * @param _maxUnlockingChunks - maximum amount of unlocking chunks
    */
    function createLedger(
        bytes32 _stashAccount,
        bytes32 _controllerAccount,
        address _vKSM,
        address _controller,
        uint128 _minNominatorBalance,
        uint128 _minimumBalance,
        uint256 _maxUnlockingChunks
    ) external returns (address) {
        require(msg.sender == LIDO, "LF: ONLY_LIDO");

        address ledger = address(
            new LedgerProxy(
                LEDGER_BEACON, 
                abi.encodeWithSelector(
                    ILedger.initialize.selector,
                    _stashAccount,
                    _controllerAccount,
                    _vKSM,
                    _controller,
                    _minNominatorBalance,
                    LIDO,
                    _minimumBalance,
                    _maxUnlockingChunks
                )
            )
        );

        return ledger;
    }
}

File 2 of 8 : LedgerProxy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IBeacon.sol";
import "Proxy.sol";
import "Address.sol";
import "StorageSlot.sol";

contract LedgerProxy is Proxy {
    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Initializes the proxy with `beacon`.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This
     * will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity
     * constructor.
     *
     * Requirements:
     *
     * - `beacon` must be a contract with the interface {IBeacon}.
     */
    constructor(address beacon, bytes memory data) payable {
        assert(_BEACON_SLOT == bytes32(uint256(keccak256("eip1967.proxy.beacon")) - 1));
        _upgradeBeaconToAndCall(beacon, data, false);
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(
            Address.isContract(newBeacon),
            "LEDGER_PROXY: new beacon is not a contract"
        );
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "LEDGER_PROXY: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Returns the current beacon address.
     */
    function beaconAddress() external view virtual returns (address) {
        return _getBeacon();
    }

    /**
     * @dev Returns the current implementation address of the associated beacon.
     */
    function _implementation() internal view virtual override returns (address) {
        return IBeacon(_getBeacon()).implementation();
    }
}

File 3 of 8 : IBeacon.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 4 of 8 : Proxy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

File 5 of 8 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 8 : StorageSlot.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

File 7 of 8 : ILedger.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "Types.sol";

interface ILedger {
    function initialize(
        bytes32 _stashAccount,
        bytes32 controllerAccount,
        address vKSM,
        address controller,
        uint128 minNominatorBalance,
        address lido,
        uint128 _minimumBalance,
        uint256 _maxUnlockingChunks
    ) external;

    function pushData(uint64 eraId, Types.OracleData calldata staking) external;

    function nominate(bytes32[] calldata validators) external;

    function status() external view returns (Types.LedgerStatus);

    function isEmpty() external view returns (bool);

    function stashAccount() external view returns (bytes32);

    function totalBalance() external view returns (uint128);

    function setRelaySpecs(uint128 minNominatorBalance, uint128 minimumBalance, uint256 _maxUnlockingChunks) external;

    function cachedTotalBalance() external view returns (uint128);
}

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

interface Types {
    struct Fee{
        uint16 total;
        uint16 operators;
        uint16 developers;
        uint16 treasury;
    }

    struct Stash {
        bytes32 stashAccount;
        uint64  eraId;
    }

    enum LedgerStatus {
        // bonded but not participate in staking
        Idle,
        // participate as nominator
        Nominator,
        // participate as validator
        Validator,
        // not bonded not participate in staking
        None
    }

    struct UnlockingChunk {
        uint128 balance;
        uint64 era;
    }

    struct OracleData {
        bytes32 stashAccount;
        bytes32 controllerAccount;
        LedgerStatus stakeStatus;
        // active part of stash balance
        uint128 activeBalance;
        // locked for stake stash balance.
        uint128 totalBalance;
        // totalBalance = activeBalance + sum(unlocked.balance)
        UnlockingChunk[] unlocking;
        uint32[] claimedRewards;
        // stash account balance. It includes locked (totalBalance) balance assigned
        // to a controller.
        uint128 stashBalance;
        // slashing spans for ledger
        uint32 slashingSpans;
    }

    struct RelaySpec {
        uint16 maxValidatorsPerLedger;
        uint128 minNominatorBalance;
        uint128 ledgerMinimumActiveBalance;
        uint256 maxUnlockingChunks;
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "LedgerFactory.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lido","type":"address"},{"internalType":"address","name":"_ledgerBeacon","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes32","name":"_stashAccount","type":"bytes32"},{"internalType":"bytes32","name":"_controllerAccount","type":"bytes32"},{"internalType":"address","name":"_vKSM","type":"address"},{"internalType":"address","name":"_controller","type":"address"},{"internalType":"uint128","name":"_minNominatorBalance","type":"uint128"},{"internalType":"uint128","name":"_minimumBalance","type":"uint128"},{"internalType":"uint256","name":"_maxUnlockingChunks","type":"uint256"}],"name":"createLedger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

60c060405234801561001057600080fd5b50604051610f0d380380610f0d83398101604081905261002f91610113565b6001600160a01b03821661008a5760405162461bcd60e51b815260206004820152601560248201527f4c463a204c49444f5f5a45524f5f41444452455353000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b0381166100e05760405162461bcd60e51b815260206004820152601760248201527f4c463a20424541434f4e5f5a45524f5f414444524553530000000000000000006044820152606401610081565b6001600160a01b039182166080521660a052610146565b80516001600160a01b038116811461010e57600080fd5b919050565b6000806040838503121561012657600080fd5b61012f836100f7565b915061013d602084016100f7565b90509250929050565b60805160a051610d9c6101716000396000610173015260008181606c01526101090152610d9c6000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063eed5d9de14610030575b600080fd5b61004361003e366004610211565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100cd5760405162461bcd60e51b815260206004820152600d60248201526c4c463a204f4e4c595f4c49444f60981b604482015260640160405180910390fd5b60408051602481018a9052604481018990526001600160a01b03888116606483015287811660848301526001600160801b0387811660a48401527f000000000000000000000000000000000000000000000000000000000000000090911660c4830152851660e48201526101048082018590528251808303909101815261012490910182526020810180516001600160e01b03166364079c4160e11b17905290516000917f00000000000000000000000000000000000000000000000000000000000000009161019c906101d1565b6101a7929190610282565b604051809103906000f0801580156101c3573d6000803e3d6000fd5b509998505050505050505050565b610a7f806102e883390190565b80356001600160a01b03811681146101f557600080fd5b919050565b80356001600160801b03811681146101f557600080fd5b600080600080600080600060e0888a03121561022c57600080fd5b8735965060208801359550610243604089016101de565b9450610251606089016101de565b935061025f608089016101fa565b925061026d60a089016101fa565b915060c0880135905092959891949750929550565b60018060a01b038316815260006020604081840152835180604085015260005b818110156102be578581018301518582016060015282016102a2565b818111156102d0576000606083870101525b50601f01601f19169290920160600194935050505056fe608060405260405162000a7f38038062000a7f8339810160408190526200002691620004e6565b6200005360017fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d51620005b4565b60008051602062000a3883398151915214620000735762000073620005da565b620000818282600062000089565b505062000661565b62000094836200016e565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a2600082511180620000d65750805b15620001695762000167836001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200011a57600080fd5b505afa1580156200012f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001559190620005f0565b836200033160201b620000b41760201c565b505b505050565b62000184816200036060201b620000e01760201c565b620001e95760405162461bcd60e51b815260206004820152602a60248201527f4c45444745525f50524f58593a206e657720626561636f6e206973206e6f7420604482015269184818dbdb9d1c9858dd60b21b60648201526084015b60405180910390fd5b62000273816001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200022757600080fd5b505afa1580156200023c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002629190620005f0565b6200036060201b620000e01760201c565b620002e75760405162461bcd60e51b815260206004820152603560248201527f4c45444745525f50524f58593a20626561636f6e20696d706c656d656e74617460448201527f696f6e206973206e6f74206120636f6e747261637400000000000000000000006064820152608401620001e0565b806200031060008051602062000a3883398151915260001b6200036660201b620000e61760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b606062000359838360405180606001604052806027815260200162000a586027913962000369565b9392505050565b3b151590565b90565b6060833b620003ca5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401620001e0565b600080856001600160a01b031685604051620003e791906200060e565b600060405180830381855af49150503d806000811462000424576040519150601f19603f3d011682016040523d82523d6000602084013e62000429565b606091505b5090925090506200043c82828662000446565b9695505050505050565b606083156200045757508162000359565b825115620004685782518084602001fd5b8160405162461bcd60e51b8152600401620001e091906200062c565b80516001600160a01b03811681146200049c57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004d4578181015183820152602001620004ba565b83811115620001675750506000910152565b60008060408385031215620004fa57600080fd5b620005058362000484565b60208401519092506001600160401b03808211156200052357600080fd5b818501915085601f8301126200053857600080fd5b8151818111156200054d576200054d620004a1565b604051601f8201601f19908116603f01168101908382118183101715620005785762000578620004a1565b816040528281528860208487010111156200059257600080fd5b620005a5836020830160208801620004b7565b80955050505050509250929050565b600082821015620005d557634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156200060357600080fd5b620003598262000484565b6000825162000622818460208701620004b7565b9190910192915050565b60208152600082518060208401526200064d816040850160208701620004b7565b601f01601f19169190910160400192915050565b6103c780620006716000396000f3fe6080604052600436106100225760003560e01c80637e2ec6d01461003957610031565b366100315761002f61006a565b005b61002f61006a565b34801561004557600080fd5b5061004e61007c565b6040516001600160a01b03909116815260200160405180910390f35b61007a6100756100e9565b61018c565b565b60006100af7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b905090565b60606100d9838360405180606001604052806027815260200161036b602791396101b0565b9392505050565b3b151590565b90565b600061011c7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561015457600080fd5b505afa158015610168573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100af91906102c2565b3660008037600080366000845af43d6000803e8080156101ab573d6000f35b3d6000fd5b6060833b6102145760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161022f919061031b565b600060405180830381855af49150503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f828286610289565b9695505050505050565b606083156102985750816100d9565b8251156102a85782518084602001fd5b8160405162461bcd60e51b815260040161020b9190610337565b6000602082840312156102d457600080fd5b81516001600160a01b03811681146100d957600080fd5b60005b838110156103065781810151838201526020016102ee565b83811115610315576000848401525b50505050565b6000825161032d8184602087016102eb565b9190910192915050565b60208152600082518060208401526103568160408501602087016102eb565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203c8ad36a426e8397d613de4032bc796f541e02f57815d134c1833ea5c48b730464736f6c63430008090033a3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212202f39cd17f7fc60b4e7768d252197e4c82623eb81e7bab938845c1b40f062310f64736f6c63430008090033000000000000000000000000ffc7780c34b450d917d557e728f033033cb4fa8c00000000000000000000000036cf86ffa541fed07550ffd9536dbfaac73da7eb

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

000000000000000000000000ffc7780c34b450d917d557e728f033033cb4fa8c00000000000000000000000036cf86ffa541fed07550ffd9536dbfaac73da7eb

-----Decoded View---------------
Arg [0] : _lido (address): 0xffc7780c34b450d917d557e728f033033cb4fa8c
Arg [1] : _ledgerBeacon (address): 0x36cf86ffa541fed07550ffd9536dbfaac73da7eb

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ffc7780c34b450d917d557e728f033033cb4fa8c
Arg [1] : 00000000000000000000000036cf86ffa541fed07550ffd9536dbfaac73da7eb


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.