KyberNetwork / AToken

aREP - AToken

0x71010a9d003445ac60c4e6a7017c1e89a477b438
AToken
event

RedirectedBalanceUpdated

Inputs

ParameterTypeDescription
_targetAddressaddress
_targetBalanceIncreaseuint256
_targetIndexuint256
_redirectedBalanceAddeduint256
_redirectedBalanceRemoveduint256

Outputs

(void)
event

Redeem

Inputs

ParameterTypeDescription
_fromaddress
_valueuint256
_fromBalanceIncreaseuint256
_fromIndexuint256

Outputs

(void)
event

MintOnDeposit

Inputs

ParameterTypeDescription
_fromaddress
_valueuint256
_fromBalanceIncreaseuint256
_fromIndexuint256

Outputs

(void)
event

InterestStreamRedirected

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_redirectedBalanceuint256
_fromBalanceIncreaseuint256
_fromIndexuint256

Outputs

(void)
event

InterestRedirectionAllowanceChanged

Inputs

ParameterTypeDescription
_fromaddress
_toaddress

Outputs

(void)
event

BurnOnLiquidation

Inputs

ParameterTypeDescription
_fromaddress
_valueuint256
_fromBalanceIncreaseuint256
_fromIndexuint256

Outputs

(void)
event

BalanceTransfer

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_valueuint256
_fromBalanceIncreaseuint256
_toBalanceIncreaseuint256
_fromIndexuint256
_toIndexuint256

Outputs

(void)
function

transferOnLiquidation

nonpayable
Restricted (onlyLendingPool)

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_valueuint256

Outputs

(void)
function

mintOnDeposit

nonpayable
Restricted (onlyLendingPool)

Inputs

ParameterTypeDescription
_accountaddress
_amountuint256

Outputs

(void)
function

burnOnLiquidation

nonpayable
Restricted (onlyLendingPool)

Inputs

ParameterTypeDescription
_accountaddress
_valueuint256

Outputs

(void)
function

redirectInterestStreamOf

nonpayable

Inputs

ParameterTypeDescription
_fromaddress
_toaddress

Outputs

(void)
function

redirectInterestStream

nonpayable

Inputs

ParameterTypeDescription
_toaddress

Outputs

(void)
function

redeem

nonpayable

Inputs

ParameterTypeDescription
_amountuint256

Outputs

(void)
function

allowInterestRedirectionTo

nonpayable

Inputs

ParameterTypeDescription
_toaddress

Outputs

(void)
function

totalSupply

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

principalBalanceOf

view

Inputs

ParameterTypeDescription
_useraddress

Outputs

TypeDescription
uint256
function

isTransferAllowed

view

Inputs

ParameterTypeDescription
_useraddress
_amountuint256

Outputs

TypeDescription
bool
function

getUserIndex

view

Inputs

ParameterTypeDescription
_useraddress

Outputs

TypeDescription
uint256
function

getRedirectedBalance

view

Inputs

ParameterTypeDescription
_useraddress

Outputs

TypeDescription
uint256
function

getInterestRedirectionAddress

view

Inputs

ParameterTypeDescription
_useraddress

Outputs

TypeDescription
address
function

balanceOf

view

Inputs

ParameterTypeDescription
_useraddress

Outputs

TypeDescription
uint256
ERC20
function

transferFrom

nonpayable

Inputs

ParameterTypeDescription
senderaddress
recipientaddress
amountuint256

Outputs

TypeDescription
bool
function

transfer

nonpayable

Inputs

ParameterTypeDescription
recipientaddress
amountuint256

Outputs

TypeDescription
bool
function

increaseAllowance

nonpayable

Inputs

ParameterTypeDescription
spenderaddress
addedValueuint256

Outputs

TypeDescription
bool
function

decreaseAllowance

nonpayable

Inputs

ParameterTypeDescription
spenderaddress
subtractedValueuint256

Outputs

TypeDescription
bool
function

approve

nonpayable

Inputs

ParameterTypeDescription
spenderaddress
valueuint256

Outputs

TypeDescription
bool
function

allowance

view

Inputs

ParameterTypeDescription
owneraddress
spenderaddress

Outputs

TypeDescription
uint256
ERC20Detailed
function

symbol

view

Inputs

(void)

Outputs

TypeDescription
string
function

name

view

Inputs

(void)

Outputs

TypeDescription
string
function

decimals

view

Inputs

(void)

Outputs

TypeDescription
uint8
IERC20
event

Transfer

Inputs

ParameterTypeDescription
fromaddress
toaddress
valueuint256

Outputs

(void)
event

Approval

Inputs

ParameterTypeDescription
owneraddress
spenderaddress
valueuint256

Outputs

(void)
ReentrancyGuard
constructor

AToken

nonpayable

Inputs

ParameterTypeDescription
_addressesProvideraddress
_underlyingAssetaddress
_underlyingAssetDecimalsuint8
_namestring
_symbolstring

Outputs

(void)
function

underlyingAssetAddress

view

Inputs

(void)

Outputs

TypeDescription
address
function

UINT_MAX_VALUE

view

Inputs

(void)

Outputs

TypeDescription
uint256