traderjoeComptroller

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TraderjoeComptrollerABI = TraderjoeComptrollerMetaData.ABI

TraderjoeComptrollerABI is the input ABI used to generate the binding from. Deprecated: Use TraderjoeComptrollerMetaData.ABI instead.

View Source
var TraderjoeComptrollerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"_acceptAdmin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_acceptImplementation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"_setPendingAdmin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPendingImplementation\",\"type\":\"address\"}],\"name\":\"_setPendingImplementation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"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\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"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\":\"jToken\",\"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\":\"jTokens\",\"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\":\"jTokens\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"borrowers\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"suppliers\",\"type\":\"bool\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"jTokens\",\"type\":\"address[]\"}],\"name\":\"enterMarkets\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"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\":\"user\",\"type\":\"address\"}],\"name\":\"getAssetsIn\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jTokenCollateral\",\"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\":\"jTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"liquidateBorrowVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jTokenBorrowed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"liquidateCalculateSeizeTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"type\":\"address\"}],\"name\":\"markets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"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\":\"jToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"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\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"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\":\"jToken\",\"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\":\"jToken\",\"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\":\"jToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowerIndex\",\"type\":\"uint256\"}],\"name\":\"repayBorrowVerify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"jTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jTokenBorrowed\",\"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\":[{\"internalType\":\"address\",\"name\":\"jTokenCollateral\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"jTokenBorrowed\",\"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\":\"address\",\"name\":\"jToken\",\"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\":[{\"internalType\":\"address\",\"name\":\"jToken\",\"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\"}]",
}

TraderjoeComptrollerMetaData contains all meta data concerning the TraderjoeComptroller contract.

Functions

This section is empty.

Types

type TraderjoeComptroller

type TraderjoeComptroller struct {
	TraderjoeComptrollerCaller     // Read-only binding to the contract
	TraderjoeComptrollerTransactor // Write-only binding to the contract
	TraderjoeComptrollerFilterer   // Log filterer for contract events
}

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

func NewTraderjoeComptroller

func NewTraderjoeComptroller(address common.Address, backend bind.ContractBackend) (*TraderjoeComptroller, error)

NewTraderjoeComptroller creates a new instance of TraderjoeComptroller, bound to a specific deployed contract.

type TraderjoeComptrollerCaller

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

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

func NewTraderjoeComptrollerCaller

func NewTraderjoeComptrollerCaller(address common.Address, caller bind.ContractCaller) (*TraderjoeComptrollerCaller, error)

NewTraderjoeComptrollerCaller creates a new read-only instance of TraderjoeComptroller, bound to a specific deployed contract.

func (*TraderjoeComptrollerCaller) Admin

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) 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 (*TraderjoeComptrollerCaller) CheckMembership

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) CheckMembership(opts *bind.CallOpts, account common.Address, jToken common.Address) (bool, error)

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

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

func (*TraderjoeComptrollerCaller) GetAccountLiquidity

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) 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 (*TraderjoeComptrollerCaller) GetAllMarkets

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) 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 (*TraderjoeComptrollerCaller) GetAssetsIn

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) GetAssetsIn(opts *bind.CallOpts, user common.Address) ([]common.Address, error)

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

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

func (*TraderjoeComptrollerCaller) Implementation

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*TraderjoeComptrollerCaller) LiquidateCalculateSeizeTokens

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) LiquidateCalculateSeizeTokens(opts *bind.CallOpts, jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, uint256 repayAmount) view returns(uint256, uint256)

func (*TraderjoeComptrollerCaller) Markets

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) Markets(opts *bind.CallOpts, jToken common.Address) (bool, *big.Int, uint8, error)

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

Solidity: function markets(address jToken) view returns(bool, uint256, uint8)

func (*TraderjoeComptrollerCaller) Oracle

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) 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 (*TraderjoeComptrollerCaller) PendingAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) 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 (*TraderjoeComptrollerCaller) PendingImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerCaller) PendingImplementation(opts *bind.CallOpts) (common.Address, error)

