Contract Overview
Balance:
0 GLMR
GLMR Value:
$0.00
My Name Tag:
Not Available, login to update
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0xdddb979337f9be49e2fa25ed56c830163329bdb42297962d88b306656fca05fd | 0x60c06040 | 906659 | 340 days 2 hrs ago | Lido Staked Polkadot: Deployer | IN | Create: LedgerFactory | 0 GLMR | 0.0791323 |
[ Download CSV Export ]
Latest 4 internal transactions
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0xed56242e2e09687b25a74a1773bc955e604b0c233467c3b08e48e74d0eb49724 | 3079610 | 28 days 33 mins ago | 0xf8b73e2ffb2d0e25cf3166a22ea3fe1f73483f49 | Contract Creation | 0 GLMR | ||
0x869028ed18f22a84e86acfb5ecdea767bf3aa2a006909f4ef176c67a23c2554a | 2223619 | 149 days 2 hrs ago | 0xf8b73e2ffb2d0e25cf3166a22ea3fe1f73483f49 | Contract Creation | 0 GLMR | ||
0x528c9793c29e24b114dc27484e828b41ba25bd33b03fa7175ba5a545bef6662d | 956107 | 332 days 21 hrs ago | 0xf8b73e2ffb2d0e25cf3166a22ea3fe1f73483f49 | Contract Creation | 0 GLMR | ||
0x4a1501fc1768d561b3c9fdfc238db6722cc0e47f5478169c8ef01409b16da47d | 956090 | 332 days 21 hrs ago | 0xf8b73e2ffb2d0e25cf3166a22ea3fe1f73483f49 | Contract Creation | 0 GLMR |
[ Download CSV Export ]
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 Name:
LedgerFactory
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at moonbeam.moonscan.io on 2022-04-27 */ // 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); } } } } /** * @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); } 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); function transferDownwardBalance() external view returns (uint128); } 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; } } /** * @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 { } } 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(); } } /** * @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 } } } 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; } }
[{"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"}]
Contract Creation Code
60c060405234801561001057600080fd5b50604051610eba380380610eba83398101604081905261002f91610113565b6001600160a01b03821661008a5760405162461bcd60e51b815260206004820152601560248201527f4c463a204c49444f5f5a45524f5f41444452455353000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b0381166100e05760405162461bcd60e51b815260206004820152601760248201527f4c463a20424541434f4e5f5a45524f5f414444524553530000000000000000006044820152606401610081565b6001600160a01b039182166080521660a052610146565b80516001600160a01b038116811461010e57600080fd5b919050565b6000806040838503121561012657600080fd5b61012f836100f7565b915061013d602084016100f7565b90509250929050565b60805160a051610d496101716000396000610173015260008181606c01526101090152610d496000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063eed5d9de14610030575b600080fd5b61004361003e366004610211565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100cd5760405162461bcd60e51b815260206004820152600d60248201526c4c463a204f4e4c595f4c49444f60981b604482015260640160405180910390fd5b60408051602481018a9052604481018990526001600160a01b03888116606483015287811660848301526001600160801b0387811660a48401527f000000000000000000000000000000000000000000000000000000000000000090911660c4830152851660e48201526101048082018590528251808303909101815261012490910182526020810180516001600160e01b03166364079c4160e11b17905290516000917f00000000000000000000000000000000000000000000000000000000000000009161019c906101d1565b6101a7929190610282565b604051809103906000f0801580156101c3573d6000803e3d6000fd5b509998505050505050505050565b610a2c806102e883390190565b80356001600160a01b03811681146101f557600080fd5b919050565b80356001600160801b03811681146101f557600080fd5b600080600080600080600060e0888a03121561022c57600080fd5b8735965060208801359550610243604089016101de565b9450610251606089016101de565b935061025f608089016101fa565b925061026d60a089016101fa565b915060c0880135905092959891949750929550565b60018060a01b038316815260006020604081840152835180604085015260005b818110156102be578581018301518582016060015282016102a2565b818111156102d0576000606083870101525b50601f01601f19169290920160600194935050505056fe608060405260405162000a2c38038062000a2c8339810160408190526200002691620004c6565b6200005360017fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5162000594565b600080516020620009e583398151915214620000735762000073620005ba565b620000818282600062000089565b505062000641565b62000094836200015e565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a2600082511180620000d65750805b15620001595762000157836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200011f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001459190620005d0565b836200031160201b6200008b1760201c565b505b505050565b62000174816200034060201b620000b71760201c565b620001d95760405162461bcd60e51b815260206004820152602a60248201527f4c45444745525f50524f58593a206e657720626561636f6e206973206e6f7420604482015269184818dbdb9d1c9858dd60b21b60648201526084015b60405180910390fd5b62000253816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002429190620005d0565b6200034060201b620000b71760201c565b620002c75760405162461bcd60e51b815260206004820152603560248201527f4c45444745525f50524f58593a20626561636f6e20696d706c656d656e74617460448201527f696f6e206973206e6f74206120636f6e747261637400000000000000000000006064820152608401620001d0565b80620002f0600080516020620009e583398151915260001b6200034660201b620000bd1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b606062000339838360405180606001604052806027815260200162000a056027913962000349565b9392505050565b3b151590565b90565b6060833b620003aa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401620001d0565b600080856001600160a01b031685604051620003c79190620005ee565b600060405180830381855af49150503d806000811462000404576040519150601f19603f3d011682016040523d82523d6000602084013e62000409565b606091505b5090925090506200041c82828662000426565b9695505050505050565b606083156200043757508162000339565b825115620004485782518084602001fd5b8160405162461bcd60e51b8152600401620001d091906200060c565b80516001600160a01b03811681146200047c57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004b45781810151838201526020016200049a565b83811115620001575750506000910152565b60008060408385031215620004da57600080fd5b620004e58362000464565b60208401519092506001600160401b03808211156200050357600080fd5b818501915085601f8301126200051857600080fd5b8151818111156200052d576200052d62000481565b604051601f8201601f19908116603f0116810190838211818310171562000558576200055862000481565b816040528281528860208487010111156200057257600080fd5b6200058583602083016020880162000497565b80955050505050509250929050565b600082821015620005b557634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600060208284031215620005e357600080fd5b620003398262000464565b600082516200060281846020870162000497565b9190910192915050565b60208152600082518060208401526200062d81604085016020870162000497565b601f01601f19169190910160400192915050565b61039480620006516000396000f3fe6080604052600436106100225760003560e01c80637e2ec6d01461003957610031565b366100315761002f61006a565b005b61002f61006a565b34801561004557600080fd5b5061004e61007c565b6040516001600160a01b03909116815260200160405180910390f35b61007a6100756100c0565b61012b565b565b600061008661014f565b905090565b60606100b083836040518060600160405280602781526020016103386027913961017d565b9392505050565b3b151590565b90565b60006100ca61014f565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610107573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610086919061028f565b3660008037600080366000845af43d6000803e80801561014a573d6000f35b3d6000fd5b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6060833b6101e15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b0316856040516101fc91906102e8565b600060405180830381855af49150503d8060008114610237576040519150601f19603f3d011682016040523d82523d6000602084013e61023c565b606091505b509150915061024c828286610256565b9695505050505050565b606083156102655750816100b0565b8251156102755782518084602001fd5b8160405162461bcd60e51b81526004016101d89190610304565b6000602082840312156102a157600080fd5b81516001600160a01b03811681146100b057600080fd5b60005b838110156102d35781810151838201526020016102bb565b838111156102e2576000848401525b50505050565b600082516102fa8184602087016102b8565b9190910192915050565b60208152600082518060208401526103238160408501602087016102b8565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122046a3f657a738c7d5e099eff97d9b61ef14322ad649b6fbe1bec9fa220ba6677e64736f6c634300080a0033a3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220cc73014e20b404e22dde5a09fb42da7d75e0e4a4d8191954b8a5ae87a1fef21f64736f6c634300080a0033000000000000000000000000fa36fe1da08c89ec72ea1f0143a35bfd5daea108000000000000000000000000b9675751ce5840acd4c0ba0e2d5a9188a8f34bb8
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fa36fe1da08c89ec72ea1f0143a35bfd5daea108000000000000000000000000b9675751ce5840acd4c0ba0e2d5a9188a8f34bb8
-----Decoded View---------------
Arg [0] : _lido (address): 0xfa36fe1da08c89ec72ea1f0143a35bfd5daea108
Arg [1] : _ledgerBeacon (address): 0xb9675751ce5840acd4c0ba0e2d5a9188a8f34bb8
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fa36fe1da08c89ec72ea1f0143a35bfd5daea108
Arg [1] : 000000000000000000000000b9675751ce5840acd4c0ba0e2d5a9188a8f34bb8
Deployed ByteCode Sourcemap
9338:2021:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10452:904;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1155:32:1;;;1137:51;;1125:2;1110:18;10452:904:0;;;;;;;;10733:7;10761:10;-1:-1:-1;;;;;10775:4:0;10761:18;;10753:44;;;;-1:-1:-1;;;10753:44:0;;1401:2:1;10753:44:0;;;1383:21:1;1440:2;1420:18;;;1413:30;-1:-1:-1;;;1459:18:1;;;1452:43;1512:18;;10753:44:0;;;;;;;;10916:380;;;;;;1884:25:1;;;1925:18;;;1918:34;;;-1:-1:-1;;;;;2026:15:1;;;2006:18;;;1999:43;2078:15;;;2058:18;;;2051:43;-1:-1:-1;;;;;2169:15:1;;;2148:19;;;2141:44;11193:4:0;2222:15:1;;;2201:19;;;2194:44;2275:15;;2254:19;;;2247:44;2307:19;;;;2300:35;;;10916:380:0;;;;;;;;;;1856:19:1;;;;10916:380:0;;;;;;;-1:-1:-1;;;;;10916:380:0;-1:-1:-1;;;10916:380:0;;;10849:462;;-1:-1:-1;;10883:13:0;;10849:462;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10810:512:0;10452:904;-1:-1:-1;;;;;;;;;10452:904:0:o;-1:-1:-1:-;;;;;;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:::-;260:20;;-1:-1:-1;;;;;309:31:1;;299:42;;289:70;;355:1;352;345:12;370:616;483:6;491;499;507;515;523;531;584:3;572:9;563:7;559:23;555:33;552:53;;;601:1;598;591:12;552:53;637:9;624:23;614:33;;694:2;683:9;679:18;666:32;656:42;;717:38;751:2;740:9;736:18;717:38;:::i;:::-;707:48;;774:38;808:2;797:9;793:18;774:38;:::i;:::-;764:48;;831:39;865:3;854:9;850:19;831:39;:::i;:::-;821:49;;889:39;923:3;912:9;908:19;889:39;:::i;:::-;879:49;;975:3;964:9;960:19;947:33;937:43;;370:616;;;;;;;;;;:::o;2346:692::-;2550:1;2546;2541:3;2537:11;2533:19;2525:6;2521:32;2510:9;2503:51;2484:4;2573:2;2611;2606;2595:9;2591:18;2584:30;2643:6;2637:13;2686:6;2681:2;2670:9;2666:18;2659:34;2711:1;2721:140;2735:6;2732:1;2729:13;2721:140;;;2830:14;;;2826:23;;2820:30;2796:17;;;2815:2;2792:26;2785:66;2750:10;;2721:140;;;2879:6;2876:1;2873:13;2870:91;;;2949:1;2944:2;2935:6;2924:9;2920:22;2916:31;2909:42;2870:91;-1:-1:-1;3022:2:1;3001:15;-1:-1:-1;;2997:29:1;2982:45;;;;3029:2;2978:54;;2346:692;-1:-1:-1;;;;2346:692:1:o
Swarm Source
ipfs://cc73014e20b404e22dde5a09fb42da7d75e0e4a4d8191954b8a5ae87a1fef21f
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.