cETH

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CETHABI = "" /* 16752-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CETH

type CETH struct {
	CETHCaller     // Read-only binding to the contract
	CETHTransactor // Write-only binding to the contract
	CETHFilterer   // Log filterer for contract events
}

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

func NewCETH

func NewCETH(address common.Address, backend bind.ContractBackend) (*CETH, error)

NewCETH creates a new instance of CETH, bound to a specific deployed contract.

type CETHAccrueInterest

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

CETHAccrueInterest represents a AccrueInterest event raised by the CETH contract.

type CETHAccrueInterestIterator

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

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

func (*CETHAccrueInterestIterator) Close

func (it *CETHAccrueInterestIterator) Close() error

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

func (*CETHAccrueInterestIterator) Error

func (it *CETHAccrueInterestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHAccrueInterestIterator) Next

func (it *CETHAccrueInterestIterator) 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 CETHApproval

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

CETHApproval represents a Approval event raised by the CETH contract.

type CETHApprovalIterator

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

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

func (*CETHApprovalIterator) Close

func (it *CETHApprovalIterator) Close() error

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

func (*CETHApprovalIterator) Error

func (it *CETHApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHApprovalIterator) Next

func (it *CETHApprovalIterator) 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 CETHBorrow

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

CETHBorrow represents a Borrow event raised by the CETH contract.

type CETHBorrowIterator

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

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

func (*CETHBorrowIterator) Close

func (it *CETHBorrowIterator) Close() error

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

func (*CETHBorrowIterator) Error

func (it *CETHBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHBorrowIterator) Next

func (it *CETHBorrowIterator) 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 CETHCaller

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

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

func NewCETHCaller

func NewCETHCaller(address common.Address, caller bind.ContractCaller) (*CETHCaller, error)

NewCETHCaller creates a new read-only instance of CETH, bound to a specific deployed contract.

func (*CETHCaller) AccrualBlockNumber

func (_CETH *CETHCaller) AccrualBlockNumber(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CETHCaller) Admin

func (_CETH *CETHCaller) Admin(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CETHCaller) Allowance

func (_CETH *CETHCaller) 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) view returns(uint256)

func (*CETHCaller) BalanceOf

func (_CETH *CETHCaller) 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) view returns(uint256)

func (*CETHCaller) BorrowBalanceStored

func (_CETH *CETHCaller) 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) view returns(uint256)

func (*CETHCaller) BorrowIndex

func (_CETH *CETHCaller) BorrowIndex(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CETHCaller) BorrowRatePerBlock

func (_CETH *CETHCaller) BorrowRatePerBlock(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CETHCaller) Comptroller

func (_CETH *CETHCaller) Comptroller(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CETHCaller) Decimals

func (_CETH *CETHCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CETHCaller) ExchangeRateStored

func (_CETH *CETHCaller) ExchangeRateStored(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CETHCaller) GetAccountSnapshot

func (_CETH *CETHCaller) 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) view returns(uint256, uint256, uint256, uint256)

func (*CETHCaller) GetCash

func (_CETH *CETHCaller) GetCash(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CETHCaller) InitialExchangeRateMantissa

func (_CETH *CETHCaller) InitialExchangeRateMantissa(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CETHCaller) InterestRateModel

func (_CETH *CETHCaller) InterestRateModel(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CETHCaller) IsCToken

func (_CETH *CETHCaller) IsCToken(opts *bind.CallOpts) (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CETHCaller) Name

func (_CETH *CETHCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*CETHCaller) PendingAdmin

func (_CETH *CETHCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CETHCaller) ReserveFactorMantissa

func (_CETH *CETHCaller) ReserveFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CETHCaller) SupplyRatePerBlock

func (_CETH *CETHCaller) SupplyRatePerBlock(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CETHCaller) Symbol

func (_CETH *CETHCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*CETHCaller) TotalBorrows

func (_CETH *CETHCaller) TotalBorrows(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CETHCaller) TotalReserves

func (_CETH *CETHCaller) TotalReserves(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CETHCaller) TotalSupply

func (_CETH *CETHCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type CETHCallerRaw

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

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

func (*CETHCallerRaw) Call

func (_CETH *CETHCallerRaw) 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 CETHCallerSession

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

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

func (*CETHCallerSession) AccrualBlockNumber

func (_CETH *CETHCallerSession) AccrualBlockNumber() (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CETHCallerSession) Admin

func (_CETH *CETHCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CETHCallerSession) Allowance

func (_CETH *CETHCallerSession) 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) view returns(uint256)

func (*CETHCallerSession) BalanceOf

func (_CETH *CETHCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*CETHCallerSession) BorrowBalanceStored

func (_CETH *CETHCallerSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

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

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

func (*CETHCallerSession) BorrowIndex

func (_CETH *CETHCallerSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CETHCallerSession) BorrowRatePerBlock

func (_CETH *CETHCallerSession) BorrowRatePerBlock() (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CETHCallerSession) Comptroller

func (_CETH *CETHCallerSession) Comptroller() (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CETHCallerSession) Decimals

func (_CETH *CETHCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CETHCallerSession) ExchangeRateStored

func (_CETH *CETHCallerSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CETHCallerSession) GetAccountSnapshot

func (_CETH *CETHCallerSession) 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) view returns(uint256, uint256, uint256, uint256)

func (*CETHCallerSession) GetCash

func (_CETH *CETHCallerSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CETHCallerSession) InitialExchangeRateMantissa

func (_CETH *CETHCallerSession) InitialExchangeRateMantissa() (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CETHCallerSession) InterestRateModel

func (_CETH *CETHCallerSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CETHCallerSession) IsCToken

func (_CETH *CETHCallerSession) IsCToken() (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CETHCallerSession) Name

func (_CETH *CETHCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CETHCallerSession) PendingAdmin

func (_CETH *CETHCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CETHCallerSession) ReserveFactorMantissa

func (_CETH *CETHCallerSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CETHCallerSession) SupplyRatePerBlock

func (_CETH *CETHCallerSession) SupplyRatePerBlock() (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CETHCallerSession) Symbol

func (_CETH *CETHCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CETHCallerSession) TotalBorrows

func (_CETH *CETHCallerSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CETHCallerSession) TotalReserves

func (_CETH *CETHCallerSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CETHCallerSession) TotalSupply

func (_CETH *CETHCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type CETHFailure

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

CETHFailure represents a Failure event raised by the CETH contract.

type CETHFailureIterator

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

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

func (*CETHFailureIterator) Close

func (it *CETHFailureIterator) Close() error

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

func (*CETHFailureIterator) Error

func (it *CETHFailureIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHFailureIterator) Next

func (it *CETHFailureIterator) 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 CETHFilterer

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

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

func NewCETHFilterer

func NewCETHFilterer(address common.Address, filterer bind.ContractFilterer) (*CETHFilterer, error)

NewCETHFilterer creates a new log filterer instance of CETH, bound to a specific deployed contract.

func (*CETHFilterer) FilterAccrueInterest

func (_CETH *CETHFilterer) FilterAccrueInterest(opts *bind.FilterOpts) (*CETHAccrueInterestIterator, error)

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

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

func (*CETHFilterer) FilterApproval

func (_CETH *CETHFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*CETHApprovalIterator, 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 (*CETHFilterer) FilterBorrow

func (_CETH *CETHFilterer) FilterBorrow(opts *bind.FilterOpts) (*CETHBorrowIterator, 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 (*CETHFilterer) FilterFailure

func (_CETH *CETHFilterer) FilterFailure(opts *bind.FilterOpts) (*CETHFailureIterator, error)

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

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

func (*CETHFilterer) FilterLiquidateBorrow

func (_CETH *CETHFilterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*CETHLiquidateBorrowIterator, 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 (*CETHFilterer) FilterMint

func (_CETH *CETHFilterer) FilterMint(opts *bind.FilterOpts) (*CETHMintIterator, error)

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

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

func (*CETHFilterer) FilterNewAdmin

func (_CETH *CETHFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*CETHNewAdminIterator, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CETHFilterer) FilterNewComptroller

func (_CETH *CETHFilterer) FilterNewComptroller(opts *bind.FilterOpts) (*CETHNewComptrollerIterator, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CETHFilterer) FilterNewMarketInterestRateModel

func (_CETH *CETHFilterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*CETHNewMarketInterestRateModelIterator, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CETHFilterer) FilterNewPendingAdmin

func (_CETH *CETHFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*CETHNewPendingAdminIterator, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CETHFilterer) FilterNewReserveFactor

func (_CETH *CETHFilterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*CETHNewReserveFactorIterator, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CETHFilterer) FilterRedeem

func (_CETH *CETHFilterer) FilterRedeem(opts *bind.FilterOpts) (*CETHRedeemIterator, error)

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

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

func (*CETHFilterer) FilterRepayBorrow

func (_CETH *CETHFilterer) FilterRepayBorrow(opts *bind.FilterOpts) (*CETHRepayBorrowIterator, 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 (*CETHFilterer) FilterReservesReduced

func (_CETH *CETHFilterer) FilterReservesReduced(opts *bind.FilterOpts) (*CETHReservesReducedIterator, error)

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

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

func (*CETHFilterer) FilterTransfer

func (_CETH *CETHFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*CETHTransferIterator, 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 (*CETHFilterer) ParseAccrueInterest

func (_CETH *CETHFilterer) ParseAccrueInterest(log types.Log) (*CETHAccrueInterest, error)

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

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

func (*CETHFilterer) ParseApproval

func (_CETH *CETHFilterer) ParseApproval(log types.Log) (*CETHApproval, error)

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

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

func (*CETHFilterer) ParseBorrow

func (_CETH *CETHFilterer) ParseBorrow(log types.Log) (*CETHBorrow, error)

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

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

func (*CETHFilterer) ParseFailure

func (_CETH *CETHFilterer) ParseFailure(log types.Log) (*CETHFailure, error)

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

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

func (*CETHFilterer) ParseLiquidateBorrow

func (_CETH *CETHFilterer) ParseLiquidateBorrow(log types.Log) (*CETHLiquidateBorrow, 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 (*CETHFilterer) ParseMint

func (_CETH *CETHFilterer) ParseMint(log types.Log) (*CETHMint, error)

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

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

func (*CETHFilterer) ParseNewAdmin

func (_CETH *CETHFilterer) ParseNewAdmin(log types.Log) (*CETHNewAdmin, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CETHFilterer) ParseNewComptroller

func (_CETH *CETHFilterer) ParseNewComptroller(log types.Log) (*CETHNewComptroller, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CETHFilterer) ParseNewMarketInterestRateModel

func (_CETH *CETHFilterer) ParseNewMarketInterestRateModel(log types.Log) (*CETHNewMarketInterestRateModel, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CETHFilterer) ParseNewPendingAdmin

func (_CETH *CETHFilterer) ParseNewPendingAdmin(log types.Log) (*CETHNewPendingAdmin, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CETHFilterer) ParseNewReserveFactor

func (_CETH *CETHFilterer) ParseNewReserveFactor(log types.Log) (*CETHNewReserveFactor, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CETHFilterer) ParseRedeem

func (_CETH *CETHFilterer) ParseRedeem(log types.Log) (*CETHRedeem, error)

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

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

func (*CETHFilterer) ParseRepayBorrow

func (_CETH *CETHFilterer) ParseRepayBorrow(log types.Log) (*CETHRepayBorrow, 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 (*CETHFilterer) ParseReservesReduced

func (_CETH *CETHFilterer) ParseReservesReduced(log types.Log) (*CETHReservesReduced, error)

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

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

func (*CETHFilterer) ParseTransfer

func (_CETH *CETHFilterer) ParseTransfer(log types.Log) (*CETHTransfer, error)

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

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

func (*CETHFilterer) WatchAccrueInterest

func (_CETH *CETHFilterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *CETHAccrueInterest) (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 (*CETHFilterer) WatchApproval

func (_CETH *CETHFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CETHApproval, 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 (*CETHFilterer) WatchBorrow

func (_CETH *CETHFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *CETHBorrow) (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 (*CETHFilterer) WatchFailure

func (_CETH *CETHFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *CETHFailure) (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 (*CETHFilterer) WatchLiquidateBorrow

func (_CETH *CETHFilterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *CETHLiquidateBorrow) (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 (*CETHFilterer) WatchMint

func (_CETH *CETHFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *CETHMint) (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 (*CETHFilterer) WatchNewAdmin

func (_CETH *CETHFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CETHNewAdmin) (event.Subscription, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CETHFilterer) WatchNewComptroller

func (_CETH *CETHFilterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *CETHNewComptroller) (event.Subscription, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CETHFilterer) WatchNewMarketInterestRateModel

func (_CETH *CETHFilterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *CETHNewMarketInterestRateModel) (event.Subscription, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CETHFilterer) WatchNewPendingAdmin

func (_CETH *CETHFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *CETHNewPendingAdmin) (event.Subscription, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CETHFilterer) WatchNewReserveFactor

func (_CETH *CETHFilterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *CETHNewReserveFactor) (event.Subscription, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CETHFilterer) WatchRedeem

func (_CETH *CETHFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *CETHRedeem) (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 (*CETHFilterer) WatchRepayBorrow

func (_CETH *CETHFilterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *CETHRepayBorrow) (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 (*CETHFilterer) WatchReservesReduced

func (_CETH *CETHFilterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *CETHReservesReduced) (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 (*CETHFilterer) WatchTransfer

func (_CETH *CETHFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CETHTransfer, 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 CETHLiquidateBorrow

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

CETHLiquidateBorrow represents a LiquidateBorrow event raised by the CETH contract.

type CETHLiquidateBorrowIterator

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

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

func (*CETHLiquidateBorrowIterator) Close

func (it *CETHLiquidateBorrowIterator) Close() error

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

func (*CETHLiquidateBorrowIterator) Error

func (it *CETHLiquidateBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHLiquidateBorrowIterator) Next

func (it *CETHLiquidateBorrowIterator) 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 CETHMint

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

CETHMint represents a Mint event raised by the CETH contract.

type CETHMintIterator

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

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

func (*CETHMintIterator) Close

func (it *CETHMintIterator) Close() error

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

func (*CETHMintIterator) Error

func (it *CETHMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHMintIterator) Next

func (it *CETHMintIterator) 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 CETHNewAdmin

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

CETHNewAdmin represents a NewAdmin event raised by the CETH contract.

type CETHNewAdminIterator

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

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

func (*CETHNewAdminIterator) Close

func (it *CETHNewAdminIterator) Close() error

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

func (*CETHNewAdminIterator) Error

func (it *CETHNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHNewAdminIterator) Next

func (it *CETHNewAdminIterator) 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 CETHNewComptroller

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

CETHNewComptroller represents a NewComptroller event raised by the CETH contract.

type CETHNewComptrollerIterator

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

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

func (*CETHNewComptrollerIterator) Close

func (it *CETHNewComptrollerIterator) Close() error

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

func (*CETHNewComptrollerIterator) Error

func (it *CETHNewComptrollerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHNewComptrollerIterator) Next

func (it *CETHNewComptrollerIterator) 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 CETHNewMarketInterestRateModel

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

CETHNewMarketInterestRateModel represents a NewMarketInterestRateModel event raised by the CETH contract.

type CETHNewMarketInterestRateModelIterator

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

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

func (*CETHNewMarketInterestRateModelIterator) Close

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

func (*CETHNewMarketInterestRateModelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHNewMarketInterestRateModelIterator) 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 CETHNewPendingAdmin

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

CETHNewPendingAdmin represents a NewPendingAdmin event raised by the CETH contract.

type CETHNewPendingAdminIterator

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

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

func (*CETHNewPendingAdminIterator) Close

func (it *CETHNewPendingAdminIterator) Close() error

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

func (*CETHNewPendingAdminIterator) Error

func (it *CETHNewPendingAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHNewPendingAdminIterator) Next

func (it *CETHNewPendingAdminIterator) 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 CETHNewReserveFactor

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

CETHNewReserveFactor represents a NewReserveFactor event raised by the CETH contract.

type CETHNewReserveFactorIterator

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

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

func (*CETHNewReserveFactorIterator) Close

func (it *CETHNewReserveFactorIterator) Close() error

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

func (*CETHNewReserveFactorIterator) Error

func (it *CETHNewReserveFactorIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHNewReserveFactorIterator) 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 CETHRaw

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

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

func (*CETHRaw) Call

func (_CETH *CETHRaw) 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 (*CETHRaw) Transact

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

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

func (*CETHRaw) Transfer

func (_CETH *CETHRaw) 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 CETHRedeem

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

CETHRedeem represents a Redeem event raised by the CETH contract.

type CETHRedeemIterator

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

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

func (*CETHRedeemIterator) Close

func (it *CETHRedeemIterator) Close() error

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

func (*CETHRedeemIterator) Error

func (it *CETHRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHRedeemIterator) Next

func (it *CETHRedeemIterator) 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 CETHRepayBorrow

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

CETHRepayBorrow represents a RepayBorrow event raised by the CETH contract.

type CETHRepayBorrowIterator

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

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

func (*CETHRepayBorrowIterator) Close

func (it *CETHRepayBorrowIterator) Close() error

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

func (*CETHRepayBorrowIterator) Error

func (it *CETHRepayBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHRepayBorrowIterator) Next

func (it *CETHRepayBorrowIterator) 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 CETHReservesReduced

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

CETHReservesReduced represents a ReservesReduced event raised by the CETH contract.

type CETHReservesReducedIterator

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

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

func (*CETHReservesReducedIterator) Close

func (it *CETHReservesReducedIterator) Close() error

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

func (*CETHReservesReducedIterator) Error

func (it *CETHReservesReducedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHReservesReducedIterator) Next

func (it *CETHReservesReducedIterator) 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 CETHSession

type CETHSession struct {
	Contract     *CETH             // 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
}

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

func (*CETHSession) AcceptAdmin

func (_CETH *CETHSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CETHSession) AccrualBlockNumber

func (_CETH *CETHSession) AccrualBlockNumber() (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CETHSession) AccrueInterest

func (_CETH *CETHSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CETHSession) Admin

func (_CETH *CETHSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CETHSession) Allowance

func (_CETH *CETHSession) 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) view returns(uint256)

func (*CETHSession) Approve

func (_CETH *CETHSession) 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 (*CETHSession) BalanceOf

func (_CETH *CETHSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*CETHSession) BalanceOfUnderlying

func (_CETH *CETHSession) 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 (*CETHSession) Borrow

func (_CETH *CETHSession) 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 (*CETHSession) BorrowBalanceCurrent

func (_CETH *CETHSession) 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 (*CETHSession) BorrowBalanceStored

func (_CETH *CETHSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

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

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

func (*CETHSession) BorrowIndex

func (_CETH *CETHSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CETHSession) BorrowRatePerBlock

func (_CETH *CETHSession) BorrowRatePerBlock() (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CETHSession) Comptroller

func (_CETH *CETHSession) Comptroller() (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CETHSession) Decimals

func (_CETH *CETHSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CETHSession) ExchangeRateCurrent

func (_CETH *CETHSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CETHSession) ExchangeRateStored

func (_CETH *CETHSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CETHSession) Fallback

func (_CETH *CETHSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*CETHSession) GetAccountSnapshot

func (_CETH *CETHSession) 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) view returns(uint256, uint256, uint256, uint256)

func (*CETHSession) GetCash

func (_CETH *CETHSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CETHSession) InitialExchangeRateMantissa

func (_CETH *CETHSession) InitialExchangeRateMantissa() (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CETHSession) InterestRateModel

func (_CETH *CETHSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CETHSession) IsCToken

func (_CETH *CETHSession) IsCToken() (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CETHSession) LiquidateBorrow

func (_CETH *CETHSession) LiquidateBorrow(borrower common.Address, cTokenCollateral common.Address) (*types.Transaction, error)

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

Solidity: function liquidateBorrow(address borrower, address cTokenCollateral) payable returns()

func (*CETHSession) Mint

func (_CETH *CETHSession) Mint() (*types.Transaction, error)

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

Solidity: function mint() payable returns()

func (*CETHSession) Name

func (_CETH *CETHSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CETHSession) PendingAdmin

func (_CETH *CETHSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CETHSession) Redeem

func (_CETH *CETHSession) 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 (*CETHSession) RedeemUnderlying

func (_CETH *CETHSession) 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 (*CETHSession) ReduceReserves

func (_CETH *CETHSession) 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 (*CETHSession) RepayBorrow

func (_CETH *CETHSession) RepayBorrow() (*types.Transaction, error)

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

Solidity: function repayBorrow() payable returns()

func (*CETHSession) RepayBorrowBehalf

func (_CETH *CETHSession) RepayBorrowBehalf(borrower common.Address) (*types.Transaction, error)

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

Solidity: function repayBorrowBehalf(address borrower) payable returns()

func (*CETHSession) ReserveFactorMantissa

func (_CETH *CETHSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CETHSession) Seize

func (_CETH *CETHSession) 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 (*CETHSession) SetComptroller

func (_CETH *CETHSession) 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 (*CETHSession) SetInterestRateModel

func (_CETH *CETHSession) 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 (*CETHSession) SetPendingAdmin

func (_CETH *CETHSession) 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 (*CETHSession) SetReserveFactor

func (_CETH *CETHSession) 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 (*CETHSession) SupplyRatePerBlock

func (_CETH *CETHSession) SupplyRatePerBlock() (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CETHSession) Symbol

func (_CETH *CETHSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CETHSession) TotalBorrows

func (_CETH *CETHSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CETHSession) TotalBorrowsCurrent

func (_CETH *CETHSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CETHSession) TotalReserves

func (_CETH *CETHSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CETHSession) TotalSupply

func (_CETH *CETHSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CETHSession) Transfer

func (_CETH *CETHSession) 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 (*CETHSession) TransferFrom

func (_CETH *CETHSession) 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 CETHTransactor

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

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

func NewCETHTransactor

func NewCETHTransactor(address common.Address, transactor bind.ContractTransactor) (*CETHTransactor, error)

NewCETHTransactor creates a new write-only instance of CETH, bound to a specific deployed contract.

func (*CETHTransactor) AcceptAdmin

func (_CETH *CETHTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CETHTransactor) AccrueInterest

func (_CETH *CETHTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CETHTransactor) Approve

func (_CETH *CETHTransactor) 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 (*CETHTransactor) BalanceOfUnderlying

func (_CETH *CETHTransactor) 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 (*CETHTransactor) Borrow

func (_CETH *CETHTransactor) 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 (*CETHTransactor) BorrowBalanceCurrent

func (_CETH *CETHTransactor) 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 (*CETHTransactor) ExchangeRateCurrent

func (_CETH *CETHTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CETHTransactor) Fallback

func (_CETH *CETHTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*CETHTransactor) LiquidateBorrow

func (_CETH *CETHTransactor) LiquidateBorrow(opts *bind.TransactOpts, borrower common.Address, cTokenCollateral common.Address) (*types.Transaction, error)

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

Solidity: function liquidateBorrow(address borrower, address cTokenCollateral) payable returns()

func (*CETHTransactor) Mint

func (_CETH *CETHTransactor) Mint(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function mint() payable returns()

func (*CETHTransactor) Redeem

func (_CETH *CETHTransactor) 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 (*CETHTransactor) RedeemUnderlying

func (_CETH *CETHTransactor) 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 (*CETHTransactor) ReduceReserves

func (_CETH *CETHTransactor) 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 (*CETHTransactor) RepayBorrow

func (_CETH *CETHTransactor) RepayBorrow(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function repayBorrow() payable returns()

func (*CETHTransactor) RepayBorrowBehalf

func (_CETH *CETHTransactor) RepayBorrowBehalf(opts *bind.TransactOpts, borrower common.Address) (*types.Transaction, error)

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

Solidity: function repayBorrowBehalf(address borrower) payable returns()

func (*CETHTransactor) Seize

func (_CETH *CETHTransactor) 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 (*CETHTransactor) SetComptroller

func (_CETH *CETHTransactor) 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 (*CETHTransactor) SetInterestRateModel

func (_CETH *CETHTransactor) 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 (*CETHTransactor) SetPendingAdmin

func (_CETH *CETHTransactor) 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 (*CETHTransactor) SetReserveFactor

func (_CETH *CETHTransactor) 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 (*CETHTransactor) TotalBorrowsCurrent

func (_CETH *CETHTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CETHTransactor) Transfer

func (_CETH *CETHTransactor) 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 (*CETHTransactor) TransferFrom

func (_CETH *CETHTransactor) 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 CETHTransactorRaw

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

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

func (*CETHTransactorRaw) Transact

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

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

func (*CETHTransactorRaw) Transfer

func (_CETH *CETHTransactorRaw) 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 CETHTransactorSession

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

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

func (*CETHTransactorSession) AcceptAdmin

func (_CETH *CETHTransactorSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CETHTransactorSession) AccrueInterest

func (_CETH *CETHTransactorSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CETHTransactorSession) Approve

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) BalanceOfUnderlying

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) Borrow

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) BorrowBalanceCurrent

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) ExchangeRateCurrent

func (_CETH *CETHTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CETHTransactorSession) Fallback

func (_CETH *CETHTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*CETHTransactorSession) LiquidateBorrow

func (_CETH *CETHTransactorSession) LiquidateBorrow(borrower common.Address, cTokenCollateral common.Address) (*types.Transaction, error)

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

Solidity: function liquidateBorrow(address borrower, address cTokenCollateral) payable returns()

func (*CETHTransactorSession) Mint

func (_CETH *CETHTransactorSession) Mint() (*types.Transaction, error)

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

Solidity: function mint() payable returns()

func (*CETHTransactorSession) Redeem

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) RedeemUnderlying

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) ReduceReserves

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) RepayBorrow

func (_CETH *CETHTransactorSession) RepayBorrow() (*types.Transaction, error)

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

Solidity: function repayBorrow() payable returns()

func (*CETHTransactorSession) RepayBorrowBehalf

func (_CETH *CETHTransactorSession) RepayBorrowBehalf(borrower common.Address) (*types.Transaction, error)

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

Solidity: function repayBorrowBehalf(address borrower) payable returns()

func (*CETHTransactorSession) Seize

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) SetComptroller

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) SetInterestRateModel

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) SetPendingAdmin

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) SetReserveFactor

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) TotalBorrowsCurrent

func (_CETH *CETHTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CETHTransactorSession) Transfer

func (_CETH *CETHTransactorSession) 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 (*CETHTransactorSession) TransferFrom

func (_CETH *CETHTransactorSession) 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 CETHTransfer

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

CETHTransfer represents a Transfer event raised by the CETH contract.

type CETHTransferIterator

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

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

func (*CETHTransferIterator) Close

func (it *CETHTransferIterator) Close() error

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

func (*CETHTransferIterator) Error

func (it *CETHTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CETHTransferIterator) Next

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