Transactions
Internal Transactions
Coin Balance History
Code
Read Contract
Read Proxy
Write Contract
Write Proxy
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- WithdrawalsManagerProxy
- Optimization enabled
- true
- Compiler version
- v0.8.4+commit.c7e474f2
- Optimization runs
- 200
- EVM Version
- istanbul
- Verified at
- 2024-03-02T01:09:34.245271Z
Constructor Arguments
0x0000000000000000000000006e944ca3875c20a71acf9872d3cbfcc442aa087e0000000000000000000000009df2d517e755f5789ef19dc1aa92ba91b4cd045c
Arg [0] (address) : 0x6e944ca3875c20a71acf9872d3cbfcc442aa087e
Arg [1] (address) : 0x9df2d517e755f5789ef19dc1aa92ba91b4cd045c
contracts/0.8.4/WithdrawalsManagerProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
////////////////////////////////////////////////////////////////////////////////////////////////////
/// PART: WithdrawalsManagerStub.sol ///////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @dev An initial stub implementation for the withdrawals contract proxy.
*/
contract WithdrawalsManagerStub {
/**
* @dev Receives Ether.
*
* Currently this is intentionally not supported since Ethereum 2.0 withdrawals specification
* might change before withdrawals are enabled. This contract sits behind a proxy that can be
* upgraded to a new implementation contract collectively by LDO holders by performing a vote.
*
* When Ethereum 2.0 withdrawals specification is finalized, Lido DAO will prepare the new
* implementation contract and initiate a vote among LDO holders for upgrading the proxy to
* the new implementation.
*/
receive() external payable {
revert("not supported");
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
/// PART: OpenZeppelin/openzeppelin-contracts@4.0.0/contracts/utils/Address.sol ////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @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);
}
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
/// PART: OpenZeppelin/openzeppelin-contracts@4.0.0/contracts/proxy/Proxy.sol //////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @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 {
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
/// PART: OpenZeppelin/openzeppelin-contracts@4.0.0/contracts/proxy/ERC1967/ERC1967Proxy.sol ///////
////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
* implementation address that can be changed. This address is stored in storage in the location specified by
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
* implementation behind the proxy.
*
* Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
* {TransparentUpgradeableProxy}.
*/
contract ERC1967Proxy is Proxy {
/**
* @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
*
* If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
* function call, and allows initializating the storage of the proxy like a Solidity constructor.
*/
constructor(address _logic, bytes memory _data) payable {
assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
_setImplementation(_logic);
if(_data.length > 0) {
Address.functionDelegateCall(_logic, _data);
}
}
/**
* @dev Emitted when the implementation is upgraded.
*/
event Upgraded(address indexed implementation);
/**
* @dev Storage slot with the address of the current implementation.
* This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
* validated in the constructor.
*/
bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
/**
* @dev Returns the current implementation address.
*/
function _implementation() internal view virtual override returns (address impl) {
bytes32 slot = _IMPLEMENTATION_SLOT;
// solhint-disable-next-line no-inline-assembly
assembly {
impl := sload(slot)
}
}
/**
* @dev Upgrades the proxy to a new implementation.
*
* Emits an {Upgraded} event.
*/
function _upgradeTo(address newImplementation) internal virtual {
_setImplementation(newImplementation);
emit Upgraded(newImplementation);
}
/**
* @dev Stores a new address in the EIP1967 implementation slot.
*/
function _setImplementation(address newImplementation) private {
require(Address.isContract(newImplementation), "ERC1967Proxy: new implementation is not a contract");
bytes32 slot = _IMPLEMENTATION_SLOT;
// solhint-disable-next-line no-inline-assembly
assembly {
sstore(slot, newImplementation)
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
/// PART: WithdrawalsManagerProxy.sol //////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* @dev Copied from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.1.0/contracts/utils/StorageSlot.sol
*/
library StorageSlot {
struct AddressSlot {
address value;
}
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
assembly {
r.slot := slot
}
}
}
/**
* @dev A proxy for Lido Ethereum 2.0 withdrawals manager contract.
*
* Though the Beacon chain already supports setting withdrawal credentials pointing to a smart
* contract, the withdrawals specification is not yet final and might change before withdrawals
* are enabled in the Merge network. This means that Lido cannot deploy the final implementation
* of the withdrawals manager contract yet. At the same time, it's desirable to have withdrawal
* credentials pointing to a smart contract since this would avoid the need to migrate a lot of
* validators to new withdrawal credentials once withdrawals are enabled.
*
* To solve this, Lido uses an upgradeable proxy controlled by the DAO. Initially, it uses a stub
* implementation contract, WithdrawalsManagerStub, that cannot receive Ether. The implementation
* can only be changed by LDO holders collectively by performing a DAO vote. Lido will set validator
* withdrawal credentials pointing to this proxy contract.
*
* When Ethereum 2.0 withdrawals specification is finalized, Lido DAO will prepare the new
* implementation contract and initiate a vote among LDO holders for upgrading this proxy to the
* new implementation.
*
* Once withdrawals are enabled in Ethereum 2.0, Lido DAO members will start a vote among LDO
* holders for disabling the upgradeability forever and locking the implementation by changing
* proxy admin from the DAO Voting contract to a zero address (which is an irreversible action).
*/
contract WithdrawalsManagerProxy is ERC1967Proxy {
/**
* @dev The address of Lido DAO Voting contract.
*/
address internal immutable LIDO_VOTING;
/**
* @dev Storage slot with the admin of the contract.
*
* Equals `bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)`.
*/
bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
/**
* @dev Emitted when the admin account has changed.
*/
event AdminChanged(address previousAdmin, address newAdmin);
/**
* @dev Initializes the upgradeable proxy with the initial stub implementation.
*/
constructor(address voting, address impl) ERC1967Proxy(impl, new bytes(0)) {
LIDO_VOTING = voting;
_setAdmin(voting);
}
/**
* @return Returns the current implementation address.
*/
function implementation() external view returns (address) {
return _implementation();
}
/**
* @dev Upgrades the proxy to a new implementation, optionally performing an additional
* setup call.
*
* Can only be called by the proxy admin until the proxy is ossified.
* Cannot be called after the proxy is ossified.
*
* Emits an {Upgraded} event.
*
* @param setupCalldata Data for the setup call. The call is skipped if data is empty.
*/
function proxy_upgradeTo(address newImplementation, bytes memory setupCalldata) external {
address admin = _getAdmin();
require(admin != address(0), "proxy: ossified");
require(msg.sender == admin, "proxy: unauthorized");
_upgradeTo(newImplementation);
if (setupCalldata.length > 0) {
Address.functionDelegateCall(newImplementation, setupCalldata, "proxy: setup failed");
}
}
/**
* @dev Returns the current admin.
*/
function _getAdmin() internal view returns (address) {
return StorageSlot.getAddressSlot(ADMIN_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 admin slot.
*/
function _setAdmin(address newAdmin) private {
StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;
}
/**
* @dev Returns the current admin of the proxy.
*/
function proxy_getAdmin() external view returns (address) {
return _getAdmin();
}
/**
* @dev Changes the admin of the proxy.
*
* Emits an {AdminChanged} event.
*/
function proxy_changeAdmin(address newAdmin) external {
address admin = _getAdmin();
require(msg.sender == admin, "proxy: unauthorized");
emit AdminChanged(admin, newAdmin);
_setAdmin(newAdmin);
}
/**
* @dev Returns whether the implementation is locked forever.
*/
function proxy_getIsOssified() external view returns (bool) {
return _getAdmin() == address(0);
}
}
Compiler Settings
{"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{},"evmVersion":"istanbul"}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"voting","internalType":"address"},{"type":"address","name":"impl","internalType":"address"}]},{"type":"event","name":"AdminChanged","inputs":[{"type":"address","name":"previousAdmin","internalType":"address","indexed":false},{"type":"address","name":"newAdmin","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Upgraded","inputs":[{"type":"address","name":"implementation","internalType":"address","indexed":true}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"implementation","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"proxy_changeAdmin","inputs":[{"type":"address","name":"newAdmin","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"proxy_getAdmin","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"proxy_getIsOssified","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"proxy_upgradeTo","inputs":[{"type":"address","name":"newImplementation","internalType":"address"},{"type":"bytes","name":"setupCalldata","internalType":"bytes"}]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x60a06040523480156200001157600080fd5b5060405162000c3d38038062000c3d833981016040819052620000349162000352565b60408051600081526020810190915281906200007260017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620003dc565b60008051602062000bf6833981519152146200009e57634e487b7160e01b600052600160045260246000fd5b620000a982620000f1565b805115620000ca57620000c882826200018760201b620003651760201c565b505b50506001600160601b0319606083901b16608052620000e982620001b6565b505062000433565b62000107816200021160201b620003911760201c565b620001745760405162461bcd60e51b815260206004820152603260248201527f4552433139363750726f78793a206e657720696d706c656d656e746174696f6e604482015271081a5cc81b9bdd08184818dbdb9d1c9858dd60721b60648201526084015b60405180910390fd5b60008051602062000bf683398151915255565b6060620001af838360405180606001604052806027815260200162000c166027913962000217565b9392505050565b80620001f07fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b620002f460201b620003971760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b3b151590565b6060833b620002785760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200016b565b600080856001600160a01b03168560405162000295919062000389565b600060405180830381855af49150503d8060008114620002d2576040519150601f19603f3d011682016040523d82523d6000602084013e620002d7565b606091505b509092509050620002ea828286620002f7565b9695505050505050565b90565b6060831562000308575081620001af565b825115620003195782518084602001fd5b8160405162461bcd60e51b81526004016200016b9190620003a7565b80516001600160a01b03811681146200034d57600080fd5b919050565b6000806040838503121562000365578182fd5b620003708362000335565b9150620003806020840162000335565b90509250929050565b600082516200039d81846020870162000400565b9190910192915050565b6020815260008251806020840152620003c881604085016020870162000400565b601f01601f19169190910160400192915050565b600082821015620003fb57634e487b7160e01b81526011600452602481fd5b500390565b60005b838110156200041d57818101518382015260200162000403565b838111156200042d576000848401525b50505050565b60805160601c6107a76200044f600039600050506107a76000f3fe60806040526004361061004e5760003560e01c8063019fa4f1146100655780632e1997b6146100855780635c60da1b146100af578063621f6309146100dc578063abe5e587146100fc5761005d565b3661005d5761005b610111565b005b61005b610111565b34801561007157600080fd5b5061005b6100803660046105e2565b610143565b34801561009157600080fd5b5061009a610223565b60405190151581526020015b60405180910390f35b3480156100bb57600080fd5b506100c461023d565b6040516001600160a01b0390911681526020016100a6565b3480156100e857600080fd5b5061005b6100f73660046105fc565b61026c565b34801561010857600080fd5b506100c461035b565b61014161013c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b61039a565b565b600061014d6103be565b9050336001600160a01b038216146101a25760405162461bcd60e51b81526020600482015260136024820152721c1c9bde1e4e881d5b985d5d1a1bdc9a5e9959606a1b60448201526064015b60405180910390fd5b604080516001600160a01b038084168252841660208201527f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a17fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610380546001600160a01b0319166001600160a01b0384161790555050565b60008061022e6103be565b6001600160a01b031614905090565b60006102677f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b60006102766103be565b90506001600160a01b0381166102c05760405162461bcd60e51b815260206004820152600f60248201526e1c1c9bde1e4e881bdcdcda599a5959608a1b6044820152606401610199565b336001600160a01b0382161461030e5760405162461bcd60e51b81526020600482015260136024820152721c1c9bde1e4e881d5b985d5d1a1bdc9a5e9959606a1b6044820152606401610199565b610317836103ec565b815115610356576103548383604051806040016040528060138152602001721c1c9bde1e4e881cd95d1d5c0819985a5b1959606a1b81525061042c565b505b505050565b60006102676103be565b606061038a838360405180606001604052806027815260200161074b6027913961042c565b9392505050565b3b151590565b90565b3660008037600080366000845af43d6000803e8080156103b9573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031690565b6103f581610500565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060833b61048b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610199565b600080856001600160a01b0316856040516104a691906106b9565b600060405180830381855af49150503d80600081146104e1576040519150601f19603f3d011682016040523d82523d6000602084013e6104e6565b606091505b50915091506104f682828661058d565b9695505050505050565b803b6105695760405162461bcd60e51b815260206004820152603260248201527f4552433139363750726f78793a206e657720696d706c656d656e746174696f6e604482015271081a5cc81b9bdd08184818dbdb9d1c9858dd60721b6064820152608401610199565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6060831561059c57508161038a565b8251156105ac5782518084602001fd5b8160405162461bcd60e51b815260040161019991906106d5565b80356001600160a01b03811681146105dd57600080fd5b919050565b6000602082840312156105f3578081fd5b61038a826105c6565b6000806040838503121561060e578081fd5b610617836105c6565b9150602083013567ffffffffffffffff80821115610633578283fd5b818501915085601f830112610646578283fd5b81358181111561065857610658610734565b604051601f8201601f19908116603f0116810190838211818310171561068057610680610734565b81604052828152886020848701011115610698578586fd5b82602086016020830137856020848301015280955050505050509250929050565b600082516106cb818460208701610708565b9190910192915050565b60208152600082518060208401526106f4816040850160208701610708565b601f01601f19169190910160400192915050565b60005b8381101561072357818101518382015260200161070b565b838111156103545750506000910152565b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122080ae43c90de6e3ac4a6b1d870739d838a5536a299d62177a83c0d48d07909d7264736f6c63430008040033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000006e944ca3875c20a71acf9872d3cbfcc442aa087e0000000000000000000000009df2d517e755f5789ef19dc1aa92ba91b4cd045c
Deployed ByteCode
0x60806040526004361061004e5760003560e01c8063019fa4f1146100655780632e1997b6146100855780635c60da1b146100af578063621f6309146100dc578063abe5e587146100fc5761005d565b3661005d5761005b610111565b005b61005b610111565b34801561007157600080fd5b5061005b6100803660046105e2565b610143565b34801561009157600080fd5b5061009a610223565b60405190151581526020015b60405180910390f35b3480156100bb57600080fd5b506100c461023d565b6040516001600160a01b0390911681526020016100a6565b3480156100e857600080fd5b5061005b6100f73660046105fc565b61026c565b34801561010857600080fd5b506100c461035b565b61014161013c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b61039a565b565b600061014d6103be565b9050336001600160a01b038216146101a25760405162461bcd60e51b81526020600482015260136024820152721c1c9bde1e4e881d5b985d5d1a1bdc9a5e9959606a1b60448201526064015b60405180910390fd5b604080516001600160a01b038084168252841660208201527f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a17fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610380546001600160a01b0319166001600160a01b0384161790555050565b60008061022e6103be565b6001600160a01b031614905090565b60006102677f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b60006102766103be565b90506001600160a01b0381166102c05760405162461bcd60e51b815260206004820152600f60248201526e1c1c9bde1e4e881bdcdcda599a5959608a1b6044820152606401610199565b336001600160a01b0382161461030e5760405162461bcd60e51b81526020600482015260136024820152721c1c9bde1e4e881d5b985d5d1a1bdc9a5e9959606a1b6044820152606401610199565b610317836103ec565b815115610356576103548383604051806040016040528060138152602001721c1c9bde1e4e881cd95d1d5c0819985a5b1959606a1b81525061042c565b505b505050565b60006102676103be565b606061038a838360405180606001604052806027815260200161074b6027913961042c565b9392505050565b3b151590565b90565b3660008037600080366000845af43d6000803e8080156103b9573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031690565b6103f581610500565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060833b61048b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610199565b600080856001600160a01b0316856040516104a691906106b9565b600060405180830381855af49150503d80600081146104e1576040519150601f19603f3d011682016040523d82523d6000602084013e6104e6565b606091505b50915091506104f682828661058d565b9695505050505050565b803b6105695760405162461bcd60e51b815260206004820152603260248201527f4552433139363750726f78793a206e657720696d706c656d656e746174696f6e604482015271081a5cc81b9bdd08184818dbdb9d1c9858dd60721b6064820152608401610199565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6060831561059c57508161038a565b8251156105ac5782518084602001fd5b8160405162461bcd60e51b815260040161019991906106d5565b80356001600160a01b03811681146105dd57600080fd5b919050565b6000602082840312156105f3578081fd5b61038a826105c6565b6000806040838503121561060e578081fd5b610617836105c6565b9150602083013567ffffffffffffffff80821115610633578283fd5b818501915085601f830112610646578283fd5b81358181111561065857610658610734565b604051601f8201601f19908116603f0116810190838211818310171561068057610680610734565b81604052828152886020848701011115610698578586fd5b82602086016020830137856020848301015280955050505050509250929050565b600082516106cb818460208701610708565b9190910192915050565b60208152600082518060208401526106f4816040850160208701610708565b601f01601f19169190910160400192915050565b60005b8381101561072357818101518382015260200161070b565b838111156103545750506000910152565b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122080ae43c90de6e3ac4a6b1d870739d838a5536a299d62177a83c0d48d07909d7264736f6c63430008040033