Documentation ¶
Index ¶
- Variables
- type TraderjoeChefV3
- type TraderjoeChefV3Caller
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) JOE(opts *bind.CallOpts) (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) JoePerSec(opts *bind.CallOpts) (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) MASTERCHEFV2(opts *bind.CallOpts) (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) MASTERPID(opts *bind.CallOpts) (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) PendingTokens(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) PoolLength(opts *bind.CallOpts) (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Caller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- type TraderjoeChefV3CallerRaw
- type TraderjoeChefV3CallerSession
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) JOE() (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) JoePerSec() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) MASTERCHEFV2() (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) MASTERPID() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) Owner() (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) PendingTokens(_pid *big.Int, _user common.Address) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) PoolInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) PoolLength() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) TotalAllocPoint() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- type TraderjoeChefV3Filterer
- type TraderjoeChefV3Raw
- func (_TraderjoeChefV3 *TraderjoeChefV3Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TraderjoeChefV3 *TraderjoeChefV3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TraderjoeChefV3Session
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) Deposit(pid *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) EmergencyWithdraw(pid *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) HarvestFromMasterChef() (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) Init(dummyToken common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) JOE() (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) JoePerSec() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) MASTERCHEFV2() (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) MASTERPID() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) Owner() (common.Address, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) PendingTokens(_pid *big.Int, _user common.Address) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) PoolInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) PoolLength() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) RenounceOwnership() (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) TotalAllocPoint() (*big.Int, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) UpdatePool(pid *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) UserInfo(arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Session) Withdraw(pid *big.Int, amount *big.Int) (*types.Transaction, error)
- type TraderjoeChefV3Transactor
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Add(opts *bind.TransactOpts, allocPoint *big.Int, _lpToken common.Address, ...) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Deposit(opts *bind.TransactOpts, pid *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) EmergencyWithdraw(opts *bind.TransactOpts, pid *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) HarvestFromMasterChef(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Init(opts *bind.TransactOpts, dummyToken common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) MassUpdatePools(opts *bind.TransactOpts, pids []*big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, ...) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) UpdatePool(opts *bind.TransactOpts, pid *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Withdraw(opts *bind.TransactOpts, pid *big.Int, amount *big.Int) (*types.Transaction, error)
- type TraderjoeChefV3TransactorRaw
- type TraderjoeChefV3TransactorSession
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Deposit(pid *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) EmergencyWithdraw(pid *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) HarvestFromMasterChef() (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Init(dummyToken common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) UpdatePool(pid *big.Int) (*types.Transaction, error)
- func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Withdraw(pid *big.Int, amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var TraderjoeChefV3ABI = TraderjoeChefV3MetaData.ABI
TraderjoeChefV3ABI is the input ABI used to generate the binding from. Deprecated: Use TraderjoeChefV3MetaData.ABI instead.
var TraderjoeChefV3MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"JOE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MASTER_CHEF_V2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MASTER_PID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvestFromMasterChef\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dummyToken\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"joePerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"pids\",\"type\":\"uint256[]\"}],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingJoe\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bonusTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"bonusTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"pendingBonusToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"accJoePerShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewarder\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pools\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
TraderjoeChefV3MetaData contains all meta data concerning the TraderjoeChefV3 contract.
Functions ¶
This section is empty.
Types ¶
type TraderjoeChefV3 ¶
type TraderjoeChefV3 struct { TraderjoeChefV3Caller // Read-only binding to the contract TraderjoeChefV3Transactor // Write-only binding to the contract TraderjoeChefV3Filterer // Log filterer for contract events }
TraderjoeChefV3 is an auto generated Go binding around an Ethereum contract.
func NewTraderjoeChefV3 ¶
func NewTraderjoeChefV3(address common.Address, backend bind.ContractBackend) (*TraderjoeChefV3, error)
NewTraderjoeChefV3 creates a new instance of TraderjoeChefV3, bound to a specific deployed contract.
type TraderjoeChefV3Caller ¶
type TraderjoeChefV3Caller struct {
// contains filtered or unexported fields
}
TraderjoeChefV3Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewTraderjoeChefV3Caller ¶
func NewTraderjoeChefV3Caller(address common.Address, caller bind.ContractCaller) (*TraderjoeChefV3Caller, error)
NewTraderjoeChefV3Caller creates a new read-only instance of TraderjoeChefV3, bound to a specific deployed contract.
func (*TraderjoeChefV3Caller) JOE ¶
JOE is a free data retrieval call binding the contract method 0xffebad30.
Solidity: function JOE() view returns(address)
func (*TraderjoeChefV3Caller) JoePerSec ¶
JoePerSec is a free data retrieval call binding the contract method 0xca418d23.
Solidity: function joePerSec() view returns(uint256 amount)
func (*TraderjoeChefV3Caller) MASTERCHEFV2 ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Caller) MASTERCHEFV2(opts *bind.CallOpts) (common.Address, error)
MASTERCHEFV2 is a free data retrieval call binding the contract method 0x27bf88ad.
Solidity: function MASTER_CHEF_V2() view returns(address)
func (*TraderjoeChefV3Caller) MASTERPID ¶
MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.
Solidity: function MASTER_PID() view returns(uint256)
func (*TraderjoeChefV3Caller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TraderjoeChefV3Caller) PendingTokens ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Caller) PendingTokens(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (struct { PendingJoe *big.Int BonusTokenAddress common.Address BonusTokenSymbol string PendingBonusToken *big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.
Solidity: function pendingTokens(uint256 _pid, address _user) view returns(uint256 pendingJoe, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)
func (*TraderjoeChefV3Caller) PoolInfo ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct { LpToken common.Address AccJoePerShare *big.Int LastRewardTimestamp *big.Int AllocPoint *big.Int Rewarder common.Address }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 accJoePerShare, uint256 lastRewardTimestamp, uint256 allocPoint, address rewarder)
func (*TraderjoeChefV3Caller) PoolLength ¶
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256 pools)
func (*TraderjoeChefV3Caller) TotalAllocPoint ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Caller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*TraderjoeChefV3Caller) UserInfo ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Caller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int RewardDebt *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)
type TraderjoeChefV3CallerRaw ¶
type TraderjoeChefV3CallerRaw struct {
Contract *TraderjoeChefV3Caller // Generic read-only contract binding to access the raw methods on
}
TraderjoeChefV3CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TraderjoeChefV3CallerRaw) Call ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerRaw) 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 TraderjoeChefV3CallerSession ¶
type TraderjoeChefV3CallerSession struct { Contract *TraderjoeChefV3Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TraderjoeChefV3CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TraderjoeChefV3CallerSession) JOE ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) JOE() (common.Address, error)
JOE is a free data retrieval call binding the contract method 0xffebad30.
Solidity: function JOE() view returns(address)
func (*TraderjoeChefV3CallerSession) JoePerSec ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) JoePerSec() (*big.Int, error)
JoePerSec is a free data retrieval call binding the contract method 0xca418d23.
Solidity: function joePerSec() view returns(uint256 amount)
func (*TraderjoeChefV3CallerSession) MASTERCHEFV2 ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) MASTERCHEFV2() (common.Address, error)
MASTERCHEFV2 is a free data retrieval call binding the contract method 0x27bf88ad.
Solidity: function MASTER_CHEF_V2() view returns(address)
func (*TraderjoeChefV3CallerSession) MASTERPID ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) MASTERPID() (*big.Int, error)
MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.
Solidity: function MASTER_PID() view returns(uint256)
func (*TraderjoeChefV3CallerSession) Owner ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TraderjoeChefV3CallerSession) PendingTokens ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) PendingTokens(_pid *big.Int, _user common.Address) (struct { PendingJoe *big.Int BonusTokenAddress common.Address BonusTokenSymbol string PendingBonusToken *big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.
Solidity: function pendingTokens(uint256 _pid, address _user) view returns(uint256 pendingJoe, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)
func (*TraderjoeChefV3CallerSession) PoolInfo ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) PoolInfo(arg0 *big.Int) (struct { LpToken common.Address AccJoePerShare *big.Int LastRewardTimestamp *big.Int AllocPoint *big.Int Rewarder common.Address }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 accJoePerShare, uint256 lastRewardTimestamp, uint256 allocPoint, address rewarder)
func (*TraderjoeChefV3CallerSession) PoolLength ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256 pools)
func (*TraderjoeChefV3CallerSession) TotalAllocPoint ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*TraderjoeChefV3CallerSession) UserInfo ¶
func (_TraderjoeChefV3 *TraderjoeChefV3CallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int RewardDebt *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)
type TraderjoeChefV3Filterer ¶
type TraderjoeChefV3Filterer struct {
// contains filtered or unexported fields
}
TraderjoeChefV3Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTraderjoeChefV3Filterer ¶
func NewTraderjoeChefV3Filterer(address common.Address, filterer bind.ContractFilterer) (*TraderjoeChefV3Filterer, error)
NewTraderjoeChefV3Filterer creates a new log filterer instance of TraderjoeChefV3, bound to a specific deployed contract.
type TraderjoeChefV3Raw ¶
type TraderjoeChefV3Raw struct {
Contract *TraderjoeChefV3 // Generic contract binding to access the raw methods on
}
TraderjoeChefV3Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*TraderjoeChefV3Raw) Call ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Raw) 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 (*TraderjoeChefV3Raw) Transact ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TraderjoeChefV3Raw) Transfer ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Raw) 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 TraderjoeChefV3Session ¶
type TraderjoeChefV3Session struct { Contract *TraderjoeChefV3 // 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 }
TraderjoeChefV3Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TraderjoeChefV3Session) Add ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0xab7de098.
Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()
func (*TraderjoeChefV3Session) Deposit ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) Deposit(pid *big.Int, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 pid, uint256 amount) returns()
func (*TraderjoeChefV3Session) EmergencyWithdraw ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) EmergencyWithdraw(pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 pid) returns()
func (*TraderjoeChefV3Session) HarvestFromMasterChef ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) HarvestFromMasterChef() (*types.Transaction, error)
HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.
Solidity: function harvestFromMasterChef() returns()
func (*TraderjoeChefV3Session) Init ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) Init(dummyToken common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address dummyToken) returns()
func (*TraderjoeChefV3Session) JOE ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) JOE() (common.Address, error)
JOE is a free data retrieval call binding the contract method 0xffebad30.
Solidity: function JOE() view returns(address)
func (*TraderjoeChefV3Session) JoePerSec ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) JoePerSec() (*big.Int, error)
JoePerSec is a free data retrieval call binding the contract method 0xca418d23.
Solidity: function joePerSec() view returns(uint256 amount)
func (*TraderjoeChefV3Session) MASTERCHEFV2 ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) MASTERCHEFV2() (common.Address, error)
MASTERCHEFV2 is a free data retrieval call binding the contract method 0x27bf88ad.
Solidity: function MASTER_CHEF_V2() view returns(address)
func (*TraderjoeChefV3Session) MASTERPID ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) MASTERPID() (*big.Int, error)
MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.
Solidity: function MASTER_PID() view returns(uint256)
func (*TraderjoeChefV3Session) MassUpdatePools ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x57a5b58c.
Solidity: function massUpdatePools(uint256[] pids) returns()
func (*TraderjoeChefV3Session) Owner ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TraderjoeChefV3Session) PendingTokens ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) PendingTokens(_pid *big.Int, _user common.Address) (struct { PendingJoe *big.Int BonusTokenAddress common.Address BonusTokenSymbol string PendingBonusToken *big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.
Solidity: function pendingTokens(uint256 _pid, address _user) view returns(uint256 pendingJoe, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)
func (*TraderjoeChefV3Session) PoolInfo ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) PoolInfo(arg0 *big.Int) (struct { LpToken common.Address AccJoePerShare *big.Int LastRewardTimestamp *big.Int AllocPoint *big.Int Rewarder common.Address }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 accJoePerShare, uint256 lastRewardTimestamp, uint256 allocPoint, address rewarder)
func (*TraderjoeChefV3Session) PoolLength ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256 pools)
func (*TraderjoeChefV3Session) RenounceOwnership ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TraderjoeChefV3Session) Set ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x88bba42f.
Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()
func (*TraderjoeChefV3Session) TotalAllocPoint ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*TraderjoeChefV3Session) TransferOwnership ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TraderjoeChefV3Session) UpdatePool ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) UpdatePool(pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 pid) returns()
func (*TraderjoeChefV3Session) UserInfo ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) UserInfo(arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int RewardDebt *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)
func (*TraderjoeChefV3Session) Withdraw ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Session) Withdraw(pid *big.Int, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 pid, uint256 amount) returns()
type TraderjoeChefV3Transactor ¶
type TraderjoeChefV3Transactor struct {
// contains filtered or unexported fields
}
TraderjoeChefV3Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTraderjoeChefV3Transactor ¶
func NewTraderjoeChefV3Transactor(address common.Address, transactor bind.ContractTransactor) (*TraderjoeChefV3Transactor, error)
NewTraderjoeChefV3Transactor creates a new write-only instance of TraderjoeChefV3, bound to a specific deployed contract.
func (*TraderjoeChefV3Transactor) Add ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Add(opts *bind.TransactOpts, allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0xab7de098.
Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()
func (*TraderjoeChefV3Transactor) Deposit ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Deposit(opts *bind.TransactOpts, pid *big.Int, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 pid, uint256 amount) returns()
func (*TraderjoeChefV3Transactor) EmergencyWithdraw ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) EmergencyWithdraw(opts *bind.TransactOpts, pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 pid) returns()
func (*TraderjoeChefV3Transactor) HarvestFromMasterChef ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) HarvestFromMasterChef(opts *bind.TransactOpts) (*types.Transaction, error)
HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.
Solidity: function harvestFromMasterChef() returns()
func (*TraderjoeChefV3Transactor) Init ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Init(opts *bind.TransactOpts, dummyToken common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address dummyToken) returns()
func (*TraderjoeChefV3Transactor) MassUpdatePools ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) MassUpdatePools(opts *bind.TransactOpts, pids []*big.Int) (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x57a5b58c.
Solidity: function massUpdatePools(uint256[] pids) returns()
func (*TraderjoeChefV3Transactor) RenounceOwnership ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TraderjoeChefV3Transactor) Set ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x88bba42f.
Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()
func (*TraderjoeChefV3Transactor) TransferOwnership ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TraderjoeChefV3Transactor) UpdatePool ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) UpdatePool(opts *bind.TransactOpts, pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 pid) returns()
func (*TraderjoeChefV3Transactor) Withdraw ¶
func (_TraderjoeChefV3 *TraderjoeChefV3Transactor) Withdraw(opts *bind.TransactOpts, pid *big.Int, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 pid, uint256 amount) returns()
type TraderjoeChefV3TransactorRaw ¶
type TraderjoeChefV3TransactorRaw struct {
Contract *TraderjoeChefV3Transactor // Generic write-only contract binding to access the raw methods on
}
TraderjoeChefV3TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TraderjoeChefV3TransactorRaw) Transact ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TraderjoeChefV3TransactorRaw) Transfer ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorRaw) 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 TraderjoeChefV3TransactorSession ¶
type TraderjoeChefV3TransactorSession struct { Contract *TraderjoeChefV3Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TraderjoeChefV3TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TraderjoeChefV3TransactorSession) Add ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0xab7de098.
Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()
func (*TraderjoeChefV3TransactorSession) Deposit ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Deposit(pid *big.Int, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 pid, uint256 amount) returns()
func (*TraderjoeChefV3TransactorSession) EmergencyWithdraw ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) EmergencyWithdraw(pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 pid) returns()
func (*TraderjoeChefV3TransactorSession) HarvestFromMasterChef ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) HarvestFromMasterChef() (*types.Transaction, error)
HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.
Solidity: function harvestFromMasterChef() returns()
func (*TraderjoeChefV3TransactorSession) Init ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Init(dummyToken common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address dummyToken) returns()
func (*TraderjoeChefV3TransactorSession) MassUpdatePools ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x57a5b58c.
Solidity: function massUpdatePools(uint256[] pids) returns()
func (*TraderjoeChefV3TransactorSession) RenounceOwnership ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TraderjoeChefV3TransactorSession) Set ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x88bba42f.
Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()
func (*TraderjoeChefV3TransactorSession) TransferOwnership ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TraderjoeChefV3TransactorSession) UpdatePool ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) UpdatePool(pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 pid) returns()
func (*TraderjoeChefV3TransactorSession) Withdraw ¶
func (_TraderjoeChefV3 *TraderjoeChefV3TransactorSession) Withdraw(pid *big.Int, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 pid, uint256 amount) returns()