bindings

package
v2.0.0-...-c896575 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BindingsABI = "" /* 17283-byte string literal not displayed */

BindingsABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bindings

type Bindings struct {
	BindingsCaller     // Read-only binding to the contract
	BindingsTransactor // Write-only binding to the contract
	BindingsFilterer   // Log filterer for contract events
}

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

func NewBindings

func NewBindings(address common.Address, backend bind.ContractBackend) (*Bindings, error)

NewBindings creates a new instance of Bindings, bound to a specific deployed contract.

type BindingsAccrueInterest

type BindingsAccrueInterest struct {
	InterestAccumulated *big.Int
	BorrowIndex         *big.Int
	TotalBorrows        *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

BindingsAccrueInterest represents a AccrueInterest event raised by the Bindings contract.

type BindingsAccrueInterestIterator

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

BindingsAccrueInterestIterator is returned from FilterAccrueInterest and is used to iterate over the raw logs and unpacked data for AccrueInterest events raised by the Bindings contract.

func (*BindingsAccrueInterestIterator) Close

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

func (*BindingsAccrueInterestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsAccrueInterestIterator) 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 BindingsApproval

type BindingsApproval struct {
	Owner   common.Address
	Spender common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

BindingsApproval represents a Approval event raised by the Bindings contract.

type BindingsApprovalIterator

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

BindingsApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Bindings contract.

func (*BindingsApprovalIterator) Close

func (it *BindingsApprovalIterator) Close() error

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

func (*BindingsApprovalIterator) Error

func (it *BindingsApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsApprovalIterator) Next

func (it *BindingsApprovalIterator) 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 BindingsBorrow

type BindingsBorrow struct {
	Borrower       common.Address
	BorrowAmount   *big.Int
	AccountBorrows *big.Int
	TotalBorrows   *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BindingsBorrow represents a Borrow event raised by the Bindings contract.

type BindingsBorrowIterator

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

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

func (*BindingsBorrowIterator) Close

func (it *BindingsBorrowIterator) Close() error

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

func (*BindingsBorrowIterator) Error

func (it *BindingsBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsBorrowIterator) Next

func (it *BindingsBorrowIterator) 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 BindingsCaller

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

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

func NewBindingsCaller

func NewBindingsCaller(address common.Address, caller bind.ContractCaller) (*BindingsCaller, error)

NewBindingsCaller creates a new read-only instance of Bindings, bound to a specific deployed contract.

func (*BindingsCaller) AccrualBlockNumber

func (_Bindings *BindingsCaller) AccrualBlockNumber(opts *bind.CallOpts) (*big.Int, error)

AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.

Solidity: function accrualBlockNumber() constant returns(uint256)

func (*BindingsCaller) Admin

func (_Bindings *BindingsCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BindingsCaller) Allowance

func (_Bindings *BindingsCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*BindingsCaller) BalanceOf

func (_Bindings *BindingsCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*BindingsCaller) BorrowBalanceStored

func (_Bindings *BindingsCaller) BorrowBalanceStored(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.

Solidity: function borrowBalanceStored(address account) constant returns(uint256)

func (*BindingsCaller) BorrowIndex

func (_Bindings *BindingsCaller) BorrowIndex(opts *bind.CallOpts) (*big.Int, error)

BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.

Solidity: function borrowIndex() constant returns(uint256)

func (*BindingsCaller) BorrowRatePerBlock

func (_Bindings *BindingsCaller) BorrowRatePerBlock(opts *bind.CallOpts) (*big.Int, error)

BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.

Solidity: function borrowRatePerBlock() constant returns(uint256)

func (*BindingsCaller) Comptroller

func (_Bindings *BindingsCaller) Comptroller(opts *bind.CallOpts) (common.Address, error)

Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.

Solidity: function comptroller() constant returns(address)

func (*BindingsCaller) Decimals

func (_Bindings *BindingsCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint256)

func (*BindingsCaller) ExchangeRateStored

func (_Bindings *BindingsCaller) ExchangeRateStored(opts *bind.CallOpts) (*big.Int, error)

ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.

Solidity: function exchangeRateStored() constant returns(uint256)

func (*BindingsCaller) GetAccountSnapshot

func (_Bindings *BindingsCaller) GetAccountSnapshot(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.

Solidity: function getAccountSnapshot(address account) constant returns(uint256, uint256, uint256, uint256)

func (*BindingsCaller) GetCash

func (_Bindings *BindingsCaller) GetCash(opts *bind.CallOpts) (*big.Int, error)

GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.

Solidity: function getCash() constant returns(uint256)

func (*BindingsCaller) InitialExchangeRateMantissa

func (_Bindings *BindingsCaller) InitialExchangeRateMantissa(opts *bind.CallOpts) (*big.Int, error)

InitialExchangeRateMantissa is a free data retrieval call binding the contract method 0x675d972c.

Solidity: function initialExchangeRateMantissa() constant returns(uint256)

func (*BindingsCaller) InterestRateModel

func (_Bindings *BindingsCaller) InterestRateModel(opts *bind.CallOpts) (common.Address, error)

InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.

Solidity: function interestRateModel() constant returns(address)

func (*BindingsCaller) IsCToken

func (_Bindings *BindingsCaller) IsCToken(opts *bind.CallOpts) (bool, error)

IsCToken is a free data retrieval call binding the contract method 0xfe9c44ae.

Solidity: function isCToken() constant returns(bool)

func (*BindingsCaller) Name

func (_Bindings *BindingsCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BindingsCaller) PendingAdmin

func (_Bindings *BindingsCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() constant returns(address)

func (*BindingsCaller) ReserveFactorMantissa

func (_Bindings *BindingsCaller) ReserveFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.

Solidity: function reserveFactorMantissa() constant returns(uint256)

func (*BindingsCaller) SupplyRatePerBlock

func (_Bindings *BindingsCaller) SupplyRatePerBlock(opts *bind.CallOpts) (*big.Int, error)

SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.

Solidity: function supplyRatePerBlock() constant returns(uint256)

func (*BindingsCaller) Symbol

func (_Bindings *BindingsCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BindingsCaller) TotalBorrows

func (_Bindings *BindingsCaller) TotalBorrows(opts *bind.CallOpts) (*big.Int, error)

TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.

Solidity: function totalBorrows() constant returns(uint256)

func (*BindingsCaller) TotalReserves

func (_Bindings *BindingsCaller) TotalReserves(opts *bind.CallOpts) (*big.Int, error)

TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.

Solidity: function totalReserves() constant returns(uint256)

func (*BindingsCaller) TotalSupply

func (_Bindings *BindingsCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*BindingsCaller) Underlying

func (_Bindings *BindingsCaller) Underlying(opts *bind.CallOpts) (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() constant returns(address)

type BindingsCallerRaw

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

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

func (*BindingsCallerRaw) Call

func (_Bindings *BindingsCallerRaw) 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 BindingsCallerSession

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

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

func (*BindingsCallerSession) AccrualBlockNumber

func (_Bindings *BindingsCallerSession) AccrualBlockNumber() (*big.Int, error)

AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.

Solidity: function accrualBlockNumber() constant returns(uint256)

func (*BindingsCallerSession) Admin

func (_Bindings *BindingsCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BindingsCallerSession) Allowance

func (_Bindings *BindingsCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*BindingsCallerSession) BalanceOf

func (_Bindings *BindingsCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*BindingsCallerSession) BorrowBalanceStored

func (_Bindings *BindingsCallerSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.

Solidity: function borrowBalanceStored(address account) constant returns(uint256)

func (*BindingsCallerSession) BorrowIndex

func (_Bindings *BindingsCallerSession) BorrowIndex() (*big.Int, error)

BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.

Solidity: function borrowIndex() constant returns(uint256)

func (*BindingsCallerSession) BorrowRatePerBlock

func (_Bindings *BindingsCallerSession) BorrowRatePerBlock() (*big.Int, error)

BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.

Solidity: function borrowRatePerBlock() constant returns(uint256)

func (*BindingsCallerSession) Comptroller

func (_Bindings *BindingsCallerSession) Comptroller() (common.Address, error)

Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.

Solidity: function comptroller() constant returns(address)

func (*BindingsCallerSession) Decimals

func (_Bindings *BindingsCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint256)

func (*BindingsCallerSession) ExchangeRateStored

func (_Bindings *BindingsCallerSession) ExchangeRateStored() (*big.Int, error)

ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.

Solidity: function exchangeRateStored() constant returns(uint256)

func (*BindingsCallerSession) GetAccountSnapshot

func (_Bindings *BindingsCallerSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.

Solidity: function getAccountSnapshot(address account) constant returns(uint256, uint256, uint256, uint256)

func (*BindingsCallerSession) GetCash

func (_Bindings *BindingsCallerSession) GetCash() (*big.Int, error)

GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.

Solidity: function getCash() constant returns(uint256)

func (*BindingsCallerSession) InitialExchangeRateMantissa

func (_Bindings *BindingsCallerSession) InitialExchangeRateMantissa() (*big.Int, error)

InitialExchangeRateMantissa is a free data retrieval call binding the contract method 0x675d972c.

Solidity: function initialExchangeRateMantissa() constant returns(uint256)

func (*BindingsCallerSession) InterestRateModel

func (_Bindings *BindingsCallerSession) InterestRateModel() (common.Address, error)

InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.

Solidity: function interestRateModel() constant returns(address)

func (*BindingsCallerSession) IsCToken

func (_Bindings *BindingsCallerSession) IsCToken() (bool, error)

IsCToken is a free data retrieval call binding the contract method 0xfe9c44ae.

Solidity: function isCToken() constant returns(bool)

func (*BindingsCallerSession) Name

func (_Bindings *BindingsCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BindingsCallerSession) PendingAdmin

func (_Bindings *BindingsCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() constant returns(address)

func (*BindingsCallerSession) ReserveFactorMantissa

func (_Bindings *BindingsCallerSession) ReserveFactorMantissa() (*big.Int, error)

ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.

Solidity: function reserveFactorMantissa() constant returns(uint256)

func (*BindingsCallerSession) SupplyRatePerBlock

func (_Bindings *BindingsCallerSession) SupplyRatePerBlock() (*big.Int, error)

SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.

Solidity: function supplyRatePerBlock() constant returns(uint256)

func (*BindingsCallerSession) Symbol

func (_Bindings *BindingsCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BindingsCallerSession) TotalBorrows

func (_Bindings *BindingsCallerSession) TotalBorrows() (*big.Int, error)

TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.

Solidity: function totalBorrows() constant returns(uint256)

func (*BindingsCallerSession) TotalReserves

func (_Bindings *BindingsCallerSession) TotalReserves() (*big.Int, error)

TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.

Solidity: function totalReserves() constant returns(uint256)

func (*BindingsCallerSession) TotalSupply

func (_Bindings *BindingsCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*BindingsCallerSession) Underlying

func (_Bindings *BindingsCallerSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() constant returns(address)

type BindingsFailure

type BindingsFailure struct {
	Error  *big.Int
	Info   *big.Int
	Detail *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BindingsFailure represents a Failure event raised by the Bindings contract.

type BindingsFailureIterator

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

BindingsFailureIterator is returned from FilterFailure and is used to iterate over the raw logs and unpacked data for Failure events raised by the Bindings contract.

func (*BindingsFailureIterator) Close

func (it *BindingsFailureIterator) Close() error

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

func (*BindingsFailureIterator) Error

func (it *BindingsFailureIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsFailureIterator) Next

func (it *BindingsFailureIterator) 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 BindingsFilterer

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

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

func NewBindingsFilterer

func NewBindingsFilterer(address common.Address, filterer bind.ContractFilterer) (*BindingsFilterer, error)

NewBindingsFilterer creates a new log filterer instance of Bindings, bound to a specific deployed contract.

func (*BindingsFilterer) FilterAccrueInterest

func (_Bindings *BindingsFilterer) FilterAccrueInterest(opts *bind.FilterOpts) (*BindingsAccrueInterestIterator, error)

FilterAccrueInterest is a free log retrieval operation binding the contract event 0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9.

Solidity: event AccrueInterest(uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)

func (*BindingsFilterer) FilterApproval

func (_Bindings *BindingsFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BindingsApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*BindingsFilterer) FilterBorrow

func (_Bindings *BindingsFilterer) FilterBorrow(opts *bind.FilterOpts) (*BindingsBorrowIterator, error)

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

Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*BindingsFilterer) FilterFailure

func (_Bindings *BindingsFilterer) FilterFailure(opts *bind.FilterOpts) (*BindingsFailureIterator, error)

FilterFailure is a free log retrieval operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*BindingsFilterer) FilterLiquidateBorrow

func (_Bindings *BindingsFilterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*BindingsLiquidateBorrowIterator, error)

FilterLiquidateBorrow is a free log retrieval operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.

Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)

func (*BindingsFilterer) FilterMint

func (_Bindings *BindingsFilterer) FilterMint(opts *bind.FilterOpts) (*BindingsMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)

func (*BindingsFilterer) FilterNewAdmin

func (_Bindings *BindingsFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*BindingsNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*BindingsFilterer) FilterNewComptroller

func (_Bindings *BindingsFilterer) FilterNewComptroller(opts *bind.FilterOpts) (*BindingsNewComptrollerIterator, error)

FilterNewComptroller is a free log retrieval operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*BindingsFilterer) FilterNewMarketInterestRateModel

func (_Bindings *BindingsFilterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*BindingsNewMarketInterestRateModelIterator, error)

FilterNewMarketInterestRateModel is a free log retrieval operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*BindingsFilterer) FilterNewPendingAdmin

func (_Bindings *BindingsFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*BindingsNewPendingAdminIterator, error)

FilterNewPendingAdmin is a free log retrieval operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*BindingsFilterer) FilterNewReserveFactor

func (_Bindings *BindingsFilterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*BindingsNewReserveFactorIterator, error)

FilterNewReserveFactor is a free log retrieval operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*BindingsFilterer) FilterRedeem

func (_Bindings *BindingsFilterer) FilterRedeem(opts *bind.FilterOpts) (*BindingsRedeemIterator, error)

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

Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)

func (*BindingsFilterer) FilterRepayBorrow

func (_Bindings *BindingsFilterer) FilterRepayBorrow(opts *bind.FilterOpts) (*BindingsRepayBorrowIterator, error)

FilterRepayBorrow is a free log retrieval operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.

Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*BindingsFilterer) FilterReservesReduced

func (_Bindings *BindingsFilterer) FilterReservesReduced(opts *bind.FilterOpts) (*BindingsReservesReducedIterator, error)

FilterReservesReduced is a free log retrieval operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.

Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)

func (*BindingsFilterer) FilterTransfer

func (_Bindings *BindingsFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BindingsTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*BindingsFilterer) ParseAccrueInterest

func (_Bindings *BindingsFilterer) ParseAccrueInterest(log types.Log) (*BindingsAccrueInterest, error)

ParseAccrueInterest is a log parse operation binding the contract event 0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9.

Solidity: event AccrueInterest(uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)

func (*BindingsFilterer) ParseApproval

func (_Bindings *BindingsFilterer) ParseApproval(log types.Log) (*BindingsApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*BindingsFilterer) ParseBorrow

func (_Bindings *BindingsFilterer) ParseBorrow(log types.Log) (*BindingsBorrow, error)

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

Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*BindingsFilterer) ParseFailure

func (_Bindings *BindingsFilterer) ParseFailure(log types.Log) (*BindingsFailure, error)

ParseFailure is a log parse operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*BindingsFilterer) ParseLiquidateBorrow

