traderjoeveJOEBoostChef

package
v0.1.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TraderjoeveJOEBoostChefABI = TraderjoeveJOEBoostChefMetaData.ABI

TraderjoeveJOEBoostChefABI is the input ABI used to generate the binding from. Deprecated: Use TraderjoeveJOEBoostChefMetaData.ABI instead.

View Source
var TraderjoeveJOEBoostChefMetaData = &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\":[],\"name\":\"VEJOE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"_allocPoint\",\"type\":\"uint96\"},{\"internalType\":\"uint32\",\"name\":\"_veJoeShareBp\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimableJoe\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"address\",\"name\":\"_MASTER_CHEF_V2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_joe\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_veJoe\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_MASTER_PID\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"joePerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"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\":\"uint96\",\"name\":\"allocPoint\",\"type\":\"uint96\"},{\"internalType\":\"uint256\",\"name\":\"accJoePerShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accJoePerFactorPerShare\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"rewarder\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"veJoeShareBp\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"totalFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalLpSupply\",\"type\":\"uint256\"}],\"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\":\"uint96\",\"name\":\"_allocPoint\",\"type\":\"uint96\"},{\"internalType\":\"uint32\",\"name\":\"_veJoeShareBp\",\"type\":\"uint32\"},{\"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\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newVeJoeBalance\",\"type\":\"uint256\"}],\"name\":\"updateFactor\",\"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\"},{\"internalType\":\"uint256\",\"name\":\"factor\",\"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\"}]",
}

TraderjoeveJOEBoostChefMetaData contains all meta data concerning the TraderjoeveJOEBoostChef contract.

Functions

This section is empty.

Types

type TraderjoeveJOEBoostChef

type TraderjoeveJOEBoostChef struct {
	TraderjoeveJOEBoostChefCaller     // Read-only binding to the contract
	TraderjoeveJOEBoostChefTransactor // Write-only binding to the contract
	TraderjoeveJOEBoostChefFilterer   // Log filterer for contract events
}

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

func NewTraderjoeveJOEBoostChef

func NewTraderjoeveJOEBoostChef(address common.Address, backend bind.ContractBackend) (*TraderjoeveJOEBoostChef, error)

NewTraderjoeveJOEBoostChef creates a new instance of TraderjoeveJOEBoostChef, bound to a specific deployed contract.

type TraderjoeveJOEBoostChefCaller

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

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

func NewTraderjoeveJOEBoostChefCaller

func NewTraderjoeveJOEBoostChefCaller(address common.Address, caller bind.ContractCaller) (*TraderjoeveJOEBoostChefCaller, error)

NewTraderjoeveJOEBoostChefCaller creates a new read-only instance of TraderjoeveJOEBoostChef, bound to a specific deployed contract.

func (*TraderjoeveJOEBoostChefCaller) ClaimableJoe

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) ClaimableJoe(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

ClaimableJoe is a free data retrieval call binding the contract method 0xd00ffa8e.

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

func (*TraderjoeveJOEBoostChefCaller) JOE

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) JOE(opts *bind.CallOpts) (common.Address, error)

JOE is a free data retrieval call binding the contract method 0xffebad30.

Solidity: function JOE() view returns(address)

func (*TraderjoeveJOEBoostChefCaller) JoePerSec

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) JoePerSec(opts *bind.CallOpts) (*big.Int, error)

JoePerSec is a free data retrieval call binding the contract method 0xca418d23.

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

func (*TraderjoeveJOEBoostChefCaller) MASTERCHEFV2

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) 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 (*TraderjoeveJOEBoostChefCaller) MASTERPID

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) MASTERPID(opts *bind.CallOpts) (*big.Int, error)

MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.

Solidity: function MASTER_PID() view returns(uint256)

func (*TraderjoeveJOEBoostChefCaller) Owner

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TraderjoeveJOEBoostChefCaller) PendingTokens

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) 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 (*TraderjoeveJOEBoostChefCaller) PoolInfo

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken                 common.Address
	AllocPoint              *big.Int
	AccJoePerShare          *big.Int
	AccJoePerFactorPerShare *big.Int
	LastRewardTimestamp     uint64
	Rewarder                common.Address
	VeJoeShareBp            uint32
	TotalFactor             *big.Int
	TotalLpSupply           *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint96 allocPoint, uint256 accJoePerShare, uint256 accJoePerFactorPerShare, uint64 lastRewardTimestamp, address rewarder, uint32 veJoeShareBp, uint256 totalFactor, uint256 totalLpSupply)

func (*TraderjoeveJOEBoostChefCaller) PoolLength

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256 pools)

func (*TraderjoeveJOEBoostChefCaller) TotalAllocPoint

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) 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 (*TraderjoeveJOEBoostChefCaller) UserInfo

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
	Factor     *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, uint256 factor)

func (*TraderjoeveJOEBoostChefCaller) VEJOE

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCaller) VEJOE(opts *bind.CallOpts) (common.Address, error)

VEJOE is a free data retrieval call binding the contract method 0xe76fdb7e.

Solidity: function VEJOE() view returns(address)

type TraderjoeveJOEBoostChefCallerRaw

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

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

func (*TraderjoeveJOEBoostChefCallerRaw) Call

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerRaw) 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 TraderjoeveJOEBoostChefCallerSession

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

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

func (*TraderjoeveJOEBoostChefCallerSession) ClaimableJoe

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) ClaimableJoe(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

ClaimableJoe is a free data retrieval call binding the contract method 0xd00ffa8e.

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

func (*TraderjoeveJOEBoostChefCallerSession) JOE

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) JOE() (common.Address, error)

JOE is a free data retrieval call binding the contract method 0xffebad30.

Solidity: function JOE() view returns(address)

func (*TraderjoeveJOEBoostChefCallerSession) JoePerSec

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) JoePerSec() (*big.Int, error)

JoePerSec is a free data retrieval call binding the contract method 0xca418d23.

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

func (*TraderjoeveJOEBoostChefCallerSession) MASTERCHEFV2

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) 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 (*TraderjoeveJOEBoostChefCallerSession) MASTERPID

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) MASTERPID() (*big.Int, error)

MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.

Solidity: function MASTER_PID() view returns(uint256)

func (*TraderjoeveJOEBoostChefCallerSession) Owner

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TraderjoeveJOEBoostChefCallerSession) PendingTokens

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) 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 (*TraderjoeveJOEBoostChefCallerSession) PoolInfo

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken                 common.Address
	AllocPoint              *big.Int
	AccJoePerShare          *big.Int
	AccJoePerFactorPerShare *big.Int
	LastRewardTimestamp     uint64
	Rewarder                common.Address
	VeJoeShareBp            uint32
	TotalFactor             *big.Int
	TotalLpSupply           *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint96 allocPoint, uint256 accJoePerShare, uint256 accJoePerFactorPerShare, uint64 lastRewardTimestamp, address rewarder, uint32 veJoeShareBp, uint256 totalFactor, uint256 totalLpSupply)

func (*TraderjoeveJOEBoostChefCallerSession) PoolLength

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256 pools)

func (*TraderjoeveJOEBoostChefCallerSession) TotalAllocPoint

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*TraderjoeveJOEBoostChefCallerSession) UserInfo

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
	Factor     *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, uint256 factor)

func (*TraderjoeveJOEBoostChefCallerSession) VEJOE

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefCallerSession) VEJOE() (common.Address, error)

VEJOE is a free data retrieval call binding the contract method 0xe76fdb7e.

Solidity: function VEJOE() view returns(address)

type TraderjoeveJOEBoostChefFilterer

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

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

func NewTraderjoeveJOEBoostChefFilterer

func NewTraderjoeveJOEBoostChefFilterer(address common.Address, filterer bind.ContractFilterer) (*TraderjoeveJOEBoostChefFilterer, error)

NewTraderjoeveJOEBoostChefFilterer creates a new log filterer instance of TraderjoeveJOEBoostChef, bound to a specific deployed contract.

type TraderjoeveJOEBoostChefRaw

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

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

func (*TraderjoeveJOEBoostChefRaw) Call

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefRaw) 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 (*TraderjoeveJOEBoostChefRaw) Transact

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

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

func (*TraderjoeveJOEBoostChefRaw) Transfer

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefRaw) 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 TraderjoeveJOEBoostChefSession

type TraderjoeveJOEBoostChefSession struct {
	Contract     *TraderjoeveJOEBoostChef // 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
}

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

func (*TraderjoeveJOEBoostChefSession) Add

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) Add(_allocPoint *big.Int, _veJoeShareBp uint32, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x561be05a.

Solidity: function add(uint96 _allocPoint, uint32 _veJoeShareBp, address _lpToken, address _rewarder) returns()

func (*TraderjoeveJOEBoostChefSession) ClaimableJoe

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) ClaimableJoe(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

ClaimableJoe is a free data retrieval call binding the contract method 0xd00ffa8e.

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

func (*TraderjoeveJOEBoostChefSession) Deposit

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) EmergencyWithdraw

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) HarvestFromMasterChef

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) HarvestFromMasterChef() (*types.Transaction, error)

HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.

Solidity: function harvestFromMasterChef() returns()

func (*TraderjoeveJOEBoostChefSession) Init

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) Initialize

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) Initialize(_MASTER_CHEF_V2 common.Address, _joe common.Address, _veJoe common.Address, _MASTER_PID *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.

Solidity: function initialize(address _MASTER_CHEF_V2, address _joe, address _veJoe, uint256 _MASTER_PID) returns()

func (*TraderjoeveJOEBoostChefSession) JOE

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) JOE() (common.Address, error)

JOE is a free data retrieval call binding the contract method 0xffebad30.

Solidity: function JOE() view returns(address)

func (*TraderjoeveJOEBoostChefSession) JoePerSec

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) JoePerSec() (*big.Int, error)

JoePerSec is a free data retrieval call binding the contract method 0xca418d23.

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

func (*TraderjoeveJOEBoostChefSession) MASTERCHEFV2

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) MASTERPID

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) MASTERPID() (*big.Int, error)

MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.

Solidity: function MASTER_PID() view returns(uint256)

func (*TraderjoeveJOEBoostChefSession) MassUpdatePools

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*TraderjoeveJOEBoostChefSession) Owner

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TraderjoeveJOEBoostChefSession) PendingTokens

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) PoolInfo

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken                 common.Address
	AllocPoint              *big.Int
	AccJoePerShare          *big.Int
	AccJoePerFactorPerShare *big.Int
	LastRewardTimestamp     uint64
	Rewarder                common.Address
	VeJoeShareBp            uint32
	TotalFactor             *big.Int
	TotalLpSupply           *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint96 allocPoint, uint256 accJoePerShare, uint256 accJoePerFactorPerShare, uint64 lastRewardTimestamp, address rewarder, uint32 veJoeShareBp, uint256 totalFactor, uint256 totalLpSupply)

func (*TraderjoeveJOEBoostChefSession) PoolLength

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256 pools)

func (*TraderjoeveJOEBoostChefSession) RenounceOwnership

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TraderjoeveJOEBoostChefSession) Set

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) Set(_pid *big.Int, _allocPoint *big.Int, _veJoeShareBp uint32, _rewarder common.Address, _overwrite bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x980e5f90.

Solidity: function set(uint256 _pid, uint96 _allocPoint, uint32 _veJoeShareBp, address _rewarder, bool _overwrite) returns()

func (*TraderjoeveJOEBoostChefSession) TotalAllocPoint

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*TraderjoeveJOEBoostChefSession) TransferOwnership

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) UpdateFactor

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) UpdateFactor(_user common.Address, _newVeJoeBalance *big.Int) (*types.Transaction, error)

UpdateFactor is a paid mutator transaction binding the contract method 0x4f00a93e.

Solidity: function updateFactor(address _user, uint256 _newVeJoeBalance) returns()

func (*TraderjoeveJOEBoostChefSession) UpdatePool

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 (*TraderjoeveJOEBoostChefSession) UserInfo

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
	Factor     *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, uint256 factor)

func (*TraderjoeveJOEBoostChefSession) VEJOE

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) VEJOE() (common.Address, error)

VEJOE is a free data retrieval call binding the contract method 0xe76fdb7e.

Solidity: function VEJOE() view returns(address)

func (*TraderjoeveJOEBoostChefSession) Withdraw

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefSession) 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 TraderjoeveJOEBoostChefTransactor

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

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

func NewTraderjoeveJOEBoostChefTransactor

func NewTraderjoeveJOEBoostChefTransactor(address common.Address, transactor bind.ContractTransactor) (*TraderjoeveJOEBoostChefTransactor, error)

NewTraderjoeveJOEBoostChefTransactor creates a new write-only instance of TraderjoeveJOEBoostChef, bound to a specific deployed contract.

func (*TraderjoeveJOEBoostChefTransactor) Add

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _veJoeShareBp uint32, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x561be05a.

Solidity: function add(uint96 _allocPoint, uint32 _veJoeShareBp, address _lpToken, address _rewarder) returns()

func (*TraderjoeveJOEBoostChefTransactor) Deposit

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) 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 (*TraderjoeveJOEBoostChefTransactor) EmergencyWithdraw

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) 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 (*TraderjoeveJOEBoostChefTransactor) HarvestFromMasterChef

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) HarvestFromMasterChef(opts *bind.TransactOpts) (*types.Transaction, error)

HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.

Solidity: function harvestFromMasterChef() returns()

func (*TraderjoeveJOEBoostChefTransactor) Init

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) 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 (*TraderjoeveJOEBoostChefTransactor) Initialize

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) Initialize(opts *bind.TransactOpts, _MASTER_CHEF_V2 common.Address, _joe common.Address, _veJoe common.Address, _MASTER_PID *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.

Solidity: function initialize(address _MASTER_CHEF_V2, address _joe, address _veJoe, uint256 _MASTER_PID) returns()

func (*TraderjoeveJOEBoostChefTransactor) MassUpdatePools

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*TraderjoeveJOEBoostChefTransactor) RenounceOwnership

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TraderjoeveJOEBoostChefTransactor) Set

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _veJoeShareBp uint32, _rewarder common.Address, _overwrite bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x980e5f90.

Solidity: function set(uint256 _pid, uint96 _allocPoint, uint32 _veJoeShareBp, address _rewarder, bool _overwrite) returns()

func (*TraderjoeveJOEBoostChefTransactor) TransferOwnership

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) 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 (*TraderjoeveJOEBoostChefTransactor) UpdateFactor

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) UpdateFactor(opts *bind.TransactOpts, _user common.Address, _newVeJoeBalance *big.Int) (*types.Transaction, error)

UpdateFactor is a paid mutator transaction binding the contract method 0x4f00a93e.

Solidity: function updateFactor(address _user, uint256 _newVeJoeBalance) returns()

func (*TraderjoeveJOEBoostChefTransactor) UpdatePool

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) 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 (*TraderjoeveJOEBoostChefTransactor) Withdraw

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactor) 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 TraderjoeveJOEBoostChefTransactorRaw

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

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

func (*TraderjoeveJOEBoostChefTransactorRaw) Transact

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

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

func (*TraderjoeveJOEBoostChefTransactorRaw) Transfer

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorRaw) 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 TraderjoeveJOEBoostChefTransactorSession

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

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

func (*TraderjoeveJOEBoostChefTransactorSession) Add

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) Add(_allocPoint *big.Int, _veJoeShareBp uint32, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x561be05a.

Solidity: function add(uint96 _allocPoint, uint32 _veJoeShareBp, address _lpToken, address _rewarder) returns()

func (*TraderjoeveJOEBoostChefTransactorSession) Deposit

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) 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 (*TraderjoeveJOEBoostChefTransactorSession) EmergencyWithdraw

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) 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 (*TraderjoeveJOEBoostChefTransactorSession) HarvestFromMasterChef

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) HarvestFromMasterChef() (*types.Transaction, error)

HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.

Solidity: function harvestFromMasterChef() returns()

func (*TraderjoeveJOEBoostChefTransactorSession) Init

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) 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 (*TraderjoeveJOEBoostChefTransactorSession) Initialize

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) Initialize(_MASTER_CHEF_V2 common.Address, _joe common.Address, _veJoe common.Address, _MASTER_PID *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.

Solidity: function initialize(address _MASTER_CHEF_V2, address _joe, address _veJoe, uint256 _MASTER_PID) returns()

func (*TraderjoeveJOEBoostChefTransactorSession) MassUpdatePools

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*TraderjoeveJOEBoostChefTransactorSession) RenounceOwnership

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TraderjoeveJOEBoostChefTransactorSession) Set

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _veJoeShareBp uint32, _rewarder common.Address, _overwrite bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x980e5f90.

Solidity: function set(uint256 _pid, uint96 _allocPoint, uint32 _veJoeShareBp, address _rewarder, bool _overwrite) returns()

func (*TraderjoeveJOEBoostChefTransactorSession) TransferOwnership

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) 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 (*TraderjoeveJOEBoostChefTransactorSession) UpdateFactor

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) UpdateFactor(_user common.Address, _newVeJoeBalance *big.Int) (*types.Transaction, error)

UpdateFactor is a paid mutator transaction binding the contract method 0x4f00a93e.

Solidity: function updateFactor(address _user, uint256 _newVeJoeBalance) returns()

func (*TraderjoeveJOEBoostChefTransactorSession) UpdatePool

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) 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 (*TraderjoeveJOEBoostChefTransactorSession) Withdraw

func (_TraderjoeveJOEBoostChef *TraderjoeveJOEBoostChefTransactorSession) 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()

Jump to

Keyboard shortcuts

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