Kiln
Redeem Manager (v1)
This contract handles the redeem requests of all users
Claims the rewards of the provided redeem request ids
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Claims the rewards of the provided redeem request ids
Retrieve the amount of redeemed LsETH pending to be supplied with withdrawn ETH
Retrieve the amount of LsETH waiting to be exited
Retrieve the global count of redeem requests
Retrieve the details of a specific redeem request
Retrieve River address
Retrieve the global count of withdrawal events
Retrieve the details of a specific withdrawal event
Pulls exceeding buffer eth
Reports a withdraw event from River
Creates a redeem request
Creates a redeem request using msg.sender as recipient
Resolves the provided list of redeem request ids
The result is an array of equal length with ids or error code-1 means that the request is not satisfied yet-2 means that the request is out of bounds-3 means that the request has already been claimedThis call was created to be called by an off-chain interface, the output could then be used to perform the claimRewards call in a regular transaction
Emitted when a redeem request claim has been processed and matched at least once and funds are sent to the recipient
Emitted when the contract is properly initialized
Emitted when a withdrawal event is created
Emitted when a redeem request is created
Emitted when a redeem request has been satisfied and filled (even partially) from a withdrawal event
Emitted when the redeem demand is set
Emitted when the River address is set
Thrown when the payment after a claim failed
Thrown when the redeem request and withdrawal event are not matching during claim
Thrown when the provided arrays don't have matching lengths
An error occured during the initialization
The address is zero
Thrown When a zero value is provided
Thrown when the redeem request id is already claimed
Thrown when the provided redeem request id is out of bounds
Thrown when a transfer error occured with LsETH
The operator is unauthorized for the caller
Thrown when the withdrawal request id if out of bounds
Thrown when the provided withdrawal event exceeds the redeem demand
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
redeemRequestIds
uint32[]
undefined
withdrawalEventIds
uint32[]
undefined
skipAlreadyClaimed
bool
undefined
_depth
uint16
The maximum recursive depth for the resolution of the redeem requests
claimStatuses
uint8[]
The list of claim statuses. 0 for fully claimed, 1 for partially claimed, 2 for skipped
_redeemRequestIds
uint32[]
The list of redeem requests to claim
_withdrawalEventIds
uint32[]
The list of withdrawal events to use for every redeem request claim
claimStatuses
uint8[]
The list of claim statuses. 0 for fully claimed, 1 for partially claimed, 2 for skipped
_0
uint256
The amount of eth in the buffer
_0
uint256
The amount of LsETH waiting to be exited
_0
uint256
undefined
_redeemRequestId
uint32
The id of the request
_0
RedeemQueue.RedeemRequest
The redeem request details
_0
address
The address of River
_0
uint256
undefined
_withdrawalEventId
uint32
The id of the withdrawal event
_0
WithdrawalStack.WithdrawalEvent
The withdrawal event details
_river
address
The address of the River contract
_max
uint256
The maximum amount that should be pulled
_lsETHWithdrawable
uint256
The amount of LsETH that can be redeemed due to this new withdraw event
_lsETHAmount
uint256
The amount of LsETH to redeem
_recipient
address
The recipient owning the redeem request
redeemRequestId
uint32
The id of the redeem request
_lsETHAmount
uint256
The amount of LsETH to redeem
redeemRequestId
uint32
The id of the redeem request
_redeemRequestIds
uint32[]
The list of redeem requests to resolve
withdrawalEventIds
int64[]
The list of withdrawal events matching every redeem request (or error codes)
redeemRequestId indexed
uint32
The id of the redeem request
recipient indexed
address
The address receiving the redeem request funds
ethAmount
uint256
The amount of eth retrieved
lsEthAmount
uint256
The total amount of LsETH used to redeem the eth
remainingLsEthAmount
uint256
The amount of LsETH remaining
version
uint256
New version of the contracts
cdata
bytes
Complete calldata that was used during the initialization
height
uint256
The height of the withdrawal event in LsETH
amount
uint256
The amount of the withdrawal event in LsETH
ethAmount
uint256
The amount of eth to distrubute to claimers
id
uint32
The id of the withdrawal event
owner indexed
address
The owner of the redeem request
height
uint256
The height of the redeem request in LsETH
amount
uint256
The amount of the redeem request in LsETH
maxRedeemableEth
uint256
The maximum amount of eth that can be redeemed from this request
id
uint32
The id of the new redeem request
redeemRequestId indexed
uint32
The id of the redeem request
withdrawalEventId indexed
uint32
The id of the withdrawal event used to fill the request
lsEthAmountSatisfied
uint256
The amount of LsETH filled
ethAmountSatisfied
uint256
The amount of ETH filled
lsEthAmountRemaining
uint256
The amount of LsETH remaining
ethAmountExceeding
uint256
The amount of eth added to the exceeding buffer
oldRedeemDemand
uint256
The old redeem demand
newRedeemDemand
uint256
The new redeem demand
river
address
The new river address
recipient
address
The recipient of the payment
rdata
bytes
The revert data
redeemRequestId
uint256
The provided redeem request id
withdrawalEventId
uint256
The provided associated withdrawal event id
version
uint256
The version that was attempting to be initialized
expectedVersion
uint256
The version that was expected
id
uint256
The redeem request id
id
uint256
The redeem request id
caller
address
Address performing the call
id
uint256
The withdrawal event id
withdrawalAmount
uint256
The amount of the withdrawal event
redeemDemand
uint256
The current redeem demand