func (_Bindings *BindingsFilterer) ParseLiquidateBorrow(log types.Log) (*BindingsLiquidateBorrow, error)

ParseLiquidateBorrow is a log parse operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.

Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)

func (*BindingsFilterer) ParseMint

func (_Bindings *BindingsFilterer) ParseMint(log types.Log) (*BindingsMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)

func (*BindingsFilterer) ParseNewAdmin

func (_Bindings *BindingsFilterer) ParseNewAdmin(log types.Log) (*BindingsNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*BindingsFilterer) ParseNewComptroller

func (_Bindings *BindingsFilterer) ParseNewComptroller(log types.Log) (*BindingsNewComptroller, error)

ParseNewComptroller is a log parse operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*BindingsFilterer) ParseNewMarketInterestRateModel

func (_Bindings *BindingsFilterer) ParseNewMarketInterestRateModel(log types.Log) (*BindingsNewMarketInterestRateModel, error)

ParseNewMarketInterestRateModel is a log parse operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*BindingsFilterer) ParseNewPendingAdmin

func (_Bindings *BindingsFilterer) ParseNewPendingAdmin(log types.Log) (*BindingsNewPendingAdmin, error)

ParseNewPendingAdmin is a log parse operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*BindingsFilterer) ParseNewReserveFactor

func (_Bindings *BindingsFilterer) ParseNewReserveFactor(log types.Log) (*BindingsNewReserveFactor, error)

ParseNewReserveFactor is a log parse operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*BindingsFilterer) ParseRedeem

func (_Bindings *BindingsFilterer) ParseRedeem(log types.Log) (*BindingsRedeem, error)

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

Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)

func (*BindingsFilterer) ParseRepayBorrow

func (_Bindings *BindingsFilterer) ParseRepayBorrow(log types.Log) (*BindingsRepayBorrow, error)

ParseRepayBorrow is a log parse operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.

Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*BindingsFilterer) ParseReservesReduced

func (_Bindings *BindingsFilterer) ParseReservesReduced(log types.Log) (*BindingsReservesReduced, error)

ParseReservesReduced is a log parse operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.

Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)

func (*BindingsFilterer) ParseTransfer

func (_Bindings *BindingsFilterer) ParseTransfer(log types.Log) (*BindingsTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*BindingsFilterer) WatchAccrueInterest

func (_Bindings *BindingsFilterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *BindingsAccrueInterest) (event.Subscription, error)

WatchAccrueInterest is a free log subscription operation binding the contract event 0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9.

Solidity: event AccrueInterest(uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows)

func (*BindingsFilterer) WatchApproval

func (_Bindings *BindingsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BindingsApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*BindingsFilterer) WatchBorrow

func (_Bindings *BindingsFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *BindingsBorrow) (event.Subscription, error)

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

Solidity: event Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*BindingsFilterer) WatchFailure

func (_Bindings *BindingsFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *BindingsFailure) (event.Subscription, error)

WatchFailure is a free log subscription operation binding the contract event 0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0.

Solidity: event Failure(uint256 error, uint256 info, uint256 detail)

func (*BindingsFilterer) WatchLiquidateBorrow

func (_Bindings *BindingsFilterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *BindingsLiquidateBorrow) (event.Subscription, error)

WatchLiquidateBorrow is a free log subscription operation binding the contract event 0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52.

Solidity: event LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens)

func (*BindingsFilterer) WatchMint

func (_Bindings *BindingsFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *BindingsMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address minter, uint256 mintAmount, uint256 mintTokens)

func (*BindingsFilterer) WatchNewAdmin

func (_Bindings *BindingsFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *BindingsNewAdmin) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*BindingsFilterer) WatchNewComptroller

func (_Bindings *BindingsFilterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *BindingsNewComptroller) (event.Subscription, error)

WatchNewComptroller is a free log subscription operation binding the contract event 0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d.

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*BindingsFilterer) WatchNewMarketInterestRateModel

func (_Bindings *BindingsFilterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *BindingsNewMarketInterestRateModel) (event.Subscription, error)

WatchNewMarketInterestRateModel is a free log subscription operation binding the contract event 0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926.

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*BindingsFilterer) WatchNewPendingAdmin

func (_Bindings *BindingsFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *BindingsNewPendingAdmin) (event.Subscription, error)

WatchNewPendingAdmin is a free log subscription operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*BindingsFilterer) WatchNewReserveFactor

func (_Bindings *BindingsFilterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *BindingsNewReserveFactor) (event.Subscription, error)

WatchNewReserveFactor is a free log subscription operation binding the contract event 0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460.

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*BindingsFilterer) WatchRedeem

func (_Bindings *BindingsFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *BindingsRedeem) (event.Subscription, error)

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

Solidity: event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens)

func (*BindingsFilterer) WatchRepayBorrow

func (_Bindings *BindingsFilterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *BindingsRepayBorrow) (event.Subscription, error)

WatchRepayBorrow is a free log subscription operation binding the contract event 0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1.

Solidity: event RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows)

func (*BindingsFilterer) WatchReservesReduced

func (_Bindings *BindingsFilterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *BindingsReservesReduced) (event.Subscription, error)

WatchReservesReduced is a free log subscription operation binding the contract event 0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e.

Solidity: event ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)

func (*BindingsFilterer) WatchTransfer

func (_Bindings *BindingsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BindingsTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

type BindingsLiquidateBorrow

type BindingsLiquidateBorrow struct {
	Liquidator       common.Address
	Borrower         common.Address
	RepayAmount      *big.Int
	CTokenCollateral common.Address
	SeizeTokens      *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

BindingsLiquidateBorrow represents a LiquidateBorrow event raised by the Bindings contract.

type BindingsLiquidateBorrowIterator

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

BindingsLiquidateBorrowIterator is returned from FilterLiquidateBorrow and is used to iterate over the raw logs and unpacked data for LiquidateBorrow events raised by the Bindings contract.

func (*BindingsLiquidateBorrowIterator) Close

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

func (*BindingsLiquidateBorrowIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsLiquidateBorrowIterator) 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 BindingsMint

type BindingsMint struct {
	Minter     common.Address
	MintAmount *big.Int
	MintTokens *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BindingsMint represents a Mint event raised by the Bindings contract.

type BindingsMintIterator

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

BindingsMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Bindings contract.

func (*BindingsMintIterator) Close

func (it *BindingsMintIterator) Close() error

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

func (*BindingsMintIterator) Error

func (it *BindingsMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsMintIterator) Next

func (it *BindingsMintIterator) 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 BindingsNewAdmin

type BindingsNewAdmin struct {
	OldAdmin common.Address
	NewAdmin common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BindingsNewAdmin represents a NewAdmin event raised by the Bindings contract.

type BindingsNewAdminIterator

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

BindingsNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the Bindings contract.

func (*BindingsNewAdminIterator) Close

func (it *BindingsNewAdminIterator) Close() error

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

func (*BindingsNewAdminIterator) Error

func (it *BindingsNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewAdminIterator) Next

func (it *BindingsNewAdminIterator) 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 BindingsNewComptroller

type BindingsNewComptroller struct {
	OldComptroller common.Address
	NewComptroller common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

BindingsNewComptroller represents a NewComptroller event raised by the Bindings contract.

type BindingsNewComptrollerIterator

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

BindingsNewComptrollerIterator is returned from FilterNewComptroller and is used to iterate over the raw logs and unpacked data for NewComptroller events raised by the Bindings contract.

func (*BindingsNewComptrollerIterator) Close

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

func (*BindingsNewComptrollerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewComptrollerIterator) 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 BindingsNewMarketInterestRateModel

type BindingsNewMarketInterestRateModel struct {
	OldInterestRateModel common.Address
	NewInterestRateModel common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

BindingsNewMarketInterestRateModel represents a NewMarketInterestRateModel event raised by the Bindings contract.

type BindingsNewMarketInterestRateModelIterator

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

BindingsNewMarketInterestRateModelIterator is returned from FilterNewMarketInterestRateModel and is used to iterate over the raw logs and unpacked data for NewMarketInterestRateModel events raised by the Bindings contract.

func (*BindingsNewMarketInterestRateModelIterator) Close

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

func (*BindingsNewMarketInterestRateModelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewMarketInterestRateModelIterator) 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 BindingsNewPendingAdmin

type BindingsNewPendingAdmin struct {
	OldPendingAdmin common.Address
	NewPendingAdmin common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

BindingsNewPendingAdmin represents a NewPendingAdmin event raised by the Bindings contract.

type BindingsNewPendingAdminIterator

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

BindingsNewPendingAdminIterator is returned from FilterNewPendingAdmin and is used to iterate over the raw logs and unpacked data for NewPendingAdmin events raised by the Bindings contract.

func (*BindingsNewPendingAdminIterator) Close

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

func (*BindingsNewPendingAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewPendingAdminIterator) 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 BindingsNewReserveFactor

type BindingsNewReserveFactor struct {
	OldReserveFactorMantissa *big.Int
	NewReserveFactorMantissa *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

BindingsNewReserveFactor represents a NewReserveFactor event raised by the Bindings contract.

type BindingsNewReserveFactorIterator

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

BindingsNewReserveFactorIterator is returned from FilterNewReserveFactor and is used to iterate over the raw logs and unpacked data for NewReserveFactor events raised by the Bindings contract.

func (*BindingsNewReserveFactorIterator) Close

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

func (*BindingsNewReserveFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsNewReserveFactorIterator) 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 BindingsRaw

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

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

func (*BindingsRaw) Call

func (_Bindings *BindingsRaw) 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 (*BindingsRaw) Transact

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

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

func (*BindingsRaw) Transfer

func (_Bindings *BindingsRaw) 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 BindingsRedeem

type BindingsRedeem struct {
	Redeemer     common.Address
	RedeemAmount *big.Int
	RedeemTokens *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BindingsRedeem represents a Redeem event raised by the Bindings contract.

type BindingsRedeemIterator

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

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

func (*BindingsRedeemIterator) Close

func (it *BindingsRedeemIterator) Close() error

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

func (*BindingsRedeemIterator) Error

func (it *BindingsRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsRedeemIterator) Next

func (it *BindingsRedeemIterator) 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 BindingsRepayBorrow

type BindingsRepayBorrow struct {
	Payer          common.Address
	Borrower       common.Address
	RepayAmount    *big.Int
	AccountBorrows *big.Int
	TotalBorrows   *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BindingsRepayBorrow represents a RepayBorrow event raised by the Bindings contract.

type BindingsRepayBorrowIterator

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

BindingsRepayBorrowIterator is returned from FilterRepayBorrow and is used to iterate over the raw logs and unpacked data for RepayBorrow events raised by the Bindings contract.

func (*BindingsRepayBorrowIterator) Close

func (it *BindingsRepayBorrowIterator) Close() error

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

func (*BindingsRepayBorrowIterator) Error

func (it *BindingsRepayBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsRepayBorrowIterator) Next

func (it *BindingsRepayBorrowIterator) 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 BindingsReservesReduced

type BindingsReservesReduced struct {
	Admin            common.Address
	ReduceAmount     *big.Int
	NewTotalReserves *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

BindingsReservesReduced represents a ReservesReduced event raised by the Bindings contract.

type BindingsReservesReducedIterator

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

BindingsReservesReducedIterator is returned from FilterReservesReduced and is used to iterate over the raw logs and unpacked data for ReservesReduced events raised by the Bindings contract.

func (*BindingsReservesReducedIterator) Close

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

func (*BindingsReservesReducedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsReservesReducedIterator) 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 BindingsSession

type BindingsSession struct {
	Contract     *Bindings         // 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
}

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

func (*BindingsSession) AcceptAdmin

func (_Bindings *BindingsSession) AcceptAdmin() (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.

Solidity: function _acceptAdmin() returns(uint256)

func (*BindingsSession) AccrualBlockNumber

func (_Bindings *BindingsSession) AccrualBlockNumber() (*big.Int, error)

AccrualBlockNumber is a free data retrieval call binding the contract method 0x6c540baf.

Solidity: function accrualBlockNumber() constant returns(uint256)

func (*BindingsSession) AccrueInterest

func (_Bindings *BindingsSession) AccrueInterest() (*types.Transaction, error)

AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.

Solidity: function accrueInterest() returns(uint256)

func (*BindingsSession) Admin

func (_Bindings *BindingsSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*BindingsSession) Allowance

func (_Bindings *BindingsSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*BindingsSession) Approve

func (_Bindings *BindingsSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*BindingsSession) BalanceOf

func (_Bindings *BindingsSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*BindingsSession) BalanceOfUnderlying

func (_Bindings *BindingsSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)

BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.

Solidity: function balanceOfUnderlying(address owner) returns(uint256)

func (*BindingsSession) Borrow

func (_Bindings *BindingsSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)

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

Solidity: function borrow(uint256 borrowAmount) returns(uint256)

func (*BindingsSession) BorrowBalanceCurrent

func (_Bindings *BindingsSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)

BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.

Solidity: function borrowBalanceCurrent(address account) returns(uint256)

func (*BindingsSession) BorrowBalanceStored

func (_Bindings *BindingsSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

BorrowBalanceStored is a free data retrieval call binding the contract method 0x95dd9193.

Solidity: function borrowBalanceStored(address account) constant returns(uint256)

func (*BindingsSession) BorrowIndex

func (_Bindings *BindingsSession) BorrowIndex() (*big.Int, error)

BorrowIndex is a free data retrieval call binding the contract method 0xaa5af0fd.

Solidity: function borrowIndex() constant returns(uint256)

func (*BindingsSession) BorrowRatePerBlock

func (_Bindings *BindingsSession) BorrowRatePerBlock() (*big.Int, error)

BorrowRatePerBlock is a free data retrieval call binding the contract method 0xf8f9da28.

Solidity: function borrowRatePerBlock() constant returns(uint256)

func (*BindingsSession) Comptroller

func (_Bindings *BindingsSession) Comptroller() (common.Address, error)

Comptroller is a free data retrieval call binding the contract method 0x5fe3b567.

Solidity: function comptroller() constant returns(address)

func (*BindingsSession) Decimals

func (_Bindings *BindingsSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint256)

func (*BindingsSession) ExchangeRateCurrent

func (_Bindings *BindingsSession) ExchangeRateCurrent() (*types.Transaction, error)

ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.

Solidity: function exchangeRateCurrent() returns(uint256)

func (*BindingsSession) ExchangeRateStored

func (_Bindings *BindingsSession) ExchangeRateStored() (*big.Int, error)

ExchangeRateStored is a free data retrieval call binding the contract method 0x182df0f5.

Solidity: function exchangeRateStored() constant returns(uint256)

func (*BindingsSession) GetAccountSnapshot

func (_Bindings *BindingsSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetAccountSnapshot is a free data retrieval call binding the contract method 0xc37f68e2.

Solidity: function getAccountSnapshot(address account) constant returns(uint256, uint256, uint256, uint256)

func (*BindingsSession) GetCash

func (_Bindings *BindingsSession) GetCash() (*big.Int, error)

GetCash is a free data retrieval call binding the contract method 0x3b1d21a2.

Solidity: function getCash() constant returns(uint256)

func (*BindingsSession) InitialExchangeRateMantissa

func (_Bindings *BindingsSession) InitialExchangeRateMantissa() (*big.Int, error)

InitialExchangeRateMantissa is a free data retrieval call binding the contract method 0x675d972c.

Solidity: function initialExchangeRateMantissa() constant returns(uint256)

func (*BindingsSession) InterestRateModel

func (_Bindings *BindingsSession) InterestRateModel() (common.Address, error)

InterestRateModel is a free data retrieval call binding the contract method 0xf3fdb15a.

Solidity: function interestRateModel() constant returns(address)

func (*BindingsSession) IsCToken

func (_Bindings *BindingsSession) IsCToken() (bool, error)

IsCToken is a free data retrieval call binding the contract method 0xfe9c44ae.

Solidity: function isCToken() constant returns(bool)

func (*BindingsSession) LiquidateBorrow

func (_Bindings *BindingsSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)

LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.

Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns(uint256)

func (*BindingsSession) Mint

func (_Bindings *BindingsSession) Mint(mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 mintAmount) returns(uint256)

func (*BindingsSession) Name

func (_Bindings *BindingsSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BindingsSession) PendingAdmin

func (_Bindings *BindingsSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() constant returns(address)

func (*BindingsSession) Redeem

func (_Bindings *BindingsSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)

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

Solidity: function redeem(uint256 redeemTokens) returns(uint256)

func (*BindingsSession) RedeemUnderlying

func (_Bindings *BindingsSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)

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

Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)

func (*BindingsSession) ReduceReserves

func (_Bindings *BindingsSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)

ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.

Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)

func (*BindingsSession) RepayBorrow

func (_Bindings *BindingsSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)

RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.

Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)

func (*BindingsSession) RepayBorrowBehalf

func (_Bindings *BindingsSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.

Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsSession) ReserveFactorMantissa

func (_Bindings *BindingsSession) ReserveFactorMantissa() (*big.Int, error)

ReserveFactorMantissa is a free data retrieval call binding the contract method 0x173b9904.

Solidity: function reserveFactorMantissa() constant returns(uint256)

func (*BindingsSession) Seize

func (_Bindings *BindingsSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.

Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BindingsSession) SetComptroller

func (_Bindings *BindingsSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)

SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.

Solidity: function _setComptroller(address newComptroller) returns(uint256)

func (*BindingsSession) SetInterestRateModel

func (_Bindings *BindingsSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)

SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.

Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)

func (*BindingsSession) SetPendingAdmin

func (_Bindings *BindingsSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.

Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)

func (*BindingsSession) SetReserveFactor

func (_Bindings *BindingsSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)

SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.

Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)

func (*BindingsSession) SupplyRatePerBlock

func (_Bindings *BindingsSession) SupplyRatePerBlock() (*big.Int, error)

SupplyRatePerBlock is a free data retrieval call binding the contract method 0xae9d70b0.

Solidity: function supplyRatePerBlock() constant returns(uint256)

func (*BindingsSession) Symbol

func (_Bindings *BindingsSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BindingsSession) TotalBorrows

func (_Bindings *BindingsSession) TotalBorrows() (*big.Int, error)

TotalBorrows is a free data retrieval call binding the contract method 0x47bd3718.

Solidity: function totalBorrows() constant returns(uint256)

func (*BindingsSession) TotalBorrowsCurrent

func (_Bindings *BindingsSession) TotalBorrowsCurrent() (*types.Transaction, error)

TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*BindingsSession) TotalReserves

func (_Bindings *BindingsSession) TotalReserves() (*big.Int, error)

TotalReserves is a free data retrieval call binding the contract method 0x8f840ddd.

Solidity: function totalReserves() constant returns(uint256)

func (*BindingsSession) TotalSupply

func (_Bindings *BindingsSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*BindingsSession) Transfer

func (_Bindings *BindingsSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*BindingsSession) TransferFrom

func (_Bindings *BindingsSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

func (*BindingsSession) Underlying

func (_Bindings *BindingsSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() constant returns(address)

type BindingsTransactor

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

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

func NewBindingsTransactor

func NewBindingsTransactor(address common.Address, transactor bind.ContractTransactor) (*BindingsTransactor, error)

NewBindingsTransactor creates a new write-only instance of Bindings, bound to a specific deployed contract.

func (*BindingsTransactor) AcceptAdmin

func (_Bindings *BindingsTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.

Solidity: function _acceptAdmin() returns(uint256)

func (*BindingsTransactor) AccrueInterest

func (_Bindings *BindingsTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)

AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.

Solidity: function accrueInterest() returns(uint256)

func (*BindingsTransactor) Approve

func (_Bindings *BindingsTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*BindingsTransactor) BalanceOfUnderlying

func (_Bindings *BindingsTransactor) BalanceOfUnderlying(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.

Solidity: function balanceOfUnderlying(address owner) returns(uint256)

func (*BindingsTransactor) Borrow

func (_Bindings *BindingsTransactor) Borrow(opts *bind.TransactOpts, borrowAmount *big.Int) (*types.Transaction, error)

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

Solidity: function borrow(uint256 borrowAmount) returns(uint256)

func (*BindingsTransactor) BorrowBalanceCurrent

func (_Bindings *BindingsTransactor) BorrowBalanceCurrent(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.

Solidity: function borrowBalanceCurrent(address account) returns(uint256)

func (*BindingsTransactor) ExchangeRateCurrent

func (_Bindings *BindingsTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.

Solidity: function exchangeRateCurrent() returns(uint256)

func (*BindingsTransactor) LiquidateBorrow

func (_Bindings *BindingsTransactor) LiquidateBorrow(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)

LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.

Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns(uint256)

func (*BindingsTransactor) Mint

func (_Bindings *BindingsTransactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 mintAmount) returns(uint256)

func (*BindingsTransactor) Redeem

func (_Bindings *BindingsTransactor) Redeem(opts *bind.TransactOpts, redeemTokens *big.Int) (*types.Transaction, error)

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

Solidity: function redeem(uint256 redeemTokens) returns(uint256)

func (*BindingsTransactor) RedeemUnderlying

func (_Bindings *BindingsTransactor) RedeemUnderlying(opts *bind.TransactOpts, redeemAmount *big.Int) (*types.Transaction, error)

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

Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)

func (*BindingsTransactor) ReduceReserves

func (_Bindings *BindingsTransactor) ReduceReserves(opts *bind.TransactOpts, reduceAmount *big.Int) (*types.Transaction, error)

ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.

Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)

func (*BindingsTransactor) RepayBorrow

func (_Bindings *BindingsTransactor) RepayBorrow(opts *bind.TransactOpts, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.

Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)

func (*BindingsTransactor) RepayBorrowBehalf

func (_Bindings *BindingsTransactor) RepayBorrowBehalf(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.

Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsTransactor) Seize

func (_Bindings *BindingsTransactor) Seize(opts *bind.TransactOpts, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.

Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BindingsTransactor) SetComptroller

func (_Bindings *BindingsTransactor) SetComptroller(opts *bind.TransactOpts, newComptroller common.Address) (*types.Transaction, error)

SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.

Solidity: function _setComptroller(address newComptroller) returns(uint256)

func (*BindingsTransactor) SetInterestRateModel

func (_Bindings *BindingsTransactor) SetInterestRateModel(opts *bind.TransactOpts, newInterestRateModel common.Address) (*types.Transaction, error)

SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.

Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)

func (*BindingsTransactor) SetPendingAdmin

func (_Bindings *BindingsTransactor) SetPendingAdmin(opts *bind.TransactOpts, newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.

Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)

func (*BindingsTransactor) SetReserveFactor

func (_Bindings *BindingsTransactor) SetReserveFactor(opts *bind.TransactOpts, newReserveFactorMantissa *big.Int) (*types.Transaction, error)

SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.

Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)

func (*BindingsTransactor) TotalBorrowsCurrent

func (_Bindings *BindingsTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*BindingsTransactor) Transfer

func (_Bindings *BindingsTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*BindingsTransactor) TransferFrom

func (_Bindings *BindingsTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type BindingsTransactorRaw

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

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

func (*BindingsTransactorRaw) Transact

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

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

func (*BindingsTransactorRaw) Transfer

func (_Bindings *BindingsTransactorRaw) 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 BindingsTransactorSession

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

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

func (*BindingsTransactorSession) AcceptAdmin

func (_Bindings *BindingsTransactorSession) AcceptAdmin() (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0xe9c714f2.

Solidity: function _acceptAdmin() returns(uint256)

func (*BindingsTransactorSession) AccrueInterest

func (_Bindings *BindingsTransactorSession) AccrueInterest() (*types.Transaction, error)

AccrueInterest is a paid mutator transaction binding the contract method 0xa6afed95.

Solidity: function accrueInterest() returns(uint256)

func (*BindingsTransactorSession) Approve

func (_Bindings *BindingsTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*BindingsTransactorSession) BalanceOfUnderlying

func (_Bindings *BindingsTransactorSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)

BalanceOfUnderlying is a paid mutator transaction binding the contract method 0x3af9e669.

Solidity: function balanceOfUnderlying(address owner) returns(uint256)

func (*BindingsTransactorSession) Borrow

func (_Bindings *BindingsTransactorSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)

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

Solidity: function borrow(uint256 borrowAmount) returns(uint256)

func (*BindingsTransactorSession) BorrowBalanceCurrent

func (_Bindings *BindingsTransactorSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)

BorrowBalanceCurrent is a paid mutator transaction binding the contract method 0x17bfdfbc.

Solidity: function borrowBalanceCurrent(address account) returns(uint256)

func (*BindingsTransactorSession) ExchangeRateCurrent

func (_Bindings *BindingsTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)

ExchangeRateCurrent is a paid mutator transaction binding the contract method 0xbd6d894d.

Solidity: function exchangeRateCurrent() returns(uint256)

func (*BindingsTransactorSession) LiquidateBorrow

func (_Bindings *BindingsTransactorSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, cTokenCollateral common.Address) (*types.Transaction, error)

LiquidateBorrow is a paid mutator transaction binding the contract method 0xf5e3c462.

Solidity: function liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns(uint256)

func (*BindingsTransactorSession) Mint

func (_Bindings *BindingsTransactorSession) Mint(mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 mintAmount) returns(uint256)

func (*BindingsTransactorSession) Redeem

func (_Bindings *BindingsTransactorSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)

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

Solidity: function redeem(uint256 redeemTokens) returns(uint256)

func (*BindingsTransactorSession) RedeemUnderlying

func (_Bindings *BindingsTransactorSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)

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

Solidity: function redeemUnderlying(uint256 redeemAmount) returns(uint256)

func (*BindingsTransactorSession) ReduceReserves

func (_Bindings *BindingsTransactorSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)

ReduceReserves is a paid mutator transaction binding the contract method 0x601a0bf1.

Solidity: function _reduceReserves(uint256 reduceAmount) returns(uint256)

func (*BindingsTransactorSession) RepayBorrow

func (_Bindings *BindingsTransactorSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)

RepayBorrow is a paid mutator transaction binding the contract method 0x0e752702.

Solidity: function repayBorrow(uint256 repayAmount) returns(uint256)

func (*BindingsTransactorSession) RepayBorrowBehalf

func (_Bindings *BindingsTransactorSession) RepayBorrowBehalf(borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x2608f818.

Solidity: function repayBorrowBehalf(address borrower, uint256 repayAmount) returns(uint256)

func (*BindingsTransactorSession) Seize

func (_Bindings *BindingsTransactorSession) Seize(liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0xb2a02ff1.

Solidity: function seize(address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BindingsTransactorSession) SetComptroller

func (_Bindings *BindingsTransactorSession) SetComptroller(newComptroller common.Address) (*types.Transaction, error)

SetComptroller is a paid mutator transaction binding the contract method 0x4576b5db.

Solidity: function _setComptroller(address newComptroller) returns(uint256)

func (*BindingsTransactorSession) SetInterestRateModel

func (_Bindings *BindingsTransactorSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)

SetInterestRateModel is a paid mutator transaction binding the contract method 0xf2b3abbd.

Solidity: function _setInterestRateModel(address newInterestRateModel) returns(uint256)

func (*BindingsTransactorSession) SetPendingAdmin

func (_Bindings *BindingsTransactorSession) SetPendingAdmin(newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0xb71d1a0c.

Solidity: function _setPendingAdmin(address newPendingAdmin) returns(uint256)

func (*BindingsTransactorSession) SetReserveFactor

func (_Bindings *BindingsTransactorSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)

SetReserveFactor is a paid mutator transaction binding the contract method 0xfca7820b.

Solidity: function _setReserveFactor(uint256 newReserveFactorMantissa) returns(uint256)

func (*BindingsTransactorSession) TotalBorrowsCurrent

func (_Bindings *BindingsTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)

TotalBorrowsCurrent is a paid mutator transaction binding the contract method 0x73acee98.

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*BindingsTransactorSession) Transfer

func (_Bindings *BindingsTransactorSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*BindingsTransactorSession) TransferFrom

func (_Bindings *BindingsTransactorSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type BindingsTransfer

type BindingsTransfer struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BindingsTransfer represents a Transfer event raised by the Bindings contract.

type BindingsTransferIterator

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

BindingsTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Bindings contract.

func (*BindingsTransferIterator) Close

func (it *BindingsTransferIterator) Close() error

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

func (*BindingsTransferIterator) Error

func (it *BindingsTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BindingsTransferIterator) Next

func (it *BindingsTransferIterator) Next() bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL