LoanTokenLogicV4
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
13 additional
variables
Balances ($0.00)
No balances found for "LoanTokenLogicV4"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LoanTokenLogicV4"
ABI
ABI objects
Getter at block 21262053 marketLiquidity() view returns (uint256) supplyInterestRate() view returns (uint256) tokenPrice() view returns (uint256 price) totalAssetSupply() view returns (uint256)
avgBorrowInterestRate() view returns (uint256)
0
bZxContract() view returns (address)
0x0000000000000000000000000000000000000000
bZxOracle() view returns (address)
0x0000000000000000000000000000000000000000
bZxVault() view returns (address)
0x0000000000000000000000000000000000000000
baseRate() view returns (uint256)
1000000000000000000
borrowInterestRate() view returns (uint256)
0
burntTokenReserved() view returns (uint256)
0
checkpointSupply() view returns (uint256)
0
decimals() view returns (uint8)
0
getLeverageList() view returns (uint256[])
[]
initialPrice() view returns (uint256)
0
loanTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
name() view returns (string)
owner() view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
protocolInterestRate() view returns (uint256)
0
rateMultiplier() view returns (uint256)
18750000000000000000
spreadMultiplier() view returns (uint256)
0
symbol() view returns (string)
tokenizedRegistry() view returns (address)
0x0000000000000000000000000000000000000000
totalAssetBorrow() view returns (uint256)
0
totalSupply() view returns (uint256)
0
wethContract() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_supplyInterestRate(uint256 assetBorrow, uint256 assetSupply) view returns (uint256)
allowance(address _owner, address _spender) view returns (uint256)
assetBalanceOf(address _owner) view returns (uint256)
balanceOf(address _owner) view returns (uint256)
burntTokenReserveList(uint256) view returns (address lender, uint256 amount)
burntTokenReserveListIndex(address) view returns (uint256 index, bool isSet)
checkpointPrice(address _user) view returns (uint256 price)
getBorrowAmountForDeposit(uint256 depositAmount, uint256 leverageAmount, uint256 initialLoanDuration, address collateralTokenAddress) view returns (uint256 borrowAmount)
getDepositAmountForBorrow(uint256 borrowAmount, uint256 leverageAmount, uint256 initialLoanDuration, address collateralTokenAddress) view returns (uint256 depositAmount)
getLoanData(bytes32 loanOrderHash) view returns (struct (bytes32, uint256, uint256, uint256, uint256, uint256, uint256, address))
getMaxEscrowAmount(uint256 leverageAmount) view returns (uint256)
leverageList(uint256) view returns (uint256)
loanOrderData(bytes32) view returns (bytes32 loanOrderHash, uint256 leverageAmount, uint256 initialMarginAmount, uint256 maintenanceMarginAmount, uint256 maxDurationUnixTimestampSec, uint256 index, uint256 marginPremiumAmount, address collateralTokenAddress)
loanOrderHashes(uint256) view returns (bytes32)
nextBorrowInterestRate(uint256 borrowAmount) view returns (uint256)
nextBorrowInterestRateWithOption(uint256 borrowAmount, bool useFixedInterestModel) view returns (uint256)
nextSupplyInterestRate(uint256 supplyAmount) view returns (uint256)
totalSupplyInterestRate(uint256 assetSupply) view returns (uint256)
State-modifying
Events approve(address _spender, uint256 _value) returns (bool)
borrowTokenFromDeposit(uint256 borrowAmount, uint256 leverageAmount, uint256 initialLoanDuration, uint256 collateralTokenSent, address borrower, address receiver, address collateralTokenAddress, bytes) payable returns (bytes32 loanOrderHash)
burn(address receiver, uint256 burnAmount) returns (uint256 loanAmountPaid)
burnToEther(address receiver, uint256 burnAmount) returns (uint256 loanAmountPaid)
closeLoanNotifier(struct (address, address, address, address, uint256, uint256, uint256, uint256, uint256, bytes32) loanOrder, struct (address, address, address, uint256, uint256, uint256, uint256, uint256, uint256, bool, uint256) loanPosition, address loanCloser, uint256 closeAmount, bool isLiquidation) returns (bool)
marginTradeFromDeposit(uint256 depositAmount, uint256 leverageAmount, uint256 loanTokenSent, uint256 collateralTokenSent, uint256 tradeTokenSent, address trader, address depositTokenAddress, address collateralTokenAddress, address tradeTokenAddress, bytes loanDataBytes) payable returns (bytes32 loanOrderHash)
mint(address receiver, uint256 depositAmount) returns (uint256 mintAmount)
mintWithEther(address receiver) payable returns (uint256 mintAmount)
transfer(address _to, uint256 _value) returns (bool)
transferFrom(address _from, address _to, uint256 _value) returns (bool)
transferOwnership(address _newOwner)
updateSettings(address settingsTarget, bytes callData)
Approval(address indexed owner, address indexed spender, uint256 value)
Borrow(address indexed borrower, uint256 borrowAmount, uint256 interestRate, address collateralTokenAddress, address tradeTokenToFillAddress, bool withdrawOnOpen)
Burn(address indexed burner, uint256 tokenAmount, uint256 assetAmount, uint256 price)
Claim(address indexed claimant, uint256 tokenAmount, uint256 assetAmount, uint256 remainingTokenAmount, uint256 price)
Mint(address indexed minter, uint256 tokenAmount, uint256 assetAmount, uint256 price)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Repay(bytes32 indexed loanOrderHash, address indexed borrower, address closer, uint256 amount, bool isLiquidation)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.