AToken
event
RedirectedBalanceUpdated
Inputs
Parameter | Type | Description |
---|---|---|
_targetAddress | address | |
_targetBalanceIncrease | uint256 | |
_targetIndex | uint256 | |
_redirectedBalanceAdded | uint256 | |
_redirectedBalanceRemoved | uint256 |
Outputs
(void)
event
Redeem
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_value | uint256 | |
_fromBalanceIncrease | uint256 | |
_fromIndex | uint256 |
Outputs
(void)
event
MintOnDeposit
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_value | uint256 | |
_fromBalanceIncrease | uint256 | |
_fromIndex | uint256 |
Outputs
(void)
event
InterestStreamRedirected
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_to | address | |
_redirectedBalance | uint256 | |
_fromBalanceIncrease | uint256 | |
_fromIndex | uint256 |
Outputs
(void)
event
InterestRedirectionAllowanceChanged
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_to | address |
Outputs
(void)
event
BurnOnLiquidation
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_value | uint256 | |
_fromBalanceIncrease | uint256 | |
_fromIndex | uint256 |
Outputs
(void)
event
BalanceTransfer
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_to | address | |
_value | uint256 | |
_fromBalanceIncrease | uint256 | |
_toBalanceIncrease | uint256 | |
_fromIndex | uint256 | |
_toIndex | uint256 |
Outputs
(void)
function
transferOnLiquidation
nonpayable
Restricted (onlyLendingPool)
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_to | address | |
_value | uint256 |
Outputs
(void)
function
mintOnDeposit
nonpayable
Restricted (onlyLendingPool)
Inputs
Parameter | Type | Description |
---|---|---|
_account | address | |
_amount | uint256 |
Outputs
(void)
function
burnOnLiquidation
nonpayable
Restricted (onlyLendingPool)
Inputs
Parameter | Type | Description |
---|---|---|
_account | address | |
_value | uint256 |
Outputs
(void)
function
redirectInterestStreamOf
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_from | address | |
_to | address |
Outputs
(void)
function
redirectInterestStream
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_to | address |
Outputs
(void)
function
redeem
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_amount | uint256 |
Outputs
(void)
function
allowInterestRedirectionTo
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_to | address |
Outputs
(void)
function
totalSupply
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
principalBalanceOf
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address |
Outputs
Type | Description |
---|---|
uint256 |
function
isTransferAllowed
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address | |
_amount | uint256 |
Outputs
Type | Description |
---|---|
bool |
function
getUserIndex
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address |
Outputs
Type | Description |
---|---|
uint256 |
function
getRedirectedBalance
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address |
Outputs
Type | Description |
---|---|
uint256 |
function
getInterestRedirectionAddress
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address |
Outputs
Type | Description |
---|---|
address |
function
balanceOf
view
Inputs
Parameter | Type | Description |
---|---|---|
_user | address |
Outputs
Type | Description |
---|---|
uint256 |
ERC20
function
transferFrom
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
sender | address | |
recipient | address | |
amount | uint256 |
Outputs
Type | Description |
---|---|
bool |
function
transfer
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
recipient | address | |
amount | uint256 |
Outputs
Type | Description |
---|---|
bool |
function
increaseAllowance
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
spender | address | |
addedValue | uint256 |
Outputs
Type | Description |
---|---|
bool |
function
decreaseAllowance
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
spender | address | |
subtractedValue | uint256 |
Outputs
Type | Description |
---|---|
bool |
function
approve
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
spender | address | |
value | uint256 |
Outputs
Type | Description |
---|---|
bool |
function
allowance
view
Inputs
Parameter | Type | Description |
---|---|---|
owner | address | |
spender | address |
Outputs
Type | Description |
---|---|
uint256 |
ERC20Detailed
function
symbol
view
Inputs
(void)
Outputs
Type | Description |
---|---|
string |
function
name
view
Inputs
(void)
Outputs
Type | Description |
---|---|
string |
function
decimals
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint8 |
IERC20
event
Transfer
Inputs
Parameter | Type | Description |
---|---|---|
from | address | |
to | address | |
value | uint256 |
Outputs
(void)
event
Approval
Inputs
Parameter | Type | Description |
---|---|---|
owner | address | |
spender | address | |
value | uint256 |
Outputs
(void)
ReentrancyGuard
constructor
AToken
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_addressesProvider | address | |
_underlyingAsset | address | |
_underlyingAssetDecimals | uint8 | |
_name | string | |
_symbol | string |
Outputs
(void)
function
underlyingAssetAddress
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
UINT_MAX_VALUE
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |