benqiComptroller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BenqiComptrollerABI = BenqiComptrollerMetaData.ABI

BenqiComptrollerABI is the input ABI used to generate the binding from. Deprecated: Use BenqiComptrollerMetaData.ABI instead.

View Source
var BenqiComptrollerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accountAssets\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allMarkets\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrowAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"borrowCapGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"borrowCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"borrowGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"borrowRewardSpeeds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrowVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"}],\"name\":\"checkMembership\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"rewardType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"rewardType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"qiTokens\",\"type\":\"address[]\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"rewardType\",\"type\":\"uint8\"},{\"internalType\":\"address[]\",\"name\":\"holders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"qiTokens\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"borrowers\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"suppliers\",\"type\":\"bool\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"closeFactorMantissa\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"comptrollerImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"qiTokens\",\"type\":\"address[]\"}],\"name\":\"enterMarkets\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiTokenAddress\",\"type\":\"address\"}],\"name\":\"exitMarket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllMarkets\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAssetsIn\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBlockTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiTokenModify\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"getHypotheticalAccountLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialIndexConstant\",\"outputs\":[{\"internalType\":\"uint224\",\"name\":\"\",\"type\":\"uint224\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isComptroller\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"liquidateBorrowAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"liquidateBorrowVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"}],\"name\":\"liquidateCalculateSeizeTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidationIncentiveMantissa\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"markets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isListed\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"collateralFactorMantissa\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isQied\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"name\":\"mintAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"mintGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualMintAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mintTokens\",\"type\":\"uint256\"}],\"name\":\"mintVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingComptrollerImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"qiAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeemAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"redeemAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeemVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrowAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"actualRepayAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowerIndex\",\"type\":\"uint256\"}],\"name\":\"repayBorrowVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardAvax\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardBorrowState\",\"outputs\":[{\"internalType\":\"uint224\",\"name\":\"index\",\"type\":\"uint224\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardBorrowerIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardQi\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardSupplierIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardSupplyState\",\"outputs\":[{\"internalType\":\"uint224\",\"name\":\"index\",\"type\":\"uint224\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seizeAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"seizeGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"qiTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seizeVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"supplyRewardSpeeds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"transferTokens\",\"type\":\"uint256\"}],\"name\":\"transferAllowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferGuardianPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"qiToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"transferTokens\",\"type\":\"uint256\"}],\"name\":\"transferVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BenqiComptrollerMetaData contains all meta data concerning the BenqiComptroller contract.

Functions

This section is empty.

Types

type BenqiComptroller

type BenqiComptroller struct {
	BenqiComptrollerCaller     // Read-only binding to the contract
	BenqiComptrollerTransactor // Write-only binding to the contract
	BenqiComptrollerFilterer   // Log filterer for contract events
}

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

func NewBenqiComptroller

func NewBenqiComptroller(address common.Address, backend bind.ContractBackend) (*BenqiComptroller, error)

NewBenqiComptroller creates a new instance of BenqiComptroller, bound to a specific deployed contract.

type BenqiComptrollerCaller

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

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

func NewBenqiComptrollerCaller

func NewBenqiComptrollerCaller(address common.Address, caller bind.ContractCaller) (*BenqiComptrollerCaller, error)

NewBenqiComptrollerCaller creates a new read-only instance of BenqiComptroller, bound to a specific deployed contract.

func (*BenqiComptrollerCaller) AccountAssets

func (_BenqiComptroller *BenqiComptrollerCaller) AccountAssets(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) view returns(address)

func (*BenqiComptrollerCaller) Admin

func (_BenqiComptroller *BenqiComptrollerCaller) 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 (*BenqiComptrollerCaller) AllMarkets

func (_BenqiComptroller *BenqiComptrollerCaller) AllMarkets(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllMarkets is a free data retrieval call binding the contract method 0x52d84d1e.

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

func (*BenqiComptrollerCaller) BorrowCapGuardian

func (_BenqiComptroller *BenqiComptrollerCaller) BorrowCapGuardian(opts *bind.CallOpts) (common.Address, error)

BorrowCapGuardian is a free data retrieval call binding the contract method 0x21af4569.

Solidity: function borrowCapGuardian() view returns(address)

func (*BenqiComptrollerCaller) BorrowCaps

func (_BenqiComptroller *BenqiComptrollerCaller) BorrowCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BorrowCaps is a free data retrieval call binding the contract method 0x4a584432.

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

func (*BenqiComptrollerCaller) BorrowGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCaller) BorrowGuardianPaused(opts *bind.CallOpts, arg0 common.Address) (bool, error)

BorrowGuardianPaused is a free data retrieval call binding the contract method 0x6d154ea5.

Solidity: function borrowGuardianPaused(address ) view returns(bool)

func (*BenqiComptrollerCaller) BorrowRewardSpeeds