PendingImplementation is a free data retrieval call binding the contract method 0x396f7b23.

Solidity: function pendingImplementation() view returns(address)

type TraderjoeComptrollerCallerRaw

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

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

func (*TraderjoeComptrollerCallerRaw) Call

func (_TraderjoeComptroller *TraderjoeComptrollerCallerRaw) 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 TraderjoeComptrollerCallerSession

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

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

func (*TraderjoeComptrollerCallerSession) Admin

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*TraderjoeComptrollerCallerSession) CheckMembership

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) CheckMembership(account common.Address, jToken common.Address) (bool, error)

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

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

func (*TraderjoeComptrollerCallerSession) GetAccountLiquidity

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) 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 (*TraderjoeComptrollerCallerSession) GetAllMarkets

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) GetAllMarkets() ([]common.Address, error)

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

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

func (*TraderjoeComptrollerCallerSession) GetAssetsIn

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) GetAssetsIn(user common.Address) ([]common.Address, error)

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

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

func (*TraderjoeComptrollerCallerSession) Implementation

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*TraderjoeComptrollerCallerSession) LiquidateCalculateSeizeTokens

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) LiquidateCalculateSeizeTokens(jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, uint256 repayAmount) view returns(uint256, uint256)

func (*TraderjoeComptrollerCallerSession) Markets

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) Markets(jToken common.Address) (bool, *big.Int, uint8, error)

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

Solidity: function markets(address jToken) view returns(bool, uint256, uint8)

func (*TraderjoeComptrollerCallerSession) Oracle

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) Oracle() (common.Address, error)

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

Solidity: function oracle() view returns(address)

func (*TraderjoeComptrollerCallerSession) PendingAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*TraderjoeComptrollerCallerSession) PendingImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerCallerSession) PendingImplementation() (common.Address, error)

PendingImplementation is a free data retrieval call binding the contract method 0x396f7b23.

Solidity: function pendingImplementation() view returns(address)

type TraderjoeComptrollerFilterer

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

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

func NewTraderjoeComptrollerFilterer

func NewTraderjoeComptrollerFilterer(address common.Address, filterer bind.ContractFilterer) (*TraderjoeComptrollerFilterer, error)

NewTraderjoeComptrollerFilterer creates a new log filterer instance of TraderjoeComptroller, bound to a specific deployed contract.

type TraderjoeComptrollerRaw

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

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

func (*TraderjoeComptrollerRaw) Call

func (_TraderjoeComptroller *TraderjoeComptrollerRaw) 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 (*TraderjoeComptrollerRaw) Transact

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

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

func (*TraderjoeComptrollerRaw) Transfer

func (_TraderjoeComptroller *TraderjoeComptrollerRaw) 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 TraderjoeComptrollerSession

type TraderjoeComptrollerSession struct {
	Contract     *TraderjoeComptroller // 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
}

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

func (*TraderjoeComptrollerSession) AcceptAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*TraderjoeComptrollerSession) AcceptImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerSession) AcceptImplementation() (*types.Transaction, error)

AcceptImplementation is a paid mutator transaction binding the contract method 0xc1e80334.

Solidity: function _acceptImplementation() returns(uint256)

func (*TraderjoeComptrollerSession) Admin

func (_TraderjoeComptroller *TraderjoeComptrollerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*TraderjoeComptrollerSession) BorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) BorrowAllowed(jToken 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 jToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*TraderjoeComptrollerSession) BorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) BorrowVerify(jToken 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 jToken, address borrower, uint256 borrowAmount) returns()

func (*TraderjoeComptrollerSession) CheckMembership

func (_TraderjoeComptroller *TraderjoeComptrollerSession) CheckMembership(account common.Address, jToken common.Address) (bool, error)

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

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

func (*TraderjoeComptrollerSession) ClaimReward

func (_TraderjoeComptroller *TraderjoeComptrollerSession) 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 (*TraderjoeComptrollerSession) ClaimReward0

func (_TraderjoeComptroller *TraderjoeComptrollerSession) ClaimReward0(rewardType uint8, holder common.Address, jTokens []common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerSession) ClaimReward1

func (_TraderjoeComptroller *TraderjoeComptrollerSession) ClaimReward1(rewardType uint8, holders []common.Address, jTokens []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[] jTokens, bool borrowers, bool suppliers) payable returns()

func (*TraderjoeComptrollerSession) EnterMarkets

func (_TraderjoeComptroller *TraderjoeComptrollerSession) EnterMarkets(jTokens []common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerSession) ExitMarket

func (_TraderjoeComptroller *TraderjoeComptrollerSession) ExitMarket(jToken common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerSession) GetAccountLiquidity

func (_TraderjoeComptroller *TraderjoeComptrollerSession) 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 (*TraderjoeComptrollerSession) GetAllMarkets

func (_TraderjoeComptroller *TraderjoeComptrollerSession) GetAllMarkets() ([]common.Address, error)

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

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

func (*TraderjoeComptrollerSession) GetAssetsIn

func (_TraderjoeComptroller *TraderjoeComptrollerSession) GetAssetsIn(user common.Address) ([]common.Address, error)

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

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

func (*TraderjoeComptrollerSession) Implementation

func (_TraderjoeComptroller *TraderjoeComptrollerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*TraderjoeComptrollerSession) LiquidateBorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) LiquidateBorrowAllowed(jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*TraderjoeComptrollerSession) LiquidateBorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) LiquidateBorrowVerify(jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*TraderjoeComptrollerSession) LiquidateCalculateSeizeTokens

func (_TraderjoeComptroller *TraderjoeComptrollerSession) LiquidateCalculateSeizeTokens(jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, uint256 repayAmount) view returns(uint256, uint256)

func (*TraderjoeComptrollerSession) Markets

func (_TraderjoeComptroller *TraderjoeComptrollerSession) Markets(jToken common.Address) (bool, *big.Int, uint8, error)

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

Solidity: function markets(address jToken) view returns(bool, uint256, uint8)

func (*TraderjoeComptrollerSession) MintAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) MintAllowed(jToken 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 jToken, address minter, uint256 mintAmount) returns(uint256)

func (*TraderjoeComptrollerSession) MintVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) MintVerify(jToken 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 jToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*TraderjoeComptrollerSession) Oracle

func (_TraderjoeComptroller *TraderjoeComptrollerSession) Oracle() (common.Address, error)

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

Solidity: function oracle() view returns(address)

func (*TraderjoeComptrollerSession) PendingAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*TraderjoeComptrollerSession) PendingImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerSession) PendingImplementation() (common.Address, error)

PendingImplementation is a free data retrieval call binding the contract method 0x396f7b23.

Solidity: function pendingImplementation() view returns(address)

func (*TraderjoeComptrollerSession) RedeemAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) RedeemAllowed(jToken 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 jToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*TraderjoeComptrollerSession) RedeemVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) RedeemVerify(jToken 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 jToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*TraderjoeComptrollerSession) RepayBorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) RepayBorrowAllowed(jToken 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 jToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*TraderjoeComptrollerSession) RepayBorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) RepayBorrowVerify(jToken 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 jToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*TraderjoeComptrollerSession) SeizeAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) SeizeAllowed(jTokenCollateral common.Address, jTokenBorrowed 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 jTokenCollateral, address jTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*TraderjoeComptrollerSession) SeizeVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) SeizeVerify(jTokenCollateral common.Address, jTokenBorrowed 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 jTokenCollateral, address jTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*TraderjoeComptrollerSession) SetPendingAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerSession) 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 (*TraderjoeComptrollerSession) SetPendingImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerSession) SetPendingImplementation(newPendingImplementation common.Address) (*types.Transaction, error)

SetPendingImplementation is a paid mutator transaction binding the contract method 0xe992a041.

