AdvancedTokenStorage
function
allowance
view
Inputs
Parameter | Type | Description |
---|---|---|
_owner | address | |
_spender | address |
Outputs
Type | Description |
---|---|
uint256 |
function
balanceOf
view
Inputs
Parameter | Type | Description |
---|---|---|
_owner | address |
Outputs
Type | Description |
---|---|
uint256 |
function
totalSupply
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
event
Burn
Inputs
Parameter | Type | Description |
---|---|---|
burner | address | |
tokenAmount | uint256 | |
assetAmount | uint256 | |
price | uint256 |
Outputs
(void)
event
Mint
Inputs
Parameter | Type | Description |
---|---|---|
minter | address | |
tokenAmount | uint256 | |
assetAmount | uint256 | |
price | uint256 |
Outputs
(void)
event
Approval
Inputs
Parameter | Type | Description |
---|---|---|
owner | address | |
spender | address | |
value | uint256 |
Outputs
(void)
event
Transfer
Inputs
Parameter | Type | Description |
---|---|---|
from | address | |
to | address | |
value | uint256 |
Outputs
(void)
LoanToken
function
setTarget
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_newTarget | address |
Outputs
(void)
fallback
(fallback)
payable
Inputs
(void)
Outputs
(void)
LoanTokenStorage
event
Claim
Inputs
Parameter | Type | Description |
---|---|---|
claimant | address | |
tokenAmount | uint256 | |
assetAmount | uint256 | |
remainingTokenAmount | uint256 | |
price | uint256 |
Outputs
(void)
event
Borrow
Inputs
Parameter | Type | Description |
---|---|---|
borrower | address | |
borrowAmount | uint256 | |
interestRate | uint256 | |
collateralTokenAddress | address | |
tradeTokenToFillAddress | address | |
withdrawOnOpen | bool |
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
_newOwner | address |
Outputs
(void)
constructor
LoanToken
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_newTarget | address |
Outputs
(void)
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
function
loanOrderHashes
view
Inputs
Parameter | Type | Description |
---|---|---|
uint256 |
Outputs
Type | Description |
---|---|
bytes32 |
function
burntTokenReserveListIndex
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 | |
bool |
function
spreadMultiplier
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
leverageList
view
Inputs
Parameter | Type | Description |
---|---|---|
uint256 |
Outputs
Type | Description |
---|---|
uint256 |
function
bZxContract
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
bZxOracle
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
symbol
view
Inputs
(void)
Outputs
Type | Description |
---|---|
string |
function
owner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
bZxVault
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
loanTokenAddress
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
burntTokenReserveList
view
Inputs
Parameter | Type | Description |
---|---|---|
uint256 |
Outputs
Type | Description |
---|---|
address | |
uint256 |
function
tokenizedRegistry
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
wethContract
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
rateMultiplier
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
decimals
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint8 |
function
loanOrderData
view
Inputs
Parameter | Type | Description |
---|---|---|
bytes32 |
Outputs
Type | Description |
---|---|
bytes32 | |
uint256 | |
uint256 | |
uint256 | |
uint256 | |
uint256 |
function
totalAssetBorrow
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
baseRate
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
initialPrice
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
burntTokenReserved
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
name
view
Inputs
(void)
Outputs
Type | Description |
---|---|
string |