ISharesManagerV1
Kiln
Shares Manager Interface (v1)
This interface exposes methods to handle the shares of the depositor and the ERC20 interface
Methods
allowance
Retrieve the allowance value for a spender
Parameters
Returns
approve
Approves an account for future spendings
An approved account can use transferFrom to transfer funds on behalf of the token owner
Parameters
Returns
balanceOf
Retrieve the balance of an account
Parameters
Returns
balanceOfUnderlying
Retrieve the underlying asset balance of an account
Parameters
Returns
decimals
Retrieve the decimal count
Returns
decreaseAllowance
Decrease allowance to another account
Parameters
Returns
increaseAllowance
Increase allowance to another account
Parameters
Returns
name
Retrieve the token name
Returns
sharesFromUnderlyingBalance
Retrieve the shares count from an underlying asset amount
Parameters
Returns
symbol
Retrieve the token symbol
Returns
totalSupply
Retrieve the total token supply
Returns
totalUnderlyingSupply
Retrieve the total underlying asset supply
Returns
transfer
Performs a transfer from the message sender to the provided account
Parameters
Returns
transferFrom
Performs a transfer between two recipients
Parameters
Returns
underlyingBalanceFromShares
Retrieve the underlying asset balance from an amount of shares
Parameters
Returns
Events
Approval
Parameters
Transfer
Parameters
Errors
AllowanceTooLow
Allowance too low to perform operation
Parameters
BalanceTooLow
Balance too low to perform operation
NullTransfer
Invalid empty transfer
UnauthorizedTransfer
Invalid transfer recipients
Parameters
Last updated