Solidity: function _setPendingImplementation(address newPendingImplementation) returns(uint256)

func (*TraderjoeComptrollerSession) TransferAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerSession) TransferAllowed(jToken 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 jToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*TraderjoeComptrollerSession) TransferVerify

func (_TraderjoeComptroller *TraderjoeComptrollerSession) TransferVerify(jToken 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 jToken, address src, address dst, uint256 transferTokens) returns()

type TraderjoeComptrollerTransactor

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

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

func NewTraderjoeComptrollerTransactor

func NewTraderjoeComptrollerTransactor(address common.Address, transactor bind.ContractTransactor) (*TraderjoeComptrollerTransactor, error)

NewTraderjoeComptrollerTransactor creates a new write-only instance of TraderjoeComptroller, bound to a specific deployed contract.

func (*TraderjoeComptrollerTransactor) AcceptAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*TraderjoeComptrollerTransactor) AcceptImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) AcceptImplementation(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptImplementation is a paid mutator transaction binding the contract method 0xc1e80334.

Solidity: function _acceptImplementation() returns(uint256)

func (*TraderjoeComptrollerTransactor) BorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) BorrowAllowed(opts *bind.TransactOpts, jToken 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 jToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*TraderjoeComptrollerTransactor) BorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) BorrowVerify(opts *bind.TransactOpts, jToken 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 jToken, address borrower, uint256 borrowAmount) returns()

func (*TraderjoeComptrollerTransactor) ClaimReward

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) 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 (*TraderjoeComptrollerTransactor) ClaimReward0

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) ClaimReward0(opts *bind.TransactOpts, rewardType uint8, holder common.Address, jTokens []common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerTransactor) ClaimReward1

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) ClaimReward1(opts *bind.TransactOpts, rewardType uint8, holders []common.Address, jTokens []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[] jTokens, bool borrowers, bool suppliers) payable returns()

func (*TraderjoeComptrollerTransactor) EnterMarkets

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) EnterMarkets(opts *bind.TransactOpts, jTokens []common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerTransactor) ExitMarket

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) ExitMarket(opts *bind.TransactOpts, jToken common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerTransactor) LiquidateBorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) LiquidateBorrowAllowed(opts *bind.TransactOpts, jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*TraderjoeComptrollerTransactor) LiquidateBorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) LiquidateBorrowVerify(opts *bind.TransactOpts, jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*TraderjoeComptrollerTransactor) MintAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) MintAllowed(opts *bind.TransactOpts, jToken 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 jToken, address minter, uint256 mintAmount) returns(uint256)

func (*TraderjoeComptrollerTransactor) MintVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) MintVerify(opts *bind.TransactOpts, jToken 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 jToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*TraderjoeComptrollerTransactor) RedeemAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) RedeemAllowed(opts *bind.TransactOpts, jToken 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 jToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*TraderjoeComptrollerTransactor) RedeemVerify

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

func (*TraderjoeComptrollerTransactor) RepayBorrowAllowed

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

func (*TraderjoeComptrollerTransactor) RepayBorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) RepayBorrowVerify(opts *bind.TransactOpts, jToken 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 jToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*TraderjoeComptrollerTransactor) SeizeAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) SeizeAllowed(opts *bind.TransactOpts, jTokenCollateral common.Address, jTokenBorrowed 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 jTokenCollateral, address jTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*TraderjoeComptrollerTransactor) SeizeVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) SeizeVerify(opts *bind.TransactOpts, jTokenCollateral common.Address, jTokenBorrowed 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 jTokenCollateral, address jTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*TraderjoeComptrollerTransactor) SetPendingAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) 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 (*TraderjoeComptrollerTransactor) SetPendingImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerTransactor) SetPendingImplementation(opts *bind.TransactOpts, newPendingImplementation common.Address) (*types.Transaction, error)

SetPendingImplementation is a paid mutator transaction binding the contract method 0xe992a041.

Solidity: function _setPendingImplementation(address newPendingImplementation) returns(uint256)

