platypusChefV3

package
v0.1.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PlatypusChefV3ABI = PlatypusChefV3MetaData.ABI

PlatypusChefV3ABI is the input ABI used to generate the binding from. Deprecated: Use PlatypusChefV3MetaData.ABI instead.

View Source
var PlatypusChefV3MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseAllocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimablePtp\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dialutingRepartition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emergencyPtpWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ptp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_vePtp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ptpPerSec\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_dialutingRepartition\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startTimestamp\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPoolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_pids\",\"type\":\"uint256[]\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_pids\",\"type\":\"uint256[]\"}],\"name\":\"multiClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newMasterPlatypus\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nonDialutingRepartition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ownerCandidate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingPtp\",\"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\":\"pid\",\"type\":\"uint256\"}],\"name\":\"poolAdjustFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"baseAllocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accPtpPerShare\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewarder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sumOfFactors\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accPtpPerFactorShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"adjustedAllocPoint\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"proposeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ptp\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ptpPerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"rewarderBonusTokenInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"bonusTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"bonusTokenSymbol\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_baseAllocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxPoolLength\",\"type\":\"uint256\"}],\"name\":\"setMaxPoolLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newMasterPlatypus\",\"type\":\"address\"}],\"name\":\"setNewMasterPlatypus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newVePtp\",\"type\":\"address\"}],\"name\":\"setVePtp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAdjustedAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBaseAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ptpPerSec\",\"type\":\"uint256\"}],\"name\":\"updateEmissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dialutingRepartition\",\"type\":\"uint256\"}],\"name\":\"updateEmissionRepartition\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newVePtpBalance\",\"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\":[],\"name\":\"vePtp\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PlatypusChefV3MetaData contains all meta data concerning the PlatypusChefV3 contract.

Functions

This section is empty.

Types

type PlatypusChefV3

type PlatypusChefV3 struct {
	PlatypusChefV3Caller     // Read-only binding to the contract
	PlatypusChefV3Transactor // Write-only binding to the contract
	PlatypusChefV3Filterer   // Log filterer for contract events
}

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

func NewPlatypusChefV3

func NewPlatypusChefV3(address common.Address, backend bind.ContractBackend) (*PlatypusChefV3, error)

NewPlatypusChefV3 creates a new instance of PlatypusChefV3, bound to a specific deployed contract.

type PlatypusChefV3Caller

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

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

func NewPlatypusChefV3Caller

func NewPlatypusChefV3Caller(address common.Address, caller bind.ContractCaller) (*PlatypusChefV3Caller, error)

NewPlatypusChefV3Caller creates a new read-only instance of PlatypusChefV3, bound to a specific deployed contract.

func (*PlatypusChefV3Caller) ClaimablePtp

func (_PlatypusChefV3 *PlatypusChefV3Caller) ClaimablePtp(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

ClaimablePtp is a free data retrieval call binding the contract method 0x8b4d83a3.

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

func (*PlatypusChefV3Caller) DialutingRepartition

func (_PlatypusChefV3 *PlatypusChefV3Caller) DialutingRepartition(opts *bind.CallOpts) (*big.Int, error)

DialutingRepartition is a free data retrieval call binding the contract method 0x05ed1de4.

Solidity: function dialutingRepartition() view returns(uint256)

func (*PlatypusChefV3Caller) MaxPoolLength

func (_PlatypusChefV3 *PlatypusChefV3Caller) MaxPoolLength(opts *bind.CallOpts) (*big.Int, error)

MaxPoolLength is a free data retrieval call binding the contract method 0x7b62a738.

Solidity: function maxPoolLength() view returns(uint256)

func (*PlatypusChefV3Caller) NewMasterPlatypus

func (_PlatypusChefV3 *PlatypusChefV3Caller) NewMasterPlatypus(opts *bind.CallOpts) (common.Address, error)

NewMasterPlatypus is a free data retrieval call binding the contract method 0x01126816.

Solidity: function newMasterPlatypus() view returns(address)

func (*PlatypusChefV3Caller) NonDialutingRepartition

func (_PlatypusChefV3 *PlatypusChefV3Caller) NonDialutingRepartition(opts *bind.CallOpts) (*big.Int, error)

NonDialutingRepartition is a free data retrieval call binding the contract method 0xf87bbc56.

Solidity: function nonDialutingRepartition() view returns(uint256)

func (*PlatypusChefV3Caller) Owner

func (_PlatypusChefV3 *PlatypusChefV3Caller) 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 (*PlatypusChefV3Caller) OwnerCandidate

func (_PlatypusChefV3 *PlatypusChefV3Caller) OwnerCandidate(opts *bind.CallOpts) (common.Address, error)

OwnerCandidate is a free data retrieval call binding the contract method 0x5f504a82.

Solidity: function ownerCandidate() view returns(address)

func (*PlatypusChefV3Caller) Paused

func (_PlatypusChefV3 *PlatypusChefV3Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PlatypusChefV3Caller) PendingTokens

func (_PlatypusChefV3 *PlatypusChefV3Caller) PendingTokens(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (struct {
	PendingPtp        *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 pendingPtp, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)

func (*PlatypusChefV3Caller) PoolAdjustFactor

func (_PlatypusChefV3 *PlatypusChefV3Caller) PoolAdjustFactor(opts *bind.CallOpts, pid *big.Int) (*big.Int, error)

PoolAdjustFactor is a free data retrieval call binding the contract method 0x2b685580.

Solidity: function poolAdjustFactor(uint256 pid) view returns(uint256)

func (*PlatypusChefV3Caller) PoolInfo

func (_PlatypusChefV3 *PlatypusChefV3Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken              common.Address
	BaseAllocPoint       *big.Int
	LastRewardTimestamp  *big.Int
	AccPtpPerShare       *big.Int
	Rewarder             common.Address
	SumOfFactors         *big.Int
	AccPtpPerFactorShare *big.Int
	AdjustedAllocPoint   *big.Int
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 baseAllocPoint, uint256 lastRewardTimestamp, uint256 accPtpPerShare, address rewarder, uint256 sumOfFactors, uint256 accPtpPerFactorShare, uint256 adjustedAllocPoint)

func (*PlatypusChefV3Caller) PoolLength

func (_PlatypusChefV3 *PlatypusChefV3Caller) 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)

func (*PlatypusChefV3Caller) Ptp

func (_PlatypusChefV3 *PlatypusChefV3Caller) Ptp(opts *bind.CallOpts) (common.Address, error)

Ptp is a free data retrieval call binding the contract method 0x6af66772.

Solidity: function ptp() view returns(address)

func (*PlatypusChefV3Caller) PtpPerSec

func (_PlatypusChefV3 *PlatypusChefV3Caller) PtpPerSec(opts *bind.CallOpts) (*big.Int, error)

PtpPerSec is a free data retrieval call binding the contract method 0x9702d3e2.

Solidity: function ptpPerSec() view returns(uint256)

func (*PlatypusChefV3Caller) RewarderBonusTokenInfo

func (_PlatypusChefV3 *PlatypusChefV3Caller) RewarderBonusTokenInfo(opts *bind.CallOpts, _pid *big.Int) (struct {
	BonusTokenAddress common.Address
	BonusTokenSymbol  string
}, error)

RewarderBonusTokenInfo is a free data retrieval call binding the contract method 0xbc70fdbc.

Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address bonusTokenAddress, string bonusTokenSymbol)

func (*PlatypusChefV3Caller) StartTimestamp

func (_PlatypusChefV3 *PlatypusChefV3Caller) StartTimestamp(opts *bind.CallOpts) (*big.Int, error)

StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.

Solidity: function startTimestamp() view returns(uint256)

func (*PlatypusChefV3Caller) TotalAdjustedAllocPoint

func (_PlatypusChefV3 *PlatypusChefV3Caller) TotalAdjustedAllocPoint(opts *bind.CallOpts) (*big.Int, error)

TotalAdjustedAllocPoint is a free data retrieval call binding the contract method 0x91ea1d68.

Solidity: function totalAdjustedAllocPoint() view returns(uint256)

func (*PlatypusChefV3Caller) TotalBaseAllocPoint

func (_PlatypusChefV3 *PlatypusChefV3Caller) TotalBaseAllocPoint(opts *bind.CallOpts) (*big.Int, error)

TotalBaseAllocPoint is a free data retrieval call binding the contract method 0x33e045fc.

Solidity: function totalBaseAllocPoint() view returns(uint256)

func (*PlatypusChefV3Caller) UserInfo

func (_PlatypusChefV3 *PlatypusChefV3Caller) 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 (*PlatypusChefV3Caller) VePtp

func (_PlatypusChefV3 *PlatypusChefV3Caller) VePtp(opts *bind.CallOpts) (common.Address, error)

VePtp is a free data retrieval call binding the contract method 0x82c780a1.

Solidity: function vePtp() view returns(address)

func (*PlatypusChefV3Caller) Version

func (_PlatypusChefV3 *PlatypusChefV3Caller) Version(opts *bind.CallOpts) (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(uint256)

type PlatypusChefV3CallerRaw

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

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

func (*PlatypusChefV3CallerRaw) Call

func (_PlatypusChefV3 *PlatypusChefV3CallerRaw) 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 PlatypusChefV3CallerSession

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

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

func (*PlatypusChefV3CallerSession) ClaimablePtp

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) ClaimablePtp(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

ClaimablePtp is a free data retrieval call binding the contract method 0x8b4d83a3.

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

func (*PlatypusChefV3CallerSession) DialutingRepartition

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) DialutingRepartition() (*big.Int, error)

DialutingRepartition is a free data retrieval call binding the contract method 0x05ed1de4.

Solidity: function dialutingRepartition() view returns(uint256)

func (*PlatypusChefV3CallerSession) MaxPoolLength

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) MaxPoolLength() (*big.Int, error)

MaxPoolLength is a free data retrieval call binding the contract method 0x7b62a738.

Solidity: function maxPoolLength() view returns(uint256)

func (*PlatypusChefV3CallerSession) NewMasterPlatypus

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) NewMasterPlatypus() (common.Address, error)

NewMasterPlatypus is a free data retrieval call binding the contract method 0x01126816.

Solidity: function newMasterPlatypus() view returns(address)

func (*PlatypusChefV3CallerSession) NonDialutingRepartition

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) NonDialutingRepartition() (*big.Int, error)

NonDialutingRepartition is a free data retrieval call binding the contract method 0xf87bbc56.

Solidity: function nonDialutingRepartition() view returns(uint256)

func (*PlatypusChefV3CallerSession) Owner

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PlatypusChefV3CallerSession) OwnerCandidate

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) OwnerCandidate() (common.Address, error)

OwnerCandidate is a free data retrieval call binding the contract method 0x5f504a82.

Solidity: function ownerCandidate() view returns(address)

func (*PlatypusChefV3CallerSession) Paused

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PlatypusChefV3CallerSession) PendingTokens

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) PendingTokens(_pid *big.Int, _user common.Address) (struct {
	PendingPtp        *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 pendingPtp, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)

func (*PlatypusChefV3CallerSession) PoolAdjustFactor

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) PoolAdjustFactor(pid *big.Int) (*big.Int, error)

PoolAdjustFactor is a free data retrieval call binding the contract method 0x2b685580.

Solidity: function poolAdjustFactor(uint256 pid) view returns(uint256)

func (*PlatypusChefV3CallerSession) PoolInfo

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken              common.Address
	BaseAllocPoint       *big.Int
	LastRewardTimestamp  *big.Int
	AccPtpPerShare       *big.Int
	Rewarder             common.Address
	SumOfFactors         *big.Int
	AccPtpPerFactorShare *big.Int
	AdjustedAllocPoint   *big.Int
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 baseAllocPoint, uint256 lastRewardTimestamp, uint256 accPtpPerShare, address rewarder, uint256 sumOfFactors, uint256 accPtpPerFactorShare, uint256 adjustedAllocPoint)

func (*PlatypusChefV3CallerSession) PoolLength

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*PlatypusChefV3CallerSession) Ptp

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) Ptp() (common.Address, error)

Ptp is a free data retrieval call binding the contract method 0x6af66772.

Solidity: function ptp() view returns(address)

func (*PlatypusChefV3CallerSession) PtpPerSec

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) PtpPerSec() (*big.Int, error)

PtpPerSec is a free data retrieval call binding the contract method 0x9702d3e2.

Solidity: function ptpPerSec() view returns(uint256)

func (*PlatypusChefV3CallerSession) RewarderBonusTokenInfo

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) RewarderBonusTokenInfo(_pid *big.Int) (struct {
	BonusTokenAddress common.Address
	BonusTokenSymbol  string
}, error)

RewarderBonusTokenInfo is a free data retrieval call binding the contract method 0xbc70fdbc.

Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address bonusTokenAddress, string bonusTokenSymbol)

func (*PlatypusChefV3CallerSession) StartTimestamp

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) StartTimestamp() (*big.Int, error)

StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.

Solidity: function startTimestamp() view returns(uint256)

func (*PlatypusChefV3CallerSession) TotalAdjustedAllocPoint

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) TotalAdjustedAllocPoint() (*big.Int, error)

TotalAdjustedAllocPoint is a free data retrieval call binding the contract method 0x91ea1d68.

Solidity: function totalAdjustedAllocPoint() view returns(uint256)

func (*PlatypusChefV3CallerSession) TotalBaseAllocPoint

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) TotalBaseAllocPoint() (*big.Int, error)

TotalBaseAllocPoint is a free data retrieval call binding the contract method 0x33e045fc.

Solidity: function totalBaseAllocPoint() view returns(uint256)

func (*PlatypusChefV3CallerSession) UserInfo

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) 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 (*PlatypusChefV3CallerSession) VePtp

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) VePtp() (common.Address, error)

VePtp is a free data retrieval call binding the contract method 0x82c780a1.

Solidity: function vePtp() view returns(address)

func (*PlatypusChefV3CallerSession) Version

func (_PlatypusChefV3 *PlatypusChefV3CallerSession) Version() (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(uint256)

type PlatypusChefV3Filterer

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

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

func NewPlatypusChefV3Filterer

func NewPlatypusChefV3Filterer(address common.Address, filterer bind.ContractFilterer) (*PlatypusChefV3Filterer, error)

NewPlatypusChefV3Filterer creates a new log filterer instance of PlatypusChefV3, bound to a specific deployed contract.

type PlatypusChefV3Raw

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

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

func (*PlatypusChefV3Raw) Call

func (_PlatypusChefV3 *PlatypusChefV3Raw) 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 (*PlatypusChefV3Raw) Transact

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

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

func (*PlatypusChefV3Raw) Transfer

func (_PlatypusChefV3 *PlatypusChefV3Raw) 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 PlatypusChefV3Session

type PlatypusChefV3Session struct {
	Contract     *PlatypusChefV3   // 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
}

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

func (*PlatypusChefV3Session) AcceptOwnership

func (_PlatypusChefV3 *PlatypusChefV3Session) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PlatypusChefV3Session) Add

func (_PlatypusChefV3 *PlatypusChefV3Session) Add(_baseAllocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 _baseAllocPoint, address _lpToken, address _rewarder) returns()

func (*PlatypusChefV3Session) ClaimablePtp

func (_PlatypusChefV3 *PlatypusChefV3Session) ClaimablePtp(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

ClaimablePtp is a free data retrieval call binding the contract method 0x8b4d83a3.

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

func (*PlatypusChefV3Session) Deposit

func (_PlatypusChefV3 *PlatypusChefV3Session) 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(uint256, uint256)

func (*PlatypusChefV3Session) DepositFor

func (_PlatypusChefV3 *PlatypusChefV3Session) DepositFor(_pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x90210d7e.

Solidity: function depositFor(uint256 _pid, uint256 _amount, address _user) returns()

func (*PlatypusChefV3Session) DialutingRepartition

func (_PlatypusChefV3 *PlatypusChefV3Session) DialutingRepartition() (*big.Int, error)

DialutingRepartition is a free data retrieval call binding the contract method 0x05ed1de4.

Solidity: function dialutingRepartition() view returns(uint256)

func (*PlatypusChefV3Session) EmergencyPtpWithdraw

func (_PlatypusChefV3 *PlatypusChefV3Session) EmergencyPtpWithdraw() (*types.Transaction, error)

EmergencyPtpWithdraw is a paid mutator transaction binding the contract method 0x7dd38dcc.

Solidity: function emergencyPtpWithdraw() returns()

func (*PlatypusChefV3Session) EmergencyWithdraw

func (_PlatypusChefV3 *PlatypusChefV3Session) 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 (*PlatypusChefV3Session) Initialize

func (_PlatypusChefV3 *PlatypusChefV3Session) Initialize(_ptp common.Address, _vePtp common.Address, _ptpPerSec *big.Int, _dialutingRepartition *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(address _ptp, address _vePtp, uint256 _ptpPerSec, uint256 _dialutingRepartition, uint256 _startTimestamp) returns()

func (*PlatypusChefV3Session) MassUpdatePools

func (_PlatypusChefV3 *PlatypusChefV3Session) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*PlatypusChefV3Session) MaxPoolLength

func (_PlatypusChefV3 *PlatypusChefV3Session) MaxPoolLength() (*big.Int, error)

MaxPoolLength is a free data retrieval call binding the contract method 0x7b62a738.

Solidity: function maxPoolLength() view returns(uint256)

func (*PlatypusChefV3Session) Migrate

func (_PlatypusChefV3 *PlatypusChefV3Session) Migrate(_pids []*big.Int) (*types.Transaction, error)

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

Solidity: function migrate(uint256[] _pids) returns()

func (*PlatypusChefV3Session) MultiClaim

func (_PlatypusChefV3 *PlatypusChefV3Session) MultiClaim(_pids []*big.Int) (*types.Transaction, error)

MultiClaim is a paid mutator transaction binding the contract method 0x4ed73d28.

Solidity: function multiClaim(uint256[] _pids) returns(uint256, uint256[], uint256[])

func (*PlatypusChefV3Session) NewMasterPlatypus

func (_PlatypusChefV3 *PlatypusChefV3Session) NewMasterPlatypus() (common.Address, error)

NewMasterPlatypus is a free data retrieval call binding the contract method 0x01126816.

Solidity: function newMasterPlatypus() view returns(address)

func (*PlatypusChefV3Session) NonDialutingRepartition

func (_PlatypusChefV3 *PlatypusChefV3Session) NonDialutingRepartition() (*big.Int, error)

NonDialutingRepartition is a free data retrieval call binding the contract method 0xf87bbc56.

Solidity: function nonDialutingRepartition() view returns(uint256)

func (*PlatypusChefV3Session) Owner

func (_PlatypusChefV3 *PlatypusChefV3Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PlatypusChefV3Session) OwnerCandidate

func (_PlatypusChefV3 *PlatypusChefV3Session) OwnerCandidate() (common.Address, error)

OwnerCandidate is a free data retrieval call binding the contract method 0x5f504a82.

Solidity: function ownerCandidate() view returns(address)

func (*PlatypusChefV3Session) Pause

func (_PlatypusChefV3 *PlatypusChefV3Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PlatypusChefV3Session) Paused

func (_PlatypusChefV3 *PlatypusChefV3Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PlatypusChefV3Session) PendingTokens

func (_PlatypusChefV3 *PlatypusChefV3Session) PendingTokens(_pid *big.Int, _user common.Address) (struct {
	PendingPtp        *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 pendingPtp, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)

func (*PlatypusChefV3Session) PoolAdjustFactor

func (_PlatypusChefV3 *PlatypusChefV3Session) PoolAdjustFactor(pid *big.Int) (*big.Int, error)

PoolAdjustFactor is a free data retrieval call binding the contract method 0x2b685580.

Solidity: function poolAdjustFactor(uint256 pid) view returns(uint256)

func (*PlatypusChefV3Session) PoolInfo

func (_PlatypusChefV3 *PlatypusChefV3Session) PoolInfo(arg0 *big.Int) (struct {
	LpToken              common.Address
	BaseAllocPoint       *big.Int
	LastRewardTimestamp  *big.Int
	AccPtpPerShare       *big.Int
	Rewarder             common.Address
	SumOfFactors         *big.Int
	AccPtpPerFactorShare *big.Int
	AdjustedAllocPoint   *big.Int
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 baseAllocPoint, uint256 lastRewardTimestamp, uint256 accPtpPerShare, address rewarder, uint256 sumOfFactors, uint256 accPtpPerFactorShare, uint256 adjustedAllocPoint)

func (*PlatypusChefV3Session) PoolLength

func (_PlatypusChefV3 *PlatypusChefV3Session) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*PlatypusChefV3Session) ProposeOwner

func (_PlatypusChefV3 *PlatypusChefV3Session) ProposeOwner(newOwner common.Address) (*types.Transaction, error)

ProposeOwner is a paid mutator transaction binding the contract method 0xb5ed298a.

Solidity: function proposeOwner(address newOwner) returns()

func (*PlatypusChefV3Session) Ptp

func (_PlatypusChefV3 *PlatypusChefV3Session) Ptp() (common.Address, error)

Ptp is a free data retrieval call binding the contract method 0x6af66772.

Solidity: function ptp() view returns(address)

func (*PlatypusChefV3Session) PtpPerSec

func (_PlatypusChefV3 *PlatypusChefV3Session) PtpPerSec() (*big.Int, error)

PtpPerSec is a free data retrieval call binding the contract method 0x9702d3e2.

Solidity: function ptpPerSec() view returns(uint256)

func (*PlatypusChefV3Session) RenounceOwnership

func (_PlatypusChefV3 *PlatypusChefV3Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PlatypusChefV3Session) RewarderBonusTokenInfo

func (_PlatypusChefV3 *PlatypusChefV3Session) RewarderBonusTokenInfo(_pid *big.Int) (struct {
	BonusTokenAddress common.Address
	BonusTokenSymbol  string
}, error)

RewarderBonusTokenInfo is a free data retrieval call binding the contract method 0xbc70fdbc.

Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address bonusTokenAddress, string bonusTokenSymbol)

func (*PlatypusChefV3Session) Set

func (_PlatypusChefV3 *PlatypusChefV3Session) Set(_pid *big.Int, _baseAllocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _baseAllocPoint, address _rewarder, bool overwrite) returns()

func (*PlatypusChefV3Session) SetMaxPoolLength

func (_PlatypusChefV3 *PlatypusChefV3Session) SetMaxPoolLength(_maxPoolLength *big.Int) (*types.Transaction, error)

SetMaxPoolLength is a paid mutator transaction binding the contract method 0x53c5eb44.

Solidity: function setMaxPoolLength(uint256 _maxPoolLength) returns()

func (*PlatypusChefV3Session) SetNewMasterPlatypus

func (_PlatypusChefV3 *PlatypusChefV3Session) SetNewMasterPlatypus(_newMasterPlatypus common.Address) (*types.Transaction, error)

SetNewMasterPlatypus is a paid mutator transaction binding the contract method 0x7b261591.

Solidity: function setNewMasterPlatypus(address _newMasterPlatypus) returns()

func (*PlatypusChefV3Session) SetVePtp

func (_PlatypusChefV3 *PlatypusChefV3Session) SetVePtp(_newVePtp common.Address) (*types.Transaction, error)

SetVePtp is a paid mutator transaction binding the contract method 0x90d9c1c3.

Solidity: function setVePtp(address _newVePtp) returns()

func (*PlatypusChefV3Session) StartTimestamp

func (_PlatypusChefV3 *PlatypusChefV3Session) StartTimestamp() (*big.Int, error)

StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.

Solidity: function startTimestamp() view returns(uint256)

func (*PlatypusChefV3Session) TotalAdjustedAllocPoint

func (_PlatypusChefV3 *PlatypusChefV3Session) TotalAdjustedAllocPoint() (*big.Int, error)

TotalAdjustedAllocPoint is a free data retrieval call binding the contract method 0x91ea1d68.

Solidity: function totalAdjustedAllocPoint() view returns(uint256)

func (*PlatypusChefV3Session) TotalBaseAllocPoint

func (_PlatypusChefV3 *PlatypusChefV3Session) TotalBaseAllocPoint() (*big.Int, error)

TotalBaseAllocPoint is a free data retrieval call binding the contract method 0x33e045fc.

Solidity: function totalBaseAllocPoint() view returns(uint256)

func (*PlatypusChefV3Session) Unpause

func (_PlatypusChefV3 *PlatypusChefV3Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PlatypusChefV3Session) UpdateEmissionRate

func (_PlatypusChefV3 *PlatypusChefV3Session) UpdateEmissionRate(_ptpPerSec *big.Int) (*types.Transaction, error)

UpdateEmissionRate is a paid mutator transaction binding the contract method 0x0ba84cd2.

Solidity: function updateEmissionRate(uint256 _ptpPerSec) returns()

func (*PlatypusChefV3Session) UpdateEmissionRepartition

func (_PlatypusChefV3 *PlatypusChefV3Session) UpdateEmissionRepartition(_dialutingRepartition *big.Int) (*types.Transaction, error)

UpdateEmissionRepartition is a paid mutator transaction binding the contract method 0xe0a4ed43.

Solidity: function updateEmissionRepartition(uint256 _dialutingRepartition) returns()

func (*PlatypusChefV3Session) UpdateFactor

func (_PlatypusChefV3 *PlatypusChefV3Session) UpdateFactor(_user common.Address, _newVePtpBalance *big.Int) (*types.Transaction, error)

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

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

func (*PlatypusChefV3Session) UpdatePool

func (_PlatypusChefV3 *PlatypusChefV3Session) 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 (*PlatypusChefV3Session) UserInfo

func (_PlatypusChefV3 *PlatypusChefV3Session) 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 (*PlatypusChefV3Session) VePtp

func (_PlatypusChefV3 *PlatypusChefV3Session) VePtp() (common.Address, error)

VePtp is a free data retrieval call binding the contract method 0x82c780a1.

Solidity: function vePtp() view returns(address)

func (*PlatypusChefV3Session) Version

func (_PlatypusChefV3 *PlatypusChefV3Session) Version() (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(uint256)

func (*PlatypusChefV3Session) Withdraw

func (_PlatypusChefV3 *PlatypusChefV3Session) 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(uint256, uint256)

type PlatypusChefV3Transactor

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

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

func NewPlatypusChefV3Transactor

func NewPlatypusChefV3Transactor(address common.Address, transactor bind.ContractTransactor) (*PlatypusChefV3Transactor, error)

NewPlatypusChefV3Transactor creates a new write-only instance of PlatypusChefV3, bound to a specific deployed contract.

func (*PlatypusChefV3Transactor) AcceptOwnership

func (_PlatypusChefV3 *PlatypusChefV3Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PlatypusChefV3Transactor) Add

func (_PlatypusChefV3 *PlatypusChefV3Transactor) Add(opts *bind.TransactOpts, _baseAllocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 _baseAllocPoint, address _lpToken, address _rewarder) returns()

func (*PlatypusChefV3Transactor) Deposit

func (_PlatypusChefV3 *PlatypusChefV3Transactor) 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(uint256, uint256)

func (*PlatypusChefV3Transactor) DepositFor

func (_PlatypusChefV3 *PlatypusChefV3Transactor) DepositFor(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x90210d7e.

Solidity: function depositFor(uint256 _pid, uint256 _amount, address _user) returns()

func (*PlatypusChefV3Transactor) EmergencyPtpWithdraw

func (_PlatypusChefV3 *PlatypusChefV3Transactor) EmergencyPtpWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

EmergencyPtpWithdraw is a paid mutator transaction binding the contract method 0x7dd38dcc.

Solidity: function emergencyPtpWithdraw() returns()

func (*PlatypusChefV3Transactor) EmergencyWithdraw

func (_PlatypusChefV3 *PlatypusChefV3Transactor) 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 (*PlatypusChefV3Transactor) Initialize

func (_PlatypusChefV3 *PlatypusChefV3Transactor) Initialize(opts *bind.TransactOpts, _ptp common.Address, _vePtp common.Address, _ptpPerSec *big.Int, _dialutingRepartition *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(address _ptp, address _vePtp, uint256 _ptpPerSec, uint256 _dialutingRepartition, uint256 _startTimestamp) returns()

func (*PlatypusChefV3Transactor) MassUpdatePools

func (_PlatypusChefV3 *PlatypusChefV3Transactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*PlatypusChefV3Transactor) Migrate

func (_PlatypusChefV3 *PlatypusChefV3Transactor) Migrate(opts *bind.TransactOpts, _pids []*big.Int) (*types.Transaction, error)

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

Solidity: function migrate(uint256[] _pids) returns()

func (*PlatypusChefV3Transactor) MultiClaim

func (_PlatypusChefV3 *PlatypusChefV3Transactor) MultiClaim(opts *bind.TransactOpts, _pids []*big.Int) (*types.Transaction, error)

MultiClaim is a paid mutator transaction binding the contract method 0x4ed73d28.

Solidity: function multiClaim(uint256[] _pids) returns(uint256, uint256[], uint256[])

func (*PlatypusChefV3Transactor) Pause

func (_PlatypusChefV3 *PlatypusChefV3Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PlatypusChefV3Transactor) ProposeOwner

func (_PlatypusChefV3 *PlatypusChefV3Transactor) ProposeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

ProposeOwner is a paid mutator transaction binding the contract method 0xb5ed298a.

Solidity: function proposeOwner(address newOwner) returns()

func (*PlatypusChefV3Transactor) RenounceOwnership

func (_PlatypusChefV3 *PlatypusChefV3Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PlatypusChefV3Transactor) Set

func (_PlatypusChefV3 *PlatypusChefV3Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _baseAllocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _baseAllocPoint, address _rewarder, bool overwrite) returns()

func (*PlatypusChefV3Transactor) SetMaxPoolLength

func (_PlatypusChefV3 *PlatypusChefV3Transactor) SetMaxPoolLength(opts *bind.TransactOpts, _maxPoolLength *big.Int) (*types.Transaction, error)

SetMaxPoolLength is a paid mutator transaction binding the contract method 0x53c5eb44.

Solidity: function setMaxPoolLength(uint256 _maxPoolLength) returns()

func (*PlatypusChefV3Transactor) SetNewMasterPlatypus

func (_PlatypusChefV3 *PlatypusChefV3Transactor) SetNewMasterPlatypus(opts *bind.TransactOpts, _newMasterPlatypus common.Address) (*types.Transaction, error)

SetNewMasterPlatypus is a paid mutator transaction binding the contract method 0x7b261591.

Solidity: function setNewMasterPlatypus(address _newMasterPlatypus) returns()

func (*PlatypusChefV3Transactor) SetVePtp

func (_PlatypusChefV3 *PlatypusChefV3Transactor) SetVePtp(opts *bind.TransactOpts, _newVePtp common.Address) (*types.Transaction, error)

SetVePtp is a paid mutator transaction binding the contract method 0x90d9c1c3.

Solidity: function setVePtp(address _newVePtp) returns()

func (*PlatypusChefV3Transactor) Unpause

func (_PlatypusChefV3 *PlatypusChefV3Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PlatypusChefV3Transactor) UpdateEmissionRate

func (_PlatypusChefV3 *PlatypusChefV3Transactor) UpdateEmissionRate(opts *bind.TransactOpts, _ptpPerSec *big.Int) (*types.Transaction, error)

UpdateEmissionRate is a paid mutator transaction binding the contract method 0x0ba84cd2.

Solidity: function updateEmissionRate(uint256 _ptpPerSec) returns()

func (*PlatypusChefV3Transactor) UpdateEmissionRepartition

func (_PlatypusChefV3 *PlatypusChefV3Transactor) UpdateEmissionRepartition(opts *bind.TransactOpts, _dialutingRepartition *big.Int) (*types.Transaction, error)

UpdateEmissionRepartition is a paid mutator transaction binding the contract method 0xe0a4ed43.

Solidity: function updateEmissionRepartition(uint256 _dialutingRepartition) returns()

func (*PlatypusChefV3Transactor) UpdateFactor

func (_PlatypusChefV3 *PlatypusChefV3Transactor) UpdateFactor(opts *bind.TransactOpts, _user common.Address, _newVePtpBalance *big.Int) (*types.Transaction, error)

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

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

func (*PlatypusChefV3Transactor) UpdatePool

func (_PlatypusChefV3 *PlatypusChefV3Transactor) 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 (*PlatypusChefV3Transactor) Withdraw

func (_PlatypusChefV3 *PlatypusChefV3Transactor) 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(uint256, uint256)

type PlatypusChefV3TransactorRaw

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

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

func (*PlatypusChefV3TransactorRaw) Transact

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

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

func (*PlatypusChefV3TransactorRaw) Transfer

func (_PlatypusChefV3 *PlatypusChefV3TransactorRaw) 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 PlatypusChefV3TransactorSession

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

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

func (*PlatypusChefV3TransactorSession) AcceptOwnership

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PlatypusChefV3TransactorSession) Add

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) Add(_baseAllocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 _baseAllocPoint, address _lpToken, address _rewarder) returns()

func (*PlatypusChefV3TransactorSession) Deposit

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) 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(uint256, uint256)

func (*PlatypusChefV3TransactorSession) DepositFor

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) DepositFor(_pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x90210d7e.

Solidity: function depositFor(uint256 _pid, uint256 _amount, address _user) returns()

func (*PlatypusChefV3TransactorSession) EmergencyPtpWithdraw

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) EmergencyPtpWithdraw() (*types.Transaction, error)

EmergencyPtpWithdraw is a paid mutator transaction binding the contract method 0x7dd38dcc.

Solidity: function emergencyPtpWithdraw() returns()

func (*PlatypusChefV3TransactorSession) EmergencyWithdraw

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) 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 (*PlatypusChefV3TransactorSession) Initialize

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) Initialize(_ptp common.Address, _vePtp common.Address, _ptpPerSec *big.Int, _dialutingRepartition *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(address _ptp, address _vePtp, uint256 _ptpPerSec, uint256 _dialutingRepartition, uint256 _startTimestamp) returns()

func (*PlatypusChefV3TransactorSession) MassUpdatePools

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*PlatypusChefV3TransactorSession) Migrate

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) Migrate(_pids []*big.Int) (*types.Transaction, error)

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

Solidity: function migrate(uint256[] _pids) returns()

func (*PlatypusChefV3TransactorSession) MultiClaim

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) MultiClaim(_pids []*big.Int) (*types.Transaction, error)

MultiClaim is a paid mutator transaction binding the contract method 0x4ed73d28.

Solidity: function multiClaim(uint256[] _pids) returns(uint256, uint256[], uint256[])

func (*PlatypusChefV3TransactorSession) Pause

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PlatypusChefV3TransactorSession) ProposeOwner

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) ProposeOwner(newOwner common.Address) (*types.Transaction, error)

ProposeOwner is a paid mutator transaction binding the contract method 0xb5ed298a.

Solidity: function proposeOwner(address newOwner) returns()

func (*PlatypusChefV3TransactorSession) RenounceOwnership

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PlatypusChefV3TransactorSession) Set

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) Set(_pid *big.Int, _baseAllocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _baseAllocPoint, address _rewarder, bool overwrite) returns()

func (*PlatypusChefV3TransactorSession) SetMaxPoolLength

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) SetMaxPoolLength(_maxPoolLength *big.Int) (*types.Transaction, error)

SetMaxPoolLength is a paid mutator transaction binding the contract method 0x53c5eb44.

Solidity: function setMaxPoolLength(uint256 _maxPoolLength) returns()

func (*PlatypusChefV3TransactorSession) SetNewMasterPlatypus

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) SetNewMasterPlatypus(_newMasterPlatypus common.Address) (*types.Transaction, error)

SetNewMasterPlatypus is a paid mutator transaction binding the contract method 0x7b261591.

Solidity: function setNewMasterPlatypus(address _newMasterPlatypus) returns()

func (*PlatypusChefV3TransactorSession) SetVePtp

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) SetVePtp(_newVePtp common.Address) (*types.Transaction, error)

SetVePtp is a paid mutator transaction binding the contract method 0x90d9c1c3.

Solidity: function setVePtp(address _newVePtp) returns()

func (*PlatypusChefV3TransactorSession) Unpause

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PlatypusChefV3TransactorSession) UpdateEmissionRate

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) UpdateEmissionRate(_ptpPerSec *big.Int) (*types.Transaction, error)

UpdateEmissionRate is a paid mutator transaction binding the contract method 0x0ba84cd2.

Solidity: function updateEmissionRate(uint256 _ptpPerSec) returns()

func (*PlatypusChefV3TransactorSession) UpdateEmissionRepartition

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) UpdateEmissionRepartition(_dialutingRepartition *big.Int) (*types.Transaction, error)

UpdateEmissionRepartition is a paid mutator transaction binding the contract method 0xe0a4ed43.

Solidity: function updateEmissionRepartition(uint256 _dialutingRepartition) returns()

func (*PlatypusChefV3TransactorSession) UpdateFactor

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) UpdateFactor(_user common.Address, _newVePtpBalance *big.Int) (*types.Transaction, error)

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

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

func (*PlatypusChefV3TransactorSession) UpdatePool

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) 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 (*PlatypusChefV3TransactorSession) Withdraw

func (_PlatypusChefV3 *PlatypusChefV3TransactorSession) 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(uint256, uint256)

Jump to

Keyboard shortcuts

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