pangolinChef

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PangolinChefABI = PangolinChefMetaData.ABI

PangolinChefABI is the input ABI used to generate the binding from. Deprecated: Use PangolinChefMetaData.ABI instead.

View Source
var PangolinChefMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"REWARD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_funder\",\"type\":\"address\"}],\"name\":\"addFunder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"addPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_allocPoints\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_lpTokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_rewarders\",\"type\":\"address[]\"}],\"name\":\"addPools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"addedTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"depositWithPermit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"extension\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFunding\",\"type\":\"uint256\"}],\"name\":\"extendRewardsViaDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"funding\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minExtension\",\"type\":\"uint256\"}],\"name\":\"extendRewardsViaFunding\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"funding\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"fundRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"harvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_funder\",\"type\":\"address\"}],\"name\":\"isFunder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lpToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdateAllPools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"pids\",\"type\":\"uint256[]\"}],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrationDisabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":\"pendingReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pending\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"accRewardPerShare\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"lastRewardTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"allocPoint\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pools\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_funder\",\"type\":\"address\"}],\"name\":\"removeFunder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"resetRewardsDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardPerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rewarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsExpiration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"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\":\"setPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"pids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"allocPoints\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"rewarders\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"overwrites\",\"type\":\"bool[]\"}],\"name\":\"setPools\",\"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\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"rewardDebt\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdrawAndHarvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PangolinChefMetaData contains all meta data concerning the PangolinChef contract.

Functions

This section is empty.

Types

type PangolinChef

type PangolinChef struct {
	PangolinChefCaller     // Read-only binding to the contract
	PangolinChefTransactor // Write-only binding to the contract
	PangolinChefFilterer   // Log filterer for contract events
}

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

func NewPangolinChef

func NewPangolinChef(address common.Address, backend bind.ContractBackend) (*PangolinChef, error)

NewPangolinChef creates a new instance of PangolinChef, bound to a specific deployed contract.

type PangolinChefCaller

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

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

func NewPangolinChefCaller

func NewPangolinChefCaller(address common.Address, caller bind.ContractCaller) (*PangolinChefCaller, error)

NewPangolinChefCaller creates a new read-only instance of PangolinChef, bound to a specific deployed contract.

func (*PangolinChefCaller) AddedTokens

func (_PangolinChef *PangolinChefCaller) AddedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error)

AddedTokens is a free data retrieval call binding the contract method 0x79d12ffb.

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

func (*PangolinChefCaller) IsFunder

func (_PangolinChef *PangolinChefCaller) IsFunder(opts *bind.CallOpts, _funder common.Address) (bool, error)

IsFunder is a free data retrieval call binding the contract method 0x1ea48870.

Solidity: function isFunder(address _funder) view returns(bool allowed)

func (*PangolinChefCaller) LpToken

func (_PangolinChef *PangolinChefCaller) LpToken(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*PangolinChefCaller) LpTokens

func (_PangolinChef *PangolinChefCaller) LpTokens(opts *bind.CallOpts) ([]common.Address, error)

LpTokens is a free data retrieval call binding the contract method 0x34c0b46b.

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

func (*PangolinChefCaller) MigrationDisabled

func (_PangolinChef *PangolinChefCaller) MigrationDisabled(opts *bind.CallOpts) (bool, error)

MigrationDisabled is a free data retrieval call binding the contract method 0x0c812af3.

Solidity: function migrationDisabled() view returns(bool)

func (*PangolinChefCaller) Migrator

func (_PangolinChef *PangolinChefCaller) Migrator(opts *bind.CallOpts) (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*PangolinChefCaller) Owner

func (_PangolinChef *PangolinChefCaller) 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 (*PangolinChefCaller) PendingReward

func (_PangolinChef *PangolinChefCaller) PendingReward(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0x98969e82.

Solidity: function pendingReward(uint256 _pid, address _user) view returns(uint256 pending)

func (*PangolinChefCaller) PoolInfo

func (_PangolinChef *PangolinChefCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	AccRewardPerShare *big.Int
	LastRewardTime    uint64
	AllocPoint        uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accRewardPerShare, uint64 lastRewardTime, uint64 allocPoint)

func (*PangolinChefCaller) PoolLength

func (_PangolinChef *PangolinChefCaller) 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 (*PangolinChefCaller) REWARD

func (_PangolinChef *PangolinChefCaller) REWARD(opts *bind.CallOpts) (common.Address, error)

REWARD is a free data retrieval call binding the contract method 0xcab34c08.

Solidity: function REWARD() view returns(address)

func (*PangolinChefCaller) RewardPerSecond

func (_PangolinChef *PangolinChefCaller) RewardPerSecond(opts *bind.CallOpts) (*big.Int, error)

RewardPerSecond is a free data retrieval call binding the contract method 0x8f10369a.

Solidity: function rewardPerSecond() view returns(uint256)

func (*PangolinChefCaller) Rewarder

func (_PangolinChef *PangolinChefCaller) Rewarder(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*PangolinChefCaller) RewardsExpiration

func (_PangolinChef *PangolinChefCaller) RewardsExpiration(opts *bind.CallOpts) (*big.Int, error)

RewardsExpiration is a free data retrieval call binding the contract method 0xb76f4aeb.

Solidity: function rewardsExpiration() view returns(uint256)

func (*PangolinChefCaller) TotalAllocPoint

func (_PangolinChef *PangolinChefCaller) 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 (*PangolinChefCaller) UserInfo

func (_PangolinChef *PangolinChefCaller) 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, int256 rewardDebt)

type PangolinChefCallerRaw

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

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

func (*PangolinChefCallerRaw) Call

func (_PangolinChef *PangolinChefCallerRaw) 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 PangolinChefCallerSession

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

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

func (*PangolinChefCallerSession) AddedTokens

func (_PangolinChef *PangolinChefCallerSession) AddedTokens(arg0 common.Address) (bool, error)

AddedTokens is a free data retrieval call binding the contract method 0x79d12ffb.

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

func (*PangolinChefCallerSession) IsFunder

func (_PangolinChef *PangolinChefCallerSession) IsFunder(_funder common.Address) (bool, error)

IsFunder is a free data retrieval call binding the contract method 0x1ea48870.

Solidity: function isFunder(address _funder) view returns(bool allowed)

func (*PangolinChefCallerSession) LpToken

func (_PangolinChef *PangolinChefCallerSession) LpToken(arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*PangolinChefCallerSession) LpTokens

func (_PangolinChef *PangolinChefCallerSession) LpTokens() ([]common.Address, error)

LpTokens is a free data retrieval call binding the contract method 0x34c0b46b.

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

func (*PangolinChefCallerSession) MigrationDisabled

func (_PangolinChef *PangolinChefCallerSession) MigrationDisabled() (bool, error)

MigrationDisabled is a free data retrieval call binding the contract method 0x0c812af3.

Solidity: function migrationDisabled() view returns(bool)

func (*PangolinChefCallerSession) Migrator

func (_PangolinChef *PangolinChefCallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*PangolinChefCallerSession) Owner

func (_PangolinChef *PangolinChefCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PangolinChefCallerSession) PendingReward

func (_PangolinChef *PangolinChefCallerSession) PendingReward(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0x98969e82.

Solidity: function pendingReward(uint256 _pid, address _user) view returns(uint256 pending)

func (*PangolinChefCallerSession) PoolInfo

func (_PangolinChef *PangolinChefCallerSession) PoolInfo(arg0 *big.Int) (struct {
	AccRewardPerShare *big.Int
	LastRewardTime    uint64
	AllocPoint        uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accRewardPerShare, uint64 lastRewardTime, uint64 allocPoint)

func (*PangolinChefCallerSession) PoolLength

func (_PangolinChef *PangolinChefCallerSession) PoolLength() (*big.Int, error)

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

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

func (*PangolinChefCallerSession) REWARD

func (_PangolinChef *PangolinChefCallerSession) REWARD() (common.Address, error)

REWARD is a free data retrieval call binding the contract method 0xcab34c08.

Solidity: function REWARD() view returns(address)

func (*PangolinChefCallerSession) RewardPerSecond

func (_PangolinChef *PangolinChefCallerSession) RewardPerSecond() (*big.Int, error)

RewardPerSecond is a free data retrieval call binding the contract method 0x8f10369a.

Solidity: function rewardPerSecond() view returns(uint256)

func (*PangolinChefCallerSession) Rewarder

func (_PangolinChef *PangolinChefCallerSession) Rewarder(arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*PangolinChefCallerSession) RewardsExpiration

func (_PangolinChef *PangolinChefCallerSession) RewardsExpiration() (*big.Int, error)

RewardsExpiration is a free data retrieval call binding the contract method 0xb76f4aeb.

Solidity: function rewardsExpiration() view returns(uint256)

func (*PangolinChefCallerSession) TotalAllocPoint

func (_PangolinChef *PangolinChefCallerSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*PangolinChefCallerSession) UserInfo

func (_PangolinChef *PangolinChefCallerSession) 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, int256 rewardDebt)

type PangolinChefFilterer

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

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

func NewPangolinChefFilterer

func NewPangolinChefFilterer(address common.Address, filterer bind.ContractFilterer) (*PangolinChefFilterer, error)

NewPangolinChefFilterer creates a new log filterer instance of PangolinChef, bound to a specific deployed contract.

type PangolinChefRaw

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

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

func (*PangolinChefRaw) Call

func (_PangolinChef *PangolinChefRaw) 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 (*PangolinChefRaw) Transact

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

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

func (*PangolinChefRaw) Transfer

func (_PangolinChef *PangolinChefRaw) 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 PangolinChefSession

type PangolinChefSession struct {
	Contract     *PangolinChef     // 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
}

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

func (*PangolinChefSession) AddFunder

func (_PangolinChef *PangolinChefSession) AddFunder(_funder common.Address) (*types.Transaction, error)

AddFunder is a paid mutator transaction binding the contract method 0x1bbe9d8c.

Solidity: function addFunder(address _funder) returns()

func (*PangolinChefSession) AddPool

func (_PangolinChef *PangolinChefSession) AddPool(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xf624d2c5.

Solidity: function addPool(uint256 _allocPoint, address _lpToken, address _rewarder) returns()

func (*PangolinChefSession) AddPools

func (_PangolinChef *PangolinChefSession) AddPools(_allocPoints []*big.Int, _lpTokens []common.Address, _rewarders []common.Address) (*types.Transaction, error)

AddPools is a paid mutator transaction binding the contract method 0x7973aa7b.

Solidity: function addPools(uint256[] _allocPoints, address[] _lpTokens, address[] _rewarders) returns()

func (*PangolinChefSession) AddedTokens

func (_PangolinChef *PangolinChefSession) AddedTokens(arg0 common.Address) (bool, error)

AddedTokens is a free data retrieval call binding the contract method 0x79d12ffb.

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

func (*PangolinChefSession) Deposit

func (_PangolinChef *PangolinChefSession) Deposit(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*PangolinChefSession) DepositWithPermit

func (_PangolinChef *PangolinChefSession) DepositWithPermit(pid *big.Int, amount *big.Int, to common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x2273ee6e.

Solidity: function depositWithPermit(uint256 pid, uint256 amount, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PangolinChefSession) DisableMigrator

func (_PangolinChef *PangolinChefSession) DisableMigrator() (*types.Transaction, error)

DisableMigrator is a paid mutator transaction binding the contract method 0xf6d676be.

Solidity: function disableMigrator() returns()

func (*PangolinChefSession) EmergencyWithdraw

func (_PangolinChef *PangolinChefSession) EmergencyWithdraw(pid *big.Int, to common.Address) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x2f940c70.

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*PangolinChefSession) ExtendRewardsViaDuration

func (_PangolinChef *PangolinChefSession) ExtendRewardsViaDuration(extension *big.Int, maxFunding *big.Int) (*types.Transaction, error)

ExtendRewardsViaDuration is a paid mutator transaction binding the contract method 0x933f084f.

Solidity: function extendRewardsViaDuration(uint256 extension, uint256 maxFunding) returns()

func (*PangolinChefSession) ExtendRewardsViaFunding

func (_PangolinChef *PangolinChefSession) ExtendRewardsViaFunding(funding *big.Int, minExtension *big.Int) (*types.Transaction, error)

ExtendRewardsViaFunding is a paid mutator transaction binding the contract method 0x19610b2b.

Solidity: function extendRewardsViaFunding(uint256 funding, uint256 minExtension) returns()

func (*PangolinChefSession) FundRewards

func (_PangolinChef *PangolinChefSession) FundRewards(funding *big.Int, duration *big.Int) (*types.Transaction, error)

FundRewards is a paid mutator transaction binding the contract method 0x28662551.

Solidity: function fundRewards(uint256 funding, uint256 duration) returns()

func (*PangolinChefSession) Harvest

func (_PangolinChef *PangolinChefSession) Harvest(pid *big.Int, to common.Address) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x18fccc76.

Solidity: function harvest(uint256 pid, address to) returns()

func (*PangolinChefSession) IsFunder

func (_PangolinChef *PangolinChefSession) IsFunder(_funder common.Address) (bool, error)

IsFunder is a free data retrieval call binding the contract method 0x1ea48870.

Solidity: function isFunder(address _funder) view returns(bool allowed)

func (*PangolinChefSession) LpToken

func (_PangolinChef *PangolinChefSession) LpToken(arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*PangolinChefSession) LpTokens

func (_PangolinChef *PangolinChefSession) LpTokens() ([]common.Address, error)

LpTokens is a free data retrieval call binding the contract method 0x34c0b46b.

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

func (*PangolinChefSession) MassUpdateAllPools

func (_PangolinChef *PangolinChefSession) MassUpdateAllPools() (*types.Transaction, error)

MassUpdateAllPools is a paid mutator transaction binding the contract method 0xc1bcb493.

Solidity: function massUpdateAllPools() returns()

func (*PangolinChefSession) MassUpdatePools

func (_PangolinChef *PangolinChefSession) 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 (*PangolinChefSession) Migrate

func (_PangolinChef *PangolinChefSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*PangolinChefSession) MigrationDisabled

func (_PangolinChef *PangolinChefSession) MigrationDisabled() (bool, error)

MigrationDisabled is a free data retrieval call binding the contract method 0x0c812af3.

Solidity: function migrationDisabled() view returns(bool)

func (*PangolinChefSession) Migrator

func (_PangolinChef *PangolinChefSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*PangolinChefSession) Owner

func (_PangolinChef *PangolinChefSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PangolinChefSession) PendingReward

func (_PangolinChef *PangolinChefSession) PendingReward(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0x98969e82.

Solidity: function pendingReward(uint256 _pid, address _user) view returns(uint256 pending)

func (*PangolinChefSession) PoolInfo

func (_PangolinChef *PangolinChefSession) PoolInfo(arg0 *big.Int) (struct {
	AccRewardPerShare *big.Int
	LastRewardTime    uint64
	AllocPoint        uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accRewardPerShare, uint64 lastRewardTime, uint64 allocPoint)

func (*PangolinChefSession) PoolLength

func (_PangolinChef *PangolinChefSession) PoolLength() (*big.Int, error)

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

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

func (*PangolinChefSession) REWARD

func (_PangolinChef *PangolinChefSession) REWARD() (common.Address, error)

REWARD is a free data retrieval call binding the contract method 0xcab34c08.

Solidity: function REWARD() view returns(address)

func (*PangolinChefSession) RemoveFunder

func (_PangolinChef *PangolinChefSession) RemoveFunder(_funder common.Address) (*types.Transaction, error)

RemoveFunder is a paid mutator transaction binding the contract method 0xdcd18dd4.

Solidity: function removeFunder(address _funder) returns()

func (*PangolinChefSession) RenounceOwnership

func (_PangolinChef *PangolinChefSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PangolinChefSession) ResetRewardsDuration

func (_PangolinChef *PangolinChefSession) ResetRewardsDuration(duration *big.Int) (*types.Transaction, error)

ResetRewardsDuration is a paid mutator transaction binding the contract method 0x4b87e90f.

Solidity: function resetRewardsDuration(uint256 duration) returns()

func (*PangolinChefSession) RewardPerSecond

func (_PangolinChef *PangolinChefSession) RewardPerSecond() (*big.Int, error)

RewardPerSecond is a free data retrieval call binding the contract method 0x8f10369a.

Solidity: function rewardPerSecond() view returns(uint256)

func (*PangolinChefSession) Rewarder

func (_PangolinChef *PangolinChefSession) Rewarder(arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*PangolinChefSession) RewardsExpiration

func (_PangolinChef *PangolinChefSession) RewardsExpiration() (*big.Int, error)

RewardsExpiration is a free data retrieval call binding the contract method 0xb76f4aeb.

Solidity: function rewardsExpiration() view returns(uint256)

func (*PangolinChefSession) SetMigrator

func (_PangolinChef *PangolinChefSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*PangolinChefSession) SetPool

func (_PangolinChef *PangolinChefSession) SetPool(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

SetPool is a paid mutator transaction binding the contract method 0xb763e7c4.

Solidity: function setPool(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*PangolinChefSession) SetPools

func (_PangolinChef *PangolinChefSession) SetPools(pids []*big.Int, allocPoints []*big.Int, rewarders []common.Address, overwrites []bool) (*types.Transaction, error)

SetPools is a paid mutator transaction binding the contract method 0x3ef6db91.

Solidity: function setPools(uint256[] pids, uint256[] allocPoints, address[] rewarders, bool[] overwrites) returns()

func (*PangolinChefSession) TotalAllocPoint

func (_PangolinChef *PangolinChefSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*PangolinChefSession) TransferOwnership

func (_PangolinChef *PangolinChefSession) 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 (*PangolinChefSession) UserInfo

func (_PangolinChef *PangolinChefSession) 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, int256 rewardDebt)

func (*PangolinChefSession) Withdraw

func (_PangolinChef *PangolinChefSession) Withdraw(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x0ad58d2f.

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*PangolinChefSession) WithdrawAndHarvest

func (_PangolinChef *PangolinChefSession) WithdrawAndHarvest(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type PangolinChefTransactor

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

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

func NewPangolinChefTransactor

func NewPangolinChefTransactor(address common.Address, transactor bind.ContractTransactor) (*PangolinChefTransactor, error)

NewPangolinChefTransactor creates a new write-only instance of PangolinChef, bound to a specific deployed contract.

func (*PangolinChefTransactor) AddFunder

func (_PangolinChef *PangolinChefTransactor) AddFunder(opts *bind.TransactOpts, _funder common.Address) (*types.Transaction, error)

AddFunder is a paid mutator transaction binding the contract method 0x1bbe9d8c.

Solidity: function addFunder(address _funder) returns()

func (*PangolinChefTransactor) AddPool

func (_PangolinChef *PangolinChefTransactor) AddPool(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xf624d2c5.

Solidity: function addPool(uint256 _allocPoint, address _lpToken, address _rewarder) returns()

func (*PangolinChefTransactor) AddPools

func (_PangolinChef *PangolinChefTransactor) AddPools(opts *bind.TransactOpts, _allocPoints []*big.Int, _lpTokens []common.Address, _rewarders []common.Address) (*types.Transaction, error)

AddPools is a paid mutator transaction binding the contract method 0x7973aa7b.

Solidity: function addPools(uint256[] _allocPoints, address[] _lpTokens, address[] _rewarders) returns()

func (*PangolinChefTransactor) Deposit

func (_PangolinChef *PangolinChefTransactor) Deposit(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*PangolinChefTransactor) DepositWithPermit

func (_PangolinChef *PangolinChefTransactor) DepositWithPermit(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x2273ee6e.

Solidity: function depositWithPermit(uint256 pid, uint256 amount, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PangolinChefTransactor) DisableMigrator

func (_PangolinChef *PangolinChefTransactor) DisableMigrator(opts *bind.TransactOpts) (*types.Transaction, error)

DisableMigrator is a paid mutator transaction binding the contract method 0xf6d676be.

Solidity: function disableMigrator() returns()

func (*PangolinChefTransactor) EmergencyWithdraw

func (_PangolinChef *PangolinChefTransactor) EmergencyWithdraw(opts *bind.TransactOpts, pid *big.Int, to common.Address) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x2f940c70.

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*PangolinChefTransactor) ExtendRewardsViaDuration

func (_PangolinChef *PangolinChefTransactor) ExtendRewardsViaDuration(opts *bind.TransactOpts, extension *big.Int, maxFunding *big.Int) (*types.Transaction, error)

ExtendRewardsViaDuration is a paid mutator transaction binding the contract method 0x933f084f.

Solidity: function extendRewardsViaDuration(uint256 extension, uint256 maxFunding) returns()

func (*PangolinChefTransactor) ExtendRewardsViaFunding

func (_PangolinChef *PangolinChefTransactor) ExtendRewardsViaFunding(opts *bind.TransactOpts, funding *big.Int, minExtension *big.Int) (*types.Transaction, error)

ExtendRewardsViaFunding is a paid mutator transaction binding the contract method 0x19610b2b.

Solidity: function extendRewardsViaFunding(uint256 funding, uint256 minExtension) returns()

func (*PangolinChefTransactor) FundRewards

func (_PangolinChef *PangolinChefTransactor) FundRewards(opts *bind.TransactOpts, funding *big.Int, duration *big.Int) (*types.Transaction, error)

FundRewards is a paid mutator transaction binding the contract method 0x28662551.

Solidity: function fundRewards(uint256 funding, uint256 duration) returns()

func (*PangolinChefTransactor) Harvest

func (_PangolinChef *PangolinChefTransactor) Harvest(opts *bind.TransactOpts, pid *big.Int, to common.Address) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x18fccc76.

Solidity: function harvest(uint256 pid, address to) returns()

func (*PangolinChefTransactor) MassUpdateAllPools

func (_PangolinChef *PangolinChefTransactor) MassUpdateAllPools(opts *bind.TransactOpts) (*types.Transaction, error)

MassUpdateAllPools is a paid mutator transaction binding the contract method 0xc1bcb493.

Solidity: function massUpdateAllPools() returns()

func (*PangolinChefTransactor) MassUpdatePools

func (_PangolinChef *PangolinChefTransactor) 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 (*PangolinChefTransactor) Migrate

func (_PangolinChef *PangolinChefTransactor) Migrate(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*PangolinChefTransactor) RemoveFunder

func (_PangolinChef *PangolinChefTransactor) RemoveFunder(opts *bind.TransactOpts, _funder common.Address) (*types.Transaction, error)

RemoveFunder is a paid mutator transaction binding the contract method 0xdcd18dd4.

Solidity: function removeFunder(address _funder) returns()

func (*PangolinChefTransactor) RenounceOwnership

func (_PangolinChef *PangolinChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PangolinChefTransactor) ResetRewardsDuration

func (_PangolinChef *PangolinChefTransactor) ResetRewardsDuration(opts *bind.TransactOpts, duration *big.Int) (*types.Transaction, error)

ResetRewardsDuration is a paid mutator transaction binding the contract method 0x4b87e90f.

Solidity: function resetRewardsDuration(uint256 duration) returns()

func (*PangolinChefTransactor) SetMigrator

func (_PangolinChef *PangolinChefTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*PangolinChefTransactor) SetPool

func (_PangolinChef *PangolinChefTransactor) SetPool(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

SetPool is a paid mutator transaction binding the contract method 0xb763e7c4.

Solidity: function setPool(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*PangolinChefTransactor) SetPools

func (_PangolinChef *PangolinChefTransactor) SetPools(opts *bind.TransactOpts, pids []*big.Int, allocPoints []*big.Int, rewarders []common.Address, overwrites []bool) (*types.Transaction, error)

SetPools is a paid mutator transaction binding the contract method 0x3ef6db91.

Solidity: function setPools(uint256[] pids, uint256[] allocPoints, address[] rewarders, bool[] overwrites) returns()

func (*PangolinChefTransactor) TransferOwnership

func (_PangolinChef *PangolinChefTransactor) 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 (*PangolinChefTransactor) Withdraw

func (_PangolinChef *PangolinChefTransactor) Withdraw(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x0ad58d2f.

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*PangolinChefTransactor) WithdrawAndHarvest

func (_PangolinChef *PangolinChefTransactor) WithdrawAndHarvest(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type PangolinChefTransactorRaw

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

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

func (*PangolinChefTransactorRaw) Transact

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

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

func (*PangolinChefTransactorRaw) Transfer

func (_PangolinChef *PangolinChefTransactorRaw) 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 PangolinChefTransactorSession

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

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

func (*PangolinChefTransactorSession) AddFunder

func (_PangolinChef *PangolinChefTransactorSession) AddFunder(_funder common.Address) (*types.Transaction, error)

AddFunder is a paid mutator transaction binding the contract method 0x1bbe9d8c.

Solidity: function addFunder(address _funder) returns()

func (*PangolinChefTransactorSession) AddPool

func (_PangolinChef *PangolinChefTransactorSession) AddPool(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xf624d2c5.

Solidity: function addPool(uint256 _allocPoint, address _lpToken, address _rewarder) returns()

func (*PangolinChefTransactorSession) AddPools

func (_PangolinChef *PangolinChefTransactorSession) AddPools(_allocPoints []*big.Int, _lpTokens []common.Address, _rewarders []common.Address) (*types.Transaction, error)

AddPools is a paid mutator transaction binding the contract method 0x7973aa7b.

Solidity: function addPools(uint256[] _allocPoints, address[] _lpTokens, address[] _rewarders) returns()

func (*PangolinChefTransactorSession) Deposit

func (_PangolinChef *PangolinChefTransactorSession) Deposit(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*PangolinChefTransactorSession) DepositWithPermit

func (_PangolinChef *PangolinChefTransactorSession) DepositWithPermit(pid *big.Int, amount *big.Int, to common.Address, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DepositWithPermit is a paid mutator transaction binding the contract method 0x2273ee6e.

Solidity: function depositWithPermit(uint256 pid, uint256 amount, address to, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PangolinChefTransactorSession) DisableMigrator

func (_PangolinChef *PangolinChefTransactorSession) DisableMigrator() (*types.Transaction, error)

DisableMigrator is a paid mutator transaction binding the contract method 0xf6d676be.

Solidity: function disableMigrator() returns()

func (*PangolinChefTransactorSession) EmergencyWithdraw

func (_PangolinChef *PangolinChefTransactorSession) EmergencyWithdraw(pid *big.Int, to common.Address) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x2f940c70.

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*PangolinChefTransactorSession) ExtendRewardsViaDuration

func (_PangolinChef *PangolinChefTransactorSession) ExtendRewardsViaDuration(extension *big.Int, maxFunding *big.Int) (*types.Transaction, error)

ExtendRewardsViaDuration is a paid mutator transaction binding the contract method 0x933f084f.

Solidity: function extendRewardsViaDuration(uint256 extension, uint256 maxFunding) returns()

func (*PangolinChefTransactorSession) ExtendRewardsViaFunding

func (_PangolinChef *PangolinChefTransactorSession) ExtendRewardsViaFunding(funding *big.Int, minExtension *big.Int) (*types.Transaction, error)

ExtendRewardsViaFunding is a paid mutator transaction binding the contract method 0x19610b2b.

Solidity: function extendRewardsViaFunding(uint256 funding, uint256 minExtension) returns()

func (*PangolinChefTransactorSession) FundRewards

func (_PangolinChef *PangolinChefTransactorSession) FundRewards(funding *big.Int, duration *big.Int) (*types.Transaction, error)

FundRewards is a paid mutator transaction binding the contract method 0x28662551.

Solidity: function fundRewards(uint256 funding, uint256 duration) returns()

func (*PangolinChefTransactorSession) Harvest

func (_PangolinChef *PangolinChefTransactorSession) Harvest(pid *big.Int, to common.Address) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x18fccc76.

Solidity: function harvest(uint256 pid, address to) returns()

func (*PangolinChefTransactorSession) MassUpdateAllPools

func (_PangolinChef *PangolinChefTransactorSession) MassUpdateAllPools() (*types.Transaction, error)

MassUpdateAllPools is a paid mutator transaction binding the contract method 0xc1bcb493.

Solidity: function massUpdateAllPools() returns()

func (*PangolinChefTransactorSession) MassUpdatePools

func (_PangolinChef *PangolinChefTransactorSession) 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 (*PangolinChefTransactorSession) Migrate

func (_PangolinChef *PangolinChefTransactorSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*PangolinChefTransactorSession) RemoveFunder

func (_PangolinChef *PangolinChefTransactorSession) RemoveFunder(_funder common.Address) (*types.Transaction, error)

RemoveFunder is a paid mutator transaction binding the contract method 0xdcd18dd4.

Solidity: function removeFunder(address _funder) returns()

func (*PangolinChefTransactorSession) RenounceOwnership

func (_PangolinChef *PangolinChefTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PangolinChefTransactorSession) ResetRewardsDuration

func (_PangolinChef *PangolinChefTransactorSession) ResetRewardsDuration(duration *big.Int) (*types.Transaction, error)

ResetRewardsDuration is a paid mutator transaction binding the contract method 0x4b87e90f.

Solidity: function resetRewardsDuration(uint256 duration) returns()

func (*PangolinChefTransactorSession) SetMigrator

func (_PangolinChef *PangolinChefTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*PangolinChefTransactorSession) SetPool

func (_PangolinChef *PangolinChefTransactorSession) SetPool(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

SetPool is a paid mutator transaction binding the contract method 0xb763e7c4.

Solidity: function setPool(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*PangolinChefTransactorSession) SetPools

func (_PangolinChef *PangolinChefTransactorSession) SetPools(pids []*big.Int, allocPoints []*big.Int, rewarders []common.Address, overwrites []bool) (*types.Transaction, error)

SetPools is a paid mutator transaction binding the contract method 0x3ef6db91.

Solidity: function setPools(uint256[] pids, uint256[] allocPoints, address[] rewarders, bool[] overwrites) returns()

func (*PangolinChefTransactorSession) TransferOwnership

func (_PangolinChef *PangolinChefTransactorSession) 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 (*PangolinChefTransactorSession) Withdraw

func (_PangolinChef *PangolinChefTransactorSession) Withdraw(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x0ad58d2f.

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*PangolinChefTransactorSession) WithdrawAndHarvest

func (_PangolinChef *PangolinChefTransactorSession) WithdrawAndHarvest(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

Jump to

Keyboard shortcuts

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