platypusMasterPlatypusV4

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 PlatypusMasterPlatypusV4ABI = PlatypusMasterPlatypusV4MetaData.ABI

PlatypusMasterPlatypusV4ABI is the input ABI used to generate the binding from. Deprecated: Use PlatypusMasterPlatypusV4MetaData.ABI instead.

View Source
var PlatypusMasterPlatypusV4MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"additionalRewards\",\"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\":\"dilutingRepartition\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"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\":\"_lp\",\"type\":\"address\"}],\"name\":\"getPoolId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"getSumOfFactors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"factor\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"rewardDebt\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"claimablePtp\",\"type\":\"uint128\"}],\"internalType\":\"structIMasterPlatypusV4.UserInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ptp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_vePtp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_dilutingRepartition\",\"type\":\"uint16\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"liquidate\",\"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\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[][]\",\"name\":\"additionalRewards\",\"type\":\"uint256[][]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newMasterPlatypus\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nonDilutingRepartition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"notifyRewardAmount\",\"outputs\":[],\"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\":\"bonusTokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"bonusTokenSymbols\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"pendingBonusTokens\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"platypusTreasure\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rewarder\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"sumOfFactors\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"accPtpPerShare\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"accPtpPerFactorShare\",\"type\":\"uint128\"}],\"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\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"rewarderBonusTokenInfo\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"bonusTokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"bonusTokenSymbols\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"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\":\"_platypusTreasure\",\"type\":\"address\"}],\"name\":\"setPlatypusTreasure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"setRewarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newVePtp\",\"type\":\"address\"}],\"name\":\"setVePtp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dilutingRepartition\",\"type\":\"uint16\"}],\"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\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"factor\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"rewardDebt\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"claimablePtp\",\"type\":\"uint128\"}],\"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\":[],\"name\":\"voter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"additionalRewards\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PlatypusMasterPlatypusV4MetaData contains all meta data concerning the PlatypusMasterPlatypusV4 contract.

Functions

This section is empty.

Types

type IMasterPlatypusV4UserInfo

type IMasterPlatypusV4UserInfo struct {
	Amount       *big.Int
	Factor       *big.Int
	RewardDebt   *big.Int
	ClaimablePtp *big.Int
}

IMasterPlatypusV4UserInfo is an auto generated low-level Go binding around an user-defined struct.

type PlatypusMasterPlatypusV4

type PlatypusMasterPlatypusV4 struct {
	PlatypusMasterPlatypusV4Caller     // Read-only binding to the contract
	PlatypusMasterPlatypusV4Transactor // Write-only binding to the contract
	PlatypusMasterPlatypusV4Filterer   // Log filterer for contract events
}

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

func NewPlatypusMasterPlatypusV4

func NewPlatypusMasterPlatypusV4(address common.Address, backend bind.ContractBackend) (*PlatypusMasterPlatypusV4, error)

NewPlatypusMasterPlatypusV4 creates a new instance of PlatypusMasterPlatypusV4, bound to a specific deployed contract.

type PlatypusMasterPlatypusV4Caller

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

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

func NewPlatypusMasterPlatypusV4Caller

func NewPlatypusMasterPlatypusV4Caller(address common.Address, caller bind.ContractCaller) (*PlatypusMasterPlatypusV4Caller, error)

NewPlatypusMasterPlatypusV4Caller creates a new read-only instance of PlatypusMasterPlatypusV4, bound to a specific deployed contract.

func (*PlatypusMasterPlatypusV4Caller) DilutingRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) DilutingRepartition(opts *bind.CallOpts) (uint16, error)

DilutingRepartition is a free data retrieval call binding the contract method 0xf57347a8.

Solidity: function dilutingRepartition() view returns(uint16)

func (*PlatypusMasterPlatypusV4Caller) GetPoolId

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) GetPoolId(opts *bind.CallOpts, _lp common.Address) (*big.Int, error)

GetPoolId is a free data retrieval call binding the contract method 0xcaa9a08d.

Solidity: function getPoolId(address _lp) view returns(uint256)

func (*PlatypusMasterPlatypusV4Caller) GetSumOfFactors

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) GetSumOfFactors(opts *bind.CallOpts, _pid *big.Int) (*big.Int, error)

GetSumOfFactors is a free data retrieval call binding the contract method 0x5da36238.

Solidity: function getSumOfFactors(uint256 _pid) view returns(uint256)

func (*PlatypusMasterPlatypusV4Caller) GetUserInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) GetUserInfo(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (IMasterPlatypusV4UserInfo, error)

GetUserInfo is a free data retrieval call binding the contract method 0x1069f3b5.

Solidity: function getUserInfo(uint256 _pid, address _user) view returns((uint128,uint128,uint128,uint128))

func (*PlatypusMasterPlatypusV4Caller) MaxPoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) NewMasterPlatypus

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) NonDilutingRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) NonDilutingRepartition(opts *bind.CallOpts) (*big.Int, error)

NonDilutingRepartition is a free data retrieval call binding the contract method 0x04e3682a.

Solidity: function nonDilutingRepartition() view returns(uint256)

func (*PlatypusMasterPlatypusV4Caller) Owner

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) OwnerCandidate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) Paused

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) PendingTokens

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) PendingTokens(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (struct {
	PendingPtp          *big.Int
	BonusTokenAddresses []common.Address
	BonusTokenSymbols   []string
	PendingBonusTokens  []*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[] bonusTokenAddresses, string[] bonusTokenSymbols, uint256[] pendingBonusTokens)

func (*PlatypusMasterPlatypusV4Caller) PlatypusTreasure

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) PlatypusTreasure(opts *bind.CallOpts) (common.Address, error)

PlatypusTreasure is a free data retrieval call binding the contract method 0x8c1ab965.

Solidity: function platypusTreasure() view returns(address)

func (*PlatypusMasterPlatypusV4Caller) PoolInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken              common.Address
	Rewarder             common.Address
	SumOfFactors         *big.Int
	AccPtpPerShare       *big.Int
	AccPtpPerFactorShare *big.Int
}, error)

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

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

func (*PlatypusMasterPlatypusV4Caller) PoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) Ptp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) RewarderBonusTokenInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) RewarderBonusTokenInfo(opts *bind.CallOpts, _pid *big.Int) (struct {
	BonusTokenAddresses []common.Address
	BonusTokenSymbols   []string
}, error)

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

Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address[] bonusTokenAddresses, string[] bonusTokenSymbols)

func (*PlatypusMasterPlatypusV4Caller) UserInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Amount       *big.Int
	Factor       *big.Int
	RewardDebt   *big.Int
	ClaimablePtp *big.Int
}, error)

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

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

func (*PlatypusMasterPlatypusV4Caller) VePtp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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 (*PlatypusMasterPlatypusV4Caller) Version

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) 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)

func (*PlatypusMasterPlatypusV4Caller) Voter

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Caller) Voter(opts *bind.CallOpts) (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x46c96aac.

Solidity: function voter() view returns(address)

type PlatypusMasterPlatypusV4CallerRaw

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

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

func (*PlatypusMasterPlatypusV4CallerRaw) Call

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerRaw) 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 PlatypusMasterPlatypusV4CallerSession

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

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

func (*PlatypusMasterPlatypusV4CallerSession) DilutingRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) DilutingRepartition() (uint16, error)

DilutingRepartition is a free data retrieval call binding the contract method 0xf57347a8.

Solidity: function dilutingRepartition() view returns(uint16)

func (*PlatypusMasterPlatypusV4CallerSession) GetPoolId

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) GetPoolId(_lp common.Address) (*big.Int, error)

GetPoolId is a free data retrieval call binding the contract method 0xcaa9a08d.