func (_BenqiComptroller *BenqiComptrollerCaller) BorrowRewardSpeeds(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (*big.Int, error)

BorrowRewardSpeeds is a free data retrieval call binding the contract method 0xc376fada.

Solidity: function borrowRewardSpeeds(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerCaller) CheckMembership

func (_BenqiComptroller *BenqiComptrollerCaller) CheckMembership(opts *bind.CallOpts, account common.Address, qiToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address qiToken) view returns(bool)

func (*BenqiComptrollerCaller) CloseFactorMantissa

func (_BenqiComptroller *BenqiComptrollerCaller) CloseFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() view returns(uint256)

func (*BenqiComptrollerCaller) ComptrollerImplementation

func (_BenqiComptroller *BenqiComptrollerCaller) ComptrollerImplementation(opts *bind.CallOpts) (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() view returns(address)

func (*BenqiComptrollerCaller) GetAccountLiquidity

func (_BenqiComptroller *BenqiComptrollerCaller) GetAccountLiquidity(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) view returns(uint256, uint256, uint256)

func (*BenqiComptrollerCaller) GetAllMarkets

func (_BenqiComptroller *BenqiComptrollerCaller) GetAllMarkets(opts *bind.CallOpts) ([]common.Address, error)

GetAllMarkets is a free data retrieval call binding the contract method 0xb0772d0b.

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

func (*BenqiComptrollerCaller) GetAssetsIn

func (_BenqiComptroller *BenqiComptrollerCaller) GetAssetsIn(opts *bind.CallOpts, account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) view returns(address[])

func (*BenqiComptrollerCaller) GetBlockTimestamp

func (_BenqiComptroller *BenqiComptrollerCaller) GetBlockTimestamp(opts *bind.CallOpts) (*big.Int, error)

GetBlockTimestamp is a free data retrieval call binding the contract method 0x796b89b9.

Solidity: function getBlockTimestamp() view returns(uint256)

func (*BenqiComptrollerCaller) GetHypotheticalAccountLiquidity

func (_BenqiComptroller *BenqiComptrollerCaller) GetHypotheticalAccountLiquidity(opts *bind.CallOpts, account common.Address, qiTokenModify common.Address, redeemTokens *big.Int, borrowAmount *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetHypotheticalAccountLiquidity is a free data retrieval call binding the contract method 0x4e79238f.

Solidity: function getHypotheticalAccountLiquidity(address account, address qiTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns(uint256, uint256, uint256)

func (*BenqiComptrollerCaller) InitialIndexConstant

func (_BenqiComptroller *BenqiComptrollerCaller) InitialIndexConstant(opts *bind.CallOpts) (*big.Int, error)

InitialIndexConstant is a free data retrieval call binding the contract method 0xed302dfd.

Solidity: function initialIndexConstant() view returns(uint224)

func (*BenqiComptrollerCaller) IsComptroller

func (_BenqiComptroller *BenqiComptrollerCaller) 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 (*BenqiComptrollerCaller) LiquidateCalculateSeizeTokens

func (_BenqiComptroller *BenqiComptrollerCaller) LiquidateCalculateSeizeTokens(opts *bind.CallOpts, qiTokenBorrowed common.Address, qiTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address qiTokenBorrowed, address qiTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*BenqiComptrollerCaller) LiquidationIncentiveMantissa

func (_BenqiComptroller *BenqiComptrollerCaller) LiquidationIncentiveMantissa(opts *bind.CallOpts) (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() view returns(uint256)

func (*BenqiComptrollerCaller) Markets

func (_BenqiComptroller *BenqiComptrollerCaller) Markets(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
	IsQied                   bool
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) view returns(bool isListed, uint256 collateralFactorMantissa, bool isQied)

func (*BenqiComptrollerCaller) MaxAssets

func (_BenqiComptroller *BenqiComptrollerCaller) MaxAssets(opts *bind.CallOpts) (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() view returns(uint256)

func (*BenqiComptrollerCaller) MintGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCaller) MintGuardianPaused(opts *bind.CallOpts, arg0 common.Address) (bool, error)

MintGuardianPaused is a free data retrieval call binding the contract method 0x731f0c2b.

Solidity: function mintGuardianPaused(address ) view returns(bool)

func (*BenqiComptrollerCaller) Oracle

func (_BenqiComptroller *BenqiComptrollerCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BenqiComptrollerCaller) PauseGuardian

func (_BenqiComptroller *BenqiComptrollerCaller) PauseGuardian(opts *bind.CallOpts) (common.Address, error)

PauseGuardian is a free data retrieval call binding the contract method 0x24a3d622.

Solidity: function pauseGuardian() view returns(address)

func (*BenqiComptrollerCaller) PendingAdmin

func (_BenqiComptroller *BenqiComptrollerCaller) 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 (*BenqiComptrollerCaller) PendingComptrollerImplementation

func (_BenqiComptroller *BenqiComptrollerCaller) PendingComptrollerImplementation(opts *bind.CallOpts) (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() view returns(address)

func (*BenqiComptrollerCaller) QiAddress

func (_BenqiComptroller *BenqiComptrollerCaller) QiAddress(opts *bind.CallOpts) (common.Address, error)

QiAddress is a free data retrieval call binding the contract method 0x26d71f1e.

Solidity: function qiAddress() view returns(address)

func (*BenqiComptrollerCaller) RewardAccrued

func (_BenqiComptroller *BenqiComptrollerCaller) RewardAccrued(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (*big.Int, error)

RewardAccrued is a free data retrieval call binding the contract method 0x05b9783d.

Solidity: function rewardAccrued(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerCaller) RewardAvax

func (_BenqiComptroller *BenqiComptrollerCaller) RewardAvax(opts *bind.CallOpts) (uint8, error)

RewardAvax is a free data retrieval call binding the contract method 0x0b8d87df.

Solidity: function rewardAvax() view returns(uint8)

func (*BenqiComptrollerCaller) RewardBorrowState

func (_BenqiComptroller *BenqiComptrollerCaller) RewardBorrowState(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (struct {
	Index     *big.Int
	Timestamp uint32
}, error)

RewardBorrowState is a free data retrieval call binding the contract method 0x4b3a0a74.

Solidity: function rewardBorrowState(uint8 , address ) view returns(uint224 index, uint32 timestamp)

func (*BenqiComptrollerCaller) RewardBorrowerIndex

func (_BenqiComptroller *BenqiComptrollerCaller) RewardBorrowerIndex(opts *bind.CallOpts, arg0 uint8, arg1 common.Address, arg2 common.Address) (*big.Int, error)

RewardBorrowerIndex is a free data retrieval call binding the contract method 0x7937969d.

Solidity: function rewardBorrowerIndex(uint8 , address , address ) view returns(uint256)

func (*BenqiComptrollerCaller) RewardQi

func (_BenqiComptroller *BenqiComptrollerCaller) RewardQi(opts *bind.CallOpts) (uint8, error)

RewardQi is a free data retrieval call binding the contract method 0xceeca693.

Solidity: function rewardQi() view returns(uint8)

func (*BenqiComptrollerCaller) RewardSupplierIndex

func (_BenqiComptroller *BenqiComptrollerCaller) RewardSupplierIndex(opts *bind.CallOpts, arg0 uint8, arg1 common.Address, arg2 common.Address) (*big.Int, error)

RewardSupplierIndex is a free data retrieval call binding the contract method 0x88e972b8.

Solidity: function rewardSupplierIndex(uint8 , address , address ) view returns(uint256)

func (*BenqiComptrollerCaller) RewardSupplyState

func (_BenqiComptroller *BenqiComptrollerCaller) RewardSupplyState(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (struct {
	Index     *big.Int
	Timestamp uint32
}, error)

RewardSupplyState is a free data retrieval call binding the contract method 0xd81c5e45.

Solidity: function rewardSupplyState(uint8 , address ) view returns(uint224 index, uint32 timestamp)

func (*BenqiComptrollerCaller) SeizeGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCaller) SeizeGuardianPaused(opts *bind.CallOpts) (bool, error)

SeizeGuardianPaused is a free data retrieval call binding the contract method 0xac0b0bb7.

Solidity: function seizeGuardianPaused() view returns(bool)

func (*BenqiComptrollerCaller) SupplyRewardSpeeds

func (_BenqiComptroller *BenqiComptrollerCaller) SupplyRewardSpeeds(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (*big.Int, error)

SupplyRewardSpeeds is a free data retrieval call binding the contract method 0xcf9cfb61.

Solidity: function supplyRewardSpeeds(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerCaller) TransferGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCaller) TransferGuardianPaused(opts *bind.CallOpts) (bool, error)

TransferGuardianPaused is a free data retrieval call binding the contract method 0x87f76303.

Solidity: function transferGuardianPaused() view returns(bool)

type BenqiComptrollerCallerRaw

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

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

func (*BenqiComptrollerCallerRaw) Call

func (_BenqiComptroller *BenqiComptrollerCallerRaw) 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 BenqiComptrollerCallerSession

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

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

func (*BenqiComptrollerCallerSession) AccountAssets

func (_BenqiComptroller *BenqiComptrollerCallerSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) view returns(address)

func (*BenqiComptrollerCallerSession) Admin

func (_BenqiComptroller *BenqiComptrollerCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*BenqiComptrollerCallerSession) AllMarkets

func (_BenqiComptroller *BenqiComptrollerCallerSession) AllMarkets(arg0 *big.Int) (common.Address, error)

AllMarkets is a free data retrieval call binding the contract method 0x52d84d1e.

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

func (*BenqiComptrollerCallerSession) BorrowCapGuardian

func (_BenqiComptroller *BenqiComptrollerCallerSession) BorrowCapGuardian() (common.Address, error)

BorrowCapGuardian is a free data retrieval call binding the contract method 0x21af4569.

Solidity: function borrowCapGuardian() view returns(address)

func (*BenqiComptrollerCallerSession) BorrowCaps

func (_BenqiComptroller *BenqiComptrollerCallerSession) BorrowCaps(arg0 common.Address) (*big.Int, error)

BorrowCaps is a free data retrieval call binding the contract method 0x4a584432.

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

func (*BenqiComptrollerCallerSession) BorrowGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCallerSession) BorrowGuardianPaused(arg0 common.Address) (bool, error)

BorrowGuardianPaused is a free data retrieval call binding the contract method 0x6d154ea5.

Solidity: function borrowGuardianPaused(address ) view returns(bool)

func (*BenqiComptrollerCallerSession) BorrowRewardSpeeds

func (_BenqiComptroller *BenqiComptrollerCallerSession) BorrowRewardSpeeds(arg0 uint8, arg1 common.Address) (*big.Int, error)

BorrowRewardSpeeds is a free data retrieval call binding the contract method 0xc376fada.

Solidity: function borrowRewardSpeeds(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerCallerSession) CheckMembership

func (_BenqiComptroller *BenqiComptrollerCallerSession) CheckMembership(account common.Address, qiToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address qiToken) view returns(bool)

func (*BenqiComptrollerCallerSession) CloseFactorMantissa

func (_BenqiComptroller *BenqiComptrollerCallerSession) CloseFactorMantissa() (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() view returns(uint256)

func (*BenqiComptrollerCallerSession) ComptrollerImplementation

func (_BenqiComptroller *BenqiComptrollerCallerSession) ComptrollerImplementation() (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() view returns(address)

func (*BenqiComptrollerCallerSession) GetAccountLiquidity

func (_BenqiComptroller *BenqiComptrollerCallerSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) view returns(uint256, uint256, uint256)

func (*BenqiComptrollerCallerSession) GetAllMarkets

func (_BenqiComptroller *BenqiComptrollerCallerSession) GetAllMarkets() ([]common.Address, error)

GetAllMarkets is a free data retrieval call binding the contract method 0xb0772d0b.

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

func (*BenqiComptrollerCallerSession) GetAssetsIn

func (_BenqiComptroller *BenqiComptrollerCallerSession) GetAssetsIn(account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) view returns(address[])

func (*BenqiComptrollerCallerSession) GetBlockTimestamp

func (_BenqiComptroller *BenqiComptrollerCallerSession) GetBlockTimestamp() (*big.Int, error)

GetBlockTimestamp is a free data retrieval call binding the contract method 0x796b89b9.

Solidity: function getBlockTimestamp() view returns(uint256)

func (*BenqiComptrollerCallerSession) GetHypotheticalAccountLiquidity

func (_BenqiComptroller *BenqiComptrollerCallerSession) GetHypotheticalAccountLiquidity(account common.Address, qiTokenModify common.Address, redeemTokens *big.Int, borrowAmount *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetHypotheticalAccountLiquidity is a free data retrieval call binding the contract method 0x4e79238f.

Solidity: function getHypotheticalAccountLiquidity(address account, address qiTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns(uint256, uint256, uint256)

func (*BenqiComptrollerCallerSession) InitialIndexConstant

func (_BenqiComptroller *BenqiComptrollerCallerSession) InitialIndexConstant() (*big.Int, error)

InitialIndexConstant is a free data retrieval call binding the contract method 0xed302dfd.

Solidity: function initialIndexConstant() view returns(uint224)

func (*BenqiComptrollerCallerSession) IsComptroller

func (_BenqiComptroller *BenqiComptrollerCallerSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*BenqiComptrollerCallerSession) LiquidateCalculateSeizeTokens

func (_BenqiComptroller *BenqiComptrollerCallerSession) LiquidateCalculateSeizeTokens(qiTokenBorrowed common.Address, qiTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address qiTokenBorrowed, address qiTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*BenqiComptrollerCallerSession) LiquidationIncentiveMantissa

func (_BenqiComptroller *BenqiComptrollerCallerSession) LiquidationIncentiveMantissa() (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() view returns(uint256)

func (*BenqiComptrollerCallerSession) Markets

func (_BenqiComptroller *BenqiComptrollerCallerSession) Markets(arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
	IsQied                   bool
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) view returns(bool isListed, uint256 collateralFactorMantissa, bool isQied)

func (*BenqiComptrollerCallerSession) MaxAssets

func (_BenqiComptroller *BenqiComptrollerCallerSession) MaxAssets() (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() view returns(uint256)

func (*BenqiComptrollerCallerSession) MintGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCallerSession) MintGuardianPaused(arg0 common.Address) (bool, error)

MintGuardianPaused is a free data retrieval call binding the contract method 0x731f0c2b.

Solidity: function mintGuardianPaused(address ) view returns(bool)

func (*BenqiComptrollerCallerSession) Oracle

func (_BenqiComptroller *BenqiComptrollerCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BenqiComptrollerCallerSession) PauseGuardian

func (_BenqiComptroller *BenqiComptrollerCallerSession) PauseGuardian() (common.Address, error)

PauseGuardian is a free data retrieval call binding the contract method 0x24a3d622.

Solidity: function pauseGuardian() view returns(address)

func (*BenqiComptrollerCallerSession) PendingAdmin

func (_BenqiComptroller *BenqiComptrollerCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*BenqiComptrollerCallerSession) PendingComptrollerImplementation

func (_BenqiComptroller *BenqiComptrollerCallerSession) PendingComptrollerImplementation() (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() view returns(address)

func (*BenqiComptrollerCallerSession) QiAddress

func (_BenqiComptroller *BenqiComptrollerCallerSession) QiAddress() (common.Address, error)

QiAddress is a free data retrieval call binding the contract method 0x26d71f1e.

Solidity: function qiAddress() view returns(address)

func (*BenqiComptrollerCallerSession) RewardAccrued

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardAccrued(arg0 uint8, arg1 common.Address) (*big.Int, error)

RewardAccrued is a free data retrieval call binding the contract method 0x05b9783d.

Solidity: function rewardAccrued(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerCallerSession) RewardAvax

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardAvax() (uint8, error)

RewardAvax is a free data retrieval call binding the contract method 0x0b8d87df.

Solidity: function rewardAvax() view returns(uint8)

func (*BenqiComptrollerCallerSession) RewardBorrowState

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardBorrowState(arg0 uint8, arg1 common.Address) (struct {
	Index     *big.Int
	Timestamp uint32
}, error)

RewardBorrowState is a free data retrieval call binding the contract method 0x4b3a0a74.

Solidity: function rewardBorrowState(uint8 , address ) view returns(uint224 index, uint32 timestamp)

func (*BenqiComptrollerCallerSession) RewardBorrowerIndex

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardBorrowerIndex(arg0 uint8, arg1 common.Address, arg2 common.Address) (*big.Int, error)

RewardBorrowerIndex is a free data retrieval call binding the contract method 0x7937969d.

Solidity: function rewardBorrowerIndex(uint8 , address , address ) view returns(uint256)

func (*BenqiComptrollerCallerSession) RewardQi

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardQi() (uint8, error)

RewardQi is a free data retrieval call binding the contract method 0xceeca693.

Solidity: function rewardQi() view returns(uint8)

func (*BenqiComptrollerCallerSession) RewardSupplierIndex

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardSupplierIndex(arg0 uint8, arg1 common.Address, arg2 common.Address) (*big.Int, error)

RewardSupplierIndex is a free data retrieval call binding the contract method 0x88e972b8.

Solidity: function rewardSupplierIndex(uint8 , address , address ) view returns(uint256)

func (*BenqiComptrollerCallerSession) RewardSupplyState

func (_BenqiComptroller *BenqiComptrollerCallerSession) RewardSupplyState(arg0 uint8, arg1 common.Address) (struct {
	Index     *big.Int
	Timestamp uint32
}, error)

RewardSupplyState is a free data retrieval call binding the contract method 0xd81c5e45.

Solidity: function rewardSupplyState(uint8 , address ) view returns(uint224 index, uint32 timestamp)

func (*BenqiComptrollerCallerSession) SeizeGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCallerSession) SeizeGuardianPaused() (bool, error)

SeizeGuardianPaused is a free data retrieval call binding the contract method 0xac0b0bb7.

Solidity: function seizeGuardianPaused() view returns(bool)

func (*BenqiComptrollerCallerSession) SupplyRewardSpeeds

func (_BenqiComptroller *BenqiComptrollerCallerSession) SupplyRewardSpeeds(arg0 uint8, arg1 common.Address) (*big.Int, error)

SupplyRewardSpeeds is a free data retrieval call binding the contract method 0xcf9cfb61.

Solidity: function supplyRewardSpeeds(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerCallerSession) TransferGuardianPaused

func (_BenqiComptroller *BenqiComptrollerCallerSession) TransferGuardianPaused() (bool, error)

TransferGuardianPaused is a free data retrieval call binding the contract method 0x87f76303.

Solidity: function transferGuardianPaused() view returns(bool)

type BenqiComptrollerFilterer

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

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

func NewBenqiComptrollerFilterer

func NewBenqiComptrollerFilterer(address common.Address, filterer bind.ContractFilterer) (*BenqiComptrollerFilterer, error)

NewBenqiComptrollerFilterer creates a new log filterer instance of BenqiComptroller, bound to a specific deployed contract.

type BenqiComptrollerRaw

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

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

func (*BenqiComptrollerRaw) Call

func (_BenqiComptroller *BenqiComptrollerRaw) 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 (*BenqiComptrollerRaw) Transact

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

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

func (*BenqiComptrollerRaw) Transfer

func (_BenqiComptroller *BenqiComptrollerRaw) 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 BenqiComptrollerSession

type BenqiComptrollerSession struct {
	Contract     *BenqiComptroller // 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
}

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

func (*BenqiComptrollerSession) AccountAssets

func (_BenqiComptroller *BenqiComptrollerSession) AccountAssets(arg0 common.Address, arg1 *big.Int) (common.Address, error)

AccountAssets is a free data retrieval call binding the contract method 0xdce15449.

Solidity: function accountAssets(address , uint256 ) view returns(address)

func (*BenqiComptrollerSession) Admin

func (_BenqiComptroller *BenqiComptrollerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*BenqiComptrollerSession) AllMarkets

func (_BenqiComptroller *BenqiComptrollerSession) AllMarkets(arg0 *big.Int) (common.Address, error)

AllMarkets is a free data retrieval call binding the contract method 0x52d84d1e.

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

func (*BenqiComptrollerSession) BorrowAllowed

func (_BenqiComptroller *BenqiComptrollerSession) BorrowAllowed(qiToken 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 qiToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*BenqiComptrollerSession) BorrowCapGuardian

func (_BenqiComptroller *BenqiComptrollerSession) BorrowCapGuardian() (common.Address, error)

BorrowCapGuardian is a free data retrieval call binding the contract method 0x21af4569.

Solidity: function borrowCapGuardian() view returns(address)

func (*BenqiComptrollerSession) BorrowCaps

func (_BenqiComptroller *BenqiComptrollerSession) BorrowCaps(arg0 common.Address) (*big.Int, error)

BorrowCaps is a free data retrieval call binding the contract method 0x4a584432.

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

func (*BenqiComptrollerSession) BorrowGuardianPaused

func (_BenqiComptroller *BenqiComptrollerSession) BorrowGuardianPaused(arg0 common.Address) (bool, error)

BorrowGuardianPaused is a free data retrieval call binding the contract method 0x6d154ea5.

Solidity: function borrowGuardianPaused(address ) view returns(bool)

func (*BenqiComptrollerSession) BorrowRewardSpeeds

func (_BenqiComptroller *BenqiComptrollerSession) BorrowRewardSpeeds(arg0 uint8, arg1 common.Address) (*big.Int, error)

BorrowRewardSpeeds is a free data retrieval call binding the contract method 0xc376fada.

Solidity: function borrowRewardSpeeds(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerSession) BorrowVerify

func (_BenqiComptroller *BenqiComptrollerSession) BorrowVerify(qiToken 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 qiToken, address borrower, uint256 borrowAmount) returns()

func (*BenqiComptrollerSession) CheckMembership

func (_BenqiComptroller *BenqiComptrollerSession) CheckMembership(account common.Address, qiToken common.Address) (bool, error)

CheckMembership is a free data retrieval call binding the contract method 0x929fe9a1.

Solidity: function checkMembership(address account, address qiToken) view returns(bool)

func (*BenqiComptrollerSession) ClaimReward

func (_BenqiComptroller *BenqiComptrollerSession) ClaimReward(rewardType uint8, holder common.Address) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0x0952c563.

Solidity: function claimReward(uint8 rewardType, address holder) returns()

func (*BenqiComptrollerSession) ClaimReward0

func (_BenqiComptroller *BenqiComptrollerSession) ClaimReward0(rewardType uint8, holder common.Address, qiTokens []common.Address) (*types.Transaction, error)

ClaimReward0 is a paid mutator transaction binding the contract method 0x744532ae.

Solidity: function claimReward(uint8 rewardType, address holder, address[] qiTokens) returns()

func (*BenqiComptrollerSession) ClaimReward1

func (_BenqiComptroller *BenqiComptrollerSession) ClaimReward1(rewardType uint8, holders []common.Address, qiTokens []common.Address, borrowers bool, suppliers bool) (*types.Transaction, error)

ClaimReward1 is a paid mutator transaction binding the contract method 0x8805714b.

Solidity: function claimReward(uint8 rewardType, address[] holders, address[] qiTokens, bool borrowers, bool suppliers) payable returns()

func (*BenqiComptrollerSession) CloseFactorMantissa

func (_BenqiComptroller *BenqiComptrollerSession) CloseFactorMantissa() (*big.Int, error)

CloseFactorMantissa is a free data retrieval call binding the contract method 0xe8755446.

Solidity: function closeFactorMantissa() view returns(uint256)

func (*BenqiComptrollerSession) ComptrollerImplementation

func (_BenqiComptroller *BenqiComptrollerSession) ComptrollerImplementation() (common.Address, error)

ComptrollerImplementation is a free data retrieval call binding the contract method 0xbb82aa5e.

Solidity: function comptrollerImplementation() view returns(address)

func (*BenqiComptrollerSession) EnterMarkets

func (_BenqiComptroller *BenqiComptrollerSession) EnterMarkets(qiTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] qiTokens) returns(uint256[])

func (*BenqiComptrollerSession) ExitMarket

func (_BenqiComptroller *BenqiComptrollerSession) ExitMarket(qiTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address qiTokenAddress) returns(uint256)

func (*BenqiComptrollerSession) GetAccountLiquidity

func (_BenqiComptroller *BenqiComptrollerSession) GetAccountLiquidity(account common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAccountLiquidity is a free data retrieval call binding the contract method 0x5ec88c79.

Solidity: function getAccountLiquidity(address account) view returns(uint256, uint256, uint256)

func (*BenqiComptrollerSession) GetAllMarkets

func (_BenqiComptroller *BenqiComptrollerSession) GetAllMarkets() ([]common.Address, error)

GetAllMarkets is a free data retrieval call binding the contract method 0xb0772d0b.

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

func (*BenqiComptrollerSession) GetAssetsIn

func (_BenqiComptroller *BenqiComptrollerSession) GetAssetsIn(account common.Address) ([]common.Address, error)

GetAssetsIn is a free data retrieval call binding the contract method 0xabfceffc.

Solidity: function getAssetsIn(address account) view returns(address[])

func (*BenqiComptrollerSession) GetBlockTimestamp

func (_BenqiComptroller *BenqiComptrollerSession) GetBlockTimestamp() (*big.Int, error)

GetBlockTimestamp is a free data retrieval call binding the contract method 0x796b89b9.

Solidity: function getBlockTimestamp() view returns(uint256)

func (*BenqiComptrollerSession) GetHypotheticalAccountLiquidity

func (_BenqiComptroller *BenqiComptrollerSession) GetHypotheticalAccountLiquidity(account common.Address, qiTokenModify common.Address, redeemTokens *big.Int, borrowAmount *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetHypotheticalAccountLiquidity is a free data retrieval call binding the contract method 0x4e79238f.

Solidity: function getHypotheticalAccountLiquidity(address account, address qiTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns(uint256, uint256, uint256)

func (*BenqiComptrollerSession) InitialIndexConstant

func (_BenqiComptroller *BenqiComptrollerSession) InitialIndexConstant() (*big.Int, error)

InitialIndexConstant is a free data retrieval call binding the contract method 0xed302dfd.

Solidity: function initialIndexConstant() view returns(uint224)

func (*BenqiComptrollerSession) IsComptroller

func (_BenqiComptroller *BenqiComptrollerSession) IsComptroller() (bool, error)

IsComptroller is a free data retrieval call binding the contract method 0x007e3dd2.

Solidity: function isComptroller() view returns(bool)

func (*BenqiComptrollerSession) LiquidateBorrowAllowed

func (_BenqiComptroller *BenqiComptrollerSession) LiquidateBorrowAllowed(qiTokenBorrowed common.Address, qiTokenCollateral 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 qiTokenBorrowed, address qiTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*BenqiComptrollerSession) LiquidateBorrowVerify

func (_BenqiComptroller *BenqiComptrollerSession) LiquidateBorrowVerify(qiTokenBorrowed common.Address, qiTokenCollateral common.Address, liquidator common.Address, borrower common.Address, actualRepayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address qiTokenBorrowed, address qiTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens) returns()

func (*BenqiComptrollerSession) LiquidateCalculateSeizeTokens

func (_BenqiComptroller *BenqiComptrollerSession) LiquidateCalculateSeizeTokens(qiTokenBorrowed common.Address, qiTokenCollateral common.Address, actualRepayAmount *big.Int) (*big.Int, *big.Int, error)

LiquidateCalculateSeizeTokens is a free data retrieval call binding the contract method 0xc488847b.

Solidity: function liquidateCalculateSeizeTokens(address qiTokenBorrowed, address qiTokenCollateral, uint256 actualRepayAmount) view returns(uint256, uint256)

func (*BenqiComptrollerSession) LiquidationIncentiveMantissa

func (_BenqiComptroller *BenqiComptrollerSession) LiquidationIncentiveMantissa() (*big.Int, error)

LiquidationIncentiveMantissa is a free data retrieval call binding the contract method 0x4ada90af.

Solidity: function liquidationIncentiveMantissa() view returns(uint256)

func (*BenqiComptrollerSession) Markets

func (_BenqiComptroller *BenqiComptrollerSession) Markets(arg0 common.Address) (struct {
	IsListed                 bool
	CollateralFactorMantissa *big.Int
	IsQied                   bool
}, error)

Markets is a free data retrieval call binding the contract method 0x8e8f294b.

Solidity: function markets(address ) view returns(bool isListed, uint256 collateralFactorMantissa, bool isQied)

func (*BenqiComptrollerSession) MaxAssets

func (_BenqiComptroller *BenqiComptrollerSession) MaxAssets() (*big.Int, error)

MaxAssets is a free data retrieval call binding the contract method 0x94b2294b.

Solidity: function maxAssets() view returns(uint256)

func (*BenqiComptrollerSession) MintAllowed

func (_BenqiComptroller *BenqiComptrollerSession) MintAllowed(qiToken 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 qiToken, address minter, uint256 mintAmount) returns(uint256)

func (*BenqiComptrollerSession) MintGuardianPaused

func (_BenqiComptroller *BenqiComptrollerSession) MintGuardianPaused(arg0 common.Address) (bool, error)

MintGuardianPaused is a free data retrieval call binding the contract method 0x731f0c2b.

Solidity: function mintGuardianPaused(address ) view returns(bool)

func (*BenqiComptrollerSession) MintVerify

func (_BenqiComptroller *BenqiComptrollerSession) MintVerify(qiToken common.Address, minter common.Address, actualMintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address qiToken, address minter, uint256 actualMintAmount, uint256 mintTokens) returns()

func (*BenqiComptrollerSession) Oracle

func (_BenqiComptroller *BenqiComptrollerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BenqiComptrollerSession) PauseGuardian

func (_BenqiComptroller *BenqiComptrollerSession) PauseGuardian() (common.Address, error)

PauseGuardian is a free data retrieval call binding the contract method 0x24a3d622.

Solidity: function pauseGuardian() view returns(address)

func (*BenqiComptrollerSession) PendingAdmin

func (_BenqiComptroller *BenqiComptrollerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*BenqiComptrollerSession) PendingComptrollerImplementation

func (_BenqiComptroller *BenqiComptrollerSession) PendingComptrollerImplementation() (common.Address, error)

PendingComptrollerImplementation is a free data retrieval call binding the contract method 0xdcfbc0c7.

Solidity: function pendingComptrollerImplementation() view returns(address)

func (*BenqiComptrollerSession) QiAddress

func (_BenqiComptroller *BenqiComptrollerSession) QiAddress() (common.Address, error)

QiAddress is a free data retrieval call binding the contract method 0x26d71f1e.

Solidity: function qiAddress() view returns(address)

func (*BenqiComptrollerSession) RedeemAllowed

func (_BenqiComptroller *BenqiComptrollerSession) RedeemAllowed(qiToken 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 qiToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*BenqiComptrollerSession) RedeemVerify

func (_BenqiComptroller *BenqiComptrollerSession) RedeemVerify(qiToken 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 qiToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*BenqiComptrollerSession) RepayBorrowAllowed

func (_BenqiComptroller *BenqiComptrollerSession) RepayBorrowAllowed(qiToken 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 qiToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*BenqiComptrollerSession) RepayBorrowVerify

func (_BenqiComptroller *BenqiComptrollerSession) RepayBorrowVerify(qiToken common.Address, payer common.Address, borrower common.Address, actualRepayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address qiToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex) returns()

func (*BenqiComptrollerSession) RewardAccrued

func (_BenqiComptroller *BenqiComptrollerSession) RewardAccrued(arg0 uint8, arg1 common.Address) (*big.Int, error)

RewardAccrued is a free data retrieval call binding the contract method 0x05b9783d.

Solidity: function rewardAccrued(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerSession) RewardAvax

func (_BenqiComptroller *BenqiComptrollerSession) RewardAvax() (uint8, error)

RewardAvax is a free data retrieval call binding the contract method 0x0b8d87df.

Solidity: function rewardAvax() view returns(uint8)

func (*BenqiComptrollerSession) RewardBorrowState

func (_BenqiComptroller *BenqiComptrollerSession) RewardBorrowState(arg0 uint8, arg1 common.Address) (struct {
	Index     *big.Int
	Timestamp uint32
}, error)

RewardBorrowState is a free data retrieval call binding the contract method 0x4b3a0a74.

Solidity: function rewardBorrowState(uint8 , address ) view returns(uint224 index, uint32 timestamp)

func (*BenqiComptrollerSession) RewardBorrowerIndex

func (_BenqiComptroller *BenqiComptrollerSession) RewardBorrowerIndex(arg0 uint8, arg1 common.Address, arg2 common.Address) (*big.Int, error)

RewardBorrowerIndex is a free data retrieval call binding the contract method 0x7937969d.

Solidity: function rewardBorrowerIndex(uint8 , address , address ) view returns(uint256)

func (*BenqiComptrollerSession) RewardQi

func (_BenqiComptroller *BenqiComptrollerSession) RewardQi() (uint8, error)

RewardQi is a free data retrieval call binding the contract method 0xceeca693.

Solidity: function rewardQi() view returns(uint8)

func (*BenqiComptrollerSession) RewardSupplierIndex

func (_BenqiComptroller *BenqiComptrollerSession) RewardSupplierIndex(arg0 uint8, arg1 common.Address, arg2 common.Address) (*big.Int, error)

RewardSupplierIndex is a free data retrieval call binding the contract method 0x88e972b8.

Solidity: function rewardSupplierIndex(uint8 , address , address ) view returns(uint256)

func (*BenqiComptrollerSession) RewardSupplyState

func (_BenqiComptroller *BenqiComptrollerSession) RewardSupplyState(arg0 uint8, arg1 common.Address) (struct {
	Index     *big.Int
	Timestamp uint32
}, error)

RewardSupplyState is a free data retrieval call binding the contract method 0xd81c5e45.

Solidity: function rewardSupplyState(uint8 , address ) view returns(uint224 index, uint32 timestamp)

func (*BenqiComptrollerSession) SeizeAllowed

func (_BenqiComptroller *BenqiComptrollerSession) SeizeAllowed(qiTokenCollateral common.Address, qiTokenBorrowed 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 qiTokenCollateral, address qiTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BenqiComptrollerSession) SeizeGuardianPaused

func (_BenqiComptroller *BenqiComptrollerSession) SeizeGuardianPaused() (bool, error)

SeizeGuardianPaused is a free data retrieval call binding the contract method 0xac0b0bb7.

Solidity: function seizeGuardianPaused() view returns(bool)

func (*BenqiComptrollerSession) SeizeVerify

func (_BenqiComptroller *BenqiComptrollerSession) SeizeVerify(qiTokenCollateral common.Address, qiTokenBorrowed 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 qiTokenCollateral, address qiTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*BenqiComptrollerSession) SupplyRewardSpeeds

func (_BenqiComptroller *BenqiComptrollerSession) SupplyRewardSpeeds(arg0 uint8, arg1 common.Address) (*big.Int, error)

SupplyRewardSpeeds is a free data retrieval call binding the contract method 0xcf9cfb61.

Solidity: function supplyRewardSpeeds(uint8 , address ) view returns(uint256)

func (*BenqiComptrollerSession) TransferAllowed

func (_BenqiComptroller *BenqiComptrollerSession) TransferAllowed(qiToken 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 qiToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*BenqiComptrollerSession) TransferGuardianPaused

func (_BenqiComptroller *BenqiComptrollerSession) TransferGuardianPaused() (bool, error)

TransferGuardianPaused is a free data retrieval call binding the contract method 0x87f76303.

Solidity: function transferGuardianPaused() view returns(bool)

func (*BenqiComptrollerSession) TransferVerify

func (_BenqiComptroller *BenqiComptrollerSession) TransferVerify(qiToken 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 qiToken, address src, address dst, uint256 transferTokens) returns()

type BenqiComptrollerTransactor

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

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

func NewBenqiComptrollerTransactor

func NewBenqiComptrollerTransactor(address common.Address, transactor bind.ContractTransactor) (*BenqiComptrollerTransactor, error)

NewBenqiComptrollerTransactor creates a new write-only instance of BenqiComptroller, bound to a specific deployed contract.

func (*BenqiComptrollerTransactor) BorrowAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) BorrowAllowed(opts *bind.TransactOpts, qiToken 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 qiToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*BenqiComptrollerTransactor) BorrowVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) BorrowVerify(opts *bind.TransactOpts, qiToken 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 qiToken, address borrower, uint256 borrowAmount) returns()

func (*BenqiComptrollerTransactor) ClaimReward

func (_BenqiComptroller *BenqiComptrollerTransactor) ClaimReward(opts *bind.TransactOpts, rewardType uint8, holder common.Address) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0x0952c563.

Solidity: function claimReward(uint8 rewardType, address holder) returns()

func (*BenqiComptrollerTransactor) ClaimReward0

func (_BenqiComptroller *BenqiComptrollerTransactor) ClaimReward0(opts *bind.TransactOpts, rewardType uint8, holder common.Address, qiTokens []common.Address) (*types.Transaction, error)

ClaimReward0 is a paid mutator transaction binding the contract method 0x744532ae.

Solidity: function claimReward(uint8 rewardType, address holder, address[] qiTokens) returns()

func (*BenqiComptrollerTransactor) ClaimReward1

func (_BenqiComptroller *BenqiComptrollerTransactor) ClaimReward1(opts *bind.TransactOpts, rewardType uint8, holders []common.Address, qiTokens []common.Address, borrowers bool, suppliers bool) (*types.Transaction, error)

ClaimReward1 is a paid mutator transaction binding the contract method 0x8805714b.

Solidity: function claimReward(uint8 rewardType, address[] holders, address[] qiTokens, bool borrowers, bool suppliers) payable returns()

func (*BenqiComptrollerTransactor) EnterMarkets

func (_BenqiComptroller *BenqiComptrollerTransactor) EnterMarkets(opts *bind.TransactOpts, qiTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] qiTokens) returns(uint256[])

func (*BenqiComptrollerTransactor) ExitMarket

func (_BenqiComptroller *BenqiComptrollerTransactor) ExitMarket(opts *bind.TransactOpts, qiTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address qiTokenAddress) returns(uint256)

func (*BenqiComptrollerTransactor) LiquidateBorrowAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) LiquidateBorrowAllowed(opts *bind.TransactOpts, qiTokenBorrowed common.Address, qiTokenCollateral 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 qiTokenBorrowed, address qiTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*BenqiComptrollerTransactor) LiquidateBorrowVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) LiquidateBorrowVerify(opts *bind.TransactOpts, qiTokenBorrowed common.Address, qiTokenCollateral common.Address, liquidator common.Address, borrower common.Address, actualRepayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address qiTokenBorrowed, address qiTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens) returns()

func (*BenqiComptrollerTransactor) MintAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) MintAllowed(opts *bind.TransactOpts, qiToken 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 qiToken, address minter, uint256 mintAmount) returns(uint256)

func (*BenqiComptrollerTransactor) MintVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) MintVerify(opts *bind.TransactOpts, qiToken common.Address, minter common.Address, actualMintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address qiToken, address minter, uint256 actualMintAmount, uint256 mintTokens) returns()

func (*BenqiComptrollerTransactor) RedeemAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) RedeemAllowed(opts *bind.TransactOpts, qiToken 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 qiToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*BenqiComptrollerTransactor) RedeemVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) RedeemVerify(opts *bind.TransactOpts, qiToken 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 qiToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*BenqiComptrollerTransactor) RepayBorrowAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) RepayBorrowAllowed(opts *bind.TransactOpts, qiToken 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 qiToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*BenqiComptrollerTransactor) RepayBorrowVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) RepayBorrowVerify(opts *bind.TransactOpts, qiToken common.Address, payer common.Address, borrower common.Address, actualRepayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address qiToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex) returns()

func (*BenqiComptrollerTransactor) SeizeAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) SeizeAllowed(opts *bind.TransactOpts, qiTokenCollateral common.Address, qiTokenBorrowed 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 qiTokenCollateral, address qiTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BenqiComptrollerTransactor) SeizeVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) SeizeVerify(opts *bind.TransactOpts, qiTokenCollateral common.Address, qiTokenBorrowed 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 qiTokenCollateral, address qiTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*BenqiComptrollerTransactor) TransferAllowed

func (_BenqiComptroller *BenqiComptrollerTransactor) TransferAllowed(opts *bind.TransactOpts, qiToken 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 qiToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*BenqiComptrollerTransactor) TransferVerify

func (_BenqiComptroller *BenqiComptrollerTransactor) TransferVerify(opts *bind.TransactOpts, qiToken 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 qiToken, address src, address dst, uint256 transferTokens) returns()

type BenqiComptrollerTransactorRaw

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

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

func (*BenqiComptrollerTransactorRaw) Transact

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

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

func (*BenqiComptrollerTransactorRaw) Transfer

func (_BenqiComptroller *BenqiComptrollerTransactorRaw) 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 BenqiComptrollerTransactorSession

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

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

func (*BenqiComptrollerTransactorSession) BorrowAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) BorrowAllowed(qiToken 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 qiToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*BenqiComptrollerTransactorSession) BorrowVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) BorrowVerify(qiToken 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 qiToken, address borrower, uint256 borrowAmount) returns()

