compoundcontract

package
v1.0.1-tekton-ci-beta-15 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CErc20ABI = "" /* 18708-byte string literal not displayed */

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

View Source
const CTokenABI = "" /* 16150-byte string literal not displayed */

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

View Source
const CarefulMathABI = "[]"

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

View Source
const ComptrollerErrorReporterABI = "" /* 343-byte string literal not displayed */

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

View Source
const ComptrollerInterfaceABI = "" /* 8274-byte string literal not displayed */

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

View Source
const EIP20InterfaceABI = "" /* 2667-byte string literal not displayed */

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

View Source
const EIP20NonStandardInterfaceABI = "" /* 2535-byte string literal not displayed */

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

View Source
const ExponentialABI = "[]"

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

View Source
const InterestRateModelABI = "" /* 703-byte string literal not displayed */

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

View Source
const ReentrancyGuardABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"

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

View Source
const TokenErrorReporterABI = "" /* 343-byte string literal not displayed */

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

Variables

View Source
var CErc20Bin = "" /* 41786-byte string literal not displayed */

CErc20Bin is the compiled bytecode used for deploying new contracts.

View Source
var CErc20FuncSigs = map[string]string{
	"e9c714f2": "_acceptAdmin()",
	"601a0bf1": "_reduceReserves(uint256)",
	"4576b5db": "_setComptroller(address)",
	"f2b3abbd": "_setInterestRateModel(address)",
	"b71d1a0c": "_setPendingAdmin(address)",
	"fca7820b": "_setReserveFactor(uint256)",
	"6c540baf": "accrualBlockNumber()",
	"a6afed95": "accrueInterest()",
	"f851a440": "admin()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"3af9e669": "balanceOfUnderlying(address)",
	"c5ebeaec": "borrow(uint256)",
	"17bfdfbc": "borrowBalanceCurrent(address)",
	"95dd9193": "borrowBalanceStored(address)",
	"aa5af0fd": "borrowIndex()",
	"f8f9da28": "borrowRatePerBlock()",
	"5fe3b567": "comptroller()",
	"313ce567": "decimals()",
	"bd6d894d": "exchangeRateCurrent()",
	"182df0f5": "exchangeRateStored()",
	"c37f68e2": "getAccountSnapshot(address)",
	"3b1d21a2": "getCash()",
	"675d972c": "initialExchangeRateMantissa()",
	"f3fdb15a": "interestRateModel()",
	"fe9c44ae": "isCToken()",
	"f5e3c462": "liquidateBorrow(address,uint256,address)",
	"a0712d68": "mint(uint256)",
	"06fdde03": "name()",
	"26782247": "pendingAdmin()",
	"db006a75": "redeem(uint256)",
	"852a12e3": "redeemUnderlying(uint256)",
	"0e752702": "repayBorrow(uint256)",
	"2608f818": "repayBorrowBehalf(address,uint256)",
	"173b9904": "reserveFactorMantissa()",
	"b2a02ff1": "seize(address,address,uint256)",
	"ae9d70b0": "supplyRatePerBlock()",
	"95d89b41": "symbol()",
	"47bd3718": "totalBorrows()",
	"73acee98": "totalBorrowsCurrent()",
	"8f840ddd": "totalReserves()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"6f307dc3": "underlying()",
}

CErc20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var CTokenFuncSigs = map[string]string{
	"e9c714f2": "_acceptAdmin()",
	"601a0bf1": "_reduceReserves(uint256)",
	"4576b5db": "_setComptroller(address)",
	"f2b3abbd": "_setInterestRateModel(address)",
	"b71d1a0c": "_setPendingAdmin(address)",
	"fca7820b": "_setReserveFactor(uint256)",
	"6c540baf": "accrualBlockNumber()",
	"a6afed95": "accrueInterest()",
	"f851a440": "admin()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"3af9e669": "balanceOfUnderlying(address)",
	"17bfdfbc": "borrowBalanceCurrent(address)",
	"95dd9193": "borrowBalanceStored(address)",
	"aa5af0fd": "borrowIndex()",
	"f8f9da28": "borrowRatePerBlock()",
	"5fe3b567": "comptroller()",
	"313ce567": "decimals()",
	"bd6d894d": "exchangeRateCurrent()",
	"182df0f5": "exchangeRateStored()",
	"c37f68e2": "getAccountSnapshot(address)",
	"3b1d21a2": "getCash()",
	"675d972c": "initialExchangeRateMantissa()",
	"f3fdb15a": "interestRateModel()",
	"fe9c44ae": "isCToken()",
	"06fdde03": "name()",
	"26782247": "pendingAdmin()",
	"173b9904": "reserveFactorMantissa()",
	"b2a02ff1": "seize(address,address,uint256)",
	"ae9d70b0": "supplyRatePerBlock()",
	"95d89b41": "symbol()",
	"47bd3718": "totalBorrows()",
	"73acee98": "totalBorrowsCurrent()",
	"8f840ddd": "totalReserves()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

CTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var CarefulMathBin = "" /* 184-byte string literal not displayed */

CarefulMathBin is the compiled bytecode used for deploying new contracts.

View Source
var ComptrollerErrorReporterBin = "" /* 184-byte string literal not displayed */

ComptrollerErrorReporterBin is the compiled bytecode used for deploying new contracts.

View Source
var ComptrollerInterfaceFuncSigs = map[string]string{
	"da3d454c": "borrowAllowed(address,address,uint256)",
	"5c778605": "borrowVerify(address,address,uint256)",
	"c2998238": "enterMarkets(address[])",
	"ede4edd0": "exitMarket(address)",
	"007e3dd2": "isComptroller()",
	"5fc7e71e": "liquidateBorrowAllowed(address,address,address,address,uint256)",
	"47ef3b3b": "liquidateBorrowVerify(address,address,address,address,uint256,uint256)",
	"c488847b": "liquidateCalculateSeizeTokens(address,address,uint256)",
	"4ef4c3e1": "mintAllowed(address,address,uint256)",
	"41c728b9": "mintVerify(address,address,uint256,uint256)",
	"eabe7d91": "redeemAllowed(address,address,uint256)",
	"51dff989": "redeemVerify(address,address,uint256,uint256)",
	"24008a62": "repayBorrowAllowed(address,address,address,uint256)",
	"1ededc91": "repayBorrowVerify(address,address,address,uint256,uint256)",
	"d02f7351": "seizeAllowed(address,address,address,address,uint256)",
	"6d35bf91": "seizeVerify(address,address,address,address,uint256)",
	"bdcdc258": "transferAllowed(address,address,address,uint256)",
	"6a56947e": "transferVerify(address,address,address,uint256)",
}

ComptrollerInterfaceFuncSigs maps the 4-byte function signature to its string representation.

View Source
var EIP20InterfaceFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

EIP20InterfaceFuncSigs maps the 4-byte function signature to its string representation.

View Source
var EIP20NonStandardInterfaceFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

EIP20NonStandardInterfaceFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ExponentialBin = "" /* 184-byte string literal not displayed */

ExponentialBin is the compiled bytecode used for deploying new contracts.

View Source
var InterestRateModelFuncSigs = map[string]string{
	"15f24053": "getBorrowRate(uint256,uint256,uint256)",
	"2191f92a": "isInterestRateModel()",
}

InterestRateModelFuncSigs maps the 4-byte function signature to its string representation.

View Source
var TokenErrorReporterBin = "" /* 184-byte string literal not displayed */

TokenErrorReporterBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type CErc20

type CErc20 struct {
	CErc20Caller     // Read-only binding to the contract
	CErc20Transactor // Write-only binding to the contract
	CErc20Filterer   // Log filterer for contract events
}

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

func DeployCErc20

func DeployCErc20(auth *bind.TransactOpts, backend bind.ContractBackend, underlying_ common.Address, comptroller_ common.Address, interestRateModel_ common.Address, initialExchangeRateMantissa_ *big.Int, name_ string, symbol_ string, decimals_ *big.Int) (common.Address, *types.Transaction, *CErc20, error)

DeployCErc20 deploys a new Ethereum contract, binding an instance of CErc20 to it.

func NewCErc20

func NewCErc20(address common.Address, backend bind.ContractBackend) (*CErc20, error)

NewCErc20 creates a new instance of CErc20, bound to a specific deployed contract.

type CErc20AccrueInterest

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

CErc20AccrueInterest represents a AccrueInterest event raised by the CErc20 contract.

type CErc20AccrueInterestIterator

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

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

func (*CErc20AccrueInterestIterator) Close

func (it *CErc20AccrueInterestIterator) Close() error

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

func (*CErc20AccrueInterestIterator) Error

func (it *CErc20AccrueInterestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20AccrueInterestIterator) 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 CErc20Approval

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

CErc20Approval represents a Approval event raised by the CErc20 contract.

type CErc20ApprovalIterator

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

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

func (*CErc20ApprovalIterator) Close

func (it *CErc20ApprovalIterator) Close() error

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

func (*CErc20ApprovalIterator) Error

func (it *CErc20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20ApprovalIterator) Next

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

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

CErc20Borrow represents a Borrow event raised by the CErc20 contract.

type CErc20BorrowIterator

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

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

func (*CErc20BorrowIterator) Close

func (it *CErc20BorrowIterator) Close() error

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

func (*CErc20BorrowIterator) Error

func (it *CErc20BorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20BorrowIterator) Next

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

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

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

func NewCErc20Caller

func NewCErc20Caller(address common.Address, caller bind.ContractCaller) (*CErc20Caller, error)

NewCErc20Caller creates a new read-only instance of CErc20, bound to a specific deployed contract.

func (*CErc20Caller) AccrualBlockNumber

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) Admin

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) Allowance

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) BalanceOf

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) BorrowBalanceStored

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) BorrowIndex

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) BorrowRatePerBlock

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) Comptroller

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) Decimals

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) ExchangeRateStored

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) GetAccountSnapshot

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) GetCash

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) InitialExchangeRateMantissa

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) InterestRateModel

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) IsCToken

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) Name

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) PendingAdmin

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) ReserveFactorMantissa

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) SupplyRatePerBlock

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) Symbol

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) TotalBorrows

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) TotalReserves

func (_CErc20 *CErc20Caller) 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 (*CErc20Caller) TotalSupply

func (_CErc20 *CErc20Caller) 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)

func (*CErc20Caller) Underlying

func (_CErc20 *CErc20Caller) Underlying(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function underlying() view returns(address)

type CErc20CallerRaw

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

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

func (*CErc20CallerRaw) Call

func (_CErc20 *CErc20CallerRaw) 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 CErc20CallerSession

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

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

func (*CErc20CallerSession) AccrualBlockNumber

func (_CErc20 *CErc20CallerSession) AccrualBlockNumber() (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CErc20CallerSession) Admin

func (_CErc20 *CErc20CallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CErc20CallerSession) Allowance

func (_CErc20 *CErc20CallerSession) 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 (*CErc20CallerSession) BalanceOf

func (_CErc20 *CErc20CallerSession) 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 (*CErc20CallerSession) BorrowBalanceStored

func (_CErc20 *CErc20CallerSession) 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 (*CErc20CallerSession) BorrowIndex

func (_CErc20 *CErc20CallerSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CErc20CallerSession) BorrowRatePerBlock

func (_CErc20 *CErc20CallerSession) BorrowRatePerBlock() (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CErc20CallerSession) Comptroller

func (_CErc20 *CErc20CallerSession) Comptroller() (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CErc20CallerSession) Decimals

func (_CErc20 *CErc20CallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CErc20CallerSession) ExchangeRateStored

func (_CErc20 *CErc20CallerSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CErc20CallerSession) GetAccountSnapshot

func (_CErc20 *CErc20CallerSession) 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 (*CErc20CallerSession) GetCash

func (_CErc20 *CErc20CallerSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CErc20CallerSession) InitialExchangeRateMantissa

func (_CErc20 *CErc20CallerSession) InitialExchangeRateMantissa() (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CErc20CallerSession) InterestRateModel

func (_CErc20 *CErc20CallerSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CErc20CallerSession) IsCToken

func (_CErc20 *CErc20CallerSession) IsCToken() (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CErc20CallerSession) Name

func (_CErc20 *CErc20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CErc20CallerSession) PendingAdmin

func (_CErc20 *CErc20CallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CErc20CallerSession) ReserveFactorMantissa

func (_CErc20 *CErc20CallerSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CErc20CallerSession) SupplyRatePerBlock

func (_CErc20 *CErc20CallerSession) SupplyRatePerBlock() (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CErc20CallerSession) Symbol

func (_CErc20 *CErc20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CErc20CallerSession) TotalBorrows

func (_CErc20 *CErc20CallerSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CErc20CallerSession) TotalReserves

func (_CErc20 *CErc20CallerSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CErc20CallerSession) TotalSupply

func (_CErc20 *CErc20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CErc20CallerSession) Underlying

func (_CErc20 *CErc20CallerSession) Underlying() (common.Address, error)

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

Solidity: function underlying() view returns(address)

type CErc20Failure

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

CErc20Failure represents a Failure event raised by the CErc20 contract.

type CErc20FailureIterator

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

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

func (*CErc20FailureIterator) Close

func (it *CErc20FailureIterator) Close() error

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

func (*CErc20FailureIterator) Error

func (it *CErc20FailureIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20FailureIterator) Next

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

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

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

func NewCErc20Filterer

func NewCErc20Filterer(address common.Address, filterer bind.ContractFilterer) (*CErc20Filterer, error)

NewCErc20Filterer creates a new log filterer instance of CErc20, bound to a specific deployed contract.

func (*CErc20Filterer) FilterAccrueInterest

func (_CErc20 *CErc20Filterer) FilterAccrueInterest(opts *bind.FilterOpts) (*CErc20AccrueInterestIterator, error)

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

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

func (*CErc20Filterer) FilterApproval

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

func (_CErc20 *CErc20Filterer) FilterBorrow(opts *bind.FilterOpts) (*CErc20BorrowIterator, 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 (*CErc20Filterer) FilterFailure

func (_CErc20 *CErc20Filterer) FilterFailure(opts *bind.FilterOpts) (*CErc20FailureIterator, error)

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

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

func (*CErc20Filterer) FilterLiquidateBorrow

func (_CErc20 *CErc20Filterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*CErc20LiquidateBorrowIterator, 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 (*CErc20Filterer) FilterMint

func (_CErc20 *CErc20Filterer) FilterMint(opts *bind.FilterOpts) (*CErc20MintIterator, error)

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

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

func (*CErc20Filterer) FilterNewAdmin

func (_CErc20 *CErc20Filterer) FilterNewAdmin(opts *bind.FilterOpts) (*CErc20NewAdminIterator, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CErc20Filterer) FilterNewComptroller

func (_CErc20 *CErc20Filterer) FilterNewComptroller(opts *bind.FilterOpts) (*CErc20NewComptrollerIterator, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CErc20Filterer) FilterNewMarketInterestRateModel

func (_CErc20 *CErc20Filterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*CErc20NewMarketInterestRateModelIterator, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CErc20Filterer) FilterNewPendingAdmin

func (_CErc20 *CErc20Filterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*CErc20NewPendingAdminIterator, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CErc20Filterer) FilterNewReserveFactor

func (_CErc20 *CErc20Filterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*CErc20NewReserveFactorIterator, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CErc20Filterer) FilterRedeem

func (_CErc20 *CErc20Filterer) FilterRedeem(opts *bind.FilterOpts) (*CErc20RedeemIterator, error)

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

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

func (*CErc20Filterer) FilterRepayBorrow

func (_CErc20 *CErc20Filterer) FilterRepayBorrow(opts *bind.FilterOpts) (*CErc20RepayBorrowIterator, 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 (*CErc20Filterer) FilterReservesReduced

func (_CErc20 *CErc20Filterer) FilterReservesReduced(opts *bind.FilterOpts) (*CErc20ReservesReducedIterator, error)

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

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

func (*CErc20Filterer) FilterTransfer

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

func (_CErc20 *CErc20Filterer) ParseAccrueInterest(log types.Log) (*CErc20AccrueInterest, error)

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

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

func (*CErc20Filterer) ParseApproval

func (_CErc20 *CErc20Filterer) ParseApproval(log types.Log) (*CErc20Approval, error)

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

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

func (*CErc20Filterer) ParseBorrow

func (_CErc20 *CErc20Filterer) ParseBorrow(log types.Log) (*CErc20Borrow, error)

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

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

func (*CErc20Filterer) ParseFailure

func (_CErc20 *CErc20Filterer) ParseFailure(log types.Log) (*CErc20Failure, error)

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

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

func (*CErc20Filterer) ParseLiquidateBorrow

func (_CErc20 *CErc20Filterer) ParseLiquidateBorrow(log types.Log) (*CErc20LiquidateBorrow, 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 (*CErc20Filterer) ParseMint

func (_CErc20 *CErc20Filterer) ParseMint(log types.Log) (*CErc20Mint, error)

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

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

func (*CErc20Filterer) ParseNewAdmin

func (_CErc20 *CErc20Filterer) ParseNewAdmin(log types.Log) (*CErc20NewAdmin, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CErc20Filterer) ParseNewComptroller

func (_CErc20 *CErc20Filterer) ParseNewComptroller(log types.Log) (*CErc20NewComptroller, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CErc20Filterer) ParseNewMarketInterestRateModel

func (_CErc20 *CErc20Filterer) ParseNewMarketInterestRateModel(log types.Log) (*CErc20NewMarketInterestRateModel, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CErc20Filterer) ParseNewPendingAdmin

func (_CErc20 *CErc20Filterer) ParseNewPendingAdmin(log types.Log) (*CErc20NewPendingAdmin, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CErc20Filterer) ParseNewReserveFactor

func (_CErc20 *CErc20Filterer) ParseNewReserveFactor(log types.Log) (*CErc20NewReserveFactor, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CErc20Filterer) ParseRedeem

func (_CErc20 *CErc20Filterer) ParseRedeem(log types.Log) (*CErc20Redeem, error)

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

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

func (*CErc20Filterer) ParseRepayBorrow

func (_CErc20 *CErc20Filterer) ParseRepayBorrow(log types.Log) (*CErc20RepayBorrow, 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 (*CErc20Filterer) ParseReservesReduced

func (_CErc20 *CErc20Filterer) ParseReservesReduced(log types.Log) (*CErc20ReservesReduced, error)

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

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

func (*CErc20Filterer) ParseTransfer

func (_CErc20 *CErc20Filterer) ParseTransfer(log types.Log) (*CErc20Transfer, error)

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

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

func (*CErc20Filterer) WatchAccrueInterest

func (_CErc20 *CErc20Filterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *CErc20AccrueInterest) (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 (*CErc20Filterer) WatchApproval

func (_CErc20 *CErc20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CErc20Approval, 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 (*CErc20Filterer) WatchBorrow

func (_CErc20 *CErc20Filterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *CErc20Borrow) (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 (*CErc20Filterer) WatchFailure

func (_CErc20 *CErc20Filterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *CErc20Failure) (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 (*CErc20Filterer) WatchLiquidateBorrow

func (_CErc20 *CErc20Filterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *CErc20LiquidateBorrow) (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 (*CErc20Filterer) WatchMint

func (_CErc20 *CErc20Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *CErc20Mint) (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 (*CErc20Filterer) WatchNewAdmin

func (_CErc20 *CErc20Filterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CErc20NewAdmin) (event.Subscription, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CErc20Filterer) WatchNewComptroller

func (_CErc20 *CErc20Filterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *CErc20NewComptroller) (event.Subscription, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CErc20Filterer) WatchNewMarketInterestRateModel

func (_CErc20 *CErc20Filterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *CErc20NewMarketInterestRateModel) (event.Subscription, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CErc20Filterer) WatchNewPendingAdmin

func (_CErc20 *CErc20Filterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *CErc20NewPendingAdmin) (event.Subscription, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CErc20Filterer) WatchNewReserveFactor

func (_CErc20 *CErc20Filterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *CErc20NewReserveFactor) (event.Subscription, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CErc20Filterer) WatchRedeem

func (_CErc20 *CErc20Filterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *CErc20Redeem) (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 (*CErc20Filterer) WatchRepayBorrow

func (_CErc20 *CErc20Filterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *CErc20RepayBorrow) (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 (*CErc20Filterer) WatchReservesReduced

func (_CErc20 *CErc20Filterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *CErc20ReservesReduced) (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 (*CErc20Filterer) WatchTransfer

func (_CErc20 *CErc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CErc20Transfer, 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 CErc20LiquidateBorrow

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

CErc20LiquidateBorrow represents a LiquidateBorrow event raised by the CErc20 contract.

type CErc20LiquidateBorrowIterator

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

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

func (*CErc20LiquidateBorrowIterator) Close

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

func (*CErc20LiquidateBorrowIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20LiquidateBorrowIterator) 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 CErc20Mint

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

CErc20Mint represents a Mint event raised by the CErc20 contract.

type CErc20MintIterator

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

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

func (*CErc20MintIterator) Close

func (it *CErc20MintIterator) Close() error

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

func (*CErc20MintIterator) Error

func (it *CErc20MintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20MintIterator) Next

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

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

CErc20NewAdmin represents a NewAdmin event raised by the CErc20 contract.

type CErc20NewAdminIterator

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

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

func (*CErc20NewAdminIterator) Close

func (it *CErc20NewAdminIterator) Close() error

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

func (*CErc20NewAdminIterator) Error

func (it *CErc20NewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20NewAdminIterator) Next

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

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

CErc20NewComptroller represents a NewComptroller event raised by the CErc20 contract.

type CErc20NewComptrollerIterator

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

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

func (*CErc20NewComptrollerIterator) Close

func (it *CErc20NewComptrollerIterator) Close() error

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

func (*CErc20NewComptrollerIterator) Error

func (it *CErc20NewComptrollerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20NewComptrollerIterator) 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 CErc20NewMarketInterestRateModel

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

CErc20NewMarketInterestRateModel represents a NewMarketInterestRateModel event raised by the CErc20 contract.

type CErc20NewMarketInterestRateModelIterator

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

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

func (*CErc20NewMarketInterestRateModelIterator) Close

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

func (*CErc20NewMarketInterestRateModelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20NewMarketInterestRateModelIterator) 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 CErc20NewPendingAdmin

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

CErc20NewPendingAdmin represents a NewPendingAdmin event raised by the CErc20 contract.

type CErc20NewPendingAdminIterator

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

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

func (*CErc20NewPendingAdminIterator) Close

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

func (*CErc20NewPendingAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20NewPendingAdminIterator) 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 CErc20NewReserveFactor

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

CErc20NewReserveFactor represents a NewReserveFactor event raised by the CErc20 contract.

type CErc20NewReserveFactorIterator

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

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

func (*CErc20NewReserveFactorIterator) Close

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

func (*CErc20NewReserveFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20NewReserveFactorIterator) 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 CErc20Raw

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

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

func (*CErc20Raw) Call

func (_CErc20 *CErc20Raw) 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 (*CErc20Raw) Transact

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

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

func (*CErc20Raw) Transfer

func (_CErc20 *CErc20Raw) 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 CErc20Redeem

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

CErc20Redeem represents a Redeem event raised by the CErc20 contract.

type CErc20RedeemIterator

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

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

func (*CErc20RedeemIterator) Close

func (it *CErc20RedeemIterator) Close() error

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

func (*CErc20RedeemIterator) Error

func (it *CErc20RedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20RedeemIterator) Next

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

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

CErc20RepayBorrow represents a RepayBorrow event raised by the CErc20 contract.

type CErc20RepayBorrowIterator

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

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

func (*CErc20RepayBorrowIterator) Close

func (it *CErc20RepayBorrowIterator) Close() error

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

func (*CErc20RepayBorrowIterator) Error

func (it *CErc20RepayBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20RepayBorrowIterator) Next

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

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

CErc20ReservesReduced represents a ReservesReduced event raised by the CErc20 contract.

type CErc20ReservesReducedIterator

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

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

func (*CErc20ReservesReducedIterator) Close

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

func (*CErc20ReservesReducedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20ReservesReducedIterator) 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 CErc20Session

type CErc20Session struct {
	Contract     *CErc20           // 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
}

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

func (*CErc20Session) AcceptAdmin

func (_CErc20 *CErc20Session) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CErc20Session) AccrualBlockNumber

func (_CErc20 *CErc20Session) AccrualBlockNumber() (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CErc20Session) AccrueInterest

func (_CErc20 *CErc20Session) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CErc20Session) Admin

func (_CErc20 *CErc20Session) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CErc20Session) Allowance

func (_CErc20 *CErc20Session) 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 (*CErc20Session) Approve

func (_CErc20 *CErc20Session) 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 (*CErc20Session) BalanceOf

func (_CErc20 *CErc20Session) 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 (*CErc20Session) BalanceOfUnderlying

func (_CErc20 *CErc20Session) 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 (*CErc20Session) Borrow

func (_CErc20 *CErc20Session) 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 (*CErc20Session) BorrowBalanceCurrent

func (_CErc20 *CErc20Session) 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 (*CErc20Session) BorrowBalanceStored

func (_CErc20 *CErc20Session) 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 (*CErc20Session) BorrowIndex

func (_CErc20 *CErc20Session) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CErc20Session) BorrowRatePerBlock

func (_CErc20 *CErc20Session) BorrowRatePerBlock() (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CErc20Session) Comptroller

func (_CErc20 *CErc20Session) Comptroller() (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CErc20Session) Decimals

func (_CErc20 *CErc20Session) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CErc20Session) ExchangeRateCurrent

func (_CErc20 *CErc20Session) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CErc20Session) ExchangeRateStored

func (_CErc20 *CErc20Session) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CErc20Session) GetAccountSnapshot

func (_CErc20 *CErc20Session) 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 (*CErc20Session) GetCash

func (_CErc20 *CErc20Session) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CErc20Session) InitialExchangeRateMantissa

func (_CErc20 *CErc20Session) InitialExchangeRateMantissa() (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CErc20Session) InterestRateModel

func (_CErc20 *CErc20Session) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CErc20Session) IsCToken

func (_CErc20 *CErc20Session) IsCToken() (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CErc20Session) LiquidateBorrow

func (_CErc20 *CErc20Session) 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 (*CErc20Session) Mint

func (_CErc20 *CErc20Session) 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 (*CErc20Session) Name

func (_CErc20 *CErc20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CErc20Session) PendingAdmin

func (_CErc20 *CErc20Session) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CErc20Session) Redeem

func (_CErc20 *CErc20Session) 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 (*CErc20Session) RedeemUnderlying

func (_CErc20 *CErc20Session) 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 (*CErc20Session) ReduceReserves

func (_CErc20 *CErc20Session) 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 (*CErc20Session) RepayBorrow

func (_CErc20 *CErc20Session) 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 (*CErc20Session) RepayBorrowBehalf

func (_CErc20 *CErc20Session) 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 (*CErc20Session) ReserveFactorMantissa

func (_CErc20 *CErc20Session) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CErc20Session) Seize

func (_CErc20 *CErc20Session) 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 (*CErc20Session) SetComptroller

func (_CErc20 *CErc20Session) 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 (*CErc20Session) SetInterestRateModel

func (_CErc20 *CErc20Session) 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 (*CErc20Session) SetPendingAdmin

func (_CErc20 *CErc20Session) 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 (*CErc20Session) SetReserveFactor

func (_CErc20 *CErc20Session) 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 (*CErc20Session) SupplyRatePerBlock

func (_CErc20 *CErc20Session) SupplyRatePerBlock() (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CErc20Session) Symbol

func (_CErc20 *CErc20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CErc20Session) TotalBorrows

func (_CErc20 *CErc20Session) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CErc20Session) TotalBorrowsCurrent

func (_CErc20 *CErc20Session) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CErc20Session) TotalReserves

func (_CErc20 *CErc20Session) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CErc20Session) TotalSupply

func (_CErc20 *CErc20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CErc20Session) Transfer

func (_CErc20 *CErc20Session) 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 (*CErc20Session) TransferFrom

func (_CErc20 *CErc20Session) 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 (*CErc20Session) Underlying

func (_CErc20 *CErc20Session) Underlying() (common.Address, error)

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

Solidity: function underlying() view returns(address)

type CErc20Transactor

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

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

func NewCErc20Transactor

func NewCErc20Transactor(address common.Address, transactor bind.ContractTransactor) (*CErc20Transactor, error)

NewCErc20Transactor creates a new write-only instance of CErc20, bound to a specific deployed contract.

func (*CErc20Transactor) AcceptAdmin

func (_CErc20 *CErc20Transactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CErc20Transactor) AccrueInterest

func (_CErc20 *CErc20Transactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CErc20Transactor) Approve

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) BalanceOfUnderlying

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) Borrow

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) BorrowBalanceCurrent

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) ExchangeRateCurrent

func (_CErc20 *CErc20Transactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CErc20Transactor) LiquidateBorrow

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) Mint

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) Redeem

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) RedeemUnderlying

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) ReduceReserves

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) RepayBorrow

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) RepayBorrowBehalf

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) Seize

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) SetComptroller

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) SetInterestRateModel

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) SetPendingAdmin

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) SetReserveFactor

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) TotalBorrowsCurrent

func (_CErc20 *CErc20Transactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CErc20Transactor) Transfer

func (_CErc20 *CErc20Transactor) 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 (*CErc20Transactor) TransferFrom

func (_CErc20 *CErc20Transactor) 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 CErc20TransactorRaw

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

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

func (*CErc20TransactorRaw) Transact

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

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

func (*CErc20TransactorRaw) Transfer

func (_CErc20 *CErc20TransactorRaw) 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 CErc20TransactorSession

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

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

func (*CErc20TransactorSession) AcceptAdmin

func (_CErc20 *CErc20TransactorSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CErc20TransactorSession) AccrueInterest

func (_CErc20 *CErc20TransactorSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CErc20TransactorSession) Approve

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) BalanceOfUnderlying

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) Borrow

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) BorrowBalanceCurrent

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) ExchangeRateCurrent

func (_CErc20 *CErc20TransactorSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CErc20TransactorSession) LiquidateBorrow

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) Mint

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) Redeem

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) RedeemUnderlying

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) ReduceReserves

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) RepayBorrow

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) RepayBorrowBehalf

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) Seize

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) SetComptroller

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) SetInterestRateModel

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) SetPendingAdmin

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) SetReserveFactor

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) TotalBorrowsCurrent

func (_CErc20 *CErc20TransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CErc20TransactorSession) Transfer

func (_CErc20 *CErc20TransactorSession) 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 (*CErc20TransactorSession) TransferFrom

func (_CErc20 *CErc20TransactorSession) 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 CErc20Transfer

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

CErc20Transfer represents a Transfer event raised by the CErc20 contract.

type CErc20TransferIterator

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

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

func (*CErc20TransferIterator) Close

func (it *CErc20TransferIterator) Close() error

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

func (*CErc20TransferIterator) Error

func (it *CErc20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CErc20TransferIterator) Next

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

type CToken struct {
	CTokenCaller     // Read-only binding to the contract
	CTokenTransactor // Write-only binding to the contract
	CTokenFilterer   // Log filterer for contract events
}

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

func NewCToken

func NewCToken(address common.Address, backend bind.ContractBackend) (*CToken, error)

NewCToken creates a new instance of CToken, bound to a specific deployed contract.

type CTokenAccrueInterest

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

CTokenAccrueInterest represents a AccrueInterest event raised by the CToken contract.

type CTokenAccrueInterestIterator

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

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

func (*CTokenAccrueInterestIterator) Close

func (it *CTokenAccrueInterestIterator) Close() error

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

func (*CTokenAccrueInterestIterator) Error

func (it *CTokenAccrueInterestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenAccrueInterestIterator) 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 CTokenApproval

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

CTokenApproval represents a Approval event raised by the CToken contract.

type CTokenApprovalIterator

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

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

func (*CTokenApprovalIterator) Close

func (it *CTokenApprovalIterator) Close() error

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

func (*CTokenApprovalIterator) Error

func (it *CTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenApprovalIterator) Next

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

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

CTokenBorrow represents a Borrow event raised by the CToken contract.

type CTokenBorrowIterator

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

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

func (*CTokenBorrowIterator) Close

func (it *CTokenBorrowIterator) Close() error

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

func (*CTokenBorrowIterator) Error

func (it *CTokenBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenBorrowIterator) Next

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

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

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

func NewCTokenCaller

func NewCTokenCaller(address common.Address, caller bind.ContractCaller) (*CTokenCaller, error)

NewCTokenCaller creates a new read-only instance of CToken, bound to a specific deployed contract.

func (*CTokenCaller) AccrualBlockNumber

func (_CToken *CTokenCaller) 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 (*CTokenCaller) Admin

func (_CToken *CTokenCaller) 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 (*CTokenCaller) Allowance

func (_CToken *CTokenCaller) 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 (*CTokenCaller) BalanceOf

func (_CToken *CTokenCaller) 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 (*CTokenCaller) BorrowBalanceStored

func (_CToken *CTokenCaller) 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 (*CTokenCaller) BorrowIndex

func (_CToken *CTokenCaller) 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 (*CTokenCaller) BorrowRatePerBlock

func (_CToken *CTokenCaller) 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 (*CTokenCaller) Comptroller

func (_CToken *CTokenCaller) 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 (*CTokenCaller) Decimals

func (_CToken *CTokenCaller) 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 (*CTokenCaller) ExchangeRateStored

func (_CToken *CTokenCaller) 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 (*CTokenCaller) GetAccountSnapshot

func (_CToken *CTokenCaller) 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 (*CTokenCaller) GetCash

func (_CToken *CTokenCaller) 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 (*CTokenCaller) InitialExchangeRateMantissa

func (_CToken *CTokenCaller) 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 (*CTokenCaller) InterestRateModel

func (_CToken *CTokenCaller) 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 (*CTokenCaller) IsCToken

func (_CToken *CTokenCaller) 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 (*CTokenCaller) Name

func (_CToken *CTokenCaller) 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 (*CTokenCaller) PendingAdmin

func (_CToken *CTokenCaller) 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 (*CTokenCaller) ReserveFactorMantissa

func (_CToken *CTokenCaller) 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 (*CTokenCaller) SupplyRatePerBlock

func (_CToken *CTokenCaller) 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 (*CTokenCaller) Symbol

func (_CToken *CTokenCaller) 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 (*CTokenCaller) TotalBorrows

func (_CToken *CTokenCaller) 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 (*CTokenCaller) TotalReserves

func (_CToken *CTokenCaller) 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 (*CTokenCaller) TotalSupply

func (_CToken *CTokenCaller) 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 CTokenCallerRaw

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

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

func (*CTokenCallerRaw) Call

func (_CToken *CTokenCallerRaw) 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 CTokenCallerSession

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

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

func (*CTokenCallerSession) AccrualBlockNumber

func (_CToken *CTokenCallerSession) AccrualBlockNumber() (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CTokenCallerSession) Admin

func (_CToken *CTokenCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CTokenCallerSession) Allowance

func (_CToken *CTokenCallerSession) 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 (*CTokenCallerSession) BalanceOf

func (_CToken *CTokenCallerSession) 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 (*CTokenCallerSession) BorrowBalanceStored

func (_CToken *CTokenCallerSession) 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 (*CTokenCallerSession) BorrowIndex

func (_CToken *CTokenCallerSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CTokenCallerSession) BorrowRatePerBlock

func (_CToken *CTokenCallerSession) BorrowRatePerBlock() (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CTokenCallerSession) Comptroller

func (_CToken *CTokenCallerSession) Comptroller() (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CTokenCallerSession) Decimals

func (_CToken *CTokenCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CTokenCallerSession) ExchangeRateStored

func (_CToken *CTokenCallerSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CTokenCallerSession) GetAccountSnapshot

func (_CToken *CTokenCallerSession) 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 (*CTokenCallerSession) GetCash

func (_CToken *CTokenCallerSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CTokenCallerSession) InitialExchangeRateMantissa

func (_CToken *CTokenCallerSession) InitialExchangeRateMantissa() (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CTokenCallerSession) InterestRateModel

func (_CToken *CTokenCallerSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CTokenCallerSession) IsCToken

func (_CToken *CTokenCallerSession) IsCToken() (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CTokenCallerSession) Name

func (_CToken *CTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CTokenCallerSession) PendingAdmin

func (_CToken *CTokenCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CTokenCallerSession) ReserveFactorMantissa

func (_CToken *CTokenCallerSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CTokenCallerSession) SupplyRatePerBlock

func (_CToken *CTokenCallerSession) SupplyRatePerBlock() (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CTokenCallerSession) Symbol

func (_CToken *CTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CTokenCallerSession) TotalBorrows

func (_CToken *CTokenCallerSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CTokenCallerSession) TotalReserves

func (_CToken *CTokenCallerSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CTokenCallerSession) TotalSupply

func (_CToken *CTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type CTokenFailure

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

CTokenFailure represents a Failure event raised by the CToken contract.

type CTokenFailureIterator

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

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

func (*CTokenFailureIterator) Close

func (it *CTokenFailureIterator) Close() error

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

func (*CTokenFailureIterator) Error

func (it *CTokenFailureIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenFailureIterator) Next

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

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

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

func NewCTokenFilterer

func NewCTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*CTokenFilterer, error)

NewCTokenFilterer creates a new log filterer instance of CToken, bound to a specific deployed contract.

func (*CTokenFilterer) FilterAccrueInterest

func (_CToken *CTokenFilterer) FilterAccrueInterest(opts *bind.FilterOpts) (*CTokenAccrueInterestIterator, error)

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

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

func (*CTokenFilterer) FilterApproval

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

func (_CToken *CTokenFilterer) FilterBorrow(opts *bind.FilterOpts) (*CTokenBorrowIterator, 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 (*CTokenFilterer) FilterFailure

func (_CToken *CTokenFilterer) FilterFailure(opts *bind.FilterOpts) (*CTokenFailureIterator, error)

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

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

func (*CTokenFilterer) FilterLiquidateBorrow

func (_CToken *CTokenFilterer) FilterLiquidateBorrow(opts *bind.FilterOpts) (*CTokenLiquidateBorrowIterator, 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 (*CTokenFilterer) FilterMint

func (_CToken *CTokenFilterer) FilterMint(opts *bind.FilterOpts) (*CTokenMintIterator, error)

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

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

func (*CTokenFilterer) FilterNewAdmin

func (_CToken *CTokenFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*CTokenNewAdminIterator, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CTokenFilterer) FilterNewComptroller

func (_CToken *CTokenFilterer) FilterNewComptroller(opts *bind.FilterOpts) (*CTokenNewComptrollerIterator, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CTokenFilterer) FilterNewMarketInterestRateModel

func (_CToken *CTokenFilterer) FilterNewMarketInterestRateModel(opts *bind.FilterOpts) (*CTokenNewMarketInterestRateModelIterator, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CTokenFilterer) FilterNewPendingAdmin

func (_CToken *CTokenFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts) (*CTokenNewPendingAdminIterator, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CTokenFilterer) FilterNewReserveFactor

func (_CToken *CTokenFilterer) FilterNewReserveFactor(opts *bind.FilterOpts) (*CTokenNewReserveFactorIterator, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CTokenFilterer) FilterRedeem

func (_CToken *CTokenFilterer) FilterRedeem(opts *bind.FilterOpts) (*CTokenRedeemIterator, error)

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

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

func (*CTokenFilterer) FilterRepayBorrow

func (_CToken *CTokenFilterer) FilterRepayBorrow(opts *bind.FilterOpts) (*CTokenRepayBorrowIterator, 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 (*CTokenFilterer) FilterReservesReduced

func (_CToken *CTokenFilterer) FilterReservesReduced(opts *bind.FilterOpts) (*CTokenReservesReducedIterator, error)

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

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

func (*CTokenFilterer) FilterTransfer

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

func (_CToken *CTokenFilterer) ParseAccrueInterest(log types.Log) (*CTokenAccrueInterest, error)

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

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

func (*CTokenFilterer) ParseApproval

func (_CToken *CTokenFilterer) ParseApproval(log types.Log) (*CTokenApproval, error)

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

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

func (*CTokenFilterer) ParseBorrow

func (_CToken *CTokenFilterer) ParseBorrow(log types.Log) (*CTokenBorrow, error)

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

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

func (*CTokenFilterer) ParseFailure

func (_CToken *CTokenFilterer) ParseFailure(log types.Log) (*CTokenFailure, error)

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

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

func (*CTokenFilterer) ParseLiquidateBorrow

func (_CToken *CTokenFilterer) ParseLiquidateBorrow(log types.Log) (*CTokenLiquidateBorrow, 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 (*CTokenFilterer) ParseMint

func (_CToken *CTokenFilterer) ParseMint(log types.Log) (*CTokenMint, error)

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

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

func (*CTokenFilterer) ParseNewAdmin

func (_CToken *CTokenFilterer) ParseNewAdmin(log types.Log) (*CTokenNewAdmin, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CTokenFilterer) ParseNewComptroller

func (_CToken *CTokenFilterer) ParseNewComptroller(log types.Log) (*CTokenNewComptroller, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CTokenFilterer) ParseNewMarketInterestRateModel

func (_CToken *CTokenFilterer) ParseNewMarketInterestRateModel(log types.Log) (*CTokenNewMarketInterestRateModel, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CTokenFilterer) ParseNewPendingAdmin

func (_CToken *CTokenFilterer) ParseNewPendingAdmin(log types.Log) (*CTokenNewPendingAdmin, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CTokenFilterer) ParseNewReserveFactor

func (_CToken *CTokenFilterer) ParseNewReserveFactor(log types.Log) (*CTokenNewReserveFactor, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CTokenFilterer) ParseRedeem

func (_CToken *CTokenFilterer) ParseRedeem(log types.Log) (*CTokenRedeem, error)

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

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

func (*CTokenFilterer) ParseRepayBorrow

func (_CToken *CTokenFilterer) ParseRepayBorrow(log types.Log) (*CTokenRepayBorrow, 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 (*CTokenFilterer) ParseReservesReduced

func (_CToken *CTokenFilterer) ParseReservesReduced(log types.Log) (*CTokenReservesReduced, error)

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

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

func (*CTokenFilterer) ParseTransfer

func (_CToken *CTokenFilterer) ParseTransfer(log types.Log) (*CTokenTransfer, error)

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

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

func (*CTokenFilterer) WatchAccrueInterest

func (_CToken *CTokenFilterer) WatchAccrueInterest(opts *bind.WatchOpts, sink chan<- *CTokenAccrueInterest) (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 (*CTokenFilterer) WatchApproval

func (_CToken *CTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CTokenApproval, 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 (*CTokenFilterer) WatchBorrow

func (_CToken *CTokenFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *CTokenBorrow) (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 (*CTokenFilterer) WatchFailure

func (_CToken *CTokenFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *CTokenFailure) (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 (*CTokenFilterer) WatchLiquidateBorrow

func (_CToken *CTokenFilterer) WatchLiquidateBorrow(opts *bind.WatchOpts, sink chan<- *CTokenLiquidateBorrow) (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 (*CTokenFilterer) WatchMint

func (_CToken *CTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *CTokenMint) (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 (*CTokenFilterer) WatchNewAdmin

func (_CToken *CTokenFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CTokenNewAdmin) (event.Subscription, error)

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

Solidity: event NewAdmin(address oldAdmin, address newAdmin)

func (*CTokenFilterer) WatchNewComptroller

func (_CToken *CTokenFilterer) WatchNewComptroller(opts *bind.WatchOpts, sink chan<- *CTokenNewComptroller) (event.Subscription, error)

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

Solidity: event NewComptroller(address oldComptroller, address newComptroller)

func (*CTokenFilterer) WatchNewMarketInterestRateModel

func (_CToken *CTokenFilterer) WatchNewMarketInterestRateModel(opts *bind.WatchOpts, sink chan<- *CTokenNewMarketInterestRateModel) (event.Subscription, error)

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

Solidity: event NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)

func (*CTokenFilterer) WatchNewPendingAdmin

func (_CToken *CTokenFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *CTokenNewPendingAdmin) (event.Subscription, error)

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

Solidity: event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)

func (*CTokenFilterer) WatchNewReserveFactor

func (_CToken *CTokenFilterer) WatchNewReserveFactor(opts *bind.WatchOpts, sink chan<- *CTokenNewReserveFactor) (event.Subscription, error)

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

Solidity: event NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)

func (*CTokenFilterer) WatchRedeem

func (_CToken *CTokenFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *CTokenRedeem) (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 (*CTokenFilterer) WatchRepayBorrow

func (_CToken *CTokenFilterer) WatchRepayBorrow(opts *bind.WatchOpts, sink chan<- *CTokenRepayBorrow) (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 (*CTokenFilterer) WatchReservesReduced

func (_CToken *CTokenFilterer) WatchReservesReduced(opts *bind.WatchOpts, sink chan<- *CTokenReservesReduced) (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 (*CTokenFilterer) WatchTransfer

func (_CToken *CTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CTokenTransfer, 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 CTokenLiquidateBorrow

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

CTokenLiquidateBorrow represents a LiquidateBorrow event raised by the CToken contract.

type CTokenLiquidateBorrowIterator

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

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

func (*CTokenLiquidateBorrowIterator) Close

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

func (*CTokenLiquidateBorrowIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenLiquidateBorrowIterator) 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 CTokenMint

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

CTokenMint represents a Mint event raised by the CToken contract.

type CTokenMintIterator

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

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

func (*CTokenMintIterator) Close

func (it *CTokenMintIterator) Close() error

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

func (*CTokenMintIterator) Error

func (it *CTokenMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenMintIterator) Next

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

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

CTokenNewAdmin represents a NewAdmin event raised by the CToken contract.

type CTokenNewAdminIterator

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

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

func (*CTokenNewAdminIterator) Close

func (it *CTokenNewAdminIterator) Close() error

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

func (*CTokenNewAdminIterator) Error

func (it *CTokenNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenNewAdminIterator) Next

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

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

CTokenNewComptroller represents a NewComptroller event raised by the CToken contract.

type CTokenNewComptrollerIterator

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

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

func (*CTokenNewComptrollerIterator) Close

func (it *CTokenNewComptrollerIterator) Close() error

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

func (*CTokenNewComptrollerIterator) Error

func (it *CTokenNewComptrollerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenNewComptrollerIterator) 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 CTokenNewMarketInterestRateModel

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

CTokenNewMarketInterestRateModel represents a NewMarketInterestRateModel event raised by the CToken contract.

type CTokenNewMarketInterestRateModelIterator

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

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

func (*CTokenNewMarketInterestRateModelIterator) Close

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

func (*CTokenNewMarketInterestRateModelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenNewMarketInterestRateModelIterator) 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 CTokenNewPendingAdmin

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

CTokenNewPendingAdmin represents a NewPendingAdmin event raised by the CToken contract.

type CTokenNewPendingAdminIterator

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

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

func (*CTokenNewPendingAdminIterator) Close

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

func (*CTokenNewPendingAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenNewPendingAdminIterator) 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 CTokenNewReserveFactor

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

CTokenNewReserveFactor represents a NewReserveFactor event raised by the CToken contract.

type CTokenNewReserveFactorIterator

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

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

func (*CTokenNewReserveFactorIterator) Close

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

func (*CTokenNewReserveFactorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenNewReserveFactorIterator) 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 CTokenRaw

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

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

func (*CTokenRaw) Call

func (_CToken *CTokenRaw) 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 (*CTokenRaw) Transact

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

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

func (*CTokenRaw) Transfer

func (_CToken *CTokenRaw) 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 CTokenRedeem

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

CTokenRedeem represents a Redeem event raised by the CToken contract.

type CTokenRedeemIterator

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

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

func (*CTokenRedeemIterator) Close

func (it *CTokenRedeemIterator) Close() error

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

func (*CTokenRedeemIterator) Error

func (it *CTokenRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenRedeemIterator) Next

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

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

CTokenRepayBorrow represents a RepayBorrow event raised by the CToken contract.

type CTokenRepayBorrowIterator

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

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

func (*CTokenRepayBorrowIterator) Close

func (it *CTokenRepayBorrowIterator) Close() error

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

func (*CTokenRepayBorrowIterator) Error

func (it *CTokenRepayBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenRepayBorrowIterator) Next

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

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

CTokenReservesReduced represents a ReservesReduced event raised by the CToken contract.

type CTokenReservesReducedIterator

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

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

func (*CTokenReservesReducedIterator) Close

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

func (*CTokenReservesReducedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenReservesReducedIterator) 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 CTokenSession

type CTokenSession struct {
	Contract     *CToken           // 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
}

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

func (*CTokenSession) AcceptAdmin

func (_CToken *CTokenSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CTokenSession) AccrualBlockNumber

func (_CToken *CTokenSession) AccrualBlockNumber() (*big.Int, error)

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

Solidity: function accrualBlockNumber() view returns(uint256)

func (*CTokenSession) AccrueInterest

func (_CToken *CTokenSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CTokenSession) Admin

func (_CToken *CTokenSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CTokenSession) Allowance

func (_CToken *CTokenSession) 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 (*CTokenSession) Approve

func (_CToken *CTokenSession) 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 (*CTokenSession) BalanceOf

func (_CToken *CTokenSession) 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 (*CTokenSession) BalanceOfUnderlying

func (_CToken *CTokenSession) 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 (*CTokenSession) BorrowBalanceCurrent

func (_CToken *CTokenSession) 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 (*CTokenSession) BorrowBalanceStored

func (_CToken *CTokenSession) 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 (*CTokenSession) BorrowIndex

func (_CToken *CTokenSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*CTokenSession) BorrowRatePerBlock

func (_CToken *CTokenSession) BorrowRatePerBlock() (*big.Int, error)

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

Solidity: function borrowRatePerBlock() view returns(uint256)

func (*CTokenSession) Comptroller

func (_CToken *CTokenSession) Comptroller() (common.Address, error)

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

Solidity: function comptroller() view returns(address)

func (*CTokenSession) Decimals

func (_CToken *CTokenSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*CTokenSession) ExchangeRateCurrent

func (_CToken *CTokenSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CTokenSession) ExchangeRateStored

func (_CToken *CTokenSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*CTokenSession) GetAccountSnapshot

func (_CToken *CTokenSession) 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 (*CTokenSession) GetCash

func (_CToken *CTokenSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*CTokenSession) InitialExchangeRateMantissa

func (_CToken *CTokenSession) InitialExchangeRateMantissa() (*big.Int, error)

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

Solidity: function initialExchangeRateMantissa() view returns(uint256)

func (*CTokenSession) InterestRateModel

func (_CToken *CTokenSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*CTokenSession) IsCToken

func (_CToken *CTokenSession) IsCToken() (bool, error)

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

Solidity: function isCToken() view returns(bool)

func (*CTokenSession) Name

func (_CToken *CTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CTokenSession) PendingAdmin

func (_CToken *CTokenSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*CTokenSession) ReduceReserves

func (_CToken *CTokenSession) 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 (*CTokenSession) ReserveFactorMantissa

func (_CToken *CTokenSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*CTokenSession) Seize

func (_CToken *CTokenSession) 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 (*CTokenSession) SetComptroller

func (_CToken *CTokenSession) 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 (*CTokenSession) SetInterestRateModel

func (_CToken *CTokenSession) 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 (*CTokenSession) SetPendingAdmin

func (_CToken *CTokenSession) 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 (*CTokenSession) SetReserveFactor

func (_CToken *CTokenSession) 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 (*CTokenSession) SupplyRatePerBlock

func (_CToken *CTokenSession) SupplyRatePerBlock() (*big.Int, error)

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

Solidity: function supplyRatePerBlock() view returns(uint256)

func (*CTokenSession) Symbol

func (_CToken *CTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CTokenSession) TotalBorrows

func (_CToken *CTokenSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*CTokenSession) TotalBorrowsCurrent

func (_CToken *CTokenSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CTokenSession) TotalReserves

func (_CToken *CTokenSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*CTokenSession) TotalSupply

func (_CToken *CTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CTokenSession) Transfer

func (_CToken *CTokenSession) 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 (*CTokenSession) TransferFrom

func (_CToken *CTokenSession) 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 CTokenTransactor

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

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

func NewCTokenTransactor

func NewCTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*CTokenTransactor, error)

NewCTokenTransactor creates a new write-only instance of CToken, bound to a specific deployed contract.

func (*CTokenTransactor) AcceptAdmin

func (_CToken *CTokenTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CTokenTransactor) AccrueInterest

func (_CToken *CTokenTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CTokenTransactor) Approve

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) BalanceOfUnderlying

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) BorrowBalanceCurrent

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) ExchangeRateCurrent

func (_CToken *CTokenTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CTokenTransactor) ReduceReserves

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) Seize

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) SetComptroller

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) SetInterestRateModel

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) SetPendingAdmin

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) SetReserveFactor

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) TotalBorrowsCurrent

func (_CToken *CTokenTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CTokenTransactor) Transfer

func (_CToken *CTokenTransactor) 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 (*CTokenTransactor) TransferFrom

func (_CToken *CTokenTransactor) 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 CTokenTransactorRaw

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

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

func (*CTokenTransactorRaw) Transact

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

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

func (*CTokenTransactorRaw) Transfer

func (_CToken *CTokenTransactorRaw) 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 CTokenTransactorSession

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

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

func (*CTokenTransactorSession) AcceptAdmin

func (_CToken *CTokenTransactorSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*CTokenTransactorSession) AccrueInterest

func (_CToken *CTokenTransactorSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*CTokenTransactorSession) Approve

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) BalanceOfUnderlying

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) BorrowBalanceCurrent

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) ExchangeRateCurrent

func (_CToken *CTokenTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*CTokenTransactorSession) ReduceReserves

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) Seize

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) SetComptroller

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) SetInterestRateModel

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) SetPendingAdmin

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) SetReserveFactor

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) TotalBorrowsCurrent

func (_CToken *CTokenTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*CTokenTransactorSession) Transfer

func (_CToken *CTokenTransactorSession) 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 (*CTokenTransactorSession) TransferFrom

func (_CToken *CTokenTransactorSession) 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 CTokenTransfer

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

CTokenTransfer represents a Transfer event raised by the CToken contract.

type CTokenTransferIterator

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

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

func (*CTokenTransferIterator) Close

func (it *CTokenTransferIterator) Close() error

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

func (*CTokenTransferIterator) Error

func (it *CTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CTokenTransferIterator) Next

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

type CarefulMath struct {
	CarefulMathCaller     // Read-only binding to the contract
	CarefulMathTransactor // Write-only binding to the contract
	CarefulMathFilterer   // Log filterer for contract events
}

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

func DeployCarefulMath

func DeployCarefulMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CarefulMath, error)

DeployCarefulMath deploys a new Ethereum contract, binding an instance of CarefulMath to it.

func NewCarefulMath

func NewCarefulMath(address common.Address, backend bind.ContractBackend) (*CarefulMath, error)

NewCarefulMath creates a new instance of CarefulMath, bound to a specific deployed contract.

type CarefulMathCaller

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

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

func NewCarefulMathCaller

func NewCarefulMathCaller(address common.Address, caller bind.ContractCaller) (*CarefulMathCaller, error)

NewCarefulMathCaller creates a new read-only instance of CarefulMath, bound to a specific deployed contract.

type CarefulMathCallerRaw

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

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

func (*CarefulMathCallerRaw) Call

func (_CarefulMath *CarefulMathCallerRaw) 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 CarefulMathCallerSession

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

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

type CarefulMathFilterer

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

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

func NewCarefulMathFilterer

func NewCarefulMathFilterer(address common.Address, filterer bind.ContractFilterer) (*CarefulMathFilterer, error)

NewCarefulMathFilterer creates a new log filterer instance of CarefulMath, bound to a specific deployed contract.

type CarefulMathRaw

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

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

func (*CarefulMathRaw) Call

func (_CarefulMath *CarefulMathRaw) 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 (*CarefulMathRaw) Transact

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

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

func (*CarefulMathRaw) Transfer

func (_CarefulMath *CarefulMathRaw) 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 CarefulMathSession

type CarefulMathSession struct {
	Contract     *CarefulMath      // 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
}

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

type CarefulMathTransactor

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

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

func NewCarefulMathTransactor

func NewCarefulMathTransactor(address common.Address, transactor bind.ContractTransactor) (*CarefulMathTransactor, error)

NewCarefulMathTransactor creates a new write-only instance of CarefulMath, bound to a specific deployed contract.

type CarefulMathTransactorRaw

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

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

func (*CarefulMathTransactorRaw) Transact

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

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

func (*CarefulMathTransactorRaw) Transfer

func (_CarefulMath *CarefulMathTransactorRaw) 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 CarefulMathTransactorSession

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

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

type ComptrollerErrorReporter

type ComptrollerErrorReporter struct {
	ComptrollerErrorReporterCaller     // Read-only binding to the contract
	ComptrollerErrorReporterTransactor // Write-only binding to the contract
	ComptrollerErrorReporterFilterer   // Log filterer for contract events
}

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

func DeployComptrollerErrorReporter

func DeployComptrollerErrorReporter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ComptrollerErrorReporter, error)

DeployComptrollerErrorReporter deploys a new Ethereum contract, binding an instance of ComptrollerErrorReporter to it.

func NewComptrollerErrorReporter

func NewComptrollerErrorReporter(address common.Address, backend bind.ContractBackend) (*ComptrollerErrorReporter, error)

NewComptrollerErrorReporter creates a new instance of ComptrollerErrorReporter, bound to a specific deployed contract.

type ComptrollerErrorReporterCaller

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

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

func NewComptrollerErrorReporterCaller

func NewComptrollerErrorReporterCaller(address common.Address, caller bind.ContractCaller) (*ComptrollerErrorReporterCaller, error)

NewComptrollerErrorReporterCaller creates a new read-only instance of ComptrollerErrorReporter, bound to a specific deployed contract.

type ComptrollerErrorReporterCallerRaw

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

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

func (*ComptrollerErrorReporterCallerRaw) Call

func (_ComptrollerErrorReporter *ComptrollerErrorReporterCallerRaw) 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 ComptrollerErrorReporterCallerSession

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

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

type ComptrollerErrorReporterFailure

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

ComptrollerErrorReporterFailure represents a Failure event raised by the ComptrollerErrorReporter contract.

type ComptrollerErrorReporterFailureIterator

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

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

func (*ComptrollerErrorReporterFailureIterator) Close

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

func (*ComptrollerErrorReporterFailureIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ComptrollerErrorReporterFailureIterator) 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 ComptrollerErrorReporterFilterer

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

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

func NewComptrollerErrorReporterFilterer

func NewComptrollerErrorReporterFilterer(address common.Address, filterer bind.ContractFilterer) (*ComptrollerErrorReporterFilterer, error)

NewComptrollerErrorReporterFilterer creates a new log filterer instance of ComptrollerErrorReporter, bound to a specific deployed contract.

func (*ComptrollerErrorReporterFilterer) FilterFailure

func (_ComptrollerErrorReporter *ComptrollerErrorReporterFilterer) FilterFailure(opts *bind.FilterOpts) (*ComptrollerErrorReporterFailureIterator, error)

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

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

func (*ComptrollerErrorReporterFilterer) ParseFailure

func (_ComptrollerErrorReporter *ComptrollerErrorReporterFilterer) ParseFailure(log types.Log) (*ComptrollerErrorReporterFailure, error)

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

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

func (*ComptrollerErrorReporterFilterer) WatchFailure

func (_ComptrollerErrorReporter *ComptrollerErrorReporterFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *ComptrollerErrorReporterFailure) (event.Subscription, error)

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

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

type ComptrollerErrorReporterRaw

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

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

func (*ComptrollerErrorReporterRaw) Call

func (_ComptrollerErrorReporter *ComptrollerErrorReporterRaw) 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 (*ComptrollerErrorReporterRaw) Transact

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

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

func (*ComptrollerErrorReporterRaw) Transfer

func (_ComptrollerErrorReporter *ComptrollerErrorReporterRaw) 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 ComptrollerErrorReporterSession

type ComptrollerErrorReporterSession struct {
	Contract     *ComptrollerErrorReporter // 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
}

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

type ComptrollerErrorReporterTransactor

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

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

func NewComptrollerErrorReporterTransactor

func NewComptrollerErrorReporterTransactor(address common.Address, transactor bind.ContractTransactor) (*ComptrollerErrorReporterTransactor, error)

NewComptrollerErrorReporterTransactor creates a new write-only instance of ComptrollerErrorReporter, bound to a specific deployed contract.

type ComptrollerErrorReporterTransactorRaw

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

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

func (*ComptrollerErrorReporterTransactorRaw) Transact

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

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

func (*ComptrollerErrorReporterTransactorRaw) Transfer

func (_ComptrollerErrorReporter *ComptrollerErrorReporterTransactorRaw) 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 ComptrollerErrorReporterTransactorSession

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

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

type ComptrollerInterface

type ComptrollerInterface struct {
	ComptrollerInterfaceCaller     // Read-only binding to the contract
	ComptrollerInterfaceTransactor // Write-only binding to the contract
	ComptrollerInterfaceFilterer   // Log filterer for contract events
}

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

func NewComptrollerInterface

func NewComptrollerInterface(address common.Address, backend bind.ContractBackend) (*ComptrollerInterface, error)

NewComptrollerInterface creates a new instance of ComptrollerInterface, bound to a specific deployed contract.

type ComptrollerInterfaceCaller

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

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

func NewComptrollerInterfaceCaller

func NewComptrollerInterfaceCaller(address common.Address, caller bind.ContractCaller) (*ComptrollerInterfaceCaller, error)

NewComptrollerInterfaceCaller creates a new read-only instance of ComptrollerInterface, bound to a specific deployed contract.

func (*ComptrollerInterfaceCaller) IsComptroller

func (_ComptrollerInterface *ComptrollerInterfaceCaller) IsComptroller(opts *bind.CallOpts) (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*ComptrollerInterfaceCaller) LiquidateCalculateSeizeTokens

func (_ComptrollerInterface *ComptrollerInterfaceCaller) LiquidateCalculateSeizeTokens(opts *bind.CallOpts, cTokenBorrowed common.Address, cTokenCollateral common.Address, repayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address cTokenBorrowed, address cTokenCollateral, uint256 repayAmount) view returns(uint256, uint256)

type ComptrollerInterfaceCallerRaw

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

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

func (*ComptrollerInterfaceCallerRaw) Call

func (_ComptrollerInterface *ComptrollerInterfaceCallerRaw) 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 ComptrollerInterfaceCallerSession

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

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

func (*ComptrollerInterfaceCallerSession) IsComptroller

func (_ComptrollerInterface *ComptrollerInterfaceCallerSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*ComptrollerInterfaceCallerSession) LiquidateCalculateSeizeTokens

func (_ComptrollerInterface *ComptrollerInterfaceCallerSession) LiquidateCalculateSeizeTokens(cTokenBorrowed common.Address, cTokenCollateral common.Address, repayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address cTokenBorrowed, address cTokenCollateral, uint256 repayAmount) view returns(uint256, uint256)

type ComptrollerInterfaceFilterer

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

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

func NewComptrollerInterfaceFilterer

func NewComptrollerInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*ComptrollerInterfaceFilterer, error)

NewComptrollerInterfaceFilterer creates a new log filterer instance of ComptrollerInterface, bound to a specific deployed contract.

type ComptrollerInterfaceRaw

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

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

func (*ComptrollerInterfaceRaw) Call

func (_ComptrollerInterface *ComptrollerInterfaceRaw) 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 (*ComptrollerInterfaceRaw) Transact

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

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

func (*ComptrollerInterfaceRaw) Transfer

func (_ComptrollerInterface *ComptrollerInterfaceRaw) 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 ComptrollerInterfaceSession

type ComptrollerInterfaceSession struct {
	Contract     *ComptrollerInterface // 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
}

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

func (*ComptrollerInterfaceSession) BorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) BorrowAllowed(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address cToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*ComptrollerInterfaceSession) BorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) BorrowVerify(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address cToken, address borrower, uint256 borrowAmount) returns()

func (*ComptrollerInterfaceSession) EnterMarkets

func (_ComptrollerInterface *ComptrollerInterfaceSession) EnterMarkets(cTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] cTokens) returns(uint256[])

func (*ComptrollerInterfaceSession) ExitMarket

func (_ComptrollerInterface *ComptrollerInterfaceSession) ExitMarket(cToken common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address cToken) returns(uint256)

func (*ComptrollerInterfaceSession) IsComptroller

func (_ComptrollerInterface *ComptrollerInterfaceSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*ComptrollerInterfaceSession) LiquidateBorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) LiquidateBorrowAllowed(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*ComptrollerInterfaceSession) LiquidateBorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) LiquidateBorrowVerify(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*ComptrollerInterfaceSession) LiquidateCalculateSeizeTokens

func (_ComptrollerInterface *ComptrollerInterfaceSession) LiquidateCalculateSeizeTokens(cTokenBorrowed common.Address, cTokenCollateral common.Address, repayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address cTokenBorrowed, address cTokenCollateral, uint256 repayAmount) view returns(uint256, uint256)

func (*ComptrollerInterfaceSession) MintAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) MintAllowed(cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address cToken, address minter, uint256 mintAmount) returns(uint256)

func (*ComptrollerInterfaceSession) MintVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) MintVerify(cToken common.Address, minter common.Address, mintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address cToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*ComptrollerInterfaceSession) RedeemAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) RedeemAllowed(cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address cToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*ComptrollerInterfaceSession) RedeemVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) RedeemVerify(cToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*ComptrollerInterfaceSession) RepayBorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) RepayBorrowAllowed(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address cToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*ComptrollerInterfaceSession) RepayBorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) RepayBorrowVerify(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address cToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*ComptrollerInterfaceSession) SeizeAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) SeizeAllowed(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*ComptrollerInterfaceSession) SeizeVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) SeizeVerify(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*ComptrollerInterfaceSession) TransferAllowed

func (_ComptrollerInterface *ComptrollerInterfaceSession) TransferAllowed(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address cToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*ComptrollerInterfaceSession) TransferVerify

func (_ComptrollerInterface *ComptrollerInterfaceSession) TransferVerify(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address cToken, address src, address dst, uint256 transferTokens) returns()

type ComptrollerInterfaceTransactor

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

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

func NewComptrollerInterfaceTransactor

func NewComptrollerInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*ComptrollerInterfaceTransactor, error)

NewComptrollerInterfaceTransactor creates a new write-only instance of ComptrollerInterface, bound to a specific deployed contract.

func (*ComptrollerInterfaceTransactor) BorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) BorrowAllowed(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address cToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*ComptrollerInterfaceTransactor) BorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) BorrowVerify(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address cToken, address borrower, uint256 borrowAmount) returns()

func (*ComptrollerInterfaceTransactor) EnterMarkets

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) EnterMarkets(opts *bind.TransactOpts, cTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] cTokens) returns(uint256[])

func (*ComptrollerInterfaceTransactor) ExitMarket

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) ExitMarket(opts *bind.TransactOpts, cToken common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address cToken) returns(uint256)

func (*ComptrollerInterfaceTransactor) LiquidateBorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) LiquidateBorrowAllowed(opts *bind.TransactOpts, cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*ComptrollerInterfaceTransactor) LiquidateBorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) LiquidateBorrowVerify(opts *bind.TransactOpts, cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*ComptrollerInterfaceTransactor) MintAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) MintAllowed(opts *bind.TransactOpts, cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address cToken, address minter, uint256 mintAmount) returns(uint256)

func (*ComptrollerInterfaceTransactor) MintVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) MintVerify(opts *bind.TransactOpts, cToken common.Address, minter common.Address, mintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address cToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*ComptrollerInterfaceTransactor) RedeemAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) RedeemAllowed(opts *bind.TransactOpts, cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address cToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*ComptrollerInterfaceTransactor) RedeemVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) RedeemVerify(opts *bind.TransactOpts, cToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*ComptrollerInterfaceTransactor) RepayBorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) RepayBorrowAllowed(opts *bind.TransactOpts, cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address cToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*ComptrollerInterfaceTransactor) RepayBorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) RepayBorrowVerify(opts *bind.TransactOpts, cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address cToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*ComptrollerInterfaceTransactor) SeizeAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) SeizeAllowed(opts *bind.TransactOpts, cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*ComptrollerInterfaceTransactor) SeizeVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) SeizeVerify(opts *bind.TransactOpts, cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*ComptrollerInterfaceTransactor) TransferAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) TransferAllowed(opts *bind.TransactOpts, cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address cToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*ComptrollerInterfaceTransactor) TransferVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactor) TransferVerify(opts *bind.TransactOpts, cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address cToken, address src, address dst, uint256 transferTokens) returns()

type ComptrollerInterfaceTransactorRaw

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

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

func (*ComptrollerInterfaceTransactorRaw) Transact

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

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

func (*ComptrollerInterfaceTransactorRaw) Transfer

func (_ComptrollerInterface *ComptrollerInterfaceTransactorRaw) 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 ComptrollerInterfaceTransactorSession

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

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

func (*ComptrollerInterfaceTransactorSession) BorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) BorrowAllowed(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowAllowed is a paid mutator transaction binding the contract method 0xda3d454c.

Solidity: function borrowAllowed(address cToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) BorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) BorrowVerify(cToken common.Address, borrower common.Address, borrowAmount *big.Int) (*types.Transaction, error)

BorrowVerify is a paid mutator transaction binding the contract method 0x5c778605.

Solidity: function borrowVerify(address cToken, address borrower, uint256 borrowAmount) returns()

func (*ComptrollerInterfaceTransactorSession) EnterMarkets

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) EnterMarkets(cTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] cTokens) returns(uint256[])

func (*ComptrollerInterfaceTransactorSession) ExitMarket

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) ExitMarket(cToken common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address cToken) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) LiquidateBorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) LiquidateBorrowAllowed(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

LiquidateBorrowAllowed is a paid mutator transaction binding the contract method 0x5fc7e71e.

Solidity: function liquidateBorrowAllowed(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) LiquidateBorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) LiquidateBorrowVerify(cTokenBorrowed common.Address, cTokenCollateral common.Address, liquidator common.Address, borrower common.Address, repayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*ComptrollerInterfaceTransactorSession) MintAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) MintAllowed(cToken common.Address, minter common.Address, mintAmount *big.Int) (*types.Transaction, error)

MintAllowed is a paid mutator transaction binding the contract method 0x4ef4c3e1.

Solidity: function mintAllowed(address cToken, address minter, uint256 mintAmount) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) MintVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) MintVerify(cToken common.Address, minter common.Address, mintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address cToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*ComptrollerInterfaceTransactorSession) RedeemAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) RedeemAllowed(cToken common.Address, redeemer common.Address, redeemTokens *big.Int) (*types.Transaction, error)

RedeemAllowed is a paid mutator transaction binding the contract method 0xeabe7d91.

Solidity: function redeemAllowed(address cToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) RedeemVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) RedeemVerify(cToken common.Address, redeemer common.Address, redeemAmount *big.Int, redeemTokens *big.Int) (*types.Transaction, error)

RedeemVerify is a paid mutator transaction binding the contract method 0x51dff989.

Solidity: function redeemVerify(address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*ComptrollerInterfaceTransactorSession) RepayBorrowAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) RepayBorrowAllowed(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowAllowed is a paid mutator transaction binding the contract method 0x24008a62.

Solidity: function repayBorrowAllowed(address cToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) RepayBorrowVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) RepayBorrowVerify(cToken common.Address, payer common.Address, borrower common.Address, repayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address cToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*ComptrollerInterfaceTransactorSession) SeizeAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) SeizeAllowed(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeAllowed is a paid mutator transaction binding the contract method 0xd02f7351.

Solidity: function seizeAllowed(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) SeizeVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) SeizeVerify(cTokenCollateral common.Address, cTokenBorrowed common.Address, liquidator common.Address, borrower common.Address, seizeTokens *big.Int) (*types.Transaction, error)

SeizeVerify is a paid mutator transaction binding the contract method 0x6d35bf91.

Solidity: function seizeVerify(address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*ComptrollerInterfaceTransactorSession) TransferAllowed

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) TransferAllowed(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferAllowed is a paid mutator transaction binding the contract method 0xbdcdc258.

Solidity: function transferAllowed(address cToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*ComptrollerInterfaceTransactorSession) TransferVerify

func (_ComptrollerInterface *ComptrollerInterfaceTransactorSession) TransferVerify(cToken common.Address, src common.Address, dst common.Address, transferTokens *big.Int) (*types.Transaction, error)

TransferVerify is a paid mutator transaction binding the contract method 0x6a56947e.

Solidity: function transferVerify(address cToken, address src, address dst, uint256 transferTokens) returns()

type EIP20Interface

type EIP20Interface struct {
	EIP20InterfaceCaller     // Read-only binding to the contract
	EIP20InterfaceTransactor // Write-only binding to the contract
	EIP20InterfaceFilterer   // Log filterer for contract events
}

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

func NewEIP20Interface

func NewEIP20Interface(address common.Address, backend bind.ContractBackend) (*EIP20Interface, error)

NewEIP20Interface creates a new instance of EIP20Interface, bound to a specific deployed contract.

type EIP20InterfaceApproval

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

EIP20InterfaceApproval represents a Approval event raised by the EIP20Interface contract.

type EIP20InterfaceApprovalIterator

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

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

func (*EIP20InterfaceApprovalIterator) Close

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

func (*EIP20InterfaceApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EIP20InterfaceApprovalIterator) 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 EIP20InterfaceCaller

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

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

func NewEIP20InterfaceCaller

func NewEIP20InterfaceCaller(address common.Address, caller bind.ContractCaller) (*EIP20InterfaceCaller, error)

NewEIP20InterfaceCaller creates a new read-only instance of EIP20Interface, bound to a specific deployed contract.

func (*EIP20InterfaceCaller) Allowance

func (_EIP20Interface *EIP20InterfaceCaller) 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 remaining)

func (*EIP20InterfaceCaller) BalanceOf

func (_EIP20Interface *EIP20InterfaceCaller) 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 balance)

func (*EIP20InterfaceCaller) TotalSupply

func (_EIP20Interface *EIP20InterfaceCaller) 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 EIP20InterfaceCallerRaw

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

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

func (*EIP20InterfaceCallerRaw) Call

func (_EIP20Interface *EIP20InterfaceCallerRaw) 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 EIP20InterfaceCallerSession

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

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

func (*EIP20InterfaceCallerSession) Allowance

func (_EIP20Interface *EIP20InterfaceCallerSession) 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 remaining)

func (*EIP20InterfaceCallerSession) BalanceOf

func (_EIP20Interface *EIP20InterfaceCallerSession) 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 balance)

func (*EIP20InterfaceCallerSession) TotalSupply

func (_EIP20Interface *EIP20InterfaceCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type EIP20InterfaceFilterer

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

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

func NewEIP20InterfaceFilterer

func NewEIP20InterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*EIP20InterfaceFilterer, error)

NewEIP20InterfaceFilterer creates a new log filterer instance of EIP20Interface, bound to a specific deployed contract.

func (*EIP20InterfaceFilterer) FilterApproval

func (_EIP20Interface *EIP20InterfaceFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EIP20InterfaceApprovalIterator, 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 (*EIP20InterfaceFilterer) FilterTransfer

func (_EIP20Interface *EIP20InterfaceFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*EIP20InterfaceTransferIterator, 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 (*EIP20InterfaceFilterer) ParseApproval

func (_EIP20Interface *EIP20InterfaceFilterer) ParseApproval(log types.Log) (*EIP20InterfaceApproval, error)

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

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

func (*EIP20InterfaceFilterer) ParseTransfer

func (_EIP20Interface *EIP20InterfaceFilterer) ParseTransfer(log types.Log) (*EIP20InterfaceTransfer, error)

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

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

func (*EIP20InterfaceFilterer) WatchApproval

func (_EIP20Interface *EIP20InterfaceFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EIP20InterfaceApproval, 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 (*EIP20InterfaceFilterer) WatchTransfer

func (_EIP20Interface *EIP20InterfaceFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EIP20InterfaceTransfer, 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 EIP20InterfaceRaw

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

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

func (*EIP20InterfaceRaw) Call

func (_EIP20Interface *EIP20InterfaceRaw) 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 (*EIP20InterfaceRaw) Transact

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

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

func (*EIP20InterfaceRaw) Transfer

func (_EIP20Interface *EIP20InterfaceRaw) 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 EIP20InterfaceSession

type EIP20InterfaceSession struct {
	Contract     *EIP20Interface   // 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
}

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

func (*EIP20InterfaceSession) Allowance

func (_EIP20Interface *EIP20InterfaceSession) 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 remaining)

func (*EIP20InterfaceSession) Approve

func (_EIP20Interface *EIP20InterfaceSession) 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 success)

func (*EIP20InterfaceSession) BalanceOf

func (_EIP20Interface *EIP20InterfaceSession) 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 balance)

func (*EIP20InterfaceSession) TotalSupply

func (_EIP20Interface *EIP20InterfaceSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*EIP20InterfaceSession) Transfer

func (_EIP20Interface *EIP20InterfaceSession) 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 success)

func (*EIP20InterfaceSession) TransferFrom

func (_EIP20Interface *EIP20InterfaceSession) 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 success)

type EIP20InterfaceTransactor

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

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

func NewEIP20InterfaceTransactor

func NewEIP20InterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*EIP20InterfaceTransactor, error)

NewEIP20InterfaceTransactor creates a new write-only instance of EIP20Interface, bound to a specific deployed contract.

func (*EIP20InterfaceTransactor) Approve

func (_EIP20Interface *EIP20InterfaceTransactor) 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 success)

func (*EIP20InterfaceTransactor) Transfer

func (_EIP20Interface *EIP20InterfaceTransactor) 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 success)

func (*EIP20InterfaceTransactor) TransferFrom

func (_EIP20Interface *EIP20InterfaceTransactor) 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 success)

type EIP20InterfaceTransactorRaw

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

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

func (*EIP20InterfaceTransactorRaw) Transact

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

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

func (*EIP20InterfaceTransactorRaw) Transfer

func (_EIP20Interface *EIP20InterfaceTransactorRaw) 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 EIP20InterfaceTransactorSession

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

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

func (*EIP20InterfaceTransactorSession) Approve

func (_EIP20Interface *EIP20InterfaceTransactorSession) 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 success)

func (*EIP20InterfaceTransactorSession) Transfer

func (_EIP20Interface *EIP20InterfaceTransactorSession) 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 success)

func (*EIP20InterfaceTransactorSession) TransferFrom

func (_EIP20Interface *EIP20InterfaceTransactorSession) 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 success)

type EIP20InterfaceTransfer

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

EIP20InterfaceTransfer represents a Transfer event raised by the EIP20Interface contract.

type EIP20InterfaceTransferIterator

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

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

func (*EIP20InterfaceTransferIterator) Close

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

func (*EIP20InterfaceTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EIP20InterfaceTransferIterator) 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 EIP20NonStandardInterface

type EIP20NonStandardInterface struct {
	EIP20NonStandardInterfaceCaller     // Read-only binding to the contract
	EIP20NonStandardInterfaceTransactor // Write-only binding to the contract
	EIP20NonStandardInterfaceFilterer   // Log filterer for contract events
}

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

func NewEIP20NonStandardInterface

func NewEIP20NonStandardInterface(address common.Address, backend bind.ContractBackend) (*EIP20NonStandardInterface, error)

NewEIP20NonStandardInterface creates a new instance of EIP20NonStandardInterface, bound to a specific deployed contract.

type EIP20NonStandardInterfaceApproval

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

EIP20NonStandardInterfaceApproval represents a Approval event raised by the EIP20NonStandardInterface contract.

type EIP20NonStandardInterfaceApprovalIterator

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

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

func (*EIP20NonStandardInterfaceApprovalIterator) Close

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

func (*EIP20NonStandardInterfaceApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EIP20NonStandardInterfaceApprovalIterator) 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 EIP20NonStandardInterfaceCaller

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

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

func NewEIP20NonStandardInterfaceCaller

func NewEIP20NonStandardInterfaceCaller(address common.Address, caller bind.ContractCaller) (*EIP20NonStandardInterfaceCaller, error)

NewEIP20NonStandardInterfaceCaller creates a new read-only instance of EIP20NonStandardInterface, bound to a specific deployed contract.

func (*EIP20NonStandardInterfaceCaller) Allowance

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCaller) 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 remaining)

func (*EIP20NonStandardInterfaceCaller) BalanceOf

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCaller) 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 balance)

func (*EIP20NonStandardInterfaceCaller) TotalSupply

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCaller) 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 EIP20NonStandardInterfaceCallerRaw

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

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

func (*EIP20NonStandardInterfaceCallerRaw) Call

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCallerRaw) 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 EIP20NonStandardInterfaceCallerSession

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

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

func (*EIP20NonStandardInterfaceCallerSession) Allowance

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCallerSession) 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 remaining)

func (*EIP20NonStandardInterfaceCallerSession) BalanceOf

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCallerSession) 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 balance)

func (*EIP20NonStandardInterfaceCallerSession) TotalSupply

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type EIP20NonStandardInterfaceFilterer

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

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

func NewEIP20NonStandardInterfaceFilterer

func NewEIP20NonStandardInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*EIP20NonStandardInterfaceFilterer, error)

NewEIP20NonStandardInterfaceFilterer creates a new log filterer instance of EIP20NonStandardInterface, bound to a specific deployed contract.

func (*EIP20NonStandardInterfaceFilterer) FilterApproval

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EIP20NonStandardInterfaceApprovalIterator, 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 (*EIP20NonStandardInterfaceFilterer) FilterTransfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*EIP20NonStandardInterfaceTransferIterator, 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 (*EIP20NonStandardInterfaceFilterer) ParseApproval

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceFilterer) ParseApproval(log types.Log) (*EIP20NonStandardInterfaceApproval, error)

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

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

func (*EIP20NonStandardInterfaceFilterer) ParseTransfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceFilterer) ParseTransfer(log types.Log) (*EIP20NonStandardInterfaceTransfer, error)

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

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

func (*EIP20NonStandardInterfaceFilterer) WatchApproval

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EIP20NonStandardInterfaceApproval, 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 (*EIP20NonStandardInterfaceFilterer) WatchTransfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EIP20NonStandardInterfaceTransfer, 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 EIP20NonStandardInterfaceRaw

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

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

func (*EIP20NonStandardInterfaceRaw) Call

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceRaw) 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 (*EIP20NonStandardInterfaceRaw) Transact

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

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

func (*EIP20NonStandardInterfaceRaw) Transfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceRaw) 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 EIP20NonStandardInterfaceSession

type EIP20NonStandardInterfaceSession struct {
	Contract     *EIP20NonStandardInterface // 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
}

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

func (*EIP20NonStandardInterfaceSession) Allowance

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceSession) 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 remaining)

func (*EIP20NonStandardInterfaceSession) Approve

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceSession) 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 success)

func (*EIP20NonStandardInterfaceSession) BalanceOf

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceSession) 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 balance)

func (*EIP20NonStandardInterfaceSession) TotalSupply

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*EIP20NonStandardInterfaceSession) Transfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceSession) 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()

func (*EIP20NonStandardInterfaceSession) TransferFrom

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceSession) 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()

type EIP20NonStandardInterfaceTransactor

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

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

func NewEIP20NonStandardInterfaceTransactor

func NewEIP20NonStandardInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*EIP20NonStandardInterfaceTransactor, error)

NewEIP20NonStandardInterfaceTransactor creates a new write-only instance of EIP20NonStandardInterface, bound to a specific deployed contract.

func (*EIP20NonStandardInterfaceTransactor) Approve

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactor) 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 success)

func (*EIP20NonStandardInterfaceTransactor) Transfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactor) 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()

func (*EIP20NonStandardInterfaceTransactor) TransferFrom

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactor) 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()

type EIP20NonStandardInterfaceTransactorRaw

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

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

func (*EIP20NonStandardInterfaceTransactorRaw) Transact

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

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

func (*EIP20NonStandardInterfaceTransactorRaw) Transfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactorRaw) 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 EIP20NonStandardInterfaceTransactorSession

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

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

func (*EIP20NonStandardInterfaceTransactorSession) Approve

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactorSession) 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 success)

func (*EIP20NonStandardInterfaceTransactorSession) Transfer

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactorSession) 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()

func (*EIP20NonStandardInterfaceTransactorSession) TransferFrom

func (_EIP20NonStandardInterface *EIP20NonStandardInterfaceTransactorSession) 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()

type EIP20NonStandardInterfaceTransfer

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

EIP20NonStandardInterfaceTransfer represents a Transfer event raised by the EIP20NonStandardInterface contract.

type EIP20NonStandardInterfaceTransferIterator

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

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

func (*EIP20NonStandardInterfaceTransferIterator) Close

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

func (*EIP20NonStandardInterfaceTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EIP20NonStandardInterfaceTransferIterator) 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 Exponential

type Exponential struct {
	ExponentialCaller     // Read-only binding to the contract
	ExponentialTransactor // Write-only binding to the contract
	ExponentialFilterer   // Log filterer for contract events
}

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

