aave

package
v0.5.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressV1LendingPool          = common.HexToAddress("0x398eC7346DcD622eDc5ae82352F02bE94C62d119")
	AddressV2LendingPoolMainnet   = common.HexToAddress("0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9")
	AddressV2LendingPoolPolygon   = common.HexToAddress("0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf")
	AddressV2LendingPoolAvalanche = common.HexToAddress("0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C")
	AddressV3PoolMainnet          = common.HexToAddress("0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2")
	AddressV3PoolBase             = common.HexToAddress("0xA238Dd80C259a72e81d7e4664a9801593F98d1c5")
	AddressV3PoolOthers           = common.HexToAddress("0x794a61358D6845594F94dc1DB02A252b5b4814aD")

	EventHashV1LendingPoolDeposit  = contract.EventHash("Deposit(address,address,uint256,uint16,uint256)")
	EventHashV1LendingPoolBorrow   = contract.EventHash("Borrow(address,address,uint256,uint256,uint256,uint256,uint256,uint16,uint256)")
	EventHashV1LendingPoolRepay    = contract.EventHash("Repay(address,address,address,uint256,uint256,uint256,uint256)")
	EventHashV2LendingPoolDeposit  = contract.EventHash("Deposit(address,address,address,uint256,uint16)")
	EventHashV2LendingPoolWithdraw = contract.EventHash("Withdraw(address,address,address,uint256)")
	EventHashV2LendingPoolBorrow   = contract.EventHash("Borrow(address,address,address,uint256,uint256,uint256,uint16)")
	EventHashV2LendingPoolRepay    = contract.EventHash("Repay(address,address,address,uint256)")
	EventHashV3PoolSupply          = contract.EventHash("Supply(address,address,address,uint256,uint16)")
	EventHashV3PoolWithdraw        = contract.EventHash("Withdraw(address,address,address,uint256)")
	EventHashV3PoolBorrow          = contract.EventHash("Borrow(address,address,address,uint256,uint8,uint256,uint16)")
	EventHashV3PoolRepay           = contract.EventHash("Repay(address,address,address,uint256,bool)")
)
View Source
var V1LendingPoolABI = V1LendingPoolMetaData.ABI

V1LendingPoolABI is the input ABI used to generate the binding from. Deprecated: Use V1LendingPoolMetaData.ABI instead.

View Source
var V1LendingPoolMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_borrowRateMode\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_borrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_originationFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_borrowBalanceIncrease\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"_referral\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"_referral\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_protocolFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_collateral\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_purchaseAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_liquidatedCollateralAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_accruedBorrowInterest\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_liquidator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_receiveAToken\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"LiquidationCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_collateral\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_feeLiquidated\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_liquidatedCollateralForFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"OriginationFeeLiquidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newStableRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_borrowBalanceIncrease\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"RebalanceStableBorrowRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"RedeemUnderlying\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_repayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amountMinusFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_fees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_borrowBalanceIncrease\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Repay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newRateMode\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_borrowBalanceIncrease\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"LENDINGPOOL_REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"UINT_MAX_VALUE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"addressesProvider\",\"outputs\":[{\"internalType\":\"contractLendingPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_interestRateMode\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_referralCode\",\"type\":\"uint16\"}],\"name\":\"borrow\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"core\",\"outputs\":[{\"internalType\":\"contractLendingPoolCore\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"dataProvider\",\"outputs\":[{\"internalType\":\"contractLendingPoolDataProvider\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_referralCode\",\"type\":\"uint16\"}],\"name\":\"deposit\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_params\",\"type\":\"bytes\"}],\"name\":\"flashLoan\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"}],\"name\":\"getReserveConfigurationData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationBonus\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"usageAsCollateralEnabled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"borrowingEnabled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"stableBorrowRateEnabled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"}],\"name\":\"getReserveData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalLiquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableLiquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBorrowsStable\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBorrowsVariable\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"averageStableBorrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableBorrowIndex\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserAccountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalLiquidityETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalCollateralETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBorrowsETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalFeesETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentLiquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"healthFactor\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserReserveData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"currentATokenBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentBorrowBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalBorrowBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowRateMode\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"originationFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableBorrowIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"usageAsCollateralEnabled\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractLendingPoolAddressesProvider\",\"name\":\"_addressesProvider\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_collateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_purchaseAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_receiveAToken\",\"type\":\"bool\"}],\"name\":\"liquidationCall\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"parametersProvider\",\"outputs\":[{\"internalType\":\"contractLendingPoolParametersProvider\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"rebalanceStableBorrowRate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_aTokenBalanceAfterRedeem\",\"type\":\"uint256\"}],\"name\":\"redeemUnderlying\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"_onBehalfOf\",\"type\":\"address\"}],\"name\":\"repay\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_useAsCollateral\",\"type\":\"bool\"}],\"name\":\"setUserUseReserveAsCollateral\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"}],\"name\":\"swapBorrowRateMode\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

V1LendingPoolMetaData contains all meta data concerning the V1LendingPool contract.

View Source
var V2LendingPoolABI = V2LendingPoolMetaData.ABI

V2LendingPoolABI is the input ABI used to generate the binding from. Deprecated: Use V2LendingPoolMetaData.ABI instead.

View Source
var V2LendingPoolMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRateMode\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRate\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referral\",\"type\":\"uint16\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referral\",\"type\":\"uint16\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"initiator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralAsset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"debtAsset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"debtToCover\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidatedCollateralAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"receiveAToken\",\"type\":\"bool\"}],\"name\":\"LiquidationCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"RebalanceStableBorrowRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"repayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Repay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableBorrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableBorrowIndex\",\"type\":\"uint256\"}],\"name\":\"ReserveDataUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rateMode\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FLASHLOAN_PREMIUM_TOTAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LENDINGPOOL_REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_NUMBER_RESERVES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_STABLE_RATE_BORROW_SIZE_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceFromBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceToBefore\",\"type\":\"uint256\"}],\"name\":\"finalizeTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiverAddress\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"modes\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"flashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAddressesProvider\",\"outputs\":[{\"internalType\":\"contractILendingPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV2DataTypes.ReserveConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveData\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV2DataTypes.ReserveConfigurationMap\",\"name\":\"configuration\",\"type\":\"tuple\"},{\"internalType\":\"uint128\",\"name\":\"liquidityIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"variableBorrowIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentLiquidityRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentVariableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentStableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"}],\"internalType\":\"structV2DataTypes.ReserveData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveNormalizedIncome\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveNormalizedVariableDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReservesList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserAccountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalCollateralETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalDebtETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentLiquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"healthFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV2DataTypes.UserConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"}],\"name\":\"initReserve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractILendingPoolAddressesProvider\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateralAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"debtAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"debtToCover\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"receiveAToken\",\"type\":\"bool\"}],\"name\":\"liquidationCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"rebalanceStableBorrowRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rateMode\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"repay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"}],\"name\":\"setConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"val\",\"type\":\"bool\"}],\"name\":\"setPause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rateStrategyAddress\",\"type\":\"address\"}],\"name\":\"setReserveInterestRateStrategyAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useAsCollateral\",\"type\":\"bool\"}],\"name\":\"setUserUseReserveAsCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rateMode\",\"type\":\"uint256\"}],\"name\":\"swapBorrowRateMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

V2LendingPoolMetaData contains all meta data concerning the V2LendingPool contract.

View Source
var V3PoolABI = V3PoolMetaData.ABI

V3PoolABI is the input ABI used to generate the binding from. Deprecated: Use V3PoolMetaData.ABI instead.

View Source
var V3PoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIPoolAddressesProvider\",\"name\":\"provider\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"backer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"BackUnbacked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumV3DataTypes.InterestRateMode\",\"name\":\"interestRateMode\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRate\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"initiator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumV3DataTypes.InterestRateMode\",\"name\":\"interestRateMode\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalDebt\",\"type\":\"uint256\"}],\"name\":\"IsolationModeTotalDebtUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralAsset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"debtAsset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"debtToCover\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidatedCollateralAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"receiveAToken\",\"type\":\"bool\"}],\"name\":\"LiquidationCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"MintUnbacked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountMinted\",\"type\":\"uint256\"}],\"name\":\"MintedToTreasury\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"RebalanceStableBorrowRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"repayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"useATokens\",\"type\":\"bool\"}],\"name\":\"Repay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stableBorrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableBorrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidityIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableBorrowIndex\",\"type\":\"uint256\"}],\"name\":\"ReserveDataUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"ReserveUsedAsCollateralEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"Supply\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumV3DataTypes.InterestRateMode\",\"name\":\"interestRateMode\",\"type\":\"uint8\"}],\"name\":\"SwapBorrowRateMode\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"categoryId\",\"type\":\"uint8\"}],\"name\":\"UserEModeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADDRESSES_PROVIDER\",\"outputs\":[{\"internalType\":\"contractIPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BRIDGE_PROTOCOL_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLASHLOAN_PREMIUM_TOTAL\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLASHLOAN_PREMIUM_TO_PROTOCOL\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_NUMBER_RESERVES\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_STABLE_RATE_BORROW_SIZE_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"backUnbacked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"ltv\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"liquidationThreshold\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"liquidationBonus\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"priceSource\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"label\",\"type\":\"string\"}],\"internalType\":\"structV3DataTypes.EModeCategory\",\"name\":\"category\",\"type\":\"tuple\"}],\"name\":\"configureEModeCategory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"dropReserve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceFromBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceToBefore\",\"type\":\"uint256\"}],\"name\":\"finalizeTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiverAddress\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"interestRateModes\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"flashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiverAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"flashLoanSimple\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV3DataTypes.ReserveConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"}],\"name\":\"getEModeCategoryData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"ltv\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"liquidationThreshold\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"liquidationBonus\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"priceSource\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"label\",\"type\":\"string\"}],\"internalType\":\"structV3DataTypes.EModeCategory\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"}],\"name\":\"getReserveAddressById\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveData\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV3DataTypes.ReserveConfigurationMap\",\"name\":\"configuration\",\"type\":\"tuple\"},{\"internalType\":\"uint128\",\"name\":\"liquidityIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentLiquidityRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"variableBorrowIndex\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentVariableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"currentStableBorrowRate\",\"type\":\"uint128\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"accruedToTreasury\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"unbacked\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"isolationModeTotalDebt\",\"type\":\"uint128\"}],\"internalType\":\"structV3DataTypes.ReserveData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveNormalizedIncome\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveNormalizedVariableDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReservesList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserAccountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalCollateralBase\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalDebtBase\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsBase\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentLiquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"healthFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV3DataTypes.UserConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserEMode\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"aTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variableDebtAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateStrategyAddress\",\"type\":\"address\"}],\"name\":\"initReserve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPoolAddressesProvider\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateralAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"debtAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"debtToCover\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"receiveAToken\",\"type\":\"bool\"}],\"name\":\"liquidationCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"}],\"name\":\"mintToTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"mintUnbacked\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"rebalanceStableBorrowRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"repay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"}],\"name\":\"repayWithATokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"permitV\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"permitR\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"permitS\",\"type\":\"bytes32\"}],\"name\":\"repayWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"resetIsolationModeTotalDebt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structV3DataTypes.ReserveConfigurationMap\",\"name\":\"configuration\",\"type\":\"tuple\"}],\"name\":\"setConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rateStrategyAddress\",\"type\":\"address\"}],\"name\":\"setReserveInterestRateStrategyAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"categoryId\",\"type\":\"uint8\"}],\"name\":\"setUserEMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useAsCollateral\",\"type\":\"bool\"}],\"name\":\"setUserUseReserveAsCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"supply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"permitV\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"permitR\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"permitS\",\"type\":\"bytes32\"}],\"name\":\"supplyWithPermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"interestRateMode\",\"type\":\"uint256\"}],\"name\":\"swapBorrowRateMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"protocolFee\",\"type\":\"uint256\"}],\"name\":\"updateBridgeProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"flashLoanPremiumTotal\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"flashLoanPremiumToProtocol\",\"type\":\"uint128\"}],\"name\":\"updateFlashloanPremiums\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

V3PoolMetaData contains all meta data concerning the V3Pool contract.

Functions

This section is empty.

Types

type V1LendingPool

type V1LendingPool struct {
	V1LendingPoolCaller     // Read-only binding to the contract
	V1LendingPoolTransactor // Write-only binding to the contract
	V1LendingPoolFilterer   // Log filterer for contract events
}

V1LendingPool is an auto generated Go binding around an Ethereum contract.

func NewV1LendingPool

func NewV1LendingPool(address common.Address, backend bind.ContractBackend) (*V1LendingPool, error)

NewV1LendingPool creates a new instance of V1LendingPool, bound to a specific deployed contract.

type V1LendingPoolBorrow

type V1LendingPoolBorrow struct {
	Reserve               common.Address
	User                  common.Address
	Amount                *big.Int
	BorrowRateMode        *big.Int
	BorrowRate            *big.Int
	OriginationFee        *big.Int
	BorrowBalanceIncrease *big.Int
	Referral              uint16
	Timestamp             *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

V1LendingPoolBorrow represents a Borrow event raised by the V1LendingPool contract.

type V1LendingPoolBorrowIterator

type V1LendingPoolBorrowIterator struct {
	Event *V1LendingPoolBorrow // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the V1LendingPool contract.

func (*V1LendingPoolBorrowIterator) Close

func (it *V1LendingPoolBorrowIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolBorrowIterator) Error

func (it *V1LendingPoolBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolBorrowIterator) Next

func (it *V1LendingPoolBorrowIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolCaller

type V1LendingPoolCaller struct {
	// contains filtered or unexported fields
}

V1LendingPoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewV1LendingPoolCaller

func NewV1LendingPoolCaller(address common.Address, caller bind.ContractCaller) (*V1LendingPoolCaller, error)

NewV1LendingPoolCaller creates a new read-only instance of V1LendingPool, bound to a specific deployed contract.

func (*V1LendingPoolCaller) AddressesProvider

func (_V1LendingPool *V1LendingPoolCaller) AddressesProvider(opts *bind.CallOpts) (common.Address, error)

AddressesProvider is a free data retrieval call binding the contract method 0xc72c4d10.

Solidity: function addressesProvider() view returns(address)

func (*V1LendingPoolCaller) Core

func (_V1LendingPool *V1LendingPoolCaller) Core(opts *bind.CallOpts) (common.Address, error)

Core is a free data retrieval call binding the contract method 0xf2f4eb26.

Solidity: function core() view returns(address)

func (*V1LendingPoolCaller) DataProvider

func (_V1LendingPool *V1LendingPoolCaller) DataProvider(opts *bind.CallOpts) (common.Address, error)

DataProvider is a free data retrieval call binding the contract method 0xb334ed86.

Solidity: function dataProvider() view returns(address)

func (*V1LendingPoolCaller) GetReserveConfigurationData

func (_V1LendingPool *V1LendingPoolCaller) GetReserveConfigurationData(opts *bind.CallOpts, _reserve common.Address) (struct {
	Ltv                         *big.Int
	LiquidationThreshold        *big.Int
	LiquidationBonus            *big.Int
	InterestRateStrategyAddress common.Address
	UsageAsCollateralEnabled    bool
	BorrowingEnabled            bool
	StableBorrowRateEnabled     bool
	IsActive                    bool
}, error)

GetReserveConfigurationData is a free data retrieval call binding the contract method 0x3e150141.

Solidity: function getReserveConfigurationData(address _reserve) view returns(uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, address interestRateStrategyAddress, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive)

func (*V1LendingPoolCaller) GetReserveData

func (_V1LendingPool *V1LendingPoolCaller) GetReserveData(opts *bind.CallOpts, _reserve common.Address) (struct {
	TotalLiquidity          *big.Int
	AvailableLiquidity      *big.Int
	TotalBorrowsStable      *big.Int
	TotalBorrowsVariable    *big.Int
	LiquidityRate           *big.Int
	VariableBorrowRate      *big.Int
	StableBorrowRate        *big.Int
	AverageStableBorrowRate *big.Int
	UtilizationRate         *big.Int
	LiquidityIndex          *big.Int
	VariableBorrowIndex     *big.Int
	ATokenAddress           common.Address
	LastUpdateTimestamp     *big.Int
}, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address _reserve) view returns(uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, address aTokenAddress, uint40 lastUpdateTimestamp)

func (*V1LendingPoolCaller) GetReserves

func (_V1LendingPool *V1LendingPoolCaller) GetReserves(opts *bind.CallOpts) ([]common.Address, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(address[])

func (*V1LendingPoolCaller) GetUserAccountData

func (_V1LendingPool *V1LendingPoolCaller) GetUserAccountData(opts *bind.CallOpts, _user common.Address) (struct {
	TotalLiquidityETH           *big.Int
	TotalCollateralETH          *big.Int
	TotalBorrowsETH             *big.Int
	TotalFeesETH                *big.Int
	AvailableBorrowsETH         *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address _user) view returns(uint256 totalLiquidityETH, uint256 totalCollateralETH, uint256 totalBorrowsETH, uint256 totalFeesETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V1LendingPoolCaller) GetUserReserveData

func (_V1LendingPool *V1LendingPoolCaller) GetUserReserveData(opts *bind.CallOpts, _reserve common.Address, _user common.Address) (struct {
	CurrentATokenBalance     *big.Int
	CurrentBorrowBalance     *big.Int
	PrincipalBorrowBalance   *big.Int
	BorrowRateMode           *big.Int
	BorrowRate               *big.Int
	LiquidityRate            *big.Int
	OriginationFee           *big.Int
	VariableBorrowIndex      *big.Int
	LastUpdateTimestamp      *big.Int
	UsageAsCollateralEnabled bool
}, error)

GetUserReserveData is a free data retrieval call binding the contract method 0x28dd2d01.

Solidity: function getUserReserveData(address _reserve, address _user) view returns(uint256 currentATokenBalance, uint256 currentBorrowBalance, uint256 principalBorrowBalance, uint256 borrowRateMode, uint256 borrowRate, uint256 liquidityRate, uint256 originationFee, uint256 variableBorrowIndex, uint256 lastUpdateTimestamp, bool usageAsCollateralEnabled)

func (*V1LendingPoolCaller) LENDINGPOOLREVISION

func (_V1LendingPool *V1LendingPoolCaller) LENDINGPOOLREVISION(opts *bind.CallOpts) (*big.Int, error)

LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.

Solidity: function LENDINGPOOL_REVISION() view returns(uint256)

func (*V1LendingPoolCaller) ParametersProvider

func (_V1LendingPool *V1LendingPoolCaller) ParametersProvider(opts *bind.CallOpts) (common.Address, error)

ParametersProvider is a free data retrieval call binding the contract method 0x58707e06.

Solidity: function parametersProvider() view returns(address)

func (*V1LendingPoolCaller) UINTMAXVALUE

func (_V1LendingPool *V1LendingPoolCaller) UINTMAXVALUE(opts *bind.CallOpts) (*big.Int, error)

UINTMAXVALUE is a free data retrieval call binding the contract method 0xd0fc81d2.

Solidity: function UINT_MAX_VALUE() view returns(uint256)

type V1LendingPoolCallerRaw

type V1LendingPoolCallerRaw struct {
	Contract *V1LendingPoolCaller // Generic read-only contract binding to access the raw methods on
}

V1LendingPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*V1LendingPoolCallerRaw) Call

func (_V1LendingPool *V1LendingPoolCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type V1LendingPoolCallerSession

type V1LendingPoolCallerSession struct {
	Contract *V1LendingPoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

V1LendingPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*V1LendingPoolCallerSession) AddressesProvider

func (_V1LendingPool *V1LendingPoolCallerSession) AddressesProvider() (common.Address, error)

AddressesProvider is a free data retrieval call binding the contract method 0xc72c4d10.

Solidity: function addressesProvider() view returns(address)

func (*V1LendingPoolCallerSession) Core

func (_V1LendingPool *V1LendingPoolCallerSession) Core() (common.Address, error)

Core is a free data retrieval call binding the contract method 0xf2f4eb26.

Solidity: function core() view returns(address)

func (*V1LendingPoolCallerSession) DataProvider

func (_V1LendingPool *V1LendingPoolCallerSession) DataProvider() (common.Address, error)

DataProvider is a free data retrieval call binding the contract method 0xb334ed86.

Solidity: function dataProvider() view returns(address)

func (*V1LendingPoolCallerSession) GetReserveConfigurationData

func (_V1LendingPool *V1LendingPoolCallerSession) GetReserveConfigurationData(_reserve common.Address) (struct {
	Ltv                         *big.Int
	LiquidationThreshold        *big.Int
	LiquidationBonus            *big.Int
	InterestRateStrategyAddress common.Address
	UsageAsCollateralEnabled    bool
	BorrowingEnabled            bool
	StableBorrowRateEnabled     bool
	IsActive                    bool
}, error)

GetReserveConfigurationData is a free data retrieval call binding the contract method 0x3e150141.

Solidity: function getReserveConfigurationData(address _reserve) view returns(uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, address interestRateStrategyAddress, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive)

func (*V1LendingPoolCallerSession) GetReserveData

func (_V1LendingPool *V1LendingPoolCallerSession) GetReserveData(_reserve common.Address) (struct {
	TotalLiquidity          *big.Int
	AvailableLiquidity      *big.Int
	TotalBorrowsStable      *big.Int
	TotalBorrowsVariable    *big.Int
	LiquidityRate           *big.Int
	VariableBorrowRate      *big.Int
	StableBorrowRate        *big.Int
	AverageStableBorrowRate *big.Int
	UtilizationRate         *big.Int
	LiquidityIndex          *big.Int
	VariableBorrowIndex     *big.Int
	ATokenAddress           common.Address
	LastUpdateTimestamp     *big.Int
}, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address _reserve) view returns(uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, address aTokenAddress, uint40 lastUpdateTimestamp)

func (*V1LendingPoolCallerSession) GetReserves

func (_V1LendingPool *V1LendingPoolCallerSession) GetReserves() ([]common.Address, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(address[])

func (*V1LendingPoolCallerSession) GetUserAccountData

func (_V1LendingPool *V1LendingPoolCallerSession) GetUserAccountData(_user common.Address) (struct {
	TotalLiquidityETH           *big.Int
	TotalCollateralETH          *big.Int
	TotalBorrowsETH             *big.Int
	TotalFeesETH                *big.Int
	AvailableBorrowsETH         *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address _user) view returns(uint256 totalLiquidityETH, uint256 totalCollateralETH, uint256 totalBorrowsETH, uint256 totalFeesETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V1LendingPoolCallerSession) GetUserReserveData

func (_V1LendingPool *V1LendingPoolCallerSession) GetUserReserveData(_reserve common.Address, _user common.Address) (struct {
	CurrentATokenBalance     *big.Int
	CurrentBorrowBalance     *big.Int
	PrincipalBorrowBalance   *big.Int
	BorrowRateMode           *big.Int
	BorrowRate               *big.Int
	LiquidityRate            *big.Int
	OriginationFee           *big.Int
	VariableBorrowIndex      *big.Int
	LastUpdateTimestamp      *big.Int
	UsageAsCollateralEnabled bool
}, error)

GetUserReserveData is a free data retrieval call binding the contract method 0x28dd2d01.

Solidity: function getUserReserveData(address _reserve, address _user) view returns(uint256 currentATokenBalance, uint256 currentBorrowBalance, uint256 principalBorrowBalance, uint256 borrowRateMode, uint256 borrowRate, uint256 liquidityRate, uint256 originationFee, uint256 variableBorrowIndex, uint256 lastUpdateTimestamp, bool usageAsCollateralEnabled)

func (*V1LendingPoolCallerSession) LENDINGPOOLREVISION

func (_V1LendingPool *V1LendingPoolCallerSession) LENDINGPOOLREVISION() (*big.Int, error)

LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.

Solidity: function LENDINGPOOL_REVISION() view returns(uint256)

func (*V1LendingPoolCallerSession) ParametersProvider

func (_V1LendingPool *V1LendingPoolCallerSession) ParametersProvider() (common.Address, error)

ParametersProvider is a free data retrieval call binding the contract method 0x58707e06.

Solidity: function parametersProvider() view returns(address)

func (*V1LendingPoolCallerSession) UINTMAXVALUE

func (_V1LendingPool *V1LendingPoolCallerSession) UINTMAXVALUE() (*big.Int, error)

UINTMAXVALUE is a free data retrieval call binding the contract method 0xd0fc81d2.

Solidity: function UINT_MAX_VALUE() view returns(uint256)

type V1LendingPoolDeposit

type V1LendingPoolDeposit struct {
	Reserve   common.Address
	User      common.Address
	Amount    *big.Int
	Referral  uint16
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

V1LendingPoolDeposit represents a Deposit event raised by the V1LendingPool contract.

type V1LendingPoolDepositIterator

type V1LendingPoolDepositIterator struct {
	Event *V1LendingPoolDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the V1LendingPool contract.

func (*V1LendingPoolDepositIterator) Close

func (it *V1LendingPoolDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolDepositIterator) Error

func (it *V1LendingPoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolDepositIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolFilterer

type V1LendingPoolFilterer struct {
	// contains filtered or unexported fields
}

V1LendingPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewV1LendingPoolFilterer

func NewV1LendingPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*V1LendingPoolFilterer, error)

NewV1LendingPoolFilterer creates a new log filterer instance of V1LendingPool, bound to a specific deployed contract.

func (*V1LendingPoolFilterer) FilterBorrow

func (_V1LendingPool *V1LendingPoolFilterer) FilterBorrow(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address, _referral []uint16) (*V1LendingPoolBorrowIterator, error)

FilterBorrow is a free log retrieval operation binding the contract event 0x1e77446728e5558aa1b7e81e0cdab9cc1b075ba893b740600c76a315c2caa553.

Solidity: event Borrow(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _borrowRateMode, uint256 _borrowRate, uint256 _originationFee, uint256 _borrowBalanceIncrease, uint16 indexed _referral, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterDeposit

func (_V1LendingPool *V1LendingPoolFilterer) FilterDeposit(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address, _referral []uint16) (*V1LendingPoolDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xc12c57b1c73a2c3a2ea4613e9476abb3d8d146857aab7329e24243fb59710c82.

Solidity: event Deposit(address indexed _reserve, address indexed _user, uint256 _amount, uint16 indexed _referral, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterFlashLoan

func (_V1LendingPool *V1LendingPoolFilterer) FilterFlashLoan(opts *bind.FilterOpts, _target []common.Address, _reserve []common.Address) (*V1LendingPoolFlashLoanIterator, error)

FilterFlashLoan is a free log retrieval operation binding the contract event 0x5b8f46461c1dd69fb968f1a003acee221ea3e19540e350233b612ddb43433b55.

Solidity: event FlashLoan(address indexed _target, address indexed _reserve, uint256 _amount, uint256 _totalFee, uint256 _protocolFee, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterLiquidationCall

func (_V1LendingPool *V1LendingPoolFilterer) FilterLiquidationCall(opts *bind.FilterOpts, _collateral []common.Address, _reserve []common.Address, _user []common.Address) (*V1LendingPoolLiquidationCallIterator, error)

FilterLiquidationCall is a free log retrieval operation binding the contract event 0x56864757fd5b1fc9f38f5f3a981cd8ae512ce41b902cf73fc506ee369c6bc237.

Solidity: event LiquidationCall(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _purchaseAmount, uint256 _liquidatedCollateralAmount, uint256 _accruedBorrowInterest, address _liquidator, bool _receiveAToken, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterOriginationFeeLiquidated

func (_V1LendingPool *V1LendingPoolFilterer) FilterOriginationFeeLiquidated(opts *bind.FilterOpts, _collateral []common.Address, _reserve []common.Address, _user []common.Address) (*V1LendingPoolOriginationFeeLiquidatedIterator, error)

FilterOriginationFeeLiquidated is a free log retrieval operation binding the contract event 0x36ca8b16d61dc13b1062adff83e3778ab92d14f9e35bfe9fd1283e02b13fb0a1.

Solidity: event OriginationFeeLiquidated(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _feeLiquidated, uint256 _liquidatedCollateralForFee, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterRebalanceStableBorrowRate

func (_V1LendingPool *V1LendingPoolFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address) (*V1LendingPoolRebalanceStableBorrowRateIterator, error)

FilterRebalanceStableBorrowRate is a free log retrieval operation binding the contract event 0x5050ad184862424ee0852d1838d355ad65bed1e5e6da67ac9a2dac1922677f60.

Solidity: event RebalanceStableBorrowRate(address indexed _reserve, address indexed _user, uint256 _newStableRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterRedeemUnderlying

func (_V1LendingPool *V1LendingPoolFilterer) FilterRedeemUnderlying(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address) (*V1LendingPoolRedeemUnderlyingIterator, error)

FilterRedeemUnderlying is a free log retrieval operation binding the contract event 0x9c4ed599cd8555b9c1e8cd7643240d7d71eb76b792948c49fcb4d411f7b6b3c6.

Solidity: event RedeemUnderlying(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterRepay

func (_V1LendingPool *V1LendingPoolFilterer) FilterRepay(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address, _repayer []common.Address) (*V1LendingPoolRepayIterator, error)

FilterRepay is a free log retrieval operation binding the contract event 0xb718f0b14f03d8c3adf35b15e3da52421b042ac879e5a689011a8b1e0036773d.

Solidity: event Repay(address indexed _reserve, address indexed _user, address indexed _repayer, uint256 _amountMinusFees, uint256 _fees, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) FilterReserveUsedAsCollateralDisabled

func (_V1LendingPool *V1LendingPoolFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address) (*V1LendingPoolReserveUsedAsCollateralDisabledIterator, error)

FilterReserveUsedAsCollateralDisabled is a free log retrieval operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed _reserve, address indexed _user)

func (*V1LendingPoolFilterer) FilterReserveUsedAsCollateralEnabled

func (_V1LendingPool *V1LendingPoolFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address) (*V1LendingPoolReserveUsedAsCollateralEnabledIterator, error)

FilterReserveUsedAsCollateralEnabled is a free log retrieval operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed _reserve, address indexed _user)

func (*V1LendingPoolFilterer) FilterSwap

func (_V1LendingPool *V1LendingPoolFilterer) FilterSwap(opts *bind.FilterOpts, _reserve []common.Address, _user []common.Address) (*V1LendingPoolSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xb3e2773606abfd36b5bd91394b3a54d1398336c65005baf7bf7a05efeffaf75b.

Solidity: event Swap(address indexed _reserve, address indexed _user, uint256 _newRateMode, uint256 _newRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseBorrow

func (_V1LendingPool *V1LendingPoolFilterer) ParseBorrow(log types.Log) (*V1LendingPoolBorrow, error)

ParseBorrow is a log parse operation binding the contract event 0x1e77446728e5558aa1b7e81e0cdab9cc1b075ba893b740600c76a315c2caa553.

Solidity: event Borrow(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _borrowRateMode, uint256 _borrowRate, uint256 _originationFee, uint256 _borrowBalanceIncrease, uint16 indexed _referral, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseDeposit

func (_V1LendingPool *V1LendingPoolFilterer) ParseDeposit(log types.Log) (*V1LendingPoolDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xc12c57b1c73a2c3a2ea4613e9476abb3d8d146857aab7329e24243fb59710c82.

Solidity: event Deposit(address indexed _reserve, address indexed _user, uint256 _amount, uint16 indexed _referral, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseFlashLoan

func (_V1LendingPool *V1LendingPoolFilterer) ParseFlashLoan(log types.Log) (*V1LendingPoolFlashLoan, error)

ParseFlashLoan is a log parse operation binding the contract event 0x5b8f46461c1dd69fb968f1a003acee221ea3e19540e350233b612ddb43433b55.

Solidity: event FlashLoan(address indexed _target, address indexed _reserve, uint256 _amount, uint256 _totalFee, uint256 _protocolFee, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseLiquidationCall

func (_V1LendingPool *V1LendingPoolFilterer) ParseLiquidationCall(log types.Log) (*V1LendingPoolLiquidationCall, error)

ParseLiquidationCall is a log parse operation binding the contract event 0x56864757fd5b1fc9f38f5f3a981cd8ae512ce41b902cf73fc506ee369c6bc237.

Solidity: event LiquidationCall(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _purchaseAmount, uint256 _liquidatedCollateralAmount, uint256 _accruedBorrowInterest, address _liquidator, bool _receiveAToken, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseOriginationFeeLiquidated

func (_V1LendingPool *V1LendingPoolFilterer) ParseOriginationFeeLiquidated(log types.Log) (*V1LendingPoolOriginationFeeLiquidated, error)

ParseOriginationFeeLiquidated is a log parse operation binding the contract event 0x36ca8b16d61dc13b1062adff83e3778ab92d14f9e35bfe9fd1283e02b13fb0a1.

Solidity: event OriginationFeeLiquidated(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _feeLiquidated, uint256 _liquidatedCollateralForFee, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseRebalanceStableBorrowRate

func (_V1LendingPool *V1LendingPoolFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*V1LendingPoolRebalanceStableBorrowRate, error)

ParseRebalanceStableBorrowRate is a log parse operation binding the contract event 0x5050ad184862424ee0852d1838d355ad65bed1e5e6da67ac9a2dac1922677f60.

Solidity: event RebalanceStableBorrowRate(address indexed _reserve, address indexed _user, uint256 _newStableRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseRedeemUnderlying

func (_V1LendingPool *V1LendingPoolFilterer) ParseRedeemUnderlying(log types.Log) (*V1LendingPoolRedeemUnderlying, error)

ParseRedeemUnderlying is a log parse operation binding the contract event 0x9c4ed599cd8555b9c1e8cd7643240d7d71eb76b792948c49fcb4d411f7b6b3c6.

Solidity: event RedeemUnderlying(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseRepay

func (_V1LendingPool *V1LendingPoolFilterer) ParseRepay(log types.Log) (*V1LendingPoolRepay, error)

ParseRepay is a log parse operation binding the contract event 0xb718f0b14f03d8c3adf35b15e3da52421b042ac879e5a689011a8b1e0036773d.

Solidity: event Repay(address indexed _reserve, address indexed _user, address indexed _repayer, uint256 _amountMinusFees, uint256 _fees, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) ParseReserveUsedAsCollateralDisabled

func (_V1LendingPool *V1LendingPoolFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*V1LendingPoolReserveUsedAsCollateralDisabled, error)

ParseReserveUsedAsCollateralDisabled is a log parse operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed _reserve, address indexed _user)

func (*V1LendingPoolFilterer) ParseReserveUsedAsCollateralEnabled

func (_V1LendingPool *V1LendingPoolFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*V1LendingPoolReserveUsedAsCollateralEnabled, error)

ParseReserveUsedAsCollateralEnabled is a log parse operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed _reserve, address indexed _user)

func (*V1LendingPoolFilterer) ParseSwap

func (_V1LendingPool *V1LendingPoolFilterer) ParseSwap(log types.Log) (*V1LendingPoolSwap, error)

ParseSwap is a log parse operation binding the contract event 0xb3e2773606abfd36b5bd91394b3a54d1398336c65005baf7bf7a05efeffaf75b.

Solidity: event Swap(address indexed _reserve, address indexed _user, uint256 _newRateMode, uint256 _newRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchBorrow

func (_V1LendingPool *V1LendingPoolFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *V1LendingPoolBorrow, _reserve []common.Address, _user []common.Address, _referral []uint16) (event.Subscription, error)

WatchBorrow is a free log subscription operation binding the contract event 0x1e77446728e5558aa1b7e81e0cdab9cc1b075ba893b740600c76a315c2caa553.

Solidity: event Borrow(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _borrowRateMode, uint256 _borrowRate, uint256 _originationFee, uint256 _borrowBalanceIncrease, uint16 indexed _referral, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchDeposit

func (_V1LendingPool *V1LendingPoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *V1LendingPoolDeposit, _reserve []common.Address, _user []common.Address, _referral []uint16) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xc12c57b1c73a2c3a2ea4613e9476abb3d8d146857aab7329e24243fb59710c82.

Solidity: event Deposit(address indexed _reserve, address indexed _user, uint256 _amount, uint16 indexed _referral, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchFlashLoan

func (_V1LendingPool *V1LendingPoolFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *V1LendingPoolFlashLoan, _target []common.Address, _reserve []common.Address) (event.Subscription, error)

WatchFlashLoan is a free log subscription operation binding the contract event 0x5b8f46461c1dd69fb968f1a003acee221ea3e19540e350233b612ddb43433b55.

Solidity: event FlashLoan(address indexed _target, address indexed _reserve, uint256 _amount, uint256 _totalFee, uint256 _protocolFee, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchLiquidationCall

func (_V1LendingPool *V1LendingPoolFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *V1LendingPoolLiquidationCall, _collateral []common.Address, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchLiquidationCall is a free log subscription operation binding the contract event 0x56864757fd5b1fc9f38f5f3a981cd8ae512ce41b902cf73fc506ee369c6bc237.

Solidity: event LiquidationCall(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _purchaseAmount, uint256 _liquidatedCollateralAmount, uint256 _accruedBorrowInterest, address _liquidator, bool _receiveAToken, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchOriginationFeeLiquidated

func (_V1LendingPool *V1LendingPoolFilterer) WatchOriginationFeeLiquidated(opts *bind.WatchOpts, sink chan<- *V1LendingPoolOriginationFeeLiquidated, _collateral []common.Address, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchOriginationFeeLiquidated is a free log subscription operation binding the contract event 0x36ca8b16d61dc13b1062adff83e3778ab92d14f9e35bfe9fd1283e02b13fb0a1.

Solidity: event OriginationFeeLiquidated(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _feeLiquidated, uint256 _liquidatedCollateralForFee, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchRebalanceStableBorrowRate

func (_V1LendingPool *V1LendingPoolFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *V1LendingPoolRebalanceStableBorrowRate, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchRebalanceStableBorrowRate is a free log subscription operation binding the contract event 0x5050ad184862424ee0852d1838d355ad65bed1e5e6da67ac9a2dac1922677f60.

Solidity: event RebalanceStableBorrowRate(address indexed _reserve, address indexed _user, uint256 _newStableRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchRedeemUnderlying

func (_V1LendingPool *V1LendingPoolFilterer) WatchRedeemUnderlying(opts *bind.WatchOpts, sink chan<- *V1LendingPoolRedeemUnderlying, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchRedeemUnderlying is a free log subscription operation binding the contract event 0x9c4ed599cd8555b9c1e8cd7643240d7d71eb76b792948c49fcb4d411f7b6b3c6.

Solidity: event RedeemUnderlying(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchRepay

func (_V1LendingPool *V1LendingPoolFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *V1LendingPoolRepay, _reserve []common.Address, _user []common.Address, _repayer []common.Address) (event.Subscription, error)

WatchRepay is a free log subscription operation binding the contract event 0xb718f0b14f03d8c3adf35b15e3da52421b042ac879e5a689011a8b1e0036773d.

Solidity: event Repay(address indexed _reserve, address indexed _user, address indexed _repayer, uint256 _amountMinusFees, uint256 _fees, uint256 _borrowBalanceIncrease, uint256 _timestamp)

func (*V1LendingPoolFilterer) WatchReserveUsedAsCollateralDisabled

func (_V1LendingPool *V1LendingPoolFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *V1LendingPoolReserveUsedAsCollateralDisabled, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchReserveUsedAsCollateralDisabled is a free log subscription operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed _reserve, address indexed _user)

func (*V1LendingPoolFilterer) WatchReserveUsedAsCollateralEnabled

func (_V1LendingPool *V1LendingPoolFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *V1LendingPoolReserveUsedAsCollateralEnabled, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchReserveUsedAsCollateralEnabled is a free log subscription operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed _reserve, address indexed _user)

func (*V1LendingPoolFilterer) WatchSwap

func (_V1LendingPool *V1LendingPoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *V1LendingPoolSwap, _reserve []common.Address, _user []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xb3e2773606abfd36b5bd91394b3a54d1398336c65005baf7bf7a05efeffaf75b.

Solidity: event Swap(address indexed _reserve, address indexed _user, uint256 _newRateMode, uint256 _newRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)

type V1LendingPoolFlashLoan

type V1LendingPoolFlashLoan struct {
	Target      common.Address
	Reserve     common.Address
	Amount      *big.Int
	TotalFee    *big.Int
	ProtocolFee *big.Int
	Timestamp   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

V1LendingPoolFlashLoan represents a FlashLoan event raised by the V1LendingPool contract.

type V1LendingPoolFlashLoanIterator

type V1LendingPoolFlashLoanIterator struct {
	Event *V1LendingPoolFlashLoan // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the V1LendingPool contract.

func (*V1LendingPoolFlashLoanIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolFlashLoanIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolFlashLoanIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolLiquidationCall

type V1LendingPoolLiquidationCall struct {
	Collateral                 common.Address
	Reserve                    common.Address
	User                       common.Address
	PurchaseAmount             *big.Int
	LiquidatedCollateralAmount *big.Int
	AccruedBorrowInterest      *big.Int
	Liquidator                 common.Address
	ReceiveAToken              bool
	Timestamp                  *big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

V1LendingPoolLiquidationCall represents a LiquidationCall event raised by the V1LendingPool contract.

type V1LendingPoolLiquidationCallIterator

type V1LendingPoolLiquidationCallIterator struct {
	Event *V1LendingPoolLiquidationCall // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolLiquidationCallIterator is returned from FilterLiquidationCall and is used to iterate over the raw logs and unpacked data for LiquidationCall events raised by the V1LendingPool contract.

func (*V1LendingPoolLiquidationCallIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolLiquidationCallIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolLiquidationCallIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolOriginationFeeLiquidated

type V1LendingPoolOriginationFeeLiquidated struct {
	Collateral                 common.Address
	Reserve                    common.Address
	User                       common.Address
	FeeLiquidated              *big.Int
	LiquidatedCollateralForFee *big.Int
	Timestamp                  *big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

V1LendingPoolOriginationFeeLiquidated represents a OriginationFeeLiquidated event raised by the V1LendingPool contract.

type V1LendingPoolOriginationFeeLiquidatedIterator

type V1LendingPoolOriginationFeeLiquidatedIterator struct {
	Event *V1LendingPoolOriginationFeeLiquidated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolOriginationFeeLiquidatedIterator is returned from FilterOriginationFeeLiquidated and is used to iterate over the raw logs and unpacked data for OriginationFeeLiquidated events raised by the V1LendingPool contract.

func (*V1LendingPoolOriginationFeeLiquidatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolOriginationFeeLiquidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolOriginationFeeLiquidatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolRaw

type V1LendingPoolRaw struct {
	Contract *V1LendingPool // Generic contract binding to access the raw methods on
}

V1LendingPoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*V1LendingPoolRaw) Call

func (_V1LendingPool *V1LendingPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*V1LendingPoolRaw) Transact

func (_V1LendingPool *V1LendingPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V1LendingPoolRaw) Transfer

func (_V1LendingPool *V1LendingPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V1LendingPoolRebalanceStableBorrowRate

type V1LendingPoolRebalanceStableBorrowRate struct {
	Reserve               common.Address
	User                  common.Address
	NewStableRate         *big.Int
	BorrowBalanceIncrease *big.Int
	Timestamp             *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

V1LendingPoolRebalanceStableBorrowRate represents a RebalanceStableBorrowRate event raised by the V1LendingPool contract.

type V1LendingPoolRebalanceStableBorrowRateIterator

type V1LendingPoolRebalanceStableBorrowRateIterator struct {
	Event *V1LendingPoolRebalanceStableBorrowRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolRebalanceStableBorrowRateIterator is returned from FilterRebalanceStableBorrowRate and is used to iterate over the raw logs and unpacked data for RebalanceStableBorrowRate events raised by the V1LendingPool contract.

func (*V1LendingPoolRebalanceStableBorrowRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolRebalanceStableBorrowRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolRebalanceStableBorrowRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolRedeemUnderlying

type V1LendingPoolRedeemUnderlying struct {
	Reserve   common.Address
	User      common.Address
	Amount    *big.Int
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

V1LendingPoolRedeemUnderlying represents a RedeemUnderlying event raised by the V1LendingPool contract.

type V1LendingPoolRedeemUnderlyingIterator

type V1LendingPoolRedeemUnderlyingIterator struct {
	Event *V1LendingPoolRedeemUnderlying // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolRedeemUnderlyingIterator is returned from FilterRedeemUnderlying and is used to iterate over the raw logs and unpacked data for RedeemUnderlying events raised by the V1LendingPool contract.

func (*V1LendingPoolRedeemUnderlyingIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolRedeemUnderlyingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolRedeemUnderlyingIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolRepay

type V1LendingPoolRepay struct {
	Reserve               common.Address
	User                  common.Address
	Repayer               common.Address
	AmountMinusFees       *big.Int
	Fees                  *big.Int
	BorrowBalanceIncrease *big.Int
	Timestamp             *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

V1LendingPoolRepay represents a Repay event raised by the V1LendingPool contract.

type V1LendingPoolRepayIterator

type V1LendingPoolRepayIterator struct {
	Event *V1LendingPoolRepay // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolRepayIterator is returned from FilterRepay and is used to iterate over the raw logs and unpacked data for Repay events raised by the V1LendingPool contract.

func (*V1LendingPoolRepayIterator) Close

func (it *V1LendingPoolRepayIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolRepayIterator) Error

func (it *V1LendingPoolRepayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolRepayIterator) Next

func (it *V1LendingPoolRepayIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolReserveUsedAsCollateralDisabled

type V1LendingPoolReserveUsedAsCollateralDisabled struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V1LendingPoolReserveUsedAsCollateralDisabled represents a ReserveUsedAsCollateralDisabled event raised by the V1LendingPool contract.

type V1LendingPoolReserveUsedAsCollateralDisabledIterator

type V1LendingPoolReserveUsedAsCollateralDisabledIterator struct {
	Event *V1LendingPoolReserveUsedAsCollateralDisabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolReserveUsedAsCollateralDisabledIterator is returned from FilterReserveUsedAsCollateralDisabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralDisabled events raised by the V1LendingPool contract.

func (*V1LendingPoolReserveUsedAsCollateralDisabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolReserveUsedAsCollateralDisabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolReserveUsedAsCollateralDisabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolReserveUsedAsCollateralEnabled

type V1LendingPoolReserveUsedAsCollateralEnabled struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V1LendingPoolReserveUsedAsCollateralEnabled represents a ReserveUsedAsCollateralEnabled event raised by the V1LendingPool contract.

type V1LendingPoolReserveUsedAsCollateralEnabledIterator

type V1LendingPoolReserveUsedAsCollateralEnabledIterator struct {
	Event *V1LendingPoolReserveUsedAsCollateralEnabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolReserveUsedAsCollateralEnabledIterator is returned from FilterReserveUsedAsCollateralEnabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralEnabled events raised by the V1LendingPool contract.

func (*V1LendingPoolReserveUsedAsCollateralEnabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolReserveUsedAsCollateralEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolReserveUsedAsCollateralEnabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolSession

type V1LendingPoolSession struct {
	Contract     *V1LendingPool    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

V1LendingPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*V1LendingPoolSession) AddressesProvider

func (_V1LendingPool *V1LendingPoolSession) AddressesProvider() (common.Address, error)

AddressesProvider is a free data retrieval call binding the contract method 0xc72c4d10.

Solidity: function addressesProvider() view returns(address)

func (*V1LendingPoolSession) Borrow

func (_V1LendingPool *V1LendingPoolSession) Borrow(_reserve common.Address, _amount *big.Int, _interestRateMode *big.Int, _referralCode uint16) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xc858f5f9.

Solidity: function borrow(address _reserve, uint256 _amount, uint256 _interestRateMode, uint16 _referralCode) returns()

func (*V1LendingPoolSession) Core

func (_V1LendingPool *V1LendingPoolSession) Core() (common.Address, error)

Core is a free data retrieval call binding the contract method 0xf2f4eb26.

Solidity: function core() view returns(address)

func (*V1LendingPoolSession) DataProvider

func (_V1LendingPool *V1LendingPoolSession) DataProvider() (common.Address, error)

DataProvider is a free data retrieval call binding the contract method 0xb334ed86.

Solidity: function dataProvider() view returns(address)

func (*V1LendingPoolSession) Deposit

func (_V1LendingPool *V1LendingPoolSession) Deposit(_reserve common.Address, _amount *big.Int, _referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd2d0e066.

Solidity: function deposit(address _reserve, uint256 _amount, uint16 _referralCode) payable returns()

func (*V1LendingPoolSession) FlashLoan

func (_V1LendingPool *V1LendingPoolSession) FlashLoan(_receiver common.Address, _reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address _receiver, address _reserve, uint256 _amount, bytes _params) returns()

func (*V1LendingPoolSession) GetReserveConfigurationData

func (_V1LendingPool *V1LendingPoolSession) GetReserveConfigurationData(_reserve common.Address) (struct {
	Ltv                         *big.Int
	LiquidationThreshold        *big.Int
	LiquidationBonus            *big.Int
	InterestRateStrategyAddress common.Address
	UsageAsCollateralEnabled    bool
	BorrowingEnabled            bool
	StableBorrowRateEnabled     bool
	IsActive                    bool
}, error)

GetReserveConfigurationData is a free data retrieval call binding the contract method 0x3e150141.

Solidity: function getReserveConfigurationData(address _reserve) view returns(uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, address interestRateStrategyAddress, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive)

func (*V1LendingPoolSession) GetReserveData

func (_V1LendingPool *V1LendingPoolSession) GetReserveData(_reserve common.Address) (struct {
	TotalLiquidity          *big.Int
	AvailableLiquidity      *big.Int
	TotalBorrowsStable      *big.Int
	TotalBorrowsVariable    *big.Int
	LiquidityRate           *big.Int
	VariableBorrowRate      *big.Int
	StableBorrowRate        *big.Int
	AverageStableBorrowRate *big.Int
	UtilizationRate         *big.Int
	LiquidityIndex          *big.Int
	VariableBorrowIndex     *big.Int
	ATokenAddress           common.Address
	LastUpdateTimestamp     *big.Int
}, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address _reserve) view returns(uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, address aTokenAddress, uint40 lastUpdateTimestamp)

func (*V1LendingPoolSession) GetReserves

func (_V1LendingPool *V1LendingPoolSession) GetReserves() ([]common.Address, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(address[])

func (*V1LendingPoolSession) GetUserAccountData

func (_V1LendingPool *V1LendingPoolSession) GetUserAccountData(_user common.Address) (struct {
	TotalLiquidityETH           *big.Int
	TotalCollateralETH          *big.Int
	TotalBorrowsETH             *big.Int
	TotalFeesETH                *big.Int
	AvailableBorrowsETH         *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address _user) view returns(uint256 totalLiquidityETH, uint256 totalCollateralETH, uint256 totalBorrowsETH, uint256 totalFeesETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V1LendingPoolSession) GetUserReserveData

func (_V1LendingPool *V1LendingPoolSession) GetUserReserveData(_reserve common.Address, _user common.Address) (struct {
	CurrentATokenBalance     *big.Int
	CurrentBorrowBalance     *big.Int
	PrincipalBorrowBalance   *big.Int
	BorrowRateMode           *big.Int
	BorrowRate               *big.Int
	LiquidityRate            *big.Int
	OriginationFee           *big.Int
	VariableBorrowIndex      *big.Int
	LastUpdateTimestamp      *big.Int
	UsageAsCollateralEnabled bool
}, error)

GetUserReserveData is a free data retrieval call binding the contract method 0x28dd2d01.

Solidity: function getUserReserveData(address _reserve, address _user) view returns(uint256 currentATokenBalance, uint256 currentBorrowBalance, uint256 principalBorrowBalance, uint256 borrowRateMode, uint256 borrowRate, uint256 liquidityRate, uint256 originationFee, uint256 variableBorrowIndex, uint256 lastUpdateTimestamp, bool usageAsCollateralEnabled)

func (*V1LendingPoolSession) Initialize

func (_V1LendingPool *V1LendingPoolSession) Initialize(_addressesProvider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _addressesProvider) returns()

func (*V1LendingPoolSession) LENDINGPOOLREVISION

func (_V1LendingPool *V1LendingPoolSession) LENDINGPOOLREVISION() (*big.Int, error)

LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.

Solidity: function LENDINGPOOL_REVISION() view returns(uint256)

func (*V1LendingPoolSession) LiquidationCall

func (_V1LendingPool *V1LendingPoolSession) LiquidationCall(_collateral common.Address, _reserve common.Address, _user common.Address, _purchaseAmount *big.Int, _receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address _collateral, address _reserve, address _user, uint256 _purchaseAmount, bool _receiveAToken) payable returns()

func (*V1LendingPoolSession) ParametersProvider

func (_V1LendingPool *V1LendingPoolSession) ParametersProvider() (common.Address, error)

ParametersProvider is a free data retrieval call binding the contract method 0x58707e06.

Solidity: function parametersProvider() view returns(address)

func (*V1LendingPoolSession) RebalanceStableBorrowRate

func (_V1LendingPool *V1LendingPoolSession) RebalanceStableBorrowRate(_reserve common.Address, _user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address _reserve, address _user) returns()

func (*V1LendingPoolSession) RedeemUnderlying

func (_V1LendingPool *V1LendingPoolSession) RedeemUnderlying(_reserve common.Address, _user common.Address, _amount *big.Int, _aTokenBalanceAfterRedeem *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x9895e3d8.

Solidity: function redeemUnderlying(address _reserve, address _user, uint256 _amount, uint256 _aTokenBalanceAfterRedeem) returns()

func (*V1LendingPoolSession) Repay

func (_V1LendingPool *V1LendingPoolSession) Repay(_reserve common.Address, _amount *big.Int, _onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x5ceae9c4.

Solidity: function repay(address _reserve, uint256 _amount, address _onBehalfOf) payable returns()

func (*V1LendingPoolSession) SetUserUseReserveAsCollateral

func (_V1LendingPool *V1LendingPoolSession) SetUserUseReserveAsCollateral(_reserve common.Address, _useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address _reserve, bool _useAsCollateral) returns()

func (*V1LendingPoolSession) SwapBorrowRateMode

func (_V1LendingPool *V1LendingPoolSession) SwapBorrowRateMode(_reserve common.Address) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x48ca1300.

Solidity: function swapBorrowRateMode(address _reserve) returns()

func (*V1LendingPoolSession) UINTMAXVALUE

func (_V1LendingPool *V1LendingPoolSession) UINTMAXVALUE() (*big.Int, error)

UINTMAXVALUE is a free data retrieval call binding the contract method 0xd0fc81d2.

Solidity: function UINT_MAX_VALUE() view returns(uint256)

type V1LendingPoolSwap

type V1LendingPoolSwap struct {
	Reserve               common.Address
	User                  common.Address
	NewRateMode           *big.Int
	NewRate               *big.Int
	BorrowBalanceIncrease *big.Int
	Timestamp             *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

V1LendingPoolSwap represents a Swap event raised by the V1LendingPool contract.

type V1LendingPoolSwapIterator

type V1LendingPoolSwapIterator struct {
	Event *V1LendingPoolSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1LendingPoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the V1LendingPool contract.

func (*V1LendingPoolSwapIterator) Close

func (it *V1LendingPoolSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1LendingPoolSwapIterator) Error

func (it *V1LendingPoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1LendingPoolSwapIterator) Next

func (it *V1LendingPoolSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1LendingPoolTransactor

type V1LendingPoolTransactor struct {
	// contains filtered or unexported fields
}

V1LendingPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewV1LendingPoolTransactor

func NewV1LendingPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*V1LendingPoolTransactor, error)

NewV1LendingPoolTransactor creates a new write-only instance of V1LendingPool, bound to a specific deployed contract.

func (*V1LendingPoolTransactor) Borrow

func (_V1LendingPool *V1LendingPoolTransactor) Borrow(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, _interestRateMode *big.Int, _referralCode uint16) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xc858f5f9.

Solidity: function borrow(address _reserve, uint256 _amount, uint256 _interestRateMode, uint16 _referralCode) returns()

func (*V1LendingPoolTransactor) Deposit

func (_V1LendingPool *V1LendingPoolTransactor) Deposit(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, _referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd2d0e066.

Solidity: function deposit(address _reserve, uint256 _amount, uint16 _referralCode) payable returns()

func (*V1LendingPoolTransactor) FlashLoan

func (_V1LendingPool *V1LendingPoolTransactor) FlashLoan(opts *bind.TransactOpts, _receiver common.Address, _reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address _receiver, address _reserve, uint256 _amount, bytes _params) returns()

func (*V1LendingPoolTransactor) Initialize

func (_V1LendingPool *V1LendingPoolTransactor) Initialize(opts *bind.TransactOpts, _addressesProvider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _addressesProvider) returns()

func (*V1LendingPoolTransactor) LiquidationCall

func (_V1LendingPool *V1LendingPoolTransactor) LiquidationCall(opts *bind.TransactOpts, _collateral common.Address, _reserve common.Address, _user common.Address, _purchaseAmount *big.Int, _receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address _collateral, address _reserve, address _user, uint256 _purchaseAmount, bool _receiveAToken) payable returns()

func (*V1LendingPoolTransactor) RebalanceStableBorrowRate

func (_V1LendingPool *V1LendingPoolTransactor) RebalanceStableBorrowRate(opts *bind.TransactOpts, _reserve common.Address, _user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address _reserve, address _user) returns()

func (*V1LendingPoolTransactor) RedeemUnderlying

func (_V1LendingPool *V1LendingPoolTransactor) RedeemUnderlying(opts *bind.TransactOpts, _reserve common.Address, _user common.Address, _amount *big.Int, _aTokenBalanceAfterRedeem *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x9895e3d8.

Solidity: function redeemUnderlying(address _reserve, address _user, uint256 _amount, uint256 _aTokenBalanceAfterRedeem) returns()

func (*V1LendingPoolTransactor) Repay

func (_V1LendingPool *V1LendingPoolTransactor) Repay(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, _onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x5ceae9c4.

Solidity: function repay(address _reserve, uint256 _amount, address _onBehalfOf) payable returns()

func (*V1LendingPoolTransactor) SetUserUseReserveAsCollateral

func (_V1LendingPool *V1LendingPoolTransactor) SetUserUseReserveAsCollateral(opts *bind.TransactOpts, _reserve common.Address, _useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address _reserve, bool _useAsCollateral) returns()

func (*V1LendingPoolTransactor) SwapBorrowRateMode

func (_V1LendingPool *V1LendingPoolTransactor) SwapBorrowRateMode(opts *bind.TransactOpts, _reserve common.Address) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x48ca1300.

Solidity: function swapBorrowRateMode(address _reserve) returns()

type V1LendingPoolTransactorRaw

type V1LendingPoolTransactorRaw struct {
	Contract *V1LendingPoolTransactor // Generic write-only contract binding to access the raw methods on
}

V1LendingPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*V1LendingPoolTransactorRaw) Transact

func (_V1LendingPool *V1LendingPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V1LendingPoolTransactorRaw) Transfer

func (_V1LendingPool *V1LendingPoolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V1LendingPoolTransactorSession

type V1LendingPoolTransactorSession struct {
	Contract     *V1LendingPoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

V1LendingPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*V1LendingPoolTransactorSession) Borrow

func (_V1LendingPool *V1LendingPoolTransactorSession) Borrow(_reserve common.Address, _amount *big.Int, _interestRateMode *big.Int, _referralCode uint16) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xc858f5f9.

Solidity: function borrow(address _reserve, uint256 _amount, uint256 _interestRateMode, uint16 _referralCode) returns()

func (*V1LendingPoolTransactorSession) Deposit

func (_V1LendingPool *V1LendingPoolTransactorSession) Deposit(_reserve common.Address, _amount *big.Int, _referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd2d0e066.

Solidity: function deposit(address _reserve, uint256 _amount, uint16 _referralCode) payable returns()

func (*V1LendingPoolTransactorSession) FlashLoan

func (_V1LendingPool *V1LendingPoolTransactorSession) FlashLoan(_receiver common.Address, _reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address _receiver, address _reserve, uint256 _amount, bytes _params) returns()

func (*V1LendingPoolTransactorSession) Initialize

func (_V1LendingPool *V1LendingPoolTransactorSession) Initialize(_addressesProvider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _addressesProvider) returns()

func (*V1LendingPoolTransactorSession) LiquidationCall

func (_V1LendingPool *V1LendingPoolTransactorSession) LiquidationCall(_collateral common.Address, _reserve common.Address, _user common.Address, _purchaseAmount *big.Int, _receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address _collateral, address _reserve, address _user, uint256 _purchaseAmount, bool _receiveAToken) payable returns()

func (*V1LendingPoolTransactorSession) RebalanceStableBorrowRate

func (_V1LendingPool *V1LendingPoolTransactorSession) RebalanceStableBorrowRate(_reserve common.Address, _user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address _reserve, address _user) returns()

func (*V1LendingPoolTransactorSession) RedeemUnderlying

func (_V1LendingPool *V1LendingPoolTransactorSession) RedeemUnderlying(_reserve common.Address, _user common.Address, _amount *big.Int, _aTokenBalanceAfterRedeem *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x9895e3d8.

Solidity: function redeemUnderlying(address _reserve, address _user, uint256 _amount, uint256 _aTokenBalanceAfterRedeem) returns()

func (*V1LendingPoolTransactorSession) Repay

func (_V1LendingPool *V1LendingPoolTransactorSession) Repay(_reserve common.Address, _amount *big.Int, _onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x5ceae9c4.

Solidity: function repay(address _reserve, uint256 _amount, address _onBehalfOf) payable returns()

func (*V1LendingPoolTransactorSession) SetUserUseReserveAsCollateral

func (_V1LendingPool *V1LendingPoolTransactorSession) SetUserUseReserveAsCollateral(_reserve common.Address, _useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address _reserve, bool _useAsCollateral) returns()

func (*V1LendingPoolTransactorSession) SwapBorrowRateMode

func (_V1LendingPool *V1LendingPoolTransactorSession) SwapBorrowRateMode(_reserve common.Address) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x48ca1300.

Solidity: function swapBorrowRateMode(address _reserve) returns()

type V2DataTypesReserveConfigurationMap

type V2DataTypesReserveConfigurationMap struct {
	Data *big.Int
}

V2DataTypesReserveConfigurationMap is an auto generated low-level Go binding around an user-defined struct.

type V2DataTypesReserveData

type V2DataTypesReserveData struct {
	Configuration               V2DataTypesReserveConfigurationMap
	LiquidityIndex              *big.Int
	VariableBorrowIndex         *big.Int
	CurrentLiquidityRate        *big.Int
	CurrentVariableBorrowRate   *big.Int
	CurrentStableBorrowRate     *big.Int
	LastUpdateTimestamp         *big.Int
	ATokenAddress               common.Address
	StableDebtTokenAddress      common.Address
	VariableDebtTokenAddress    common.Address
	InterestRateStrategyAddress common.Address
	Id                          uint8
}

V2DataTypesReserveData is an auto generated low-level Go binding around an user-defined struct.

type V2DataTypesUserConfigurationMap

type V2DataTypesUserConfigurationMap struct {
	Data *big.Int
}

V2DataTypesUserConfigurationMap is an auto generated low-level Go binding around an user-defined struct.

type V2LendingPool

type V2LendingPool struct {
	V2LendingPoolCaller     // Read-only binding to the contract
	V2LendingPoolTransactor // Write-only binding to the contract
	V2LendingPoolFilterer   // Log filterer for contract events
}

V2LendingPool is an auto generated Go binding around an Ethereum contract.

func NewV2LendingPool

func NewV2LendingPool(address common.Address, backend bind.ContractBackend) (*V2LendingPool, error)

NewV2LendingPool creates a new instance of V2LendingPool, bound to a specific deployed contract.

type V2LendingPoolBorrow

type V2LendingPoolBorrow struct {
	Reserve        common.Address
	User           common.Address
	OnBehalfOf     common.Address
	Amount         *big.Int
	BorrowRateMode *big.Int
	BorrowRate     *big.Int
	Referral       uint16
	Raw            types.Log // Blockchain specific contextual infos
}

V2LendingPoolBorrow represents a Borrow event raised by the V2LendingPool contract.

type V2LendingPoolBorrowIterator

type V2LendingPoolBorrowIterator struct {
	Event *V2LendingPoolBorrow // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the V2LendingPool contract.

func (*V2LendingPoolBorrowIterator) Close

func (it *V2LendingPoolBorrowIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolBorrowIterator) Error

func (it *V2LendingPoolBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolBorrowIterator) Next

func (it *V2LendingPoolBorrowIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolCaller

type V2LendingPoolCaller struct {
	// contains filtered or unexported fields
}

V2LendingPoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewV2LendingPoolCaller

func NewV2LendingPoolCaller(address common.Address, caller bind.ContractCaller) (*V2LendingPoolCaller, error)

NewV2LendingPoolCaller creates a new read-only instance of V2LendingPool, bound to a specific deployed contract.

func (*V2LendingPoolCaller) FLASHLOANPREMIUMTOTAL

func (_V2LendingPool *V2LendingPoolCaller) FLASHLOANPREMIUMTOTAL(opts *bind.CallOpts) (*big.Int, error)

FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.

Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)

func (*V2LendingPoolCaller) GetAddressesProvider

func (_V2LendingPool *V2LendingPoolCaller) GetAddressesProvider(opts *bind.CallOpts) (common.Address, error)

GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.

Solidity: function getAddressesProvider() view returns(address)

func (*V2LendingPoolCaller) GetConfiguration

func (_V2LendingPool *V2LendingPoolCaller) GetConfiguration(opts *bind.CallOpts, asset common.Address) (V2DataTypesReserveConfigurationMap, error)

GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.

Solidity: function getConfiguration(address asset) view returns((uint256))

func (*V2LendingPoolCaller) GetReserveData

func (_V2LendingPool *V2LendingPoolCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (V2DataTypesReserveData, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint8))

func (*V2LendingPoolCaller) GetReserveNormalizedIncome

func (_V2LendingPool *V2LendingPoolCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.

Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)

func (*V2LendingPoolCaller) GetReserveNormalizedVariableDebt

func (_V2LendingPool *V2LendingPoolCaller) GetReserveNormalizedVariableDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.

Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)

func (*V2LendingPoolCaller) GetReservesList

func (_V2LendingPool *V2LendingPoolCaller) GetReservesList(opts *bind.CallOpts) ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.

Solidity: function getReservesList() view returns(address[])

func (*V2LendingPoolCaller) GetUserAccountData

func (_V2LendingPool *V2LendingPoolCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct {
	TotalCollateralETH          *big.Int
	TotalDebtETH                *big.Int
	AvailableBorrowsETH         *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralETH, uint256 totalDebtETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V2LendingPoolCaller) GetUserConfiguration

func (_V2LendingPool *V2LendingPoolCaller) GetUserConfiguration(opts *bind.CallOpts, user common.Address) (V2DataTypesUserConfigurationMap, error)

GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.

Solidity: function getUserConfiguration(address user) view returns((uint256))

func (*V2LendingPoolCaller) LENDINGPOOLREVISION

func (_V2LendingPool *V2LendingPoolCaller) LENDINGPOOLREVISION(opts *bind.CallOpts) (*big.Int, error)

LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.

Solidity: function LENDINGPOOL_REVISION() view returns(uint256)

func (*V2LendingPoolCaller) MAXNUMBERRESERVES

func (_V2LendingPool *V2LendingPoolCaller) MAXNUMBERRESERVES(opts *bind.CallOpts) (*big.Int, error)

MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.

Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)

func (*V2LendingPoolCaller) MAXSTABLERATEBORROWSIZEPERCENT

func (_V2LendingPool *V2LendingPoolCaller) MAXSTABLERATEBORROWSIZEPERCENT(opts *bind.CallOpts) (*big.Int, error)

MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.

Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)

func (*V2LendingPoolCaller) Paused

func (_V2LendingPool *V2LendingPoolCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type V2LendingPoolCallerRaw

type V2LendingPoolCallerRaw struct {
	Contract *V2LendingPoolCaller // Generic read-only contract binding to access the raw methods on
}

V2LendingPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*V2LendingPoolCallerRaw) Call

func (_V2LendingPool *V2LendingPoolCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type V2LendingPoolCallerSession

type V2LendingPoolCallerSession struct {
	Contract *V2LendingPoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

V2LendingPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*V2LendingPoolCallerSession) FLASHLOANPREMIUMTOTAL

func (_V2LendingPool *V2LendingPoolCallerSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)

FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.

Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)

func (*V2LendingPoolCallerSession) GetAddressesProvider

func (_V2LendingPool *V2LendingPoolCallerSession) GetAddressesProvider() (common.Address, error)

GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.

Solidity: function getAddressesProvider() view returns(address)

func (*V2LendingPoolCallerSession) GetConfiguration

func (_V2LendingPool *V2LendingPoolCallerSession) GetConfiguration(asset common.Address) (V2DataTypesReserveConfigurationMap, error)

GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.

Solidity: function getConfiguration(address asset) view returns((uint256))

func (*V2LendingPoolCallerSession) GetReserveData

func (_V2LendingPool *V2LendingPoolCallerSession) GetReserveData(asset common.Address) (V2DataTypesReserveData, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint8))

func (*V2LendingPoolCallerSession) GetReserveNormalizedIncome

func (_V2LendingPool *V2LendingPoolCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)

GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.

Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)

func (*V2LendingPoolCallerSession) GetReserveNormalizedVariableDebt

func (_V2LendingPool *V2LendingPoolCallerSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)

GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.

Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)

func (*V2LendingPoolCallerSession) GetReservesList

func (_V2LendingPool *V2LendingPoolCallerSession) GetReservesList() ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.

Solidity: function getReservesList() view returns(address[])

func (*V2LendingPoolCallerSession) GetUserAccountData

func (_V2LendingPool *V2LendingPoolCallerSession) GetUserAccountData(user common.Address) (struct {
	TotalCollateralETH          *big.Int
	TotalDebtETH                *big.Int
	AvailableBorrowsETH         *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralETH, uint256 totalDebtETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V2LendingPoolCallerSession) GetUserConfiguration

func (_V2LendingPool *V2LendingPoolCallerSession) GetUserConfiguration(user common.Address) (V2DataTypesUserConfigurationMap, error)

GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.

Solidity: function getUserConfiguration(address user) view returns((uint256))

func (*V2LendingPoolCallerSession) LENDINGPOOLREVISION

func (_V2LendingPool *V2LendingPoolCallerSession) LENDINGPOOLREVISION() (*big.Int, error)

LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.

Solidity: function LENDINGPOOL_REVISION() view returns(uint256)

func (*V2LendingPoolCallerSession) MAXNUMBERRESERVES

func (_V2LendingPool *V2LendingPoolCallerSession) MAXNUMBERRESERVES() (*big.Int, error)

MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.

Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)

func (*V2LendingPoolCallerSession) MAXSTABLERATEBORROWSIZEPERCENT

func (_V2LendingPool *V2LendingPoolCallerSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)

MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.

Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)

func (*V2LendingPoolCallerSession) Paused

func (_V2LendingPool *V2LendingPoolCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type V2LendingPoolDeposit

type V2LendingPoolDeposit struct {
	Reserve    common.Address
	User       common.Address
	OnBehalfOf common.Address
	Amount     *big.Int
	Referral   uint16
	Raw        types.Log // Blockchain specific contextual infos
}

V2LendingPoolDeposit represents a Deposit event raised by the V2LendingPool contract.

type V2LendingPoolDepositIterator

type V2LendingPoolDepositIterator struct {
	Event *V2LendingPoolDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the V2LendingPool contract.

func (*V2LendingPoolDepositIterator) Close

func (it *V2LendingPoolDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolDepositIterator) Error

func (it *V2LendingPoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolDepositIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolFilterer

type V2LendingPoolFilterer struct {
	// contains filtered or unexported fields
}

V2LendingPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewV2LendingPoolFilterer

func NewV2LendingPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*V2LendingPoolFilterer, error)

NewV2LendingPoolFilterer creates a new log filterer instance of V2LendingPool, bound to a specific deployed contract.

func (*V2LendingPoolFilterer) FilterBorrow

func (_V2LendingPool *V2LendingPoolFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*V2LendingPoolBorrowIterator, error)

FilterBorrow is a free log retrieval operation binding the contract event 0xc6a898309e823ee50bac64e45ca8adba6690e99e7841c45d754e2a38e9019d9b.

Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint256 borrowRateMode, uint256 borrowRate, uint16 indexed referral)

func (*V2LendingPoolFilterer) FilterDeposit

func (_V2LendingPool *V2LendingPoolFilterer) FilterDeposit(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*V2LendingPoolDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xde6857219544bb5b7746f48ed30be6386fefc61b2f864cacf559893bf50fd951.

Solidity: event Deposit(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referral)

func (*V2LendingPoolFilterer) FilterFlashLoan

func (_V2LendingPool *V2LendingPoolFilterer) FilterFlashLoan(opts *bind.FilterOpts, target []common.Address, initiator []common.Address, asset []common.Address) (*V2LendingPoolFlashLoanIterator, error)

FilterFlashLoan is a free log retrieval operation binding the contract event 0x631042c832b07452973831137f2d73e395028b44b250dedc5abb0ee766e168ac.

Solidity: event FlashLoan(address indexed target, address indexed initiator, address indexed asset, uint256 amount, uint256 premium, uint16 referralCode)

func (*V2LendingPoolFilterer) FilterLiquidationCall

func (_V2LendingPool *V2LendingPoolFilterer) FilterLiquidationCall(opts *bind.FilterOpts, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (*V2LendingPoolLiquidationCallIterator, error)

FilterLiquidationCall is a free log retrieval operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.

Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)

func (*V2LendingPoolFilterer) FilterPaused

func (_V2LendingPool *V2LendingPoolFilterer) FilterPaused(opts *bind.FilterOpts) (*V2LendingPoolPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.

Solidity: event Paused()

func (*V2LendingPoolFilterer) FilterRebalanceStableBorrowRate

func (_V2LendingPool *V2LendingPoolFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V2LendingPoolRebalanceStableBorrowRateIterator, error)

FilterRebalanceStableBorrowRate is a free log retrieval operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.

Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) FilterRepay

func (_V2LendingPool *V2LendingPoolFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, repayer []common.Address) (*V2LendingPoolRepayIterator, error)

FilterRepay is a free log retrieval operation binding the contract event 0x4cdde6e09bb755c9a5589ebaec640bbfedff1362d4b255ebf8339782b9942faa.

Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount)

func (*V2LendingPoolFilterer) FilterReserveDataUpdated

func (_V2LendingPool *V2LendingPoolFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*V2LendingPoolReserveDataUpdatedIterator, error)

FilterReserveDataUpdated is a free log retrieval operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.

Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)

func (*V2LendingPoolFilterer) FilterReserveUsedAsCollateralDisabled

func (_V2LendingPool *V2LendingPoolFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V2LendingPoolReserveUsedAsCollateralDisabledIterator, error)

FilterReserveUsedAsCollateralDisabled is a free log retrieval operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) FilterReserveUsedAsCollateralEnabled

func (_V2LendingPool *V2LendingPoolFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V2LendingPoolReserveUsedAsCollateralEnabledIterator, error)

FilterReserveUsedAsCollateralEnabled is a free log retrieval operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) FilterSwap

func (_V2LendingPool *V2LendingPoolFilterer) FilterSwap(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V2LendingPoolSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.

Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)

func (*V2LendingPoolFilterer) FilterUnpaused

func (_V2LendingPool *V2LendingPoolFilterer) FilterUnpaused(opts *bind.FilterOpts) (*V2LendingPoolUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.

Solidity: event Unpaused()

func (*V2LendingPoolFilterer) FilterWithdraw

func (_V2LendingPool *V2LendingPoolFilterer) FilterWithdraw(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, to []common.Address) (*V2LendingPoolWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.

Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)

func (*V2LendingPoolFilterer) ParseBorrow

func (_V2LendingPool *V2LendingPoolFilterer) ParseBorrow(log types.Log) (*V2LendingPoolBorrow, error)

ParseBorrow is a log parse operation binding the contract event 0xc6a898309e823ee50bac64e45ca8adba6690e99e7841c45d754e2a38e9019d9b.

Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint256 borrowRateMode, uint256 borrowRate, uint16 indexed referral)

func (*V2LendingPoolFilterer) ParseDeposit

func (_V2LendingPool *V2LendingPoolFilterer) ParseDeposit(log types.Log) (*V2LendingPoolDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xde6857219544bb5b7746f48ed30be6386fefc61b2f864cacf559893bf50fd951.

Solidity: event Deposit(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referral)

func (*V2LendingPoolFilterer) ParseFlashLoan

func (_V2LendingPool *V2LendingPoolFilterer) ParseFlashLoan(log types.Log) (*V2LendingPoolFlashLoan, error)

ParseFlashLoan is a log parse operation binding the contract event 0x631042c832b07452973831137f2d73e395028b44b250dedc5abb0ee766e168ac.

Solidity: event FlashLoan(address indexed target, address indexed initiator, address indexed asset, uint256 amount, uint256 premium, uint16 referralCode)

func (*V2LendingPoolFilterer) ParseLiquidationCall

func (_V2LendingPool *V2LendingPoolFilterer) ParseLiquidationCall(log types.Log) (*V2LendingPoolLiquidationCall, error)

ParseLiquidationCall is a log parse operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.

Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)

func (*V2LendingPoolFilterer) ParsePaused

func (_V2LendingPool *V2LendingPoolFilterer) ParsePaused(log types.Log) (*V2LendingPoolPaused, error)

ParsePaused is a log parse operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.

Solidity: event Paused()

func (*V2LendingPoolFilterer) ParseRebalanceStableBorrowRate

func (_V2LendingPool *V2LendingPoolFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*V2LendingPoolRebalanceStableBorrowRate, error)

ParseRebalanceStableBorrowRate is a log parse operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.

Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) ParseRepay

func (_V2LendingPool *V2LendingPoolFilterer) ParseRepay(log types.Log) (*V2LendingPoolRepay, error)

ParseRepay is a log parse operation binding the contract event 0x4cdde6e09bb755c9a5589ebaec640bbfedff1362d4b255ebf8339782b9942faa.

Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount)

func (*V2LendingPoolFilterer) ParseReserveDataUpdated

func (_V2LendingPool *V2LendingPoolFilterer) ParseReserveDataUpdated(log types.Log) (*V2LendingPoolReserveDataUpdated, error)

ParseReserveDataUpdated is a log parse operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.

Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)

func (*V2LendingPoolFilterer) ParseReserveUsedAsCollateralDisabled

func (_V2LendingPool *V2LendingPoolFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*V2LendingPoolReserveUsedAsCollateralDisabled, error)

ParseReserveUsedAsCollateralDisabled is a log parse operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) ParseReserveUsedAsCollateralEnabled

func (_V2LendingPool *V2LendingPoolFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*V2LendingPoolReserveUsedAsCollateralEnabled, error)

ParseReserveUsedAsCollateralEnabled is a log parse operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) ParseSwap

func (_V2LendingPool *V2LendingPoolFilterer) ParseSwap(log types.Log) (*V2LendingPoolSwap, error)

ParseSwap is a log parse operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.

Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)

func (*V2LendingPoolFilterer) ParseUnpaused

func (_V2LendingPool *V2LendingPoolFilterer) ParseUnpaused(log types.Log) (*V2LendingPoolUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.

Solidity: event Unpaused()

func (*V2LendingPoolFilterer) ParseWithdraw

func (_V2LendingPool *V2LendingPoolFilterer) ParseWithdraw(log types.Log) (*V2LendingPoolWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.

Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)

func (*V2LendingPoolFilterer) WatchBorrow

func (_V2LendingPool *V2LendingPoolFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *V2LendingPoolBorrow, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (event.Subscription, error)

WatchBorrow is a free log subscription operation binding the contract event 0xc6a898309e823ee50bac64e45ca8adba6690e99e7841c45d754e2a38e9019d9b.

Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint256 borrowRateMode, uint256 borrowRate, uint16 indexed referral)

func (*V2LendingPoolFilterer) WatchDeposit

func (_V2LendingPool *V2LendingPoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *V2LendingPoolDeposit, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xde6857219544bb5b7746f48ed30be6386fefc61b2f864cacf559893bf50fd951.

Solidity: event Deposit(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referral)

func (*V2LendingPoolFilterer) WatchFlashLoan

func (_V2LendingPool *V2LendingPoolFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *V2LendingPoolFlashLoan, target []common.Address, initiator []common.Address, asset []common.Address) (event.Subscription, error)

WatchFlashLoan is a free log subscription operation binding the contract event 0x631042c832b07452973831137f2d73e395028b44b250dedc5abb0ee766e168ac.

Solidity: event FlashLoan(address indexed target, address indexed initiator, address indexed asset, uint256 amount, uint256 premium, uint16 referralCode)

func (*V2LendingPoolFilterer) WatchLiquidationCall

func (_V2LendingPool *V2LendingPoolFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *V2LendingPoolLiquidationCall, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (event.Subscription, error)

WatchLiquidationCall is a free log subscription operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.

Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)

func (*V2LendingPoolFilterer) WatchPaused

func (_V2LendingPool *V2LendingPoolFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *V2LendingPoolPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752.

Solidity: event Paused()

func (*V2LendingPoolFilterer) WatchRebalanceStableBorrowRate

func (_V2LendingPool *V2LendingPoolFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *V2LendingPoolRebalanceStableBorrowRate, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchRebalanceStableBorrowRate is a free log subscription operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.

Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) WatchRepay

func (_V2LendingPool *V2LendingPoolFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *V2LendingPoolRepay, reserve []common.Address, user []common.Address, repayer []common.Address) (event.Subscription, error)

WatchRepay is a free log subscription operation binding the contract event 0x4cdde6e09bb755c9a5589ebaec640bbfedff1362d4b255ebf8339782b9942faa.

Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount)

func (*V2LendingPoolFilterer) WatchReserveDataUpdated

func (_V2LendingPool *V2LendingPoolFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *V2LendingPoolReserveDataUpdated, reserve []common.Address) (event.Subscription, error)

WatchReserveDataUpdated is a free log subscription operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.

Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)

func (*V2LendingPoolFilterer) WatchReserveUsedAsCollateralDisabled

func (_V2LendingPool *V2LendingPoolFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *V2LendingPoolReserveUsedAsCollateralDisabled, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchReserveUsedAsCollateralDisabled is a free log subscription operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) WatchReserveUsedAsCollateralEnabled

func (_V2LendingPool *V2LendingPoolFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *V2LendingPoolReserveUsedAsCollateralEnabled, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchReserveUsedAsCollateralEnabled is a free log subscription operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)

func (*V2LendingPoolFilterer) WatchSwap

func (_V2LendingPool *V2LendingPoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *V2LendingPoolSwap, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca6.

Solidity: event Swap(address indexed reserve, address indexed user, uint256 rateMode)

func (*V2LendingPoolFilterer) WatchUnpaused

func (_V2LendingPool *V2LendingPoolFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *V2LendingPoolUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933.

Solidity: event Unpaused()

func (*V2LendingPoolFilterer) WatchWithdraw

func (_V2LendingPool *V2LendingPoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *V2LendingPoolWithdraw, reserve []common.Address, user []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.

Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)

type V2LendingPoolFlashLoan

type V2LendingPoolFlashLoan struct {
	Target       common.Address
	Initiator    common.Address
	Asset        common.Address
	Amount       *big.Int
	Premium      *big.Int
	ReferralCode uint16
	Raw          types.Log // Blockchain specific contextual infos
}

V2LendingPoolFlashLoan represents a FlashLoan event raised by the V2LendingPool contract.

type V2LendingPoolFlashLoanIterator

type V2LendingPoolFlashLoanIterator struct {
	Event *V2LendingPoolFlashLoan // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the V2LendingPool contract.

func (*V2LendingPoolFlashLoanIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolFlashLoanIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolFlashLoanIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolLiquidationCall

type V2LendingPoolLiquidationCall struct {
	CollateralAsset            common.Address
	DebtAsset                  common.Address
	User                       common.Address
	DebtToCover                *big.Int
	LiquidatedCollateralAmount *big.Int
	Liquidator                 common.Address
	ReceiveAToken              bool
	Raw                        types.Log // Blockchain specific contextual infos
}

V2LendingPoolLiquidationCall represents a LiquidationCall event raised by the V2LendingPool contract.

type V2LendingPoolLiquidationCallIterator

type V2LendingPoolLiquidationCallIterator struct {
	Event *V2LendingPoolLiquidationCall // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolLiquidationCallIterator is returned from FilterLiquidationCall and is used to iterate over the raw logs and unpacked data for LiquidationCall events raised by the V2LendingPool contract.

func (*V2LendingPoolLiquidationCallIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolLiquidationCallIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolLiquidationCallIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolPaused

type V2LendingPoolPaused struct {
	Raw types.Log // Blockchain specific contextual infos
}

V2LendingPoolPaused represents a Paused event raised by the V2LendingPool contract.

type V2LendingPoolPausedIterator

type V2LendingPoolPausedIterator struct {
	Event *V2LendingPoolPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the V2LendingPool contract.

func (*V2LendingPoolPausedIterator) Close

func (it *V2LendingPoolPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolPausedIterator) Error

func (it *V2LendingPoolPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolPausedIterator) Next

func (it *V2LendingPoolPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolRaw

type V2LendingPoolRaw struct {
	Contract *V2LendingPool // Generic contract binding to access the raw methods on
}

V2LendingPoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*V2LendingPoolRaw) Call

func (_V2LendingPool *V2LendingPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*V2LendingPoolRaw) Transact

func (_V2LendingPool *V2LendingPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V2LendingPoolRaw) Transfer

func (_V2LendingPool *V2LendingPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V2LendingPoolRebalanceStableBorrowRate

type V2LendingPoolRebalanceStableBorrowRate struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V2LendingPoolRebalanceStableBorrowRate represents a RebalanceStableBorrowRate event raised by the V2LendingPool contract.

type V2LendingPoolRebalanceStableBorrowRateIterator

type V2LendingPoolRebalanceStableBorrowRateIterator struct {
	Event *V2LendingPoolRebalanceStableBorrowRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolRebalanceStableBorrowRateIterator is returned from FilterRebalanceStableBorrowRate and is used to iterate over the raw logs and unpacked data for RebalanceStableBorrowRate events raised by the V2LendingPool contract.

func (*V2LendingPoolRebalanceStableBorrowRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolRebalanceStableBorrowRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolRebalanceStableBorrowRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolRepay

type V2LendingPoolRepay struct {
	Reserve common.Address
	User    common.Address
	Repayer common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

V2LendingPoolRepay represents a Repay event raised by the V2LendingPool contract.

type V2LendingPoolRepayIterator

type V2LendingPoolRepayIterator struct {
	Event *V2LendingPoolRepay // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolRepayIterator is returned from FilterRepay and is used to iterate over the raw logs and unpacked data for Repay events raised by the V2LendingPool contract.

func (*V2LendingPoolRepayIterator) Close

func (it *V2LendingPoolRepayIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolRepayIterator) Error

func (it *V2LendingPoolRepayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolRepayIterator) Next

func (it *V2LendingPoolRepayIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolReserveDataUpdated

type V2LendingPoolReserveDataUpdated struct {
	Reserve             common.Address
	LiquidityRate       *big.Int
	StableBorrowRate    *big.Int
	VariableBorrowRate  *big.Int
	LiquidityIndex      *big.Int
	VariableBorrowIndex *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

V2LendingPoolReserveDataUpdated represents a ReserveDataUpdated event raised by the V2LendingPool contract.

type V2LendingPoolReserveDataUpdatedIterator

type V2LendingPoolReserveDataUpdatedIterator struct {
	Event *V2LendingPoolReserveDataUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolReserveDataUpdatedIterator is returned from FilterReserveDataUpdated and is used to iterate over the raw logs and unpacked data for ReserveDataUpdated events raised by the V2LendingPool contract.

func (*V2LendingPoolReserveDataUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolReserveDataUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolReserveDataUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolReserveUsedAsCollateralDisabled

type V2LendingPoolReserveUsedAsCollateralDisabled struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V2LendingPoolReserveUsedAsCollateralDisabled represents a ReserveUsedAsCollateralDisabled event raised by the V2LendingPool contract.

type V2LendingPoolReserveUsedAsCollateralDisabledIterator

type V2LendingPoolReserveUsedAsCollateralDisabledIterator struct {
	Event *V2LendingPoolReserveUsedAsCollateralDisabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolReserveUsedAsCollateralDisabledIterator is returned from FilterReserveUsedAsCollateralDisabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralDisabled events raised by the V2LendingPool contract.

func (*V2LendingPoolReserveUsedAsCollateralDisabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolReserveUsedAsCollateralDisabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolReserveUsedAsCollateralDisabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolReserveUsedAsCollateralEnabled

type V2LendingPoolReserveUsedAsCollateralEnabled struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V2LendingPoolReserveUsedAsCollateralEnabled represents a ReserveUsedAsCollateralEnabled event raised by the V2LendingPool contract.

type V2LendingPoolReserveUsedAsCollateralEnabledIterator

type V2LendingPoolReserveUsedAsCollateralEnabledIterator struct {
	Event *V2LendingPoolReserveUsedAsCollateralEnabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolReserveUsedAsCollateralEnabledIterator is returned from FilterReserveUsedAsCollateralEnabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralEnabled events raised by the V2LendingPool contract.

func (*V2LendingPoolReserveUsedAsCollateralEnabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolReserveUsedAsCollateralEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolReserveUsedAsCollateralEnabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolSession

type V2LendingPoolSession struct {
	Contract     *V2LendingPool    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

V2LendingPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*V2LendingPoolSession) Borrow

func (_V2LendingPool *V2LendingPoolSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xa415bcad.

Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()

func (*V2LendingPoolSession) Deposit

func (_V2LendingPool *V2LendingPoolSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.

Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V2LendingPoolSession) FLASHLOANPREMIUMTOTAL

func (_V2LendingPool *V2LendingPoolSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)

FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.

Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint256)

func (*V2LendingPoolSession) FinalizeTransfer

func (_V2LendingPool *V2LendingPoolSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)

FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.

Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()

func (*V2LendingPoolSession) FlashLoan

func (_V2LendingPool *V2LendingPoolSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, modes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.

Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] modes, address onBehalfOf, bytes params, uint16 referralCode) returns()

func (*V2LendingPoolSession) GetAddressesProvider

func (_V2LendingPool *V2LendingPoolSession) GetAddressesProvider() (common.Address, error)

GetAddressesProvider is a free data retrieval call binding the contract method 0xfe65acfe.

Solidity: function getAddressesProvider() view returns(address)

func (*V2LendingPoolSession) GetConfiguration

func (_V2LendingPool *V2LendingPoolSession) GetConfiguration(asset common.Address) (V2DataTypesReserveConfigurationMap, error)

GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.

Solidity: function getConfiguration(address asset) view returns((uint256))

func (*V2LendingPoolSession) GetReserveData

func (_V2LendingPool *V2LendingPoolSession) GetReserveData(asset common.Address) (V2DataTypesReserveData, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,address,address,address,address,uint8))

func (*V2LendingPoolSession) GetReserveNormalizedIncome

func (_V2LendingPool *V2LendingPoolSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)

GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.

Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)

func (*V2LendingPoolSession) GetReserveNormalizedVariableDebt

func (_V2LendingPool *V2LendingPoolSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)

GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.

Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)

func (*V2LendingPoolSession) GetReservesList

func (_V2LendingPool *V2LendingPoolSession) GetReservesList() ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.

Solidity: function getReservesList() view returns(address[])

func (*V2LendingPoolSession) GetUserAccountData

func (_V2LendingPool *V2LendingPoolSession) GetUserAccountData(user common.Address) (struct {
	TotalCollateralETH          *big.Int
	TotalDebtETH                *big.Int
	AvailableBorrowsETH         *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralETH, uint256 totalDebtETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V2LendingPoolSession) GetUserConfiguration

func (_V2LendingPool *V2LendingPoolSession) GetUserConfiguration(user common.Address) (V2DataTypesUserConfigurationMap, error)

GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.

Solidity: function getUserConfiguration(address user) view returns((uint256))

func (*V2LendingPoolSession) InitReserve

func (_V2LendingPool *V2LendingPoolSession) InitReserve(asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)

InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.

Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()

func (*V2LendingPoolSession) Initialize

func (_V2LendingPool *V2LendingPoolSession) Initialize(provider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address provider) returns()

func (*V2LendingPoolSession) LENDINGPOOLREVISION

func (_V2LendingPool *V2LendingPoolSession) LENDINGPOOLREVISION() (*big.Int, error)

LENDINGPOOLREVISION is a free data retrieval call binding the contract method 0x8afaff02.

Solidity: function LENDINGPOOL_REVISION() view returns(uint256)

func (*V2LendingPoolSession) LiquidationCall

func (_V2LendingPool *V2LendingPoolSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()

func (*V2LendingPoolSession) MAXNUMBERRESERVES

func (_V2LendingPool *V2LendingPoolSession) MAXNUMBERRESERVES() (*big.Int, error)

MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.

Solidity: function MAX_NUMBER_RESERVES() view returns(uint256)

func (*V2LendingPoolSession) MAXSTABLERATEBORROWSIZEPERCENT

func (_V2LendingPool *V2LendingPoolSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)

MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.

Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)

func (*V2LendingPoolSession) Paused

func (_V2LendingPool *V2LendingPoolSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*V2LendingPoolSession) RebalanceStableBorrowRate

func (_V2LendingPool *V2LendingPoolSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()

func (*V2LendingPoolSession) Repay

func (_V2LendingPool *V2LendingPoolSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x573ade81.

Solidity: function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns(uint256)

func (*V2LendingPoolSession) SetConfiguration

func (_V2LendingPool *V2LendingPoolSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0xb8d29276.

Solidity: function setConfiguration(address asset, uint256 configuration) returns()

func (*V2LendingPoolSession) SetPause

func (_V2LendingPool *V2LendingPoolSession) SetPause(val bool) (*types.Transaction, error)

SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.

Solidity: function setPause(bool val) returns()

func (*V2LendingPoolSession) SetReserveInterestRateStrategyAddress

func (_V2LendingPool *V2LendingPoolSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.

Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()

func (*V2LendingPoolSession) SetUserUseReserveAsCollateral

func (_V2LendingPool *V2LendingPoolSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()

func (*V2LendingPoolSession) SwapBorrowRateMode

func (_V2LendingPool *V2LendingPoolSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.

Solidity: function swapBorrowRateMode(address asset, uint256 rateMode) returns()

func (*V2LendingPoolSession) Withdraw

func (_V2LendingPool *V2LendingPoolSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)

type V2LendingPoolSwap

type V2LendingPoolSwap struct {
	Reserve  common.Address
	User     common.Address
	RateMode *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

V2LendingPoolSwap represents a Swap event raised by the V2LendingPool contract.

type V2LendingPoolSwapIterator

type V2LendingPoolSwapIterator struct {
	Event *V2LendingPoolSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the V2LendingPool contract.

func (*V2LendingPoolSwapIterator) Close

func (it *V2LendingPoolSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolSwapIterator) Error

func (it *V2LendingPoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolSwapIterator) Next

func (it *V2LendingPoolSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolTransactor

type V2LendingPoolTransactor struct {
	// contains filtered or unexported fields
}

V2LendingPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewV2LendingPoolTransactor

func NewV2LendingPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*V2LendingPoolTransactor, error)

NewV2LendingPoolTransactor creates a new write-only instance of V2LendingPool, bound to a specific deployed contract.

func (*V2LendingPoolTransactor) Borrow

func (_V2LendingPool *V2LendingPoolTransactor) Borrow(opts *bind.TransactOpts, asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xa415bcad.

Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()

func (*V2LendingPoolTransactor) Deposit

func (_V2LendingPool *V2LendingPoolTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.

Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V2LendingPoolTransactor) FinalizeTransfer

func (_V2LendingPool *V2LendingPoolTransactor) FinalizeTransfer(opts *bind.TransactOpts, asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)

FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.

Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()

func (*V2LendingPoolTransactor) FlashLoan

func (_V2LendingPool *V2LendingPoolTransactor) FlashLoan(opts *bind.TransactOpts, receiverAddress common.Address, assets []common.Address, amounts []*big.Int, modes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.

Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] modes, address onBehalfOf, bytes params, uint16 referralCode) returns()

func (*V2LendingPoolTransactor) InitReserve

func (_V2LendingPool *V2LendingPoolTransactor) InitReserve(opts *bind.TransactOpts, asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)

InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.

Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()

func (*V2LendingPoolTransactor) Initialize

func (_V2LendingPool *V2LendingPoolTransactor) Initialize(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address provider) returns()

func (*V2LendingPoolTransactor) LiquidationCall

func (_V2LendingPool *V2LendingPoolTransactor) LiquidationCall(opts *bind.TransactOpts, collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()

func (*V2LendingPoolTransactor) RebalanceStableBorrowRate

func (_V2LendingPool *V2LendingPoolTransactor) RebalanceStableBorrowRate(opts *bind.TransactOpts, asset common.Address, user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()

func (*V2LendingPoolTransactor) Repay

func (_V2LendingPool *V2LendingPoolTransactor) Repay(opts *bind.TransactOpts, asset common.Address, amount *big.Int, rateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x573ade81.

Solidity: function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns(uint256)

func (*V2LendingPoolTransactor) SetConfiguration

func (_V2LendingPool *V2LendingPoolTransactor) SetConfiguration(opts *bind.TransactOpts, asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0xb8d29276.

Solidity: function setConfiguration(address asset, uint256 configuration) returns()

func (*V2LendingPoolTransactor) SetPause

func (_V2LendingPool *V2LendingPoolTransactor) SetPause(opts *bind.TransactOpts, val bool) (*types.Transaction, error)

SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.

Solidity: function setPause(bool val) returns()

func (*V2LendingPoolTransactor) SetReserveInterestRateStrategyAddress

func (_V2LendingPool *V2LendingPoolTransactor) SetReserveInterestRateStrategyAddress(opts *bind.TransactOpts, asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.

Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()

func (*V2LendingPoolTransactor) SetUserUseReserveAsCollateral

func (_V2LendingPool *V2LendingPoolTransactor) SetUserUseReserveAsCollateral(opts *bind.TransactOpts, asset common.Address, useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()

func (*V2LendingPoolTransactor) SwapBorrowRateMode

func (_V2LendingPool *V2LendingPoolTransactor) SwapBorrowRateMode(opts *bind.TransactOpts, asset common.Address, rateMode *big.Int) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.

Solidity: function swapBorrowRateMode(address asset, uint256 rateMode) returns()

func (*V2LendingPoolTransactor) Withdraw

func (_V2LendingPool *V2LendingPoolTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)

type V2LendingPoolTransactorRaw

type V2LendingPoolTransactorRaw struct {
	Contract *V2LendingPoolTransactor // Generic write-only contract binding to access the raw methods on
}

V2LendingPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*V2LendingPoolTransactorRaw) Transact

func (_V2LendingPool *V2LendingPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V2LendingPoolTransactorRaw) Transfer

func (_V2LendingPool *V2LendingPoolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V2LendingPoolTransactorSession

type V2LendingPoolTransactorSession struct {
	Contract     *V2LendingPoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

V2LendingPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*V2LendingPoolTransactorSession) Borrow

func (_V2LendingPool *V2LendingPoolTransactorSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xa415bcad.

Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()

func (*V2LendingPoolTransactorSession) Deposit

func (_V2LendingPool *V2LendingPoolTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.

Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V2LendingPoolTransactorSession) FinalizeTransfer

func (_V2LendingPool *V2LendingPoolTransactorSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)

FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.

Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()

func (*V2LendingPoolTransactorSession) FlashLoan

func (_V2LendingPool *V2LendingPoolTransactorSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, modes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.

Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] modes, address onBehalfOf, bytes params, uint16 referralCode) returns()

func (*V2LendingPoolTransactorSession) InitReserve

func (_V2LendingPool *V2LendingPoolTransactorSession) InitReserve(asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)

InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.

Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()

func (*V2LendingPoolTransactorSession) Initialize

func (_V2LendingPool *V2LendingPoolTransactorSession) Initialize(provider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address provider) returns()

func (*V2LendingPoolTransactorSession) LiquidationCall

func (_V2LendingPool *V2LendingPoolTransactorSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()

func (*V2LendingPoolTransactorSession) RebalanceStableBorrowRate

func (_V2LendingPool *V2LendingPoolTransactorSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()

func (*V2LendingPoolTransactorSession) Repay

func (_V2LendingPool *V2LendingPoolTransactorSession) Repay(asset common.Address, amount *big.Int, rateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x573ade81.

Solidity: function repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns(uint256)

func (*V2LendingPoolTransactorSession) SetConfiguration

func (_V2LendingPool *V2LendingPoolTransactorSession) SetConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0xb8d29276.

Solidity: function setConfiguration(address asset, uint256 configuration) returns()

func (*V2LendingPoolTransactorSession) SetPause

func (_V2LendingPool *V2LendingPoolTransactorSession) SetPause(val bool) (*types.Transaction, error)

SetPause is a paid mutator transaction binding the contract method 0xbedb86fb.

Solidity: function setPause(bool val) returns()

func (*V2LendingPoolTransactorSession) SetReserveInterestRateStrategyAddress

func (_V2LendingPool *V2LendingPoolTransactorSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.

Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()

func (*V2LendingPoolTransactorSession) SetUserUseReserveAsCollateral

func (_V2LendingPool *V2LendingPoolTransactorSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()

func (*V2LendingPoolTransactorSession) SwapBorrowRateMode

func (_V2LendingPool *V2LendingPoolTransactorSession) SwapBorrowRateMode(asset common.Address, rateMode *big.Int) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.

Solidity: function swapBorrowRateMode(address asset, uint256 rateMode) returns()

func (*V2LendingPoolTransactorSession) Withdraw

func (_V2LendingPool *V2LendingPoolTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)

type V2LendingPoolUnpaused

type V2LendingPoolUnpaused struct {
	Raw types.Log // Blockchain specific contextual infos
}

V2LendingPoolUnpaused represents a Unpaused event raised by the V2LendingPool contract.

type V2LendingPoolUnpausedIterator

type V2LendingPoolUnpausedIterator struct {
	Event *V2LendingPoolUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the V2LendingPool contract.

func (*V2LendingPoolUnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolUnpausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V2LendingPoolWithdraw

type V2LendingPoolWithdraw struct {
	Reserve common.Address
	User    common.Address
	To      common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

V2LendingPoolWithdraw represents a Withdraw event raised by the V2LendingPool contract.

type V2LendingPoolWithdrawIterator

type V2LendingPoolWithdrawIterator struct {
	Event *V2LendingPoolWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V2LendingPoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the V2LendingPool contract.

func (*V2LendingPoolWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V2LendingPoolWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V2LendingPoolWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3DataTypesEModeCategory

type V3DataTypesEModeCategory struct {
	Ltv                  uint16
	LiquidationThreshold uint16
	LiquidationBonus     uint16
	PriceSource          common.Address
	Label                string
}

V3DataTypesEModeCategory is an auto generated low-level Go binding around an user-defined struct.

type V3DataTypesReserveConfigurationMap

type V3DataTypesReserveConfigurationMap struct {
	Data *big.Int
}

V3DataTypesReserveConfigurationMap is an auto generated low-level Go binding around an user-defined struct.

type V3DataTypesReserveData

type V3DataTypesReserveData struct {
	Configuration               V3DataTypesReserveConfigurationMap
	LiquidityIndex              *big.Int
	CurrentLiquidityRate        *big.Int
	VariableBorrowIndex         *big.Int
	CurrentVariableBorrowRate   *big.Int
	CurrentStableBorrowRate     *big.Int
	LastUpdateTimestamp         *big.Int
	Id                          uint16
	ATokenAddress               common.Address
	StableDebtTokenAddress      common.Address
	VariableDebtTokenAddress    common.Address
	InterestRateStrategyAddress common.Address
	AccruedToTreasury           *big.Int
	Unbacked                    *big.Int
	IsolationModeTotalDebt      *big.Int
}

V3DataTypesReserveData is an auto generated low-level Go binding around an user-defined struct.

type V3DataTypesUserConfigurationMap

type V3DataTypesUserConfigurationMap struct {
	Data *big.Int
}

V3DataTypesUserConfigurationMap is an auto generated low-level Go binding around an user-defined struct.

type V3Pool

type V3Pool struct {
	V3PoolCaller     // Read-only binding to the contract
	V3PoolTransactor // Write-only binding to the contract
	V3PoolFilterer   // Log filterer for contract events
}

V3Pool is an auto generated Go binding around an Ethereum contract.

func NewV3Pool

func NewV3Pool(address common.Address, backend bind.ContractBackend) (*V3Pool, error)

NewV3Pool creates a new instance of V3Pool, bound to a specific deployed contract.

type V3PoolBackUnbacked

type V3PoolBackUnbacked struct {
	Reserve common.Address
	Backer  common.Address
	Amount  *big.Int
	Fee     *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

V3PoolBackUnbacked represents a BackUnbacked event raised by the V3Pool contract.

type V3PoolBackUnbackedIterator

type V3PoolBackUnbackedIterator struct {
	Event *V3PoolBackUnbacked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolBackUnbackedIterator is returned from FilterBackUnbacked and is used to iterate over the raw logs and unpacked data for BackUnbacked events raised by the V3Pool contract.

func (*V3PoolBackUnbackedIterator) Close

func (it *V3PoolBackUnbackedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolBackUnbackedIterator) Error

func (it *V3PoolBackUnbackedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolBackUnbackedIterator) Next

func (it *V3PoolBackUnbackedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolBorrow

type V3PoolBorrow struct {
	Reserve          common.Address
	User             common.Address
	OnBehalfOf       common.Address
	Amount           *big.Int
	InterestRateMode uint8
	BorrowRate       *big.Int
	ReferralCode     uint16
	Raw              types.Log // Blockchain specific contextual infos
}

V3PoolBorrow represents a Borrow event raised by the V3Pool contract.

type V3PoolBorrowIterator

type V3PoolBorrowIterator struct {
	Event *V3PoolBorrow // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the V3Pool contract.

func (*V3PoolBorrowIterator) Close

func (it *V3PoolBorrowIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolBorrowIterator) Error

func (it *V3PoolBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolBorrowIterator) Next

func (it *V3PoolBorrowIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolCaller

type V3PoolCaller struct {
	// contains filtered or unexported fields
}

V3PoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewV3PoolCaller

func NewV3PoolCaller(address common.Address, caller bind.ContractCaller) (*V3PoolCaller, error)

NewV3PoolCaller creates a new read-only instance of V3Pool, bound to a specific deployed contract.

func (*V3PoolCaller) ADDRESSESPROVIDER

func (_V3Pool *V3PoolCaller) ADDRESSESPROVIDER(opts *bind.CallOpts) (common.Address, error)

ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*V3PoolCaller) BRIDGEPROTOCOLFEE

func (_V3Pool *V3PoolCaller) BRIDGEPROTOCOLFEE(opts *bind.CallOpts) (*big.Int, error)

BRIDGEPROTOCOLFEE is a free data retrieval call binding the contract method 0x272d9072.

Solidity: function BRIDGE_PROTOCOL_FEE() view returns(uint256)

func (*V3PoolCaller) FLASHLOANPREMIUMTOPROTOCOL

func (_V3Pool *V3PoolCaller) FLASHLOANPREMIUMTOPROTOCOL(opts *bind.CallOpts) (*big.Int, error)

FLASHLOANPREMIUMTOPROTOCOL is a free data retrieval call binding the contract method 0x6a99c036.

Solidity: function FLASHLOAN_PREMIUM_TO_PROTOCOL() view returns(uint128)

func (*V3PoolCaller) FLASHLOANPREMIUMTOTAL

func (_V3Pool *V3PoolCaller) FLASHLOANPREMIUMTOTAL(opts *bind.CallOpts) (*big.Int, error)

FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.

Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint128)

func (*V3PoolCaller) GetConfiguration

func (_V3Pool *V3PoolCaller) GetConfiguration(opts *bind.CallOpts, asset common.Address) (V3DataTypesReserveConfigurationMap, error)

GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.

Solidity: function getConfiguration(address asset) view returns((uint256))

func (*V3PoolCaller) GetEModeCategoryData

func (_V3Pool *V3PoolCaller) GetEModeCategoryData(opts *bind.CallOpts, id uint8) (V3DataTypesEModeCategory, error)

GetEModeCategoryData is a free data retrieval call binding the contract method 0x6c6f6ae1.

Solidity: function getEModeCategoryData(uint8 id) view returns((uint16,uint16,uint16,address,string))

func (*V3PoolCaller) GetReserveAddressById

func (_V3Pool *V3PoolCaller) GetReserveAddressById(opts *bind.CallOpts, id uint16) (common.Address, error)

GetReserveAddressById is a free data retrieval call binding the contract method 0x52751797.

Solidity: function getReserveAddressById(uint16 id) view returns(address)

func (*V3PoolCaller) GetReserveData

func (_V3Pool *V3PoolCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (V3DataTypesReserveData, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,uint16,address,address,address,address,uint128,uint128,uint128))

func (*V3PoolCaller) GetReserveNormalizedIncome

func (_V3Pool *V3PoolCaller) GetReserveNormalizedIncome(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.

Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)

func (*V3PoolCaller) GetReserveNormalizedVariableDebt

func (_V3Pool *V3PoolCaller) GetReserveNormalizedVariableDebt(opts *bind.CallOpts, asset common.Address) (*big.Int, error)

GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.

Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)

func (*V3PoolCaller) GetReservesList

func (_V3Pool *V3PoolCaller) GetReservesList(opts *bind.CallOpts) ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.

Solidity: function getReservesList() view returns(address[])

func (*V3PoolCaller) GetUserAccountData

func (_V3Pool *V3PoolCaller) GetUserAccountData(opts *bind.CallOpts, user common.Address) (struct {
	TotalCollateralBase         *big.Int
	TotalDebtBase               *big.Int
	AvailableBorrowsBase        *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V3PoolCaller) GetUserConfiguration

func (_V3Pool *V3PoolCaller) GetUserConfiguration(opts *bind.CallOpts, user common.Address) (V3DataTypesUserConfigurationMap, error)

GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.

Solidity: function getUserConfiguration(address user) view returns((uint256))

func (*V3PoolCaller) GetUserEMode

func (_V3Pool *V3PoolCaller) GetUserEMode(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetUserEMode is a free data retrieval call binding the contract method 0xeddf1b79.

Solidity: function getUserEMode(address user) view returns(uint256)

func (*V3PoolCaller) MAXNUMBERRESERVES

func (_V3Pool *V3PoolCaller) MAXNUMBERRESERVES(opts *bind.CallOpts) (uint16, error)

MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.

Solidity: function MAX_NUMBER_RESERVES() view returns(uint16)

func (*V3PoolCaller) MAXSTABLERATEBORROWSIZEPERCENT

func (_V3Pool *V3PoolCaller) MAXSTABLERATEBORROWSIZEPERCENT(opts *bind.CallOpts) (*big.Int, error)

MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.

Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)

func (*V3PoolCaller) POOLREVISION

func (_V3Pool *V3PoolCaller) POOLREVISION(opts *bind.CallOpts) (*big.Int, error)

POOLREVISION is a free data retrieval call binding the contract method 0x0148170e.

Solidity: function POOL_REVISION() view returns(uint256)

type V3PoolCallerRaw

type V3PoolCallerRaw struct {
	Contract *V3PoolCaller // Generic read-only contract binding to access the raw methods on
}

V3PoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*V3PoolCallerRaw) Call

func (_V3Pool *V3PoolCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type V3PoolCallerSession

type V3PoolCallerSession struct {
	Contract *V3PoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

V3PoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*V3PoolCallerSession) ADDRESSESPROVIDER

func (_V3Pool *V3PoolCallerSession) ADDRESSESPROVIDER() (common.Address, error)

ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*V3PoolCallerSession) BRIDGEPROTOCOLFEE

func (_V3Pool *V3PoolCallerSession) BRIDGEPROTOCOLFEE() (*big.Int, error)

BRIDGEPROTOCOLFEE is a free data retrieval call binding the contract method 0x272d9072.

Solidity: function BRIDGE_PROTOCOL_FEE() view returns(uint256)

func (*V3PoolCallerSession) FLASHLOANPREMIUMTOPROTOCOL

func (_V3Pool *V3PoolCallerSession) FLASHLOANPREMIUMTOPROTOCOL() (*big.Int, error)

FLASHLOANPREMIUMTOPROTOCOL is a free data retrieval call binding the contract method 0x6a99c036.

Solidity: function FLASHLOAN_PREMIUM_TO_PROTOCOL() view returns(uint128)

func (*V3PoolCallerSession) FLASHLOANPREMIUMTOTAL

func (_V3Pool *V3PoolCallerSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)

FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.

Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint128)

func (*V3PoolCallerSession) GetConfiguration

func (_V3Pool *V3PoolCallerSession) GetConfiguration(asset common.Address) (V3DataTypesReserveConfigurationMap, error)

GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.

Solidity: function getConfiguration(address asset) view returns((uint256))

func (*V3PoolCallerSession) GetEModeCategoryData

func (_V3Pool *V3PoolCallerSession) GetEModeCategoryData(id uint8) (V3DataTypesEModeCategory, error)

GetEModeCategoryData is a free data retrieval call binding the contract method 0x6c6f6ae1.

Solidity: function getEModeCategoryData(uint8 id) view returns((uint16,uint16,uint16,address,string))

func (*V3PoolCallerSession) GetReserveAddressById

func (_V3Pool *V3PoolCallerSession) GetReserveAddressById(id uint16) (common.Address, error)

GetReserveAddressById is a free data retrieval call binding the contract method 0x52751797.

Solidity: function getReserveAddressById(uint16 id) view returns(address)

func (*V3PoolCallerSession) GetReserveData

func (_V3Pool *V3PoolCallerSession) GetReserveData(asset common.Address) (V3DataTypesReserveData, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,uint16,address,address,address,address,uint128,uint128,uint128))

func (*V3PoolCallerSession) GetReserveNormalizedIncome

func (_V3Pool *V3PoolCallerSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)

GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.

Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)

func (*V3PoolCallerSession) GetReserveNormalizedVariableDebt

func (_V3Pool *V3PoolCallerSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)

GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.

Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)

func (*V3PoolCallerSession) GetReservesList

func (_V3Pool *V3PoolCallerSession) GetReservesList() ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.

Solidity: function getReservesList() view returns(address[])

func (*V3PoolCallerSession) GetUserAccountData

func (_V3Pool *V3PoolCallerSession) GetUserAccountData(user common.Address) (struct {
	TotalCollateralBase         *big.Int
	TotalDebtBase               *big.Int
	AvailableBorrowsBase        *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V3PoolCallerSession) GetUserConfiguration

func (_V3Pool *V3PoolCallerSession) GetUserConfiguration(user common.Address) (V3DataTypesUserConfigurationMap, error)

GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.

Solidity: function getUserConfiguration(address user) view returns((uint256))

func (*V3PoolCallerSession) GetUserEMode

func (_V3Pool *V3PoolCallerSession) GetUserEMode(user common.Address) (*big.Int, error)

GetUserEMode is a free data retrieval call binding the contract method 0xeddf1b79.

Solidity: function getUserEMode(address user) view returns(uint256)

func (*V3PoolCallerSession) MAXNUMBERRESERVES

func (_V3Pool *V3PoolCallerSession) MAXNUMBERRESERVES() (uint16, error)

MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.

Solidity: function MAX_NUMBER_RESERVES() view returns(uint16)

func (*V3PoolCallerSession) MAXSTABLERATEBORROWSIZEPERCENT

func (_V3Pool *V3PoolCallerSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)

MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.

Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)

func (*V3PoolCallerSession) POOLREVISION

func (_V3Pool *V3PoolCallerSession) POOLREVISION() (*big.Int, error)

POOLREVISION is a free data retrieval call binding the contract method 0x0148170e.

Solidity: function POOL_REVISION() view returns(uint256)

type V3PoolFilterer

type V3PoolFilterer struct {
	// contains filtered or unexported fields
}

V3PoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewV3PoolFilterer

func NewV3PoolFilterer(address common.Address, filterer bind.ContractFilterer) (*V3PoolFilterer, error)

NewV3PoolFilterer creates a new log filterer instance of V3Pool, bound to a specific deployed contract.

func (*V3PoolFilterer) FilterBackUnbacked

func (_V3Pool *V3PoolFilterer) FilterBackUnbacked(opts *bind.FilterOpts, reserve []common.Address, backer []common.Address) (*V3PoolBackUnbackedIterator, error)

FilterBackUnbacked is a free log retrieval operation binding the contract event 0x281596e92b2d974beb7d4f124df30a0b39067b096893e95011ce4bdad798b759.

Solidity: event BackUnbacked(address indexed reserve, address indexed backer, uint256 amount, uint256 fee)

func (*V3PoolFilterer) FilterBorrow

func (_V3Pool *V3PoolFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referralCode []uint16) (*V3PoolBorrowIterator, error)

FilterBorrow is a free log retrieval operation binding the contract event 0xb3d084820fb1a9decffb176436bd02558d15fac9b0ddfed8c465bc7359d7dce0.

Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint8 interestRateMode, uint256 borrowRate, uint16 indexed referralCode)

func (*V3PoolFilterer) FilterFlashLoan

func (_V3Pool *V3PoolFilterer) FilterFlashLoan(opts *bind.FilterOpts, target []common.Address, asset []common.Address, referralCode []uint16) (*V3PoolFlashLoanIterator, error)

FilterFlashLoan is a free log retrieval operation binding the contract event 0xefefaba5e921573100900a3ad9cf29f222d995fb3b6045797eaea7521bd8d6f0.

Solidity: event FlashLoan(address indexed target, address initiator, address indexed asset, uint256 amount, uint8 interestRateMode, uint256 premium, uint16 indexed referralCode)

func (*V3PoolFilterer) FilterIsolationModeTotalDebtUpdated

func (_V3Pool *V3PoolFilterer) FilterIsolationModeTotalDebtUpdated(opts *bind.FilterOpts, asset []common.Address) (*V3PoolIsolationModeTotalDebtUpdatedIterator, error)

FilterIsolationModeTotalDebtUpdated is a free log retrieval operation binding the contract event 0xaef84d3b40895fd58c561f3998000f0583abb992a52fbdc99ace8e8de4d676a5.

Solidity: event IsolationModeTotalDebtUpdated(address indexed asset, uint256 totalDebt)

func (*V3PoolFilterer) FilterLiquidationCall

func (_V3Pool *V3PoolFilterer) FilterLiquidationCall(opts *bind.FilterOpts, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (*V3PoolLiquidationCallIterator, error)

FilterLiquidationCall is a free log retrieval operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.

Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)

func (*V3PoolFilterer) FilterMintUnbacked

func (_V3Pool *V3PoolFilterer) FilterMintUnbacked(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referralCode []uint16) (*V3PoolMintUnbackedIterator, error)

FilterMintUnbacked is a free log retrieval operation binding the contract event 0xf25af37b3d3ec226063dc9bdc103ece7eb110a50f340fe854bb7bc1b0676d7d0.

Solidity: event MintUnbacked(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode)

func (*V3PoolFilterer) FilterMintedToTreasury

func (_V3Pool *V3PoolFilterer) FilterMintedToTreasury(opts *bind.FilterOpts, reserve []common.Address) (*V3PoolMintedToTreasuryIterator, error)

FilterMintedToTreasury is a free log retrieval operation binding the contract event 0xbfa21aa5d5f9a1f0120a95e7c0749f389863cbdbfff531aa7339077a5bc919de.

Solidity: event MintedToTreasury(address indexed reserve, uint256 amountMinted)

func (*V3PoolFilterer) FilterRebalanceStableBorrowRate

func (_V3Pool *V3PoolFilterer) FilterRebalanceStableBorrowRate(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V3PoolRebalanceStableBorrowRateIterator, error)

FilterRebalanceStableBorrowRate is a free log retrieval operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.

Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)

func (*V3PoolFilterer) FilterRepay

func (_V3Pool *V3PoolFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, repayer []common.Address) (*V3PoolRepayIterator, error)

FilterRepay is a free log retrieval operation binding the contract event 0xa534c8dbe71f871f9f3530e97a74601fea17b426cae02e1c5aee42c96c784051.

Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount, bool useATokens)

func (*V3PoolFilterer) FilterReserveDataUpdated

func (_V3Pool *V3PoolFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*V3PoolReserveDataUpdatedIterator, error)

FilterReserveDataUpdated is a free log retrieval operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.

Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)

func (*V3PoolFilterer) FilterReserveUsedAsCollateralDisabled

func (_V3Pool *V3PoolFilterer) FilterReserveUsedAsCollateralDisabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V3PoolReserveUsedAsCollateralDisabledIterator, error)

FilterReserveUsedAsCollateralDisabled is a free log retrieval operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)

func (*V3PoolFilterer) FilterReserveUsedAsCollateralEnabled

func (_V3Pool *V3PoolFilterer) FilterReserveUsedAsCollateralEnabled(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V3PoolReserveUsedAsCollateralEnabledIterator, error)

FilterReserveUsedAsCollateralEnabled is a free log retrieval operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)

func (*V3PoolFilterer) FilterSupply

func (_V3Pool *V3PoolFilterer) FilterSupply(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referralCode []uint16) (*V3PoolSupplyIterator, error)

FilterSupply is a free log retrieval operation binding the contract event 0x2b627736bca15cd5381dcf80b0bf11fd197d01a037c52b927a881a10fb73ba61.

Solidity: event Supply(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode)

func (*V3PoolFilterer) FilterSwapBorrowRateMode

func (_V3Pool *V3PoolFilterer) FilterSwapBorrowRateMode(opts *bind.FilterOpts, reserve []common.Address, user []common.Address) (*V3PoolSwapBorrowRateModeIterator, error)

FilterSwapBorrowRateMode is a free log retrieval operation binding the contract event 0x7962b394d85a534033ba2efcf43cd36de57b7ebeb3de0ca4428965d9b3ddc481.

Solidity: event SwapBorrowRateMode(address indexed reserve, address indexed user, uint8 interestRateMode)

func (*V3PoolFilterer) FilterUserEModeSet

func (_V3Pool *V3PoolFilterer) FilterUserEModeSet(opts *bind.FilterOpts, user []common.Address) (*V3PoolUserEModeSetIterator, error)

FilterUserEModeSet is a free log retrieval operation binding the contract event 0xd728da875fc88944cbf17638bcbe4af0eedaef63becd1d1c57cc097eb4608d84.

Solidity: event UserEModeSet(address indexed user, uint8 categoryId)

func (*V3PoolFilterer) FilterWithdraw

func (_V3Pool *V3PoolFilterer) FilterWithdraw(opts *bind.FilterOpts, reserve []common.Address, user []common.Address, to []common.Address) (*V3PoolWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.

Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)

func (*V3PoolFilterer) ParseBackUnbacked

func (_V3Pool *V3PoolFilterer) ParseBackUnbacked(log types.Log) (*V3PoolBackUnbacked, error)

ParseBackUnbacked is a log parse operation binding the contract event 0x281596e92b2d974beb7d4f124df30a0b39067b096893e95011ce4bdad798b759.

Solidity: event BackUnbacked(address indexed reserve, address indexed backer, uint256 amount, uint256 fee)

func (*V3PoolFilterer) ParseBorrow

func (_V3Pool *V3PoolFilterer) ParseBorrow(log types.Log) (*V3PoolBorrow, error)

ParseBorrow is a log parse operation binding the contract event 0xb3d084820fb1a9decffb176436bd02558d15fac9b0ddfed8c465bc7359d7dce0.

Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint8 interestRateMode, uint256 borrowRate, uint16 indexed referralCode)

func (*V3PoolFilterer) ParseFlashLoan

func (_V3Pool *V3PoolFilterer) ParseFlashLoan(log types.Log) (*V3PoolFlashLoan, error)

ParseFlashLoan is a log parse operation binding the contract event 0xefefaba5e921573100900a3ad9cf29f222d995fb3b6045797eaea7521bd8d6f0.

Solidity: event FlashLoan(address indexed target, address initiator, address indexed asset, uint256 amount, uint8 interestRateMode, uint256 premium, uint16 indexed referralCode)

func (*V3PoolFilterer) ParseIsolationModeTotalDebtUpdated

func (_V3Pool *V3PoolFilterer) ParseIsolationModeTotalDebtUpdated(log types.Log) (*V3PoolIsolationModeTotalDebtUpdated, error)

ParseIsolationModeTotalDebtUpdated is a log parse operation binding the contract event 0xaef84d3b40895fd58c561f3998000f0583abb992a52fbdc99ace8e8de4d676a5.

Solidity: event IsolationModeTotalDebtUpdated(address indexed asset, uint256 totalDebt)

func (*V3PoolFilterer) ParseLiquidationCall

func (_V3Pool *V3PoolFilterer) ParseLiquidationCall(log types.Log) (*V3PoolLiquidationCall, error)

ParseLiquidationCall is a log parse operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.

Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)

func (*V3PoolFilterer) ParseMintUnbacked

func (_V3Pool *V3PoolFilterer) ParseMintUnbacked(log types.Log) (*V3PoolMintUnbacked, error)

ParseMintUnbacked is a log parse operation binding the contract event 0xf25af37b3d3ec226063dc9bdc103ece7eb110a50f340fe854bb7bc1b0676d7d0.

Solidity: event MintUnbacked(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode)

func (*V3PoolFilterer) ParseMintedToTreasury

func (_V3Pool *V3PoolFilterer) ParseMintedToTreasury(log types.Log) (*V3PoolMintedToTreasury, error)

ParseMintedToTreasury is a log parse operation binding the contract event 0xbfa21aa5d5f9a1f0120a95e7c0749f389863cbdbfff531aa7339077a5bc919de.

Solidity: event MintedToTreasury(address indexed reserve, uint256 amountMinted)

func (*V3PoolFilterer) ParseRebalanceStableBorrowRate

func (_V3Pool *V3PoolFilterer) ParseRebalanceStableBorrowRate(log types.Log) (*V3PoolRebalanceStableBorrowRate, error)

ParseRebalanceStableBorrowRate is a log parse operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.

Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)

func (*V3PoolFilterer) ParseRepay

func (_V3Pool *V3PoolFilterer) ParseRepay(log types.Log) (*V3PoolRepay, error)

ParseRepay is a log parse operation binding the contract event 0xa534c8dbe71f871f9f3530e97a74601fea17b426cae02e1c5aee42c96c784051.

Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount, bool useATokens)

func (*V3PoolFilterer) ParseReserveDataUpdated

func (_V3Pool *V3PoolFilterer) ParseReserveDataUpdated(log types.Log) (*V3PoolReserveDataUpdated, error)

ParseReserveDataUpdated is a log parse operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.

Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)

func (*V3PoolFilterer) ParseReserveUsedAsCollateralDisabled

func (_V3Pool *V3PoolFilterer) ParseReserveUsedAsCollateralDisabled(log types.Log) (*V3PoolReserveUsedAsCollateralDisabled, error)

ParseReserveUsedAsCollateralDisabled is a log parse operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)

func (*V3PoolFilterer) ParseReserveUsedAsCollateralEnabled

func (_V3Pool *V3PoolFilterer) ParseReserveUsedAsCollateralEnabled(log types.Log) (*V3PoolReserveUsedAsCollateralEnabled, error)

ParseReserveUsedAsCollateralEnabled is a log parse operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)

func (*V3PoolFilterer) ParseSupply

func (_V3Pool *V3PoolFilterer) ParseSupply(log types.Log) (*V3PoolSupply, error)

ParseSupply is a log parse operation binding the contract event 0x2b627736bca15cd5381dcf80b0bf11fd197d01a037c52b927a881a10fb73ba61.

Solidity: event Supply(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode)

func (*V3PoolFilterer) ParseSwapBorrowRateMode

func (_V3Pool *V3PoolFilterer) ParseSwapBorrowRateMode(log types.Log) (*V3PoolSwapBorrowRateMode, error)

ParseSwapBorrowRateMode is a log parse operation binding the contract event 0x7962b394d85a534033ba2efcf43cd36de57b7ebeb3de0ca4428965d9b3ddc481.

Solidity: event SwapBorrowRateMode(address indexed reserve, address indexed user, uint8 interestRateMode)

func (*V3PoolFilterer) ParseUserEModeSet

func (_V3Pool *V3PoolFilterer) ParseUserEModeSet(log types.Log) (*V3PoolUserEModeSet, error)

ParseUserEModeSet is a log parse operation binding the contract event 0xd728da875fc88944cbf17638bcbe4af0eedaef63becd1d1c57cc097eb4608d84.

Solidity: event UserEModeSet(address indexed user, uint8 categoryId)

func (*V3PoolFilterer) ParseWithdraw

func (_V3Pool *V3PoolFilterer) ParseWithdraw(log types.Log) (*V3PoolWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.

Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)

func (*V3PoolFilterer) WatchBackUnbacked

func (_V3Pool *V3PoolFilterer) WatchBackUnbacked(opts *bind.WatchOpts, sink chan<- *V3PoolBackUnbacked, reserve []common.Address, backer []common.Address) (event.Subscription, error)

WatchBackUnbacked is a free log subscription operation binding the contract event 0x281596e92b2d974beb7d4f124df30a0b39067b096893e95011ce4bdad798b759.

Solidity: event BackUnbacked(address indexed reserve, address indexed backer, uint256 amount, uint256 fee)

func (*V3PoolFilterer) WatchBorrow

func (_V3Pool *V3PoolFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *V3PoolBorrow, reserve []common.Address, onBehalfOf []common.Address, referralCode []uint16) (event.Subscription, error)

WatchBorrow is a free log subscription operation binding the contract event 0xb3d084820fb1a9decffb176436bd02558d15fac9b0ddfed8c465bc7359d7dce0.

Solidity: event Borrow(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint8 interestRateMode, uint256 borrowRate, uint16 indexed referralCode)

func (*V3PoolFilterer) WatchFlashLoan

func (_V3Pool *V3PoolFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *V3PoolFlashLoan, target []common.Address, asset []common.Address, referralCode []uint16) (event.Subscription, error)

WatchFlashLoan is a free log subscription operation binding the contract event 0xefefaba5e921573100900a3ad9cf29f222d995fb3b6045797eaea7521bd8d6f0.

Solidity: event FlashLoan(address indexed target, address initiator, address indexed asset, uint256 amount, uint8 interestRateMode, uint256 premium, uint16 indexed referralCode)

func (*V3PoolFilterer) WatchIsolationModeTotalDebtUpdated

func (_V3Pool *V3PoolFilterer) WatchIsolationModeTotalDebtUpdated(opts *bind.WatchOpts, sink chan<- *V3PoolIsolationModeTotalDebtUpdated, asset []common.Address) (event.Subscription, error)

WatchIsolationModeTotalDebtUpdated is a free log subscription operation binding the contract event 0xaef84d3b40895fd58c561f3998000f0583abb992a52fbdc99ace8e8de4d676a5.

Solidity: event IsolationModeTotalDebtUpdated(address indexed asset, uint256 totalDebt)

func (*V3PoolFilterer) WatchLiquidationCall

func (_V3Pool *V3PoolFilterer) WatchLiquidationCall(opts *bind.WatchOpts, sink chan<- *V3PoolLiquidationCall, collateralAsset []common.Address, debtAsset []common.Address, user []common.Address) (event.Subscription, error)

WatchLiquidationCall is a free log subscription operation binding the contract event 0xe413a321e8681d831f4dbccbca790d2952b56f977908e45be37335533e005286.

Solidity: event LiquidationCall(address indexed collateralAsset, address indexed debtAsset, address indexed user, uint256 debtToCover, uint256 liquidatedCollateralAmount, address liquidator, bool receiveAToken)

func (*V3PoolFilterer) WatchMintUnbacked

func (_V3Pool *V3PoolFilterer) WatchMintUnbacked(opts *bind.WatchOpts, sink chan<- *V3PoolMintUnbacked, reserve []common.Address, onBehalfOf []common.Address, referralCode []uint16) (event.Subscription, error)

WatchMintUnbacked is a free log subscription operation binding the contract event 0xf25af37b3d3ec226063dc9bdc103ece7eb110a50f340fe854bb7bc1b0676d7d0.

Solidity: event MintUnbacked(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode)

func (*V3PoolFilterer) WatchMintedToTreasury

func (_V3Pool *V3PoolFilterer) WatchMintedToTreasury(opts *bind.WatchOpts, sink chan<- *V3PoolMintedToTreasury, reserve []common.Address) (event.Subscription, error)

WatchMintedToTreasury is a free log subscription operation binding the contract event 0xbfa21aa5d5f9a1f0120a95e7c0749f389863cbdbfff531aa7339077a5bc919de.

Solidity: event MintedToTreasury(address indexed reserve, uint256 amountMinted)

func (*V3PoolFilterer) WatchRebalanceStableBorrowRate

func (_V3Pool *V3PoolFilterer) WatchRebalanceStableBorrowRate(opts *bind.WatchOpts, sink chan<- *V3PoolRebalanceStableBorrowRate, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchRebalanceStableBorrowRate is a free log subscription operation binding the contract event 0x9f439ae0c81e41a04d3fdfe07aed54e6a179fb0db15be7702eb66fa8ef6f5300.

Solidity: event RebalanceStableBorrowRate(address indexed reserve, address indexed user)

func (*V3PoolFilterer) WatchRepay

func (_V3Pool *V3PoolFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *V3PoolRepay, reserve []common.Address, user []common.Address, repayer []common.Address) (event.Subscription, error)

WatchRepay is a free log subscription operation binding the contract event 0xa534c8dbe71f871f9f3530e97a74601fea17b426cae02e1c5aee42c96c784051.

Solidity: event Repay(address indexed reserve, address indexed user, address indexed repayer, uint256 amount, bool useATokens)

func (*V3PoolFilterer) WatchReserveDataUpdated

func (_V3Pool *V3PoolFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *V3PoolReserveDataUpdated, reserve []common.Address) (event.Subscription, error)

WatchReserveDataUpdated is a free log subscription operation binding the contract event 0x804c9b842b2748a22bb64b345453a3de7ca54a6ca45ce00d415894979e22897a.

Solidity: event ReserveDataUpdated(address indexed reserve, uint256 liquidityRate, uint256 stableBorrowRate, uint256 variableBorrowRate, uint256 liquidityIndex, uint256 variableBorrowIndex)

func (*V3PoolFilterer) WatchReserveUsedAsCollateralDisabled

func (_V3Pool *V3PoolFilterer) WatchReserveUsedAsCollateralDisabled(opts *bind.WatchOpts, sink chan<- *V3PoolReserveUsedAsCollateralDisabled, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchReserveUsedAsCollateralDisabled is a free log subscription operation binding the contract event 0x44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd.

Solidity: event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user)

func (*V3PoolFilterer) WatchReserveUsedAsCollateralEnabled

func (_V3Pool *V3PoolFilterer) WatchReserveUsedAsCollateralEnabled(opts *bind.WatchOpts, sink chan<- *V3PoolReserveUsedAsCollateralEnabled, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchReserveUsedAsCollateralEnabled is a free log subscription operation binding the contract event 0x00058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f2.

Solidity: event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user)

func (*V3PoolFilterer) WatchSupply

func (_V3Pool *V3PoolFilterer) WatchSupply(opts *bind.WatchOpts, sink chan<- *V3PoolSupply, reserve []common.Address, onBehalfOf []common.Address, referralCode []uint16) (event.Subscription, error)

WatchSupply is a free log subscription operation binding the contract event 0x2b627736bca15cd5381dcf80b0bf11fd197d01a037c52b927a881a10fb73ba61.

Solidity: event Supply(address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode)

func (*V3PoolFilterer) WatchSwapBorrowRateMode

func (_V3Pool *V3PoolFilterer) WatchSwapBorrowRateMode(opts *bind.WatchOpts, sink chan<- *V3PoolSwapBorrowRateMode, reserve []common.Address, user []common.Address) (event.Subscription, error)

WatchSwapBorrowRateMode is a free log subscription operation binding the contract event 0x7962b394d85a534033ba2efcf43cd36de57b7ebeb3de0ca4428965d9b3ddc481.

Solidity: event SwapBorrowRateMode(address indexed reserve, address indexed user, uint8 interestRateMode)

func (*V3PoolFilterer) WatchUserEModeSet

func (_V3Pool *V3PoolFilterer) WatchUserEModeSet(opts *bind.WatchOpts, sink chan<- *V3PoolUserEModeSet, user []common.Address) (event.Subscription, error)

WatchUserEModeSet is a free log subscription operation binding the contract event 0xd728da875fc88944cbf17638bcbe4af0eedaef63becd1d1c57cc097eb4608d84.

Solidity: event UserEModeSet(address indexed user, uint8 categoryId)

func (*V3PoolFilterer) WatchWithdraw

func (_V3Pool *V3PoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *V3PoolWithdraw, reserve []common.Address, user []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x3115d1449a7b732c986cba18244e897a450f61e1bb8d589cd2e69e6c8924f9f7.

Solidity: event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount)

type V3PoolFlashLoan

type V3PoolFlashLoan struct {
	Target           common.Address
	Initiator        common.Address
	Asset            common.Address
	Amount           *big.Int
	InterestRateMode uint8
	Premium          *big.Int
	ReferralCode     uint16
	Raw              types.Log // Blockchain specific contextual infos
}

V3PoolFlashLoan represents a FlashLoan event raised by the V3Pool contract.

type V3PoolFlashLoanIterator

type V3PoolFlashLoanIterator struct {
	Event *V3PoolFlashLoan // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the V3Pool contract.

func (*V3PoolFlashLoanIterator) Close

func (it *V3PoolFlashLoanIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolFlashLoanIterator) Error

func (it *V3PoolFlashLoanIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolFlashLoanIterator) Next

func (it *V3PoolFlashLoanIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolIsolationModeTotalDebtUpdated

type V3PoolIsolationModeTotalDebtUpdated struct {
	Asset     common.Address
	TotalDebt *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

V3PoolIsolationModeTotalDebtUpdated represents a IsolationModeTotalDebtUpdated event raised by the V3Pool contract.

type V3PoolIsolationModeTotalDebtUpdatedIterator

type V3PoolIsolationModeTotalDebtUpdatedIterator struct {
	Event *V3PoolIsolationModeTotalDebtUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolIsolationModeTotalDebtUpdatedIterator is returned from FilterIsolationModeTotalDebtUpdated and is used to iterate over the raw logs and unpacked data for IsolationModeTotalDebtUpdated events raised by the V3Pool contract.

func (*V3PoolIsolationModeTotalDebtUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolIsolationModeTotalDebtUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolIsolationModeTotalDebtUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolLiquidationCall

type V3PoolLiquidationCall struct {
	CollateralAsset            common.Address
	DebtAsset                  common.Address
	User                       common.Address
	DebtToCover                *big.Int
	LiquidatedCollateralAmount *big.Int
	Liquidator                 common.Address
	ReceiveAToken              bool
	Raw                        types.Log // Blockchain specific contextual infos
}

V3PoolLiquidationCall represents a LiquidationCall event raised by the V3Pool contract.

type V3PoolLiquidationCallIterator

type V3PoolLiquidationCallIterator struct {
	Event *V3PoolLiquidationCall // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolLiquidationCallIterator is returned from FilterLiquidationCall and is used to iterate over the raw logs and unpacked data for LiquidationCall events raised by the V3Pool contract.

func (*V3PoolLiquidationCallIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolLiquidationCallIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolLiquidationCallIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolMintUnbacked

type V3PoolMintUnbacked struct {
	Reserve      common.Address
	User         common.Address
	OnBehalfOf   common.Address
	Amount       *big.Int
	ReferralCode uint16
	Raw          types.Log // Blockchain specific contextual infos
}

V3PoolMintUnbacked represents a MintUnbacked event raised by the V3Pool contract.

type V3PoolMintUnbackedIterator

type V3PoolMintUnbackedIterator struct {
	Event *V3PoolMintUnbacked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolMintUnbackedIterator is returned from FilterMintUnbacked and is used to iterate over the raw logs and unpacked data for MintUnbacked events raised by the V3Pool contract.

func (*V3PoolMintUnbackedIterator) Close

func (it *V3PoolMintUnbackedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolMintUnbackedIterator) Error

func (it *V3PoolMintUnbackedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolMintUnbackedIterator) Next

func (it *V3PoolMintUnbackedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolMintedToTreasury

type V3PoolMintedToTreasury struct {
	Reserve      common.Address
	AmountMinted *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

V3PoolMintedToTreasury represents a MintedToTreasury event raised by the V3Pool contract.

type V3PoolMintedToTreasuryIterator

type V3PoolMintedToTreasuryIterator struct {
	Event *V3PoolMintedToTreasury // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolMintedToTreasuryIterator is returned from FilterMintedToTreasury and is used to iterate over the raw logs and unpacked data for MintedToTreasury events raised by the V3Pool contract.

func (*V3PoolMintedToTreasuryIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolMintedToTreasuryIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolMintedToTreasuryIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolRaw

type V3PoolRaw struct {
	Contract *V3Pool // Generic contract binding to access the raw methods on
}

V3PoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*V3PoolRaw) Call

func (_V3Pool *V3PoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*V3PoolRaw) Transact

func (_V3Pool *V3PoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V3PoolRaw) Transfer

func (_V3Pool *V3PoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V3PoolRebalanceStableBorrowRate

type V3PoolRebalanceStableBorrowRate struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V3PoolRebalanceStableBorrowRate represents a RebalanceStableBorrowRate event raised by the V3Pool contract.

type V3PoolRebalanceStableBorrowRateIterator

type V3PoolRebalanceStableBorrowRateIterator struct {
	Event *V3PoolRebalanceStableBorrowRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolRebalanceStableBorrowRateIterator is returned from FilterRebalanceStableBorrowRate and is used to iterate over the raw logs and unpacked data for RebalanceStableBorrowRate events raised by the V3Pool contract.

func (*V3PoolRebalanceStableBorrowRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolRebalanceStableBorrowRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolRebalanceStableBorrowRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolRepay

type V3PoolRepay struct {
	Reserve    common.Address
	User       common.Address
	Repayer    common.Address
	Amount     *big.Int
	UseATokens bool
	Raw        types.Log // Blockchain specific contextual infos
}

V3PoolRepay represents a Repay event raised by the V3Pool contract.

type V3PoolRepayIterator

type V3PoolRepayIterator struct {
	Event *V3PoolRepay // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolRepayIterator is returned from FilterRepay and is used to iterate over the raw logs and unpacked data for Repay events raised by the V3Pool contract.

func (*V3PoolRepayIterator) Close

func (it *V3PoolRepayIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolRepayIterator) Error

func (it *V3PoolRepayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolRepayIterator) Next

func (it *V3PoolRepayIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolReserveDataUpdated

type V3PoolReserveDataUpdated struct {
	Reserve             common.Address
	LiquidityRate       *big.Int
	StableBorrowRate    *big.Int
	VariableBorrowRate  *big.Int
	LiquidityIndex      *big.Int
	VariableBorrowIndex *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

V3PoolReserveDataUpdated represents a ReserveDataUpdated event raised by the V3Pool contract.

type V3PoolReserveDataUpdatedIterator

type V3PoolReserveDataUpdatedIterator struct {
	Event *V3PoolReserveDataUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolReserveDataUpdatedIterator is returned from FilterReserveDataUpdated and is used to iterate over the raw logs and unpacked data for ReserveDataUpdated events raised by the V3Pool contract.

func (*V3PoolReserveDataUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolReserveDataUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolReserveDataUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolReserveUsedAsCollateralDisabled

type V3PoolReserveUsedAsCollateralDisabled struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V3PoolReserveUsedAsCollateralDisabled represents a ReserveUsedAsCollateralDisabled event raised by the V3Pool contract.

type V3PoolReserveUsedAsCollateralDisabledIterator

type V3PoolReserveUsedAsCollateralDisabledIterator struct {
	Event *V3PoolReserveUsedAsCollateralDisabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolReserveUsedAsCollateralDisabledIterator is returned from FilterReserveUsedAsCollateralDisabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralDisabled events raised by the V3Pool contract.

func (*V3PoolReserveUsedAsCollateralDisabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolReserveUsedAsCollateralDisabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolReserveUsedAsCollateralDisabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolReserveUsedAsCollateralEnabled

type V3PoolReserveUsedAsCollateralEnabled struct {
	Reserve common.Address
	User    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

V3PoolReserveUsedAsCollateralEnabled represents a ReserveUsedAsCollateralEnabled event raised by the V3Pool contract.

type V3PoolReserveUsedAsCollateralEnabledIterator

type V3PoolReserveUsedAsCollateralEnabledIterator struct {
	Event *V3PoolReserveUsedAsCollateralEnabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolReserveUsedAsCollateralEnabledIterator is returned from FilterReserveUsedAsCollateralEnabled and is used to iterate over the raw logs and unpacked data for ReserveUsedAsCollateralEnabled events raised by the V3Pool contract.

func (*V3PoolReserveUsedAsCollateralEnabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolReserveUsedAsCollateralEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolReserveUsedAsCollateralEnabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolSession

type V3PoolSession struct {
	Contract     *V3Pool           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

V3PoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*V3PoolSession) ADDRESSESPROVIDER

func (_V3Pool *V3PoolSession) ADDRESSESPROVIDER() (common.Address, error)

ADDRESSESPROVIDER is a free data retrieval call binding the contract method 0x0542975c.

Solidity: function ADDRESSES_PROVIDER() view returns(address)

func (*V3PoolSession) BRIDGEPROTOCOLFEE

func (_V3Pool *V3PoolSession) BRIDGEPROTOCOLFEE() (*big.Int, error)

BRIDGEPROTOCOLFEE is a free data retrieval call binding the contract method 0x272d9072.

Solidity: function BRIDGE_PROTOCOL_FEE() view returns(uint256)

func (*V3PoolSession) BackUnbacked

func (_V3Pool *V3PoolSession) BackUnbacked(asset common.Address, amount *big.Int, fee *big.Int) (*types.Transaction, error)

BackUnbacked is a paid mutator transaction binding the contract method 0xd65dc7a1.

Solidity: function backUnbacked(address asset, uint256 amount, uint256 fee) returns(uint256)

func (*V3PoolSession) Borrow

func (_V3Pool *V3PoolSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xa415bcad.

Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()

func (*V3PoolSession) ConfigureEModeCategory

func (_V3Pool *V3PoolSession) ConfigureEModeCategory(id uint8, category V3DataTypesEModeCategory) (*types.Transaction, error)

ConfigureEModeCategory is a paid mutator transaction binding the contract method 0xd579ea7d.

Solidity: function configureEModeCategory(uint8 id, (uint16,uint16,uint16,address,string) category) returns()

func (*V3PoolSession) Deposit

func (_V3Pool *V3PoolSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.

Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolSession) DropReserve

func (_V3Pool *V3PoolSession) DropReserve(asset common.Address) (*types.Transaction, error)

DropReserve is a paid mutator transaction binding the contract method 0x63c9b860.

Solidity: function dropReserve(address asset) returns()

func (*V3PoolSession) FLASHLOANPREMIUMTOPROTOCOL

func (_V3Pool *V3PoolSession) FLASHLOANPREMIUMTOPROTOCOL() (*big.Int, error)

FLASHLOANPREMIUMTOPROTOCOL is a free data retrieval call binding the contract method 0x6a99c036.

Solidity: function FLASHLOAN_PREMIUM_TO_PROTOCOL() view returns(uint128)

func (*V3PoolSession) FLASHLOANPREMIUMTOTAL

func (_V3Pool *V3PoolSession) FLASHLOANPREMIUMTOTAL() (*big.Int, error)

FLASHLOANPREMIUMTOTAL is a free data retrieval call binding the contract method 0x074b2e43.

Solidity: function FLASHLOAN_PREMIUM_TOTAL() view returns(uint128)

func (*V3PoolSession) FinalizeTransfer

func (_V3Pool *V3PoolSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)

FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.

Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()

func (*V3PoolSession) FlashLoan

func (_V3Pool *V3PoolSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, interestRateModes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.

Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] interestRateModes, address onBehalfOf, bytes params, uint16 referralCode) returns()

func (*V3PoolSession) FlashLoanSimple

func (_V3Pool *V3PoolSession) FlashLoanSimple(receiverAddress common.Address, asset common.Address, amount *big.Int, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoanSimple is a paid mutator transaction binding the contract method 0x42b0b77c.

Solidity: function flashLoanSimple(address receiverAddress, address asset, uint256 amount, bytes params, uint16 referralCode) returns()

func (*V3PoolSession) GetConfiguration

func (_V3Pool *V3PoolSession) GetConfiguration(asset common.Address) (V3DataTypesReserveConfigurationMap, error)

GetConfiguration is a free data retrieval call binding the contract method 0xc44b11f7.

Solidity: function getConfiguration(address asset) view returns((uint256))

func (*V3PoolSession) GetEModeCategoryData

func (_V3Pool *V3PoolSession) GetEModeCategoryData(id uint8) (V3DataTypesEModeCategory, error)

GetEModeCategoryData is a free data retrieval call binding the contract method 0x6c6f6ae1.

Solidity: function getEModeCategoryData(uint8 id) view returns((uint16,uint16,uint16,address,string))

func (*V3PoolSession) GetReserveAddressById

func (_V3Pool *V3PoolSession) GetReserveAddressById(id uint16) (common.Address, error)

GetReserveAddressById is a free data retrieval call binding the contract method 0x52751797.

Solidity: function getReserveAddressById(uint16 id) view returns(address)

func (*V3PoolSession) GetReserveData

func (_V3Pool *V3PoolSession) GetReserveData(asset common.Address) (V3DataTypesReserveData, error)

GetReserveData is a free data retrieval call binding the contract method 0x35ea6a75.

Solidity: function getReserveData(address asset) view returns(((uint256),uint128,uint128,uint128,uint128,uint128,uint40,uint16,address,address,address,address,uint128,uint128,uint128))

func (*V3PoolSession) GetReserveNormalizedIncome

func (_V3Pool *V3PoolSession) GetReserveNormalizedIncome(asset common.Address) (*big.Int, error)

GetReserveNormalizedIncome is a free data retrieval call binding the contract method 0xd15e0053.

Solidity: function getReserveNormalizedIncome(address asset) view returns(uint256)

func (*V3PoolSession) GetReserveNormalizedVariableDebt

func (_V3Pool *V3PoolSession) GetReserveNormalizedVariableDebt(asset common.Address) (*big.Int, error)

GetReserveNormalizedVariableDebt is a free data retrieval call binding the contract method 0x386497fd.

Solidity: function getReserveNormalizedVariableDebt(address asset) view returns(uint256)

func (*V3PoolSession) GetReservesList

func (_V3Pool *V3PoolSession) GetReservesList() ([]common.Address, error)

GetReservesList is a free data retrieval call binding the contract method 0xd1946dbc.

Solidity: function getReservesList() view returns(address[])

func (*V3PoolSession) GetUserAccountData

func (_V3Pool *V3PoolSession) GetUserAccountData(user common.Address) (struct {
	TotalCollateralBase         *big.Int
	TotalDebtBase               *big.Int
	AvailableBorrowsBase        *big.Int
	CurrentLiquidationThreshold *big.Int
	Ltv                         *big.Int
	HealthFactor                *big.Int
}, error)

GetUserAccountData is a free data retrieval call binding the contract method 0xbf92857c.

Solidity: function getUserAccountData(address user) view returns(uint256 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)

func (*V3PoolSession) GetUserConfiguration

func (_V3Pool *V3PoolSession) GetUserConfiguration(user common.Address) (V3DataTypesUserConfigurationMap, error)

GetUserConfiguration is a free data retrieval call binding the contract method 0x4417a583.

Solidity: function getUserConfiguration(address user) view returns((uint256))

func (*V3PoolSession) GetUserEMode

func (_V3Pool *V3PoolSession) GetUserEMode(user common.Address) (*big.Int, error)

GetUserEMode is a free data retrieval call binding the contract method 0xeddf1b79.

Solidity: function getUserEMode(address user) view returns(uint256)

func (*V3PoolSession) InitReserve

func (_V3Pool *V3PoolSession) InitReserve(asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)

InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.

Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()

func (*V3PoolSession) Initialize

func (_V3Pool *V3PoolSession) Initialize(provider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address provider) returns()

func (*V3PoolSession) LiquidationCall

func (_V3Pool *V3PoolSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()

func (*V3PoolSession) MAXNUMBERRESERVES

func (_V3Pool *V3PoolSession) MAXNUMBERRESERVES() (uint16, error)

MAXNUMBERRESERVES is a free data retrieval call binding the contract method 0xf8119d51.

Solidity: function MAX_NUMBER_RESERVES() view returns(uint16)

func (*V3PoolSession) MAXSTABLERATEBORROWSIZEPERCENT

func (_V3Pool *V3PoolSession) MAXSTABLERATEBORROWSIZEPERCENT() (*big.Int, error)

MAXSTABLERATEBORROWSIZEPERCENT is a free data retrieval call binding the contract method 0xe82fec2f.

Solidity: function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() view returns(uint256)

func (*V3PoolSession) MintToTreasury

func (_V3Pool *V3PoolSession) MintToTreasury(assets []common.Address) (*types.Transaction, error)

MintToTreasury is a paid mutator transaction binding the contract method 0x9cd19996.

Solidity: function mintToTreasury(address[] assets) returns()

func (*V3PoolSession) MintUnbacked

func (_V3Pool *V3PoolSession) MintUnbacked(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

MintUnbacked is a paid mutator transaction binding the contract method 0x69a933a5.

Solidity: function mintUnbacked(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolSession) POOLREVISION

func (_V3Pool *V3PoolSession) POOLREVISION() (*big.Int, error)

POOLREVISION is a free data retrieval call binding the contract method 0x0148170e.

Solidity: function POOL_REVISION() view returns(uint256)

func (*V3PoolSession) RebalanceStableBorrowRate

func (_V3Pool *V3PoolSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()

func (*V3PoolSession) Repay

func (_V3Pool *V3PoolSession) Repay(asset common.Address, amount *big.Int, interestRateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x573ade81.

Solidity: function repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf) returns(uint256)

func (*V3PoolSession) RepayWithATokens

func (_V3Pool *V3PoolSession) RepayWithATokens(asset common.Address, amount *big.Int, interestRateMode *big.Int) (*types.Transaction, error)

RepayWithATokens is a paid mutator transaction binding the contract method 0x2dad97d4.

Solidity: function repayWithATokens(address asset, uint256 amount, uint256 interestRateMode) returns(uint256)

func (*V3PoolSession) RepayWithPermit

func (_V3Pool *V3PoolSession) RepayWithPermit(asset common.Address, amount *big.Int, interestRateMode *big.Int, onBehalfOf common.Address, deadline *big.Int, permitV uint8, permitR [32]byte, permitS [32]byte) (*types.Transaction, error)

RepayWithPermit is a paid mutator transaction binding the contract method 0xee3e210b.

Solidity: function repayWithPermit(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf, uint256 deadline, uint8 permitV, bytes32 permitR, bytes32 permitS) returns(uint256)

func (*V3PoolSession) RescueTokens

func (_V3Pool *V3PoolSession) RescueTokens(token common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

RescueTokens is a paid mutator transaction binding the contract method 0xcea9d26f.

Solidity: function rescueTokens(address token, address to, uint256 amount) returns()

func (*V3PoolSession) ResetIsolationModeTotalDebt

func (_V3Pool *V3PoolSession) ResetIsolationModeTotalDebt(asset common.Address) (*types.Transaction, error)

ResetIsolationModeTotalDebt is a paid mutator transaction binding the contract method 0xe43e88a1.

Solidity: function resetIsolationModeTotalDebt(address asset) returns()

func (*V3PoolSession) SetConfiguration

func (_V3Pool *V3PoolSession) SetConfiguration(asset common.Address, configuration V3DataTypesReserveConfigurationMap) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0xf51e435b.

Solidity: function setConfiguration(address asset, (uint256) configuration) returns()

func (*V3PoolSession) SetReserveInterestRateStrategyAddress

func (_V3Pool *V3PoolSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.

Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()

func (*V3PoolSession) SetUserEMode

func (_V3Pool *V3PoolSession) SetUserEMode(categoryId uint8) (*types.Transaction, error)

SetUserEMode is a paid mutator transaction binding the contract method 0x28530a47.

Solidity: function setUserEMode(uint8 categoryId) returns()

func (*V3PoolSession) SetUserUseReserveAsCollateral

func (_V3Pool *V3PoolSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()

func (*V3PoolSession) Supply

func (_V3Pool *V3PoolSession) Supply(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Supply is a paid mutator transaction binding the contract method 0x617ba037.

Solidity: function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolSession) SupplyWithPermit

func (_V3Pool *V3PoolSession) SupplyWithPermit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16, deadline *big.Int, permitV uint8, permitR [32]byte, permitS [32]byte) (*types.Transaction, error)

SupplyWithPermit is a paid mutator transaction binding the contract method 0x02c205f0.

Solidity: function supplyWithPermit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode, uint256 deadline, uint8 permitV, bytes32 permitR, bytes32 permitS) returns()

func (*V3PoolSession) SwapBorrowRateMode

func (_V3Pool *V3PoolSession) SwapBorrowRateMode(asset common.Address, interestRateMode *big.Int) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.

Solidity: function swapBorrowRateMode(address asset, uint256 interestRateMode) returns()

func (*V3PoolSession) UpdateBridgeProtocolFee

func (_V3Pool *V3PoolSession) UpdateBridgeProtocolFee(protocolFee *big.Int) (*types.Transaction, error)

UpdateBridgeProtocolFee is a paid mutator transaction binding the contract method 0x3036b439.

Solidity: function updateBridgeProtocolFee(uint256 protocolFee) returns()

func (*V3PoolSession) UpdateFlashloanPremiums

func (_V3Pool *V3PoolSession) UpdateFlashloanPremiums(flashLoanPremiumTotal *big.Int, flashLoanPremiumToProtocol *big.Int) (*types.Transaction, error)

UpdateFlashloanPremiums is a paid mutator transaction binding the contract method 0xbcb6e522.

Solidity: function updateFlashloanPremiums(uint128 flashLoanPremiumTotal, uint128 flashLoanPremiumToProtocol) returns()

func (*V3PoolSession) Withdraw

func (_V3Pool *V3PoolSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)

type V3PoolSupply

type V3PoolSupply struct {
	Reserve      common.Address
	User         common.Address
	OnBehalfOf   common.Address
	Amount       *big.Int
	ReferralCode uint16
	Raw          types.Log // Blockchain specific contextual infos
}

V3PoolSupply represents a Supply event raised by the V3Pool contract.

type V3PoolSupplyIterator

type V3PoolSupplyIterator struct {
	Event *V3PoolSupply // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolSupplyIterator is returned from FilterSupply and is used to iterate over the raw logs and unpacked data for Supply events raised by the V3Pool contract.

func (*V3PoolSupplyIterator) Close

func (it *V3PoolSupplyIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolSupplyIterator) Error

func (it *V3PoolSupplyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolSupplyIterator) Next

func (it *V3PoolSupplyIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolSwapBorrowRateMode

type V3PoolSwapBorrowRateMode struct {
	Reserve          common.Address
	User             common.Address
	InterestRateMode uint8
	Raw              types.Log // Blockchain specific contextual infos
}

V3PoolSwapBorrowRateMode represents a SwapBorrowRateMode event raised by the V3Pool contract.

type V3PoolSwapBorrowRateModeIterator

type V3PoolSwapBorrowRateModeIterator struct {
	Event *V3PoolSwapBorrowRateMode // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolSwapBorrowRateModeIterator is returned from FilterSwapBorrowRateMode and is used to iterate over the raw logs and unpacked data for SwapBorrowRateMode events raised by the V3Pool contract.

func (*V3PoolSwapBorrowRateModeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolSwapBorrowRateModeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolSwapBorrowRateModeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolTransactor

type V3PoolTransactor struct {
	// contains filtered or unexported fields
}

V3PoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewV3PoolTransactor

func NewV3PoolTransactor(address common.Address, transactor bind.ContractTransactor) (*V3PoolTransactor, error)

NewV3PoolTransactor creates a new write-only instance of V3Pool, bound to a specific deployed contract.

func (*V3PoolTransactor) BackUnbacked

func (_V3Pool *V3PoolTransactor) BackUnbacked(opts *bind.TransactOpts, asset common.Address, amount *big.Int, fee *big.Int) (*types.Transaction, error)

BackUnbacked is a paid mutator transaction binding the contract method 0xd65dc7a1.

Solidity: function backUnbacked(address asset, uint256 amount, uint256 fee) returns(uint256)

func (*V3PoolTransactor) Borrow

func (_V3Pool *V3PoolTransactor) Borrow(opts *bind.TransactOpts, asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xa415bcad.

Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()

func (*V3PoolTransactor) ConfigureEModeCategory

func (_V3Pool *V3PoolTransactor) ConfigureEModeCategory(opts *bind.TransactOpts, id uint8, category V3DataTypesEModeCategory) (*types.Transaction, error)

ConfigureEModeCategory is a paid mutator transaction binding the contract method 0xd579ea7d.

Solidity: function configureEModeCategory(uint8 id, (uint16,uint16,uint16,address,string) category) returns()

func (*V3PoolTransactor) Deposit

func (_V3Pool *V3PoolTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.

Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolTransactor) DropReserve

func (_V3Pool *V3PoolTransactor) DropReserve(opts *bind.TransactOpts, asset common.Address) (*types.Transaction, error)

DropReserve is a paid mutator transaction binding the contract method 0x63c9b860.

Solidity: function dropReserve(address asset) returns()

func (*V3PoolTransactor) FinalizeTransfer

func (_V3Pool *V3PoolTransactor) FinalizeTransfer(opts *bind.TransactOpts, asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)

FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.

Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()

func (*V3PoolTransactor) FlashLoan

func (_V3Pool *V3PoolTransactor) FlashLoan(opts *bind.TransactOpts, receiverAddress common.Address, assets []common.Address, amounts []*big.Int, interestRateModes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.

Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] interestRateModes, address onBehalfOf, bytes params, uint16 referralCode) returns()

func (*V3PoolTransactor) FlashLoanSimple

func (_V3Pool *V3PoolTransactor) FlashLoanSimple(opts *bind.TransactOpts, receiverAddress common.Address, asset common.Address, amount *big.Int, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoanSimple is a paid mutator transaction binding the contract method 0x42b0b77c.

Solidity: function flashLoanSimple(address receiverAddress, address asset, uint256 amount, bytes params, uint16 referralCode) returns()

func (*V3PoolTransactor) InitReserve

func (_V3Pool *V3PoolTransactor) InitReserve(opts *bind.TransactOpts, asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)

InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.

Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()

func (*V3PoolTransactor) Initialize

func (_V3Pool *V3PoolTransactor) Initialize(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address provider) returns()

func (*V3PoolTransactor) LiquidationCall

func (_V3Pool *V3PoolTransactor) LiquidationCall(opts *bind.TransactOpts, collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()

func (*V3PoolTransactor) MintToTreasury

func (_V3Pool *V3PoolTransactor) MintToTreasury(opts *bind.TransactOpts, assets []common.Address) (*types.Transaction, error)

MintToTreasury is a paid mutator transaction binding the contract method 0x9cd19996.

Solidity: function mintToTreasury(address[] assets) returns()

func (*V3PoolTransactor) MintUnbacked

func (_V3Pool *V3PoolTransactor) MintUnbacked(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

MintUnbacked is a paid mutator transaction binding the contract method 0x69a933a5.

Solidity: function mintUnbacked(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolTransactor) RebalanceStableBorrowRate

func (_V3Pool *V3PoolTransactor) RebalanceStableBorrowRate(opts *bind.TransactOpts, asset common.Address, user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()

func (*V3PoolTransactor) Repay

func (_V3Pool *V3PoolTransactor) Repay(opts *bind.TransactOpts, asset common.Address, amount *big.Int, interestRateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x573ade81.

Solidity: function repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf) returns(uint256)

func (*V3PoolTransactor) RepayWithATokens

func (_V3Pool *V3PoolTransactor) RepayWithATokens(opts *bind.TransactOpts, asset common.Address, amount *big.Int, interestRateMode *big.Int) (*types.Transaction, error)

RepayWithATokens is a paid mutator transaction binding the contract method 0x2dad97d4.

Solidity: function repayWithATokens(address asset, uint256 amount, uint256 interestRateMode) returns(uint256)

func (*V3PoolTransactor) RepayWithPermit

func (_V3Pool *V3PoolTransactor) RepayWithPermit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, interestRateMode *big.Int, onBehalfOf common.Address, deadline *big.Int, permitV uint8, permitR [32]byte, permitS [32]byte) (*types.Transaction, error)

RepayWithPermit is a paid mutator transaction binding the contract method 0xee3e210b.

Solidity: function repayWithPermit(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf, uint256 deadline, uint8 permitV, bytes32 permitR, bytes32 permitS) returns(uint256)

func (*V3PoolTransactor) RescueTokens

func (_V3Pool *V3PoolTransactor) RescueTokens(opts *bind.TransactOpts, token common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

RescueTokens is a paid mutator transaction binding the contract method 0xcea9d26f.

Solidity: function rescueTokens(address token, address to, uint256 amount) returns()

func (*V3PoolTransactor) ResetIsolationModeTotalDebt

func (_V3Pool *V3PoolTransactor) ResetIsolationModeTotalDebt(opts *bind.TransactOpts, asset common.Address) (*types.Transaction, error)

ResetIsolationModeTotalDebt is a paid mutator transaction binding the contract method 0xe43e88a1.

Solidity: function resetIsolationModeTotalDebt(address asset) returns()

func (*V3PoolTransactor) SetConfiguration

func (_V3Pool *V3PoolTransactor) SetConfiguration(opts *bind.TransactOpts, asset common.Address, configuration V3DataTypesReserveConfigurationMap) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0xf51e435b.

Solidity: function setConfiguration(address asset, (uint256) configuration) returns()

func (*V3PoolTransactor) SetReserveInterestRateStrategyAddress

func (_V3Pool *V3PoolTransactor) SetReserveInterestRateStrategyAddress(opts *bind.TransactOpts, asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.

Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()

func (*V3PoolTransactor) SetUserEMode

func (_V3Pool *V3PoolTransactor) SetUserEMode(opts *bind.TransactOpts, categoryId uint8) (*types.Transaction, error)

SetUserEMode is a paid mutator transaction binding the contract method 0x28530a47.

Solidity: function setUserEMode(uint8 categoryId) returns()

func (*V3PoolTransactor) SetUserUseReserveAsCollateral

func (_V3Pool *V3PoolTransactor) SetUserUseReserveAsCollateral(opts *bind.TransactOpts, asset common.Address, useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()

func (*V3PoolTransactor) Supply

func (_V3Pool *V3PoolTransactor) Supply(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Supply is a paid mutator transaction binding the contract method 0x617ba037.

Solidity: function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolTransactor) SupplyWithPermit

func (_V3Pool *V3PoolTransactor) SupplyWithPermit(opts *bind.TransactOpts, asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16, deadline *big.Int, permitV uint8, permitR [32]byte, permitS [32]byte) (*types.Transaction, error)

SupplyWithPermit is a paid mutator transaction binding the contract method 0x02c205f0.

Solidity: function supplyWithPermit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode, uint256 deadline, uint8 permitV, bytes32 permitR, bytes32 permitS) returns()

func (*V3PoolTransactor) SwapBorrowRateMode

func (_V3Pool *V3PoolTransactor) SwapBorrowRateMode(opts *bind.TransactOpts, asset common.Address, interestRateMode *big.Int) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.

Solidity: function swapBorrowRateMode(address asset, uint256 interestRateMode) returns()

func (*V3PoolTransactor) UpdateBridgeProtocolFee

func (_V3Pool *V3PoolTransactor) UpdateBridgeProtocolFee(opts *bind.TransactOpts, protocolFee *big.Int) (*types.Transaction, error)

UpdateBridgeProtocolFee is a paid mutator transaction binding the contract method 0x3036b439.

Solidity: function updateBridgeProtocolFee(uint256 protocolFee) returns()

func (*V3PoolTransactor) UpdateFlashloanPremiums

func (_V3Pool *V3PoolTransactor) UpdateFlashloanPremiums(opts *bind.TransactOpts, flashLoanPremiumTotal *big.Int, flashLoanPremiumToProtocol *big.Int) (*types.Transaction, error)

UpdateFlashloanPremiums is a paid mutator transaction binding the contract method 0xbcb6e522.

Solidity: function updateFlashloanPremiums(uint128 flashLoanPremiumTotal, uint128 flashLoanPremiumToProtocol) returns()

func (*V3PoolTransactor) Withdraw

func (_V3Pool *V3PoolTransactor) Withdraw(opts *bind.TransactOpts, asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)

type V3PoolTransactorRaw

type V3PoolTransactorRaw struct {
	Contract *V3PoolTransactor // Generic write-only contract binding to access the raw methods on
}

V3PoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*V3PoolTransactorRaw) Transact

func (_V3Pool *V3PoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V3PoolTransactorRaw) Transfer

func (_V3Pool *V3PoolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V3PoolTransactorSession

type V3PoolTransactorSession struct {
	Contract     *V3PoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

V3PoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*V3PoolTransactorSession) BackUnbacked

func (_V3Pool *V3PoolTransactorSession) BackUnbacked(asset common.Address, amount *big.Int, fee *big.Int) (*types.Transaction, error)

BackUnbacked is a paid mutator transaction binding the contract method 0xd65dc7a1.

Solidity: function backUnbacked(address asset, uint256 amount, uint256 fee) returns(uint256)

func (*V3PoolTransactorSession) Borrow

func (_V3Pool *V3PoolTransactorSession) Borrow(asset common.Address, amount *big.Int, interestRateMode *big.Int, referralCode uint16, onBehalfOf common.Address) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0xa415bcad.

Solidity: function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf) returns()

func (*V3PoolTransactorSession) ConfigureEModeCategory

func (_V3Pool *V3PoolTransactorSession) ConfigureEModeCategory(id uint8, category V3DataTypesEModeCategory) (*types.Transaction, error)

ConfigureEModeCategory is a paid mutator transaction binding the contract method 0xd579ea7d.

Solidity: function configureEModeCategory(uint8 id, (uint16,uint16,uint16,address,string) category) returns()

func (*V3PoolTransactorSession) Deposit

func (_V3Pool *V3PoolTransactorSession) Deposit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe8eda9df.

Solidity: function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolTransactorSession) DropReserve

func (_V3Pool *V3PoolTransactorSession) DropReserve(asset common.Address) (*types.Transaction, error)

DropReserve is a paid mutator transaction binding the contract method 0x63c9b860.

Solidity: function dropReserve(address asset) returns()

func (*V3PoolTransactorSession) FinalizeTransfer

func (_V3Pool *V3PoolTransactorSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) (*types.Transaction, error)

FinalizeTransfer is a paid mutator transaction binding the contract method 0xd5ed3933.

Solidity: function finalizeTransfer(address asset, address from, address to, uint256 amount, uint256 balanceFromBefore, uint256 balanceToBefore) returns()

func (*V3PoolTransactorSession) FlashLoan

func (_V3Pool *V3PoolTransactorSession) FlashLoan(receiverAddress common.Address, assets []common.Address, amounts []*big.Int, interestRateModes []*big.Int, onBehalfOf common.Address, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0xab9c4b5d.

Solidity: function flashLoan(address receiverAddress, address[] assets, uint256[] amounts, uint256[] interestRateModes, address onBehalfOf, bytes params, uint16 referralCode) returns()

func (*V3PoolTransactorSession) FlashLoanSimple

func (_V3Pool *V3PoolTransactorSession) FlashLoanSimple(receiverAddress common.Address, asset common.Address, amount *big.Int, params []byte, referralCode uint16) (*types.Transaction, error)

FlashLoanSimple is a paid mutator transaction binding the contract method 0x42b0b77c.

Solidity: function flashLoanSimple(address receiverAddress, address asset, uint256 amount, bytes params, uint16 referralCode) returns()

func (*V3PoolTransactorSession) InitReserve

func (_V3Pool *V3PoolTransactorSession) InitReserve(asset common.Address, aTokenAddress common.Address, stableDebtAddress common.Address, variableDebtAddress common.Address, interestRateStrategyAddress common.Address) (*types.Transaction, error)

InitReserve is a paid mutator transaction binding the contract method 0x7a708e92.

Solidity: function initReserve(address asset, address aTokenAddress, address stableDebtAddress, address variableDebtAddress, address interestRateStrategyAddress) returns()

func (*V3PoolTransactorSession) Initialize

func (_V3Pool *V3PoolTransactorSession) Initialize(provider common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address provider) returns()

func (*V3PoolTransactorSession) LiquidationCall

func (_V3Pool *V3PoolTransactorSession) LiquidationCall(collateralAsset common.Address, debtAsset common.Address, user common.Address, debtToCover *big.Int, receiveAToken bool) (*types.Transaction, error)

LiquidationCall is a paid mutator transaction binding the contract method 0x00a718a9.

Solidity: function liquidationCall(address collateralAsset, address debtAsset, address user, uint256 debtToCover, bool receiveAToken) returns()

func (*V3PoolTransactorSession) MintToTreasury

func (_V3Pool *V3PoolTransactorSession) MintToTreasury(assets []common.Address) (*types.Transaction, error)

MintToTreasury is a paid mutator transaction binding the contract method 0x9cd19996.

Solidity: function mintToTreasury(address[] assets) returns()

func (*V3PoolTransactorSession) MintUnbacked

func (_V3Pool *V3PoolTransactorSession) MintUnbacked(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

MintUnbacked is a paid mutator transaction binding the contract method 0x69a933a5.

Solidity: function mintUnbacked(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolTransactorSession) RebalanceStableBorrowRate

func (_V3Pool *V3PoolTransactorSession) RebalanceStableBorrowRate(asset common.Address, user common.Address) (*types.Transaction, error)

RebalanceStableBorrowRate is a paid mutator transaction binding the contract method 0xcd112382.

Solidity: function rebalanceStableBorrowRate(address asset, address user) returns()

func (*V3PoolTransactorSession) Repay

func (_V3Pool *V3PoolTransactorSession) Repay(asset common.Address, amount *big.Int, interestRateMode *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Repay is a paid mutator transaction binding the contract method 0x573ade81.

Solidity: function repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf) returns(uint256)

func (*V3PoolTransactorSession) RepayWithATokens

func (_V3Pool *V3PoolTransactorSession) RepayWithATokens(asset common.Address, amount *big.Int, interestRateMode *big.Int) (*types.Transaction, error)

RepayWithATokens is a paid mutator transaction binding the contract method 0x2dad97d4.

Solidity: function repayWithATokens(address asset, uint256 amount, uint256 interestRateMode) returns(uint256)

func (*V3PoolTransactorSession) RepayWithPermit

func (_V3Pool *V3PoolTransactorSession) RepayWithPermit(asset common.Address, amount *big.Int, interestRateMode *big.Int, onBehalfOf common.Address, deadline *big.Int, permitV uint8, permitR [32]byte, permitS [32]byte) (*types.Transaction, error)

RepayWithPermit is a paid mutator transaction binding the contract method 0xee3e210b.

Solidity: function repayWithPermit(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf, uint256 deadline, uint8 permitV, bytes32 permitR, bytes32 permitS) returns(uint256)

func (*V3PoolTransactorSession) RescueTokens

func (_V3Pool *V3PoolTransactorSession) RescueTokens(token common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

RescueTokens is a paid mutator transaction binding the contract method 0xcea9d26f.

Solidity: function rescueTokens(address token, address to, uint256 amount) returns()

func (*V3PoolTransactorSession) ResetIsolationModeTotalDebt

func (_V3Pool *V3PoolTransactorSession) ResetIsolationModeTotalDebt(asset common.Address) (*types.Transaction, error)

ResetIsolationModeTotalDebt is a paid mutator transaction binding the contract method 0xe43e88a1.

Solidity: function resetIsolationModeTotalDebt(address asset) returns()

func (*V3PoolTransactorSession) SetConfiguration

func (_V3Pool *V3PoolTransactorSession) SetConfiguration(asset common.Address, configuration V3DataTypesReserveConfigurationMap) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0xf51e435b.

Solidity: function setConfiguration(address asset, (uint256) configuration) returns()

func (*V3PoolTransactorSession) SetReserveInterestRateStrategyAddress

func (_V3Pool *V3PoolTransactorSession) SetReserveInterestRateStrategyAddress(asset common.Address, rateStrategyAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateStrategyAddress is a paid mutator transaction binding the contract method 0x1d2118f9.

Solidity: function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) returns()

func (*V3PoolTransactorSession) SetUserEMode

func (_V3Pool *V3PoolTransactorSession) SetUserEMode(categoryId uint8) (*types.Transaction, error)

SetUserEMode is a paid mutator transaction binding the contract method 0x28530a47.

Solidity: function setUserEMode(uint8 categoryId) returns()

func (*V3PoolTransactorSession) SetUserUseReserveAsCollateral

func (_V3Pool *V3PoolTransactorSession) SetUserUseReserveAsCollateral(asset common.Address, useAsCollateral bool) (*types.Transaction, error)

SetUserUseReserveAsCollateral is a paid mutator transaction binding the contract method 0x5a3b74b9.

Solidity: function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) returns()

func (*V3PoolTransactorSession) Supply

func (_V3Pool *V3PoolTransactorSession) Supply(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

Supply is a paid mutator transaction binding the contract method 0x617ba037.

Solidity: function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) returns()

func (*V3PoolTransactorSession) SupplyWithPermit

func (_V3Pool *V3PoolTransactorSession) SupplyWithPermit(asset common.Address, amount *big.Int, onBehalfOf common.Address, referralCode uint16, deadline *big.Int, permitV uint8, permitR [32]byte, permitS [32]byte) (*types.Transaction, error)

SupplyWithPermit is a paid mutator transaction binding the contract method 0x02c205f0.

Solidity: function supplyWithPermit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode, uint256 deadline, uint8 permitV, bytes32 permitR, bytes32 permitS) returns()

func (*V3PoolTransactorSession) SwapBorrowRateMode

func (_V3Pool *V3PoolTransactorSession) SwapBorrowRateMode(asset common.Address, interestRateMode *big.Int) (*types.Transaction, error)

SwapBorrowRateMode is a paid mutator transaction binding the contract method 0x94ba89a2.

Solidity: function swapBorrowRateMode(address asset, uint256 interestRateMode) returns()

func (*V3PoolTransactorSession) UpdateBridgeProtocolFee

func (_V3Pool *V3PoolTransactorSession) UpdateBridgeProtocolFee(protocolFee *big.Int) (*types.Transaction, error)

UpdateBridgeProtocolFee is a paid mutator transaction binding the contract method 0x3036b439.

Solidity: function updateBridgeProtocolFee(uint256 protocolFee) returns()

func (*V3PoolTransactorSession) UpdateFlashloanPremiums

func (_V3Pool *V3PoolTransactorSession) UpdateFlashloanPremiums(flashLoanPremiumTotal *big.Int, flashLoanPremiumToProtocol *big.Int) (*types.Transaction, error)

UpdateFlashloanPremiums is a paid mutator transaction binding the contract method 0xbcb6e522.

Solidity: function updateFlashloanPremiums(uint128 flashLoanPremiumTotal, uint128 flashLoanPremiumToProtocol) returns()

func (*V3PoolTransactorSession) Withdraw

func (_V3Pool *V3PoolTransactorSession) Withdraw(asset common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(address asset, uint256 amount, address to) returns(uint256)

type V3PoolUserEModeSet

type V3PoolUserEModeSet struct {
	User       common.Address
	CategoryId uint8
	Raw        types.Log // Blockchain specific contextual infos
}

V3PoolUserEModeSet represents a UserEModeSet event raised by the V3Pool contract.

type V3PoolUserEModeSetIterator

type V3PoolUserEModeSetIterator struct {
	Event *V3PoolUserEModeSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolUserEModeSetIterator is returned from FilterUserEModeSet and is used to iterate over the raw logs and unpacked data for UserEModeSet events raised by the V3Pool contract.

func (*V3PoolUserEModeSetIterator) Close

func (it *V3PoolUserEModeSetIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolUserEModeSetIterator) Error

func (it *V3PoolUserEModeSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolUserEModeSetIterator) Next

func (it *V3PoolUserEModeSetIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V3PoolWithdraw

type V3PoolWithdraw struct {
	Reserve common.Address
	User    common.Address
	To      common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

V3PoolWithdraw represents a Withdraw event raised by the V3Pool contract.

type V3PoolWithdrawIterator

type V3PoolWithdrawIterator struct {
	Event *V3PoolWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V3PoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the V3Pool contract.

func (*V3PoolWithdrawIterator) Close

func (it *V3PoolWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*V3PoolWithdrawIterator) Error

func (it *V3PoolWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*V3PoolWithdrawIterator) Next

func (it *V3PoolWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL