Documentation ¶
Index ¶
- Variables
- type VectorChef
- type VectorChefCaller
- func (_VectorChef *VectorChefCaller) AddressToPoolInfo(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefCaller) DepositInfo(opts *bind.CallOpts, _lp common.Address, _user common.Address) (*big.Int, error)
- func (_VectorChef *VectorChefCaller) GetPoolInfo(opts *bind.CallOpts, token common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefCaller) IsAuthorizedForLock(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_VectorChef *VectorChefCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_VectorChef *VectorChefCaller) PendingTokens(opts *bind.CallOpts, _lp common.Address, _user common.Address, ...) (struct{ ... }, error)
- func (_VectorChef *VectorChefCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)
- func (_VectorChef *VectorChefCaller) PoolManagers(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_VectorChef *VectorChefCaller) RegisteredToken(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_VectorChef *VectorChefCaller) StartTimestamp(opts *bind.CallOpts) (*big.Int, error)
- func (_VectorChef *VectorChefCaller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)
- func (_VectorChef *VectorChefCaller) Vtx(opts *bind.CallOpts) (common.Address, error)
- func (_VectorChef *VectorChefCaller) VtxPerSec(opts *bind.CallOpts) (*big.Int, error)
- type VectorChefCallerRaw
- type VectorChefCallerSession
- func (_VectorChef *VectorChefCallerSession) AddressToPoolInfo(arg0 common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefCallerSession) DepositInfo(_lp common.Address, _user common.Address) (*big.Int, error)
- func (_VectorChef *VectorChefCallerSession) GetPoolInfo(token common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefCallerSession) IsAuthorizedForLock(arg0 common.Address) (bool, error)
- func (_VectorChef *VectorChefCallerSession) Owner() (common.Address, error)
- func (_VectorChef *VectorChefCallerSession) PendingTokens(_lp common.Address, _user common.Address, token common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefCallerSession) PoolLength() (*big.Int, error)
- func (_VectorChef *VectorChefCallerSession) PoolManagers(arg0 common.Address) (bool, error)
- func (_VectorChef *VectorChefCallerSession) RegisteredToken(arg0 *big.Int) (common.Address, error)
- func (_VectorChef *VectorChefCallerSession) StartTimestamp() (*big.Int, error)
- func (_VectorChef *VectorChefCallerSession) TotalAllocPoint() (*big.Int, error)
- func (_VectorChef *VectorChefCallerSession) Vtx() (common.Address, error)
- func (_VectorChef *VectorChefCallerSession) VtxPerSec() (*big.Int, error)
- type VectorChefFilterer
- type VectorChefRaw
- func (_VectorChef *VectorChefRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VectorChef *VectorChefRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VectorChef *VectorChefRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VectorChefSession
- func (_VectorChef *VectorChefSession) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) AddressToPoolInfo(arg0 common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefSession) AllowEmergency() (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) AuthorizeForLock(_address common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) AuthorizeLocker(_locker common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) ClaimLock(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) CreateRewarder(_lpToken common.Address, mainRewardToken common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) Deposit(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) DepositFor(_lp common.Address, _amount *big.Int, sender common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) DepositInfo(_lp common.Address, _user common.Address) (*big.Int, error)
- func (_VectorChef *VectorChefSession) EmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) EmergencyWithdrawWithReward(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) GetPoolInfo(token common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefSession) IsAuthorizedForLock(arg0 common.Address) (bool, error)
- func (_VectorChef *VectorChefSession) Lock(_lp common.Address, _amount *big.Int, _index *big.Int, force bool) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) LockFor(_lp common.Address, _amount *big.Int, _index *big.Int, _for common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) MassUpdatePools() (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) MasterChefVTXInit(_vtx common.Address, _vtxPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) MultiUnlock(_lp common.Address, _amount []*big.Int, _index []*big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) Multiclaim(_lps []common.Address, user_address common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) Owner() (common.Address, error)
- func (_VectorChef *VectorChefSession) PendingTokens(_lp common.Address, _user common.Address, token common.Address) (struct{ ... }, error)
- func (_VectorChef *VectorChefSession) PoolLength() (*big.Int, error)
- func (_VectorChef *VectorChefSession) PoolManagers(arg0 common.Address) (bool, error)
- func (_VectorChef *VectorChefSession) RealEmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) RegisteredToken(arg0 *big.Int) (common.Address, error)
- func (_VectorChef *VectorChefSession) RenounceOwnership() (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) Set(_lp common.Address, _allocPoint *big.Int, _rewarder common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) SetPoolHelper(_lp common.Address, _helper common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) SetPoolManagerStatus(_address common.Address, _bool bool) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) StartTimestamp() (*big.Int, error)
- func (_VectorChef *VectorChefSession) TotalAllocPoint() (*big.Int, error)
- func (_VectorChef *VectorChefSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) Unlock(_lp common.Address, _amount *big.Int, _index *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) UpdateEmissionRate(_vtxPerSec *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) UpdatePool(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) Vtx() (common.Address, error)
- func (_VectorChef *VectorChefSession) VtxPerSec() (*big.Int, error)
- func (_VectorChef *VectorChefSession) Withdraw(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefSession) WithdrawFor(_lp common.Address, _amount *big.Int, _sender common.Address) (*types.Transaction, error)
- type VectorChefTransactor
- func (_VectorChef *VectorChefTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) AllowEmergency(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) AuthorizeForLock(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) AuthorizeLocker(opts *bind.TransactOpts, _locker common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) ClaimLock(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) CreateRewarder(opts *bind.TransactOpts, _lpToken common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) Deposit(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) DepositFor(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) EmergencyWithdrawWithReward(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) Lock(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _index *big.Int, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) LockFor(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _index *big.Int, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) MasterChefVTXInit(opts *bind.TransactOpts, _vtx common.Address, _vtxPerSec *big.Int, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) MultiUnlock(opts *bind.TransactOpts, _lp common.Address, _amount []*big.Int, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) Multiclaim(opts *bind.TransactOpts, _lps []common.Address, user_address common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) RealEmergencyWithdraw(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) Set(opts *bind.TransactOpts, _lp common.Address, _allocPoint *big.Int, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) SetPoolHelper(opts *bind.TransactOpts, _lp common.Address, _helper common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) SetPoolManagerStatus(opts *bind.TransactOpts, _address common.Address, _bool bool) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) Unlock(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _index *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) UpdateEmissionRate(opts *bind.TransactOpts, _vtxPerSec *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) UpdatePool(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) Withdraw(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactor) WithdrawFor(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- type VectorChefTransactorRaw
- type VectorChefTransactorSession
- func (_VectorChef *VectorChefTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) AllowEmergency() (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) AuthorizeForLock(_address common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) AuthorizeLocker(_locker common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) ClaimLock(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) CreateRewarder(_lpToken common.Address, mainRewardToken common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) Deposit(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) DepositFor(_lp common.Address, _amount *big.Int, sender common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) EmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) EmergencyWithdrawWithReward(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) Lock(_lp common.Address, _amount *big.Int, _index *big.Int, force bool) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) LockFor(_lp common.Address, _amount *big.Int, _index *big.Int, _for common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) MassUpdatePools() (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) MasterChefVTXInit(_vtx common.Address, _vtxPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) MultiUnlock(_lp common.Address, _amount []*big.Int, _index []*big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) Multiclaim(_lps []common.Address, user_address common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) RealEmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) Set(_lp common.Address, _allocPoint *big.Int, _rewarder common.Address, ...) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) SetPoolHelper(_lp common.Address, _helper common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) SetPoolManagerStatus(_address common.Address, _bool bool) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) Unlock(_lp common.Address, _amount *big.Int, _index *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) UpdateEmissionRate(_vtxPerSec *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) UpdatePool(_lp common.Address) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) Withdraw(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VectorChef *VectorChefTransactorSession) WithdrawFor(_lp common.Address, _amount *big.Int, _sender common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var VectorChefABI = VectorChefMetaData.ABI
VectorChefABI is the input ABI used to generate the binding from. Deprecated: Use VectorChefMetaData.ABI instead.
var VectorChefMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"PoolManagers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vtx\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_vtxPerSec\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startTimestamp\",\"type\":\"uint256\"}],\"name\":\"__MasterChefVTX_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_helper\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"addressToPoolInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accVTXPerShare\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewarder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"helper\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"locker\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowEmergency\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"authorizeForLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_locker\",\"type\":\"address\"}],\"name\":\"authorizeLocker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"}],\"name\":\"claimLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"mainRewardToken\",\"type\":\"address\"}],\"name\":\"createRewarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"depositInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"availableAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"}],\"name\":\"emergencyWithdrawWithReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPoolInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"emission\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"allocpoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sizeOfPool\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalPoint\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAuthorizedForLock\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"force\",\"type\":\"bool\"}],\"name\":\"lock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_for\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"force\",\"type\":\"bool\"}],\"name\":\"lockFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_amount\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_index\",\"type\":\"uint256[]\"}],\"name\":\"multiUnlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_lps\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user_address\",\"type\":\"address\"}],\"name\":\"multiclaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"pendingTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingVTX\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bonusTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"bonusTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"pendingBonusToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"}],\"name\":\"realEmergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"registeredToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_locker\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_helper\",\"type\":\"address\"}],\"name\":\"setPoolHelper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_bool\",\"type\":\"bool\"}],\"name\":\"setPoolManagerStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"unlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_vtxPerSec\",\"type\":\"uint256\"}],\"name\":\"updateEmissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"}],\"name\":\"updatePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vtx\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vtxPerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"withdrawFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
VectorChefMetaData contains all meta data concerning the VectorChef contract.
Functions ¶
This section is empty.
Types ¶
type VectorChef ¶
type VectorChef struct { VectorChefCaller // Read-only binding to the contract VectorChefTransactor // Write-only binding to the contract VectorChefFilterer // Log filterer for contract events }
VectorChef is an auto generated Go binding around an Ethereum contract.
func NewVectorChef ¶
func NewVectorChef(address common.Address, backend bind.ContractBackend) (*VectorChef, error)
NewVectorChef creates a new instance of VectorChef, bound to a specific deployed contract.
type VectorChefCaller ¶
type VectorChefCaller struct {
// contains filtered or unexported fields
}
VectorChefCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVectorChefCaller ¶
func NewVectorChefCaller(address common.Address, caller bind.ContractCaller) (*VectorChefCaller, error)
NewVectorChefCaller creates a new read-only instance of VectorChef, bound to a specific deployed contract.
func (*VectorChefCaller) AddressToPoolInfo ¶
func (_VectorChef *VectorChefCaller) AddressToPoolInfo(opts *bind.CallOpts, arg0 common.Address) (struct { LpToken common.Address AllocPoint *big.Int LastRewardTimestamp *big.Int AccVTXPerShare *big.Int Rewarder common.Address Helper common.Address Locker common.Address }, error)
AddressToPoolInfo is a free data retrieval call binding the contract method 0x75b1aadc.
Solidity: function addressToPoolInfo(address ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardTimestamp, uint256 accVTXPerShare, address rewarder, address helper, address locker)
func (*VectorChefCaller) DepositInfo ¶
func (_VectorChef *VectorChefCaller) DepositInfo(opts *bind.CallOpts, _lp common.Address, _user common.Address) (*big.Int, error)
DepositInfo is a free data retrieval call binding the contract method 0x493b0170.
Solidity: function depositInfo(address _lp, address _user) view returns(uint256 availableAmount)
func (*VectorChefCaller) GetPoolInfo ¶
func (_VectorChef *VectorChefCaller) GetPoolInfo(opts *bind.CallOpts, token common.Address) (struct { Emission *big.Int Allocpoint *big.Int SizeOfPool *big.Int TotalPoint *big.Int }, error)
GetPoolInfo is a free data retrieval call binding the contract method 0x06bfa938.
Solidity: function getPoolInfo(address token) view returns(uint256 emission, uint256 allocpoint, uint256 sizeOfPool, uint256 totalPoint)
func (*VectorChefCaller) IsAuthorizedForLock ¶
func (_VectorChef *VectorChefCaller) IsAuthorizedForLock(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsAuthorizedForLock is a free data retrieval call binding the contract method 0x7e29b1a6.
Solidity: function isAuthorizedForLock(address ) view returns(bool)
func (*VectorChefCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VectorChefCaller) PendingTokens ¶
func (_VectorChef *VectorChefCaller) PendingTokens(opts *bind.CallOpts, _lp common.Address, _user common.Address, token common.Address) (struct { PendingVTX *big.Int BonusTokenAddress common.Address BonusTokenSymbol string PendingBonusToken *big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xad05e627.
Solidity: function pendingTokens(address _lp, address _user, address token) view returns(uint256 pendingVTX, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)
func (*VectorChefCaller) PoolLength ¶
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*VectorChefCaller) PoolManagers ¶
func (_VectorChef *VectorChefCaller) PoolManagers(opts *bind.CallOpts, arg0 common.Address) (bool, error)
PoolManagers is a free data retrieval call binding the contract method 0x07337f2b.
Solidity: function PoolManagers(address ) view returns(bool)
func (*VectorChefCaller) RegisteredToken ¶
func (_VectorChef *VectorChefCaller) RegisteredToken(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
RegisteredToken is a free data retrieval call binding the contract method 0x9c7e2655.
Solidity: function registeredToken(uint256 ) view returns(address)
func (*VectorChefCaller) StartTimestamp ¶
StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.
Solidity: function startTimestamp() view returns(uint256)
func (*VectorChefCaller) TotalAllocPoint ¶
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
type VectorChefCallerRaw ¶
type VectorChefCallerRaw struct {
Contract *VectorChefCaller // Generic read-only contract binding to access the raw methods on
}
VectorChefCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VectorChefCallerRaw) Call ¶
func (_VectorChef *VectorChefCallerRaw) 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 VectorChefCallerSession ¶
type VectorChefCallerSession struct { Contract *VectorChefCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VectorChefCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VectorChefCallerSession) AddressToPoolInfo ¶
func (_VectorChef *VectorChefCallerSession) AddressToPoolInfo(arg0 common.Address) (struct { LpToken common.Address AllocPoint *big.Int LastRewardTimestamp *big.Int AccVTXPerShare *big.Int Rewarder common.Address Helper common.Address Locker common.Address }, error)
AddressToPoolInfo is a free data retrieval call binding the contract method 0x75b1aadc.
Solidity: function addressToPoolInfo(address ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardTimestamp, uint256 accVTXPerShare, address rewarder, address helper, address locker)
func (*VectorChefCallerSession) DepositInfo ¶
func (_VectorChef *VectorChefCallerSession) DepositInfo(_lp common.Address, _user common.Address) (*big.Int, error)
DepositInfo is a free data retrieval call binding the contract method 0x493b0170.
Solidity: function depositInfo(address _lp, address _user) view returns(uint256 availableAmount)
func (*VectorChefCallerSession) GetPoolInfo ¶
func (_VectorChef *VectorChefCallerSession) GetPoolInfo(token common.Address) (struct { Emission *big.Int Allocpoint *big.Int SizeOfPool *big.Int TotalPoint *big.Int }, error)
GetPoolInfo is a free data retrieval call binding the contract method 0x06bfa938.
Solidity: function getPoolInfo(address token) view returns(uint256 emission, uint256 allocpoint, uint256 sizeOfPool, uint256 totalPoint)
func (*VectorChefCallerSession) IsAuthorizedForLock ¶
func (_VectorChef *VectorChefCallerSession) IsAuthorizedForLock(arg0 common.Address) (bool, error)
IsAuthorizedForLock is a free data retrieval call binding the contract method 0x7e29b1a6.
Solidity: function isAuthorizedForLock(address ) view returns(bool)
func (*VectorChefCallerSession) Owner ¶
func (_VectorChef *VectorChefCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VectorChefCallerSession) PendingTokens ¶
func (_VectorChef *VectorChefCallerSession) PendingTokens(_lp common.Address, _user common.Address, token common.Address) (struct { PendingVTX *big.Int BonusTokenAddress common.Address BonusTokenSymbol string PendingBonusToken *big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xad05e627.
Solidity: function pendingTokens(address _lp, address _user, address token) view returns(uint256 pendingVTX, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)
func (*VectorChefCallerSession) PoolLength ¶
func (_VectorChef *VectorChefCallerSession) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*VectorChefCallerSession) PoolManagers ¶
func (_VectorChef *VectorChefCallerSession) PoolManagers(arg0 common.Address) (bool, error)
PoolManagers is a free data retrieval call binding the contract method 0x07337f2b.
Solidity: function PoolManagers(address ) view returns(bool)
func (*VectorChefCallerSession) RegisteredToken ¶
RegisteredToken is a free data retrieval call binding the contract method 0x9c7e2655.
Solidity: function registeredToken(uint256 ) view returns(address)
func (*VectorChefCallerSession) StartTimestamp ¶
func (_VectorChef *VectorChefCallerSession) StartTimestamp() (*big.Int, error)
StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.
Solidity: function startTimestamp() view returns(uint256)
func (*VectorChefCallerSession) TotalAllocPoint ¶
func (_VectorChef *VectorChefCallerSession) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
type VectorChefFilterer ¶
type VectorChefFilterer struct {
// contains filtered or unexported fields
}
VectorChefFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVectorChefFilterer ¶
func NewVectorChefFilterer(address common.Address, filterer bind.ContractFilterer) (*VectorChefFilterer, error)
NewVectorChefFilterer creates a new log filterer instance of VectorChef, bound to a specific deployed contract.
type VectorChefRaw ¶
type VectorChefRaw struct {
Contract *VectorChef // Generic contract binding to access the raw methods on
}
VectorChefRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VectorChefRaw) Call ¶
func (_VectorChef *VectorChefRaw) 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 (*VectorChefRaw) Transact ¶
func (_VectorChef *VectorChefRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VectorChefRaw) Transfer ¶
func (_VectorChef *VectorChefRaw) 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 VectorChefSession ¶
type VectorChefSession struct { Contract *VectorChef // 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 }
VectorChefSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VectorChefSession) Add ¶
func (_VectorChef *VectorChefSession) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address, _helper common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x266f24b7.
Solidity: function add(uint256 _allocPoint, address _lpToken, address _rewarder, address _helper) returns()
func (*VectorChefSession) AddressToPoolInfo ¶
func (_VectorChef *VectorChefSession) AddressToPoolInfo(arg0 common.Address) (struct { LpToken common.Address AllocPoint *big.Int LastRewardTimestamp *big.Int AccVTXPerShare *big.Int Rewarder common.Address Helper common.Address Locker common.Address }, error)
AddressToPoolInfo is a free data retrieval call binding the contract method 0x75b1aadc.
Solidity: function addressToPoolInfo(address ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardTimestamp, uint256 accVTXPerShare, address rewarder, address helper, address locker)
func (*VectorChefSession) AllowEmergency ¶
func (_VectorChef *VectorChefSession) AllowEmergency() (*types.Transaction, error)
AllowEmergency is a paid mutator transaction binding the contract method 0xcdfaeab6.
Solidity: function allowEmergency() returns()
func (*VectorChefSession) AuthorizeForLock ¶
func (_VectorChef *VectorChefSession) AuthorizeForLock(_address common.Address) (*types.Transaction, error)
AuthorizeForLock is a paid mutator transaction binding the contract method 0x6f80d877.
Solidity: function authorizeForLock(address _address) returns()
func (*VectorChefSession) AuthorizeLocker ¶
func (_VectorChef *VectorChefSession) AuthorizeLocker(_locker common.Address) (*types.Transaction, error)
AuthorizeLocker is a paid mutator transaction binding the contract method 0x81c95579.
Solidity: function authorizeLocker(address _locker) returns()
func (*VectorChefSession) ClaimLock ¶
func (_VectorChef *VectorChefSession) ClaimLock(_lp common.Address) (*types.Transaction, error)
ClaimLock is a paid mutator transaction binding the contract method 0x986e8539.
Solidity: function claimLock(address _lp) returns()
func (*VectorChefSession) CreateRewarder ¶
func (_VectorChef *VectorChefSession) CreateRewarder(_lpToken common.Address, mainRewardToken common.Address) (*types.Transaction, error)
CreateRewarder is a paid mutator transaction binding the contract method 0x3b3f0ee6.
Solidity: function createRewarder(address _lpToken, address mainRewardToken) returns(address)
func (*VectorChefSession) Deposit ¶
func (_VectorChef *VectorChefSession) Deposit(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address _lp, uint256 _amount) returns()
func (*VectorChefSession) DepositFor ¶
func (_VectorChef *VectorChefSession) DepositFor(_lp common.Address, _amount *big.Int, sender common.Address) (*types.Transaction, error)
DepositFor is a paid mutator transaction binding the contract method 0xc8820f6c.
Solidity: function depositFor(address _lp, uint256 _amount, address sender) returns()
func (*VectorChefSession) DepositInfo ¶
func (_VectorChef *VectorChefSession) DepositInfo(_lp common.Address, _user common.Address) (*big.Int, error)
DepositInfo is a free data retrieval call binding the contract method 0x493b0170.
Solidity: function depositInfo(address _lp, address _user) view returns(uint256 availableAmount)
func (*VectorChefSession) EmergencyWithdraw ¶
func (_VectorChef *VectorChefSession) EmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x6ff1c9bc.
Solidity: function emergencyWithdraw(address _lp) returns()
func (*VectorChefSession) EmergencyWithdrawWithReward ¶
func (_VectorChef *VectorChefSession) EmergencyWithdrawWithReward(_lp common.Address) (*types.Transaction, error)
EmergencyWithdrawWithReward is a paid mutator transaction binding the contract method 0x97f3b304.
Solidity: function emergencyWithdrawWithReward(address _lp) returns()
func (*VectorChefSession) GetPoolInfo ¶
func (_VectorChef *VectorChefSession) GetPoolInfo(token common.Address) (struct { Emission *big.Int Allocpoint *big.Int SizeOfPool *big.Int TotalPoint *big.Int }, error)
GetPoolInfo is a free data retrieval call binding the contract method 0x06bfa938.
Solidity: function getPoolInfo(address token) view returns(uint256 emission, uint256 allocpoint, uint256 sizeOfPool, uint256 totalPoint)
func (*VectorChefSession) IsAuthorizedForLock ¶
func (_VectorChef *VectorChefSession) IsAuthorizedForLock(arg0 common.Address) (bool, error)
IsAuthorizedForLock is a free data retrieval call binding the contract method 0x7e29b1a6.
Solidity: function isAuthorizedForLock(address ) view returns(bool)
func (*VectorChefSession) Lock ¶
func (_VectorChef *VectorChefSession) Lock(_lp common.Address, _amount *big.Int, _index *big.Int, force bool) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x9bf92698.
Solidity: function lock(address _lp, uint256 _amount, uint256 _index, bool force) returns()
func (*VectorChefSession) LockFor ¶
func (_VectorChef *VectorChefSession) LockFor(_lp common.Address, _amount *big.Int, _index *big.Int, _for common.Address, force bool) (*types.Transaction, error)
LockFor is a paid mutator transaction binding the contract method 0x7ce92844.
Solidity: function lockFor(address _lp, uint256 _amount, uint256 _index, address _for, bool force) returns()
func (*VectorChefSession) MassUpdatePools ¶
func (_VectorChef *VectorChefSession) MassUpdatePools() (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*VectorChefSession) MasterChefVTXInit ¶
func (_VectorChef *VectorChefSession) MasterChefVTXInit(_vtx common.Address, _vtxPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)
MasterChefVTXInit is a paid mutator transaction binding the contract method 0x5aec2722.
Solidity: function __MasterChefVTX_init(address _vtx, uint256 _vtxPerSec, uint256 _startTimestamp) returns()
func (*VectorChefSession) MultiUnlock ¶
func (_VectorChef *VectorChefSession) MultiUnlock(_lp common.Address, _amount []*big.Int, _index []*big.Int) (*types.Transaction, error)
MultiUnlock is a paid mutator transaction binding the contract method 0x3e8d54e1.
Solidity: function multiUnlock(address _lp, uint256[] _amount, uint256[] _index) returns()
func (*VectorChefSession) Multiclaim ¶
func (_VectorChef *VectorChefSession) Multiclaim(_lps []common.Address, user_address common.Address) (*types.Transaction, error)
Multiclaim is a paid mutator transaction binding the contract method 0x17e54830.
Solidity: function multiclaim(address[] _lps, address user_address) returns()
func (*VectorChefSession) Owner ¶
func (_VectorChef *VectorChefSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VectorChefSession) PendingTokens ¶
func (_VectorChef *VectorChefSession) PendingTokens(_lp common.Address, _user common.Address, token common.Address) (struct { PendingVTX *big.Int BonusTokenAddress common.Address BonusTokenSymbol string PendingBonusToken *big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xad05e627.
Solidity: function pendingTokens(address _lp, address _user, address token) view returns(uint256 pendingVTX, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)
func (*VectorChefSession) PoolLength ¶
func (_VectorChef *VectorChefSession) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*VectorChefSession) PoolManagers ¶
func (_VectorChef *VectorChefSession) PoolManagers(arg0 common.Address) (bool, error)
PoolManagers is a free data retrieval call binding the contract method 0x07337f2b.
Solidity: function PoolManagers(address ) view returns(bool)
func (*VectorChefSession) RealEmergencyWithdraw ¶
func (_VectorChef *VectorChefSession) RealEmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
RealEmergencyWithdraw is a paid mutator transaction binding the contract method 0xe952fddc.
Solidity: function realEmergencyWithdraw(address _lp) returns()
func (*VectorChefSession) RegisteredToken ¶
RegisteredToken is a free data retrieval call binding the contract method 0x9c7e2655.
Solidity: function registeredToken(uint256 ) view returns(address)
func (*VectorChefSession) RenounceOwnership ¶
func (_VectorChef *VectorChefSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VectorChefSession) Set ¶
func (_VectorChef *VectorChefSession) Set(_lp common.Address, _allocPoint *big.Int, _rewarder common.Address, _locker common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x56a2ff68.
Solidity: function set(address _lp, uint256 _allocPoint, address _rewarder, address _locker, bool overwrite) returns()
func (*VectorChefSession) SetPoolHelper ¶
func (_VectorChef *VectorChefSession) SetPoolHelper(_lp common.Address, _helper common.Address) (*types.Transaction, error)
SetPoolHelper is a paid mutator transaction binding the contract method 0xa2212459.
Solidity: function setPoolHelper(address _lp, address _helper) returns()
func (*VectorChefSession) SetPoolManagerStatus ¶
func (_VectorChef *VectorChefSession) SetPoolManagerStatus(_address common.Address, _bool bool) (*types.Transaction, error)
SetPoolManagerStatus is a paid mutator transaction binding the contract method 0xefe33cfa.
Solidity: function setPoolManagerStatus(address _address, bool _bool) returns()
func (*VectorChefSession) StartTimestamp ¶
func (_VectorChef *VectorChefSession) StartTimestamp() (*big.Int, error)
StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.
Solidity: function startTimestamp() view returns(uint256)
func (*VectorChefSession) TotalAllocPoint ¶
func (_VectorChef *VectorChefSession) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*VectorChefSession) TransferOwnership ¶
func (_VectorChef *VectorChefSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*VectorChefSession) Unlock ¶
func (_VectorChef *VectorChefSession) Unlock(_lp common.Address, _amount *big.Int, _index *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xb5674c68.
Solidity: function unlock(address _lp, uint256 _amount, uint256 _index) returns()
func (*VectorChefSession) UpdateEmissionRate ¶
func (_VectorChef *VectorChefSession) UpdateEmissionRate(_vtxPerSec *big.Int) (*types.Transaction, error)
UpdateEmissionRate is a paid mutator transaction binding the contract method 0x0ba84cd2.
Solidity: function updateEmissionRate(uint256 _vtxPerSec) returns()
func (*VectorChefSession) UpdatePool ¶
func (_VectorChef *VectorChefSession) UpdatePool(_lp common.Address) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x7b46c54f.
Solidity: function updatePool(address _lp) returns()
func (*VectorChefSession) Vtx ¶
func (_VectorChef *VectorChefSession) Vtx() (common.Address, error)
Vtx is a free data retrieval call binding the contract method 0xb76ae05e.
Solidity: function vtx() view returns(address)
func (*VectorChefSession) VtxPerSec ¶
func (_VectorChef *VectorChefSession) VtxPerSec() (*big.Int, error)
VtxPerSec is a free data retrieval call binding the contract method 0xd6c494c8.
Solidity: function vtxPerSec() view returns(uint256)
func (*VectorChefSession) Withdraw ¶
func (_VectorChef *VectorChefSession) Withdraw(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _lp, uint256 _amount) returns()
func (*VectorChefSession) WithdrawFor ¶
func (_VectorChef *VectorChefSession) WithdrawFor(_lp common.Address, _amount *big.Int, _sender common.Address) (*types.Transaction, error)
WithdrawFor is a paid mutator transaction binding the contract method 0x6766efbe.
Solidity: function withdrawFor(address _lp, uint256 _amount, address _sender) returns()
type VectorChefTransactor ¶
type VectorChefTransactor struct {
// contains filtered or unexported fields
}
VectorChefTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVectorChefTransactor ¶
func NewVectorChefTransactor(address common.Address, transactor bind.ContractTransactor) (*VectorChefTransactor, error)
NewVectorChefTransactor creates a new write-only instance of VectorChef, bound to a specific deployed contract.
func (*VectorChefTransactor) Add ¶
func (_VectorChef *VectorChefTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address, _helper common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x266f24b7.
Solidity: function add(uint256 _allocPoint, address _lpToken, address _rewarder, address _helper) returns()
func (*VectorChefTransactor) AllowEmergency ¶
func (_VectorChef *VectorChefTransactor) AllowEmergency(opts *bind.TransactOpts) (*types.Transaction, error)
AllowEmergency is a paid mutator transaction binding the contract method 0xcdfaeab6.
Solidity: function allowEmergency() returns()
func (*VectorChefTransactor) AuthorizeForLock ¶
func (_VectorChef *VectorChefTransactor) AuthorizeForLock(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
AuthorizeForLock is a paid mutator transaction binding the contract method 0x6f80d877.
Solidity: function authorizeForLock(address _address) returns()
func (*VectorChefTransactor) AuthorizeLocker ¶
func (_VectorChef *VectorChefTransactor) AuthorizeLocker(opts *bind.TransactOpts, _locker common.Address) (*types.Transaction, error)
AuthorizeLocker is a paid mutator transaction binding the contract method 0x81c95579.
Solidity: function authorizeLocker(address _locker) returns()
func (*VectorChefTransactor) ClaimLock ¶
func (_VectorChef *VectorChefTransactor) ClaimLock(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
ClaimLock is a paid mutator transaction binding the contract method 0x986e8539.
Solidity: function claimLock(address _lp) returns()
func (*VectorChefTransactor) CreateRewarder ¶
func (_VectorChef *VectorChefTransactor) CreateRewarder(opts *bind.TransactOpts, _lpToken common.Address, mainRewardToken common.Address) (*types.Transaction, error)
CreateRewarder is a paid mutator transaction binding the contract method 0x3b3f0ee6.
Solidity: function createRewarder(address _lpToken, address mainRewardToken) returns(address)
func (*VectorChefTransactor) Deposit ¶
func (_VectorChef *VectorChefTransactor) Deposit(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address _lp, uint256 _amount) returns()
func (*VectorChefTransactor) DepositFor ¶
func (_VectorChef *VectorChefTransactor) DepositFor(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, sender common.Address) (*types.Transaction, error)
DepositFor is a paid mutator transaction binding the contract method 0xc8820f6c.
Solidity: function depositFor(address _lp, uint256 _amount, address sender) returns()
func (*VectorChefTransactor) EmergencyWithdraw ¶
func (_VectorChef *VectorChefTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x6ff1c9bc.
Solidity: function emergencyWithdraw(address _lp) returns()
func (*VectorChefTransactor) EmergencyWithdrawWithReward ¶
func (_VectorChef *VectorChefTransactor) EmergencyWithdrawWithReward(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
EmergencyWithdrawWithReward is a paid mutator transaction binding the contract method 0x97f3b304.
Solidity: function emergencyWithdrawWithReward(address _lp) returns()
func (*VectorChefTransactor) Lock ¶
func (_VectorChef *VectorChefTransactor) Lock(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _index *big.Int, force bool) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x9bf92698.
Solidity: function lock(address _lp, uint256 _amount, uint256 _index, bool force) returns()
func (*VectorChefTransactor) LockFor ¶
func (_VectorChef *VectorChefTransactor) LockFor(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _index *big.Int, _for common.Address, force bool) (*types.Transaction, error)
LockFor is a paid mutator transaction binding the contract method 0x7ce92844.
Solidity: function lockFor(address _lp, uint256 _amount, uint256 _index, address _for, bool force) returns()
func (*VectorChefTransactor) MassUpdatePools ¶
func (_VectorChef *VectorChefTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*VectorChefTransactor) MasterChefVTXInit ¶
func (_VectorChef *VectorChefTransactor) MasterChefVTXInit(opts *bind.TransactOpts, _vtx common.Address, _vtxPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)
MasterChefVTXInit is a paid mutator transaction binding the contract method 0x5aec2722.
Solidity: function __MasterChefVTX_init(address _vtx, uint256 _vtxPerSec, uint256 _startTimestamp) returns()
func (*VectorChefTransactor) MultiUnlock ¶
func (_VectorChef *VectorChefTransactor) MultiUnlock(opts *bind.TransactOpts, _lp common.Address, _amount []*big.Int, _index []*big.Int) (*types.Transaction, error)
MultiUnlock is a paid mutator transaction binding the contract method 0x3e8d54e1.
Solidity: function multiUnlock(address _lp, uint256[] _amount, uint256[] _index) returns()
func (*VectorChefTransactor) Multiclaim ¶
func (_VectorChef *VectorChefTransactor) Multiclaim(opts *bind.TransactOpts, _lps []common.Address, user_address common.Address) (*types.Transaction, error)
Multiclaim is a paid mutator transaction binding the contract method 0x17e54830.
Solidity: function multiclaim(address[] _lps, address user_address) returns()
func (*VectorChefTransactor) RealEmergencyWithdraw ¶
func (_VectorChef *VectorChefTransactor) RealEmergencyWithdraw(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
RealEmergencyWithdraw is a paid mutator transaction binding the contract method 0xe952fddc.
Solidity: function realEmergencyWithdraw(address _lp) returns()
func (*VectorChefTransactor) RenounceOwnership ¶
func (_VectorChef *VectorChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VectorChefTransactor) Set ¶
func (_VectorChef *VectorChefTransactor) Set(opts *bind.TransactOpts, _lp common.Address, _allocPoint *big.Int, _rewarder common.Address, _locker common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x56a2ff68.
Solidity: function set(address _lp, uint256 _allocPoint, address _rewarder, address _locker, bool overwrite) returns()
func (*VectorChefTransactor) SetPoolHelper ¶
func (_VectorChef *VectorChefTransactor) SetPoolHelper(opts *bind.TransactOpts, _lp common.Address, _helper common.Address) (*types.Transaction, error)
SetPoolHelper is a paid mutator transaction binding the contract method 0xa2212459.
Solidity: function setPoolHelper(address _lp, address _helper) returns()
func (*VectorChefTransactor) SetPoolManagerStatus ¶
func (_VectorChef *VectorChefTransactor) SetPoolManagerStatus(opts *bind.TransactOpts, _address common.Address, _bool bool) (*types.Transaction, error)
SetPoolManagerStatus is a paid mutator transaction binding the contract method 0xefe33cfa.
Solidity: function setPoolManagerStatus(address _address, bool _bool) returns()
func (*VectorChefTransactor) TransferOwnership ¶
func (_VectorChef *VectorChefTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*VectorChefTransactor) Unlock ¶
func (_VectorChef *VectorChefTransactor) Unlock(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _index *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xb5674c68.
Solidity: function unlock(address _lp, uint256 _amount, uint256 _index) returns()
func (*VectorChefTransactor) UpdateEmissionRate ¶
func (_VectorChef *VectorChefTransactor) UpdateEmissionRate(opts *bind.TransactOpts, _vtxPerSec *big.Int) (*types.Transaction, error)
UpdateEmissionRate is a paid mutator transaction binding the contract method 0x0ba84cd2.
Solidity: function updateEmissionRate(uint256 _vtxPerSec) returns()
func (*VectorChefTransactor) UpdatePool ¶
func (_VectorChef *VectorChefTransactor) UpdatePool(opts *bind.TransactOpts, _lp common.Address) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x7b46c54f.
Solidity: function updatePool(address _lp) returns()
func (*VectorChefTransactor) Withdraw ¶
func (_VectorChef *VectorChefTransactor) Withdraw(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _lp, uint256 _amount) returns()
func (*VectorChefTransactor) WithdrawFor ¶
func (_VectorChef *VectorChefTransactor) WithdrawFor(opts *bind.TransactOpts, _lp common.Address, _amount *big.Int, _sender common.Address) (*types.Transaction, error)
WithdrawFor is a paid mutator transaction binding the contract method 0x6766efbe.
Solidity: function withdrawFor(address _lp, uint256 _amount, address _sender) returns()
type VectorChefTransactorRaw ¶
type VectorChefTransactorRaw struct {
Contract *VectorChefTransactor // Generic write-only contract binding to access the raw methods on
}
VectorChefTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VectorChefTransactorRaw) Transact ¶
func (_VectorChef *VectorChefTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VectorChefTransactorRaw) Transfer ¶
func (_VectorChef *VectorChefTransactorRaw) 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 VectorChefTransactorSession ¶
type VectorChefTransactorSession struct { Contract *VectorChefTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VectorChefTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VectorChefTransactorSession) Add ¶
func (_VectorChef *VectorChefTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address, _helper common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x266f24b7.
Solidity: function add(uint256 _allocPoint, address _lpToken, address _rewarder, address _helper) returns()
func (*VectorChefTransactorSession) AllowEmergency ¶
func (_VectorChef *VectorChefTransactorSession) AllowEmergency() (*types.Transaction, error)
AllowEmergency is a paid mutator transaction binding the contract method 0xcdfaeab6.
Solidity: function allowEmergency() returns()
func (*VectorChefTransactorSession) AuthorizeForLock ¶
func (_VectorChef *VectorChefTransactorSession) AuthorizeForLock(_address common.Address) (*types.Transaction, error)
AuthorizeForLock is a paid mutator transaction binding the contract method 0x6f80d877.
Solidity: function authorizeForLock(address _address) returns()
func (*VectorChefTransactorSession) AuthorizeLocker ¶
func (_VectorChef *VectorChefTransactorSession) AuthorizeLocker(_locker common.Address) (*types.Transaction, error)
AuthorizeLocker is a paid mutator transaction binding the contract method 0x81c95579.
Solidity: function authorizeLocker(address _locker) returns()
func (*VectorChefTransactorSession) ClaimLock ¶
func (_VectorChef *VectorChefTransactorSession) ClaimLock(_lp common.Address) (*types.Transaction, error)
ClaimLock is a paid mutator transaction binding the contract method 0x986e8539.
Solidity: function claimLock(address _lp) returns()
func (*VectorChefTransactorSession) CreateRewarder ¶
func (_VectorChef *VectorChefTransactorSession) CreateRewarder(_lpToken common.Address, mainRewardToken common.Address) (*types.Transaction, error)
CreateRewarder is a paid mutator transaction binding the contract method 0x3b3f0ee6.
Solidity: function createRewarder(address _lpToken, address mainRewardToken) returns(address)
func (*VectorChefTransactorSession) Deposit ¶
func (_VectorChef *VectorChefTransactorSession) Deposit(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address _lp, uint256 _amount) returns()
func (*VectorChefTransactorSession) DepositFor ¶
func (_VectorChef *VectorChefTransactorSession) DepositFor(_lp common.Address, _amount *big.Int, sender common.Address) (*types.Transaction, error)
DepositFor is a paid mutator transaction binding the contract method 0xc8820f6c.
Solidity: function depositFor(address _lp, uint256 _amount, address sender) returns()
func (*VectorChefTransactorSession) EmergencyWithdraw ¶
func (_VectorChef *VectorChefTransactorSession) EmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x6ff1c9bc.
Solidity: function emergencyWithdraw(address _lp) returns()
func (*VectorChefTransactorSession) EmergencyWithdrawWithReward ¶
func (_VectorChef *VectorChefTransactorSession) EmergencyWithdrawWithReward(_lp common.Address) (*types.Transaction, error)
EmergencyWithdrawWithReward is a paid mutator transaction binding the contract method 0x97f3b304.
Solidity: function emergencyWithdrawWithReward(address _lp) returns()
func (*VectorChefTransactorSession) Lock ¶
func (_VectorChef *VectorChefTransactorSession) Lock(_lp common.Address, _amount *big.Int, _index *big.Int, force bool) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x9bf92698.
Solidity: function lock(address _lp, uint256 _amount, uint256 _index, bool force) returns()
func (*VectorChefTransactorSession) LockFor ¶
func (_VectorChef *VectorChefTransactorSession) LockFor(_lp common.Address, _amount *big.Int, _index *big.Int, _for common.Address, force bool) (*types.Transaction, error)
LockFor is a paid mutator transaction binding the contract method 0x7ce92844.
Solidity: function lockFor(address _lp, uint256 _amount, uint256 _index, address _for, bool force) returns()
func (*VectorChefTransactorSession) MassUpdatePools ¶
func (_VectorChef *VectorChefTransactorSession) MassUpdatePools() (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*VectorChefTransactorSession) MasterChefVTXInit ¶
func (_VectorChef *VectorChefTransactorSession) MasterChefVTXInit(_vtx common.Address, _vtxPerSec *big.Int, _startTimestamp *big.Int) (*types.Transaction, error)
MasterChefVTXInit is a paid mutator transaction binding the contract method 0x5aec2722.
Solidity: function __MasterChefVTX_init(address _vtx, uint256 _vtxPerSec, uint256 _startTimestamp) returns()
func (*VectorChefTransactorSession) MultiUnlock ¶
func (_VectorChef *VectorChefTransactorSession) MultiUnlock(_lp common.Address, _amount []*big.Int, _index []*big.Int) (*types.Transaction, error)
MultiUnlock is a paid mutator transaction binding the contract method 0x3e8d54e1.
Solidity: function multiUnlock(address _lp, uint256[] _amount, uint256[] _index) returns()
func (*VectorChefTransactorSession) Multiclaim ¶
func (_VectorChef *VectorChefTransactorSession) Multiclaim(_lps []common.Address, user_address common.Address) (*types.Transaction, error)
Multiclaim is a paid mutator transaction binding the contract method 0x17e54830.
Solidity: function multiclaim(address[] _lps, address user_address) returns()
func (*VectorChefTransactorSession) RealEmergencyWithdraw ¶
func (_VectorChef *VectorChefTransactorSession) RealEmergencyWithdraw(_lp common.Address) (*types.Transaction, error)
RealEmergencyWithdraw is a paid mutator transaction binding the contract method 0xe952fddc.
Solidity: function realEmergencyWithdraw(address _lp) returns()
func (*VectorChefTransactorSession) RenounceOwnership ¶
func (_VectorChef *VectorChefTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VectorChefTransactorSession) Set ¶
func (_VectorChef *VectorChefTransactorSession) Set(_lp common.Address, _allocPoint *big.Int, _rewarder common.Address, _locker common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x56a2ff68.
Solidity: function set(address _lp, uint256 _allocPoint, address _rewarder, address _locker, bool overwrite) returns()
func (*VectorChefTransactorSession) SetPoolHelper ¶
func (_VectorChef *VectorChefTransactorSession) SetPoolHelper(_lp common.Address, _helper common.Address) (*types.Transaction, error)
SetPoolHelper is a paid mutator transaction binding the contract method 0xa2212459.
Solidity: function setPoolHelper(address _lp, address _helper) returns()
func (*VectorChefTransactorSession) SetPoolManagerStatus ¶
func (_VectorChef *VectorChefTransactorSession) SetPoolManagerStatus(_address common.Address, _bool bool) (*types.Transaction, error)
SetPoolManagerStatus is a paid mutator transaction binding the contract method 0xefe33cfa.
Solidity: function setPoolManagerStatus(address _address, bool _bool) returns()
func (*VectorChefTransactorSession) TransferOwnership ¶
func (_VectorChef *VectorChefTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*VectorChefTransactorSession) Unlock ¶
func (_VectorChef *VectorChefTransactorSession) Unlock(_lp common.Address, _amount *big.Int, _index *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xb5674c68.
Solidity: function unlock(address _lp, uint256 _amount, uint256 _index) returns()
func (*VectorChefTransactorSession) UpdateEmissionRate ¶
func (_VectorChef *VectorChefTransactorSession) UpdateEmissionRate(_vtxPerSec *big.Int) (*types.Transaction, error)
UpdateEmissionRate is a paid mutator transaction binding the contract method 0x0ba84cd2.
Solidity: function updateEmissionRate(uint256 _vtxPerSec) returns()
func (*VectorChefTransactorSession) UpdatePool ¶
func (_VectorChef *VectorChefTransactorSession) UpdatePool(_lp common.Address) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x7b46c54f.
Solidity: function updatePool(address _lp) returns()
func (*VectorChefTransactorSession) Withdraw ¶
func (_VectorChef *VectorChefTransactorSession) Withdraw(_lp common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _lp, uint256 _amount) returns()
func (*VectorChefTransactorSession) WithdrawFor ¶
func (_VectorChef *VectorChefTransactorSession) WithdrawFor(_lp common.Address, _amount *big.Int, _sender common.Address) (*types.Transaction, error)
WithdrawFor is a paid mutator transaction binding the contract method 0x6766efbe.
Solidity: function withdrawFor(address _lp, uint256 _amount, address _sender) returns()