vectorPoolHelper

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 VectorPoolHelperABI = VectorPoolHelperMetaData.ABI

VectorPoolHelperABI is the input ABI used to generate the binding from. Deprecated: Use VectorPoolHelperMetaData.ABI instead.

View Source
var VectorPoolHelperMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"earned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"vtxAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mainStaking\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"masterVtx\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingPTP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingTokens\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"rewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakingToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"xptp\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

VectorPoolHelperMetaData contains all meta data concerning the VectorPoolHelper contract.

Functions

This section is empty.

Types

type VectorPoolHelper

type VectorPoolHelper struct {
	VectorPoolHelperCaller     // Read-only binding to the contract
	VectorPoolHelperTransactor // Write-only binding to the contract
	VectorPoolHelperFilterer   // Log filterer for contract events
}

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

func NewVectorPoolHelper

func NewVectorPoolHelper(address common.Address, backend bind.ContractBackend) (*VectorPoolHelper, error)

NewVectorPoolHelper creates a new instance of VectorPoolHelper, bound to a specific deployed contract.

type VectorPoolHelperCaller

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

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

func NewVectorPoolHelperCaller

func NewVectorPoolHelperCaller(address common.Address, caller bind.ContractCaller) (*VectorPoolHelperCaller, error)

NewVectorPoolHelperCaller creates a new read-only instance of VectorPoolHelper, bound to a specific deployed contract.

func (*VectorPoolHelperCaller) Balance

