traderjoeCToken

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TraderjoeCTokenABI = TraderjoeCTokenMetaData.ABI

TraderjoeCTokenABI is the input ABI used to generate the binding from. Deprecated: Use TraderjoeCTokenMetaData.ABI instead.

View Source
var TraderjoeCTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"_acceptAdmin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"addAmount\",\"type\":\"uint256\"}],\"name\":\"_addReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"reduceAmount\",\"type\":\"uint256\"}],\"name\":\"_reduceReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newCollateralCap\",\"type\":\"uint256\"}],\"name\":\"_setCollateralCap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowResign\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"becomeImplementationData\",\"type\":\"bytes\"}],\"name\":\"_setImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newInterestRateModel\",\"type\":\"address\"}],\"name\":\"_setInterestRateModel\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newJoetroller\",\"type\":\"address\"}],\"name\":\"_setJoetroller\",\"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\":\"uint256\",\"name\":\"newReserveFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"_setReserveFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"accountCollateralTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accrualBlockTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accrueInterest\",\"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\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOfUnderlying\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"borrowBalanceCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"borrowBalanceStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"borrowIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"borrowRatePerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"delegateToImplementation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"delegateToViewImplementation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exchangeRateCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exchangeRateStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"flashFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"flashFeeBips\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"initiator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flashLoan\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gulp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interestRateModel\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"internalCash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isCollateralTokenInit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isJToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"joetroller\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"jTokenCollateral\",\"type\":\"address\"}],\"name\":\"liquidateBorrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"redeemTokens\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"redeemAmount\",\"type\":\"uint256\"}],\"name\":\"redeemUnderlying\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"registerCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBorrowBehalf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reserveFactorMantissa\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"liquidator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"seizeTokens\",\"type\":\"uint256\"}],\"name\":\"seize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"supplyRatePerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBorrows\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBorrowsCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalCollateralTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalReserves\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"unregisterCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TraderjoeCTokenMetaData contains all meta data concerning the TraderjoeCToken contract.

Functions

This section is empty.

Types

type TraderjoeCToken

type TraderjoeCToken struct {
	TraderjoeCTokenCaller     // Read-only binding to the contract
	TraderjoeCTokenTransactor // Write-only binding to the contract
	TraderjoeCTokenFilterer   // Log filterer for contract events
}

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

func NewTraderjoeCToken

func NewTraderjoeCToken(address common.Address, backend bind.ContractBackend) (*TraderjoeCToken, error)

NewTraderjoeCToken creates a new instance of TraderjoeCToken, bound to a specific deployed contract.

type TraderjoeCTokenCaller

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

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

func NewTraderjoeCTokenCaller

func NewTraderjoeCTokenCaller(address common.Address, caller bind.ContractCaller) (*TraderjoeCTokenCaller, error)

NewTraderjoeCTokenCaller creates a new read-only instance of TraderjoeCToken, bound to a specific deployed contract.

func (*TraderjoeCTokenCaller) AccountCollateralTokens

func (_TraderjoeCToken *TraderjoeCTokenCaller) AccountCollateralTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AccountCollateralTokens is a free data retrieval call binding the contract method 0xd240d64a.

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

func (*TraderjoeCTokenCaller) AccrualBlockTimestamp

func (_TraderjoeCToken *TraderjoeCTokenCaller) AccrualBlockTimestamp(opts *bind.CallOpts) (*big.Int, error)

AccrualBlockTimestamp is a free data retrieval call binding the contract method 0xcfa99201.

Solidity: function accrualBlockTimestamp() view returns(uint256)

func (*TraderjoeCTokenCaller) Admin

func (_TraderjoeCToken *TraderjoeCTokenCaller) 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 (*TraderjoeCTokenCaller) Allowance

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

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

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

func (*TraderjoeCTokenCaller) BalanceOf

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

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

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

func (*TraderjoeCTokenCaller) BorrowBalanceStored

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

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

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

func (*TraderjoeCTokenCaller) BorrowIndex

func (_TraderjoeCToken *TraderjoeCTokenCaller) BorrowIndex(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*TraderjoeCTokenCaller) BorrowRatePerSecond

func (_TraderjoeCToken *TraderjoeCTokenCaller) BorrowRatePerSecond(opts *bind.CallOpts) (*big.Int, error)

BorrowRatePerSecond is a free data retrieval call binding the contract method 0x52609750.

Solidity: function borrowRatePerSecond() view returns(uint256)

func (*TraderjoeCTokenCaller) CollateralCap

func (_TraderjoeCToken *TraderjoeCTokenCaller) CollateralCap(opts *bind.CallOpts) (*big.Int, error)

CollateralCap is a free data retrieval call binding the contract method 0xd2bb18e9.

Solidity: function collateralCap() view returns(uint256)