func (*BenqiComptrollerTransactorSession) ClaimReward

func (_BenqiComptroller *BenqiComptrollerTransactorSession) ClaimReward(rewardType uint8, holder common.Address) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0x0952c563.

Solidity: function claimReward(uint8 rewardType, address holder) returns()

func (*BenqiComptrollerTransactorSession) ClaimReward0

func (_BenqiComptroller *BenqiComptrollerTransactorSession) ClaimReward0(rewardType uint8, holder common.Address, qiTokens []common.Address) (*types.Transaction, error)

ClaimReward0 is a paid mutator transaction binding the contract method 0x744532ae.

Solidity: function claimReward(uint8 rewardType, address holder, address[] qiTokens) returns()

func (*BenqiComptrollerTransactorSession) ClaimReward1

func (_BenqiComptroller *BenqiComptrollerTransactorSession) ClaimReward1(rewardType uint8, holders []common.Address, qiTokens []common.Address, borrowers bool, suppliers bool) (*types.Transaction, error)

ClaimReward1 is a paid mutator transaction binding the contract method 0x8805714b.

Solidity: function claimReward(uint8 rewardType, address[] holders, address[] qiTokens, bool borrowers, bool suppliers) payable returns()

func (*BenqiComptrollerTransactorSession) EnterMarkets

func (_BenqiComptroller *BenqiComptrollerTransactorSession) EnterMarkets(qiTokens []common.Address) (*types.Transaction, error)

EnterMarkets is a paid mutator transaction binding the contract method 0xc2998238.

Solidity: function enterMarkets(address[] qiTokens) returns(uint256[])

func (*BenqiComptrollerTransactorSession) ExitMarket

func (_BenqiComptroller *BenqiComptrollerTransactorSession) ExitMarket(qiTokenAddress common.Address) (*types.Transaction, error)

ExitMarket is a paid mutator transaction binding the contract method 0xede4edd0.

Solidity: function exitMarket(address qiTokenAddress) returns(uint256)

func (*BenqiComptrollerTransactorSession) LiquidateBorrowAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) LiquidateBorrowAllowed(qiTokenBorrowed common.Address, qiTokenCollateral 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 qiTokenBorrowed, address qiTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*BenqiComptrollerTransactorSession) LiquidateBorrowVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) LiquidateBorrowVerify(qiTokenBorrowed common.Address, qiTokenCollateral common.Address, liquidator common.Address, borrower common.Address, actualRepayAmount *big.Int, seizeTokens *big.Int) (*types.Transaction, error)

LiquidateBorrowVerify is a paid mutator transaction binding the contract method 0x47ef3b3b.

Solidity: function liquidateBorrowVerify(address qiTokenBorrowed, address qiTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens) returns()

func (*BenqiComptrollerTransactorSession) MintAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) MintAllowed(qiToken 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 qiToken, address minter, uint256 mintAmount) returns(uint256)

func (*BenqiComptrollerTransactorSession) MintVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) MintVerify(qiToken common.Address, minter common.Address, actualMintAmount *big.Int, mintTokens *big.Int) (*types.Transaction, error)

MintVerify is a paid mutator transaction binding the contract method 0x41c728b9.

Solidity: function mintVerify(address qiToken, address minter, uint256 actualMintAmount, uint256 mintTokens) returns()

func (*BenqiComptrollerTransactorSession) RedeemAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) RedeemAllowed(qiToken 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 qiToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*BenqiComptrollerTransactorSession) RedeemVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) RedeemVerify(qiToken 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 qiToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*BenqiComptrollerTransactorSession) RepayBorrowAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) RepayBorrowAllowed(qiToken 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 qiToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*BenqiComptrollerTransactorSession) RepayBorrowVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) RepayBorrowVerify(qiToken common.Address, payer common.Address, borrower common.Address, actualRepayAmount *big.Int, borrowerIndex *big.Int) (*types.Transaction, error)

RepayBorrowVerify is a paid mutator transaction binding the contract method 0x1ededc91.

Solidity: function repayBorrowVerify(address qiToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex) returns()

func (*BenqiComptrollerTransactorSession) SeizeAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) SeizeAllowed(qiTokenCollateral common.Address, qiTokenBorrowed 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 qiTokenCollateral, address qiTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*BenqiComptrollerTransactorSession) SeizeVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) SeizeVerify(qiTokenCollateral common.Address, qiTokenBorrowed 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 qiTokenCollateral, address qiTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*BenqiComptrollerTransactorSession) TransferAllowed

func (_BenqiComptroller *BenqiComptrollerTransactorSession) TransferAllowed(qiToken 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 qiToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*BenqiComptrollerTransactorSession) TransferVerify

func (_BenqiComptroller *BenqiComptrollerTransactorSession) TransferVerify(qiToken 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 qiToken, address src, address dst, uint256 transferTokens) returns()

Jump to

Keyboard shortcuts

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