Kiln
Wrapped LsETH Interface (v1)
This interface exposes methods to wrap the LsETH token into a rebase token.
Retrieves the token allowance given from one address to another
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Approves another account to transfer tokens
Retrieves the token balance of the specified user
Burn tokens and retrieve underlying LsETH tokens
The message sender burns shares from its balance for the LsETH equivalent valueThe message sender doesn't need to approve the contract to burn the sharesThe freed LsETH is sent to the specified recipient
Retrieves the token decimal count
Decrease allowance to another account
Increase allowance to another account
Initializes the wrapped token contract
Mint tokens by providing LsETH tokens
The message sender locks LsETH tokens and received wrapped LsETH tokens in exchangeThe message sender needs to approve the contract to mint the wrapped tokensThe minted wrapped LsETH is sent to the specified recipient
Retrieves the token full name
Retrieves the raw shares count of the user
Retrieves the token symbol
Retrieves the token total supply
Transfers tokens between the message sender and a recipient
Transfers tokens between two accounts
It is expected that _from has given at least _value allowance to msg.sender
An approval has been made
Tokens have been burned
Tokens have been minted
The stored value of river has been changed
A transfer has been made
Allowance too low to perform operation
Balance too low to perform operation
Invalid empty transfer
The token transfer failed during the minting or burning process
Invalid transfer recipients
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 |
---|---|---|
_owner
address
Owner that gave the allowance
_spender
address
Spender that received the allowance
_0
uint256
The allowance of the owner to the spender
_spender
address
Spender that receives the allowance
_value
uint256
Amount to allow
_0
bool
True if success
_owner
address
Owner to check the balance
_0
uint256
The balance of the owner
_recipient
address
The account receiving the underlying LsETH tokens after shares are burned
_shares
uint256
Amount of LsETH to free by burning wrapped LsETH
_0
uint8
The decimal count
_spender
address
Spender that receives the allowance
_subtractableValue
uint256
Amount to subtract
_0
bool
True if success
_spender
address
Spender that receives the allowance
_additionalValue
uint256
Amount to add
_0
bool
True if success
_river
address
Address of the River contract
_recipient
address
The account receiving the new minted wrapped LsETH
_shares
uint256
The amount of LsETH to wrap
_0
string
The name of the token
_owner
address
Owner to check the shares balance
_0
uint256
The shares of the owner
_0
string
The symbol of the token
_0
uint256
The total supply
_to
address
Recipient of the transfer
_value
uint256
Amount to transfer
_0
bool
True if success
_from
address
Sender account
_to
address
Recipient of the transfer
_value
uint256
Amount to transfer
_0
bool
True if success
owner indexed
address
The token owner
spender indexed
address
The account allowed by the owner
value
uint256
The amount allowed
recipient indexed
address
The account that receive the underlying LsETH
shares
uint256
The amount of LsETH that got sent back
recipient indexed
address
The account receiving the new tokens
shares
uint256
The amount of LsETH provided
river indexed
address
The new address of river
from indexed
address
The transfer sender
to indexed
address
The transfer recipient
value
uint256
The amount transfered
_from
address
Account where funds are sent from
_operator
address
Account attempting the transfer
_allowance
uint256
Current allowance
_value
uint256
Requested transfer value
_from
address
Account sending the funds in the invalid transfer
_to
address
Account receiving the funds in the invalid transfer