benddao

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressBendExchange = common.HexToAddress("0x7e832eC8ad6F66E6C9ECE63acD94516Dd7fC537A")
	AddressLendPool     = common.HexToAddress("0x70b97A0da65C15dfb0FFA02aEE6FA36e507C2762")

	EventTakerAsk = contract.EventHash("TakerAsk(bytes32,uint256,address,address,address,address,address,uint256,uint256,uint256)")
	EventTakerBid = contract.EventHash("TakerBid(bytes32,uint256,address,address,address,address,address,uint256,uint256,uint256)")

	EventDeposit   = contract.EventHash("Deposit(address,address,uint256,address,uint16)")
	EventWithdraw  = contract.EventHash("Withdraw(address,address,uint256,address)")
	EventBorrow    = contract.EventHash("Borrow(address,address,uint256,address,uint256,address,uint256,uint256,uint16)")
	EventRepay     = contract.EventHash("Repay(address,address,uint256,address,uint256,address,uint256)")
	EventAuction   = contract.EventHash("Auction(address,address,uint256,address,uint256,address,address,uint256)")
	EventRedeem    = contract.EventHash("Redeem(address,address,uint256,uint256,address,uint256,address,uint256)")
	EventLiquidate = contract.EventHash("Liquidate(address,address,uint256,uint256,address,uint256,address,uint256)")
)
View Source
var BendExchangeABI = BendExchangeMetaData.ABI

BendExchangeABI is the input ABI used to generate the binding from. Deprecated: Use BendExchangeMetaData.ABI instead.

View Source
var BendExchangeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_interceptorManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_transferManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currencyManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_executionManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_royaltyFeeManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_protocolFeeRecipient\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newMinNonce\",\"type\":\"uint256\"}],\"name\":\"CancelAllOrders\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"orderNonces\",\"type\":\"uint256[]\"}],\"name\":\"CancelMultipleOrders\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"authorizationManager\",\"type\":\"address\"}],\"name\":\"NewAuthorizationManager\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"currencyManager\",\"type\":\"address\"}],\"name\":\"NewCurrencyManager\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executionManager\",\"type\":\"address\"}],\"name\":\"NewExecutionManager\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"interceptorManager\",\"type\":\"address\"}],\"name\":\"NewInterceptorManager\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeRecipient\",\"type\":\"address\"}],\"name\":\"NewProtocolFeeRecipient\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"royaltyFeeManager\",\"type\":\"address\"}],\"name\":\"NewRoyaltyFeeManager\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transferManager\",\"type\":\"address\"}],\"name\":\"NewTransferManager\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeRecipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ProtocolFeePayment\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"royaltyRecipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RoyaltyPayment\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"makerOrderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"orderNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"TakerAsk\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"makerOrderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"orderNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"TakerBid\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NAME\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"authorizationManager\",\"outputs\":[{\"internalType\":\"contractIAuthorizationManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minNonce\",\"type\":\"uint256\"}],\"name\":\"cancelAllOrdersForSender\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"orderNonces\",\"type\":\"uint256[]\"}],\"name\":\"cancelMultipleMakerOrders\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currencyManager\",\"outputs\":[{\"internalType\":\"contractICurrencyManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executionManager\",\"outputs\":[{\"internalType\":\"contractIExecutionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interceptorManager\",\"outputs\":[{\"internalType\":\"contractIInterceptorManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"orderNonce\",\"type\":\"uint256\"}],\"name\":\"isUserOrderNonceExecutedOrCancelled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOrderAsk\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPercentageToAsk\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"interceptor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"interceptorExtra\",\"type\":\"bytes\"}],\"internalType\":\"structOrderTypes.TakerOrder\",\"name\":\"takerBid\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOrderAsk\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPercentageToAsk\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"interceptor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"interceptorExtra\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structOrderTypes.MakerOrder\",\"name\":\"makerAsk\",\"type\":\"tuple\"}],\"name\":\"matchAskWithTakerBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOrderAsk\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPercentageToAsk\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"interceptor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"interceptorExtra\",\"type\":\"bytes\"}],\"internalType\":\"structOrderTypes.TakerOrder\",\"name\":\"takerBid\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOrderAsk\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPercentageToAsk\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"interceptor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"interceptorExtra\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structOrderTypes.MakerOrder\",\"name\":\"makerAsk\",\"type\":\"tuple\"}],\"name\":\"matchAskWithTakerBidUsingETHAndWETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOrderAsk\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPercentageToAsk\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"interceptor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"interceptorExtra\",\"type\":\"bytes\"}],\"internalType\":\"structOrderTypes.TakerOrder\",\"name\":\"takerAsk\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOrderAsk\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"collection\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPercentageToAsk\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"interceptor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"interceptorExtra\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structOrderTypes.MakerOrder\",\"name\":\"makerBid\",\"type\":\"tuple\"}],\"name\":\"matchBidWithTakerAsk\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"royaltyFeeManager\",\"outputs\":[{\"internalType\":\"contractIRoyaltyFeeManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferManager\",\"outputs\":[{\"internalType\":\"contractITransferManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_authorizationManager\",\"type\":\"address\"}],\"name\":\"updateAuthorizationManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_currencyManager\",\"type\":\"address\"}],\"name\":\"updateCurrencyManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_executionManager\",\"type\":\"address\"}],\"name\":\"updateExecutionManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_interceptorManager\",\"type\":\"address\"}],\"name\":\"updateInterceptorManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_protocolFeeRecipient\",\"type\":\"address\"}],\"name\":\"updateProtocolFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_royaltyFeeManager\",\"type\":\"address\"}],\"name\":\"updateRoyaltyFeeManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transferManager\",\"type\":\"address\"}],\"name\":\"updateTransferManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userMinOrderNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

BendExchangeMetaData contains all meta data concerning the BendExchange contract.

View Source
var LendPoolABI = LendPoolMetaData.ABI

LendPoolABI is the input ABI used to generate the binding from. Deprecated: Use LendPoolMetaData.ABI instead.

View Source
var LendPoolMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bidPrice\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"}],\"name\":\"Auction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referral\",\"type\":\"uint16\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"referral\",\"type\":\"uint16\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remainAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"}],\"name\":\"Liquidate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"durationTime\",\"type\":\"uint256\"}],\"name\":\"PausedTimeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fineAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loanId\",\"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\":\"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\":[],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserve\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bidPrice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"}],\"name\":\"auction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"nftAssets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"nftTokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"name\":\"batchBorrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"nftAssets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"nftTokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchRepay\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"referralCode\",\"type\":\"uint16\"}],\"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\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAddressesProvider\",\"outputs\":[{\"internalType\":\"contractILendPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxNumberOfNfts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxNumberOfReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"}],\"name\":\"getNftAuctionData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bidderAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bidPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bidBorrowAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bidFine\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"}],\"name\":\"getNftAuctionEndTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bidStartTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bidEndTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"redeemEndTimestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reserveAsset\",\"type\":\"address\"}],\"name\":\"getNftCollateralData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalCollateralInETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalCollateralInReserve\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsInETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrowsInReserve\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationBonus\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getNftConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.NftConfigurationMap\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getNftData\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.NftConfigurationMap\",\"name\":\"configuration\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"bNftAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"maxSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxTokenId\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.NftData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"}],\"name\":\"getNftDebtData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"loanId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"reserveAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableBorrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"healthFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"}],\"name\":\"getNftLiquidatePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidatePrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paybackAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNftsList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPausedTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getReserveConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"data\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.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\":\"structDataTypes.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\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"bTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"debtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"}],\"internalType\":\"structDataTypes.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\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"bNftAddress\",\"type\":\"address\"}],\"name\":\"initNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"bTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"debtTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestRateAddress\",\"type\":\"address\"}],\"name\":\"initReserve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractILendPoolAddressesProvider\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"liquidate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bidFine\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nftAsset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"repay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"setMaxNumberOfNfts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"setMaxNumberOfReserves\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"}],\"name\":\"setNftConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxTokenId\",\"type\":\"uint256\"}],\"name\":\"setNftMaxSupplyAndTokenId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"val\",\"type\":\"bool\"}],\"name\":\"setPause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"durationTime\",\"type\":\"uint256\"}],\"name\":\"setPausedTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"}],\"name\":\"setReserveConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rateAddress\",\"type\":\"address\"}],\"name\":\"setReserveInterestRateAddress\",\"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\"}]",
}

LendPoolMetaData contains all meta data concerning the LendPool contract.

Functions

This section is empty.

Types

type BendExchange

type BendExchange struct {
	BendExchangeCaller     // Read-only binding to the contract
	BendExchangeTransactor // Write-only binding to the contract
	BendExchangeFilterer   // Log filterer for contract events
}

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

func NewBendExchange

func NewBendExchange(address common.Address, backend bind.ContractBackend) (*BendExchange, error)

NewBendExchange creates a new instance of BendExchange, bound to a specific deployed contract.

type BendExchangeCaller

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

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

func NewBendExchangeCaller

func NewBendExchangeCaller(address common.Address, caller bind.ContractCaller) (*BendExchangeCaller, error)

NewBendExchangeCaller creates a new read-only instance of BendExchange, bound to a specific deployed contract.

func (*BendExchangeCaller) AuthorizationManager

func (_BendExchange *BendExchangeCaller) AuthorizationManager(opts *bind.CallOpts) (common.Address, error)

AuthorizationManager is a free data retrieval call binding the contract method 0x8cfa228c.

Solidity: function authorizationManager() view returns(address)

func (*BendExchangeCaller) CurrencyManager

func (_BendExchange *BendExchangeCaller) CurrencyManager(opts *bind.CallOpts) (common.Address, error)

CurrencyManager is a free data retrieval call binding the contract method 0x0f747d74.

Solidity: function currencyManager() view returns(address)

func (*BendExchangeCaller) DOMAINSEPARATOR

func (_BendExchange *BendExchangeCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BendExchangeCaller) ExecutionManager

func (_BendExchange *BendExchangeCaller) ExecutionManager(opts *bind.CallOpts) (common.Address, error)

ExecutionManager is a free data retrieval call binding the contract method 0x483abb9f.

Solidity: function executionManager() view returns(address)

func (*BendExchangeCaller) InterceptorManager

func (_BendExchange *BendExchangeCaller) InterceptorManager(opts *bind.CallOpts) (common.Address, error)

InterceptorManager is a free data retrieval call binding the contract method 0xf3e13610.

Solidity: function interceptorManager() view returns(address)

func (*BendExchangeCaller) IsUserOrderNonceExecutedOrCancelled

func (_BendExchange *BendExchangeCaller) IsUserOrderNonceExecutedOrCancelled(opts *bind.CallOpts, user common.Address, orderNonce *big.Int) (bool, error)

IsUserOrderNonceExecutedOrCancelled is a free data retrieval call binding the contract method 0x31e27e27.

Solidity: function isUserOrderNonceExecutedOrCancelled(address user, uint256 orderNonce) view returns(bool)

func (*BendExchangeCaller) NAME

func (_BendExchange *BendExchangeCaller) NAME(opts *bind.CallOpts) (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*BendExchangeCaller) Owner

func (_BendExchange *BendExchangeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BendExchangeCaller) ProtocolFeeRecipient

func (_BendExchange *BendExchangeCaller) ProtocolFeeRecipient(opts *bind.CallOpts) (common.Address, error)

ProtocolFeeRecipient is a free data retrieval call binding the contract method 0x64df049e.

Solidity: function protocolFeeRecipient() view returns(address)

func (*BendExchangeCaller) RoyaltyFeeManager

func (_BendExchange *BendExchangeCaller) RoyaltyFeeManager(opts *bind.CallOpts) (common.Address, error)

RoyaltyFeeManager is a free data retrieval call binding the contract method 0x87e4401f.

Solidity: function royaltyFeeManager() view returns(address)

func (*BendExchangeCaller) TransferManager

func (_BendExchange *BendExchangeCaller) TransferManager(opts *bind.CallOpts) (common.Address, error)

TransferManager is a free data retrieval call binding the contract method 0x46ea2552.

Solidity: function transferManager() view returns(address)

func (*BendExchangeCaller) UserMinOrderNonce

