LoanTokenLogicV4

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x0778623c at 9955060
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
13 additional variables

No balances found for "LoanTokenLogicV4"

No transactions found for "LoanTokenLogicV4"


Functions
Getter at block 21262053
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
 
marketLiquidity(view returns (uint256)
name(view returns (string)
owner(view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
protocolInterestRate(view returns (uint256)
0
rateMultiplier(view returns (uint256)
18750000000000000000
spreadMultiplier(view returns (uint256)
0
 
supplyInterestRate(view returns (uint256)
symbol(view returns (string)
 
tokenPrice(view returns (uint256 price)
tokenizedRegistry(view returns (address)
0x0000000000000000000000000000000000000000
totalAssetBorrow(view returns (uint256)
0
 
totalAssetSupply(view returns (uint256)
totalSupply(view returns (uint256)
0
wethContract(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_supplyInterestRate(uint256 assetBorrowuint256 assetSupplyview returns (uint256)
allowance(address _owneraddress _spenderview returns (uint256)
assetBalanceOf(address _ownerview returns (uint256)
balanceOf(address _ownerview returns (uint256)
burntTokenReserveList(uint256view returns (address lenderuint256 amount)
burntTokenReserveListIndex(addressview returns (uint256 indexbool isSet)
checkpointPrice(address _userview returns (uint256 price)
getBorrowAmountForDeposit(uint256 depositAmountuint256 leverageAmountuint256 initialLoanDurationaddress collateralTokenAddressview returns (uint256 borrowAmount)
getDepositAmountForBorrow(uint256 borrowAmountuint256 leverageAmountuint256 initialLoanDurationaddress collateralTokenAddressview returns (uint256 depositAmount)
getLoanData(bytes32 loanOrderHashview returns (struct (bytes32, uint256, uint256, uint256, uint256, uint256, uint256, address))
getMaxEscrowAmount(uint256 leverageAmountview returns (uint256)
leverageList(uint256view returns (uint256)
loanOrderData(bytes32view returns (bytes32 loanOrderHashuint256 leverageAmountuint256 initialMarginAmountuint256 maintenanceMarginAmountuint256 maxDurationUnixTimestampSecuint256 indexuint256 marginPremiumAmountaddress collateralTokenAddress)
loanOrderHashes(uint256view returns (bytes32)
nextBorrowInterestRate(uint256 borrowAmountview returns (uint256)
nextBorrowInterestRateWithOption(uint256 borrowAmountbool useFixedInterestModelview returns (uint256)
nextSupplyInterestRate(uint256 supplyAmountview returns (uint256)
totalSupplyInterestRate(uint256 assetSupplyview returns (uint256)
State-modifying
approve(address _spenderuint256 _valuereturns (bool)
borrowTokenFromDeposit(uint256 borrowAmountuint256 leverageAmountuint256 initialLoanDurationuint256 collateralTokenSentaddress borroweraddress receiveraddress collateralTokenAddressbytespayable returns (bytes32 loanOrderHash)
burn(address receiveruint256 burnAmountreturns (uint256 loanAmountPaid)
burnToEther(address receiveruint256 burnAmountreturns (uint256 loanAmountPaid)
closeLoanNotifier(struct (address, address, address, address, uint256, uint256, uint256, uint256, uint256, bytes32) loanOrderstruct (address, address, address, uint256, uint256, uint256, uint256, uint256, uint256, bool, uint256) loanPositionaddress loanCloseruint256 closeAmountbool isLiquidationreturns (bool)
marginTradeFromDeposit(uint256 depositAmountuint256 leverageAmountuint256 loanTokenSentuint256 collateralTokenSentuint256 tradeTokenSentaddress traderaddress depositTokenAddressaddress collateralTokenAddressaddress tradeTokenAddressbytes loanDataBytespayable returns (bytes32 loanOrderHash)
mint(address receiveruint256 depositAmountreturns (uint256 mintAmount)
mintWithEther(address receiverpayable returns (uint256 mintAmount)
transfer(address _touint256 _valuereturns (bool)
transferFrom(address _fromaddress _touint256 _valuereturns (bool)
transferOwnership(address _newOwner
updateSettings(address settingsTargetbytes callData
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Borrow(address indexed borroweruint256 borrowAmountuint256 interestRateaddress collateralTokenAddressaddress tradeTokenToFillAddressbool withdrawOnOpen
Burn(address indexed burneruint256 tokenAmountuint256 assetAmountuint256 price
Claim(address indexed claimantuint256 tokenAmountuint256 assetAmountuint256 remainingTokenAmountuint256 price
Mint(address indexed minteruint256 tokenAmountuint256 assetAmountuint256 price
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Repay(bytes32 indexed loanOrderHashaddress indexed borroweraddress closeruint256 amountbool isLiquidation
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors

This contract contains no error objects.