func DeployExponential

func DeployExponential(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Exponential, error)

DeployExponential deploys a new Ethereum contract, binding an instance of Exponential to it.

func NewExponential

func NewExponential(address common.Address, backend bind.ContractBackend) (*Exponential, error)

NewExponential creates a new instance of Exponential, bound to a specific deployed contract.

type ExponentialCaller

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

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

func NewExponentialCaller

func NewExponentialCaller(address common.Address, caller bind.ContractCaller) (*ExponentialCaller, error)

NewExponentialCaller creates a new read-only instance of Exponential, bound to a specific deployed contract.

type ExponentialCallerRaw

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

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

func (*ExponentialCallerRaw) Call

func (_Exponential *ExponentialCallerRaw) 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 ExponentialCallerSession

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

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

type ExponentialFilterer

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

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

func NewExponentialFilterer

func NewExponentialFilterer(address common.Address, filterer bind.ContractFilterer) (*ExponentialFilterer, error)

NewExponentialFilterer creates a new log filterer instance of Exponential, bound to a specific deployed contract.

type ExponentialRaw

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

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

func (*ExponentialRaw) Call

func (_Exponential *ExponentialRaw) 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 (*ExponentialRaw) Transact

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

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

func (*ExponentialRaw) Transfer

func (_Exponential *ExponentialRaw) 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 ExponentialSession

type ExponentialSession struct {
	Contract     *Exponential      // 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
}

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

type ExponentialTransactor

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

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

func NewExponentialTransactor

func NewExponentialTransactor(address common.Address, transactor bind.ContractTransactor) (*ExponentialTransactor, error)

NewExponentialTransactor creates a new write-only instance of Exponential, bound to a specific deployed contract.

type ExponentialTransactorRaw

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

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

func (*ExponentialTransactorRaw) Transact

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

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

func (*ExponentialTransactorRaw) Transfer

func (_Exponential *ExponentialTransactorRaw) 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 ExponentialTransactorSession

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

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

type InterestRateModel

type InterestRateModel struct {
	InterestRateModelCaller     // Read-only binding to the contract
	InterestRateModelTransactor // Write-only binding to the contract
	InterestRateModelFilterer   // Log filterer for contract events
}

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

func NewInterestRateModel

func NewInterestRateModel(address common.Address, backend bind.ContractBackend) (*InterestRateModel, error)

NewInterestRateModel creates a new instance of InterestRateModel, bound to a specific deployed contract.

type InterestRateModelCaller

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

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

func NewInterestRateModelCaller

func NewInterestRateModelCaller(address common.Address, caller bind.ContractCaller) (*InterestRateModelCaller, error)

NewInterestRateModelCaller creates a new read-only instance of InterestRateModel, bound to a specific deployed contract.

func (*InterestRateModelCaller) GetBorrowRate

func (_InterestRateModel *InterestRateModelCaller) GetBorrowRate(opts *bind.CallOpts, cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, *big.Int, error)

GetBorrowRate is a free data retrieval call binding the contract method 0x15f24053.

Solidity: function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) view returns(uint256, uint256)

func (*InterestRateModelCaller) IsInterestRateModel

func (_InterestRateModel *InterestRateModelCaller) IsInterestRateModel(opts *bind.CallOpts) (bool, error)

IsInterestRateModel is a free data retrieval call binding the contract method 0x2191f92a.

Solidity: function isInterestRateModel() view returns(bool)

type InterestRateModelCallerRaw

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

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

func (*InterestRateModelCallerRaw) Call

func (_InterestRateModel *InterestRateModelCallerRaw) 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 InterestRateModelCallerSession

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

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

func (*InterestRateModelCallerSession) GetBorrowRate

func (_InterestRateModel *InterestRateModelCallerSession) GetBorrowRate(cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, *big.Int, error)

GetBorrowRate is a free data retrieval call binding the contract method 0x15f24053.

Solidity: function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) view returns(uint256, uint256)

func (*InterestRateModelCallerSession) IsInterestRateModel

func (_InterestRateModel *InterestRateModelCallerSession) IsInterestRateModel() (bool, error)

IsInterestRateModel is a free data retrieval call binding the contract method 0x2191f92a.

Solidity: function isInterestRateModel() view returns(bool)

type InterestRateModelFilterer

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

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

func NewInterestRateModelFilterer

func NewInterestRateModelFilterer(address common.Address, filterer bind.ContractFilterer) (*InterestRateModelFilterer, error)

NewInterestRateModelFilterer creates a new log filterer instance of InterestRateModel, bound to a specific deployed contract.

type InterestRateModelRaw

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

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

func (*InterestRateModelRaw) Call

func (_InterestRateModel *InterestRateModelRaw) 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 (*InterestRateModelRaw) Transact

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

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

func (*InterestRateModelRaw) Transfer

func (_InterestRateModel *InterestRateModelRaw) 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 InterestRateModelSession

type InterestRateModelSession struct {
	Contract     *InterestRateModel // 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
}

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

func (*InterestRateModelSession) GetBorrowRate

func (_InterestRateModel *InterestRateModelSession) GetBorrowRate(cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, *big.Int, error)

GetBorrowRate is a free data retrieval call binding the contract method 0x15f24053.

Solidity: function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) view returns(uint256, uint256)

func (*InterestRateModelSession) IsInterestRateModel

func (_InterestRateModel *InterestRateModelSession) IsInterestRateModel() (bool, error)

IsInterestRateModel is a free data retrieval call binding the contract method 0x2191f92a.

Solidity: function isInterestRateModel() view returns(bool)

type InterestRateModelTransactor

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

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

func NewInterestRateModelTransactor

func NewInterestRateModelTransactor(address common.Address, transactor bind.ContractTransactor) (*InterestRateModelTransactor, error)

NewInterestRateModelTransactor creates a new write-only instance of InterestRateModel, bound to a specific deployed contract.

type InterestRateModelTransactorRaw

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

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

func (*InterestRateModelTransactorRaw) Transact

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

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

func (*InterestRateModelTransactorRaw) Transfer

func (_InterestRateModel *InterestRateModelTransactorRaw) 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 InterestRateModelTransactorSession

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

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

type ReentrancyGuard

type ReentrancyGuard struct {
	ReentrancyGuardCaller     // Read-only binding to the contract
	ReentrancyGuardTransactor // Write-only binding to the contract
	ReentrancyGuardFilterer   // Log filterer for contract events
}

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

func NewReentrancyGuard

func NewReentrancyGuard(address common.Address, backend bind.ContractBackend) (*ReentrancyGuard, error)

NewReentrancyGuard creates a new instance of ReentrancyGuard, bound to a specific deployed contract.

type ReentrancyGuardCaller

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

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

func NewReentrancyGuardCaller

func NewReentrancyGuardCaller(address common.Address, caller bind.ContractCaller) (*ReentrancyGuardCaller, error)

NewReentrancyGuardCaller creates a new read-only instance of ReentrancyGuard, bound to a specific deployed contract.

type ReentrancyGuardCallerRaw

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

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

func (*ReentrancyGuardCallerRaw) Call

func (_ReentrancyGuard *ReentrancyGuardCallerRaw) 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 ReentrancyGuardCallerSession

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

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

type ReentrancyGuardFilterer

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

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

func NewReentrancyGuardFilterer

func NewReentrancyGuardFilterer(address common.Address, filterer bind.ContractFilterer) (*ReentrancyGuardFilterer, error)

NewReentrancyGuardFilterer creates a new log filterer instance of ReentrancyGuard, bound to a specific deployed contract.

type ReentrancyGuardRaw

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

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

func (*ReentrancyGuardRaw) Call

func (_ReentrancyGuard *ReentrancyGuardRaw) 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 (*ReentrancyGuardRaw) Transact

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

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

func (*ReentrancyGuardRaw) Transfer

func (_ReentrancyGuard *ReentrancyGuardRaw) 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 ReentrancyGuardSession

type ReentrancyGuardSession struct {
	Contract     *ReentrancyGuard  // 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
}

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

type ReentrancyGuardTransactor

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

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

func NewReentrancyGuardTransactor

func NewReentrancyGuardTransactor(address common.Address, transactor bind.ContractTransactor) (*ReentrancyGuardTransactor, error)

NewReentrancyGuardTransactor creates a new write-only instance of ReentrancyGuard, bound to a specific deployed contract.

type ReentrancyGuardTransactorRaw

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

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

func (*ReentrancyGuardTransactorRaw) Transact

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

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

func (*ReentrancyGuardTransactorRaw) Transfer

func (_ReentrancyGuard *ReentrancyGuardTransactorRaw) 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 ReentrancyGuardTransactorSession

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

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

type TokenErrorReporter

type TokenErrorReporter struct {
	TokenErrorReporterCaller     // Read-only binding to the contract
	TokenErrorReporterTransactor // Write-only binding to the contract
	TokenErrorReporterFilterer   // Log filterer for contract events
}

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

func DeployTokenErrorReporter

func DeployTokenErrorReporter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TokenErrorReporter, error)

DeployTokenErrorReporter deploys a new Ethereum contract, binding an instance of TokenErrorReporter to it.

func NewTokenErrorReporter

func NewTokenErrorReporter(address common.Address, backend bind.ContractBackend) (*TokenErrorReporter, error)

NewTokenErrorReporter creates a new instance of TokenErrorReporter, bound to a specific deployed contract.

type TokenErrorReporterCaller

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

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

func NewTokenErrorReporterCaller

func NewTokenErrorReporterCaller(address common.Address, caller bind.ContractCaller) (*TokenErrorReporterCaller, error)

NewTokenErrorReporterCaller creates a new read-only instance of TokenErrorReporter, bound to a specific deployed contract.

type TokenErrorReporterCallerRaw

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

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

func (*TokenErrorReporterCallerRaw) Call

func (_TokenErrorReporter *TokenErrorReporterCallerRaw) 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 TokenErrorReporterCallerSession

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

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

type TokenErrorReporterFailure

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

TokenErrorReporterFailure represents a Failure event raised by the TokenErrorReporter contract.

type TokenErrorReporterFailureIterator

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

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

func (*TokenErrorReporterFailureIterator) Close

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

func (*TokenErrorReporterFailureIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenErrorReporterFailureIterator) 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 TokenErrorReporterFilterer

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

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

func NewTokenErrorReporterFilterer

func NewTokenErrorReporterFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenErrorReporterFilterer, error)

NewTokenErrorReporterFilterer creates a new log filterer instance of TokenErrorReporter, bound to a specific deployed contract.

func (*TokenErrorReporterFilterer) FilterFailure

func (_TokenErrorReporter *TokenErrorReporterFilterer) FilterFailure(opts *bind.FilterOpts) (*TokenErrorReporterFailureIterator, error)

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

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

func (*TokenErrorReporterFilterer) ParseFailure

func (_TokenErrorReporter *TokenErrorReporterFilterer) ParseFailure(log types.Log) (*TokenErrorReporterFailure, error)

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

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

func (*TokenErrorReporterFilterer) WatchFailure

func (_TokenErrorReporter *TokenErrorReporterFilterer) WatchFailure(opts *bind.WatchOpts, sink chan<- *TokenErrorReporterFailure) (event.Subscription, error)

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

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

type TokenErrorReporterRaw

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

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

func (*TokenErrorReporterRaw) Call

func (_TokenErrorReporter *TokenErrorReporterRaw) 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 (*TokenErrorReporterRaw) Transact

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

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

func (*TokenErrorReporterRaw) Transfer

func (_TokenErrorReporter *TokenErrorReporterRaw) 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 TokenErrorReporterSession

type TokenErrorReporterSession struct {
	Contract     *TokenErrorReporter // 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
}

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

type TokenErrorReporterTransactor

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

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

func NewTokenErrorReporterTransactor

func NewTokenErrorReporterTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenErrorReporterTransactor, error)

NewTokenErrorReporterTransactor creates a new write-only instance of TokenErrorReporter, bound to a specific deployed contract.

type TokenErrorReporterTransactorRaw

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

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

func (*TokenErrorReporterTransactorRaw) Transact

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

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

func (*TokenErrorReporterTransactorRaw) Transfer

func (_TokenErrorReporter *TokenErrorReporterTransactorRaw) 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 TokenErrorReporterTransactorSession

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

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

Jump to

Keyboard shortcuts

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