Solidity: function getPoolId(address _lp) view returns(uint256)

func (*PlatypusMasterPlatypusV4CallerSession) GetSumOfFactors

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) GetSumOfFactors(_pid *big.Int) (*big.Int, error)

GetSumOfFactors is a free data retrieval call binding the contract method 0x5da36238.

Solidity: function getSumOfFactors(uint256 _pid) view returns(uint256)

func (*PlatypusMasterPlatypusV4CallerSession) GetUserInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) GetUserInfo(_pid *big.Int, _user common.Address) (IMasterPlatypusV4UserInfo, error)

GetUserInfo is a free data retrieval call binding the contract method 0x1069f3b5.

Solidity: function getUserInfo(uint256 _pid, address _user) view returns((uint128,uint128,uint128,uint128))

func (*PlatypusMasterPlatypusV4CallerSession) MaxPoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) MaxPoolLength() (*big.Int, error)

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

Solidity: function maxPoolLength() view returns(uint256)

func (*PlatypusMasterPlatypusV4CallerSession) NewMasterPlatypus

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) NewMasterPlatypus() (common.Address, error)

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

Solidity: function newMasterPlatypus() view returns(address)

func (*PlatypusMasterPlatypusV4CallerSession) NonDilutingRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) NonDilutingRepartition() (*big.Int, error)

NonDilutingRepartition is a free data retrieval call binding the contract method 0x04e3682a.

Solidity: function nonDilutingRepartition() view returns(uint256)

func (*PlatypusMasterPlatypusV4CallerSession) Owner

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PlatypusMasterPlatypusV4CallerSession) OwnerCandidate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) OwnerCandidate() (common.Address, error)

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

Solidity: function ownerCandidate() view returns(address)

func (*PlatypusMasterPlatypusV4CallerSession) Paused

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*PlatypusMasterPlatypusV4CallerSession) PendingTokens

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) PendingTokens(_pid *big.Int, _user common.Address) (struct {
	PendingPtp          *big.Int
	BonusTokenAddresses []common.Address
	BonusTokenSymbols   []string
	PendingBonusTokens  []*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[] bonusTokenAddresses, string[] bonusTokenSymbols, uint256[] pendingBonusTokens)

func (*PlatypusMasterPlatypusV4CallerSession) PlatypusTreasure

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) PlatypusTreasure() (common.Address, error)

PlatypusTreasure is a free data retrieval call binding the contract method 0x8c1ab965.

Solidity: function platypusTreasure() view returns(address)

func (*PlatypusMasterPlatypusV4CallerSession) PoolInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken              common.Address
	Rewarder             common.Address
	SumOfFactors         *big.Int
	AccPtpPerShare       *big.Int
	AccPtpPerFactorShare *big.Int
}, error)

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

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

func (*PlatypusMasterPlatypusV4CallerSession) PoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*PlatypusMasterPlatypusV4CallerSession) Ptp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) Ptp() (common.Address, error)

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

Solidity: function ptp() view returns(address)

func (*PlatypusMasterPlatypusV4CallerSession) RewarderBonusTokenInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) RewarderBonusTokenInfo(_pid *big.Int) (struct {
	BonusTokenAddresses []common.Address
	BonusTokenSymbols   []string
}, error)

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

Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address[] bonusTokenAddresses, string[] bonusTokenSymbols)

func (*PlatypusMasterPlatypusV4CallerSession) UserInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount       *big.Int
	Factor       *big.Int
	RewardDebt   *big.Int
	ClaimablePtp *big.Int
}, error)

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

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

func (*PlatypusMasterPlatypusV4CallerSession) VePtp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) VePtp() (common.Address, error)

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

Solidity: function vePtp() view returns(address)

func (*PlatypusMasterPlatypusV4CallerSession) Version

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) Version() (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

func (*PlatypusMasterPlatypusV4CallerSession) Voter

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4CallerSession) Voter() (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x46c96aac.

Solidity: function voter() view returns(address)

type PlatypusMasterPlatypusV4Filterer

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

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

func NewPlatypusMasterPlatypusV4Filterer

func NewPlatypusMasterPlatypusV4Filterer(address common.Address, filterer bind.ContractFilterer) (*PlatypusMasterPlatypusV4Filterer, error)

NewPlatypusMasterPlatypusV4Filterer creates a new log filterer instance of PlatypusMasterPlatypusV4, bound to a specific deployed contract.

type PlatypusMasterPlatypusV4Raw

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

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

func (*PlatypusMasterPlatypusV4Raw) Call

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Raw) 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 (*PlatypusMasterPlatypusV4Raw) Transact

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

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

func (*PlatypusMasterPlatypusV4Raw) Transfer

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Raw) 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 PlatypusMasterPlatypusV4Session

type PlatypusMasterPlatypusV4Session struct {
	Contract     *PlatypusMasterPlatypusV4 // 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
}

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

func (*PlatypusMasterPlatypusV4Session) AcceptOwnership

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*PlatypusMasterPlatypusV4Session) Add

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Add(_lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

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

func (*PlatypusMasterPlatypusV4Session) Deposit

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 reward, uint256[] additionalRewards)

func (*PlatypusMasterPlatypusV4Session) DepositFor

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) DilutingRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) DilutingRepartition() (uint16, error)

DilutingRepartition is a free data retrieval call binding the contract method 0xf57347a8.

Solidity: function dilutingRepartition() view returns(uint16)

func (*PlatypusMasterPlatypusV4Session) EmergencyPtpWithdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) EmergencyPtpWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyPtpWithdraw() returns()

func (*PlatypusMasterPlatypusV4Session) EmergencyWithdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) GetPoolId

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) GetPoolId(_lp common.Address) (*big.Int, error)

GetPoolId is a free data retrieval call binding the contract method 0xcaa9a08d.

Solidity: function getPoolId(address _lp) view returns(uint256)

func (*PlatypusMasterPlatypusV4Session) GetSumOfFactors

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) GetSumOfFactors(_pid *big.Int) (*big.Int, error)

GetSumOfFactors is a free data retrieval call binding the contract method 0x5da36238.

Solidity: function getSumOfFactors(uint256 _pid) view returns(uint256)

func (*PlatypusMasterPlatypusV4Session) GetUserInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) GetUserInfo(_pid *big.Int, _user common.Address) (IMasterPlatypusV4UserInfo, error)

GetUserInfo is a free data retrieval call binding the contract method 0x1069f3b5.

Solidity: function getUserInfo(uint256 _pid, address _user) view returns((uint128,uint128,uint128,uint128))

func (*PlatypusMasterPlatypusV4Session) Initialize

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Initialize(_ptp common.Address, _vePtp common.Address, _voter common.Address, _dilutingRepartition uint16) (*types.Transaction, error)

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

Solidity: function initialize(address _ptp, address _vePtp, address _voter, uint16 _dilutingRepartition) returns()

func (*PlatypusMasterPlatypusV4Session) Liquidate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Liquidate(_pid *big.Int, _user common.Address, _amount *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x79bd1eac.

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

func (*PlatypusMasterPlatypusV4Session) MassUpdatePools

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*PlatypusMasterPlatypusV4Session) MaxPoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) MaxPoolLength() (*big.Int, error)

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

Solidity: function maxPoolLength() view returns(uint256)

func (*PlatypusMasterPlatypusV4Session) Migrate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) MultiClaim

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 reward, uint256[] amounts, uint256[][] additionalRewards)

func (*PlatypusMasterPlatypusV4Session) NewMasterPlatypus

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) NewMasterPlatypus() (common.Address, error)

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

Solidity: function newMasterPlatypus() view returns(address)

func (*PlatypusMasterPlatypusV4Session) NonDilutingRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) NonDilutingRepartition() (*big.Int, error)

NonDilutingRepartition is a free data retrieval call binding the contract method 0x04e3682a.

Solidity: function nonDilutingRepartition() view returns(uint256)

func (*PlatypusMasterPlatypusV4Session) NotifyRewardAmount

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) NotifyRewardAmount(_lpToken common.Address, _amount *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0xb66503cf.

Solidity: function notifyRewardAmount(address _lpToken, uint256 _amount) returns()

func (*PlatypusMasterPlatypusV4Session) Owner

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PlatypusMasterPlatypusV4Session) OwnerCandidate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) OwnerCandidate() (common.Address, error)

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

Solidity: function ownerCandidate() view returns(address)

func (*PlatypusMasterPlatypusV4Session) Pause

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*PlatypusMasterPlatypusV4Session) Paused

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*PlatypusMasterPlatypusV4Session) PendingTokens

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) PendingTokens(_pid *big.Int, _user common.Address) (struct {
	PendingPtp          *big.Int
	BonusTokenAddresses []common.Address
	BonusTokenSymbols   []string
	PendingBonusTokens  []*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[] bonusTokenAddresses, string[] bonusTokenSymbols, uint256[] pendingBonusTokens)

func (*PlatypusMasterPlatypusV4Session) PlatypusTreasure

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) PlatypusTreasure() (common.Address, error)

PlatypusTreasure is a free data retrieval call binding the contract method 0x8c1ab965.

Solidity: function platypusTreasure() view returns(address)

func (*PlatypusMasterPlatypusV4Session) PoolInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) PoolInfo(arg0 *big.Int) (struct {
	LpToken              common.Address
	Rewarder             common.Address
	SumOfFactors         *big.Int
	AccPtpPerShare       *big.Int
	AccPtpPerFactorShare *big.Int
}, error)

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

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

func (*PlatypusMasterPlatypusV4Session) PoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*PlatypusMasterPlatypusV4Session) ProposeOwner

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) Ptp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Ptp() (common.Address, error)

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

Solidity: function ptp() view returns(address)

func (*PlatypusMasterPlatypusV4Session) RenounceOwnership

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PlatypusMasterPlatypusV4Session) RewarderBonusTokenInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) RewarderBonusTokenInfo(_pid *big.Int) (struct {
	BonusTokenAddresses []common.Address
	BonusTokenSymbols   []string
}, error)

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

Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address[] bonusTokenAddresses, string[] bonusTokenSymbols)

func (*PlatypusMasterPlatypusV4Session) SetMaxPoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) SetNewMasterPlatypus

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) SetPlatypusTreasure

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) SetPlatypusTreasure(_platypusTreasure common.Address) (*types.Transaction, error)

SetPlatypusTreasure is a paid mutator transaction binding the contract method 0x05ca5edc.

Solidity: function setPlatypusTreasure(address _platypusTreasure) returns()

func (*PlatypusMasterPlatypusV4Session) SetRewarder

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) SetRewarder(_pid *big.Int, _rewarder common.Address) (*types.Transaction, error)

SetRewarder is a paid mutator transaction binding the contract method 0x43de3207.

Solidity: function setRewarder(uint256 _pid, address _rewarder) returns()

func (*PlatypusMasterPlatypusV4Session) SetVePtp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) Unpause

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*PlatypusMasterPlatypusV4Session) UpdateEmissionRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) UpdateEmissionRepartition(_dilutingRepartition uint16) (*types.Transaction, error)

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

Solidity: function updateEmissionRepartition(uint16 _dilutingRepartition) returns()

func (*PlatypusMasterPlatypusV4Session) UpdateFactor

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) UpdatePool

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 (*PlatypusMasterPlatypusV4Session) UserInfo

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount       *big.Int
	Factor       *big.Int
	RewardDebt   *big.Int
	ClaimablePtp *big.Int
}, error)

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

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

func (*PlatypusMasterPlatypusV4Session) VePtp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) VePtp() (common.Address, error)

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

Solidity: function vePtp() view returns(address)

func (*PlatypusMasterPlatypusV4Session) Version

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Version() (*big.Int, error)

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

Solidity: function version() pure returns(uint256)

func (*PlatypusMasterPlatypusV4Session) Voter

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) Voter() (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x46c96aac.

Solidity: function voter() view returns(address)

func (*PlatypusMasterPlatypusV4Session) Withdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Session) 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 reward, uint256[] additionalRewards)

type PlatypusMasterPlatypusV4Transactor

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

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

func NewPlatypusMasterPlatypusV4Transactor

func NewPlatypusMasterPlatypusV4Transactor(address common.Address, transactor bind.ContractTransactor) (*PlatypusMasterPlatypusV4Transactor, error)

NewPlatypusMasterPlatypusV4Transactor creates a new write-only instance of PlatypusMasterPlatypusV4, bound to a specific deployed contract.

func (*PlatypusMasterPlatypusV4Transactor) AcceptOwnership

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*PlatypusMasterPlatypusV4Transactor) Add

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) Add(opts *bind.TransactOpts, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

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

func (*PlatypusMasterPlatypusV4Transactor) Deposit

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 reward, uint256[] additionalRewards)

func (*PlatypusMasterPlatypusV4Transactor) DepositFor

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) EmergencyPtpWithdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) EmergencyPtpWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function emergencyPtpWithdraw() returns()

func (*PlatypusMasterPlatypusV4Transactor) EmergencyWithdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) Initialize

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) Initialize(opts *bind.TransactOpts, _ptp common.Address, _vePtp common.Address, _voter common.Address, _dilutingRepartition uint16) (*types.Transaction, error)

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

Solidity: function initialize(address _ptp, address _vePtp, address _voter, uint16 _dilutingRepartition) returns()

func (*PlatypusMasterPlatypusV4Transactor) Liquidate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) Liquidate(opts *bind.TransactOpts, _pid *big.Int, _user common.Address, _amount *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x79bd1eac.

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

func (*PlatypusMasterPlatypusV4Transactor) MassUpdatePools

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*PlatypusMasterPlatypusV4Transactor) Migrate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) MultiClaim

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 reward, uint256[] amounts, uint256[][] additionalRewards)

func (*PlatypusMasterPlatypusV4Transactor) NotifyRewardAmount

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) NotifyRewardAmount(opts *bind.TransactOpts, _lpToken common.Address, _amount *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0xb66503cf.

Solidity: function notifyRewardAmount(address _lpToken, uint256 _amount) returns()

func (*PlatypusMasterPlatypusV4Transactor) Pause

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*PlatypusMasterPlatypusV4Transactor) ProposeOwner

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) RenounceOwnership

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PlatypusMasterPlatypusV4Transactor) SetMaxPoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) SetNewMasterPlatypus

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) SetPlatypusTreasure

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) SetPlatypusTreasure(opts *bind.TransactOpts, _platypusTreasure common.Address) (*types.Transaction, error)

SetPlatypusTreasure is a paid mutator transaction binding the contract method 0x05ca5edc.

Solidity: function setPlatypusTreasure(address _platypusTreasure) returns()

func (*PlatypusMasterPlatypusV4Transactor) SetRewarder

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) SetRewarder(opts *bind.TransactOpts, _pid *big.Int, _rewarder common.Address) (*types.Transaction, error)

SetRewarder is a paid mutator transaction binding the contract method 0x43de3207.

Solidity: function setRewarder(uint256 _pid, address _rewarder) returns()

func (*PlatypusMasterPlatypusV4Transactor) SetVePtp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) Unpause

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*PlatypusMasterPlatypusV4Transactor) UpdateEmissionRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) UpdateEmissionRepartition(opts *bind.TransactOpts, _dilutingRepartition uint16) (*types.Transaction, error)

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

