0 txs
0 calls
constructor
constructor()
functions
conversionLimit
viewfunction conversionLimit(address) view returns (uint256)
convertableAssets
viewfunction convertableAssets(address) view returns (bool)
ethValueInWithdrawal
viewfunction ethValueInWithdrawal() view returns (uint256)
getRsETHAmountToMint
viewfunction getRsETHAmountToMint(address asset, uint256 amount) view returns (uint256 rsethAmountToMint)
lrtConfig
viewfunction lrtConfig() view returns (address)
onERC721Received
purefunction onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
processedWithdrawalRoots
viewfunction processedWithdrawalRoots(bytes32) view returns (bool)
stETH
viewfunction stETH() view returns (address)
swETH
viewfunction swETH() view returns (address)
swEXIT
viewfunction swEXIT() view returns (address)
withdrawalQueue
viewfunction withdrawalQueue() view returns (address)
addConvertableAsset
nonpayablefunction addConvertableAsset(address asset)
claimStEth
nonpayablefunction claimStEth(uint256 _requestId, uint256 _hint)
claimSwEth
nonpayablefunction claimSwEth(uint256 _tokenId)
initialize
nonpayablefunction initialize(address lrtConfigAddr)
initialize2
nonpayablefunction initialize2(address _withdrawalQueueAddress, address _stETHAddress, address _swEXITAddress, address _swETHAddress)
removeConvertableAsset
nonpayablefunction removeConvertableAsset(address asset)
setConversionLimit
nonpayablefunction setConversionLimit(address asset, uint256 limit)
swapEthToAsset
payablefunction swapEthToAsset(address asset, uint256 minimumExpectedReturnAmount) payable returns (uint256 returnAmount)
transferAssetFromDepositPool
nonpayablefunction transferAssetFromDepositPool(address _asset, uint256 _amount)
unstakeStEth
nonpayablefunction unstakeStEth(uint256 amountToUnstake)
unstakeSwEth
nonpayablefunction unstakeSwEth(uint256 amountToUnstake)
updateLRTConfig
nonpayablefunction updateLRTConfig(address lrtConfigAddr)
events
ConvertedEigenlayerAssetToRsEth
event ConvertedEigenlayerAssetToRsEth(address indexed reciever, uint256 rsethAmount, bytes32 withdrawalRoot)
ETHSwappedForLST
event ETHSwappedForLST(uint256 ethAmount, address indexed toAsset, uint256 returnAmount)
EthTransferred
event EthTransferred(address to, uint256 amount)
Initialized
event Initialized(uint8 version)
UnstakeStETHStarted
event UnstakeStETHStarted(uint256 tokenId)
UnstakeSwETHStarted
event UnstakeSwETHStarted(uint256 tokenId)
UpdatedLRTConfig
event UpdatedLRTConfig(address indexed lrtConfig)
errors
CallerNotLRTConfigAdmin
error CallerNotLRTConfigAdmin()
CallerNotLRTConfigManager
error CallerNotLRTConfigManager()
CallerNotLRTConfigOperator
error CallerNotLRTConfigOperator()
ConversionLimitReached
error ConversionLimitReached()
InvalidWithdrawer
error InvalidWithdrawer()
MinimumExpectedReturnNotReached
error MinimumExpectedReturnNotReached()
NotEnoughAssetToTransfer
error NotEnoughAssetToTransfer()
TokenTransferFailed
error TokenTransferFailed()
ValueAlreadyInUse
error ValueAlreadyInUse()
WithdrawalRootAlreadyProcess
error WithdrawalRootAlreadyProcess()
WithdrawalRootNotPending
error WithdrawalRootNotPending()
WithdrawalRootNotProcessed
error WithdrawalRootNotProcessed()
ZeroAddressNotAllowed
error ZeroAddressNotAllowed()
creation bytecode
0x608060405234801561001057600080fd5b5061001961001e565b6100ea565b600054600160a81b900460ff161561008c5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600054600160a01b900460ff908116146100e8576000805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61235580620000fa6000396000f3fe6080604052600436106101445760003560e01c8063585f2337116100b6578063c1fe3e481161006f578063c1fe3e48146103db578063c4d66de8146103fb578063d3b063081461041b578063e1bce57a14610448578063f1650a4614610468578063f3cbc0f51461048857600080fd5b8063585f2337146103145780635e7a000f14610335578063619fba78146103555780636a4c410d14610385578063a881cda21461039b578063ba5bb442146103bb57600080fd5b806323f87d011161010857806323f87d011461023457806324ef3a0b146102545780632f0d3d831461027457806337d5fe99146102945780633d16293a146102b4578063567c7f07146102f457600080fd5b806305a77dc9146101505780630dd4433d14610172578063150b7a021461019257806315864e0a146101dc57806318a66953146101fc57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5061017061016b366004611dcd565b6104a8565b005b34801561017e57600080fd5b5061017061018d366004611df1565b610566565b34801561019e57600080fd5b506101be6101ad366004611e0a565b630a85bd0160e11b95945050505050565b6040516001600160e01b031990911681526020015b60405180910390f35b3480156101e857600080fd5b506101706101f7366004611dcd565b610618565b34801561020857600080fd5b5060345461021c906001600160a01b031681565b6040516001600160a01b0390911681526020016101d3565b34801561024057600080fd5b5061017061024f366004611df1565b610723565b34801561026057600080fd5b5061017061026f366004611dcd565b6107c9565b34801561028057600080fd5b5061017061028f366004611ea9565b61088a565b3480156102a057600080fd5b5060355461021c906001600160a01b031681565b3480156102c057600080fd5b506102e46102cf366004611dcd565b60386020526000908152604090205460ff1681565b60405190151581526020016101d3565b34801561030057600080fd5b5061017061030f366004611ecb565b61093e565b610327610322366004611ecb565b6109f7565b6040519081526020016101d3565b34801561034157600080fd5b50610170610350366004611df1565b610d17565b34801561036157600080fd5b506102e4610370366004611df1565b60376020526000908152604090205460ff1681565b34801561039157600080fd5b50610327603a5481565b3480156103a757600080fd5b506101706103b6366004611ecb565b610dbd565b3480156103c757600080fd5b506103276103d6366004611ecb565b611089565b3480156103e757600080fd5b5060365461021c906001600160a01b031681565b34801561040757600080fd5b50610170610416366004611dcd565b611181565b34801561042757600080fd5b50610327610436366004611dcd565b60396020526000908152604090205481565b34801561045457600080fd5b5060335461021c906001600160a01b031681565b34801561047457600080fd5b5060005461021c906001600160a01b031681565b34801561049457600080fd5b506101706104a3366004611ef7565b6112b4565b600054604051632474521560e21b81526000805160206122c083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa158015610504573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105289190611f53565b61054557604051631086ce3360e11b815260040160405180910390fd5b6001600160a01b03166000908152603860205260409020805460ff19169055565b600054604051632474521560e21b815260008051602061230083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e69190611f53565b61060357604051632e8726f760e11b815260040160405180910390fd5b61060c81611416565b61061547611477565b50565b60008054604051632474521560e21b815260048101929092523360248301526001600160a01b0316906391d1485490604401602060405180830381865afa158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190611f53565b6106a8576040516305924c7d60e21b815260040160405180910390fd5b6000546001600160a01b0316156106d2576040516318e6d51960e01b815260040160405180910390fd5b6106db816115dd565b600080546001600160a01b0319166001600160a01b038316908117825560405190917f9cf19cefd9aab739c33b95716ee3f3f921f219dc6d7aae25e1f9497b3788915091a250565b600054604051632474521560e21b815260008051602061230083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a39190611f53565b6107c057604051632e8726f760e11b815260040160405180910390fd5b61061581611604565b600054604051632474521560e21b81526000805160206122c083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa158015610825573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108499190611f53565b61086657604051631086ce3360e11b815260040160405180910390fd5b6001600160a01b03166000908152603860205260409020805460ff19166001179055565b600054604051632474521560e21b815260008051602061230083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a9190611f53565b61092757604051632e8726f760e11b815260040160405180910390fd5b6109318282611786565b61093a47611477565b5050565b600054604051632474521560e21b81526000805160206122c083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa15801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be9190611f53565b6109db57604051631086ce3360e11b815260040160405180910390fd5b6001600160a01b03909116600090815260396020526040902055565b60008054604051632474521560e21b815260008051602061230083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa158015610a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a789190611f53565b610a9557604051632e8726f760e11b815260040160405180910390fd5b6001600160a01b038316600090815260386020526040902054839060ff16610afa5760405162461bcd60e51b8152602060048201526013602482015272105cdcd95d081b9bdd081cdd5c1c1bdc9d1959606a1b60448201526064015b60405180910390fd5b60008054604051631c2d8fb360e31b81526000805160206122e083398151915260048201526001600160a01b039091169063e16c7d9890602401602060405180830381865afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b759190611f75565b604051630a3185ed60e41b81526001600160a01b038781166004830152346024830181905292935083169063a3185ed090604401602060405180830381865afa158015610bc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bea9190611f92565b935084841080610c6157506040516370a0823160e01b815230600482015284906001600160a01b038816906370a0823190602401602060405180830381865afa158015610c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5f9190611f92565b105b15610c7f576040516321d9b3bb60e01b815260040160405180910390fd5b6001600160a01b03861660009081526039602052604081208054869290610ca7908490611fc1565b90915550610cb6905081611477565b610cca6001600160a01b0387163386611876565b60408051828152602081018690526001600160a01b038816917fdfcec2e5d46add579374c8b094c104992049258e32c4b148984940d21f023308910160405180910390a250505092915050565b600054604051632474521560e21b815260008051602061230083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d979190611f53565b610db457604051632e8726f760e11b815260040160405180910390fd5b61093a816118de565b6001600160a01b038216600090815260386020526040902054829060ff16610e1d5760405162461bcd60e51b8152602060048201526013602482015272105cdcd95d081b9bdd081cdd5c1c1bdc9d1959606a1b6044820152606401610af1565b600054604051632474521560e21b81526000805160206122c083398151915260048201523360248201526001600160a01b03909116906391d1485490604401602060405180830381865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190611f53565b610eba57604051631086ce3360e11b815260040160405180910390fd5b60008054604051631c2d8fb360e31b81526000805160206122e083398151915260048201526001600160a01b039091169063e16c7d9890602401602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f359190611f75565b60008054604051631c2d8fb360e31b81527f0900d19e2faab4e79535bcc1cfdb63996d43c8e38d9a260cf2b01e820b5f84d4600482015292935090916001600160a01b039091169063e16c7d9890602401602060405180830381865afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc79190611f75565b60405163b3596f0760e01b81526001600160a01b0387811660048301529192508291670de0b6b3a7640000919083169063b3596f0790602401602060405180830381865afa15801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190611f92565b61104b9087611fda565b6110559190611ff1565b603a60008282546110669190611fc1565b9091555061108190506001600160a01b038716843088611a72565b505050505050565b60008054604051631c2d8fb360e31b81526000805160206122e0833981519152600482015282916001600160a01b03169063e16c7d9890602401602060405180830381865afa1580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190611f75565b604051635d2dda2160e11b81526001600160a01b038681166004830152602482018690529192509082169063ba5bb44290604401602060405180830381865afa158015611155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111799190611f92565b949350505050565b600054600160a81b900460ff16158080156111a957506000546001600160a01b90910460ff16105b806111ca5750303b1580156111ca5750600054600160a01b900460ff166001145b6111e65760405162461bcd60e51b8152600401610af190612013565b6000805460ff60a01b1916600160a01b1790558015611213576000805460ff60a81b1916600160a81b1790555b61121c826115dd565b611224611ab0565b600080546001600160a01b0319166001600160a01b038416908117825560405190917f9cf19cefd9aab739c33b95716ee3f3f921f219dc6d7aae25e1f9497b3788915091a2801561093a576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b600054600290600160a81b900460ff161580156112df575060005460ff808316600160a01b90920416105b6112fb5760405162461bcd60e51b8152600401610af190612013565b60008054600160a81b61ffff60a01b19909116600160a01b60ff85160260ff60a81b19161717808255604051632474521560e21b815260048101929092523360248301526001600160a01b0316906391d1485490604401602060405180830381865afa15801561136f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113939190611f53565b6113b0576040516305924c7d60e21b815260040160405180910390fd5b6113b8611ab0565b6113c28383611ae3565b6113cc8585611b3a565b6000805460ff60a81b1916905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050505050565b603354604051635e15c74960e01b8152600481018390526001600160a01b0390911690635e15c74990602401600060405180830381600087803b15801561145c57600080fd5b505af1158015611470573d6000803e3d6000fd5b5050505050565b60008054604051631c2d8fb360e31b81526000805160206122e083398151915260048201526001600160a01b039091169063e16c7d9890602401602060405180830381865afa1580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f29190611f75565b905081603a54111561151b5781603a60008282546115109190612061565b909155506115219050565b6000603a555b6000816001600160a01b03168360405160006040518083038185875af1925050503d806000811461156e576040519150601f19603f3d011682016040523d82523d6000602084013e611573565b606091505b50509050806115955760405163022e258160e11b815260040160405180910390fd5b604080516001600160a01b0384168152602081018590527fcec1f18c3ab8ddaaa107a1591e3c369667eec613626611a8deaedef43069fcdd91015b60405180910390a1505050565b6001600160a01b038116610615576040516342bcdf7f60e11b815260040160405180910390fd5b60365460355460405163095ea7b360e01b81526001600160a01b0391821660048201526024810184905291169063095ea7b3906044016020604051808303816000875af1158015611659573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167d9190611f53565b506040805160018082528183019092526000916020808301908036833701905050905081816000815181106116b4576116b461208a565b6020908102919091010152603554604051636b34082160e11b81526000916001600160a01b03169063d6681042906116f290859030906004016120db565b6000604051808303816000875af1158015611711573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117399190810190612105565b90507f8d29c3cc4ecd5557acf0513e125eccf06f4c6f9f5ec12c5baa5ba7eac2a9458e8160008151811061176f5761176f61208a565b60200260200101516040516115d091815260200190565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905083826000815181106117df576117df61208a565b60200260200101818152505082816000815181106117ff576117ff61208a565b6020908102919091010152603554604051635e7eead960e01b81526001600160a01b0390911690635e7eead99061183e908590859030906004016121c3565b600060405180830381600087803b15801561185857600080fd5b505af115801561186c573d6000803e3d6000fd5b5050505050505050565b6040516001600160a01b0383166024820152604481018290526118d990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611b91565b505050565b60345460335460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052600092919091169063095ea7b3906044016020604051808303816000875af1158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c9190611f53565b50603354604051633a6e4e8d60e11b8152600481018490526001600160a01b03909116906374dc9d1a90602401600060405180830381600087803b1580156119a357600080fd5b505af11580156119b7573d6000803e3d6000fd5b50505050603360009054906101000a90046001600160a01b03166001600160a01b031663061a499f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a329190611f92565b90507f5d5fdc94abc691d6fb4e699a6aacafbc8c83a13bdfbd183a271e1d1f1c5ac02581604051611a6591815260200190565b60405180910390a1919050565b6040516001600160a01b0380851660248301528316604482015260648101829052611aaa9085906323b872dd60e01b906084016118a2565b50505050565b600054600160a81b900460ff16611ad95760405162461bcd60e51b8152600401610af190612201565b611ae1611c66565b565b600054600160a81b900460ff16611b0c5760405162461bcd60e51b8152600401610af190612201565b603380546001600160a01b039384166001600160a01b03199182161790915560348054929093169116179055565b600054600160a81b900460ff16611b635760405162461bcd60e51b8152600401610af190612201565b603580546001600160a01b039384166001600160a01b03199182161790915560368054929093169116179055565b6000611be6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c959092919063ffffffff16565b9050805160001480611c07575080806020019051810190611c079190611f53565b6118d95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610af1565b600054600160a81b900460ff16611c8f5760405162461bcd60e51b8152600401610af190612201565b60018055565b6060611179848460008585600080866001600160a01b03168587604051611cbc9190612270565b60006040518083038185875af1925050503d8060008114611cf9576040519150601f19603f3d011682016040523d82523d6000602084013e611cfe565b606091505b5091509150611d0f87838387611d1a565b979650505050505050565b60608315611d89578251600003611d82576001600160a01b0385163b611d825760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610af1565b5081611179565b6111798383815115611d9e5781518083602001fd5b8060405162461bcd60e51b8152600401610af1919061228c565b6001600160a01b038116811461061557600080fd5b600060208284031215611ddf57600080fd5b8135611dea81611db8565b9392505050565b600060208284031215611e0357600080fd5b5035919050565b600080600080600060808688031215611e2257600080fd5b8535611e2d81611db8565b94506020860135611e3d81611db8565b935060408601359250606086013567ffffffffffffffff80821115611e6157600080fd5b818801915088601f830112611e7557600080fd5b813581811115611e8457600080fd5b896020828501011115611e9657600080fd5b9699959850939650602001949392505050565b60008060408385031215611ebc57600080fd5b50508035926020909101359150565b60008060408385031215611ede57600080fd5b8235611ee981611db8565b946020939093013593505050565b60008060008060808587031215611f0d57600080fd5b8435611f1881611db8565b93506020850135611f2881611db8565b92506040850135611f3881611db8565b91506060850135611f4881611db8565b939692955090935050565b600060208284031215611f6557600080fd5b81518015158114611dea57600080fd5b600060208284031215611f8757600080fd5b8151611dea81611db8565b600060208284031215611fa457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611fd457611fd4611fab565b92915050565b8082028115828204841417611fd457611fd4611fab565b60008261200e57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b81810381811115611fd457611fd4611fab565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156120d0578151875295820195908201906001016120b4565b509495945050505050565b6040815260006120ee60408301856120a0565b905060018060a01b03831660208301529392505050565b6000602080838503121561211857600080fd5b825167ffffffffffffffff8082111561213057600080fd5b818501915085601f83011261214457600080fd5b81518181111561215657612156612074565b8060051b604051601f19603f8301168101818110858211171561217b5761217b612074565b60405291825284820192508381018501918883111561219957600080fd5b938501935b828510156121b75784518452938501939285019261219e565b98975050505050505050565b6060815260006121d660608301866120a0565b82810360208401526121e881866120a0565b91505060018060a01b0383166040830152949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b8381101561226757818101518382015260200161224f565b50506000910152565b6000825161228281846020870161224c565b9190910192915050565b60208152600082518060208401526122ab81604085016020870161224c565b601f01601f1916919091016040019291505056feaf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c7a8fe1bac8d7638862c53b62ffada56d0a56c381287c35f66503b5b86fa88b8597667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a264697066735822122073f26c48b3b92b96d2a7575a931b60be4e85e457a882caa86abd25139d14852164736f6c63430008150033