func (_BendExchange *BendExchangeCaller) UserMinOrderNonce(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserMinOrderNonce is a free data retrieval call binding the contract method 0x4266581e.

Solidity: function userMinOrderNonce(address ) view returns(uint256)

func (*BendExchangeCaller) VERSION

func (_BendExchange *BendExchangeCaller) VERSION(opts *bind.CallOpts) (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

func (*BendExchangeCaller) WETH

func (_BendExchange *BendExchangeCaller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BendExchangeCallerRaw

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

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

func (*BendExchangeCallerRaw) Call

func (_BendExchange *BendExchangeCallerRaw) 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 BendExchangeCallerSession

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

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

func (*BendExchangeCallerSession) AuthorizationManager

func (_BendExchange *BendExchangeCallerSession) AuthorizationManager() (common.Address, error)

AuthorizationManager is a free data retrieval call binding the contract method 0x8cfa228c.

Solidity: function authorizationManager() view returns(address)

func (*BendExchangeCallerSession) CurrencyManager

func (_BendExchange *BendExchangeCallerSession) CurrencyManager() (common.Address, error)

CurrencyManager is a free data retrieval call binding the contract method 0x0f747d74.

Solidity: function currencyManager() view returns(address)

func (*BendExchangeCallerSession) DOMAINSEPARATOR

func (_BendExchange *BendExchangeCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BendExchangeCallerSession) ExecutionManager

func (_BendExchange *BendExchangeCallerSession) ExecutionManager() (common.Address, error)

ExecutionManager is a free data retrieval call binding the contract method 0x483abb9f.

Solidity: function executionManager() view returns(address)

func (*BendExchangeCallerSession) InterceptorManager

func (_BendExchange *BendExchangeCallerSession) InterceptorManager() (common.Address, error)

InterceptorManager is a free data retrieval call binding the contract method 0xf3e13610.

Solidity: function interceptorManager() view returns(address)

func (*BendExchangeCallerSession) IsUserOrderNonceExecutedOrCancelled

func (_BendExchange *BendExchangeCallerSession) IsUserOrderNonceExecutedOrCancelled(user common.Address, orderNonce *big.Int) (bool, error)

IsUserOrderNonceExecutedOrCancelled is a free data retrieval call binding the contract method 0x31e27e27.

Solidity: function isUserOrderNonceExecutedOrCancelled(address user, uint256 orderNonce) view returns(bool)

func (*BendExchangeCallerSession) NAME

func (_BendExchange *BendExchangeCallerSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*BendExchangeCallerSession) Owner

func (_BendExchange *BendExchangeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BendExchangeCallerSession) ProtocolFeeRecipient

func (_BendExchange *BendExchangeCallerSession) ProtocolFeeRecipient() (common.Address, error)

ProtocolFeeRecipient is a free data retrieval call binding the contract method 0x64df049e.

Solidity: function protocolFeeRecipient() view returns(address)

func (*BendExchangeCallerSession) RoyaltyFeeManager

func (_BendExchange *BendExchangeCallerSession) RoyaltyFeeManager() (common.Address, error)

RoyaltyFeeManager is a free data retrieval call binding the contract method 0x87e4401f.

Solidity: function royaltyFeeManager() view returns(address)

func (*BendExchangeCallerSession) TransferManager

func (_BendExchange *BendExchangeCallerSession) TransferManager() (common.Address, error)

TransferManager is a free data retrieval call binding the contract method 0x46ea2552.

Solidity: function transferManager() view returns(address)

func (*BendExchangeCallerSession) UserMinOrderNonce

func (_BendExchange *BendExchangeCallerSession) UserMinOrderNonce(arg0 common.Address) (*big.Int, error)

UserMinOrderNonce is a free data retrieval call binding the contract method 0x4266581e.

Solidity: function userMinOrderNonce(address ) view returns(uint256)

func (*BendExchangeCallerSession) VERSION

func (_BendExchange *BendExchangeCallerSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

func (*BendExchangeCallerSession) WETH

func (_BendExchange *BendExchangeCallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BendExchangeCancelAllOrders

type BendExchangeCancelAllOrders struct {
	User        common.Address
	NewMinNonce *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

BendExchangeCancelAllOrders represents a CancelAllOrders event raised by the BendExchange contract.

type BendExchangeCancelAllOrdersIterator

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

BendExchangeCancelAllOrdersIterator is returned from FilterCancelAllOrders and is used to iterate over the raw logs and unpacked data for CancelAllOrders events raised by the BendExchange contract.

func (*BendExchangeCancelAllOrdersIterator) Close

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

func (*BendExchangeCancelAllOrdersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeCancelAllOrdersIterator) 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 BendExchangeCancelMultipleOrders

type BendExchangeCancelMultipleOrders struct {
	User        common.Address
	OrderNonces []*big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

BendExchangeCancelMultipleOrders represents a CancelMultipleOrders event raised by the BendExchange contract.

type BendExchangeCancelMultipleOrdersIterator

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

BendExchangeCancelMultipleOrdersIterator is returned from FilterCancelMultipleOrders and is used to iterate over the raw logs and unpacked data for CancelMultipleOrders events raised by the BendExchange contract.

func (*BendExchangeCancelMultipleOrdersIterator) Close

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

func (*BendExchangeCancelMultipleOrdersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeCancelMultipleOrdersIterator) 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 BendExchangeFilterer

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

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

func NewBendExchangeFilterer

func NewBendExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*BendExchangeFilterer, error)

NewBendExchangeFilterer creates a new log filterer instance of BendExchange, bound to a specific deployed contract.

func (*BendExchangeFilterer) FilterCancelAllOrders

func (_BendExchange *BendExchangeFilterer) FilterCancelAllOrders(opts *bind.FilterOpts, user []common.Address) (*BendExchangeCancelAllOrdersIterator, error)

FilterCancelAllOrders is a free log retrieval operation binding the contract event 0x1e7178d84f0b0825c65795cd62e7972809ad3aac6917843aaec596161b2c0a97.

Solidity: event CancelAllOrders(address indexed user, uint256 newMinNonce)

func (*BendExchangeFilterer) FilterCancelMultipleOrders

func (_BendExchange *BendExchangeFilterer) FilterCancelMultipleOrders(opts *bind.FilterOpts, user []common.Address) (*BendExchangeCancelMultipleOrdersIterator, error)

FilterCancelMultipleOrders is a free log retrieval operation binding the contract event 0xfa0ae5d80fe3763c880a3839fab0294171a6f730d1f82c4cd5392c6f67b41732.

Solidity: event CancelMultipleOrders(address indexed user, uint256[] orderNonces)

func (*BendExchangeFilterer) FilterNewAuthorizationManager

func (_BendExchange *BendExchangeFilterer) FilterNewAuthorizationManager(opts *bind.FilterOpts, authorizationManager []common.Address) (*BendExchangeNewAuthorizationManagerIterator, error)

FilterNewAuthorizationManager is a free log retrieval operation binding the contract event 0xcef74152554b7ba4c68515844f0d3e2f59b8560ff0e910f13c3a9b7413ec9939.

Solidity: event NewAuthorizationManager(address indexed authorizationManager)

func (*BendExchangeFilterer) FilterNewCurrencyManager

func (_BendExchange *BendExchangeFilterer) FilterNewCurrencyManager(opts *bind.FilterOpts, currencyManager []common.Address) (*BendExchangeNewCurrencyManagerIterator, error)

FilterNewCurrencyManager is a free log retrieval operation binding the contract event 0xb4f5db40df3aced29e88a4babbc3b46e305e07d34098525d18b1497056e63838.

Solidity: event NewCurrencyManager(address indexed currencyManager)

func (*BendExchangeFilterer) FilterNewExecutionManager

func (_BendExchange *BendExchangeFilterer) FilterNewExecutionManager(opts *bind.FilterOpts, executionManager []common.Address) (*BendExchangeNewExecutionManagerIterator, error)

FilterNewExecutionManager is a free log retrieval operation binding the contract event 0x36e2a376eabc3bc60cb88f29c288f53e36874a95a7f407330ab4f166b0905698.

Solidity: event NewExecutionManager(address indexed executionManager)

func (*BendExchangeFilterer) FilterNewInterceptorManager

func (_BendExchange *BendExchangeFilterer) FilterNewInterceptorManager(opts *bind.FilterOpts, interceptorManager []common.Address) (*BendExchangeNewInterceptorManagerIterator, error)

FilterNewInterceptorManager is a free log retrieval operation binding the contract event 0x6a562813c3ab4feba79168d6fbb51d07c7e92461417fb2aa078ec811e49068d0.

Solidity: event NewInterceptorManager(address indexed interceptorManager)

func (*BendExchangeFilterer) FilterNewProtocolFeeRecipient

func (_BendExchange *BendExchangeFilterer) FilterNewProtocolFeeRecipient(opts *bind.FilterOpts, protocolFeeRecipient []common.Address) (*BendExchangeNewProtocolFeeRecipientIterator, error)

FilterNewProtocolFeeRecipient is a free log retrieval operation binding the contract event 0x8cffb07faa2874440346743bdc0a86b06c3335cc47dc49b327d10e77b73ceb10.

Solidity: event NewProtocolFeeRecipient(address indexed protocolFeeRecipient)

func (*BendExchangeFilterer) FilterNewRoyaltyFeeManager

func (_BendExchange *BendExchangeFilterer) FilterNewRoyaltyFeeManager(opts *bind.FilterOpts, royaltyFeeManager []common.Address) (*BendExchangeNewRoyaltyFeeManagerIterator, error)

FilterNewRoyaltyFeeManager is a free log retrieval operation binding the contract event 0x80e3874461ebbd918ac3e81da0a92e5e51387d70f337237c9123e48d20e5a508.

Solidity: event NewRoyaltyFeeManager(address indexed royaltyFeeManager)

func (*BendExchangeFilterer) FilterNewTransferManager

func (_BendExchange *BendExchangeFilterer) FilterNewTransferManager(opts *bind.FilterOpts, transferManager []common.Address) (*BendExchangeNewTransferManagerIterator, error)

FilterNewTransferManager is a free log retrieval operation binding the contract event 0xbb34fee0d3bb7c602ecfe1c8bed62b67a720f718e0eaf72246d3457fcb25be17.

Solidity: event NewTransferManager(address indexed transferManager)

func (*BendExchangeFilterer) FilterOwnershipTransferred

func (_BendExchange *BendExchangeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BendExchangeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BendExchangeFilterer) FilterProtocolFeePayment

func (_BendExchange *BendExchangeFilterer) FilterProtocolFeePayment(opts *bind.FilterOpts, collection []common.Address, tokenId []*big.Int, protocolFeeRecipient []common.Address) (*BendExchangeProtocolFeePaymentIterator, error)

FilterProtocolFeePayment is a free log retrieval operation binding the contract event 0x4e2800017b302274fac4f45ad76bf09bfddec9f66525450dff12dcca91344f86.

Solidity: event ProtocolFeePayment(address indexed collection, uint256 indexed tokenId, address indexed protocolFeeRecipient, address currency, uint256 amount)

func (*BendExchangeFilterer) FilterRoyaltyPayment

func (_BendExchange *BendExchangeFilterer) FilterRoyaltyPayment(opts *bind.FilterOpts, collection []common.Address, tokenId []*big.Int, royaltyRecipient []common.Address) (*BendExchangeRoyaltyPaymentIterator, error)

FilterRoyaltyPayment is a free log retrieval operation binding the contract event 0x27c4f0403323142b599832f26acd21c74a9e5b809f2215726e244a4ac588cd7d.

Solidity: event RoyaltyPayment(address indexed collection, uint256 indexed tokenId, address indexed royaltyRecipient, address currency, uint256 amount)

func (*BendExchangeFilterer) FilterTakerAsk

func (_BendExchange *BendExchangeFilterer) FilterTakerAsk(opts *bind.FilterOpts, taker []common.Address, maker []common.Address, strategy []common.Address) (*BendExchangeTakerAskIterator, error)

FilterTakerAsk is a free log retrieval operation binding the contract event 0x68cd251d4d267c6e2034ff0088b990352b97b2002c0476587d0c4da889c11330.

Solidity: event TakerAsk(bytes32 makerOrderHash, uint256 orderNonce, address indexed taker, address indexed maker, address indexed strategy, address currency, address collection, uint256 tokenId, uint256 amount, uint256 price)

func (*BendExchangeFilterer) FilterTakerBid

func (_BendExchange *BendExchangeFilterer) FilterTakerBid(opts *bind.FilterOpts, taker []common.Address, maker []common.Address, strategy []common.Address) (*BendExchangeTakerBidIterator, error)

FilterTakerBid is a free log retrieval operation binding the contract event 0x95fb6205e23ff6bda16a2d1dba56b9ad7c783f67c96fa149785052f47696f2be.

Solidity: event TakerBid(bytes32 makerOrderHash, uint256 orderNonce, address indexed taker, address indexed maker, address indexed strategy, address currency, address collection, uint256 tokenId, uint256 amount, uint256 price)

func (*BendExchangeFilterer) ParseCancelAllOrders

func (_BendExchange *BendExchangeFilterer) ParseCancelAllOrders(log types.Log) (*BendExchangeCancelAllOrders, error)

ParseCancelAllOrders is a log parse operation binding the contract event 0x1e7178d84f0b0825c65795cd62e7972809ad3aac6917843aaec596161b2c0a97.

Solidity: event CancelAllOrders(address indexed user, uint256 newMinNonce)

func (*BendExchangeFilterer) ParseCancelMultipleOrders

func (_BendExchange *BendExchangeFilterer) ParseCancelMultipleOrders(log types.Log) (*BendExchangeCancelMultipleOrders, error)

ParseCancelMultipleOrders is a log parse operation binding the contract event 0xfa0ae5d80fe3763c880a3839fab0294171a6f730d1f82c4cd5392c6f67b41732.

Solidity: event CancelMultipleOrders(address indexed user, uint256[] orderNonces)

func (*BendExchangeFilterer) ParseNewAuthorizationManager

func (_BendExchange *BendExchangeFilterer) ParseNewAuthorizationManager(log types.Log) (*BendExchangeNewAuthorizationManager, error)

ParseNewAuthorizationManager is a log parse operation binding the contract event 0xcef74152554b7ba4c68515844f0d3e2f59b8560ff0e910f13c3a9b7413ec9939.

Solidity: event NewAuthorizationManager(address indexed authorizationManager)

func (*BendExchangeFilterer) ParseNewCurrencyManager

func (_BendExchange *BendExchangeFilterer) ParseNewCurrencyManager(log types.Log) (*BendExchangeNewCurrencyManager, error)

ParseNewCurrencyManager is a log parse operation binding the contract event 0xb4f5db40df3aced29e88a4babbc3b46e305e07d34098525d18b1497056e63838.

Solidity: event NewCurrencyManager(address indexed currencyManager)

func (*BendExchangeFilterer) ParseNewExecutionManager

func (_BendExchange *BendExchangeFilterer) ParseNewExecutionManager(log types.Log) (*BendExchangeNewExecutionManager, error)

ParseNewExecutionManager is a log parse operation binding the contract event 0x36e2a376eabc3bc60cb88f29c288f53e36874a95a7f407330ab4f166b0905698.

Solidity: event NewExecutionManager(address indexed executionManager)

func (*BendExchangeFilterer) ParseNewInterceptorManager

func (_BendExchange *BendExchangeFilterer) ParseNewInterceptorManager(log types.Log) (*BendExchangeNewInterceptorManager, error)

ParseNewInterceptorManager is a log parse operation binding the contract event 0x6a562813c3ab4feba79168d6fbb51d07c7e92461417fb2aa078ec811e49068d0.

Solidity: event NewInterceptorManager(address indexed interceptorManager)

func (*BendExchangeFilterer) ParseNewProtocolFeeRecipient

func (_BendExchange *BendExchangeFilterer) ParseNewProtocolFeeRecipient(log types.Log) (*BendExchangeNewProtocolFeeRecipient, error)

ParseNewProtocolFeeRecipient is a log parse operation binding the contract event 0x8cffb07faa2874440346743bdc0a86b06c3335cc47dc49b327d10e77b73ceb10.

Solidity: event NewProtocolFeeRecipient(address indexed protocolFeeRecipient)

func (*BendExchangeFilterer) ParseNewRoyaltyFeeManager

func (_BendExchange *BendExchangeFilterer) ParseNewRoyaltyFeeManager(log types.Log) (*BendExchangeNewRoyaltyFeeManager, error)

ParseNewRoyaltyFeeManager is a log parse operation binding the contract event 0x80e3874461ebbd918ac3e81da0a92e5e51387d70f337237c9123e48d20e5a508.

Solidity: event NewRoyaltyFeeManager(address indexed royaltyFeeManager)

func (*BendExchangeFilterer) ParseNewTransferManager

func (_BendExchange *BendExchangeFilterer) ParseNewTransferManager(log types.Log) (*BendExchangeNewTransferManager, error)

ParseNewTransferManager is a log parse operation binding the contract event 0xbb34fee0d3bb7c602ecfe1c8bed62b67a720f718e0eaf72246d3457fcb25be17.

Solidity: event NewTransferManager(address indexed transferManager)

func (*BendExchangeFilterer) ParseOwnershipTransferred

func (_BendExchange *BendExchangeFilterer) ParseOwnershipTransferred(log types.Log) (*BendExchangeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BendExchangeFilterer) ParseProtocolFeePayment

func (_BendExchange *BendExchangeFilterer) ParseProtocolFeePayment(log types.Log) (*BendExchangeProtocolFeePayment, error)

ParseProtocolFeePayment is a log parse operation binding the contract event 0x4e2800017b302274fac4f45ad76bf09bfddec9f66525450dff12dcca91344f86.

Solidity: event ProtocolFeePayment(address indexed collection, uint256 indexed tokenId, address indexed protocolFeeRecipient, address currency, uint256 amount)

func (*BendExchangeFilterer) ParseRoyaltyPayment

func (_BendExchange *BendExchangeFilterer) ParseRoyaltyPayment(log types.Log) (*BendExchangeRoyaltyPayment, error)

ParseRoyaltyPayment is a log parse operation binding the contract event 0x27c4f0403323142b599832f26acd21c74a9e5b809f2215726e244a4ac588cd7d.

Solidity: event RoyaltyPayment(address indexed collection, uint256 indexed tokenId, address indexed royaltyRecipient, address currency, uint256 amount)

func (*BendExchangeFilterer) ParseTakerAsk

func (_BendExchange *BendExchangeFilterer) ParseTakerAsk(log types.Log) (*BendExchangeTakerAsk, error)

ParseTakerAsk is a log parse operation binding the contract event 0x68cd251d4d267c6e2034ff0088b990352b97b2002c0476587d0c4da889c11330.

Solidity: event TakerAsk(bytes32 makerOrderHash, uint256 orderNonce, address indexed taker, address indexed maker, address indexed strategy, address currency, address collection, uint256 tokenId, uint256 amount, uint256 price)

func (*BendExchangeFilterer) ParseTakerBid

func (_BendExchange *BendExchangeFilterer) ParseTakerBid(log types.Log) (*BendExchangeTakerBid, error)

ParseTakerBid is a log parse operation binding the contract event 0x95fb6205e23ff6bda16a2d1dba56b9ad7c783f67c96fa149785052f47696f2be.

Solidity: event TakerBid(bytes32 makerOrderHash, uint256 orderNonce, address indexed taker, address indexed maker, address indexed strategy, address currency, address collection, uint256 tokenId, uint256 amount, uint256 price)

func (*BendExchangeFilterer) WatchCancelAllOrders

func (_BendExchange *BendExchangeFilterer) WatchCancelAllOrders(opts *bind.WatchOpts, sink chan<- *BendExchangeCancelAllOrders, user []common.Address) (event.Subscription, error)

WatchCancelAllOrders is a free log subscription operation binding the contract event 0x1e7178d84f0b0825c65795cd62e7972809ad3aac6917843aaec596161b2c0a97.

Solidity: event CancelAllOrders(address indexed user, uint256 newMinNonce)

func (*BendExchangeFilterer) WatchCancelMultipleOrders

func (_BendExchange *BendExchangeFilterer) WatchCancelMultipleOrders(opts *bind.WatchOpts, sink chan<- *BendExchangeCancelMultipleOrders, user []common.Address) (event.Subscription, error)

WatchCancelMultipleOrders is a free log subscription operation binding the contract event 0xfa0ae5d80fe3763c880a3839fab0294171a6f730d1f82c4cd5392c6f67b41732.

Solidity: event CancelMultipleOrders(address indexed user, uint256[] orderNonces)

func (*BendExchangeFilterer) WatchNewAuthorizationManager

func (_BendExchange *BendExchangeFilterer) WatchNewAuthorizationManager(opts *bind.WatchOpts, sink chan<- *BendExchangeNewAuthorizationManager, authorizationManager []common.Address) (event.Subscription, error)

WatchNewAuthorizationManager is a free log subscription operation binding the contract event 0xcef74152554b7ba4c68515844f0d3e2f59b8560ff0e910f13c3a9b7413ec9939.

Solidity: event NewAuthorizationManager(address indexed authorizationManager)

func (*BendExchangeFilterer) WatchNewCurrencyManager

func (_BendExchange *BendExchangeFilterer) WatchNewCurrencyManager(opts *bind.WatchOpts, sink chan<- *BendExchangeNewCurrencyManager, currencyManager []common.Address) (event.Subscription, error)

WatchNewCurrencyManager is a free log subscription operation binding the contract event 0xb4f5db40df3aced29e88a4babbc3b46e305e07d34098525d18b1497056e63838.

Solidity: event NewCurrencyManager(address indexed currencyManager)

func (*BendExchangeFilterer) WatchNewExecutionManager

func (_BendExchange *BendExchangeFilterer) WatchNewExecutionManager(opts *bind.WatchOpts, sink chan<- *BendExchangeNewExecutionManager, executionManager []common.Address) (event.Subscription, error)

WatchNewExecutionManager is a free log subscription operation binding the contract event 0x36e2a376eabc3bc60cb88f29c288f53e36874a95a7f407330ab4f166b0905698.

Solidity: event NewExecutionManager(address indexed executionManager)

func (*BendExchangeFilterer) WatchNewInterceptorManager

func (_BendExchange *BendExchangeFilterer) WatchNewInterceptorManager(opts *bind.WatchOpts, sink chan<- *BendExchangeNewInterceptorManager, interceptorManager []common.Address) (event.Subscription, error)

WatchNewInterceptorManager is a free log subscription operation binding the contract event 0x6a562813c3ab4feba79168d6fbb51d07c7e92461417fb2aa078ec811e49068d0.

Solidity: event NewInterceptorManager(address indexed interceptorManager)

func (*BendExchangeFilterer) WatchNewProtocolFeeRecipient

func (_BendExchange *BendExchangeFilterer) WatchNewProtocolFeeRecipient(opts *bind.WatchOpts, sink chan<- *BendExchangeNewProtocolFeeRecipient, protocolFeeRecipient []common.Address) (event.Subscription, error)

WatchNewProtocolFeeRecipient is a free log subscription operation binding the contract event 0x8cffb07faa2874440346743bdc0a86b06c3335cc47dc49b327d10e77b73ceb10.

Solidity: event NewProtocolFeeRecipient(address indexed protocolFeeRecipient)

func (*BendExchangeFilterer) WatchNewRoyaltyFeeManager

func (_BendExchange *BendExchangeFilterer) WatchNewRoyaltyFeeManager(opts *bind.WatchOpts, sink chan<- *BendExchangeNewRoyaltyFeeManager, royaltyFeeManager []common.Address) (event.Subscription, error)

WatchNewRoyaltyFeeManager is a free log subscription operation binding the contract event 0x80e3874461ebbd918ac3e81da0a92e5e51387d70f337237c9123e48d20e5a508.

Solidity: event NewRoyaltyFeeManager(address indexed royaltyFeeManager)

func (*BendExchangeFilterer) WatchNewTransferManager

func (_BendExchange *BendExchangeFilterer) WatchNewTransferManager(opts *bind.WatchOpts, sink chan<- *BendExchangeNewTransferManager, transferManager []common.Address) (event.Subscription, error)

WatchNewTransferManager is a free log subscription operation binding the contract event 0xbb34fee0d3bb7c602ecfe1c8bed62b67a720f718e0eaf72246d3457fcb25be17.

Solidity: event NewTransferManager(address indexed transferManager)

func (*BendExchangeFilterer) WatchOwnershipTransferred

func (_BendExchange *BendExchangeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BendExchangeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BendExchangeFilterer) WatchProtocolFeePayment

func (_BendExchange *BendExchangeFilterer) WatchProtocolFeePayment(opts *bind.WatchOpts, sink chan<- *BendExchangeProtocolFeePayment, collection []common.Address, tokenId []*big.Int, protocolFeeRecipient []common.Address) (event.Subscription, error)

WatchProtocolFeePayment is a free log subscription operation binding the contract event 0x4e2800017b302274fac4f45ad76bf09bfddec9f66525450dff12dcca91344f86.

Solidity: event ProtocolFeePayment(address indexed collection, uint256 indexed tokenId, address indexed protocolFeeRecipient, address currency, uint256 amount)

func (*BendExchangeFilterer) WatchRoyaltyPayment

func (_BendExchange *BendExchangeFilterer) WatchRoyaltyPayment(opts *bind.WatchOpts, sink chan<- *BendExchangeRoyaltyPayment, collection []common.Address, tokenId []*big.Int, royaltyRecipient []common.Address) (event.Subscription, error)

WatchRoyaltyPayment is a free log subscription operation binding the contract event 0x27c4f0403323142b599832f26acd21c74a9e5b809f2215726e244a4ac588cd7d.

Solidity: event RoyaltyPayment(address indexed collection, uint256 indexed tokenId, address indexed royaltyRecipient, address currency, uint256 amount)

func (*BendExchangeFilterer) WatchTakerAsk

func (_BendExchange *BendExchangeFilterer) WatchTakerAsk(opts *bind.WatchOpts, sink chan<- *BendExchangeTakerAsk, taker []common.Address, maker []common.Address, strategy []common.Address) (event.Subscription, error)

WatchTakerAsk is a free log subscription operation binding the contract event 0x68cd251d4d267c6e2034ff0088b990352b97b2002c0476587d0c4da889c11330.

Solidity: event TakerAsk(bytes32 makerOrderHash, uint256 orderNonce, address indexed taker, address indexed maker, address indexed strategy, address currency, address collection, uint256 tokenId, uint256 amount, uint256 price)

func (*BendExchangeFilterer) WatchTakerBid

func (_BendExchange *BendExchangeFilterer) WatchTakerBid(opts *bind.WatchOpts, sink chan<- *BendExchangeTakerBid, taker []common.Address, maker []common.Address, strategy []common.Address) (event.Subscription, error)

WatchTakerBid is a free log subscription operation binding the contract event 0x95fb6205e23ff6bda16a2d1dba56b9ad7c783f67c96fa149785052f47696f2be.

Solidity: event TakerBid(bytes32 makerOrderHash, uint256 orderNonce, address indexed taker, address indexed maker, address indexed strategy, address currency, address collection, uint256 tokenId, uint256 amount, uint256 price)

type BendExchangeNewAuthorizationManager

type BendExchangeNewAuthorizationManager struct {
	AuthorizationManager common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

BendExchangeNewAuthorizationManager represents a NewAuthorizationManager event raised by the BendExchange contract.

type BendExchangeNewAuthorizationManagerIterator

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

BendExchangeNewAuthorizationManagerIterator is returned from FilterNewAuthorizationManager and is used to iterate over the raw logs and unpacked data for NewAuthorizationManager events raised by the BendExchange contract.

func (*BendExchangeNewAuthorizationManagerIterator) Close

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

func (*BendExchangeNewAuthorizationManagerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewAuthorizationManagerIterator) 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 BendExchangeNewCurrencyManager

type BendExchangeNewCurrencyManager struct {
	CurrencyManager common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

BendExchangeNewCurrencyManager represents a NewCurrencyManager event raised by the BendExchange contract.

type BendExchangeNewCurrencyManagerIterator

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

BendExchangeNewCurrencyManagerIterator is returned from FilterNewCurrencyManager and is used to iterate over the raw logs and unpacked data for NewCurrencyManager events raised by the BendExchange contract.

func (*BendExchangeNewCurrencyManagerIterator) Close

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

func (*BendExchangeNewCurrencyManagerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewCurrencyManagerIterator) 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 BendExchangeNewExecutionManager

type BendExchangeNewExecutionManager struct {
	ExecutionManager common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

BendExchangeNewExecutionManager represents a NewExecutionManager event raised by the BendExchange contract.

type BendExchangeNewExecutionManagerIterator

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

BendExchangeNewExecutionManagerIterator is returned from FilterNewExecutionManager and is used to iterate over the raw logs and unpacked data for NewExecutionManager events raised by the BendExchange contract.

func (*BendExchangeNewExecutionManagerIterator) Close

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

func (*BendExchangeNewExecutionManagerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewExecutionManagerIterator) 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 BendExchangeNewInterceptorManager

type BendExchangeNewInterceptorManager struct {
	InterceptorManager common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

BendExchangeNewInterceptorManager represents a NewInterceptorManager event raised by the BendExchange contract.

type BendExchangeNewInterceptorManagerIterator

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

BendExchangeNewInterceptorManagerIterator is returned from FilterNewInterceptorManager and is used to iterate over the raw logs and unpacked data for NewInterceptorManager events raised by the BendExchange contract.

func (*BendExchangeNewInterceptorManagerIterator) Close

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

func (*BendExchangeNewInterceptorManagerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewInterceptorManagerIterator) 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 BendExchangeNewProtocolFeeRecipient

type BendExchangeNewProtocolFeeRecipient struct {
	ProtocolFeeRecipient common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

BendExchangeNewProtocolFeeRecipient represents a NewProtocolFeeRecipient event raised by the BendExchange contract.

type BendExchangeNewProtocolFeeRecipientIterator

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

BendExchangeNewProtocolFeeRecipientIterator is returned from FilterNewProtocolFeeRecipient and is used to iterate over the raw logs and unpacked data for NewProtocolFeeRecipient events raised by the BendExchange contract.

func (*BendExchangeNewProtocolFeeRecipientIterator) Close

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

func (*BendExchangeNewProtocolFeeRecipientIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewProtocolFeeRecipientIterator) 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 BendExchangeNewRoyaltyFeeManager

type BendExchangeNewRoyaltyFeeManager struct {
	RoyaltyFeeManager common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

BendExchangeNewRoyaltyFeeManager represents a NewRoyaltyFeeManager event raised by the BendExchange contract.

type BendExchangeNewRoyaltyFeeManagerIterator

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

BendExchangeNewRoyaltyFeeManagerIterator is returned from FilterNewRoyaltyFeeManager and is used to iterate over the raw logs and unpacked data for NewRoyaltyFeeManager events raised by the BendExchange contract.

func (*BendExchangeNewRoyaltyFeeManagerIterator) Close

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

func (*BendExchangeNewRoyaltyFeeManagerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewRoyaltyFeeManagerIterator) 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 BendExchangeNewTransferManager

type BendExchangeNewTransferManager struct {
	TransferManager common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

BendExchangeNewTransferManager represents a NewTransferManager event raised by the BendExchange contract.

type BendExchangeNewTransferManagerIterator

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

BendExchangeNewTransferManagerIterator is returned from FilterNewTransferManager and is used to iterate over the raw logs and unpacked data for NewTransferManager events raised by the BendExchange contract.

func (*BendExchangeNewTransferManagerIterator) Close

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

func (*BendExchangeNewTransferManagerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeNewTransferManagerIterator) 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 BendExchangeOwnershipTransferred

type BendExchangeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BendExchangeOwnershipTransferred represents a OwnershipTransferred event raised by the BendExchange contract.

type BendExchangeOwnershipTransferredIterator

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

BendExchangeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BendExchange contract.

func (*BendExchangeOwnershipTransferredIterator) Close

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

func (*BendExchangeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeOwnershipTransferredIterator) 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 BendExchangeProtocolFeePayment

type BendExchangeProtocolFeePayment struct {
	Collection           common.Address
	TokenId              *big.Int
	ProtocolFeeRecipient common.Address
	Currency             common.Address
	Amount               *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

BendExchangeProtocolFeePayment represents a ProtocolFeePayment event raised by the BendExchange contract.

type BendExchangeProtocolFeePaymentIterator

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

BendExchangeProtocolFeePaymentIterator is returned from FilterProtocolFeePayment and is used to iterate over the raw logs and unpacked data for ProtocolFeePayment events raised by the BendExchange contract.

func (*BendExchangeProtocolFeePaymentIterator) Close

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

func (*BendExchangeProtocolFeePaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeProtocolFeePaymentIterator) 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 BendExchangeRaw

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

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

func (*BendExchangeRaw) Call

func (_BendExchange *BendExchangeRaw) 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 (*BendExchangeRaw) Transact

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

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

func (*BendExchangeRaw) Transfer

func (_BendExchange *BendExchangeRaw) 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 BendExchangeRoyaltyPayment

type BendExchangeRoyaltyPayment struct {
	Collection       common.Address
	TokenId          *big.Int
	RoyaltyRecipient common.Address
	Currency         common.Address
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

BendExchangeRoyaltyPayment represents a RoyaltyPayment event raised by the BendExchange contract.

type BendExchangeRoyaltyPaymentIterator

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

BendExchangeRoyaltyPaymentIterator is returned from FilterRoyaltyPayment and is used to iterate over the raw logs and unpacked data for RoyaltyPayment events raised by the BendExchange contract.

func (*BendExchangeRoyaltyPaymentIterator) Close

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

func (*BendExchangeRoyaltyPaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeRoyaltyPaymentIterator) 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 BendExchangeSession

type BendExchangeSession struct {
	Contract     *BendExchange     // 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
}

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

func (*BendExchangeSession) AuthorizationManager

func (_BendExchange *BendExchangeSession) AuthorizationManager() (common.Address, error)

AuthorizationManager is a free data retrieval call binding the contract method 0x8cfa228c.

Solidity: function authorizationManager() view returns(address)

func (*BendExchangeSession) CancelAllOrdersForSender

func (_BendExchange *BendExchangeSession) CancelAllOrdersForSender(minNonce *big.Int) (*types.Transaction, error)

CancelAllOrdersForSender is a paid mutator transaction binding the contract method 0xcbd2ec65.

Solidity: function cancelAllOrdersForSender(uint256 minNonce) returns()

func (*BendExchangeSession) CancelMultipleMakerOrders

func (_BendExchange *BendExchangeSession) CancelMultipleMakerOrders(orderNonces []*big.Int) (*types.Transaction, error)

CancelMultipleMakerOrders is a paid mutator transaction binding the contract method 0x9e53a69a.

Solidity: function cancelMultipleMakerOrders(uint256[] orderNonces) returns()

func (*BendExchangeSession) CurrencyManager

func (_BendExchange *BendExchangeSession) CurrencyManager() (common.Address, error)

CurrencyManager is a free data retrieval call binding the contract method 0x0f747d74.

Solidity: function currencyManager() view returns(address)

func (*BendExchangeSession) DOMAINSEPARATOR

func (_BendExchange *BendExchangeSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BendExchangeSession) ExecutionManager

func (_BendExchange *BendExchangeSession) ExecutionManager() (common.Address, error)

ExecutionManager is a free data retrieval call binding the contract method 0x483abb9f.

Solidity: function executionManager() view returns(address)

func (*BendExchangeSession) InterceptorManager

func (_BendExchange *BendExchangeSession) InterceptorManager() (common.Address, error)

InterceptorManager is a free data retrieval call binding the contract method 0xf3e13610.

Solidity: function interceptorManager() view returns(address)

func (*BendExchangeSession) IsUserOrderNonceExecutedOrCancelled

func (_BendExchange *BendExchangeSession) IsUserOrderNonceExecutedOrCancelled(user common.Address, orderNonce *big.Int) (bool, error)

IsUserOrderNonceExecutedOrCancelled is a free data retrieval call binding the contract method 0x31e27e27.

Solidity: function isUserOrderNonceExecutedOrCancelled(address user, uint256 orderNonce) view returns(bool)

func (*BendExchangeSession) MatchAskWithTakerBid

func (_BendExchange *BendExchangeSession) MatchAskWithTakerBid(takerBid OrderTypesTakerOrder, makerAsk OrderTypesMakerOrder) (*types.Transaction, error)

MatchAskWithTakerBid is a paid mutator transaction binding the contract method 0x49bfa369.

Solidity: function matchAskWithTakerBid((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerBid, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerAsk) returns()

func (*BendExchangeSession) MatchAskWithTakerBidUsingETHAndWETH

func (_BendExchange *BendExchangeSession) MatchAskWithTakerBidUsingETHAndWETH(takerBid OrderTypesTakerOrder, makerAsk OrderTypesMakerOrder) (*types.Transaction, error)

MatchAskWithTakerBidUsingETHAndWETH is a paid mutator transaction binding the contract method 0x1d8fbc11.

Solidity: function matchAskWithTakerBidUsingETHAndWETH((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerBid, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerAsk) payable returns()

func (*BendExchangeSession) MatchBidWithTakerAsk

func (_BendExchange *BendExchangeSession) MatchBidWithTakerAsk(takerAsk OrderTypesTakerOrder, makerBid OrderTypesMakerOrder) (*types.Transaction, error)

MatchBidWithTakerAsk is a paid mutator transaction binding the contract method 0xb9c2ca2c.

Solidity: function matchBidWithTakerAsk((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerAsk, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerBid) returns()

func (*BendExchangeSession) NAME

func (_BendExchange *BendExchangeSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*BendExchangeSession) Owner

func (_BendExchange *BendExchangeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BendExchangeSession) ProtocolFeeRecipient

func (_BendExchange *BendExchangeSession) ProtocolFeeRecipient() (common.Address, error)

ProtocolFeeRecipient is a free data retrieval call binding the contract method 0x64df049e.

Solidity: function protocolFeeRecipient() view returns(address)

func (*BendExchangeSession) RenounceOwnership

func (_BendExchange *BendExchangeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BendExchangeSession) RoyaltyFeeManager

func (_BendExchange *BendExchangeSession) RoyaltyFeeManager() (common.Address, error)

RoyaltyFeeManager is a free data retrieval call binding the contract method 0x87e4401f.

Solidity: function royaltyFeeManager() view returns(address)

func (*BendExchangeSession) TransferManager

func (_BendExchange *BendExchangeSession) TransferManager() (common.Address, error)

TransferManager is a free data retrieval call binding the contract method 0x46ea2552.

Solidity: function transferManager() view returns(address)

func (*BendExchangeSession) TransferOwnership

func (_BendExchange *BendExchangeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BendExchangeSession) UpdateAuthorizationManager

func (_BendExchange *BendExchangeSession) UpdateAuthorizationManager(_authorizationManager common.Address) (*types.Transaction, error)

UpdateAuthorizationManager is a paid mutator transaction binding the contract method 0x7d50fcfd.

Solidity: function updateAuthorizationManager(address _authorizationManager) returns()

func (*BendExchangeSession) UpdateCurrencyManager

func (_BendExchange *BendExchangeSession) UpdateCurrencyManager(_currencyManager common.Address) (*types.Transaction, error)

UpdateCurrencyManager is a paid mutator transaction binding the contract method 0x5ce052d7.

Solidity: function updateCurrencyManager(address _currencyManager) returns()

func (*BendExchangeSession) UpdateExecutionManager

func (_BendExchange *BendExchangeSession) UpdateExecutionManager(_executionManager common.Address) (*types.Transaction, error)

UpdateExecutionManager is a paid mutator transaction binding the contract method 0xd4ff41dc.

Solidity: function updateExecutionManager(address _executionManager) returns()

func (*BendExchangeSession) UpdateInterceptorManager

func (_BendExchange *BendExchangeSession) UpdateInterceptorManager(_interceptorManager common.Address) (*types.Transaction, error)

UpdateInterceptorManager is a paid mutator transaction binding the contract method 0x923f13ae.

Solidity: function updateInterceptorManager(address _interceptorManager) returns()

func (*BendExchangeSession) UpdateProtocolFeeRecipient

func (_BendExchange *BendExchangeSession) UpdateProtocolFeeRecipient(_protocolFeeRecipient common.Address) (*types.Transaction, error)

UpdateProtocolFeeRecipient is a paid mutator transaction binding the contract method 0x1df47f80.

Solidity: function updateProtocolFeeRecipient(address _protocolFeeRecipient) returns()

func (*BendExchangeSession) UpdateRoyaltyFeeManager

func (_BendExchange *BendExchangeSession) UpdateRoyaltyFeeManager(_royaltyFeeManager common.Address) (*types.Transaction, error)

UpdateRoyaltyFeeManager is a paid mutator transaction binding the contract method 0xc5498769.

Solidity: function updateRoyaltyFeeManager(address _royaltyFeeManager) returns()

func (*BendExchangeSession) UpdateTransferManager

func (_BendExchange *BendExchangeSession) UpdateTransferManager(_transferManager common.Address) (*types.Transaction, error)

UpdateTransferManager is a paid mutator transaction binding the contract method 0x2dd85ad9.

Solidity: function updateTransferManager(address _transferManager) returns()

func (*BendExchangeSession) UserMinOrderNonce

func (_BendExchange *BendExchangeSession) UserMinOrderNonce(arg0 common.Address) (*big.Int, error)

UserMinOrderNonce is a free data retrieval call binding the contract method 0x4266581e.

Solidity: function userMinOrderNonce(address ) view returns(uint256)

func (*BendExchangeSession) VERSION

func (_BendExchange *BendExchangeSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

func (*BendExchangeSession) WETH

func (_BendExchange *BendExchangeSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BendExchangeTakerAsk

type BendExchangeTakerAsk struct {
	MakerOrderHash [32]byte
	OrderNonce     *big.Int
	Taker          common.Address
	Maker          common.Address
	Strategy       common.Address
	Currency       common.Address
	Collection     common.Address
	TokenId        *big.Int
	Amount         *big.Int
	Price          *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BendExchangeTakerAsk represents a TakerAsk event raised by the BendExchange contract.

type BendExchangeTakerAskIterator

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

BendExchangeTakerAskIterator is returned from FilterTakerAsk and is used to iterate over the raw logs and unpacked data for TakerAsk events raised by the BendExchange contract.

func (*BendExchangeTakerAskIterator) Close

func (it *BendExchangeTakerAskIterator) Close() error

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

func (*BendExchangeTakerAskIterator) Error

func (it *BendExchangeTakerAskIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeTakerAskIterator) 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 BendExchangeTakerBid

type BendExchangeTakerBid struct {
	MakerOrderHash [32]byte
	OrderNonce     *big.Int
	Taker          common.Address
	Maker          common.Address
	Strategy       common.Address
	Currency       common.Address
	Collection     common.Address
	TokenId        *big.Int
	Amount         *big.Int
	Price          *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BendExchangeTakerBid represents a TakerBid event raised by the BendExchange contract.

type BendExchangeTakerBidIterator

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

BendExchangeTakerBidIterator is returned from FilterTakerBid and is used to iterate over the raw logs and unpacked data for TakerBid events raised by the BendExchange contract.

func (*BendExchangeTakerBidIterator) Close

func (it *BendExchangeTakerBidIterator) Close() error

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

func (*BendExchangeTakerBidIterator) Error

func (it *BendExchangeTakerBidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BendExchangeTakerBidIterator) 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 BendExchangeTransactor

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

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

func NewBendExchangeTransactor

func NewBendExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*BendExchangeTransactor, error)

NewBendExchangeTransactor creates a new write-only instance of BendExchange, bound to a specific deployed contract.

func (*BendExchangeTransactor) CancelAllOrdersForSender

func (_BendExchange *BendExchangeTransactor) CancelAllOrdersForSender(opts *bind.TransactOpts, minNonce *big.Int) (*types.Transaction, error)

CancelAllOrdersForSender is a paid mutator transaction binding the contract method 0xcbd2ec65.

Solidity: function cancelAllOrdersForSender(uint256 minNonce) returns()

func (*BendExchangeTransactor) CancelMultipleMakerOrders

func (_BendExchange *BendExchangeTransactor) CancelMultipleMakerOrders(opts *bind.TransactOpts, orderNonces []*big.Int) (*types.Transaction, error)

CancelMultipleMakerOrders is a paid mutator transaction binding the contract method 0x9e53a69a.

Solidity: function cancelMultipleMakerOrders(uint256[] orderNonces) returns()

func (*BendExchangeTransactor) MatchAskWithTakerBid

func (_BendExchange *BendExchangeTransactor) MatchAskWithTakerBid(opts *bind.TransactOpts, takerBid OrderTypesTakerOrder, makerAsk OrderTypesMakerOrder) (*types.Transaction, error)

MatchAskWithTakerBid is a paid mutator transaction binding the contract method 0x49bfa369.

Solidity: function matchAskWithTakerBid((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerBid, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerAsk) returns()

func (*BendExchangeTransactor) MatchAskWithTakerBidUsingETHAndWETH

func (_BendExchange *BendExchangeTransactor) MatchAskWithTakerBidUsingETHAndWETH(opts *bind.TransactOpts, takerBid OrderTypesTakerOrder, makerAsk OrderTypesMakerOrder) (*types.Transaction, error)

MatchAskWithTakerBidUsingETHAndWETH is a paid mutator transaction binding the contract method 0x1d8fbc11.

Solidity: function matchAskWithTakerBidUsingETHAndWETH((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerBid, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerAsk) payable returns()

func (*BendExchangeTransactor) MatchBidWithTakerAsk

func (_BendExchange *BendExchangeTransactor) MatchBidWithTakerAsk(opts *bind.TransactOpts, takerAsk OrderTypesTakerOrder, makerBid OrderTypesMakerOrder) (*types.Transaction, error)

MatchBidWithTakerAsk is a paid mutator transaction binding the contract method 0xb9c2ca2c.

Solidity: function matchBidWithTakerAsk((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerAsk, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerBid) returns()

func (*BendExchangeTransactor) RenounceOwnership

func (_BendExchange *BendExchangeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BendExchangeTransactor) TransferOwnership

func (_BendExchange *BendExchangeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BendExchangeTransactor) UpdateAuthorizationManager

func (_BendExchange *BendExchangeTransactor) UpdateAuthorizationManager(opts *bind.TransactOpts, _authorizationManager common.Address) (*types.Transaction, error)

UpdateAuthorizationManager is a paid mutator transaction binding the contract method 0x7d50fcfd.

Solidity: function updateAuthorizationManager(address _authorizationManager) returns()

func (*BendExchangeTransactor) UpdateCurrencyManager

func (_BendExchange *BendExchangeTransactor) UpdateCurrencyManager(opts *bind.TransactOpts, _currencyManager common.Address) (*types.Transaction, error)

UpdateCurrencyManager is a paid mutator transaction binding the contract method 0x5ce052d7.

Solidity: function updateCurrencyManager(address _currencyManager) returns()

func (*BendExchangeTransactor) UpdateExecutionManager

func (_BendExchange *BendExchangeTransactor) UpdateExecutionManager(opts *bind.TransactOpts, _executionManager common.Address) (*types.Transaction, error)

UpdateExecutionManager is a paid mutator transaction binding the contract method 0xd4ff41dc.

Solidity: function updateExecutionManager(address _executionManager) returns()

func (*BendExchangeTransactor) UpdateInterceptorManager

func (_BendExchange *BendExchangeTransactor) UpdateInterceptorManager(opts *bind.TransactOpts, _interceptorManager common.Address) (*types.Transaction, error)

UpdateInterceptorManager is a paid mutator transaction binding the contract method 0x923f13ae.

Solidity: function updateInterceptorManager(address _interceptorManager) returns()

func (*BendExchangeTransactor) UpdateProtocolFeeRecipient

func (_BendExchange *BendExchangeTransactor) UpdateProtocolFeeRecipient(opts *bind.TransactOpts, _protocolFeeRecipient common.Address) (*types.Transaction, error)

UpdateProtocolFeeRecipient is a paid mutator transaction binding the contract method 0x1df47f80.

Solidity: function updateProtocolFeeRecipient(address _protocolFeeRecipient) returns()

func (*BendExchangeTransactor) UpdateRoyaltyFeeManager

func (_BendExchange *BendExchangeTransactor) UpdateRoyaltyFeeManager(opts *bind.TransactOpts, _royaltyFeeManager common.Address) (*types.Transaction, error)

UpdateRoyaltyFeeManager is a paid mutator transaction binding the contract method 0xc5498769.

Solidity: function updateRoyaltyFeeManager(address _royaltyFeeManager) returns()

func (*BendExchangeTransactor) UpdateTransferManager

func (_BendExchange *BendExchangeTransactor) UpdateTransferManager(opts *bind.TransactOpts, _transferManager common.Address) (*types.Transaction, error)

UpdateTransferManager is a paid mutator transaction binding the contract method 0x2dd85ad9.

Solidity: function updateTransferManager(address _transferManager) returns()

type BendExchangeTransactorRaw

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

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

func (*BendExchangeTransactorRaw) Transact

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

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

func (*BendExchangeTransactorRaw) Transfer

func (_BendExchange *BendExchangeTransactorRaw) 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 BendExchangeTransactorSession

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

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

func (*BendExchangeTransactorSession) CancelAllOrdersForSender

func (_BendExchange *BendExchangeTransactorSession) CancelAllOrdersForSender(minNonce *big.Int) (*types.Transaction, error)

CancelAllOrdersForSender is a paid mutator transaction binding the contract method 0xcbd2ec65.

Solidity: function cancelAllOrdersForSender(uint256 minNonce) returns()

func (*BendExchangeTransactorSession) CancelMultipleMakerOrders

func (_BendExchange *BendExchangeTransactorSession) CancelMultipleMakerOrders(orderNonces []*big.Int) (*types.Transaction, error)

CancelMultipleMakerOrders is a paid mutator transaction binding the contract method 0x9e53a69a.

Solidity: function cancelMultipleMakerOrders(uint256[] orderNonces) returns()

func (*BendExchangeTransactorSession) MatchAskWithTakerBid

func (_BendExchange *BendExchangeTransactorSession) MatchAskWithTakerBid(takerBid OrderTypesTakerOrder, makerAsk OrderTypesMakerOrder) (*types.Transaction, error)

MatchAskWithTakerBid is a paid mutator transaction binding the contract method 0x49bfa369.

Solidity: function matchAskWithTakerBid((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerBid, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerAsk) returns()

func (*BendExchangeTransactorSession) MatchAskWithTakerBidUsingETHAndWETH

func (_BendExchange *BendExchangeTransactorSession) MatchAskWithTakerBidUsingETHAndWETH(takerBid OrderTypesTakerOrder, makerAsk OrderTypesMakerOrder) (*types.Transaction, error)

MatchAskWithTakerBidUsingETHAndWETH is a paid mutator transaction binding the contract method 0x1d8fbc11.

Solidity: function matchAskWithTakerBidUsingETHAndWETH((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerBid, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerAsk) payable returns()

func (*BendExchangeTransactorSession) MatchBidWithTakerAsk

func (_BendExchange *BendExchangeTransactorSession) MatchBidWithTakerAsk(takerAsk OrderTypesTakerOrder, makerBid OrderTypesMakerOrder) (*types.Transaction, error)

MatchBidWithTakerAsk is a paid mutator transaction binding the contract method 0xb9c2ca2c.

Solidity: function matchBidWithTakerAsk((bool,address,uint256,uint256,uint256,bytes,address,bytes) takerAsk, (bool,address,address,uint256,uint256,uint256,address,address,uint256,uint256,uint256,uint256,bytes,address,bytes,uint8,bytes32,bytes32) makerBid) returns()

func (*BendExchangeTransactorSession) RenounceOwnership

func (_BendExchange *BendExchangeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BendExchangeTransactorSession) TransferOwnership

func (_BendExchange *BendExchangeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BendExchangeTransactorSession) UpdateAuthorizationManager

func (_BendExchange *BendExchangeTransactorSession) UpdateAuthorizationManager(_authorizationManager common.Address) (*types.Transaction, error)

UpdateAuthorizationManager is a paid mutator transaction binding the contract method 0x7d50fcfd.

Solidity: function updateAuthorizationManager(address _authorizationManager) returns()

func (*BendExchangeTransactorSession) UpdateCurrencyManager

func (_BendExchange *BendExchangeTransactorSession) UpdateCurrencyManager(_currencyManager common.Address) (*types.Transaction, error)

UpdateCurrencyManager is a paid mutator transaction binding the contract method 0x5ce052d7.

Solidity: function updateCurrencyManager(address _currencyManager) returns()

func (*BendExchangeTransactorSession) UpdateExecutionManager

func (_BendExchange *BendExchangeTransactorSession) UpdateExecutionManager(_executionManager common.Address) (*types.Transaction, error)

UpdateExecutionManager is a paid mutator transaction binding the contract method 0xd4ff41dc.

Solidity: function updateExecutionManager(address _executionManager) returns()

func (*BendExchangeTransactorSession) UpdateInterceptorManager

func (_BendExchange *BendExchangeTransactorSession) UpdateInterceptorManager(_interceptorManager common.Address) (*types.Transaction, error)

UpdateInterceptorManager is a paid mutator transaction binding the contract method 0x923f13ae.

Solidity: function updateInterceptorManager(address _interceptorManager) returns()

func (*BendExchangeTransactorSession) UpdateProtocolFeeRecipient

func (_BendExchange *BendExchangeTransactorSession) UpdateProtocolFeeRecipient(_protocolFeeRecipient common.Address) (*types.Transaction, error)

UpdateProtocolFeeRecipient is a paid mutator transaction binding the contract method 0x1df47f80.

Solidity: function updateProtocolFeeRecipient(address _protocolFeeRecipient) returns()

func (*BendExchangeTransactorSession) UpdateRoyaltyFeeManager

func (_BendExchange *BendExchangeTransactorSession) UpdateRoyaltyFeeManager(_royaltyFeeManager common.Address) (*types.Transaction, error)

UpdateRoyaltyFeeManager is a paid mutator transaction binding the contract method 0xc5498769.

Solidity: function updateRoyaltyFeeManager(address _royaltyFeeManager) returns()

func (*BendExchangeTransactorSession) UpdateTransferManager

func (_BendExchange *BendExchangeTransactorSession) UpdateTransferManager(_transferManager common.Address) (*types.Transaction, error)

UpdateTransferManager is a paid mutator transaction binding the contract method 0x2dd85ad9.

Solidity: function updateTransferManager(address _transferManager) returns()

type DataTypesNftConfigurationMap

type DataTypesNftConfigurationMap struct {
	Data *big.Int
}

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

type DataTypesNftData

type DataTypesNftData struct {
	Configuration DataTypesNftConfigurationMap
	BNftAddress   common.Address
	Id            uint8
	MaxSupply     *big.Int
	MaxTokenId    *big.Int
}

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

type DataTypesReserveConfigurationMap

type DataTypesReserveConfigurationMap struct {
	Data *big.Int
}

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

type DataTypesReserveData

type DataTypesReserveData struct {
	Configuration             DataTypesReserveConfigurationMap
	LiquidityIndex            *big.Int
	VariableBorrowIndex       *big.Int
	CurrentLiquidityRate      *big.Int
	CurrentVariableBorrowRate *big.Int
	LastUpdateTimestamp       *big.Int
	BTokenAddress             common.Address
	DebtTokenAddress          common.Address
	InterestRateAddress       common.Address
	Id                        uint8
}

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

type LendPool

type LendPool struct {
	LendPoolCaller     // Read-only binding to the contract
	LendPoolTransactor // Write-only binding to the contract
	LendPoolFilterer   // Log filterer for contract events
}

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

func NewLendPool

func NewLendPool(address common.Address, backend bind.ContractBackend) (*LendPool, error)

NewLendPool creates a new instance of LendPool, bound to a specific deployed contract.

type LendPoolAuction

type LendPoolAuction struct {
	User       common.Address
	Reserve    common.Address
	BidPrice   *big.Int
	NftAsset   common.Address
	NftTokenId *big.Int
	OnBehalfOf common.Address
	Borrower   common.Address
	LoanId     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

LendPoolAuction represents a Auction event raised by the LendPool contract.

type LendPoolAuctionIterator

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

LendPoolAuctionIterator is returned from FilterAuction and is used to iterate over the raw logs and unpacked data for Auction events raised by the LendPool contract.

func (*LendPoolAuctionIterator) Close

func (it *LendPoolAuctionIterator) Close() error

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

func (*LendPoolAuctionIterator) Error

func (it *LendPoolAuctionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolAuctionIterator) Next

func (it *LendPoolAuctionIterator) 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 LendPoolBorrow

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

LendPoolBorrow represents a Borrow event raised by the LendPool contract.

type LendPoolBorrowIterator

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

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

func (*LendPoolBorrowIterator) Close

func (it *LendPoolBorrowIterator) Close() error

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

func (*LendPoolBorrowIterator) Error

func (it *LendPoolBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolBorrowIterator) Next

func (it *LendPoolBorrowIterator) 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 LendPoolCaller

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

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

func NewLendPoolCaller

func NewLendPoolCaller(address common.Address, caller bind.ContractCaller) (*LendPoolCaller, error)

NewLendPoolCaller creates a new read-only instance of LendPool, bound to a specific deployed contract.

func (*LendPoolCaller) FinalizeTransfer

func (_LendPool *LendPoolCaller) FinalizeTransfer(opts *bind.CallOpts, asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) error

FinalizeTransfer is a free data retrieval call binding the contract method 0xd5ed3933.

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

func (*LendPoolCaller) GetAddressesProvider

func (_LendPool *LendPoolCaller) 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 (*LendPoolCaller) GetMaxNumberOfNfts

func (_LendPool *LendPoolCaller) GetMaxNumberOfNfts(opts *bind.CallOpts) (*big.Int, error)

GetMaxNumberOfNfts is a free data retrieval call binding the contract method 0xdd90ff38.

Solidity: function getMaxNumberOfNfts() view returns(uint256)

func (*LendPoolCaller) GetMaxNumberOfReserves

func (_LendPool *LendPoolCaller) GetMaxNumberOfReserves(opts *bind.CallOpts) (*big.Int, error)

GetMaxNumberOfReserves is a free data retrieval call binding the contract method 0x08ac08b9.

Solidity: function getMaxNumberOfReserves() view returns(uint256)

func (*LendPoolCaller) GetNftAuctionData

func (_LendPool *LendPoolCaller) GetNftAuctionData(opts *bind.CallOpts, nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId          *big.Int
	BidderAddress   common.Address
	BidPrice        *big.Int
	BidBorrowAmount *big.Int
	BidFine         *big.Int
}, error)

GetNftAuctionData is a free data retrieval call binding the contract method 0xe5bceca5.

Solidity: function getNftAuctionData(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, address bidderAddress, uint256 bidPrice, uint256 bidBorrowAmount, uint256 bidFine)

func (*LendPoolCaller) GetNftAuctionEndTime

func (_LendPool *LendPoolCaller) GetNftAuctionEndTime(opts *bind.CallOpts, nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId             *big.Int
	BidStartTimestamp  *big.Int
	BidEndTimestamp    *big.Int
	RedeemEndTimestamp *big.Int
}, error)

GetNftAuctionEndTime is a free data retrieval call binding the contract method 0x17c8a456.

Solidity: function getNftAuctionEndTime(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, uint256 bidStartTimestamp, uint256 bidEndTimestamp, uint256 redeemEndTimestamp)

func (*LendPoolCaller) GetNftCollateralData

func (_LendPool *LendPoolCaller) GetNftCollateralData(opts *bind.CallOpts, nftAsset common.Address, reserveAsset common.Address) (struct {
	TotalCollateralInETH      *big.Int
	TotalCollateralInReserve  *big.Int
	AvailableBorrowsInETH     *big.Int
	AvailableBorrowsInReserve *big.Int
	Ltv                       *big.Int
	LiquidationThreshold      *big.Int
	LiquidationBonus          *big.Int
}, error)

GetNftCollateralData is a free data retrieval call binding the contract method 0xcc8ccdf2.

Solidity: function getNftCollateralData(address nftAsset, address reserveAsset) view returns(uint256 totalCollateralInETH, uint256 totalCollateralInReserve, uint256 availableBorrowsInETH, uint256 availableBorrowsInReserve, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus)

func (*LendPoolCaller) GetNftConfiguration

func (_LendPool *LendPoolCaller) GetNftConfiguration(opts *bind.CallOpts, asset common.Address) (DataTypesNftConfigurationMap, error)

GetNftConfiguration is a free data retrieval call binding the contract method 0x87c32dec.

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

func (*LendPoolCaller) GetNftData

func (_LendPool *LendPoolCaller) GetNftData(opts *bind.CallOpts, asset common.Address) (DataTypesNftData, error)

GetNftData is a free data retrieval call binding the contract method 0x77bdc0c3.

Solidity: function getNftData(address asset) view returns(((uint256),address,uint8,uint256,uint256))

func (*LendPoolCaller) GetNftDebtData

func (_LendPool *LendPoolCaller) GetNftDebtData(opts *bind.CallOpts, nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId           *big.Int
	ReserveAsset     common.Address
	TotalCollateral  *big.Int
	TotalDebt        *big.Int
	AvailableBorrows *big.Int
	HealthFactor     *big.Int
}, error)

GetNftDebtData is a free data retrieval call binding the contract method 0xec765d3d.

Solidity: function getNftDebtData(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, address reserveAsset, uint256 totalCollateral, uint256 totalDebt, uint256 availableBorrows, uint256 healthFactor)

func (*LendPoolCaller) GetNftLiquidatePrice

func (_LendPool *LendPoolCaller) GetNftLiquidatePrice(opts *bind.CallOpts, nftAsset common.Address, nftTokenId *big.Int) (struct {
	LiquidatePrice *big.Int
	PaybackAmount  *big.Int
}, error)

GetNftLiquidatePrice is a free data retrieval call binding the contract method 0x798b9e3d.

Solidity: function getNftLiquidatePrice(address nftAsset, uint256 nftTokenId) view returns(uint256 liquidatePrice, uint256 paybackAmount)

func (*LendPoolCaller) GetNftsList

func (_LendPool *LendPoolCaller) GetNftsList(opts *bind.CallOpts) ([]common.Address, error)

GetNftsList is a free data retrieval call binding the contract method 0x6b25c835.

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

func (*LendPoolCaller) GetPausedTime

func (_LendPool *LendPoolCaller) GetPausedTime(opts *bind.CallOpts) (*big.Int, *big.Int, error)

GetPausedTime is a free data retrieval call binding the contract method 0x8fc42188.

Solidity: function getPausedTime() view returns(uint256, uint256)

func (*LendPoolCaller) GetReserveConfiguration

func (_LendPool *LendPoolCaller) GetReserveConfiguration(opts *bind.CallOpts, asset common.Address) (DataTypesReserveConfigurationMap, error)

GetReserveConfiguration is a free data retrieval call binding the contract method 0x5fc526ff.

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

func (*LendPoolCaller) GetReserveData

func (_LendPool *LendPoolCaller) GetReserveData(opts *bind.CallOpts, asset common.Address) (DataTypesReserveData, 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,uint40,address,address,address,uint8))

func (*LendPoolCaller) GetReserveNormalizedIncome

func (_LendPool *LendPoolCaller) 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 (*LendPoolCaller) GetReserveNormalizedVariableDebt

func (_LendPool *LendPoolCaller) 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 (*LendPoolCaller) GetReservesList

func (_LendPool *LendPoolCaller) 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 (*LendPoolCaller) OnERC721Received

func (_LendPool *LendPoolCaller) OnERC721Received(opts *bind.CallOpts, operator common.Address, from common.Address, tokenId *big.Int, data []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) pure returns(bytes4)

func (*LendPoolCaller) Paused

func (_LendPool *LendPoolCaller) 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 LendPoolCallerRaw

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

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

func (*LendPoolCallerRaw) Call

func (_LendPool *LendPoolCallerRaw) 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 LendPoolCallerSession

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

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

func (*LendPoolCallerSession) FinalizeTransfer

func (_LendPool *LendPoolCallerSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) error

FinalizeTransfer is a free data retrieval call binding the contract method 0xd5ed3933.

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

func (*LendPoolCallerSession) GetAddressesProvider

func (_LendPool *LendPoolCallerSession) GetAddressesProvider() (common.Address, error)

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

Solidity: function getAddressesProvider() view returns(address)

func (*LendPoolCallerSession) GetMaxNumberOfNfts

func (_LendPool *LendPoolCallerSession) GetMaxNumberOfNfts() (*big.Int, error)

GetMaxNumberOfNfts is a free data retrieval call binding the contract method 0xdd90ff38.

Solidity: function getMaxNumberOfNfts() view returns(uint256)

func (*LendPoolCallerSession) GetMaxNumberOfReserves

func (_LendPool *LendPoolCallerSession) GetMaxNumberOfReserves() (*big.Int, error)

GetMaxNumberOfReserves is a free data retrieval call binding the contract method 0x08ac08b9.

Solidity: function getMaxNumberOfReserves() view returns(uint256)

func (*LendPoolCallerSession) GetNftAuctionData

func (_LendPool *LendPoolCallerSession) GetNftAuctionData(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId          *big.Int
	BidderAddress   common.Address
	BidPrice        *big.Int
	BidBorrowAmount *big.Int
	BidFine         *big.Int
}, error)

GetNftAuctionData is a free data retrieval call binding the contract method 0xe5bceca5.

Solidity: function getNftAuctionData(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, address bidderAddress, uint256 bidPrice, uint256 bidBorrowAmount, uint256 bidFine)

func (*LendPoolCallerSession) GetNftAuctionEndTime

func (_LendPool *LendPoolCallerSession) GetNftAuctionEndTime(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId             *big.Int
	BidStartTimestamp  *big.Int
	BidEndTimestamp    *big.Int
	RedeemEndTimestamp *big.Int
}, error)

GetNftAuctionEndTime is a free data retrieval call binding the contract method 0x17c8a456.

Solidity: function getNftAuctionEndTime(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, uint256 bidStartTimestamp, uint256 bidEndTimestamp, uint256 redeemEndTimestamp)

func (*LendPoolCallerSession) GetNftCollateralData

func (_LendPool *LendPoolCallerSession) GetNftCollateralData(nftAsset common.Address, reserveAsset common.Address) (struct {
	TotalCollateralInETH      *big.Int
	TotalCollateralInReserve  *big.Int
	AvailableBorrowsInETH     *big.Int
	AvailableBorrowsInReserve *big.Int
	Ltv                       *big.Int
	LiquidationThreshold      *big.Int
	LiquidationBonus          *big.Int
}, error)

GetNftCollateralData is a free data retrieval call binding the contract method 0xcc8ccdf2.

Solidity: function getNftCollateralData(address nftAsset, address reserveAsset) view returns(uint256 totalCollateralInETH, uint256 totalCollateralInReserve, uint256 availableBorrowsInETH, uint256 availableBorrowsInReserve, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus)

func (*LendPoolCallerSession) GetNftConfiguration

func (_LendPool *LendPoolCallerSession) GetNftConfiguration(asset common.Address) (DataTypesNftConfigurationMap, error)

GetNftConfiguration is a free data retrieval call binding the contract method 0x87c32dec.

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

func (*LendPoolCallerSession) GetNftData

func (_LendPool *LendPoolCallerSession) GetNftData(asset common.Address) (DataTypesNftData, error)

GetNftData is a free data retrieval call binding the contract method 0x77bdc0c3.

Solidity: function getNftData(address asset) view returns(((uint256),address,uint8,uint256,uint256))

func (*LendPoolCallerSession) GetNftDebtData

func (_LendPool *LendPoolCallerSession) GetNftDebtData(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId           *big.Int
	ReserveAsset     common.Address
	TotalCollateral  *big.Int
	TotalDebt        *big.Int
	AvailableBorrows *big.Int
	HealthFactor     *big.Int
}, error)

GetNftDebtData is a free data retrieval call binding the contract method 0xec765d3d.

Solidity: function getNftDebtData(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, address reserveAsset, uint256 totalCollateral, uint256 totalDebt, uint256 availableBorrows, uint256 healthFactor)

func (*LendPoolCallerSession) GetNftLiquidatePrice

func (_LendPool *LendPoolCallerSession) GetNftLiquidatePrice(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LiquidatePrice *big.Int
	PaybackAmount  *big.Int
}, error)

GetNftLiquidatePrice is a free data retrieval call binding the contract method 0x798b9e3d.

Solidity: function getNftLiquidatePrice(address nftAsset, uint256 nftTokenId) view returns(uint256 liquidatePrice, uint256 paybackAmount)

func (*LendPoolCallerSession) GetNftsList

func (_LendPool *LendPoolCallerSession) GetNftsList() ([]common.Address, error)

GetNftsList is a free data retrieval call binding the contract method 0x6b25c835.

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

func (*LendPoolCallerSession) GetPausedTime

func (_LendPool *LendPoolCallerSession) GetPausedTime() (*big.Int, *big.Int, error)

GetPausedTime is a free data retrieval call binding the contract method 0x8fc42188.

Solidity: function getPausedTime() view returns(uint256, uint256)

func (*LendPoolCallerSession) GetReserveConfiguration

func (_LendPool *LendPoolCallerSession) GetReserveConfiguration(asset common.Address) (DataTypesReserveConfigurationMap, error)

GetReserveConfiguration is a free data retrieval call binding the contract method 0x5fc526ff.

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

func (*LendPoolCallerSession) GetReserveData

func (_LendPool *LendPoolCallerSession) GetReserveData(asset common.Address) (DataTypesReserveData, 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,uint40,address,address,address,uint8))

func (*LendPoolCallerSession) GetReserveNormalizedIncome

func (_LendPool *LendPoolCallerSession) 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 (*LendPoolCallerSession) GetReserveNormalizedVariableDebt

func (_LendPool *LendPoolCallerSession) 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 (*LendPoolCallerSession) GetReservesList

func (_LendPool *LendPoolCallerSession) GetReservesList() ([]common.Address, error)

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

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

func (*LendPoolCallerSession) OnERC721Received

func (_LendPool *LendPoolCallerSession) OnERC721Received(operator common.Address, from common.Address, tokenId *big.Int, data []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) pure returns(bytes4)

func (*LendPoolCallerSession) Paused

func (_LendPool *LendPoolCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

type LendPoolDeposit

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

LendPoolDeposit represents a Deposit event raised by the LendPool contract.

type LendPoolDepositIterator

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

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

func (*LendPoolDepositIterator) Close

func (it *LendPoolDepositIterator) Close() error

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

func (*LendPoolDepositIterator) Error

func (it *LendPoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolDepositIterator) Next

func (it *LendPoolDepositIterator) 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 LendPoolFilterer

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

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

func NewLendPoolFilterer

func NewLendPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*LendPoolFilterer, error)

NewLendPoolFilterer creates a new log filterer instance of LendPool, bound to a specific deployed contract.

func (*LendPoolFilterer) FilterAuction

func (_LendPool *LendPoolFilterer) FilterAuction(opts *bind.FilterOpts, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (*LendPoolAuctionIterator, error)

FilterAuction is a free log retrieval operation binding the contract event 0xd4c7449fa0ea241233dd0a9e78a940879918f95e0caa34e0399a7d2813c8efba.

Solidity: event Auction(address user, address indexed reserve, uint256 bidPrice, address indexed nftAsset, uint256 nftTokenId, address onBehalfOf, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) FilterBorrow

func (_LendPool *LendPoolFilterer) FilterBorrow(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*LendPoolBorrowIterator, error)

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

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

func (*LendPoolFilterer) FilterDeposit

func (_LendPool *LendPoolFilterer) FilterDeposit(opts *bind.FilterOpts, reserve []common.Address, onBehalfOf []common.Address, referral []uint16) (*LendPoolDepositIterator, error)

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

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

func (*LendPoolFilterer) FilterLiquidate

func (_LendPool *LendPoolFilterer) FilterLiquidate(opts *bind.FilterOpts, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (*LendPoolLiquidateIterator, error)

FilterLiquidate is a free log retrieval operation binding the contract event 0xf028795898a18c6fc88094dc5671c6a79d5dc3458c44015e9299fbc6c6268cf8.

Solidity: event Liquidate(address user, address indexed reserve, uint256 repayAmount, uint256 remainAmount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) FilterPaused

func (_LendPool *LendPoolFilterer) FilterPaused(opts *bind.FilterOpts) (*LendPoolPausedIterator, error)

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

Solidity: event Paused()

func (*LendPoolFilterer) FilterPausedTimeUpdated

func (_LendPool *LendPoolFilterer) FilterPausedTimeUpdated(opts *bind.FilterOpts) (*LendPoolPausedTimeUpdatedIterator, error)

FilterPausedTimeUpdated is a free log retrieval operation binding the contract event 0xd897a722b1c0a957941f99a13c0ea24d7d4ffafe0953658f68f49e13ccba5c5a.

Solidity: event PausedTimeUpdated(uint256 startTime, uint256 durationTime)

func (*LendPoolFilterer) FilterRedeem

func (_LendPool *LendPoolFilterer) FilterRedeem(opts *bind.FilterOpts, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (*LendPoolRedeemIterator, error)

FilterRedeem is a free log retrieval operation binding the contract event 0x0fcfe1a3f2afab13e32fa3c091795159ed5dfe66dc078e21c7f521f42e163afc.

Solidity: event Redeem(address user, address indexed reserve, uint256 borrowAmount, uint256 fineAmount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) FilterRepay

func (_LendPool *LendPoolFilterer) FilterRepay(opts *bind.FilterOpts, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (*LendPoolRepayIterator, error)

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

Solidity: event Repay(address user, address indexed reserve, uint256 amount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) FilterReserveDataUpdated

func (_LendPool *LendPoolFilterer) FilterReserveDataUpdated(opts *bind.FilterOpts, reserve []common.Address) (*LendPoolReserveDataUpdatedIterator, error)

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

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

func (*LendPoolFilterer) FilterUnpaused

func (_LendPool *LendPoolFilterer) FilterUnpaused(opts *bind.FilterOpts) (*LendPoolUnpausedIterator, error)

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

Solidity: event Unpaused()

func (*LendPoolFilterer) FilterWithdraw

func (_LendPool *LendPoolFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, reserve []common.Address, to []common.Address) (*LendPoolWithdrawIterator, error)

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

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

func (*LendPoolFilterer) ParseAuction

func (_LendPool *LendPoolFilterer) ParseAuction(log types.Log) (*LendPoolAuction, error)

ParseAuction is a log parse operation binding the contract event 0xd4c7449fa0ea241233dd0a9e78a940879918f95e0caa34e0399a7d2813c8efba.

Solidity: event Auction(address user, address indexed reserve, uint256 bidPrice, address indexed nftAsset, uint256 nftTokenId, address onBehalfOf, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) ParseBorrow

func (_LendPool *LendPoolFilterer) ParseBorrow(log types.Log) (*LendPoolBorrow, error)

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

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

func (*LendPoolFilterer) ParseDeposit

func (_LendPool *LendPoolFilterer) ParseDeposit(log types.Log) (*LendPoolDeposit, error)

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

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

func (*LendPoolFilterer) ParseLiquidate

func (_LendPool *LendPoolFilterer) ParseLiquidate(log types.Log) (*LendPoolLiquidate, error)

ParseLiquidate is a log parse operation binding the contract event 0xf028795898a18c6fc88094dc5671c6a79d5dc3458c44015e9299fbc6c6268cf8.

Solidity: event Liquidate(address user, address indexed reserve, uint256 repayAmount, uint256 remainAmount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) ParsePaused

func (_LendPool *LendPoolFilterer) ParsePaused(log types.Log) (*LendPoolPaused, error)

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

Solidity: event Paused()

func (*LendPoolFilterer) ParsePausedTimeUpdated

func (_LendPool *LendPoolFilterer) ParsePausedTimeUpdated(log types.Log) (*LendPoolPausedTimeUpdated, error)

ParsePausedTimeUpdated is a log parse operation binding the contract event 0xd897a722b1c0a957941f99a13c0ea24d7d4ffafe0953658f68f49e13ccba5c5a.

Solidity: event PausedTimeUpdated(uint256 startTime, uint256 durationTime)

func (*LendPoolFilterer) ParseRedeem

func (_LendPool *LendPoolFilterer) ParseRedeem(log types.Log) (*LendPoolRedeem, error)

ParseRedeem is a log parse operation binding the contract event 0x0fcfe1a3f2afab13e32fa3c091795159ed5dfe66dc078e21c7f521f42e163afc.

Solidity: event Redeem(address user, address indexed reserve, uint256 borrowAmount, uint256 fineAmount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) ParseRepay

func (_LendPool *LendPoolFilterer) ParseRepay(log types.Log) (*LendPoolRepay, error)

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

Solidity: event Repay(address user, address indexed reserve, uint256 amount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) ParseReserveDataUpdated

func (_LendPool *LendPoolFilterer) ParseReserveDataUpdated(log types.Log) (*LendPoolReserveDataUpdated, error)

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

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

func (*LendPoolFilterer) ParseUnpaused

func (_LendPool *LendPoolFilterer) ParseUnpaused(log types.Log) (*LendPoolUnpaused, error)

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

Solidity: event Unpaused()

func (*LendPoolFilterer) ParseWithdraw

func (_LendPool *LendPoolFilterer) ParseWithdraw(log types.Log) (*LendPoolWithdraw, error)

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

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

func (*LendPoolFilterer) WatchAuction

func (_LendPool *LendPoolFilterer) WatchAuction(opts *bind.WatchOpts, sink chan<- *LendPoolAuction, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (event.Subscription, error)

WatchAuction is a free log subscription operation binding the contract event 0xd4c7449fa0ea241233dd0a9e78a940879918f95e0caa34e0399a7d2813c8efba.

Solidity: event Auction(address user, address indexed reserve, uint256 bidPrice, address indexed nftAsset, uint256 nftTokenId, address onBehalfOf, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) WatchBorrow

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

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

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

func (*LendPoolFilterer) WatchDeposit

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

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

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

func (*LendPoolFilterer) WatchLiquidate

func (_LendPool *LendPoolFilterer) WatchLiquidate(opts *bind.WatchOpts, sink chan<- *LendPoolLiquidate, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (event.Subscription, error)

WatchLiquidate is a free log subscription operation binding the contract event 0xf028795898a18c6fc88094dc5671c6a79d5dc3458c44015e9299fbc6c6268cf8.

Solidity: event Liquidate(address user, address indexed reserve, uint256 repayAmount, uint256 remainAmount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) WatchPaused

func (_LendPool *LendPoolFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *LendPoolPaused) (event.Subscription, error)

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

Solidity: event Paused()

func (*LendPoolFilterer) WatchPausedTimeUpdated

func (_LendPool *LendPoolFilterer) WatchPausedTimeUpdated(opts *bind.WatchOpts, sink chan<- *LendPoolPausedTimeUpdated) (event.Subscription, error)

WatchPausedTimeUpdated is a free log subscription operation binding the contract event 0xd897a722b1c0a957941f99a13c0ea24d7d4ffafe0953658f68f49e13ccba5c5a.

Solidity: event PausedTimeUpdated(uint256 startTime, uint256 durationTime)

func (*LendPoolFilterer) WatchRedeem

func (_LendPool *LendPoolFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *LendPoolRedeem, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (event.Subscription, error)

WatchRedeem is a free log subscription operation binding the contract event 0x0fcfe1a3f2afab13e32fa3c091795159ed5dfe66dc078e21c7f521f42e163afc.

Solidity: event Redeem(address user, address indexed reserve, uint256 borrowAmount, uint256 fineAmount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) WatchRepay

func (_LendPool *LendPoolFilterer) WatchRepay(opts *bind.WatchOpts, sink chan<- *LendPoolRepay, reserve []common.Address, nftAsset []common.Address, borrower []common.Address) (event.Subscription, error)

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

Solidity: event Repay(address user, address indexed reserve, uint256 amount, address indexed nftAsset, uint256 nftTokenId, address indexed borrower, uint256 loanId)

func (*LendPoolFilterer) WatchReserveDataUpdated

func (_LendPool *LendPoolFilterer) WatchReserveDataUpdated(opts *bind.WatchOpts, sink chan<- *LendPoolReserveDataUpdated, reserve []common.Address) (event.Subscription, error)

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

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

func (*LendPoolFilterer) WatchUnpaused

func (_LendPool *LendPoolFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *LendPoolUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused()

func (*LendPoolFilterer) WatchWithdraw

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

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

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

type LendPoolLiquidate

type LendPoolLiquidate struct {
	User         common.Address
	Reserve      common.Address
	RepayAmount  *big.Int
	RemainAmount *big.Int
	NftAsset     common.Address
	NftTokenId   *big.Int
	Borrower     common.Address
	LoanId       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

LendPoolLiquidate represents a Liquidate event raised by the LendPool contract.

type LendPoolLiquidateIterator

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

LendPoolLiquidateIterator is returned from FilterLiquidate and is used to iterate over the raw logs and unpacked data for Liquidate events raised by the LendPool contract.

func (*LendPoolLiquidateIterator) Close

func (it *LendPoolLiquidateIterator) Close() error

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

func (*LendPoolLiquidateIterator) Error

func (it *LendPoolLiquidateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolLiquidateIterator) Next

func (it *LendPoolLiquidateIterator) 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 LendPoolPaused

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

LendPoolPaused represents a Paused event raised by the LendPool contract.

type LendPoolPausedIterator

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

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

func (*LendPoolPausedIterator) Close

func (it *LendPoolPausedIterator) Close() error

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

func (*LendPoolPausedIterator) Error

func (it *LendPoolPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolPausedIterator) Next

func (it *LendPoolPausedIterator) 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 LendPoolPausedTimeUpdated

type LendPoolPausedTimeUpdated struct {
	StartTime    *big.Int
	DurationTime *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

LendPoolPausedTimeUpdated represents a PausedTimeUpdated event raised by the LendPool contract.

type LendPoolPausedTimeUpdatedIterator

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

LendPoolPausedTimeUpdatedIterator is returned from FilterPausedTimeUpdated and is used to iterate over the raw logs and unpacked data for PausedTimeUpdated events raised by the LendPool contract.

func (*LendPoolPausedTimeUpdatedIterator) Close

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

func (*LendPoolPausedTimeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolPausedTimeUpdatedIterator) 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 LendPoolRaw

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

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

func (*LendPoolRaw) Call

func (_LendPool *LendPoolRaw) 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 (*LendPoolRaw) Transact

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

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

func (*LendPoolRaw) Transfer

func (_LendPool *LendPoolRaw) 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 LendPoolRedeem

type LendPoolRedeem struct {
	User         common.Address
	Reserve      common.Address
	BorrowAmount *big.Int
	FineAmount   *big.Int
	NftAsset     common.Address
	NftTokenId   *big.Int
	Borrower     common.Address
	LoanId       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

LendPoolRedeem represents a Redeem event raised by the LendPool contract.

type LendPoolRedeemIterator

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

LendPoolRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the LendPool contract.

func (*LendPoolRedeemIterator) Close

func (it *LendPoolRedeemIterator) Close() error

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

func (*LendPoolRedeemIterator) Error

func (it *LendPoolRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolRedeemIterator) Next

func (it *LendPoolRedeemIterator) 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 LendPoolRepay

type LendPoolRepay struct {
	User       common.Address
	Reserve    common.Address
	Amount     *big.Int
	NftAsset   common.Address
	NftTokenId *big.Int
	Borrower   common.Address
	LoanId     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

LendPoolRepay represents a Repay event raised by the LendPool contract.

type LendPoolRepayIterator

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

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

func (*LendPoolRepayIterator) Close

func (it *LendPoolRepayIterator) Close() error

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

func (*LendPoolRepayIterator) Error

func (it *LendPoolRepayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolRepayIterator) Next

func (it *LendPoolRepayIterator) 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 LendPoolReserveDataUpdated

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

LendPoolReserveDataUpdated represents a ReserveDataUpdated event raised by the LendPool contract.

type LendPoolReserveDataUpdatedIterator

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

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

func (*LendPoolReserveDataUpdatedIterator) Close

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

func (*LendPoolReserveDataUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolReserveDataUpdatedIterator) 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 LendPoolSession

type LendPoolSession struct {
	Contract     *LendPool         // 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
}

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

func (*LendPoolSession) Auction

func (_LendPool *LendPoolSession) Auction(nftAsset common.Address, nftTokenId *big.Int, bidPrice *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Auction is a paid mutator transaction binding the contract method 0xa4c0166b.

Solidity: function auction(address nftAsset, uint256 nftTokenId, uint256 bidPrice, address onBehalfOf) returns()

func (*LendPoolSession) BatchBorrow

func (_LendPool *LendPoolSession) BatchBorrow(assets []common.Address, amounts []*big.Int, nftAssets []common.Address, nftTokenIds []*big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

BatchBorrow is a paid mutator transaction binding the contract method 0xc9fef2fe.

Solidity: function batchBorrow(address[] assets, uint256[] amounts, address[] nftAssets, uint256[] nftTokenIds, address onBehalfOf, uint16 referralCode) returns()

func (*LendPoolSession) BatchRepay

func (_LendPool *LendPoolSession) BatchRepay(nftAssets []common.Address, nftTokenIds []*big.Int, amounts []*big.Int) (*types.Transaction, error)

BatchRepay is a paid mutator transaction binding the contract method 0x5bc5bbf1.

Solidity: function batchRepay(address[] nftAssets, uint256[] nftTokenIds, uint256[] amounts) returns(uint256[], bool[])

func (*LendPoolSession) Borrow

func (_LendPool *LendPoolSession) Borrow(asset common.Address, amount *big.Int, nftAsset common.Address, nftTokenId *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

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

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

func (*LendPoolSession) Deposit

func (_LendPool *LendPoolSession) 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 (*LendPoolSession) FinalizeTransfer

func (_LendPool *LendPoolSession) FinalizeTransfer(asset common.Address, from common.Address, to common.Address, amount *big.Int, balanceFromBefore *big.Int, balanceToBefore *big.Int) error

FinalizeTransfer is a free data retrieval call binding the contract method 0xd5ed3933.

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

func (*LendPoolSession) GetAddressesProvider

func (_LendPool *LendPoolSession) GetAddressesProvider() (common.Address, error)

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

Solidity: function getAddressesProvider() view returns(address)

func (*LendPoolSession) GetMaxNumberOfNfts

func (_LendPool *LendPoolSession) GetMaxNumberOfNfts() (*big.Int, error)

GetMaxNumberOfNfts is a free data retrieval call binding the contract method 0xdd90ff38.

Solidity: function getMaxNumberOfNfts() view returns(uint256)

func (*LendPoolSession) GetMaxNumberOfReserves

func (_LendPool *LendPoolSession) GetMaxNumberOfReserves() (*big.Int, error)

GetMaxNumberOfReserves is a free data retrieval call binding the contract method 0x08ac08b9.

Solidity: function getMaxNumberOfReserves() view returns(uint256)

func (*LendPoolSession) GetNftAuctionData

func (_LendPool *LendPoolSession) GetNftAuctionData(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId          *big.Int
	BidderAddress   common.Address
	BidPrice        *big.Int
	BidBorrowAmount *big.Int
	BidFine         *big.Int
}, error)

GetNftAuctionData is a free data retrieval call binding the contract method 0xe5bceca5.

Solidity: function getNftAuctionData(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, address bidderAddress, uint256 bidPrice, uint256 bidBorrowAmount, uint256 bidFine)

func (*LendPoolSession) GetNftAuctionEndTime

func (_LendPool *LendPoolSession) GetNftAuctionEndTime(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId             *big.Int
	BidStartTimestamp  *big.Int
	BidEndTimestamp    *big.Int
	RedeemEndTimestamp *big.Int
}, error)

GetNftAuctionEndTime is a free data retrieval call binding the contract method 0x17c8a456.

Solidity: function getNftAuctionEndTime(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, uint256 bidStartTimestamp, uint256 bidEndTimestamp, uint256 redeemEndTimestamp)

func (*LendPoolSession) GetNftCollateralData

func (_LendPool *LendPoolSession) GetNftCollateralData(nftAsset common.Address, reserveAsset common.Address) (struct {
	TotalCollateralInETH      *big.Int
	TotalCollateralInReserve  *big.Int
	AvailableBorrowsInETH     *big.Int
	AvailableBorrowsInReserve *big.Int
	Ltv                       *big.Int
	LiquidationThreshold      *big.Int
	LiquidationBonus          *big.Int
}, error)

GetNftCollateralData is a free data retrieval call binding the contract method 0xcc8ccdf2.

Solidity: function getNftCollateralData(address nftAsset, address reserveAsset) view returns(uint256 totalCollateralInETH, uint256 totalCollateralInReserve, uint256 availableBorrowsInETH, uint256 availableBorrowsInReserve, uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus)

func (*LendPoolSession) GetNftConfiguration

func (_LendPool *LendPoolSession) GetNftConfiguration(asset common.Address) (DataTypesNftConfigurationMap, error)

GetNftConfiguration is a free data retrieval call binding the contract method 0x87c32dec.

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

func (*LendPoolSession) GetNftData

func (_LendPool *LendPoolSession) GetNftData(asset common.Address) (DataTypesNftData, error)

GetNftData is a free data retrieval call binding the contract method 0x77bdc0c3.

Solidity: function getNftData(address asset) view returns(((uint256),address,uint8,uint256,uint256))

func (*LendPoolSession) GetNftDebtData

func (_LendPool *LendPoolSession) GetNftDebtData(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LoanId           *big.Int
	ReserveAsset     common.Address
	TotalCollateral  *big.Int
	TotalDebt        *big.Int
	AvailableBorrows *big.Int
	HealthFactor     *big.Int
}, error)

GetNftDebtData is a free data retrieval call binding the contract method 0xec765d3d.

Solidity: function getNftDebtData(address nftAsset, uint256 nftTokenId) view returns(uint256 loanId, address reserveAsset, uint256 totalCollateral, uint256 totalDebt, uint256 availableBorrows, uint256 healthFactor)

func (*LendPoolSession) GetNftLiquidatePrice

func (_LendPool *LendPoolSession) GetNftLiquidatePrice(nftAsset common.Address, nftTokenId *big.Int) (struct {
	LiquidatePrice *big.Int
	PaybackAmount  *big.Int
}, error)

GetNftLiquidatePrice is a free data retrieval call binding the contract method 0x798b9e3d.

Solidity: function getNftLiquidatePrice(address nftAsset, uint256 nftTokenId) view returns(uint256 liquidatePrice, uint256 paybackAmount)

func (*LendPoolSession) GetNftsList

func (_LendPool *LendPoolSession) GetNftsList() ([]common.Address, error)

GetNftsList is a free data retrieval call binding the contract method 0x6b25c835.

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

func (*LendPoolSession) GetPausedTime

func (_LendPool *LendPoolSession) GetPausedTime() (*big.Int, *big.Int, error)

GetPausedTime is a free data retrieval call binding the contract method 0x8fc42188.

Solidity: function getPausedTime() view returns(uint256, uint256)

func (*LendPoolSession) GetReserveConfiguration

func (_LendPool *LendPoolSession) GetReserveConfiguration(asset common.Address) (DataTypesReserveConfigurationMap, error)

GetReserveConfiguration is a free data retrieval call binding the contract method 0x5fc526ff.

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

func (*LendPoolSession) GetReserveData

func (_LendPool *LendPoolSession) GetReserveData(asset common.Address) (DataTypesReserveData, 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,uint40,address,address,address,uint8))

func (*LendPoolSession) GetReserveNormalizedIncome

func (_LendPool *LendPoolSession) 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 (*LendPoolSession) GetReserveNormalizedVariableDebt

func (_LendPool *LendPoolSession) 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 (*LendPoolSession) GetReservesList

func (_LendPool *LendPoolSession) GetReservesList() ([]common.Address, error)

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

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

func (*LendPoolSession) InitNft

func (_LendPool *LendPoolSession) InitNft(asset common.Address, bNftAddress common.Address) (*types.Transaction, error)

InitNft is a paid mutator transaction binding the contract method 0x873e4dab.

Solidity: function initNft(address asset, address bNftAddress) returns()

func (*LendPoolSession) InitReserve

func (_LendPool *LendPoolSession) InitReserve(asset common.Address, bTokenAddress common.Address, debtTokenAddress common.Address, interestRateAddress common.Address) (*types.Transaction, error)

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

Solidity: function initReserve(address asset, address bTokenAddress, address debtTokenAddress, address interestRateAddress) returns()

func (*LendPoolSession) Initialize

func (_LendPool *LendPoolSession) 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 (*LendPoolSession) Liquidate

func (_LendPool *LendPoolSession) Liquidate(nftAsset common.Address, nftTokenId *big.Int, amount *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x0710285c.

Solidity: function liquidate(address nftAsset, uint256 nftTokenId, uint256 amount) returns(uint256)

func (*LendPoolSession) OnERC721Received

func (_LendPool *LendPoolSession) OnERC721Received(operator common.Address, from common.Address, tokenId *big.Int, data []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) pure returns(bytes4)

func (*LendPoolSession) Paused

func (_LendPool *LendPoolSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*LendPoolSession) Redeem

func (_LendPool *LendPoolSession) Redeem(nftAsset common.Address, nftTokenId *big.Int, amount *big.Int, bidFine *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xea2092f3.

Solidity: function redeem(address nftAsset, uint256 nftTokenId, uint256 amount, uint256 bidFine) returns(uint256)

func (*LendPoolSession) Repay

func (_LendPool *LendPoolSession) Repay(nftAsset common.Address, nftTokenId *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function repay(address nftAsset, uint256 nftTokenId, uint256 amount) returns(uint256, bool)

func (*LendPoolSession) SetMaxNumberOfNfts

func (_LendPool *LendPoolSession) SetMaxNumberOfNfts(val *big.Int) (*types.Transaction, error)

SetMaxNumberOfNfts is a paid mutator transaction binding the contract method 0xfdff6f26.

Solidity: function setMaxNumberOfNfts(uint256 val) returns()

func (*LendPoolSession) SetMaxNumberOfReserves

func (_LendPool *LendPoolSession) SetMaxNumberOfReserves(val *big.Int) (*types.Transaction, error)

SetMaxNumberOfReserves is a paid mutator transaction binding the contract method 0x746c35a2.

Solidity: function setMaxNumberOfReserves(uint256 val) returns()

func (*LendPoolSession) SetNftConfiguration

func (_LendPool *LendPoolSession) SetNftConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetNftConfiguration is a paid mutator transaction binding the contract method 0x83c8afd7.

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

func (*LendPoolSession) SetNftMaxSupplyAndTokenId

func (_LendPool *LendPoolSession) SetNftMaxSupplyAndTokenId(asset common.Address, maxSupply *big.Int, maxTokenId *big.Int) (*types.Transaction, error)

SetNftMaxSupplyAndTokenId is a paid mutator transaction binding the contract method 0xdb78f216.

Solidity: function setNftMaxSupplyAndTokenId(address asset, uint256 maxSupply, uint256 maxTokenId) returns()

func (*LendPoolSession) SetPause

func (_LendPool *LendPoolSession) SetPause(val bool) (*types.Transaction, error)

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

Solidity: function setPause(bool val) returns()

func (*LendPoolSession) SetPausedTime

func (_LendPool *LendPoolSession) SetPausedTime(startTime *big.Int, durationTime *big.Int) (*types.Transaction, error)

SetPausedTime is a paid mutator transaction binding the contract method 0x2f923ff7.

Solidity: function setPausedTime(uint256 startTime, uint256 durationTime) returns()

func (*LendPoolSession) SetReserveConfiguration

func (_LendPool *LendPoolSession) SetReserveConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetReserveConfiguration is a paid mutator transaction binding the contract method 0x43f0f733.

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

func (*LendPoolSession) SetReserveInterestRateAddress

func (_LendPool *LendPoolSession) SetReserveInterestRateAddress(asset common.Address, rateAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateAddress is a paid mutator transaction binding the contract method 0x83b1555f.

Solidity: function setReserveInterestRateAddress(address asset, address rateAddress) returns()

func (*LendPoolSession) Withdraw

func (_LendPool *LendPoolSession) 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 LendPoolTransactor

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

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

func NewLendPoolTransactor

func NewLendPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*LendPoolTransactor, error)

NewLendPoolTransactor creates a new write-only instance of LendPool, bound to a specific deployed contract.

func (*LendPoolTransactor) Auction

func (_LendPool *LendPoolTransactor) Auction(opts *bind.TransactOpts, nftAsset common.Address, nftTokenId *big.Int, bidPrice *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Auction is a paid mutator transaction binding the contract method 0xa4c0166b.

Solidity: function auction(address nftAsset, uint256 nftTokenId, uint256 bidPrice, address onBehalfOf) returns()

func (*LendPoolTransactor) BatchBorrow

func (_LendPool *LendPoolTransactor) BatchBorrow(opts *bind.TransactOpts, assets []common.Address, amounts []*big.Int, nftAssets []common.Address, nftTokenIds []*big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

BatchBorrow is a paid mutator transaction binding the contract method 0xc9fef2fe.

Solidity: function batchBorrow(address[] assets, uint256[] amounts, address[] nftAssets, uint256[] nftTokenIds, address onBehalfOf, uint16 referralCode) returns()

func (*LendPoolTransactor) BatchRepay

func (_LendPool *LendPoolTransactor) BatchRepay(opts *bind.TransactOpts, nftAssets []common.Address, nftTokenIds []*big.Int, amounts []*big.Int) (*types.Transaction, error)

BatchRepay is a paid mutator transaction binding the contract method 0x5bc5bbf1.

Solidity: function batchRepay(address[] nftAssets, uint256[] nftTokenIds, uint256[] amounts) returns(uint256[], bool[])

func (*LendPoolTransactor) Borrow

func (_LendPool *LendPoolTransactor) Borrow(opts *bind.TransactOpts, asset common.Address, amount *big.Int, nftAsset common.Address, nftTokenId *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

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

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

func (*LendPoolTransactor) Deposit

func (_LendPool *LendPoolTransactor) 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 (*LendPoolTransactor) InitNft

func (_LendPool *LendPoolTransactor) InitNft(opts *bind.TransactOpts, asset common.Address, bNftAddress common.Address) (*types.Transaction, error)

InitNft is a paid mutator transaction binding the contract method 0x873e4dab.

Solidity: function initNft(address asset, address bNftAddress) returns()

func (*LendPoolTransactor) InitReserve

func (_LendPool *LendPoolTransactor) InitReserve(opts *bind.TransactOpts, asset common.Address, bTokenAddress common.Address, debtTokenAddress common.Address, interestRateAddress common.Address) (*types.Transaction, error)

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

Solidity: function initReserve(address asset, address bTokenAddress, address debtTokenAddress, address interestRateAddress) returns()

func (*LendPoolTransactor) Initialize

func (_LendPool *LendPoolTransactor) 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 (*LendPoolTransactor) Liquidate

func (_LendPool *LendPoolTransactor) Liquidate(opts *bind.TransactOpts, nftAsset common.Address, nftTokenId *big.Int, amount *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x0710285c.

Solidity: function liquidate(address nftAsset, uint256 nftTokenId, uint256 amount) returns(uint256)

func (*LendPoolTransactor) Redeem

func (_LendPool *LendPoolTransactor) Redeem(opts *bind.TransactOpts, nftAsset common.Address, nftTokenId *big.Int, amount *big.Int, bidFine *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xea2092f3.

Solidity: function redeem(address nftAsset, uint256 nftTokenId, uint256 amount, uint256 bidFine) returns(uint256)

func (*LendPoolTransactor) Repay

func (_LendPool *LendPoolTransactor) Repay(opts *bind.TransactOpts, nftAsset common.Address, nftTokenId *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function repay(address nftAsset, uint256 nftTokenId, uint256 amount) returns(uint256, bool)

func (*LendPoolTransactor) SetMaxNumberOfNfts

func (_LendPool *LendPoolTransactor) SetMaxNumberOfNfts(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)

SetMaxNumberOfNfts is a paid mutator transaction binding the contract method 0xfdff6f26.

Solidity: function setMaxNumberOfNfts(uint256 val) returns()

func (*LendPoolTransactor) SetMaxNumberOfReserves

func (_LendPool *LendPoolTransactor) SetMaxNumberOfReserves(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)

SetMaxNumberOfReserves is a paid mutator transaction binding the contract method 0x746c35a2.

Solidity: function setMaxNumberOfReserves(uint256 val) returns()

func (*LendPoolTransactor) SetNftConfiguration

func (_LendPool *LendPoolTransactor) SetNftConfiguration(opts *bind.TransactOpts, asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetNftConfiguration is a paid mutator transaction binding the contract method 0x83c8afd7.

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

func (*LendPoolTransactor) SetNftMaxSupplyAndTokenId

func (_LendPool *LendPoolTransactor) SetNftMaxSupplyAndTokenId(opts *bind.TransactOpts, asset common.Address, maxSupply *big.Int, maxTokenId *big.Int) (*types.Transaction, error)

SetNftMaxSupplyAndTokenId is a paid mutator transaction binding the contract method 0xdb78f216.

Solidity: function setNftMaxSupplyAndTokenId(address asset, uint256 maxSupply, uint256 maxTokenId) returns()

func (*LendPoolTransactor) SetPause

func (_LendPool *LendPoolTransactor) 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 (*LendPoolTransactor) SetPausedTime

func (_LendPool *LendPoolTransactor) SetPausedTime(opts *bind.TransactOpts, startTime *big.Int, durationTime *big.Int) (*types.Transaction, error)

SetPausedTime is a paid mutator transaction binding the contract method 0x2f923ff7.

Solidity: function setPausedTime(uint256 startTime, uint256 durationTime) returns()

func (*LendPoolTransactor) SetReserveConfiguration

func (_LendPool *LendPoolTransactor) SetReserveConfiguration(opts *bind.TransactOpts, asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetReserveConfiguration is a paid mutator transaction binding the contract method 0x43f0f733.

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

func (*LendPoolTransactor) SetReserveInterestRateAddress

func (_LendPool *LendPoolTransactor) SetReserveInterestRateAddress(opts *bind.TransactOpts, asset common.Address, rateAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateAddress is a paid mutator transaction binding the contract method 0x83b1555f.

Solidity: function setReserveInterestRateAddress(address asset, address rateAddress) returns()

func (*LendPoolTransactor) Withdraw

func (_LendPool *LendPoolTransactor) 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 LendPoolTransactorRaw

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

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

func (*LendPoolTransactorRaw) Transact

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

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

func (*LendPoolTransactorRaw) Transfer

func (_LendPool *LendPoolTransactorRaw) 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 LendPoolTransactorSession

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

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

func (*LendPoolTransactorSession) Auction

func (_LendPool *LendPoolTransactorSession) Auction(nftAsset common.Address, nftTokenId *big.Int, bidPrice *big.Int, onBehalfOf common.Address) (*types.Transaction, error)

Auction is a paid mutator transaction binding the contract method 0xa4c0166b.

Solidity: function auction(address nftAsset, uint256 nftTokenId, uint256 bidPrice, address onBehalfOf) returns()

func (*LendPoolTransactorSession) BatchBorrow

func (_LendPool *LendPoolTransactorSession) BatchBorrow(assets []common.Address, amounts []*big.Int, nftAssets []common.Address, nftTokenIds []*big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

BatchBorrow is a paid mutator transaction binding the contract method 0xc9fef2fe.

Solidity: function batchBorrow(address[] assets, uint256[] amounts, address[] nftAssets, uint256[] nftTokenIds, address onBehalfOf, uint16 referralCode) returns()

func (*LendPoolTransactorSession) BatchRepay

func (_LendPool *LendPoolTransactorSession) BatchRepay(nftAssets []common.Address, nftTokenIds []*big.Int, amounts []*big.Int) (*types.Transaction, error)

BatchRepay is a paid mutator transaction binding the contract method 0x5bc5bbf1.

Solidity: function batchRepay(address[] nftAssets, uint256[] nftTokenIds, uint256[] amounts) returns(uint256[], bool[])

func (*LendPoolTransactorSession) Borrow

func (_LendPool *LendPoolTransactorSession) Borrow(asset common.Address, amount *big.Int, nftAsset common.Address, nftTokenId *big.Int, onBehalfOf common.Address, referralCode uint16) (*types.Transaction, error)

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

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

func (*LendPoolTransactorSession) Deposit

func (_LendPool *LendPoolTransactorSession) 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 (*LendPoolTransactorSession) InitNft

func (_LendPool *LendPoolTransactorSession) InitNft(asset common.Address, bNftAddress common.Address) (*types.Transaction, error)

InitNft is a paid mutator transaction binding the contract method 0x873e4dab.

Solidity: function initNft(address asset, address bNftAddress) returns()

func (*LendPoolTransactorSession) InitReserve

func (_LendPool *LendPoolTransactorSession) InitReserve(asset common.Address, bTokenAddress common.Address, debtTokenAddress common.Address, interestRateAddress common.Address) (*types.Transaction, error)

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

Solidity: function initReserve(address asset, address bTokenAddress, address debtTokenAddress, address interestRateAddress) returns()

func (*LendPoolTransactorSession) Initialize

func (_LendPool *LendPoolTransactorSession) 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 (*LendPoolTransactorSession) Liquidate

func (_LendPool *LendPoolTransactorSession) Liquidate(nftAsset common.Address, nftTokenId *big.Int, amount *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x0710285c.

Solidity: function liquidate(address nftAsset, uint256 nftTokenId, uint256 amount) returns(uint256)

func (*LendPoolTransactorSession) Redeem

func (_LendPool *LendPoolTransactorSession) Redeem(nftAsset common.Address, nftTokenId *big.Int, amount *big.Int, bidFine *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xea2092f3.

Solidity: function redeem(address nftAsset, uint256 nftTokenId, uint256 amount, uint256 bidFine) returns(uint256)

func (*LendPoolTransactorSession) Repay

func (_LendPool *LendPoolTransactorSession) Repay(nftAsset common.Address, nftTokenId *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function repay(address nftAsset, uint256 nftTokenId, uint256 amount) returns(uint256, bool)

func (*LendPoolTransactorSession) SetMaxNumberOfNfts

func (_LendPool *LendPoolTransactorSession) SetMaxNumberOfNfts(val *big.Int) (*types.Transaction, error)

SetMaxNumberOfNfts is a paid mutator transaction binding the contract method 0xfdff6f26.

Solidity: function setMaxNumberOfNfts(uint256 val) returns()

func (*LendPoolTransactorSession) SetMaxNumberOfReserves

func (_LendPool *LendPoolTransactorSession) SetMaxNumberOfReserves(val *big.Int) (*types.Transaction, error)

SetMaxNumberOfReserves is a paid mutator transaction binding the contract method 0x746c35a2.

Solidity: function setMaxNumberOfReserves(uint256 val) returns()

func (*LendPoolTransactorSession) SetNftConfiguration

func (_LendPool *LendPoolTransactorSession) SetNftConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetNftConfiguration is a paid mutator transaction binding the contract method 0x83c8afd7.

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

func (*LendPoolTransactorSession) SetNftMaxSupplyAndTokenId

func (_LendPool *LendPoolTransactorSession) SetNftMaxSupplyAndTokenId(asset common.Address, maxSupply *big.Int, maxTokenId *big.Int) (*types.Transaction, error)

SetNftMaxSupplyAndTokenId is a paid mutator transaction binding the contract method 0xdb78f216.

Solidity: function setNftMaxSupplyAndTokenId(address asset, uint256 maxSupply, uint256 maxTokenId) returns()

func (*LendPoolTransactorSession) SetPause

func (_LendPool *LendPoolTransactorSession) SetPause(val bool) (*types.Transaction, error)

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

Solidity: function setPause(bool val) returns()

func (*LendPoolTransactorSession) SetPausedTime

func (_LendPool *LendPoolTransactorSession) SetPausedTime(startTime *big.Int, durationTime *big.Int) (*types.Transaction, error)

SetPausedTime is a paid mutator transaction binding the contract method 0x2f923ff7.

Solidity: function setPausedTime(uint256 startTime, uint256 durationTime) returns()

func (*LendPoolTransactorSession) SetReserveConfiguration

func (_LendPool *LendPoolTransactorSession) SetReserveConfiguration(asset common.Address, configuration *big.Int) (*types.Transaction, error)

SetReserveConfiguration is a paid mutator transaction binding the contract method 0x43f0f733.

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

func (*LendPoolTransactorSession) SetReserveInterestRateAddress

func (_LendPool *LendPoolTransactorSession) SetReserveInterestRateAddress(asset common.Address, rateAddress common.Address) (*types.Transaction, error)

SetReserveInterestRateAddress is a paid mutator transaction binding the contract method 0x83b1555f.

Solidity: function setReserveInterestRateAddress(address asset, address rateAddress) returns()

func (*LendPoolTransactorSession) Withdraw

func (_LendPool *LendPoolTransactorSession) 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 LendPoolUnpaused

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

LendPoolUnpaused represents a Unpaused event raised by the LendPool contract.

type LendPoolUnpausedIterator

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

LendPoolUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the LendPool contract.

func (*LendPoolUnpausedIterator) Close

func (it *LendPoolUnpausedIterator) Close() error

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

func (*LendPoolUnpausedIterator) Error

func (it *LendPoolUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolUnpausedIterator) Next

func (it *LendPoolUnpausedIterator) 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 LendPoolWithdraw

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

LendPoolWithdraw represents a Withdraw event raised by the LendPool contract.

type LendPoolWithdrawIterator

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

LendPoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the LendPool contract.

func (*LendPoolWithdrawIterator) Close

func (it *LendPoolWithdrawIterator) Close() error

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

func (*LendPoolWithdrawIterator) Error

func (it *LendPoolWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LendPoolWithdrawIterator) Next

func (it *LendPoolWithdrawIterator) 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 OrderTypesMakerOrder

type OrderTypesMakerOrder struct {
	IsOrderAsk         bool
	Maker              common.Address
	Collection         common.Address
	Price              *big.Int
	TokenId            *big.Int
	Amount             *big.Int
	Strategy           common.Address
	Currency           common.Address
	Nonce              *big.Int
	StartTime          *big.Int
	EndTime            *big.Int
	MinPercentageToAsk *big.Int
	Params             []byte
	Interceptor        common.Address
	InterceptorExtra   []byte
	V                  uint8
	R                  [32]byte
	S                  [32]byte
}

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

type OrderTypesTakerOrder

type OrderTypesTakerOrder struct {
	IsOrderAsk         bool
	Taker              common.Address
	Price              *big.Int
	TokenId            *big.Int
	MinPercentageToAsk *big.Int
	Params             []byte
	Interceptor        common.Address
	InterceptorExtra   []byte
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL