platypusfinance

package
v1.4.426 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseMasterPlatypusABI = BaseMasterPlatypusMetaData.ABI

BaseMasterPlatypusABI is the input ABI used to generate the binding from. Deprecated: Use BaseMasterPlatypusMetaData.ABI instead.

View Source
var BaseMasterPlatypusMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"}],\"name\":\"Add\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DepositFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EmergencyWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Harvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"Set\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ptpPerSec\",\"type\":\"uint256\"}],\"name\":\"UpdateEmissionRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accPtpPerShare\",\"type\":\"uint256\"}],\"name\":\"UpdatePool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseAllocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIAsset\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"contractIRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"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\":\"emergencyPtpWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_ptp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ptpPerSec\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startTimestamp\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"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\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"contractIAsset\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"baseAllocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accPtpPerShare\",\"type\":\"uint256\"},{\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"}],\"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\":\"contractIERC20\",\"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\":\"contractIRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIBaseMasterPlatypus\",\"name\":\"_newMasterPlatypus\",\"type\":\"address\"}],\"name\":\"setNewMasterPlatypus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startTimestamp\",\"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\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BaseMasterPlatypusMetaData contains all meta data concerning the BaseMasterPlatypus contract.

Functions

This section is empty.

Types

type BaseMasterPlatypus

type BaseMasterPlatypus struct {
	BaseMasterPlatypusCaller     // Read-only binding to the contract
	BaseMasterPlatypusTransactor // Write-only binding to the contract
	BaseMasterPlatypusFilterer   // Log filterer for contract events
}

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

func NewBaseMasterPlatypus

func NewBaseMasterPlatypus(address common.Address, backend bind.ContractBackend) (*BaseMasterPlatypus, error)

NewBaseMasterPlatypus creates a new instance of BaseMasterPlatypus, bound to a specific deployed contract.

type BaseMasterPlatypusAdd

type BaseMasterPlatypusAdd struct {
	Pid        *big.Int
	AllocPoint *big.Int
	LpToken    common.Address
	Rewarder   common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusAdd represents a Add event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusAddIterator

type BaseMasterPlatypusAddIterator struct {
	Event *BaseMasterPlatypusAdd // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusAddIterator is returned from FilterAdd and is used to iterate over the raw logs and unpacked data for Add events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusAddIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusAddIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusAddIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusCaller

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

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

func NewBaseMasterPlatypusCaller

func NewBaseMasterPlatypusCaller(address common.Address, caller bind.ContractCaller) (*BaseMasterPlatypusCaller, error)

NewBaseMasterPlatypusCaller creates a new read-only instance of BaseMasterPlatypus, bound to a specific deployed contract.

func (*BaseMasterPlatypusCaller) Owner

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) OwnerCandidate

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) Paused

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) PendingTokens

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) PoolInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken             common.Address
	BaseAllocPoint      *big.Int
	LastRewardTimestamp *big.Int
	AccPtpPerShare      *big.Int
	Rewarder            common.Address
}, error)

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

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

func (*BaseMasterPlatypusCaller) PoolLength

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) Ptp

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) PtpPerSec

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) RewarderBonusTokenInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) StartTimestamp

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) TotalBaseAllocPoint

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) 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 (*BaseMasterPlatypusCaller) UserInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type BaseMasterPlatypusCallerRaw

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

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

func (*BaseMasterPlatypusCallerRaw) Call

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerRaw) 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 BaseMasterPlatypusCallerSession

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

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

func (*BaseMasterPlatypusCallerSession) Owner

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BaseMasterPlatypusCallerSession) OwnerCandidate

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) OwnerCandidate() (common.Address, error)

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

Solidity: function ownerCandidate() view returns(address)

func (*BaseMasterPlatypusCallerSession) Paused

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*BaseMasterPlatypusCallerSession) PendingTokens

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) 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 (*BaseMasterPlatypusCallerSession) PoolInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken             common.Address
	BaseAllocPoint      *big.Int
	LastRewardTimestamp *big.Int
	AccPtpPerShare      *big.Int
	Rewarder            common.Address
}, error)

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

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

func (*BaseMasterPlatypusCallerSession) PoolLength

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*BaseMasterPlatypusCallerSession) Ptp

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) Ptp() (common.Address, error)

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

Solidity: function ptp() view returns(address)

func (*BaseMasterPlatypusCallerSession) PtpPerSec

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) PtpPerSec() (*big.Int, error)

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

Solidity: function ptpPerSec() view returns(uint256)

func (*BaseMasterPlatypusCallerSession) RewarderBonusTokenInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) 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 (*BaseMasterPlatypusCallerSession) StartTimestamp

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) StartTimestamp() (*big.Int, error)

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

Solidity: function startTimestamp() view returns(uint256)

func (*BaseMasterPlatypusCallerSession) TotalBaseAllocPoint

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) TotalBaseAllocPoint() (*big.Int, error)

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

Solidity: function totalBaseAllocPoint() view returns(uint256)

func (*BaseMasterPlatypusCallerSession) UserInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type BaseMasterPlatypusDeposit

type BaseMasterPlatypusDeposit struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusDeposit represents a Deposit event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusDepositFor

type BaseMasterPlatypusDepositFor struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusDepositFor represents a DepositFor event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusDepositForIterator

type BaseMasterPlatypusDepositForIterator struct {
	Event *BaseMasterPlatypusDepositFor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusDepositForIterator is returned from FilterDepositFor and is used to iterate over the raw logs and unpacked data for DepositFor events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusDepositForIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusDepositForIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusDepositForIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusDepositIterator

type BaseMasterPlatypusDepositIterator struct {
	Event *BaseMasterPlatypusDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusDepositIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusDepositIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusEmergencyWithdraw

type BaseMasterPlatypusEmergencyWithdraw struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusEmergencyWithdraw represents a EmergencyWithdraw event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusEmergencyWithdrawIterator

type BaseMasterPlatypusEmergencyWithdrawIterator struct {
	Event *BaseMasterPlatypusEmergencyWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusEmergencyWithdrawIterator is returned from FilterEmergencyWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWithdraw events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusEmergencyWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusEmergencyWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusFilterer

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

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

func NewBaseMasterPlatypusFilterer

func NewBaseMasterPlatypusFilterer(address common.Address, filterer bind.ContractFilterer) (*BaseMasterPlatypusFilterer, error)

NewBaseMasterPlatypusFilterer creates a new log filterer instance of BaseMasterPlatypus, bound to a specific deployed contract.

func (*BaseMasterPlatypusFilterer) FilterAdd

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterAdd(opts *bind.FilterOpts, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (*BaseMasterPlatypusAddIterator, error)

FilterAdd is a free log retrieval operation binding the contract event 0x4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f.

Solidity: event Add(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*BaseMasterPlatypusFilterer) FilterDeposit

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*BaseMasterPlatypusDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) FilterDepositFor

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterDepositFor(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*BaseMasterPlatypusDepositForIterator, error)

FilterDepositFor is a free log retrieval operation binding the contract event 0x16f3fbfd4bcc50a5cecb2e53e398a1ad77d89f63288ef540d862b264ed57eb1f.

Solidity: event DepositFor(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) FilterEmergencyWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*BaseMasterPlatypusEmergencyWithdrawIterator, error)

FilterEmergencyWithdraw is a free log retrieval operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) FilterHarvest

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterHarvest(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*BaseMasterPlatypusHarvestIterator, error)

FilterHarvest is a free log retrieval operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.

Solidity: event Harvest(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) FilterOwnershipTransferred

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BaseMasterPlatypusOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BaseMasterPlatypusFilterer) FilterPaused

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterPaused(opts *bind.FilterOpts) (*BaseMasterPlatypusPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BaseMasterPlatypusFilterer) FilterSet

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterSet(opts *bind.FilterOpts, pid []*big.Int, rewarder []common.Address) (*BaseMasterPlatypusSetIterator, error)

FilterSet is a free log retrieval operation binding the contract event 0xa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa.

Solidity: event Set(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*BaseMasterPlatypusFilterer) FilterUnpaused

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterUnpaused(opts *bind.FilterOpts) (*BaseMasterPlatypusUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BaseMasterPlatypusFilterer) FilterUpdateEmissionRate

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterUpdateEmissionRate(opts *bind.FilterOpts, user []common.Address) (*BaseMasterPlatypusUpdateEmissionRateIterator, error)

FilterUpdateEmissionRate is a free log retrieval operation binding the contract event 0xe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053.

Solidity: event UpdateEmissionRate(address indexed user, uint256 ptpPerSec)

func (*BaseMasterPlatypusFilterer) FilterUpdatePool

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterUpdatePool(opts *bind.FilterOpts, pid []*big.Int) (*BaseMasterPlatypusUpdatePoolIterator, error)

FilterUpdatePool is a free log retrieval operation binding the contract event 0x3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f46.

Solidity: event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accPtpPerShare)

func (*BaseMasterPlatypusFilterer) FilterWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*BaseMasterPlatypusWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) ParseAdd

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseAdd(log types.Log) (*BaseMasterPlatypusAdd, error)

ParseAdd is a log parse operation binding the contract event 0x4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f.

Solidity: event Add(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*BaseMasterPlatypusFilterer) ParseDeposit

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseDeposit(log types.Log) (*BaseMasterPlatypusDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) ParseDepositFor

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseDepositFor(log types.Log) (*BaseMasterPlatypusDepositFor, error)

ParseDepositFor is a log parse operation binding the contract event 0x16f3fbfd4bcc50a5cecb2e53e398a1ad77d89f63288ef540d862b264ed57eb1f.

Solidity: event DepositFor(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) ParseEmergencyWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseEmergencyWithdraw(log types.Log) (*BaseMasterPlatypusEmergencyWithdraw, error)

ParseEmergencyWithdraw is a log parse operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) ParseHarvest

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseHarvest(log types.Log) (*BaseMasterPlatypusHarvest, error)

ParseHarvest is a log parse operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.

Solidity: event Harvest(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) ParseOwnershipTransferred

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseOwnershipTransferred(log types.Log) (*BaseMasterPlatypusOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BaseMasterPlatypusFilterer) ParsePaused

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParsePaused(log types.Log) (*BaseMasterPlatypusPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BaseMasterPlatypusFilterer) ParseSet

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseSet(log types.Log) (*BaseMasterPlatypusSet, error)

ParseSet is a log parse operation binding the contract event 0xa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa.

Solidity: event Set(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*BaseMasterPlatypusFilterer) ParseUnpaused

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseUnpaused(log types.Log) (*BaseMasterPlatypusUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BaseMasterPlatypusFilterer) ParseUpdateEmissionRate

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseUpdateEmissionRate(log types.Log) (*BaseMasterPlatypusUpdateEmissionRate, error)

ParseUpdateEmissionRate is a log parse operation binding the contract event 0xe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053.

Solidity: event UpdateEmissionRate(address indexed user, uint256 ptpPerSec)

func (*BaseMasterPlatypusFilterer) ParseUpdatePool

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseUpdatePool(log types.Log) (*BaseMasterPlatypusUpdatePool, error)

ParseUpdatePool is a log parse operation binding the contract event 0x3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f46.

Solidity: event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accPtpPerShare)

func (*BaseMasterPlatypusFilterer) ParseWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) ParseWithdraw(log types.Log) (*BaseMasterPlatypusWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) WatchAdd

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchAdd(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusAdd, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (event.Subscription, error)

WatchAdd is a free log subscription operation binding the contract event 0x4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f.

Solidity: event Add(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*BaseMasterPlatypusFilterer) WatchDeposit

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusDeposit, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) WatchDepositFor

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchDepositFor(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusDepositFor, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchDepositFor is a free log subscription operation binding the contract event 0x16f3fbfd4bcc50a5cecb2e53e398a1ad77d89f63288ef540d862b264ed57eb1f.

Solidity: event DepositFor(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) WatchEmergencyWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusEmergencyWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchEmergencyWithdraw is a free log subscription operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) WatchHarvest

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusHarvest, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchHarvest is a free log subscription operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.

Solidity: event Harvest(address indexed user, uint256 indexed pid, uint256 amount)

func (*BaseMasterPlatypusFilterer) WatchOwnershipTransferred

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BaseMasterPlatypusFilterer) WatchPaused

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BaseMasterPlatypusFilterer) WatchSet

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchSet(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusSet, pid []*big.Int, rewarder []common.Address) (event.Subscription, error)

WatchSet is a free log subscription operation binding the contract event 0xa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa.

Solidity: event Set(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*BaseMasterPlatypusFilterer) WatchUnpaused

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BaseMasterPlatypusFilterer) WatchUpdateEmissionRate

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchUpdateEmissionRate(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusUpdateEmissionRate, user []common.Address) (event.Subscription, error)

WatchUpdateEmissionRate is a free log subscription operation binding the contract event 0xe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053.

Solidity: event UpdateEmissionRate(address indexed user, uint256 ptpPerSec)

func (*BaseMasterPlatypusFilterer) WatchUpdatePool

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchUpdatePool(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusUpdatePool, pid []*big.Int) (event.Subscription, error)

WatchUpdatePool is a free log subscription operation binding the contract event 0x3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f46.

Solidity: event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accPtpPerShare)

func (*BaseMasterPlatypusFilterer) WatchWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BaseMasterPlatypusWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

type BaseMasterPlatypusHarvest

type BaseMasterPlatypusHarvest struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusHarvest represents a Harvest event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusHarvestIterator

type BaseMasterPlatypusHarvestIterator struct {
	Event *BaseMasterPlatypusHarvest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusHarvestIterator is returned from FilterHarvest and is used to iterate over the raw logs and unpacked data for Harvest events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusHarvestIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusHarvestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusHarvestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusOwnershipTransferred

type BaseMasterPlatypusOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusOwnershipTransferred represents a OwnershipTransferred event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusOwnershipTransferredIterator

type BaseMasterPlatypusOwnershipTransferredIterator struct {
	Event *BaseMasterPlatypusOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusPaused

type BaseMasterPlatypusPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusPaused represents a Paused event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusPausedIterator

type BaseMasterPlatypusPausedIterator struct {
	Event *BaseMasterPlatypusPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusPausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusPausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusRaw

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

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

func (*BaseMasterPlatypusRaw) Call

func (_BaseMasterPlatypus *BaseMasterPlatypusRaw) 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 (*BaseMasterPlatypusRaw) Transact

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

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

func (*BaseMasterPlatypusRaw) Transfer

func (_BaseMasterPlatypus *BaseMasterPlatypusRaw) 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 BaseMasterPlatypusSession

type BaseMasterPlatypusSession struct {
	Contract     *BaseMasterPlatypus // 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
}

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

func (*BaseMasterPlatypusSession) AcceptOwnership

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*BaseMasterPlatypusSession) Add

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) Deposit

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) DepositFor

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) EmergencyPtpWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) EmergencyPtpWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyPtpWithdraw() returns()

func (*BaseMasterPlatypusSession) EmergencyWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) Initialize

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) Initialize(_ptp common.Address, _ptpPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)

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

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

func (*BaseMasterPlatypusSession) MassUpdatePools

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*BaseMasterPlatypusSession) Migrate

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) MultiClaim

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) Owner

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BaseMasterPlatypusSession) OwnerCandidate

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) OwnerCandidate() (common.Address, error)

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

Solidity: function ownerCandidate() view returns(address)

func (*BaseMasterPlatypusSession) Pause

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*BaseMasterPlatypusSession) Paused

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*BaseMasterPlatypusSession) PendingTokens

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) PoolInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken             common.Address
	BaseAllocPoint      *big.Int
	LastRewardTimestamp *big.Int
	AccPtpPerShare      *big.Int
	Rewarder            common.Address
}, error)

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

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

func (*BaseMasterPlatypusSession) PoolLength

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*BaseMasterPlatypusSession) ProposeOwner

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) Ptp

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) Ptp() (common.Address, error)

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

Solidity: function ptp() view returns(address)

func (*BaseMasterPlatypusSession) PtpPerSec

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) PtpPerSec() (*big.Int, error)

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

Solidity: function ptpPerSec() view returns(uint256)

func (*BaseMasterPlatypusSession) RenounceOwnership

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BaseMasterPlatypusSession) RewarderBonusTokenInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) Set

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) SetNewMasterPlatypus

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) StartTimestamp

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) StartTimestamp() (*big.Int, error)

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

Solidity: function startTimestamp() view returns(uint256)

func (*BaseMasterPlatypusSession) TotalBaseAllocPoint

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) TotalBaseAllocPoint() (*big.Int, error)

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

Solidity: function totalBaseAllocPoint() view returns(uint256)

func (*BaseMasterPlatypusSession) Unpause

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*BaseMasterPlatypusSession) UpdateEmissionRate

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) UpdatePool

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 (*BaseMasterPlatypusSession) UserInfo

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

func (*BaseMasterPlatypusSession) Withdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusSession) 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 BaseMasterPlatypusSet

type BaseMasterPlatypusSet struct {
	Pid        *big.Int
	AllocPoint *big.Int
	Rewarder   common.Address
	Overwrite  bool
	Raw        types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusSet represents a Set event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusSetIterator

type BaseMasterPlatypusSetIterator struct {
	Event *BaseMasterPlatypusSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusSetIterator is returned from FilterSet and is used to iterate over the raw logs and unpacked data for Set events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusTransactor

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

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

func NewBaseMasterPlatypusTransactor

func NewBaseMasterPlatypusTransactor(address common.Address, transactor bind.ContractTransactor) (*BaseMasterPlatypusTransactor, error)

NewBaseMasterPlatypusTransactor creates a new write-only instance of BaseMasterPlatypus, bound to a specific deployed contract.

func (*BaseMasterPlatypusTransactor) AcceptOwnership

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*BaseMasterPlatypusTransactor) Add

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) Deposit

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) DepositFor

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) EmergencyPtpWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) EmergencyPtpWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function emergencyPtpWithdraw() returns()

func (*BaseMasterPlatypusTransactor) EmergencyWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) Initialize

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) Initialize(opts *bind.TransactOpts, _ptp common.Address, _ptpPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)

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

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

func (*BaseMasterPlatypusTransactor) MassUpdatePools

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*BaseMasterPlatypusTransactor) Migrate

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) MultiClaim

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) Pause

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*BaseMasterPlatypusTransactor) ProposeOwner

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) RenounceOwnership

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BaseMasterPlatypusTransactor) Set

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) SetNewMasterPlatypus

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) Unpause

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*BaseMasterPlatypusTransactor) UpdateEmissionRate

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) UpdatePool

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 (*BaseMasterPlatypusTransactor) Withdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactor) 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 BaseMasterPlatypusTransactorRaw

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

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

func (*BaseMasterPlatypusTransactorRaw) Transact

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

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

func (*BaseMasterPlatypusTransactorRaw) Transfer

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorRaw) 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 BaseMasterPlatypusTransactorSession

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

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

func (*BaseMasterPlatypusTransactorSession) AcceptOwnership

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*BaseMasterPlatypusTransactorSession) Add

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) Deposit

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) DepositFor

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) EmergencyPtpWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) EmergencyPtpWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyPtpWithdraw() returns()

func (*BaseMasterPlatypusTransactorSession) EmergencyWithdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) Initialize

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) Initialize(_ptp common.Address, _ptpPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)

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

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

func (*BaseMasterPlatypusTransactorSession) MassUpdatePools

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*BaseMasterPlatypusTransactorSession) Migrate

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) MultiClaim

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) Pause

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*BaseMasterPlatypusTransactorSession) ProposeOwner

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) RenounceOwnership

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BaseMasterPlatypusTransactorSession) Set

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) SetNewMasterPlatypus

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) Unpause

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*BaseMasterPlatypusTransactorSession) UpdateEmissionRate

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) UpdatePool

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 (*BaseMasterPlatypusTransactorSession) Withdraw

func (_BaseMasterPlatypus *BaseMasterPlatypusTransactorSession) 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 BaseMasterPlatypusUnpaused

type BaseMasterPlatypusUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusUnpaused represents a Unpaused event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusUnpausedIterator

type BaseMasterPlatypusUnpausedIterator struct {
	Event *BaseMasterPlatypusUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusUnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusUnpausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusUpdateEmissionRate

type BaseMasterPlatypusUpdateEmissionRate struct {
	User      common.Address
	PtpPerSec *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusUpdateEmissionRate represents a UpdateEmissionRate event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusUpdateEmissionRateIterator

type BaseMasterPlatypusUpdateEmissionRateIterator struct {
	Event *BaseMasterPlatypusUpdateEmissionRate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusUpdateEmissionRateIterator is returned from FilterUpdateEmissionRate and is used to iterate over the raw logs and unpacked data for UpdateEmissionRate events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusUpdateEmissionRateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusUpdateEmissionRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusUpdateEmissionRateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusUpdatePool

type BaseMasterPlatypusUpdatePool struct {
	Pid                 *big.Int
	LastRewardTimestamp *big.Int
	LpSupply            *big.Int
	AccPtpPerShare      *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusUpdatePool represents a UpdatePool event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusUpdatePoolIterator

type BaseMasterPlatypusUpdatePoolIterator struct {
	Event *BaseMasterPlatypusUpdatePool // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusUpdatePoolIterator is returned from FilterUpdatePool and is used to iterate over the raw logs and unpacked data for UpdatePool events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusUpdatePoolIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusUpdatePoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusUpdatePoolIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseMasterPlatypusWithdraw

type BaseMasterPlatypusWithdraw struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BaseMasterPlatypusWithdraw represents a Withdraw event raised by the BaseMasterPlatypus contract.

type BaseMasterPlatypusWithdrawIterator

type BaseMasterPlatypusWithdrawIterator struct {
	Event *BaseMasterPlatypusWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseMasterPlatypusWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the BaseMasterPlatypus contract.

func (*BaseMasterPlatypusWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseMasterPlatypusWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseMasterPlatypusWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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