func (*TraderjoeCTokenCaller) Decimals

func (_TraderjoeCToken *TraderjoeCTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TraderjoeCTokenCaller) DelegateToViewImplementation

func (_TraderjoeCToken *TraderjoeCTokenCaller) DelegateToViewImplementation(opts *bind.CallOpts, data []byte) ([]byte, error)

DelegateToViewImplementation is a free data retrieval call binding the contract method 0x4487152f.

Solidity: function delegateToViewImplementation(bytes data) view returns(bytes)

func (*TraderjoeCTokenCaller) ExchangeRateStored

func (_TraderjoeCToken *TraderjoeCTokenCaller) ExchangeRateStored(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*TraderjoeCTokenCaller) FlashFee

func (_TraderjoeCToken *TraderjoeCTokenCaller) FlashFee(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xa7af467a.

Solidity: function flashFee(uint256 amount) view returns(uint256)

func (*TraderjoeCTokenCaller) FlashFeeBips

func (_TraderjoeCToken *TraderjoeCTokenCaller) FlashFeeBips(opts *bind.CallOpts) (*big.Int, error)

FlashFeeBips is a free data retrieval call binding the contract method 0xea11eea4.

Solidity: function flashFeeBips() view returns(uint256)

func (*TraderjoeCTokenCaller) GetAccountSnapshot

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

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

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

func (*TraderjoeCTokenCaller) GetCash

func (_TraderjoeCToken *TraderjoeCTokenCaller) GetCash(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*TraderjoeCTokenCaller) Implementation

func (_TraderjoeCToken *TraderjoeCTokenCaller) 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 (*TraderjoeCTokenCaller) InterestRateModel

func (_TraderjoeCToken *TraderjoeCTokenCaller) InterestRateModel(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*TraderjoeCTokenCaller) InternalCash

func (_TraderjoeCToken *TraderjoeCTokenCaller) InternalCash(opts *bind.CallOpts) (*big.Int, error)

InternalCash is a free data retrieval call binding the contract method 0x22abdbf5.

Solidity: function internalCash() view returns(uint256)

func (*TraderjoeCTokenCaller) IsCollateralTokenInit

func (_TraderjoeCToken *TraderjoeCTokenCaller) IsCollateralTokenInit(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsCollateralTokenInit is a free data retrieval call binding the contract method 0x85d8a2e6.

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

func (*TraderjoeCTokenCaller) IsJToken

func (_TraderjoeCToken *TraderjoeCTokenCaller) IsJToken(opts *bind.CallOpts) (bool, error)

IsJToken is a free data retrieval call binding the contract method 0x406de0b6.

Solidity: function isJToken() view returns(bool)

func (*TraderjoeCTokenCaller) Joetroller

func (_TraderjoeCToken *TraderjoeCTokenCaller) Joetroller(opts *bind.CallOpts) (common.Address, error)

Joetroller is a free data retrieval call binding the contract method 0x6330533c.

Solidity: function joetroller() view returns(address)

func (*TraderjoeCTokenCaller) Name

func (_TraderjoeCToken *TraderjoeCTokenCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*TraderjoeCTokenCaller) PendingAdmin

func (_TraderjoeCToken *TraderjoeCTokenCaller) 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 (*TraderjoeCTokenCaller) ReserveFactorMantissa

func (_TraderjoeCToken *TraderjoeCTokenCaller) ReserveFactorMantissa(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*TraderjoeCTokenCaller) SupplyRatePerSecond

func (_TraderjoeCToken *TraderjoeCTokenCaller) SupplyRatePerSecond(opts *bind.CallOpts) (*big.Int, error)

SupplyRatePerSecond is a free data retrieval call binding the contract method 0xb1d38974.

Solidity: function supplyRatePerSecond() view returns(uint256)

func (*TraderjoeCTokenCaller) Symbol

func (_TraderjoeCToken *TraderjoeCTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*TraderjoeCTokenCaller) TotalBorrows

func (_TraderjoeCToken *TraderjoeCTokenCaller) TotalBorrows(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*TraderjoeCTokenCaller) TotalCollateralTokens

func (_TraderjoeCToken *TraderjoeCTokenCaller) TotalCollateralTokens(opts *bind.CallOpts) (*big.Int, error)

TotalCollateralTokens is a free data retrieval call binding the contract method 0x19a4dd3c.

Solidity: function totalCollateralTokens() view returns(uint256)

func (*TraderjoeCTokenCaller) TotalReserves

func (_TraderjoeCToken *TraderjoeCTokenCaller) TotalReserves(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*TraderjoeCTokenCaller) TotalSupply

func (_TraderjoeCToken *TraderjoeCTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TraderjoeCTokenCaller) Underlying

func (_TraderjoeCToken *TraderjoeCTokenCaller) Underlying(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function underlying() view returns(address)

type TraderjoeCTokenCallerRaw

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

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

func (*TraderjoeCTokenCallerRaw) Call

func (_TraderjoeCToken *TraderjoeCTokenCallerRaw) 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 TraderjoeCTokenCallerSession

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

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

func (*TraderjoeCTokenCallerSession) AccountCollateralTokens

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) AccountCollateralTokens(arg0 common.Address) (*big.Int, error)

AccountCollateralTokens is a free data retrieval call binding the contract method 0xd240d64a.

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

func (*TraderjoeCTokenCallerSession) AccrualBlockTimestamp

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) AccrualBlockTimestamp() (*big.Int, error)

AccrualBlockTimestamp is a free data retrieval call binding the contract method 0xcfa99201.

Solidity: function accrualBlockTimestamp() view returns(uint256)

func (*TraderjoeCTokenCallerSession) Admin

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*TraderjoeCTokenCallerSession) Allowance

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TraderjoeCTokenCallerSession) BalanceOf

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*TraderjoeCTokenCallerSession) BorrowBalanceStored

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

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

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

func (*TraderjoeCTokenCallerSession) BorrowIndex

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*TraderjoeCTokenCallerSession) BorrowRatePerSecond

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) BorrowRatePerSecond() (*big.Int, error)

BorrowRatePerSecond is a free data retrieval call binding the contract method 0x52609750.

Solidity: function borrowRatePerSecond() view returns(uint256)

func (*TraderjoeCTokenCallerSession) CollateralCap

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) CollateralCap() (*big.Int, error)

CollateralCap is a free data retrieval call binding the contract method 0xd2bb18e9.

Solidity: function collateralCap() view returns(uint256)

func (*TraderjoeCTokenCallerSession) Decimals

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TraderjoeCTokenCallerSession) DelegateToViewImplementation

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) DelegateToViewImplementation(data []byte) ([]byte, error)

DelegateToViewImplementation is a free data retrieval call binding the contract method 0x4487152f.

Solidity: function delegateToViewImplementation(bytes data) view returns(bytes)

func (*TraderjoeCTokenCallerSession) ExchangeRateStored

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*TraderjoeCTokenCallerSession) FlashFee

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) FlashFee(amount *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xa7af467a.

Solidity: function flashFee(uint256 amount) view returns(uint256)

func (*TraderjoeCTokenCallerSession) FlashFeeBips

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) FlashFeeBips() (*big.Int, error)

FlashFeeBips is a free data retrieval call binding the contract method 0xea11eea4.

Solidity: function flashFeeBips() view returns(uint256)

func (*TraderjoeCTokenCallerSession) GetAccountSnapshot

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

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

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

func (*TraderjoeCTokenCallerSession) GetCash

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*TraderjoeCTokenCallerSession) Implementation

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Implementation() (common.Address, error)

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

Solidity: function implementation() view returns(address)

func (*TraderjoeCTokenCallerSession) InterestRateModel

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*TraderjoeCTokenCallerSession) InternalCash

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) InternalCash() (*big.Int, error)

InternalCash is a free data retrieval call binding the contract method 0x22abdbf5.

Solidity: function internalCash() view returns(uint256)

func (*TraderjoeCTokenCallerSession) IsCollateralTokenInit

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) IsCollateralTokenInit(arg0 common.Address) (bool, error)

IsCollateralTokenInit is a free data retrieval call binding the contract method 0x85d8a2e6.

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

func (*TraderjoeCTokenCallerSession) IsJToken

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) IsJToken() (bool, error)

IsJToken is a free data retrieval call binding the contract method 0x406de0b6.

Solidity: function isJToken() view returns(bool)

func (*TraderjoeCTokenCallerSession) Joetroller

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Joetroller() (common.Address, error)

Joetroller is a free data retrieval call binding the contract method 0x6330533c.

Solidity: function joetroller() view returns(address)

func (*TraderjoeCTokenCallerSession) Name

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TraderjoeCTokenCallerSession) PendingAdmin

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*TraderjoeCTokenCallerSession) ReserveFactorMantissa

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*TraderjoeCTokenCallerSession) SupplyRatePerSecond

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) SupplyRatePerSecond() (*big.Int, error)

SupplyRatePerSecond is a free data retrieval call binding the contract method 0xb1d38974.

Solidity: function supplyRatePerSecond() view returns(uint256)

func (*TraderjoeCTokenCallerSession) Symbol

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TraderjoeCTokenCallerSession) TotalBorrows

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*TraderjoeCTokenCallerSession) TotalCollateralTokens

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) TotalCollateralTokens() (*big.Int, error)

TotalCollateralTokens is a free data retrieval call binding the contract method 0x19a4dd3c.

Solidity: function totalCollateralTokens() view returns(uint256)

func (*TraderjoeCTokenCallerSession) TotalReserves

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*TraderjoeCTokenCallerSession) TotalSupply

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TraderjoeCTokenCallerSession) Underlying

func (_TraderjoeCToken *TraderjoeCTokenCallerSession) Underlying() (common.Address, error)

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

Solidity: function underlying() view returns(address)

type TraderjoeCTokenFilterer

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

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

func NewTraderjoeCTokenFilterer

func NewTraderjoeCTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TraderjoeCTokenFilterer, error)

NewTraderjoeCTokenFilterer creates a new log filterer instance of TraderjoeCToken, bound to a specific deployed contract.

type TraderjoeCTokenRaw

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

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

func (*TraderjoeCTokenRaw) Call

func (_TraderjoeCToken *TraderjoeCTokenRaw) 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 (*TraderjoeCTokenRaw) Transact

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

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

func (*TraderjoeCTokenRaw) Transfer

func (_TraderjoeCToken *TraderjoeCTokenRaw) 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 TraderjoeCTokenSession

type TraderjoeCTokenSession struct {
	Contract     *TraderjoeCToken  // 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
}

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

func (*TraderjoeCTokenSession) AcceptAdmin

func (_TraderjoeCToken *TraderjoeCTokenSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*TraderjoeCTokenSession) AccountCollateralTokens

func (_TraderjoeCToken *TraderjoeCTokenSession) AccountCollateralTokens(arg0 common.Address) (*big.Int, error)

AccountCollateralTokens is a free data retrieval call binding the contract method 0xd240d64a.

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

func (*TraderjoeCTokenSession) AccrualBlockTimestamp

func (_TraderjoeCToken *TraderjoeCTokenSession) AccrualBlockTimestamp() (*big.Int, error)

AccrualBlockTimestamp is a free data retrieval call binding the contract method 0xcfa99201.

Solidity: function accrualBlockTimestamp() view returns(uint256)

func (*TraderjoeCTokenSession) AccrueInterest

func (_TraderjoeCToken *TraderjoeCTokenSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*TraderjoeCTokenSession) AddReserves

func (_TraderjoeCToken *TraderjoeCTokenSession) AddReserves(addAmount *big.Int) (*types.Transaction, error)

AddReserves is a paid mutator transaction binding the contract method 0x3e941010.

Solidity: function _addReserves(uint256 addAmount) returns(uint256)

func (*TraderjoeCTokenSession) Admin

func (_TraderjoeCToken *TraderjoeCTokenSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*TraderjoeCTokenSession) Allowance

func (_TraderjoeCToken *TraderjoeCTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TraderjoeCTokenSession) Approve

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

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

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

func (*TraderjoeCTokenSession) BalanceOf

func (_TraderjoeCToken *TraderjoeCTokenSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*TraderjoeCTokenSession) BalanceOfUnderlying

func (_TraderjoeCToken *TraderjoeCTokenSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) Borrow

func (_TraderjoeCToken *TraderjoeCTokenSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) BorrowBalanceCurrent

func (_TraderjoeCToken *TraderjoeCTokenSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) BorrowBalanceStored

func (_TraderjoeCToken *TraderjoeCTokenSession) BorrowBalanceStored(account common.Address) (*big.Int, error)

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

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

func (*TraderjoeCTokenSession) BorrowIndex

func (_TraderjoeCToken *TraderjoeCTokenSession) BorrowIndex() (*big.Int, error)

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

Solidity: function borrowIndex() view returns(uint256)

func (*TraderjoeCTokenSession) BorrowRatePerSecond

func (_TraderjoeCToken *TraderjoeCTokenSession) BorrowRatePerSecond() (*big.Int, error)

BorrowRatePerSecond is a free data retrieval call binding the contract method 0x52609750.

Solidity: function borrowRatePerSecond() view returns(uint256)

func (*TraderjoeCTokenSession) CollateralCap

func (_TraderjoeCToken *TraderjoeCTokenSession) CollateralCap() (*big.Int, error)

CollateralCap is a free data retrieval call binding the contract method 0xd2bb18e9.

Solidity: function collateralCap() view returns(uint256)

func (*TraderjoeCTokenSession) Decimals

func (_TraderjoeCToken *TraderjoeCTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TraderjoeCTokenSession) DelegateToImplementation

func (_TraderjoeCToken *TraderjoeCTokenSession) DelegateToImplementation(data []byte) (*types.Transaction, error)

DelegateToImplementation is a paid mutator transaction binding the contract method 0x0933c1ed.

Solidity: function delegateToImplementation(bytes data) returns(bytes)

func (*TraderjoeCTokenSession) DelegateToViewImplementation

func (_TraderjoeCToken *TraderjoeCTokenSession) DelegateToViewImplementation(data []byte) ([]byte, error)

DelegateToViewImplementation is a free data retrieval call binding the contract method 0x4487152f.

Solidity: function delegateToViewImplementation(bytes data) view returns(bytes)

func (*TraderjoeCTokenSession) ExchangeRateCurrent

func (_TraderjoeCToken *TraderjoeCTokenSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*TraderjoeCTokenSession) ExchangeRateStored

func (_TraderjoeCToken *TraderjoeCTokenSession) ExchangeRateStored() (*big.Int, error)

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

Solidity: function exchangeRateStored() view returns(uint256)

func (*TraderjoeCTokenSession) FlashFee

func (_TraderjoeCToken *TraderjoeCTokenSession) FlashFee(amount *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xa7af467a.

Solidity: function flashFee(uint256 amount) view returns(uint256)

func (*TraderjoeCTokenSession) FlashFeeBips

func (_TraderjoeCToken *TraderjoeCTokenSession) FlashFeeBips() (*big.Int, error)

FlashFeeBips is a free data retrieval call binding the contract method 0xea11eea4.

Solidity: function flashFeeBips() view returns(uint256)

func (*TraderjoeCTokenSession) FlashLoan

func (_TraderjoeCToken *TraderjoeCTokenSession) FlashLoan(receiver common.Address, initiator common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver, address initiator, uint256 amount, bytes data) returns(bool)

func (*TraderjoeCTokenSession) GetAccountSnapshot

func (_TraderjoeCToken *TraderjoeCTokenSession) GetAccountSnapshot(account common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

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

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

func (*TraderjoeCTokenSession) GetCash

func (_TraderjoeCToken *TraderjoeCTokenSession) GetCash() (*big.Int, error)

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

Solidity: function getCash() view returns(uint256)

func (*TraderjoeCTokenSession) Gulp

func (_TraderjoeCToken *TraderjoeCTokenSession) Gulp() (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x94909e62.

Solidity: function gulp() returns()

func (*TraderjoeCTokenSession) Implementation

func (_TraderjoeCToken *TraderjoeCTokenSession) Implementation() (common.Address, error)

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

Solidity: function implementation() view returns(address)

func (*TraderjoeCTokenSession) InterestRateModel

func (_TraderjoeCToken *TraderjoeCTokenSession) InterestRateModel() (common.Address, error)

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

Solidity: function interestRateModel() view returns(address)

func (*TraderjoeCTokenSession) InternalCash

func (_TraderjoeCToken *TraderjoeCTokenSession) InternalCash() (*big.Int, error)

InternalCash is a free data retrieval call binding the contract method 0x22abdbf5.

Solidity: function internalCash() view returns(uint256)

func (*TraderjoeCTokenSession) IsCollateralTokenInit

func (_TraderjoeCToken *TraderjoeCTokenSession) IsCollateralTokenInit(arg0 common.Address) (bool, error)

IsCollateralTokenInit is a free data retrieval call binding the contract method 0x85d8a2e6.

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

func (*TraderjoeCTokenSession) IsJToken

func (_TraderjoeCToken *TraderjoeCTokenSession) IsJToken() (bool, error)

IsJToken is a free data retrieval call binding the contract method 0x406de0b6.

Solidity: function isJToken() view returns(bool)

func (*TraderjoeCTokenSession) Joetroller

func (_TraderjoeCToken *TraderjoeCTokenSession) Joetroller() (common.Address, error)

Joetroller is a free data retrieval call binding the contract method 0x6330533c.

Solidity: function joetroller() view returns(address)

func (*TraderjoeCTokenSession) LiquidateBorrow

func (_TraderjoeCToken *TraderjoeCTokenSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, jTokenCollateral common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) Mint

func (_TraderjoeCToken *TraderjoeCTokenSession) Mint(mintAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) Name

func (_TraderjoeCToken *TraderjoeCTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TraderjoeCTokenSession) PendingAdmin

func (_TraderjoeCToken *TraderjoeCTokenSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() view returns(address)

func (*TraderjoeCTokenSession) Redeem

func (_TraderjoeCToken *TraderjoeCTokenSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) RedeemUnderlying

func (_TraderjoeCToken *TraderjoeCTokenSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) ReduceReserves

func (_TraderjoeCToken *TraderjoeCTokenSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) RegisterCollateral

func (_TraderjoeCToken *TraderjoeCTokenSession) RegisterCollateral(account common.Address) (*types.Transaction, error)

RegisterCollateral is a paid mutator transaction binding the contract method 0x8897bd85.

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

func (*TraderjoeCTokenSession) RepayBorrow

func (_TraderjoeCToken *TraderjoeCTokenSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) RepayBorrowBehalf

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

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

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

func (*TraderjoeCTokenSession) ReserveFactorMantissa

func (_TraderjoeCToken *TraderjoeCTokenSession) ReserveFactorMantissa() (*big.Int, error)

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

Solidity: function reserveFactorMantissa() view returns(uint256)

func (*TraderjoeCTokenSession) Seize

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

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

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

func (*TraderjoeCTokenSession) SetCollateralCap

func (_TraderjoeCToken *TraderjoeCTokenSession) SetCollateralCap(newCollateralCap *big.Int) (*types.Transaction, error)

SetCollateralCap is a paid mutator transaction binding the contract method 0x81cf00eb.

Solidity: function _setCollateralCap(uint256 newCollateralCap) returns()

func (*TraderjoeCTokenSession) SetImplementation

func (_TraderjoeCToken *TraderjoeCTokenSession) SetImplementation(implementation_ common.Address, allowResign bool, becomeImplementationData []byte) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0x555bcc40.

Solidity: function _setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData) returns()

func (*TraderjoeCTokenSession) SetInterestRateModel

func (_TraderjoeCToken *TraderjoeCTokenSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) SetJoetroller

func (_TraderjoeCToken *TraderjoeCTokenSession) SetJoetroller(newJoetroller common.Address) (*types.Transaction, error)

SetJoetroller is a paid mutator transaction binding the contract method 0x432f4b2d.

Solidity: function _setJoetroller(address newJoetroller) returns(uint256)

func (*TraderjoeCTokenSession) SetPendingAdmin

func (_TraderjoeCToken *TraderjoeCTokenSession) 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 (*TraderjoeCTokenSession) SetReserveFactor

func (_TraderjoeCToken *TraderjoeCTokenSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenSession) SupplyRatePerSecond

func (_TraderjoeCToken *TraderjoeCTokenSession) SupplyRatePerSecond() (*big.Int, error)

SupplyRatePerSecond is a free data retrieval call binding the contract method 0xb1d38974.

Solidity: function supplyRatePerSecond() view returns(uint256)

func (*TraderjoeCTokenSession) Symbol

func (_TraderjoeCToken *TraderjoeCTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TraderjoeCTokenSession) TotalBorrows

func (_TraderjoeCToken *TraderjoeCTokenSession) TotalBorrows() (*big.Int, error)

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

Solidity: function totalBorrows() view returns(uint256)

func (*TraderjoeCTokenSession) TotalBorrowsCurrent

func (_TraderjoeCToken *TraderjoeCTokenSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*TraderjoeCTokenSession) TotalCollateralTokens

func (_TraderjoeCToken *TraderjoeCTokenSession) TotalCollateralTokens() (*big.Int, error)

TotalCollateralTokens is a free data retrieval call binding the contract method 0x19a4dd3c.

Solidity: function totalCollateralTokens() view returns(uint256)

func (*TraderjoeCTokenSession) TotalReserves

func (_TraderjoeCToken *TraderjoeCTokenSession) TotalReserves() (*big.Int, error)

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

Solidity: function totalReserves() view returns(uint256)

func (*TraderjoeCTokenSession) TotalSupply

func (_TraderjoeCToken *TraderjoeCTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TraderjoeCTokenSession) Transfer

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

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

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

func (*TraderjoeCTokenSession) TransferFrom

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

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

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

func (*TraderjoeCTokenSession) Underlying

func (_TraderjoeCToken *TraderjoeCTokenSession) Underlying() (common.Address, error)

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

Solidity: function underlying() view returns(address)

func (*TraderjoeCTokenSession) UnregisterCollateral

func (_TraderjoeCToken *TraderjoeCTokenSession) UnregisterCollateral(account common.Address) (*types.Transaction, error)

UnregisterCollateral is a paid mutator transaction binding the contract method 0x8b35776b.

Solidity: function unregisterCollateral(address account) returns()

type TraderjoeCTokenTransactor

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

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

func NewTraderjoeCTokenTransactor

func NewTraderjoeCTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TraderjoeCTokenTransactor, error)

NewTraderjoeCTokenTransactor creates a new write-only instance of TraderjoeCToken, bound to a specific deployed contract.

func (*TraderjoeCTokenTransactor) AcceptAdmin

func (_TraderjoeCToken *TraderjoeCTokenTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*TraderjoeCTokenTransactor) AccrueInterest

func (_TraderjoeCToken *TraderjoeCTokenTransactor) AccrueInterest(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*TraderjoeCTokenTransactor) AddReserves

func (_TraderjoeCToken *TraderjoeCTokenTransactor) AddReserves(opts *bind.TransactOpts, addAmount *big.Int) (*types.Transaction, error)

AddReserves is a paid mutator transaction binding the contract method 0x3e941010.

Solidity: function _addReserves(uint256 addAmount) returns(uint256)

func (*TraderjoeCTokenTransactor) Approve

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

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

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

func (*TraderjoeCTokenTransactor) BalanceOfUnderlying

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

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

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

func (*TraderjoeCTokenTransactor) Borrow

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

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

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

func (*TraderjoeCTokenTransactor) BorrowBalanceCurrent

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

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

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

func (*TraderjoeCTokenTransactor) DelegateToImplementation

func (_TraderjoeCToken *TraderjoeCTokenTransactor) DelegateToImplementation(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)

DelegateToImplementation is a paid mutator transaction binding the contract method 0x0933c1ed.

Solidity: function delegateToImplementation(bytes data) returns(bytes)

func (*TraderjoeCTokenTransactor) ExchangeRateCurrent

func (_TraderjoeCToken *TraderjoeCTokenTransactor) ExchangeRateCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*TraderjoeCTokenTransactor) FlashLoan

func (_TraderjoeCToken *TraderjoeCTokenTransactor) FlashLoan(opts *bind.TransactOpts, receiver common.Address, initiator common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver, address initiator, uint256 amount, bytes data) returns(bool)

func (*TraderjoeCTokenTransactor) Gulp

func (_TraderjoeCToken *TraderjoeCTokenTransactor) Gulp(opts *bind.TransactOpts) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x94909e62.

Solidity: function gulp() returns()

func (*TraderjoeCTokenTransactor) LiquidateBorrow

func (_TraderjoeCToken *TraderjoeCTokenTransactor) LiquidateBorrow(opts *bind.TransactOpts, borrower common.Address, repayAmount *big.Int, jTokenCollateral common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactor) Mint

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

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

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

func (*TraderjoeCTokenTransactor) Redeem

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

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

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

func (*TraderjoeCTokenTransactor) RedeemUnderlying

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

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

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

func (*TraderjoeCTokenTransactor) ReduceReserves

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

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

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

func (*TraderjoeCTokenTransactor) RegisterCollateral

func (_TraderjoeCToken *TraderjoeCTokenTransactor) RegisterCollateral(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RegisterCollateral is a paid mutator transaction binding the contract method 0x8897bd85.

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

func (*TraderjoeCTokenTransactor) RepayBorrow

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

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

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

func (*TraderjoeCTokenTransactor) RepayBorrowBehalf

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

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

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

func (*TraderjoeCTokenTransactor) Seize

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

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

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

func (*TraderjoeCTokenTransactor) SetCollateralCap

func (_TraderjoeCToken *TraderjoeCTokenTransactor) SetCollateralCap(opts *bind.TransactOpts, newCollateralCap *big.Int) (*types.Transaction, error)

SetCollateralCap is a paid mutator transaction binding the contract method 0x81cf00eb.

Solidity: function _setCollateralCap(uint256 newCollateralCap) returns()

func (*TraderjoeCTokenTransactor) SetImplementation

func (_TraderjoeCToken *TraderjoeCTokenTransactor) SetImplementation(opts *bind.TransactOpts, implementation_ common.Address, allowResign bool, becomeImplementationData []byte) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0x555bcc40.

Solidity: function _setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData) returns()

func (*TraderjoeCTokenTransactor) SetInterestRateModel

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

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

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

func (*TraderjoeCTokenTransactor) SetJoetroller

func (_TraderjoeCToken *TraderjoeCTokenTransactor) SetJoetroller(opts *bind.TransactOpts, newJoetroller common.Address) (*types.Transaction, error)

SetJoetroller is a paid mutator transaction binding the contract method 0x432f4b2d.

Solidity: function _setJoetroller(address newJoetroller) returns(uint256)

func (*TraderjoeCTokenTransactor) SetPendingAdmin

func (_TraderjoeCToken *TraderjoeCTokenTransactor) 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 (*TraderjoeCTokenTransactor) SetReserveFactor

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

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

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

func (*TraderjoeCTokenTransactor) TotalBorrowsCurrent

func (_TraderjoeCToken *TraderjoeCTokenTransactor) TotalBorrowsCurrent(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*TraderjoeCTokenTransactor) Transfer

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

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

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

func (*TraderjoeCTokenTransactor) TransferFrom

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

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

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

func (*TraderjoeCTokenTransactor) UnregisterCollateral

func (_TraderjoeCToken *TraderjoeCTokenTransactor) UnregisterCollateral(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

UnregisterCollateral is a paid mutator transaction binding the contract method 0x8b35776b.

Solidity: function unregisterCollateral(address account) returns()

type TraderjoeCTokenTransactorRaw

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

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

func (*TraderjoeCTokenTransactorRaw) Transact

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

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

func (*TraderjoeCTokenTransactorRaw) Transfer

func (_TraderjoeCToken *TraderjoeCTokenTransactorRaw) 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 TraderjoeCTokenTransactorSession

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

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

func (*TraderjoeCTokenTransactorSession) AcceptAdmin

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) AcceptAdmin() (*types.Transaction, error)

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

Solidity: function _acceptAdmin() returns(uint256)

func (*TraderjoeCTokenTransactorSession) AccrueInterest

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) AccrueInterest() (*types.Transaction, error)

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

Solidity: function accrueInterest() returns(uint256)

func (*TraderjoeCTokenTransactorSession) AddReserves

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) AddReserves(addAmount *big.Int) (*types.Transaction, error)

AddReserves is a paid mutator transaction binding the contract method 0x3e941010.

Solidity: function _addReserves(uint256 addAmount) returns(uint256)

func (*TraderjoeCTokenTransactorSession) Approve

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

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

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

func (*TraderjoeCTokenTransactorSession) BalanceOfUnderlying

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) BalanceOfUnderlying(owner common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) Borrow

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) Borrow(borrowAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) BorrowBalanceCurrent

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) BorrowBalanceCurrent(account common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) DelegateToImplementation

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) DelegateToImplementation(data []byte) (*types.Transaction, error)

DelegateToImplementation is a paid mutator transaction binding the contract method 0x0933c1ed.

Solidity: function delegateToImplementation(bytes data) returns(bytes)

func (*TraderjoeCTokenTransactorSession) ExchangeRateCurrent

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) ExchangeRateCurrent() (*types.Transaction, error)

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

Solidity: function exchangeRateCurrent() returns(uint256)

func (*TraderjoeCTokenTransactorSession) FlashLoan

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) FlashLoan(receiver common.Address, initiator common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver, address initiator, uint256 amount, bytes data) returns(bool)

func (*TraderjoeCTokenTransactorSession) Gulp

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) Gulp() (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x94909e62.

Solidity: function gulp() returns()

func (*TraderjoeCTokenTransactorSession) LiquidateBorrow

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) LiquidateBorrow(borrower common.Address, repayAmount *big.Int, jTokenCollateral common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) Mint

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) Mint(mintAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) Redeem

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) Redeem(redeemTokens *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) RedeemUnderlying

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) RedeemUnderlying(redeemAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) ReduceReserves

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) ReduceReserves(reduceAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) RegisterCollateral

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) RegisterCollateral(account common.Address) (*types.Transaction, error)

RegisterCollateral is a paid mutator transaction binding the contract method 0x8897bd85.

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

func (*TraderjoeCTokenTransactorSession) RepayBorrow

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) RepayBorrow(repayAmount *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) RepayBorrowBehalf

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

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

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

func (*TraderjoeCTokenTransactorSession) Seize

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

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

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

func (*TraderjoeCTokenTransactorSession) SetCollateralCap

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) SetCollateralCap(newCollateralCap *big.Int) (*types.Transaction, error)

SetCollateralCap is a paid mutator transaction binding the contract method 0x81cf00eb.

Solidity: function _setCollateralCap(uint256 newCollateralCap) returns()

func (*TraderjoeCTokenTransactorSession) SetImplementation

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) SetImplementation(implementation_ common.Address, allowResign bool, becomeImplementationData []byte) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0x555bcc40.

Solidity: function _setImplementation(address implementation_, bool allowResign, bytes becomeImplementationData) returns()

func (*TraderjoeCTokenTransactorSession) SetInterestRateModel

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) SetInterestRateModel(newInterestRateModel common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) SetJoetroller

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) SetJoetroller(newJoetroller common.Address) (*types.Transaction, error)

SetJoetroller is a paid mutator transaction binding the contract method 0x432f4b2d.

Solidity: function _setJoetroller(address newJoetroller) returns(uint256)

func (*TraderjoeCTokenTransactorSession) SetPendingAdmin

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) 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 (*TraderjoeCTokenTransactorSession) SetReserveFactor

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) SetReserveFactor(newReserveFactorMantissa *big.Int) (*types.Transaction, error)

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

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

func (*TraderjoeCTokenTransactorSession) TotalBorrowsCurrent

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) TotalBorrowsCurrent() (*types.Transaction, error)

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

Solidity: function totalBorrowsCurrent() returns(uint256)

func (*TraderjoeCTokenTransactorSession) Transfer

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

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

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

func (*TraderjoeCTokenTransactorSession) TransferFrom

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

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

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

func (*TraderjoeCTokenTransactorSession) UnregisterCollateral

func (_TraderjoeCToken *TraderjoeCTokenTransactorSession) UnregisterCollateral(account common.Address) (*types.Transaction, error)

UnregisterCollateral is a paid mutator transaction binding the contract method 0x8b35776b.

Solidity: function unregisterCollateral(address account) returns()

Jump to

Keyboard shortcuts

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