func (*TraderjoeComptrollerTransactor) TransferAllowed

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

func (*TraderjoeComptrollerTransactor) TransferVerify

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

type TraderjoeComptrollerTransactorRaw

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

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

func (*TraderjoeComptrollerTransactorRaw) Transact

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

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

func (*TraderjoeComptrollerTransactorRaw) Transfer

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorRaw) 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 TraderjoeComptrollerTransactorSession

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

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

func (*TraderjoeComptrollerTransactorSession) AcceptAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*TraderjoeComptrollerTransactorSession) AcceptImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) AcceptImplementation() (*types.Transaction, error)

AcceptImplementation is a paid mutator transaction binding the contract method 0xc1e80334.

Solidity: function _acceptImplementation() returns(uint256)

func (*TraderjoeComptrollerTransactorSession) BorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) BorrowAllowed(jToken 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 jToken, address borrower, uint256 borrowAmount) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) BorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) BorrowVerify(jToken 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 jToken, address borrower, uint256 borrowAmount) returns()

func (*TraderjoeComptrollerTransactorSession) ClaimReward

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) 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 (*TraderjoeComptrollerTransactorSession) ClaimReward0

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) ClaimReward0(rewardType uint8, holder common.Address, jTokens []common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerTransactorSession) ClaimReward1

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) ClaimReward1(rewardType uint8, holders []common.Address, jTokens []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[] jTokens, bool borrowers, bool suppliers) payable returns()

func (*TraderjoeComptrollerTransactorSession) EnterMarkets

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) EnterMarkets(jTokens []common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerTransactorSession) ExitMarket

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) ExitMarket(jToken common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeComptrollerTransactorSession) LiquidateBorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) LiquidateBorrowAllowed(jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) LiquidateBorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) LiquidateBorrowVerify(jTokenBorrowed common.Address, jTokenCollateral 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 jTokenBorrowed, address jTokenCollateral, address liquidator, address borrower, uint256 repayAmount, uint256 seizeTokens) returns()

func (*TraderjoeComptrollerTransactorSession) MintAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) MintAllowed(jToken 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 jToken, address minter, uint256 mintAmount) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) MintVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) MintVerify(jToken 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 jToken, address minter, uint256 mintAmount, uint256 mintTokens) returns()

func (*TraderjoeComptrollerTransactorSession) RedeemAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) RedeemAllowed(jToken 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 jToken, address redeemer, uint256 redeemTokens) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) RedeemVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) RedeemVerify(jToken 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 jToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens) returns()

func (*TraderjoeComptrollerTransactorSession) RepayBorrowAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) RepayBorrowAllowed(jToken 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 jToken, address payer, address borrower, uint256 repayAmount) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) RepayBorrowVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) RepayBorrowVerify(jToken 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 jToken, address payer, address borrower, uint256 repayAmount, uint256 borrowerIndex) returns()

func (*TraderjoeComptrollerTransactorSession) SeizeAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) SeizeAllowed(jTokenCollateral common.Address, jTokenBorrowed 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 jTokenCollateral, address jTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) SeizeVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) SeizeVerify(jTokenCollateral common.Address, jTokenBorrowed 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 jTokenCollateral, address jTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns()

func (*TraderjoeComptrollerTransactorSession) SetPendingAdmin

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) 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 (*TraderjoeComptrollerTransactorSession) SetPendingImplementation

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) SetPendingImplementation(newPendingImplementation common.Address) (*types.Transaction, error)

SetPendingImplementation is a paid mutator transaction binding the contract method 0xe992a041.

Solidity: function _setPendingImplementation(address newPendingImplementation) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) TransferAllowed

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) TransferAllowed(jToken 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 jToken, address src, address dst, uint256 transferTokens) returns(uint256)

func (*TraderjoeComptrollerTransactorSession) TransferVerify

func (_TraderjoeComptroller *TraderjoeComptrollerTransactorSession) TransferVerify(jToken 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 jToken, 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