Solidity: function updateEmissionRepartition(uint16 _dilutingRepartition) returns()

func (*PlatypusMasterPlatypusV4Transactor) UpdateFactor

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) UpdatePool

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 (*PlatypusMasterPlatypusV4Transactor) Withdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4Transactor) 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 reward, uint256[] additionalRewards)

type PlatypusMasterPlatypusV4TransactorRaw

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

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

func (*PlatypusMasterPlatypusV4TransactorRaw) Transact

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

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

func (*PlatypusMasterPlatypusV4TransactorRaw) Transfer

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorRaw) 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 PlatypusMasterPlatypusV4TransactorSession

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

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

func (*PlatypusMasterPlatypusV4TransactorSession) AcceptOwnership

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*PlatypusMasterPlatypusV4TransactorSession) Add

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) Add(_lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

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

func (*PlatypusMasterPlatypusV4TransactorSession) Deposit

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 reward, uint256[] additionalRewards)

func (*PlatypusMasterPlatypusV4TransactorSession) DepositFor

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) EmergencyPtpWithdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) EmergencyPtpWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyPtpWithdraw() returns()

func (*PlatypusMasterPlatypusV4TransactorSession) EmergencyWithdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) Initialize

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) Initialize(_ptp common.Address, _vePtp common.Address, _voter common.Address, _dilutingRepartition uint16) (*types.Transaction, error)

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

Solidity: function initialize(address _ptp, address _vePtp, address _voter, uint16 _dilutingRepartition) returns()

func (*PlatypusMasterPlatypusV4TransactorSession) Liquidate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) Liquidate(_pid *big.Int, _user common.Address, _amount *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x79bd1eac.

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

func (*PlatypusMasterPlatypusV4TransactorSession) MassUpdatePools

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*PlatypusMasterPlatypusV4TransactorSession) Migrate

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) MultiClaim

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 reward, uint256[] amounts, uint256[][] additionalRewards)

func (*PlatypusMasterPlatypusV4TransactorSession) NotifyRewardAmount

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) NotifyRewardAmount(_lpToken common.Address, _amount *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0xb66503cf.

Solidity: function notifyRewardAmount(address _lpToken, uint256 _amount) returns()

func (*PlatypusMasterPlatypusV4TransactorSession) Pause

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*PlatypusMasterPlatypusV4TransactorSession) ProposeOwner

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) RenounceOwnership

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PlatypusMasterPlatypusV4TransactorSession) SetMaxPoolLength

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) SetNewMasterPlatypus

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) SetPlatypusTreasure

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) SetPlatypusTreasure(_platypusTreasure common.Address) (*types.Transaction, error)

SetPlatypusTreasure is a paid mutator transaction binding the contract method 0x05ca5edc.

Solidity: function setPlatypusTreasure(address _platypusTreasure) returns()

func (*PlatypusMasterPlatypusV4TransactorSession) SetRewarder

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) SetRewarder(_pid *big.Int, _rewarder common.Address) (*types.Transaction, error)

SetRewarder is a paid mutator transaction binding the contract method 0x43de3207.

Solidity: function setRewarder(uint256 _pid, address _rewarder) returns()

func (*PlatypusMasterPlatypusV4TransactorSession) SetVePtp

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) Unpause

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*PlatypusMasterPlatypusV4TransactorSession) UpdateEmissionRepartition

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) UpdateEmissionRepartition(_dilutingRepartition uint16) (*types.Transaction, error)

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

Solidity: function updateEmissionRepartition(uint16 _dilutingRepartition) returns()

func (*PlatypusMasterPlatypusV4TransactorSession) UpdateFactor

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) UpdatePool

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 (*PlatypusMasterPlatypusV4TransactorSession) Withdraw

func (_PlatypusMasterPlatypusV4 *PlatypusMasterPlatypusV4TransactorSession) 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 reward, uint256[] additionalRewards)

Jump to

Keyboard shortcuts

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