func (_VectorPoolHelper *VectorPoolHelperCaller) Balance(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xe3d670d7.

Solidity: function balance(address _address) view returns(uint256)

func (*VectorPoolHelperCaller) DepositToken

func (_VectorPoolHelper *VectorPoolHelperCaller) DepositToken(opts *bind.CallOpts) (common.Address, error)

DepositToken is a free data retrieval call binding the contract method 0xc89039c5.

Solidity: function depositToken() view returns(address)

func (*VectorPoolHelperCaller) DepositTokenBalance

func (_VectorPoolHelper *VectorPoolHelperCaller) DepositTokenBalance(opts *bind.CallOpts) (*big.Int, error)

DepositTokenBalance is a free data retrieval call binding the contract method 0xcee7b7d2.

Solidity: function depositTokenBalance() view returns(uint256)

func (*VectorPoolHelperCaller) Earned

func (_VectorPoolHelper *VectorPoolHelperCaller) Earned(opts *bind.CallOpts, token common.Address) (struct {
	VtxAmount   *big.Int
	TokenAmount *big.Int
}, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address token) view returns(uint256 vtxAmount, uint256 tokenAmount)

func (*VectorPoolHelperCaller) MainStaking

func (_VectorPoolHelper *VectorPoolHelperCaller) MainStaking(opts *bind.CallOpts) (common.Address, error)

MainStaking is a free data retrieval call binding the contract method 0x1208e15b.

Solidity: function mainStaking() view returns(address)

func (*VectorPoolHelperCaller) MasterVtx

func (_VectorPoolHelper *VectorPoolHelperCaller) MasterVtx(opts *bind.CallOpts) (common.Address, error)

MasterVtx is a free data retrieval call binding the contract method 0xa296454f.

Solidity: function masterVtx() view returns(address)

func (*VectorPoolHelperCaller) PendingPTP

func (_VectorPoolHelper *VectorPoolHelperCaller) PendingPTP(opts *bind.CallOpts) (*big.Int, error)

PendingPTP is a free data retrieval call binding the contract method 0xe785312c.

Solidity: function pendingPTP() view returns(uint256 pendingTokens)

func (*VectorPoolHelperCaller) Pid

func (_VectorPoolHelper *VectorPoolHelperCaller) Pid(opts *bind.CallOpts) (*big.Int, error)

Pid is a free data retrieval call binding the contract method 0xf1068454.

Solidity: function pid() view returns(uint256)

func (*VectorPoolHelperCaller) RewardPerToken

func (_VectorPoolHelper *VectorPoolHelperCaller) RewardPerToken(opts *bind.CallOpts, token common.Address) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xf1229777.

Solidity: function rewardPerToken(address token) view returns(uint256)

func (*VectorPoolHelperCaller) Rewarder

func (_VectorPoolHelper *VectorPoolHelperCaller) Rewarder(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function rewarder() view returns(address)

func (*VectorPoolHelperCaller) StakingToken

func (_VectorPoolHelper *VectorPoolHelperCaller) StakingToken(opts *bind.CallOpts) (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*VectorPoolHelperCaller) TotalSupply

func (_VectorPoolHelper *VectorPoolHelperCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VectorPoolHelperCaller) Xptp

func (_VectorPoolHelper *VectorPoolHelperCaller) Xptp(opts *bind.CallOpts) (common.Address, error)

Xptp is a free data retrieval call binding the contract method 0x383d78e0.

Solidity: function xptp() view returns(address)

type VectorPoolHelperCallerRaw

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

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

func (*VectorPoolHelperCallerRaw) Call

func (_VectorPoolHelper *VectorPoolHelperCallerRaw) 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 VectorPoolHelperCallerSession

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

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

func (*VectorPoolHelperCallerSession) Balance

func (_VectorPoolHelper *VectorPoolHelperCallerSession) Balance(_address common.Address) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xe3d670d7.

Solidity: function balance(address _address) view returns(uint256)

func (*VectorPoolHelperCallerSession) DepositToken

func (_VectorPoolHelper *VectorPoolHelperCallerSession) DepositToken() (common.Address, error)

DepositToken is a free data retrieval call binding the contract method 0xc89039c5.

Solidity: function depositToken() view returns(address)

func (*VectorPoolHelperCallerSession) DepositTokenBalance

func (_VectorPoolHelper *VectorPoolHelperCallerSession) DepositTokenBalance() (*big.Int, error)

DepositTokenBalance is a free data retrieval call binding the contract method 0xcee7b7d2.

Solidity: function depositTokenBalance() view returns(uint256)

func (*VectorPoolHelperCallerSession) Earned

func (_VectorPoolHelper *VectorPoolHelperCallerSession) Earned(token common.Address) (struct {
	VtxAmount   *big.Int
	TokenAmount *big.Int
}, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address token) view returns(uint256 vtxAmount, uint256 tokenAmount)

func (*VectorPoolHelperCallerSession) MainStaking

func (_VectorPoolHelper *VectorPoolHelperCallerSession) MainStaking() (common.Address, error)

MainStaking is a free data retrieval call binding the contract method 0x1208e15b.

Solidity: function mainStaking() view returns(address)

func (*VectorPoolHelperCallerSession) MasterVtx

func (_VectorPoolHelper *VectorPoolHelperCallerSession) MasterVtx() (common.Address, error)

MasterVtx is a free data retrieval call binding the contract method 0xa296454f.

Solidity: function masterVtx() view returns(address)

func (*VectorPoolHelperCallerSession) PendingPTP

func (_VectorPoolHelper *VectorPoolHelperCallerSession) PendingPTP() (*big.Int, error)

PendingPTP is a free data retrieval call binding the contract method 0xe785312c.

Solidity: function pendingPTP() view returns(uint256 pendingTokens)

func (*VectorPoolHelperCallerSession) Pid

func (_VectorPoolHelper *VectorPoolHelperCallerSession) Pid() (*big.Int, error)

Pid is a free data retrieval call binding the contract method 0xf1068454.

Solidity: function pid() view returns(uint256)

func (*VectorPoolHelperCallerSession) RewardPerToken

func (_VectorPoolHelper *VectorPoolHelperCallerSession) RewardPerToken(token common.Address) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xf1229777.

Solidity: function rewardPerToken(address token) view returns(uint256)

func (*VectorPoolHelperCallerSession) Rewarder

func (_VectorPoolHelper *VectorPoolHelperCallerSession) Rewarder() (common.Address, error)

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

Solidity: function rewarder() view returns(address)

func (*VectorPoolHelperCallerSession) StakingToken

func (_VectorPoolHelper *VectorPoolHelperCallerSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*VectorPoolHelperCallerSession) TotalSupply

func (_VectorPoolHelper *VectorPoolHelperCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VectorPoolHelperCallerSession) Xptp

func (_VectorPoolHelper *VectorPoolHelperCallerSession) Xptp() (common.Address, error)

Xptp is a free data retrieval call binding the contract method 0x383d78e0.

Solidity: function xptp() view returns(address)

type VectorPoolHelperFilterer

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

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

func NewVectorPoolHelperFilterer

func NewVectorPoolHelperFilterer(address common.Address, filterer bind.ContractFilterer) (*VectorPoolHelperFilterer, error)

NewVectorPoolHelperFilterer creates a new log filterer instance of VectorPoolHelper, bound to a specific deployed contract.

type VectorPoolHelperRaw

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

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

func (*VectorPoolHelperRaw) Call

func (_VectorPoolHelper *VectorPoolHelperRaw) 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 (*VectorPoolHelperRaw) Transact

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

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

func (*VectorPoolHelperRaw) Transfer

func (_VectorPoolHelper *VectorPoolHelperRaw) 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 VectorPoolHelperSession

type VectorPoolHelperSession struct {
	Contract     *VectorPoolHelper // 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
}

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

func (*VectorPoolHelperSession) Balance

func (_VectorPoolHelper *VectorPoolHelperSession) Balance(_address common.Address) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xe3d670d7.

Solidity: function balance(address _address) view returns(uint256)

func (*VectorPoolHelperSession) Deposit

func (_VectorPoolHelper *VectorPoolHelperSession) Deposit(amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 amount) returns()

func (*VectorPoolHelperSession) DepositToken

func (_VectorPoolHelper *VectorPoolHelperSession) DepositToken() (common.Address, error)

DepositToken is a free data retrieval call binding the contract method 0xc89039c5.

Solidity: function depositToken() view returns(address)

func (*VectorPoolHelperSession) DepositTokenBalance

func (_VectorPoolHelper *VectorPoolHelperSession) DepositTokenBalance() (*big.Int, error)

DepositTokenBalance is a free data retrieval call binding the contract method 0xcee7b7d2.

Solidity: function depositTokenBalance() view returns(uint256)

func (*VectorPoolHelperSession) Earned

func (_VectorPoolHelper *VectorPoolHelperSession) Earned(token common.Address) (struct {
	VtxAmount   *big.Int
	TokenAmount *big.Int
}, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address token) view returns(uint256 vtxAmount, uint256 tokenAmount)

func (*VectorPoolHelperSession) GetReward

func (_VectorPoolHelper *VectorPoolHelperSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*VectorPoolHelperSession) Harvest

func (_VectorPoolHelper *VectorPoolHelperSession) Harvest() (*types.Transaction, error)

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

Solidity: function harvest() returns()

func (*VectorPoolHelperSession) MainStaking

func (_VectorPoolHelper *VectorPoolHelperSession) MainStaking() (common.Address, error)

MainStaking is a free data retrieval call binding the contract method 0x1208e15b.

Solidity: function mainStaking() view returns(address)

func (*VectorPoolHelperSession) MasterVtx

func (_VectorPoolHelper *VectorPoolHelperSession) MasterVtx() (common.Address, error)

MasterVtx is a free data retrieval call binding the contract method 0xa296454f.

Solidity: function masterVtx() view returns(address)

func (*VectorPoolHelperSession) PendingPTP

func (_VectorPoolHelper *VectorPoolHelperSession) PendingPTP() (*big.Int, error)

PendingPTP is a free data retrieval call binding the contract method 0xe785312c.

Solidity: function pendingPTP() view returns(uint256 pendingTokens)

func (*VectorPoolHelperSession) Pid

func (_VectorPoolHelper *VectorPoolHelperSession) Pid() (*big.Int, error)

Pid is a free data retrieval call binding the contract method 0xf1068454.

Solidity: function pid() view returns(uint256)

func (*VectorPoolHelperSession) RewardPerToken

func (_VectorPoolHelper *VectorPoolHelperSession) RewardPerToken(token common.Address) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xf1229777.

Solidity: function rewardPerToken(address token) view returns(uint256)

func (*VectorPoolHelperSession) Rewarder

func (_VectorPoolHelper *VectorPoolHelperSession) Rewarder() (common.Address, error)

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

Solidity: function rewarder() view returns(address)

func (*VectorPoolHelperSession) Stake

func (_VectorPoolHelper *VectorPoolHelperSession) Stake(_amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 _amount) returns()

func (*VectorPoolHelperSession) StakingToken

func (_VectorPoolHelper *VectorPoolHelperSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*VectorPoolHelperSession) TotalSupply

func (_VectorPoolHelper *VectorPoolHelperSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VectorPoolHelperSession) Update

func (_VectorPoolHelper *VectorPoolHelperSession) Update() (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0xa2e62045.

Solidity: function update() returns()

func (*VectorPoolHelperSession) Withdraw

func (_VectorPoolHelper *VectorPoolHelperSession) Withdraw(amount *big.Int, minAmount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount, uint256 minAmount) returns()

func (*VectorPoolHelperSession) Xptp

func (_VectorPoolHelper *VectorPoolHelperSession) Xptp() (common.Address, error)

Xptp is a free data retrieval call binding the contract method 0x383d78e0.

Solidity: function xptp() view returns(address)

type VectorPoolHelperTransactor

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

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

func NewVectorPoolHelperTransactor

func NewVectorPoolHelperTransactor(address common.Address, transactor bind.ContractTransactor) (*VectorPoolHelperTransactor, error)

NewVectorPoolHelperTransactor creates a new write-only instance of VectorPoolHelper, bound to a specific deployed contract.

func (*VectorPoolHelperTransactor) Deposit

func (_VectorPoolHelper *VectorPoolHelperTransactor) Deposit(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 amount) returns()

func (*VectorPoolHelperTransactor) GetReward

func (_VectorPoolHelper *VectorPoolHelperTransactor) GetReward(opts *bind.TransactOpts) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*VectorPoolHelperTransactor) Harvest

func (_VectorPoolHelper *VectorPoolHelperTransactor) Harvest(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function harvest() returns()

func (*VectorPoolHelperTransactor) Stake

func (_VectorPoolHelper *VectorPoolHelperTransactor) Stake(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 _amount) returns()

func (*VectorPoolHelperTransactor) Update

func (_VectorPoolHelper *VectorPoolHelperTransactor) Update(opts *bind.TransactOpts) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0xa2e62045.

Solidity: function update() returns()

func (*VectorPoolHelperTransactor) Withdraw

func (_VectorPoolHelper *VectorPoolHelperTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, minAmount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount, uint256 minAmount) returns()

type VectorPoolHelperTransactorRaw

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

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

func (*VectorPoolHelperTransactorRaw) Transact

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

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

func (*VectorPoolHelperTransactorRaw) Transfer

func (_VectorPoolHelper *VectorPoolHelperTransactorRaw) 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 VectorPoolHelperTransactorSession

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

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

func (*VectorPoolHelperTransactorSession) Deposit

func (_VectorPoolHelper *VectorPoolHelperTransactorSession) Deposit(amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 amount) returns()

func (*VectorPoolHelperTransactorSession) GetReward

func (_VectorPoolHelper *VectorPoolHelperTransactorSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*VectorPoolHelperTransactorSession) Harvest

func (_VectorPoolHelper *VectorPoolHelperTransactorSession) Harvest() (*types.Transaction, error)

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

Solidity: function harvest() returns()

func (*VectorPoolHelperTransactorSession) Stake

func (_VectorPoolHelper *VectorPoolHelperTransactorSession) Stake(_amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 _amount) returns()

func (*VectorPoolHelperTransactorSession) Update

func (_VectorPoolHelper *VectorPoolHelperTransactorSession) Update() (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0xa2e62045.

Solidity: function update() returns()

func (*VectorPoolHelperTransactorSession) Withdraw

func (_VectorPoolHelper *VectorPoolHelperTransactorSession) Withdraw(amount *big.Int, minAmount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount, uint256 minAmount) returns()

Jump to

Keyboard shortcuts

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