Documentation ¶
Index ¶
- Variables
- type IVeWomBreeding
- type IVeWomUserInfo
- type MasterWomatV2
- type MasterWomatV2Add
- type MasterWomatV2AddIterator
- type MasterWomatV2Caller
- func (_MasterWomatV2 *MasterWomatV2Caller) BasePartition(opts *bind.CallOpts) (uint16, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) BoostedPartition(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) GetAssetPid(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) Paused(opts *bind.CallOpts) (bool, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) PendingTokens(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) PoolLength(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) RewarderBonusTokenInfo(opts *bind.CallOpts, _pid *big.Int) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) StartTimestamp(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) VeWom(opts *bind.CallOpts) (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) Wom(opts *bind.CallOpts) (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2Caller) WomPerSec(opts *bind.CallOpts) (*big.Int, error)
- type MasterWomatV2CallerRaw
- type MasterWomatV2CallerSession
- func (_MasterWomatV2 *MasterWomatV2CallerSession) BasePartition() (uint16, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) BoostedPartition() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) GetAssetPid(asset common.Address) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) Owner() (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) Paused() (bool, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) PendingTokens(_pid *big.Int, _user common.Address) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) PoolInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) PoolLength() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) RewarderBonusTokenInfo(_pid *big.Int) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) StartTimestamp() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) TotalAllocPoint() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) VeWom() (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) Wom() (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2CallerSession) WomPerSec() (*big.Int, error)
- type MasterWomatV2Deposit
- type MasterWomatV2DepositFor
- type MasterWomatV2DepositForIterator
- type MasterWomatV2DepositIterator
- type MasterWomatV2EmergencyWithdraw
- type MasterWomatV2EmergencyWithdrawIterator
- type MasterWomatV2EmergencyWomWithdraw
- type MasterWomatV2EmergencyWomWithdrawIterator
- type MasterWomatV2Filterer
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterAdd(opts *bind.FilterOpts, pid []*big.Int, lpToken []common.Address, ...) (*MasterWomatV2AddIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2DepositIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterDepositFor(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2DepositForIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2EmergencyWithdrawIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterEmergencyWomWithdraw(opts *bind.FilterOpts) (*MasterWomatV2EmergencyWomWithdrawIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterHarvest(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2HarvestIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MasterWomatV2OwnershipTransferredIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterPaused(opts *bind.FilterOpts) (*MasterWomatV2PausedIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterSet(opts *bind.FilterOpts, pid []*big.Int, rewarder []common.Address) (*MasterWomatV2SetIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*MasterWomatV2UnpausedIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdateEmissionPartition(opts *bind.FilterOpts, user []common.Address) (*MasterWomatV2UpdateEmissionPartitionIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdateEmissionRate(opts *bind.FilterOpts, user []common.Address) (*MasterWomatV2UpdateEmissionRateIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdatePool(opts *bind.FilterOpts, pid []*big.Int) (*MasterWomatV2UpdatePoolIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdateVeWOM(opts *bind.FilterOpts, user []common.Address) (*MasterWomatV2UpdateVeWOMIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2WithdrawIterator, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseAdd(log types.Log) (*MasterWomatV2Add, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseDeposit(log types.Log) (*MasterWomatV2Deposit, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseDepositFor(log types.Log) (*MasterWomatV2DepositFor, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseEmergencyWithdraw(log types.Log) (*MasterWomatV2EmergencyWithdraw, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseEmergencyWomWithdraw(log types.Log) (*MasterWomatV2EmergencyWomWithdraw, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseHarvest(log types.Log) (*MasterWomatV2Harvest, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseOwnershipTransferred(log types.Log) (*MasterWomatV2OwnershipTransferred, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParsePaused(log types.Log) (*MasterWomatV2Paused, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseSet(log types.Log) (*MasterWomatV2Set, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUnpaused(log types.Log) (*MasterWomatV2Unpaused, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdateEmissionPartition(log types.Log) (*MasterWomatV2UpdateEmissionPartition, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdateEmissionRate(log types.Log) (*MasterWomatV2UpdateEmissionRate, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdatePool(log types.Log) (*MasterWomatV2UpdatePool, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdateVeWOM(log types.Log) (*MasterWomatV2UpdateVeWOM, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) ParseWithdraw(log types.Log) (*MasterWomatV2Withdraw, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchAdd(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Add, pid []*big.Int, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Deposit, user []common.Address, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchDepositFor(opts *bind.WatchOpts, sink chan<- *MasterWomatV2DepositFor, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *MasterWomatV2EmergencyWithdraw, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchEmergencyWomWithdraw(opts *bind.WatchOpts, sink chan<- *MasterWomatV2EmergencyWomWithdraw) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Harvest, user []common.Address, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MasterWomatV2OwnershipTransferred, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Paused) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchSet(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Set, pid []*big.Int, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Unpaused) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdateEmissionPartition(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdateEmissionPartition, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdateEmissionRate(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdateEmissionRate, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdatePool(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdatePool, pid []*big.Int) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdateVeWOM(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdateVeWOM, ...) (event.Subscription, error)
- func (_MasterWomatV2 *MasterWomatV2Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Withdraw, ...) (event.Subscription, error)
- type MasterWomatV2Harvest
- type MasterWomatV2HarvestIterator
- type MasterWomatV2OwnershipTransferred
- type MasterWomatV2OwnershipTransferredIterator
- type MasterWomatV2Paused
- type MasterWomatV2PausedIterator
- type MasterWomatV2Raw
- func (_MasterWomatV2 *MasterWomatV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MasterWomatV2 *MasterWomatV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MasterWomatV2Session
- func (_MasterWomatV2 *MasterWomatV2Session) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) BasePartition() (uint16, error)
- func (_MasterWomatV2 *MasterWomatV2Session) BoostedPartition() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) DepositFor(_pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) EmergencyWomWithdraw() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) GetAssetPid(asset common.Address) (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Initialize(_wom common.Address, _veWom common.Address, _womPerSec *big.Int, ...) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) MassUpdatePools() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Migrate(_pids []*big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) MultiClaim(_pids []*big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Owner() (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Pause() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Paused() (bool, error)
- func (_MasterWomatV2 *MasterWomatV2Session) PendingTokens(_pid *big.Int, _user common.Address) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Session) PoolInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Session) PoolLength() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Session) RenounceOwnership() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) RewarderBonusTokenInfo(_pid *big.Int) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) SetNewMasterWombat(_newMasterWombat common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) SetVeWom(_newVeWom common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) StartTimestamp() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Session) TotalAllocPoint() (*big.Int, error)
- func (_MasterWomatV2 *MasterWomatV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Unpause() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) UpdateEmissionPartition(_basePartition uint16) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) UpdateEmissionRate(_womPerSec *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) UpdateFactor(_user common.Address, _newVeWomBalance *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) UpdatePool(_pid *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) UserInfo(arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- func (_MasterWomatV2 *MasterWomatV2Session) VeWom() (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Session) Wom() (common.Address, error)
- func (_MasterWomatV2 *MasterWomatV2Session) WomPerSec() (*big.Int, error)
- type MasterWomatV2Set
- type MasterWomatV2SetIterator
- type MasterWomatV2Transactor
- func (_MasterWomatV2 *MasterWomatV2Transactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, ...) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) DepositFor(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) EmergencyWomWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Initialize(opts *bind.TransactOpts, _wom common.Address, _veWom common.Address, ...) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Migrate(opts *bind.TransactOpts, _pids []*big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) MultiClaim(opts *bind.TransactOpts, _pids []*big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, ...) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) SetNewMasterWombat(opts *bind.TransactOpts, _newMasterWombat common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) SetVeWom(opts *bind.TransactOpts, _newVeWom common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) UpdateEmissionPartition(opts *bind.TransactOpts, _basePartition uint16) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) UpdateEmissionRate(opts *bind.TransactOpts, _womPerSec *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) UpdateFactor(opts *bind.TransactOpts, _user common.Address, _newVeWomBalance *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2Transactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- type MasterWomatV2TransactorRaw
- type MasterWomatV2TransactorSession
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) DepositFor(_pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) EmergencyWomWithdraw() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Initialize(_wom common.Address, _veWom common.Address, _womPerSec *big.Int, ...) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) MassUpdatePools() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Migrate(_pids []*big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) MultiClaim(_pids []*big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Pause() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) SetNewMasterWombat(_newMasterWombat common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) SetVeWom(_newVeWom common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Unpause() (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdateEmissionPartition(_basePartition uint16) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdateEmissionRate(_womPerSec *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdateFactor(_user common.Address, _newVeWomBalance *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)
- func (_MasterWomatV2 *MasterWomatV2TransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- type MasterWomatV2Unpaused
- type MasterWomatV2UnpausedIterator
- type MasterWomatV2UpdateEmissionPartition
- type MasterWomatV2UpdateEmissionPartitionIterator
- type MasterWomatV2UpdateEmissionRate
- type MasterWomatV2UpdateEmissionRateIterator
- type MasterWomatV2UpdatePool
- type MasterWomatV2UpdatePoolIterator
- type MasterWomatV2UpdateVeWOM
- type MasterWomatV2UpdateVeWOMIterator
- type MasterWomatV2Withdraw
- type MasterWomatV2WithdrawIterator
- type Vewom
- type VewomBurn
- type VewomBurnIterator
- type VewomCaller
- func (_Vewom *VewomCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Vewom *VewomCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Vewom *VewomCaller) GetUserInfo(opts *bind.CallOpts, addr common.Address) (IVeWomUserInfo, error)
- func (_Vewom *VewomCaller) IsUser(opts *bind.CallOpts, _addr common.Address) (bool, error)
- func (_Vewom *VewomCaller) MasterWombat(opts *bind.CallOpts) (common.Address, error)
- func (_Vewom *VewomCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Vewom *VewomCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Vewom *VewomCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Vewom *VewomCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Vewom *VewomCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Vewom *VewomCaller) Whitelist(opts *bind.CallOpts) (common.Address, error)
- func (_Vewom *VewomCaller) Wom(opts *bind.CallOpts) (common.Address, error)
- type VewomCallerRaw
- type VewomCallerSession
- func (_Vewom *VewomCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Vewom *VewomCallerSession) Decimals() (uint8, error)
- func (_Vewom *VewomCallerSession) GetUserInfo(addr common.Address) (IVeWomUserInfo, error)
- func (_Vewom *VewomCallerSession) IsUser(_addr common.Address) (bool, error)
- func (_Vewom *VewomCallerSession) MasterWombat() (common.Address, error)
- func (_Vewom *VewomCallerSession) Name() (string, error)
- func (_Vewom *VewomCallerSession) Owner() (common.Address, error)
- func (_Vewom *VewomCallerSession) Paused() (bool, error)
- func (_Vewom *VewomCallerSession) Symbol() (string, error)
- func (_Vewom *VewomCallerSession) TotalSupply() (*big.Int, error)
- func (_Vewom *VewomCallerSession) Whitelist() (common.Address, error)
- func (_Vewom *VewomCallerSession) Wom() (common.Address, error)
- type VewomEnter
- type VewomEnterIterator
- type VewomExit
- type VewomExitIterator
- type VewomFilterer
- func (_Vewom *VewomFilterer) FilterBurn(opts *bind.FilterOpts, account []common.Address) (*VewomBurnIterator, error)
- func (_Vewom *VewomFilterer) FilterEnter(opts *bind.FilterOpts) (*VewomEnterIterator, error)
- func (_Vewom *VewomFilterer) FilterExit(opts *bind.FilterOpts) (*VewomExitIterator, error)
- func (_Vewom *VewomFilterer) FilterMint(opts *bind.FilterOpts, beneficiary []common.Address) (*VewomMintIterator, error)
- func (_Vewom *VewomFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*VewomOwnershipTransferredIterator, error)
- func (_Vewom *VewomFilterer) FilterPaused(opts *bind.FilterOpts) (*VewomPausedIterator, error)
- func (_Vewom *VewomFilterer) FilterSetMasterWombat(opts *bind.FilterOpts) (*VewomSetMasterWombatIterator, error)
- func (_Vewom *VewomFilterer) FilterSetMaxBreedingLength(opts *bind.FilterOpts) (*VewomSetMaxBreedingLengthIterator, error)
- func (_Vewom *VewomFilterer) FilterSetWhiteList(opts *bind.FilterOpts) (*VewomSetWhiteListIterator, error)
- func (_Vewom *VewomFilterer) FilterUnpaused(opts *bind.FilterOpts) (*VewomUnpausedIterator, error)
- func (_Vewom *VewomFilterer) ParseBurn(log types.Log) (*VewomBurn, error)
- func (_Vewom *VewomFilterer) ParseEnter(log types.Log) (*VewomEnter, error)
- func (_Vewom *VewomFilterer) ParseExit(log types.Log) (*VewomExit, error)
- func (_Vewom *VewomFilterer) ParseMint(log types.Log) (*VewomMint, error)
- func (_Vewom *VewomFilterer) ParseOwnershipTransferred(log types.Log) (*VewomOwnershipTransferred, error)
- func (_Vewom *VewomFilterer) ParsePaused(log types.Log) (*VewomPaused, error)
- func (_Vewom *VewomFilterer) ParseSetMasterWombat(log types.Log) (*VewomSetMasterWombat, error)
- func (_Vewom *VewomFilterer) ParseSetMaxBreedingLength(log types.Log) (*VewomSetMaxBreedingLength, error)
- func (_Vewom *VewomFilterer) ParseSetWhiteList(log types.Log) (*VewomSetWhiteList, error)
- func (_Vewom *VewomFilterer) ParseUnpaused(log types.Log) (*VewomUnpaused, error)
- func (_Vewom *VewomFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *VewomBurn, account []common.Address) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchEnter(opts *bind.WatchOpts, sink chan<- *VewomEnter) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchExit(opts *bind.WatchOpts, sink chan<- *VewomExit) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *VewomMint, beneficiary []common.Address) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VewomOwnershipTransferred, ...) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *VewomPaused) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchSetMasterWombat(opts *bind.WatchOpts, sink chan<- *VewomSetMasterWombat) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchSetMaxBreedingLength(opts *bind.WatchOpts, sink chan<- *VewomSetMaxBreedingLength) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchSetWhiteList(opts *bind.WatchOpts, sink chan<- *VewomSetWhiteList) (event.Subscription, error)
- func (_Vewom *VewomFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *VewomUnpaused) (event.Subscription, error)
- type VewomMint
- type VewomMintIterator
- type VewomOwnershipTransferred
- type VewomOwnershipTransferredIterator
- type VewomPaused
- type VewomPausedIterator
- type VewomRaw
- func (_Vewom *VewomRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Vewom *VewomRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Vewom *VewomRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VewomSession
- func (_Vewom *VewomSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Vewom *VewomSession) Burn(slot *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomSession) Decimals() (uint8, error)
- func (_Vewom *VewomSession) GetUserInfo(addr common.Address) (IVeWomUserInfo, error)
- func (_Vewom *VewomSession) Initialize(_wom common.Address, _masterWombat common.Address) (*types.Transaction, error)
- func (_Vewom *VewomSession) IsUser(_addr common.Address) (bool, error)
- func (_Vewom *VewomSession) MasterWombat() (common.Address, error)
- func (_Vewom *VewomSession) Mint(amount *big.Int, lockDays *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomSession) Name() (string, error)
- func (_Vewom *VewomSession) Owner() (common.Address, error)
- func (_Vewom *VewomSession) Pause() (*types.Transaction, error)
- func (_Vewom *VewomSession) Paused() (bool, error)
- func (_Vewom *VewomSession) RenounceOwnership() (*types.Transaction, error)
- func (_Vewom *VewomSession) SetMasterWombat(_masterWombat common.Address) (*types.Transaction, error)
- func (_Vewom *VewomSession) SetMaxBreedingLength(_maxBreedingLength *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomSession) SetWhitelist(_whitelist common.Address) (*types.Transaction, error)
- func (_Vewom *VewomSession) Symbol() (string, error)
- func (_Vewom *VewomSession) TotalSupply() (*big.Int, error)
- func (_Vewom *VewomSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Vewom *VewomSession) Unpause() (*types.Transaction, error)
- func (_Vewom *VewomSession) Whitelist() (common.Address, error)
- func (_Vewom *VewomSession) Wom() (common.Address, error)
- type VewomSetMasterWombat
- type VewomSetMasterWombatIterator
- type VewomSetMaxBreedingLength
- type VewomSetMaxBreedingLengthIterator
- type VewomSetWhiteList
- type VewomSetWhiteListIterator
- type VewomTransactor
- func (_Vewom *VewomTransactor) Burn(opts *bind.TransactOpts, slot *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) Initialize(opts *bind.TransactOpts, _wom common.Address, _masterWombat common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) Mint(opts *bind.TransactOpts, amount *big.Int, lockDays *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) SetMasterWombat(opts *bind.TransactOpts, _masterWombat common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) SetMaxBreedingLength(opts *bind.TransactOpts, _maxBreedingLength *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) SetWhitelist(opts *bind.TransactOpts, _whitelist common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type VewomTransactorRaw
- type VewomTransactorSession
- func (_Vewom *VewomTransactorSession) Burn(slot *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) Initialize(_wom common.Address, _masterWombat common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) Mint(amount *big.Int, lockDays *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) Pause() (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) SetMasterWombat(_masterWombat common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) SetMaxBreedingLength(_maxBreedingLength *big.Int) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) SetWhitelist(_whitelist common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Vewom *VewomTransactorSession) Unpause() (*types.Transaction, error)
- type VewomUnpaused
- type VewomUnpausedIterator
- type WombatAsset
- type WombatAssetApproval
- type WombatAssetApprovalIterator
- type WombatAssetCaller
- func (_WombatAsset *WombatAssetCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) Cash(opts *bind.CallOpts) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_WombatAsset *WombatAssetCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WombatAsset *WombatAssetCaller) Liability(opts *bind.CallOpts) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) MaxSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WombatAsset *WombatAssetCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_WombatAsset *WombatAssetCaller) Pool(opts *bind.CallOpts) (common.Address, error)
- func (_WombatAsset *WombatAssetCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WombatAsset *WombatAssetCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) UnderlyingToken(opts *bind.CallOpts) (common.Address, error)
- func (_WombatAsset *WombatAssetCaller) UnderlyingTokenBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_WombatAsset *WombatAssetCaller) UnderlyingTokenDecimals(opts *bind.CallOpts) (uint8, error)
- type WombatAssetCallerRaw
- type WombatAssetCallerSession
- func (_WombatAsset *WombatAssetCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) Cash() (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_WombatAsset *WombatAssetCallerSession) Decimals() (uint8, error)
- func (_WombatAsset *WombatAssetCallerSession) Liability() (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) MaxSupply() (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) Name() (string, error)
- func (_WombatAsset *WombatAssetCallerSession) Nonces(owner common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) Owner() (common.Address, error)
- func (_WombatAsset *WombatAssetCallerSession) Pool() (common.Address, error)
- func (_WombatAsset *WombatAssetCallerSession) Symbol() (string, error)
- func (_WombatAsset *WombatAssetCallerSession) TotalSupply() (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) UnderlyingToken() (common.Address, error)
- func (_WombatAsset *WombatAssetCallerSession) UnderlyingTokenBalance() (*big.Int, error)
- func (_WombatAsset *WombatAssetCallerSession) UnderlyingTokenDecimals() (uint8, error)
- type WombatAssetFilterer
- func (_WombatAsset *WombatAssetFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WombatAssetApprovalIterator, error)
- func (_WombatAsset *WombatAssetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*WombatAssetOwnershipTransferredIterator, error)
- func (_WombatAsset *WombatAssetFilterer) FilterSetMaxSupply(opts *bind.FilterOpts) (*WombatAssetSetMaxSupplyIterator, error)
- func (_WombatAsset *WombatAssetFilterer) FilterSetPool(opts *bind.FilterOpts) (*WombatAssetSetPoolIterator, error)
- func (_WombatAsset *WombatAssetFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WombatAssetTransferIterator, error)
- func (_WombatAsset *WombatAssetFilterer) ParseApproval(log types.Log) (*WombatAssetApproval, error)
- func (_WombatAsset *WombatAssetFilterer) ParseOwnershipTransferred(log types.Log) (*WombatAssetOwnershipTransferred, error)
- func (_WombatAsset *WombatAssetFilterer) ParseSetMaxSupply(log types.Log) (*WombatAssetSetMaxSupply, error)
- func (_WombatAsset *WombatAssetFilterer) ParseSetPool(log types.Log) (*WombatAssetSetPool, error)
- func (_WombatAsset *WombatAssetFilterer) ParseTransfer(log types.Log) (*WombatAssetTransfer, error)
- func (_WombatAsset *WombatAssetFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WombatAssetApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_WombatAsset *WombatAssetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WombatAssetOwnershipTransferred, ...) (event.Subscription, error)
- func (_WombatAsset *WombatAssetFilterer) WatchSetMaxSupply(opts *bind.WatchOpts, sink chan<- *WombatAssetSetMaxSupply) (event.Subscription, error)
- func (_WombatAsset *WombatAssetFilterer) WatchSetPool(opts *bind.WatchOpts, sink chan<- *WombatAssetSetPool) (event.Subscription, error)
- func (_WombatAsset *WombatAssetFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WombatAssetTransfer, from []common.Address, ...) (event.Subscription, error)
- type WombatAssetOwnershipTransferred
- type WombatAssetOwnershipTransferredIterator
- type WombatAssetRaw
- func (_WombatAsset *WombatAssetRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WombatAsset *WombatAssetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WombatAssetSession
- func (_WombatAsset *WombatAssetSession) AddCash(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) AddLiability(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) Burn(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) Cash() (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_WombatAsset *WombatAssetSession) Decimals() (uint8, error)
- func (_WombatAsset *WombatAssetSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) Liability() (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) MaxSupply() (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) Name() (string, error)
- func (_WombatAsset *WombatAssetSession) Nonces(owner common.Address) (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) Owner() (common.Address, error)
- func (_WombatAsset *WombatAssetSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) Pool() (common.Address, error)
- func (_WombatAsset *WombatAssetSession) RemoveCash(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) RemoveLiability(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) RenounceOwnership() (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) SetMaxSupply(maxSupply_ *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) SetPool(pool_ common.Address) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) Symbol() (string, error)
- func (_WombatAsset *WombatAssetSession) TotalSupply() (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) TransferUnderlyingToken(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetSession) UnderlyingToken() (common.Address, error)
- func (_WombatAsset *WombatAssetSession) UnderlyingTokenBalance() (*big.Int, error)
- func (_WombatAsset *WombatAssetSession) UnderlyingTokenDecimals() (uint8, error)
- type WombatAssetSetMaxSupply
- type WombatAssetSetMaxSupplyIterator
- type WombatAssetSetPool
- type WombatAssetSetPoolIterator
- type WombatAssetTransactor
- func (_WombatAsset *WombatAssetTransactor) AddCash(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) AddLiability(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) Burn(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) RemoveCash(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) RemoveLiability(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) SetMaxSupply(opts *bind.TransactOpts, maxSupply_ *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) SetPool(opts *bind.TransactOpts, pool_ common.Address) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactor) TransferUnderlyingToken(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- type WombatAssetTransactorRaw
- type WombatAssetTransactorSession
- func (_WombatAsset *WombatAssetTransactorSession) AddCash(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) AddLiability(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) Burn(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) RemoveCash(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) RemoveLiability(amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) SetMaxSupply(maxSupply_ *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) SetPool(pool_ common.Address) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WombatAsset *WombatAssetTransactorSession) TransferUnderlyingToken(to common.Address, amount *big.Int) (*types.Transaction, error)
- type WombatAssetTransfer
- type WombatAssetTransferIterator
Constants ¶
This section is empty.
Variables ¶
var MasterWomatV2ABI = MasterWomatV2MetaData.ABI
MasterWomatV2ABI is the input ABI used to generate the binding from. Deprecated: Use MasterWomatV2MetaData.ABI instead.
var MasterWomatV2MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIMultiRewarder\",\"name\":\"rewarder\",\"type\":\"address\"}],\"name\":\"Add\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DepositFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EmergencyWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"EmergencyWomWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Harvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIMultiRewarder\",\"name\":\"rewarder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"Set\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"basePartition\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boostedPartition\",\"type\":\"uint256\"}],\"name\":\"UpdateEmissionPartition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"womPerSec\",\"type\":\"uint256\"}],\"name\":\"UpdateEmissionRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accWomPerShare\",\"type\":\"uint256\"}],\"name\":\"UpdatePool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldVeWOM\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newVeWOM\",\"type\":\"address\"}],\"name\":\"UpdateVeWOM\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"_allocPoint\",\"type\":\"uint96\"},{\"internalType\":\"contractIERC20\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"contractIMultiRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"basePartition\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"boostedPartition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emergencyWomWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getAssetPid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_wom\",\"type\":\"address\"},{\"internalType\":\"contractIVeWom\",\"name\":\"_veWom\",\"type\":\"address\"},{\"internalType\":\"uint104\",\"name\":\"_womPerSec\",\"type\":\"uint104\"},{\"internalType\":\"uint16\",\"name\":\"_basePartition\",\"type\":\"uint16\"},{\"internalType\":\"uint40\",\"name\":\"_startTimestamp\",\"type\":\"uint40\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_pids\",\"type\":\"uint256[]\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_pids\",\"type\":\"uint256[]\"}],\"name\":\"multiClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[][]\",\"name\":\"\",\"type\":\"uint256[][]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingRewards\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"bonusTokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"bonusTokenSymbols\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"pendingBonusRewards\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"allocPoint\",\"type\":\"uint96\"},{\"internalType\":\"contractIMultiRewarder\",\"name\":\"rewarder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sumOfFactors\",\"type\":\"uint256\"},{\"internalType\":\"uint104\",\"name\":\"accWomPerShare\",\"type\":\"uint104\"},{\"internalType\":\"uint104\",\"name\":\"accWomPerFactorShare\",\"type\":\"uint104\"},{\"internalType\":\"uint40\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"rewarderBonusTokenInfo\",\"outputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"bonusTokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"bonusTokenSymbols\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint96\",\"name\":\"_allocPoint\",\"type\":\"uint96\"},{\"internalType\":\"contractIMultiRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMasterWombatV2\",\"name\":\"_newMasterWombat\",\"type\":\"address\"}],\"name\":\"setNewMasterWombat\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIVeWom\",\"name\":\"_newVeWom\",\"type\":\"address\"}],\"name\":\"setVeWom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startTimestamp\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_basePartition\",\"type\":\"uint16\"}],\"name\":\"updateEmissionPartition\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint104\",\"name\":\"_womPerSec\",\"type\":\"uint104\"}],\"name\":\"updateEmissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newVeWomBalance\",\"type\":\"uint256\"}],\"name\":\"updateFactor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"factor\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"rewardDebt\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"pendingWom\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"veWom\",\"outputs\":[{\"internalType\":\"contractIVeWom\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wom\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"womPerSec\",\"outputs\":[{\"internalType\":\"uint104\",\"name\":\"\",\"type\":\"uint104\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
MasterWomatV2MetaData contains all meta data concerning the MasterWomatV2 contract.
var VewomABI = VewomMetaData.ABI
VewomABI is the input ABI used to generate the binding from. Deprecated: Use VewomMetaData.ABI instead.
var VewomMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unlockTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"womAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"veWomAmount\",\"type\":\"uint256\"}],\"name\":\"Enter\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unlockTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"womAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"veWomAmount\",\"type\":\"uint256\"}],\"name\":\"Exit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"SetMasterWombat\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"len\",\"type\":\"uint256\"}],\"name\":\"SetMaxBreedingLength\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"SetWhiteList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getUserInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256[10]\",\"name\":\"reserved\",\"type\":\"uint256[10]\"},{\"components\":[{\"internalType\":\"uint48\",\"name\":\"unlockTime\",\"type\":\"uint48\"},{\"internalType\":\"uint104\",\"name\":\"womAmount\",\"type\":\"uint104\"},{\"internalType\":\"uint104\",\"name\":\"veWomAmount\",\"type\":\"uint104\"}],\"internalType\":\"structIVeWom.Breeding[]\",\"name\":\"breedings\",\"type\":\"tuple[]\"}],\"internalType\":\"structIVeWom.UserInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_wom\",\"type\":\"address\"},{\"internalType\":\"contractIMasterWombat\",\"name\":\"_masterWombat\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"isUser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"masterWombat\",\"outputs\":[{\"internalType\":\"contractIMasterWombat\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDays\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"veWomAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMasterWombat\",\"name\":\"_masterWombat\",\"type\":\"address\"}],\"name\":\"setMasterWombat\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxBreedingLength\",\"type\":\"uint256\"}],\"name\":\"setMaxBreedingLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIWhitelist\",\"name\":\"_whitelist\",\"type\":\"address\"}],\"name\":\"setWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"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\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"whitelist\",\"outputs\":[{\"internalType\":\"contractIWhitelist\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wom\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
VewomMetaData contains all meta data concerning the Vewom contract.
var WombatAssetABI = WombatAssetMetaData.ABI
WombatAssetABI is the input ABI used to generate the binding from. Deprecated: Use WombatAssetMetaData.ABI instead.
var WombatAssetMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"underlyingToken_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousMaxSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newMaxSupply\",\"type\":\"uint256\"}],\"name\":\"SetMaxSupply\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousPoolAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPoolAddr\",\"type\":\"address\"}],\"name\":\"SetPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addCash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addLiability\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cash\",\"outputs\":[{\"internalType\":\"uint120\",\"name\":\"\",\"type\":\"uint120\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liability\",\"outputs\":[{\"internalType\":\"uint120\",\"name\":\"\",\"type\":\"uint120\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"removeCash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"removeLiability\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxSupply_\",\"type\":\"uint256\"}],\"name\":\"setMaxSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"setPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferUnderlyingToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlyingToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlyingTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlyingTokenDecimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
WombatAssetMetaData contains all meta data concerning the WombatAsset contract.
Functions ¶
This section is empty.
Types ¶
type IVeWomBreeding ¶
IVeWomBreeding is an auto generated low-level Go binding around an user-defined struct.
type IVeWomUserInfo ¶
type IVeWomUserInfo struct { Reserved [10]*big.Int Breedings []IVeWomBreeding }
IVeWomUserInfo is an auto generated low-level Go binding around an user-defined struct.
type MasterWomatV2 ¶
type MasterWomatV2 struct { MasterWomatV2Caller // Read-only binding to the contract MasterWomatV2Transactor // Write-only binding to the contract MasterWomatV2Filterer // Log filterer for contract events }
MasterWomatV2 is an auto generated Go binding around an Ethereum contract.
func NewMasterWomatV2 ¶
func NewMasterWomatV2(address common.Address, backend bind.ContractBackend) (*MasterWomatV2, error)
NewMasterWomatV2 creates a new instance of MasterWomatV2, bound to a specific deployed contract.
type MasterWomatV2Add ¶
type MasterWomatV2Add struct { Pid *big.Int AllocPoint *big.Int LpToken common.Address Rewarder common.Address Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Add represents a Add event raised by the MasterWomatV2 contract.
type MasterWomatV2AddIterator ¶
type MasterWomatV2AddIterator struct { Event *MasterWomatV2Add // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2AddIterator is returned from FilterAdd and is used to iterate over the raw logs and unpacked data for Add events raised by the MasterWomatV2 contract.
func (*MasterWomatV2AddIterator) Close ¶
func (it *MasterWomatV2AddIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2AddIterator) Error ¶
func (it *MasterWomatV2AddIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2AddIterator) Next ¶
func (it *MasterWomatV2AddIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2Caller ¶
type MasterWomatV2Caller struct {
// contains filtered or unexported fields
}
MasterWomatV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewMasterWomatV2Caller ¶
func NewMasterWomatV2Caller(address common.Address, caller bind.ContractCaller) (*MasterWomatV2Caller, error)
NewMasterWomatV2Caller creates a new read-only instance of MasterWomatV2, bound to a specific deployed contract.
func (*MasterWomatV2Caller) BasePartition ¶
func (_MasterWomatV2 *MasterWomatV2Caller) BasePartition(opts *bind.CallOpts) (uint16, error)
BasePartition is a free data retrieval call binding the contract method 0xabfef111.
Solidity: function basePartition() view returns(uint16)
func (*MasterWomatV2Caller) BoostedPartition ¶
BoostedPartition is a free data retrieval call binding the contract method 0xbe159bea.
Solidity: function boostedPartition() view returns(uint256)
func (*MasterWomatV2Caller) GetAssetPid ¶
func (_MasterWomatV2 *MasterWomatV2Caller) GetAssetPid(opts *bind.CallOpts, asset common.Address) (*big.Int, error)
GetAssetPid is a free data retrieval call binding the contract method 0xaf929a80.
Solidity: function getAssetPid(address asset) view returns(uint256)
func (*MasterWomatV2Caller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MasterWomatV2Caller) Paused ¶
func (_MasterWomatV2 *MasterWomatV2Caller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*MasterWomatV2Caller) PendingTokens ¶
func (_MasterWomatV2 *MasterWomatV2Caller) PendingTokens(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (struct { PendingRewards *big.Int BonusTokenAddresses []common.Address BonusTokenSymbols []string PendingBonusRewards []*big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.
Solidity: function pendingTokens(uint256 _pid, address _user) view returns(uint256 pendingRewards, address[] bonusTokenAddresses, string[] bonusTokenSymbols, uint256[] pendingBonusRewards)
func (*MasterWomatV2Caller) PoolInfo ¶
func (_MasterWomatV2 *MasterWomatV2Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct { LpToken common.Address AllocPoint *big.Int Rewarder common.Address SumOfFactors *big.Int AccWomPerShare *big.Int AccWomPerFactorShare *big.Int LastRewardTimestamp *big.Int }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint96 allocPoint, address rewarder, uint256 sumOfFactors, uint104 accWomPerShare, uint104 accWomPerFactorShare, uint40 lastRewardTimestamp)
func (*MasterWomatV2Caller) PoolLength ¶
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*MasterWomatV2Caller) RewarderBonusTokenInfo ¶
func (_MasterWomatV2 *MasterWomatV2Caller) RewarderBonusTokenInfo(opts *bind.CallOpts, _pid *big.Int) (struct { BonusTokenAddresses []common.Address BonusTokenSymbols []string }, error)
RewarderBonusTokenInfo is a free data retrieval call binding the contract method 0xbc70fdbc.
Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address[] bonusTokenAddresses, string[] bonusTokenSymbols)
func (*MasterWomatV2Caller) StartTimestamp ¶
StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.
Solidity: function startTimestamp() view returns(uint40)
func (*MasterWomatV2Caller) TotalAllocPoint ¶
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint96)
func (*MasterWomatV2Caller) UserInfo ¶
func (_MasterWomatV2 *MasterWomatV2Caller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int Factor *big.Int RewardDebt *big.Int PendingWom *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint128 amount, uint128 factor, uint128 rewardDebt, uint128 pendingWom)
func (*MasterWomatV2Caller) VeWom ¶
VeWom is a free data retrieval call binding the contract method 0x3e582ae6.
Solidity: function veWom() view returns(address)
type MasterWomatV2CallerRaw ¶
type MasterWomatV2CallerRaw struct {
Contract *MasterWomatV2Caller // Generic read-only contract binding to access the raw methods on
}
MasterWomatV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MasterWomatV2CallerRaw) Call ¶
func (_MasterWomatV2 *MasterWomatV2CallerRaw) 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 MasterWomatV2CallerSession ¶
type MasterWomatV2CallerSession struct { Contract *MasterWomatV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MasterWomatV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MasterWomatV2CallerSession) BasePartition ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) BasePartition() (uint16, error)
BasePartition is a free data retrieval call binding the contract method 0xabfef111.
Solidity: function basePartition() view returns(uint16)
func (*MasterWomatV2CallerSession) BoostedPartition ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) BoostedPartition() (*big.Int, error)
BoostedPartition is a free data retrieval call binding the contract method 0xbe159bea.
Solidity: function boostedPartition() view returns(uint256)
func (*MasterWomatV2CallerSession) GetAssetPid ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) GetAssetPid(asset common.Address) (*big.Int, error)
GetAssetPid is a free data retrieval call binding the contract method 0xaf929a80.
Solidity: function getAssetPid(address asset) view returns(uint256)
func (*MasterWomatV2CallerSession) Owner ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MasterWomatV2CallerSession) Paused ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*MasterWomatV2CallerSession) PendingTokens ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) PendingTokens(_pid *big.Int, _user common.Address) (struct { PendingRewards *big.Int BonusTokenAddresses []common.Address BonusTokenSymbols []string PendingBonusRewards []*big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.
Solidity: function pendingTokens(uint256 _pid, address _user) view returns(uint256 pendingRewards, address[] bonusTokenAddresses, string[] bonusTokenSymbols, uint256[] pendingBonusRewards)
func (*MasterWomatV2CallerSession) PoolInfo ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) PoolInfo(arg0 *big.Int) (struct { LpToken common.Address AllocPoint *big.Int Rewarder common.Address SumOfFactors *big.Int AccWomPerShare *big.Int AccWomPerFactorShare *big.Int LastRewardTimestamp *big.Int }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint96 allocPoint, address rewarder, uint256 sumOfFactors, uint104 accWomPerShare, uint104 accWomPerFactorShare, uint40 lastRewardTimestamp)
func (*MasterWomatV2CallerSession) PoolLength ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*MasterWomatV2CallerSession) RewarderBonusTokenInfo ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) RewarderBonusTokenInfo(_pid *big.Int) (struct { BonusTokenAddresses []common.Address BonusTokenSymbols []string }, error)
RewarderBonusTokenInfo is a free data retrieval call binding the contract method 0xbc70fdbc.
Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address[] bonusTokenAddresses, string[] bonusTokenSymbols)
func (*MasterWomatV2CallerSession) StartTimestamp ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) StartTimestamp() (*big.Int, error)
StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.
Solidity: function startTimestamp() view returns(uint40)
func (*MasterWomatV2CallerSession) TotalAllocPoint ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint96)
func (*MasterWomatV2CallerSession) UserInfo ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int Factor *big.Int RewardDebt *big.Int PendingWom *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint128 amount, uint128 factor, uint128 rewardDebt, uint128 pendingWom)
func (*MasterWomatV2CallerSession) VeWom ¶
func (_MasterWomatV2 *MasterWomatV2CallerSession) VeWom() (common.Address, error)
VeWom is a free data retrieval call binding the contract method 0x3e582ae6.
Solidity: function veWom() view returns(address)
type MasterWomatV2Deposit ¶
type MasterWomatV2Deposit struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Deposit represents a Deposit event raised by the MasterWomatV2 contract.
type MasterWomatV2DepositFor ¶
type MasterWomatV2DepositFor struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2DepositFor represents a DepositFor event raised by the MasterWomatV2 contract.
type MasterWomatV2DepositForIterator ¶
type MasterWomatV2DepositForIterator struct { Event *MasterWomatV2DepositFor // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2DepositForIterator is returned from FilterDepositFor and is used to iterate over the raw logs and unpacked data for DepositFor events raised by the MasterWomatV2 contract.
func (*MasterWomatV2DepositForIterator) Close ¶
func (it *MasterWomatV2DepositForIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2DepositForIterator) Error ¶
func (it *MasterWomatV2DepositForIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2DepositForIterator) Next ¶
func (it *MasterWomatV2DepositForIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2DepositIterator ¶
type MasterWomatV2DepositIterator struct { Event *MasterWomatV2Deposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the MasterWomatV2 contract.
func (*MasterWomatV2DepositIterator) Close ¶
func (it *MasterWomatV2DepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2DepositIterator) Error ¶
func (it *MasterWomatV2DepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2DepositIterator) Next ¶
func (it *MasterWomatV2DepositIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2EmergencyWithdraw ¶
type MasterWomatV2EmergencyWithdraw struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2EmergencyWithdraw represents a EmergencyWithdraw event raised by the MasterWomatV2 contract.
type MasterWomatV2EmergencyWithdrawIterator ¶
type MasterWomatV2EmergencyWithdrawIterator struct { Event *MasterWomatV2EmergencyWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2EmergencyWithdrawIterator is returned from FilterEmergencyWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWithdraw events raised by the MasterWomatV2 contract.
func (*MasterWomatV2EmergencyWithdrawIterator) Close ¶
func (it *MasterWomatV2EmergencyWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2EmergencyWithdrawIterator) Error ¶
func (it *MasterWomatV2EmergencyWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2EmergencyWithdrawIterator) Next ¶
func (it *MasterWomatV2EmergencyWithdrawIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2EmergencyWomWithdraw ¶
type MasterWomatV2EmergencyWomWithdraw struct { Owner common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2EmergencyWomWithdraw represents a EmergencyWomWithdraw event raised by the MasterWomatV2 contract.
type MasterWomatV2EmergencyWomWithdrawIterator ¶
type MasterWomatV2EmergencyWomWithdrawIterator struct { Event *MasterWomatV2EmergencyWomWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2EmergencyWomWithdrawIterator is returned from FilterEmergencyWomWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWomWithdraw events raised by the MasterWomatV2 contract.
func (*MasterWomatV2EmergencyWomWithdrawIterator) Close ¶
func (it *MasterWomatV2EmergencyWomWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2EmergencyWomWithdrawIterator) Error ¶
func (it *MasterWomatV2EmergencyWomWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2EmergencyWomWithdrawIterator) Next ¶
func (it *MasterWomatV2EmergencyWomWithdrawIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2Filterer ¶
type MasterWomatV2Filterer struct {
// contains filtered or unexported fields
}
MasterWomatV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMasterWomatV2Filterer ¶
func NewMasterWomatV2Filterer(address common.Address, filterer bind.ContractFilterer) (*MasterWomatV2Filterer, error)
NewMasterWomatV2Filterer creates a new log filterer instance of MasterWomatV2, bound to a specific deployed contract.
func (*MasterWomatV2Filterer) FilterAdd ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterAdd(opts *bind.FilterOpts, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (*MasterWomatV2AddIterator, error)
FilterAdd is a free log retrieval operation binding the contract event 0x4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f.
Solidity: event Add(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)
func (*MasterWomatV2Filterer) FilterDeposit ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2DepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.
Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) FilterDepositFor ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterDepositFor(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2DepositForIterator, error)
FilterDepositFor is a free log retrieval operation binding the contract event 0x16f3fbfd4bcc50a5cecb2e53e398a1ad77d89f63288ef540d862b264ed57eb1f.
Solidity: event DepositFor(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) FilterEmergencyWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2EmergencyWithdrawIterator, error)
FilterEmergencyWithdraw is a free log retrieval operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.
Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) FilterEmergencyWomWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterEmergencyWomWithdraw(opts *bind.FilterOpts) (*MasterWomatV2EmergencyWomWithdrawIterator, error)
FilterEmergencyWomWithdraw is a free log retrieval operation binding the contract event 0x2b58f1b72aa1f2865f8da73af0eaff3a2b5b670c59fed83005919fe6c23cf35c.
Solidity: event EmergencyWomWithdraw(address owner, uint256 balance)
func (*MasterWomatV2Filterer) FilterHarvest ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterHarvest(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2HarvestIterator, error)
FilterHarvest is a free log retrieval operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.
Solidity: event Harvest(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) FilterOwnershipTransferred ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MasterWomatV2OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MasterWomatV2Filterer) FilterPaused ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterPaused(opts *bind.FilterOpts) (*MasterWomatV2PausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*MasterWomatV2Filterer) FilterSet ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterSet(opts *bind.FilterOpts, pid []*big.Int, rewarder []common.Address) (*MasterWomatV2SetIterator, error)
FilterSet is a free log retrieval operation binding the contract event 0xa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa.
Solidity: event Set(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)
func (*MasterWomatV2Filterer) FilterUnpaused ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*MasterWomatV2UnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*MasterWomatV2Filterer) FilterUpdateEmissionPartition ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdateEmissionPartition(opts *bind.FilterOpts, user []common.Address) (*MasterWomatV2UpdateEmissionPartitionIterator, error)
FilterUpdateEmissionPartition is a free log retrieval operation binding the contract event 0x7fd921cf733c788915a229b0ea58095c44ae2c275ed7835501e5135fe3c1ed05.
Solidity: event UpdateEmissionPartition(address indexed user, uint256 basePartition, uint256 boostedPartition)
func (*MasterWomatV2Filterer) FilterUpdateEmissionRate ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdateEmissionRate(opts *bind.FilterOpts, user []common.Address) (*MasterWomatV2UpdateEmissionRateIterator, error)
FilterUpdateEmissionRate is a free log retrieval operation binding the contract event 0xe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053.
Solidity: event UpdateEmissionRate(address indexed user, uint256 womPerSec)
func (*MasterWomatV2Filterer) FilterUpdatePool ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdatePool(opts *bind.FilterOpts, pid []*big.Int) (*MasterWomatV2UpdatePoolIterator, error)
FilterUpdatePool is a free log retrieval operation binding the contract event 0x3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f46.
Solidity: event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accWomPerShare)
func (*MasterWomatV2Filterer) FilterUpdateVeWOM ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterUpdateVeWOM(opts *bind.FilterOpts, user []common.Address) (*MasterWomatV2UpdateVeWOMIterator, error)
FilterUpdateVeWOM is a free log retrieval operation binding the contract event 0xa0956d8e03557278fdb89913cec4e0f21da09587edf25b3eecc0079cdb757ef5.
Solidity: event UpdateVeWOM(address indexed user, address oldVeWOM, address newVeWOM)
func (*MasterWomatV2Filterer) FilterWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterWomatV2WithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) ParseAdd ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseAdd(log types.Log) (*MasterWomatV2Add, error)
ParseAdd is a log parse operation binding the contract event 0x4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f.
Solidity: event Add(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)
func (*MasterWomatV2Filterer) ParseDeposit ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseDeposit(log types.Log) (*MasterWomatV2Deposit, error)
ParseDeposit is a log parse operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.
Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) ParseDepositFor ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseDepositFor(log types.Log) (*MasterWomatV2DepositFor, error)
ParseDepositFor is a log parse operation binding the contract event 0x16f3fbfd4bcc50a5cecb2e53e398a1ad77d89f63288ef540d862b264ed57eb1f.
Solidity: event DepositFor(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) ParseEmergencyWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseEmergencyWithdraw(log types.Log) (*MasterWomatV2EmergencyWithdraw, error)
ParseEmergencyWithdraw is a log parse operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.
Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) ParseEmergencyWomWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseEmergencyWomWithdraw(log types.Log) (*MasterWomatV2EmergencyWomWithdraw, error)
ParseEmergencyWomWithdraw is a log parse operation binding the contract event 0x2b58f1b72aa1f2865f8da73af0eaff3a2b5b670c59fed83005919fe6c23cf35c.
Solidity: event EmergencyWomWithdraw(address owner, uint256 balance)
func (*MasterWomatV2Filterer) ParseHarvest ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseHarvest(log types.Log) (*MasterWomatV2Harvest, error)
ParseHarvest is a log parse operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.
Solidity: event Harvest(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) ParseOwnershipTransferred ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseOwnershipTransferred(log types.Log) (*MasterWomatV2OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MasterWomatV2Filterer) ParsePaused ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParsePaused(log types.Log) (*MasterWomatV2Paused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*MasterWomatV2Filterer) ParseSet ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseSet(log types.Log) (*MasterWomatV2Set, error)
ParseSet is a log parse operation binding the contract event 0xa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa.
Solidity: event Set(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)
func (*MasterWomatV2Filterer) ParseUnpaused ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUnpaused(log types.Log) (*MasterWomatV2Unpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*MasterWomatV2Filterer) ParseUpdateEmissionPartition ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdateEmissionPartition(log types.Log) (*MasterWomatV2UpdateEmissionPartition, error)
ParseUpdateEmissionPartition is a log parse operation binding the contract event 0x7fd921cf733c788915a229b0ea58095c44ae2c275ed7835501e5135fe3c1ed05.
Solidity: event UpdateEmissionPartition(address indexed user, uint256 basePartition, uint256 boostedPartition)
func (*MasterWomatV2Filterer) ParseUpdateEmissionRate ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdateEmissionRate(log types.Log) (*MasterWomatV2UpdateEmissionRate, error)
ParseUpdateEmissionRate is a log parse operation binding the contract event 0xe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053.
Solidity: event UpdateEmissionRate(address indexed user, uint256 womPerSec)
func (*MasterWomatV2Filterer) ParseUpdatePool ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdatePool(log types.Log) (*MasterWomatV2UpdatePool, error)
ParseUpdatePool is a log parse operation binding the contract event 0x3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f46.
Solidity: event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accWomPerShare)
func (*MasterWomatV2Filterer) ParseUpdateVeWOM ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseUpdateVeWOM(log types.Log) (*MasterWomatV2UpdateVeWOM, error)
ParseUpdateVeWOM is a log parse operation binding the contract event 0xa0956d8e03557278fdb89913cec4e0f21da09587edf25b3eecc0079cdb757ef5.
Solidity: event UpdateVeWOM(address indexed user, address oldVeWOM, address newVeWOM)
func (*MasterWomatV2Filterer) ParseWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) ParseWithdraw(log types.Log) (*MasterWomatV2Withdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) WatchAdd ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchAdd(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Add, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (event.Subscription, error)
WatchAdd is a free log subscription operation binding the contract event 0x4b16bd2431ad24dc020ab0e1de7fcb6563dead6a24fb10089d6c23e97a70381f.
Solidity: event Add(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)
func (*MasterWomatV2Filterer) WatchDeposit ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Deposit, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.
Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) WatchDepositFor ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchDepositFor(opts *bind.WatchOpts, sink chan<- *MasterWomatV2DepositFor, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchDepositFor is a free log subscription operation binding the contract event 0x16f3fbfd4bcc50a5cecb2e53e398a1ad77d89f63288ef540d862b264ed57eb1f.
Solidity: event DepositFor(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) WatchEmergencyWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *MasterWomatV2EmergencyWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchEmergencyWithdraw is a free log subscription operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.
Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) WatchEmergencyWomWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchEmergencyWomWithdraw(opts *bind.WatchOpts, sink chan<- *MasterWomatV2EmergencyWomWithdraw) (event.Subscription, error)
WatchEmergencyWomWithdraw is a free log subscription operation binding the contract event 0x2b58f1b72aa1f2865f8da73af0eaff3a2b5b670c59fed83005919fe6c23cf35c.
Solidity: event EmergencyWomWithdraw(address owner, uint256 balance)
func (*MasterWomatV2Filterer) WatchHarvest ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Harvest, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchHarvest is a free log subscription operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.
Solidity: event Harvest(address indexed user, uint256 indexed pid, uint256 amount)
func (*MasterWomatV2Filterer) WatchOwnershipTransferred ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MasterWomatV2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MasterWomatV2Filterer) WatchPaused ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Paused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*MasterWomatV2Filterer) WatchSet ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchSet(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Set, pid []*big.Int, rewarder []common.Address) (event.Subscription, error)
WatchSet is a free log subscription operation binding the contract event 0xa54644aae5c48c5971516f334e4fe8ecbc7930e23f34877d4203c6551e67ffaa.
Solidity: event Set(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)
func (*MasterWomatV2Filterer) WatchUnpaused ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Unpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*MasterWomatV2Filterer) WatchUpdateEmissionPartition ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdateEmissionPartition(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdateEmissionPartition, user []common.Address) (event.Subscription, error)
WatchUpdateEmissionPartition is a free log subscription operation binding the contract event 0x7fd921cf733c788915a229b0ea58095c44ae2c275ed7835501e5135fe3c1ed05.
Solidity: event UpdateEmissionPartition(address indexed user, uint256 basePartition, uint256 boostedPartition)
func (*MasterWomatV2Filterer) WatchUpdateEmissionRate ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdateEmissionRate(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdateEmissionRate, user []common.Address) (event.Subscription, error)
WatchUpdateEmissionRate is a free log subscription operation binding the contract event 0xe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053.
Solidity: event UpdateEmissionRate(address indexed user, uint256 womPerSec)
func (*MasterWomatV2Filterer) WatchUpdatePool ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdatePool(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdatePool, pid []*big.Int) (event.Subscription, error)
WatchUpdatePool is a free log subscription operation binding the contract event 0x3be3541fc42237d611b30329040bfa4569541d156560acdbbae57640d20b8f46.
Solidity: event UpdatePool(uint256 indexed pid, uint256 lastRewardTimestamp, uint256 lpSupply, uint256 accWomPerShare)
func (*MasterWomatV2Filterer) WatchUpdateVeWOM ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchUpdateVeWOM(opts *bind.WatchOpts, sink chan<- *MasterWomatV2UpdateVeWOM, user []common.Address) (event.Subscription, error)
WatchUpdateVeWOM is a free log subscription operation binding the contract event 0xa0956d8e03557278fdb89913cec4e0f21da09587edf25b3eecc0079cdb757ef5.
Solidity: event UpdateVeWOM(address indexed user, address oldVeWOM, address newVeWOM)
func (*MasterWomatV2Filterer) WatchWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *MasterWomatV2Withdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
type MasterWomatV2Harvest ¶
type MasterWomatV2Harvest struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Harvest represents a Harvest event raised by the MasterWomatV2 contract.
type MasterWomatV2HarvestIterator ¶
type MasterWomatV2HarvestIterator struct { Event *MasterWomatV2Harvest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2HarvestIterator is returned from FilterHarvest and is used to iterate over the raw logs and unpacked data for Harvest events raised by the MasterWomatV2 contract.
func (*MasterWomatV2HarvestIterator) Close ¶
func (it *MasterWomatV2HarvestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2HarvestIterator) Error ¶
func (it *MasterWomatV2HarvestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2HarvestIterator) Next ¶
func (it *MasterWomatV2HarvestIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2OwnershipTransferred ¶
type MasterWomatV2OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2OwnershipTransferred represents a OwnershipTransferred event raised by the MasterWomatV2 contract.
type MasterWomatV2OwnershipTransferredIterator ¶
type MasterWomatV2OwnershipTransferredIterator struct { Event *MasterWomatV2OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MasterWomatV2 contract.
func (*MasterWomatV2OwnershipTransferredIterator) Close ¶
func (it *MasterWomatV2OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2OwnershipTransferredIterator) Error ¶
func (it *MasterWomatV2OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2OwnershipTransferredIterator) Next ¶
func (it *MasterWomatV2OwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2Paused ¶
type MasterWomatV2Paused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Paused represents a Paused event raised by the MasterWomatV2 contract.
type MasterWomatV2PausedIterator ¶
type MasterWomatV2PausedIterator struct { Event *MasterWomatV2Paused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the MasterWomatV2 contract.
func (*MasterWomatV2PausedIterator) Close ¶
func (it *MasterWomatV2PausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2PausedIterator) Error ¶
func (it *MasterWomatV2PausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2PausedIterator) Next ¶
func (it *MasterWomatV2PausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2Raw ¶
type MasterWomatV2Raw struct {
Contract *MasterWomatV2 // Generic contract binding to access the raw methods on
}
MasterWomatV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*MasterWomatV2Raw) Call ¶
func (_MasterWomatV2 *MasterWomatV2Raw) 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 (*MasterWomatV2Raw) Transact ¶
func (_MasterWomatV2 *MasterWomatV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MasterWomatV2Raw) Transfer ¶
func (_MasterWomatV2 *MasterWomatV2Raw) 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 MasterWomatV2Session ¶
type MasterWomatV2Session struct { Contract *MasterWomatV2 // 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 }
MasterWomatV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MasterWomatV2Session) Add ¶
func (_MasterWomatV2 *MasterWomatV2Session) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x926cb32f.
Solidity: function add(uint96 _allocPoint, address _lpToken, address _rewarder) returns()
func (*MasterWomatV2Session) BasePartition ¶
func (_MasterWomatV2 *MasterWomatV2Session) BasePartition() (uint16, error)
BasePartition is a free data retrieval call binding the contract method 0xabfef111.
Solidity: function basePartition() view returns(uint16)
func (*MasterWomatV2Session) BoostedPartition ¶
func (_MasterWomatV2 *MasterWomatV2Session) BoostedPartition() (*big.Int, error)
BoostedPartition is a free data retrieval call binding the contract method 0xbe159bea.
Solidity: function boostedPartition() view returns(uint256)
func (*MasterWomatV2Session) Deposit ¶
func (_MasterWomatV2 *MasterWomatV2Session) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 _pid, uint256 _amount) returns(uint256, uint256[])
func (*MasterWomatV2Session) DepositFor ¶
func (_MasterWomatV2 *MasterWomatV2Session) DepositFor(_pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)
DepositFor is a paid mutator transaction binding the contract method 0x90210d7e.
Solidity: function depositFor(uint256 _pid, uint256 _amount, address _user) returns()
func (*MasterWomatV2Session) EmergencyWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Session) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 _pid) returns()
func (*MasterWomatV2Session) EmergencyWomWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Session) EmergencyWomWithdraw() (*types.Transaction, error)
EmergencyWomWithdraw is a paid mutator transaction binding the contract method 0xf13e5507.
Solidity: function emergencyWomWithdraw() returns()
func (*MasterWomatV2Session) GetAssetPid ¶
GetAssetPid is a free data retrieval call binding the contract method 0xaf929a80.
Solidity: function getAssetPid(address asset) view returns(uint256)
func (*MasterWomatV2Session) Initialize ¶
func (_MasterWomatV2 *MasterWomatV2Session) Initialize(_wom common.Address, _veWom common.Address, _womPerSec *big.Int, _basePartition uint16, _startTimestamp *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xabf59c08.
Solidity: function initialize(address _wom, address _veWom, uint104 _womPerSec, uint16 _basePartition, uint40 _startTimestamp) returns()
func (*MasterWomatV2Session) MassUpdatePools ¶
func (_MasterWomatV2 *MasterWomatV2Session) MassUpdatePools() (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*MasterWomatV2Session) Migrate ¶
func (_MasterWomatV2 *MasterWomatV2Session) Migrate(_pids []*big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0xd93bf4fe.
Solidity: function migrate(uint256[] _pids) returns()
func (*MasterWomatV2Session) MultiClaim ¶
func (_MasterWomatV2 *MasterWomatV2Session) MultiClaim(_pids []*big.Int) (*types.Transaction, error)
MultiClaim is a paid mutator transaction binding the contract method 0x4ed73d28.
Solidity: function multiClaim(uint256[] _pids) returns(uint256, uint256[], uint256[][])
func (*MasterWomatV2Session) Owner ¶
func (_MasterWomatV2 *MasterWomatV2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MasterWomatV2Session) Pause ¶
func (_MasterWomatV2 *MasterWomatV2Session) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*MasterWomatV2Session) Paused ¶
func (_MasterWomatV2 *MasterWomatV2Session) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*MasterWomatV2Session) PendingTokens ¶
func (_MasterWomatV2 *MasterWomatV2Session) PendingTokens(_pid *big.Int, _user common.Address) (struct { PendingRewards *big.Int BonusTokenAddresses []common.Address BonusTokenSymbols []string PendingBonusRewards []*big.Int }, error)
PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.
Solidity: function pendingTokens(uint256 _pid, address _user) view returns(uint256 pendingRewards, address[] bonusTokenAddresses, string[] bonusTokenSymbols, uint256[] pendingBonusRewards)
func (*MasterWomatV2Session) PoolInfo ¶
func (_MasterWomatV2 *MasterWomatV2Session) PoolInfo(arg0 *big.Int) (struct { LpToken common.Address AllocPoint *big.Int Rewarder common.Address SumOfFactors *big.Int AccWomPerShare *big.Int AccWomPerFactorShare *big.Int LastRewardTimestamp *big.Int }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint96 allocPoint, address rewarder, uint256 sumOfFactors, uint104 accWomPerShare, uint104 accWomPerFactorShare, uint40 lastRewardTimestamp)
func (*MasterWomatV2Session) PoolLength ¶
func (_MasterWomatV2 *MasterWomatV2Session) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*MasterWomatV2Session) RenounceOwnership ¶
func (_MasterWomatV2 *MasterWomatV2Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MasterWomatV2Session) RewarderBonusTokenInfo ¶
func (_MasterWomatV2 *MasterWomatV2Session) RewarderBonusTokenInfo(_pid *big.Int) (struct { BonusTokenAddresses []common.Address BonusTokenSymbols []string }, error)
RewarderBonusTokenInfo is a free data retrieval call binding the contract method 0xbc70fdbc.
Solidity: function rewarderBonusTokenInfo(uint256 _pid) view returns(address[] bonusTokenAddresses, string[] bonusTokenSymbols)
func (*MasterWomatV2Session) Set ¶
func (_MasterWomatV2 *MasterWomatV2Session) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0xdc3e67c3.
Solidity: function set(uint256 _pid, uint96 _allocPoint, address _rewarder, bool overwrite) returns()
func (*MasterWomatV2Session) SetNewMasterWombat ¶
func (_MasterWomatV2 *MasterWomatV2Session) SetNewMasterWombat(_newMasterWombat common.Address) (*types.Transaction, error)
SetNewMasterWombat is a paid mutator transaction binding the contract method 0xd1e2ac88.
Solidity: function setNewMasterWombat(address _newMasterWombat) returns()
func (*MasterWomatV2Session) SetVeWom ¶
func (_MasterWomatV2 *MasterWomatV2Session) SetVeWom(_newVeWom common.Address) (*types.Transaction, error)
SetVeWom is a paid mutator transaction binding the contract method 0x9b128de6.
Solidity: function setVeWom(address _newVeWom) returns()
func (*MasterWomatV2Session) StartTimestamp ¶
func (_MasterWomatV2 *MasterWomatV2Session) StartTimestamp() (*big.Int, error)
StartTimestamp is a free data retrieval call binding the contract method 0xe6fd48bc.
Solidity: function startTimestamp() view returns(uint40)
func (*MasterWomatV2Session) TotalAllocPoint ¶
func (_MasterWomatV2 *MasterWomatV2Session) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint96)
func (*MasterWomatV2Session) TransferOwnership ¶
func (_MasterWomatV2 *MasterWomatV2Session) 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 (*MasterWomatV2Session) Unpause ¶
func (_MasterWomatV2 *MasterWomatV2Session) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*MasterWomatV2Session) UpdateEmissionPartition ¶
func (_MasterWomatV2 *MasterWomatV2Session) UpdateEmissionPartition(_basePartition uint16) (*types.Transaction, error)
UpdateEmissionPartition is a paid mutator transaction binding the contract method 0x1983dbf5.
Solidity: function updateEmissionPartition(uint16 _basePartition) returns()
func (*MasterWomatV2Session) UpdateEmissionRate ¶
func (_MasterWomatV2 *MasterWomatV2Session) UpdateEmissionRate(_womPerSec *big.Int) (*types.Transaction, error)
UpdateEmissionRate is a paid mutator transaction binding the contract method 0x1d0554a6.
Solidity: function updateEmissionRate(uint104 _womPerSec) returns()
func (*MasterWomatV2Session) UpdateFactor ¶
func (_MasterWomatV2 *MasterWomatV2Session) UpdateFactor(_user common.Address, _newVeWomBalance *big.Int) (*types.Transaction, error)
UpdateFactor is a paid mutator transaction binding the contract method 0x4f00a93e.
Solidity: function updateFactor(address _user, uint256 _newVeWomBalance) returns()
func (*MasterWomatV2Session) UpdatePool ¶
func (_MasterWomatV2 *MasterWomatV2Session) UpdatePool(_pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 _pid) returns()
func (*MasterWomatV2Session) UserInfo ¶
func (_MasterWomatV2 *MasterWomatV2Session) UserInfo(arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int Factor *big.Int RewardDebt *big.Int PendingWom *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint128 amount, uint128 factor, uint128 rewardDebt, uint128 pendingWom)
func (*MasterWomatV2Session) VeWom ¶
func (_MasterWomatV2 *MasterWomatV2Session) VeWom() (common.Address, error)
VeWom is a free data retrieval call binding the contract method 0x3e582ae6.
Solidity: function veWom() view returns(address)
func (*MasterWomatV2Session) Withdraw ¶
func (_MasterWomatV2 *MasterWomatV2Session) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _pid, uint256 _amount) returns(uint256, uint256[])
type MasterWomatV2Set ¶
type MasterWomatV2Set struct { Pid *big.Int AllocPoint *big.Int Rewarder common.Address Overwrite bool Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Set represents a Set event raised by the MasterWomatV2 contract.
type MasterWomatV2SetIterator ¶
type MasterWomatV2SetIterator struct { Event *MasterWomatV2Set // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2SetIterator is returned from FilterSet and is used to iterate over the raw logs and unpacked data for Set events raised by the MasterWomatV2 contract.
func (*MasterWomatV2SetIterator) Close ¶
func (it *MasterWomatV2SetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2SetIterator) Error ¶
func (it *MasterWomatV2SetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2SetIterator) Next ¶
func (it *MasterWomatV2SetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2Transactor ¶
type MasterWomatV2Transactor struct {
// contains filtered or unexported fields
}
MasterWomatV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMasterWomatV2Transactor ¶
func NewMasterWomatV2Transactor(address common.Address, transactor bind.ContractTransactor) (*MasterWomatV2Transactor, error)
NewMasterWomatV2Transactor creates a new write-only instance of MasterWomatV2, bound to a specific deployed contract.
func (*MasterWomatV2Transactor) Add ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x926cb32f.
Solidity: function add(uint96 _allocPoint, address _lpToken, address _rewarder) returns()
func (*MasterWomatV2Transactor) Deposit ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 _pid, uint256 _amount) returns(uint256, uint256[])
func (*MasterWomatV2Transactor) DepositFor ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) DepositFor(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)
DepositFor is a paid mutator transaction binding the contract method 0x90210d7e.
Solidity: function depositFor(uint256 _pid, uint256 _amount, address _user) returns()
func (*MasterWomatV2Transactor) EmergencyWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 _pid) returns()
func (*MasterWomatV2Transactor) EmergencyWomWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) EmergencyWomWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
EmergencyWomWithdraw is a paid mutator transaction binding the contract method 0xf13e5507.
Solidity: function emergencyWomWithdraw() returns()
func (*MasterWomatV2Transactor) Initialize ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Initialize(opts *bind.TransactOpts, _wom common.Address, _veWom common.Address, _womPerSec *big.Int, _basePartition uint16, _startTimestamp *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xabf59c08.
Solidity: function initialize(address _wom, address _veWom, uint104 _womPerSec, uint16 _basePartition, uint40 _startTimestamp) returns()
func (*MasterWomatV2Transactor) MassUpdatePools ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*MasterWomatV2Transactor) Migrate ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Migrate(opts *bind.TransactOpts, _pids []*big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0xd93bf4fe.
Solidity: function migrate(uint256[] _pids) returns()
func (*MasterWomatV2Transactor) MultiClaim ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) MultiClaim(opts *bind.TransactOpts, _pids []*big.Int) (*types.Transaction, error)
MultiClaim is a paid mutator transaction binding the contract method 0x4ed73d28.
Solidity: function multiClaim(uint256[] _pids) returns(uint256, uint256[], uint256[][])
func (*MasterWomatV2Transactor) Pause ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*MasterWomatV2Transactor) RenounceOwnership ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MasterWomatV2Transactor) Set ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0xdc3e67c3.
Solidity: function set(uint256 _pid, uint96 _allocPoint, address _rewarder, bool overwrite) returns()
func (*MasterWomatV2Transactor) SetNewMasterWombat ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) SetNewMasterWombat(opts *bind.TransactOpts, _newMasterWombat common.Address) (*types.Transaction, error)
SetNewMasterWombat is a paid mutator transaction binding the contract method 0xd1e2ac88.
Solidity: function setNewMasterWombat(address _newMasterWombat) returns()
func (*MasterWomatV2Transactor) SetVeWom ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) SetVeWom(opts *bind.TransactOpts, _newVeWom common.Address) (*types.Transaction, error)
SetVeWom is a paid mutator transaction binding the contract method 0x9b128de6.
Solidity: function setVeWom(address _newVeWom) returns()
func (*MasterWomatV2Transactor) TransferOwnership ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) 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 (*MasterWomatV2Transactor) Unpause ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*MasterWomatV2Transactor) UpdateEmissionPartition ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) UpdateEmissionPartition(opts *bind.TransactOpts, _basePartition uint16) (*types.Transaction, error)
UpdateEmissionPartition is a paid mutator transaction binding the contract method 0x1983dbf5.
Solidity: function updateEmissionPartition(uint16 _basePartition) returns()
func (*MasterWomatV2Transactor) UpdateEmissionRate ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) UpdateEmissionRate(opts *bind.TransactOpts, _womPerSec *big.Int) (*types.Transaction, error)
UpdateEmissionRate is a paid mutator transaction binding the contract method 0x1d0554a6.
Solidity: function updateEmissionRate(uint104 _womPerSec) returns()
func (*MasterWomatV2Transactor) UpdateFactor ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) UpdateFactor(opts *bind.TransactOpts, _user common.Address, _newVeWomBalance *big.Int) (*types.Transaction, error)
UpdateFactor is a paid mutator transaction binding the contract method 0x4f00a93e.
Solidity: function updateFactor(address _user, uint256 _newVeWomBalance) returns()
func (*MasterWomatV2Transactor) UpdatePool ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 _pid) returns()
func (*MasterWomatV2Transactor) Withdraw ¶
func (_MasterWomatV2 *MasterWomatV2Transactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _pid, uint256 _amount) returns(uint256, uint256[])
type MasterWomatV2TransactorRaw ¶
type MasterWomatV2TransactorRaw struct {
Contract *MasterWomatV2Transactor // Generic write-only contract binding to access the raw methods on
}
MasterWomatV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MasterWomatV2TransactorRaw) Transact ¶
func (_MasterWomatV2 *MasterWomatV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MasterWomatV2TransactorRaw) Transfer ¶
func (_MasterWomatV2 *MasterWomatV2TransactorRaw) 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 MasterWomatV2TransactorSession ¶
type MasterWomatV2TransactorSession struct { Contract *MasterWomatV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MasterWomatV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MasterWomatV2TransactorSession) Add ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x926cb32f.
Solidity: function add(uint96 _allocPoint, address _lpToken, address _rewarder) returns()
func (*MasterWomatV2TransactorSession) Deposit ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 _pid, uint256 _amount) returns(uint256, uint256[])
func (*MasterWomatV2TransactorSession) DepositFor ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) DepositFor(_pid *big.Int, _amount *big.Int, _user common.Address) (*types.Transaction, error)
DepositFor is a paid mutator transaction binding the contract method 0x90210d7e.
Solidity: function depositFor(uint256 _pid, uint256 _amount, address _user) returns()
func (*MasterWomatV2TransactorSession) EmergencyWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 _pid) returns()
func (*MasterWomatV2TransactorSession) EmergencyWomWithdraw ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) EmergencyWomWithdraw() (*types.Transaction, error)
EmergencyWomWithdraw is a paid mutator transaction binding the contract method 0xf13e5507.
Solidity: function emergencyWomWithdraw() returns()
func (*MasterWomatV2TransactorSession) Initialize ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Initialize(_wom common.Address, _veWom common.Address, _womPerSec *big.Int, _basePartition uint16, _startTimestamp *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xabf59c08.
Solidity: function initialize(address _wom, address _veWom, uint104 _womPerSec, uint16 _basePartition, uint40 _startTimestamp) returns()
func (*MasterWomatV2TransactorSession) MassUpdatePools ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) MassUpdatePools() (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*MasterWomatV2TransactorSession) Migrate ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Migrate(_pids []*big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0xd93bf4fe.
Solidity: function migrate(uint256[] _pids) returns()
func (*MasterWomatV2TransactorSession) MultiClaim ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) MultiClaim(_pids []*big.Int) (*types.Transaction, error)
MultiClaim is a paid mutator transaction binding the contract method 0x4ed73d28.
Solidity: function multiClaim(uint256[] _pids) returns(uint256, uint256[], uint256[][])
func (*MasterWomatV2TransactorSession) Pause ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*MasterWomatV2TransactorSession) RenounceOwnership ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MasterWomatV2TransactorSession) Set ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0xdc3e67c3.
Solidity: function set(uint256 _pid, uint96 _allocPoint, address _rewarder, bool overwrite) returns()
func (*MasterWomatV2TransactorSession) SetNewMasterWombat ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) SetNewMasterWombat(_newMasterWombat common.Address) (*types.Transaction, error)
SetNewMasterWombat is a paid mutator transaction binding the contract method 0xd1e2ac88.
Solidity: function setNewMasterWombat(address _newMasterWombat) returns()
func (*MasterWomatV2TransactorSession) SetVeWom ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) SetVeWom(_newVeWom common.Address) (*types.Transaction, error)
SetVeWom is a paid mutator transaction binding the contract method 0x9b128de6.
Solidity: function setVeWom(address _newVeWom) returns()
func (*MasterWomatV2TransactorSession) TransferOwnership ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) 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 (*MasterWomatV2TransactorSession) Unpause ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*MasterWomatV2TransactorSession) UpdateEmissionPartition ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdateEmissionPartition(_basePartition uint16) (*types.Transaction, error)
UpdateEmissionPartition is a paid mutator transaction binding the contract method 0x1983dbf5.
Solidity: function updateEmissionPartition(uint16 _basePartition) returns()
func (*MasterWomatV2TransactorSession) UpdateEmissionRate ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdateEmissionRate(_womPerSec *big.Int) (*types.Transaction, error)
UpdateEmissionRate is a paid mutator transaction binding the contract method 0x1d0554a6.
Solidity: function updateEmissionRate(uint104 _womPerSec) returns()
func (*MasterWomatV2TransactorSession) UpdateFactor ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdateFactor(_user common.Address, _newVeWomBalance *big.Int) (*types.Transaction, error)
UpdateFactor is a paid mutator transaction binding the contract method 0x4f00a93e.
Solidity: function updateFactor(address _user, uint256 _newVeWomBalance) returns()
func (*MasterWomatV2TransactorSession) UpdatePool ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 _pid) returns()
func (*MasterWomatV2TransactorSession) Withdraw ¶
func (_MasterWomatV2 *MasterWomatV2TransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _pid, uint256 _amount) returns(uint256, uint256[])
type MasterWomatV2Unpaused ¶
type MasterWomatV2Unpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Unpaused represents a Unpaused event raised by the MasterWomatV2 contract.
type MasterWomatV2UnpausedIterator ¶
type MasterWomatV2UnpausedIterator struct { Event *MasterWomatV2Unpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the MasterWomatV2 contract.
func (*MasterWomatV2UnpausedIterator) Close ¶
func (it *MasterWomatV2UnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2UnpausedIterator) Error ¶
func (it *MasterWomatV2UnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2UnpausedIterator) Next ¶
func (it *MasterWomatV2UnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2UpdateEmissionPartition ¶
type MasterWomatV2UpdateEmissionPartition struct { User common.Address BasePartition *big.Int BoostedPartition *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2UpdateEmissionPartition represents a UpdateEmissionPartition event raised by the MasterWomatV2 contract.
type MasterWomatV2UpdateEmissionPartitionIterator ¶
type MasterWomatV2UpdateEmissionPartitionIterator struct { Event *MasterWomatV2UpdateEmissionPartition // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2UpdateEmissionPartitionIterator is returned from FilterUpdateEmissionPartition and is used to iterate over the raw logs and unpacked data for UpdateEmissionPartition events raised by the MasterWomatV2 contract.
func (*MasterWomatV2UpdateEmissionPartitionIterator) Close ¶
func (it *MasterWomatV2UpdateEmissionPartitionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2UpdateEmissionPartitionIterator) Error ¶
func (it *MasterWomatV2UpdateEmissionPartitionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2UpdateEmissionPartitionIterator) Next ¶
func (it *MasterWomatV2UpdateEmissionPartitionIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2UpdateEmissionRate ¶
type MasterWomatV2UpdateEmissionRate struct { User common.Address WomPerSec *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2UpdateEmissionRate represents a UpdateEmissionRate event raised by the MasterWomatV2 contract.
type MasterWomatV2UpdateEmissionRateIterator ¶
type MasterWomatV2UpdateEmissionRateIterator struct { Event *MasterWomatV2UpdateEmissionRate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2UpdateEmissionRateIterator is returned from FilterUpdateEmissionRate and is used to iterate over the raw logs and unpacked data for UpdateEmissionRate events raised by the MasterWomatV2 contract.
func (*MasterWomatV2UpdateEmissionRateIterator) Close ¶
func (it *MasterWomatV2UpdateEmissionRateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2UpdateEmissionRateIterator) Error ¶
func (it *MasterWomatV2UpdateEmissionRateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2UpdateEmissionRateIterator) Next ¶
func (it *MasterWomatV2UpdateEmissionRateIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2UpdatePool ¶
type MasterWomatV2UpdatePool struct { Pid *big.Int LastRewardTimestamp *big.Int LpSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2UpdatePool represents a UpdatePool event raised by the MasterWomatV2 contract.
type MasterWomatV2UpdatePoolIterator ¶
type MasterWomatV2UpdatePoolIterator struct { Event *MasterWomatV2UpdatePool // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2UpdatePoolIterator is returned from FilterUpdatePool and is used to iterate over the raw logs and unpacked data for UpdatePool events raised by the MasterWomatV2 contract.
func (*MasterWomatV2UpdatePoolIterator) Close ¶
func (it *MasterWomatV2UpdatePoolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2UpdatePoolIterator) Error ¶
func (it *MasterWomatV2UpdatePoolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2UpdatePoolIterator) Next ¶
func (it *MasterWomatV2UpdatePoolIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2UpdateVeWOM ¶
type MasterWomatV2UpdateVeWOM struct { User common.Address OldVeWOM common.Address NewVeWOM common.Address Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2UpdateVeWOM represents a UpdateVeWOM event raised by the MasterWomatV2 contract.
type MasterWomatV2UpdateVeWOMIterator ¶
type MasterWomatV2UpdateVeWOMIterator struct { Event *MasterWomatV2UpdateVeWOM // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2UpdateVeWOMIterator is returned from FilterUpdateVeWOM and is used to iterate over the raw logs and unpacked data for UpdateVeWOM events raised by the MasterWomatV2 contract.
func (*MasterWomatV2UpdateVeWOMIterator) Close ¶
func (it *MasterWomatV2UpdateVeWOMIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2UpdateVeWOMIterator) Error ¶
func (it *MasterWomatV2UpdateVeWOMIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2UpdateVeWOMIterator) Next ¶
func (it *MasterWomatV2UpdateVeWOMIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MasterWomatV2Withdraw ¶
type MasterWomatV2Withdraw struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MasterWomatV2Withdraw represents a Withdraw event raised by the MasterWomatV2 contract.
type MasterWomatV2WithdrawIterator ¶
type MasterWomatV2WithdrawIterator struct { Event *MasterWomatV2Withdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MasterWomatV2WithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the MasterWomatV2 contract.
func (*MasterWomatV2WithdrawIterator) Close ¶
func (it *MasterWomatV2WithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MasterWomatV2WithdrawIterator) Error ¶
func (it *MasterWomatV2WithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MasterWomatV2WithdrawIterator) Next ¶
func (it *MasterWomatV2WithdrawIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type Vewom ¶
type Vewom struct { VewomCaller // Read-only binding to the contract VewomTransactor // Write-only binding to the contract VewomFilterer // Log filterer for contract events }
Vewom is an auto generated Go binding around an Ethereum contract.
type VewomBurn ¶
type VewomBurn struct { Account common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
VewomBurn represents a Burn event raised by the Vewom contract.
type VewomBurnIterator ¶
type VewomBurnIterator struct { Event *VewomBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the Vewom contract.
func (*VewomBurnIterator) Close ¶
func (it *VewomBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomBurnIterator) Error ¶
func (it *VewomBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomBurnIterator) Next ¶
func (it *VewomBurnIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomCaller ¶
type VewomCaller struct {
// contains filtered or unexported fields
}
VewomCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVewomCaller ¶
func NewVewomCaller(address common.Address, caller bind.ContractCaller) (*VewomCaller, error)
NewVewomCaller creates a new read-only instance of Vewom, bound to a specific deployed contract.
func (*VewomCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*VewomCaller) Decimals ¶
func (_Vewom *VewomCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*VewomCaller) GetUserInfo ¶
func (_Vewom *VewomCaller) GetUserInfo(opts *bind.CallOpts, addr common.Address) (IVeWomUserInfo, error)
GetUserInfo is a free data retrieval call binding the contract method 0x6386c1c7.
Solidity: function getUserInfo(address addr) view returns((uint256[10],(uint48,uint104,uint104)[]))
func (*VewomCaller) IsUser ¶
IsUser is a free data retrieval call binding the contract method 0x4209fff1.
Solidity: function isUser(address _addr) view returns(bool)
func (*VewomCaller) MasterWombat ¶
MasterWombat is a free data retrieval call binding the contract method 0x3bd61ba8.
Solidity: function masterWombat() view returns(address)
func (*VewomCaller) Name ¶
func (_Vewom *VewomCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*VewomCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VewomCaller) Paused ¶
func (_Vewom *VewomCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*VewomCaller) Symbol ¶
func (_Vewom *VewomCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*VewomCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type VewomCallerRaw ¶
type VewomCallerRaw struct {
Contract *VewomCaller // Generic read-only contract binding to access the raw methods on
}
VewomCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VewomCallerRaw) Call ¶
func (_Vewom *VewomCallerRaw) 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 VewomCallerSession ¶
type VewomCallerSession struct { Contract *VewomCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VewomCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VewomCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*VewomCallerSession) Decimals ¶
func (_Vewom *VewomCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*VewomCallerSession) GetUserInfo ¶
func (_Vewom *VewomCallerSession) GetUserInfo(addr common.Address) (IVeWomUserInfo, error)
GetUserInfo is a free data retrieval call binding the contract method 0x6386c1c7.
Solidity: function getUserInfo(address addr) view returns((uint256[10],(uint48,uint104,uint104)[]))
func (*VewomCallerSession) IsUser ¶
func (_Vewom *VewomCallerSession) IsUser(_addr common.Address) (bool, error)
IsUser is a free data retrieval call binding the contract method 0x4209fff1.
Solidity: function isUser(address _addr) view returns(bool)
func (*VewomCallerSession) MasterWombat ¶
func (_Vewom *VewomCallerSession) MasterWombat() (common.Address, error)
MasterWombat is a free data retrieval call binding the contract method 0x3bd61ba8.
Solidity: function masterWombat() view returns(address)
func (*VewomCallerSession) Name ¶
func (_Vewom *VewomCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*VewomCallerSession) Owner ¶
func (_Vewom *VewomCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VewomCallerSession) Paused ¶
func (_Vewom *VewomCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*VewomCallerSession) Symbol ¶
func (_Vewom *VewomCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*VewomCallerSession) TotalSupply ¶
func (_Vewom *VewomCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type VewomEnter ¶
type VewomEnter struct { Addr common.Address UnlockTime *big.Int WomAmount *big.Int VeWomAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
VewomEnter represents a Enter event raised by the Vewom contract.
type VewomEnterIterator ¶
type VewomEnterIterator struct { Event *VewomEnter // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomEnterIterator is returned from FilterEnter and is used to iterate over the raw logs and unpacked data for Enter events raised by the Vewom contract.
func (*VewomEnterIterator) Close ¶
func (it *VewomEnterIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomEnterIterator) Error ¶
func (it *VewomEnterIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomEnterIterator) Next ¶
func (it *VewomEnterIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomExit ¶
type VewomExit struct { Addr common.Address UnlockTime *big.Int WomAmount *big.Int VeWomAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
VewomExit represents a Exit event raised by the Vewom contract.
type VewomExitIterator ¶
type VewomExitIterator struct { Event *VewomExit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomExitIterator is returned from FilterExit and is used to iterate over the raw logs and unpacked data for Exit events raised by the Vewom contract.
func (*VewomExitIterator) Close ¶
func (it *VewomExitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomExitIterator) Error ¶
func (it *VewomExitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomExitIterator) Next ¶
func (it *VewomExitIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomFilterer ¶
type VewomFilterer struct {
// contains filtered or unexported fields
}
VewomFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVewomFilterer ¶
func NewVewomFilterer(address common.Address, filterer bind.ContractFilterer) (*VewomFilterer, error)
NewVewomFilterer creates a new log filterer instance of Vewom, bound to a specific deployed contract.
func (*VewomFilterer) FilterBurn ¶
func (_Vewom *VewomFilterer) FilterBurn(opts *bind.FilterOpts, account []common.Address) (*VewomBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed account, uint256 value)
func (*VewomFilterer) FilterEnter ¶
func (_Vewom *VewomFilterer) FilterEnter(opts *bind.FilterOpts) (*VewomEnterIterator, error)
FilterEnter is a free log retrieval operation binding the contract event 0x3af2c1ec57343b1e7e40c3f6c85f5ad943344cd8548bdf819f1da51aaebb3db6.
Solidity: event Enter(address addr, uint256 unlockTime, uint256 womAmount, uint256 veWomAmount)
func (*VewomFilterer) FilterExit ¶
func (_Vewom *VewomFilterer) FilterExit(opts *bind.FilterOpts) (*VewomExitIterator, error)
FilterExit is a free log retrieval operation binding the contract event 0x275029c7b988945c03ac5499c0d532fce79ce36efab42e1b3f180a62001cad2c.
Solidity: event Exit(address addr, uint256 unlockTime, uint256 womAmount, uint256 veWomAmount)
func (*VewomFilterer) FilterMint ¶
func (_Vewom *VewomFilterer) FilterMint(opts *bind.FilterOpts, beneficiary []common.Address) (*VewomMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed beneficiary, uint256 value)
func (*VewomFilterer) FilterOwnershipTransferred ¶
func (_Vewom *VewomFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VewomOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*VewomFilterer) FilterPaused ¶
func (_Vewom *VewomFilterer) FilterPaused(opts *bind.FilterOpts) (*VewomPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*VewomFilterer) FilterSetMasterWombat ¶
func (_Vewom *VewomFilterer) FilterSetMasterWombat(opts *bind.FilterOpts) (*VewomSetMasterWombatIterator, error)
FilterSetMasterWombat is a free log retrieval operation binding the contract event 0xfeb9010869b6ccec4557ddbbce947afeace5efc66cdff52c5e533c09336a8f2d.
Solidity: event SetMasterWombat(address addr)
func (*VewomFilterer) FilterSetMaxBreedingLength ¶
func (_Vewom *VewomFilterer) FilterSetMaxBreedingLength(opts *bind.FilterOpts) (*VewomSetMaxBreedingLengthIterator, error)
FilterSetMaxBreedingLength is a free log retrieval operation binding the contract event 0x20fff119b2ff981a49e3649af737a2d9a9f9b4bd74c35c0448478c2bd4666a68.
Solidity: event SetMaxBreedingLength(uint256 len)
func (*VewomFilterer) FilterSetWhiteList ¶
func (_Vewom *VewomFilterer) FilterSetWhiteList(opts *bind.FilterOpts) (*VewomSetWhiteListIterator, error)
FilterSetWhiteList is a free log retrieval operation binding the contract event 0x3990e3e141b903f4f5602428874be692206642a653b416f336d965e2f04813ce.
Solidity: event SetWhiteList(address addr)
func (*VewomFilterer) FilterUnpaused ¶
func (_Vewom *VewomFilterer) FilterUnpaused(opts *bind.FilterOpts) (*VewomUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*VewomFilterer) ParseBurn ¶
func (_Vewom *VewomFilterer) ParseBurn(log types.Log) (*VewomBurn, error)
ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed account, uint256 value)
func (*VewomFilterer) ParseEnter ¶
func (_Vewom *VewomFilterer) ParseEnter(log types.Log) (*VewomEnter, error)
ParseEnter is a log parse operation binding the contract event 0x3af2c1ec57343b1e7e40c3f6c85f5ad943344cd8548bdf819f1da51aaebb3db6.
Solidity: event Enter(address addr, uint256 unlockTime, uint256 womAmount, uint256 veWomAmount)
func (*VewomFilterer) ParseExit ¶
func (_Vewom *VewomFilterer) ParseExit(log types.Log) (*VewomExit, error)
ParseExit is a log parse operation binding the contract event 0x275029c7b988945c03ac5499c0d532fce79ce36efab42e1b3f180a62001cad2c.
Solidity: event Exit(address addr, uint256 unlockTime, uint256 womAmount, uint256 veWomAmount)
func (*VewomFilterer) ParseMint ¶
func (_Vewom *VewomFilterer) ParseMint(log types.Log) (*VewomMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed beneficiary, uint256 value)
func (*VewomFilterer) ParseOwnershipTransferred ¶
func (_Vewom *VewomFilterer) ParseOwnershipTransferred(log types.Log) (*VewomOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*VewomFilterer) ParsePaused ¶
func (_Vewom *VewomFilterer) ParsePaused(log types.Log) (*VewomPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*VewomFilterer) ParseSetMasterWombat ¶
func (_Vewom *VewomFilterer) ParseSetMasterWombat(log types.Log) (*VewomSetMasterWombat, error)
ParseSetMasterWombat is a log parse operation binding the contract event 0xfeb9010869b6ccec4557ddbbce947afeace5efc66cdff52c5e533c09336a8f2d.
Solidity: event SetMasterWombat(address addr)
func (*VewomFilterer) ParseSetMaxBreedingLength ¶
func (_Vewom *VewomFilterer) ParseSetMaxBreedingLength(log types.Log) (*VewomSetMaxBreedingLength, error)
ParseSetMaxBreedingLength is a log parse operation binding the contract event 0x20fff119b2ff981a49e3649af737a2d9a9f9b4bd74c35c0448478c2bd4666a68.
Solidity: event SetMaxBreedingLength(uint256 len)
func (*VewomFilterer) ParseSetWhiteList ¶
func (_Vewom *VewomFilterer) ParseSetWhiteList(log types.Log) (*VewomSetWhiteList, error)
ParseSetWhiteList is a log parse operation binding the contract event 0x3990e3e141b903f4f5602428874be692206642a653b416f336d965e2f04813ce.
Solidity: event SetWhiteList(address addr)
func (*VewomFilterer) ParseUnpaused ¶
func (_Vewom *VewomFilterer) ParseUnpaused(log types.Log) (*VewomUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*VewomFilterer) WatchBurn ¶
func (_Vewom *VewomFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *VewomBurn, account []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed account, uint256 value)
func (*VewomFilterer) WatchEnter ¶
func (_Vewom *VewomFilterer) WatchEnter(opts *bind.WatchOpts, sink chan<- *VewomEnter) (event.Subscription, error)
WatchEnter is a free log subscription operation binding the contract event 0x3af2c1ec57343b1e7e40c3f6c85f5ad943344cd8548bdf819f1da51aaebb3db6.
Solidity: event Enter(address addr, uint256 unlockTime, uint256 womAmount, uint256 veWomAmount)
func (*VewomFilterer) WatchExit ¶
func (_Vewom *VewomFilterer) WatchExit(opts *bind.WatchOpts, sink chan<- *VewomExit) (event.Subscription, error)
WatchExit is a free log subscription operation binding the contract event 0x275029c7b988945c03ac5499c0d532fce79ce36efab42e1b3f180a62001cad2c.
Solidity: event Exit(address addr, uint256 unlockTime, uint256 womAmount, uint256 veWomAmount)
func (*VewomFilterer) WatchMint ¶
func (_Vewom *VewomFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *VewomMint, beneficiary []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed beneficiary, uint256 value)
func (*VewomFilterer) WatchOwnershipTransferred ¶
func (_Vewom *VewomFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VewomOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*VewomFilterer) WatchPaused ¶
func (_Vewom *VewomFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *VewomPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*VewomFilterer) WatchSetMasterWombat ¶
func (_Vewom *VewomFilterer) WatchSetMasterWombat(opts *bind.WatchOpts, sink chan<- *VewomSetMasterWombat) (event.Subscription, error)
WatchSetMasterWombat is a free log subscription operation binding the contract event 0xfeb9010869b6ccec4557ddbbce947afeace5efc66cdff52c5e533c09336a8f2d.
Solidity: event SetMasterWombat(address addr)
func (*VewomFilterer) WatchSetMaxBreedingLength ¶
func (_Vewom *VewomFilterer) WatchSetMaxBreedingLength(opts *bind.WatchOpts, sink chan<- *VewomSetMaxBreedingLength) (event.Subscription, error)
WatchSetMaxBreedingLength is a free log subscription operation binding the contract event 0x20fff119b2ff981a49e3649af737a2d9a9f9b4bd74c35c0448478c2bd4666a68.
Solidity: event SetMaxBreedingLength(uint256 len)
func (*VewomFilterer) WatchSetWhiteList ¶
func (_Vewom *VewomFilterer) WatchSetWhiteList(opts *bind.WatchOpts, sink chan<- *VewomSetWhiteList) (event.Subscription, error)
WatchSetWhiteList is a free log subscription operation binding the contract event 0x3990e3e141b903f4f5602428874be692206642a653b416f336d965e2f04813ce.
Solidity: event SetWhiteList(address addr)
func (*VewomFilterer) WatchUnpaused ¶
func (_Vewom *VewomFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *VewomUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type VewomMint ¶
type VewomMint struct { Beneficiary common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
VewomMint represents a Mint event raised by the Vewom contract.
type VewomMintIterator ¶
type VewomMintIterator struct { Event *VewomMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Vewom contract.
func (*VewomMintIterator) Close ¶
func (it *VewomMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomMintIterator) Error ¶
func (it *VewomMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomMintIterator) Next ¶
func (it *VewomMintIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomOwnershipTransferred ¶
type VewomOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
VewomOwnershipTransferred represents a OwnershipTransferred event raised by the Vewom contract.
type VewomOwnershipTransferredIterator ¶
type VewomOwnershipTransferredIterator struct { Event *VewomOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Vewom contract.
func (*VewomOwnershipTransferredIterator) Close ¶
func (it *VewomOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomOwnershipTransferredIterator) Error ¶
func (it *VewomOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomOwnershipTransferredIterator) Next ¶
func (it *VewomOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomPaused ¶
type VewomPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
VewomPaused represents a Paused event raised by the Vewom contract.
type VewomPausedIterator ¶
type VewomPausedIterator struct { Event *VewomPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Vewom contract.
func (*VewomPausedIterator) Close ¶
func (it *VewomPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomPausedIterator) Error ¶
func (it *VewomPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomPausedIterator) Next ¶
func (it *VewomPausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomRaw ¶
type VewomRaw struct {
Contract *Vewom // Generic contract binding to access the raw methods on
}
VewomRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VewomRaw) Call ¶
func (_Vewom *VewomRaw) 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 (*VewomRaw) Transact ¶
func (_Vewom *VewomRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VewomRaw) Transfer ¶
func (_Vewom *VewomRaw) 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 VewomSession ¶
type VewomSession struct { Contract *Vewom // 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 }
VewomSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VewomSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*VewomSession) Burn ¶
func (_Vewom *VewomSession) Burn(slot *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 slot) returns()
func (*VewomSession) Decimals ¶
func (_Vewom *VewomSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*VewomSession) GetUserInfo ¶
func (_Vewom *VewomSession) GetUserInfo(addr common.Address) (IVeWomUserInfo, error)
GetUserInfo is a free data retrieval call binding the contract method 0x6386c1c7.
Solidity: function getUserInfo(address addr) view returns((uint256[10],(uint48,uint104,uint104)[]))
func (*VewomSession) Initialize ¶
func (_Vewom *VewomSession) Initialize(_wom common.Address, _masterWombat common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _wom, address _masterWombat) returns()
func (*VewomSession) IsUser ¶
func (_Vewom *VewomSession) IsUser(_addr common.Address) (bool, error)
IsUser is a free data retrieval call binding the contract method 0x4209fff1.
Solidity: function isUser(address _addr) view returns(bool)
func (*VewomSession) MasterWombat ¶
func (_Vewom *VewomSession) MasterWombat() (common.Address, error)
MasterWombat is a free data retrieval call binding the contract method 0x3bd61ba8.
Solidity: function masterWombat() view returns(address)
func (*VewomSession) Mint ¶
func (_Vewom *VewomSession) Mint(amount *big.Int, lockDays *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x1b2ef1ca.
Solidity: function mint(uint256 amount, uint256 lockDays) returns(uint256 veWomAmount)
func (*VewomSession) Name ¶
func (_Vewom *VewomSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*VewomSession) Owner ¶
func (_Vewom *VewomSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VewomSession) Pause ¶
func (_Vewom *VewomSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*VewomSession) Paused ¶
func (_Vewom *VewomSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*VewomSession) RenounceOwnership ¶
func (_Vewom *VewomSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VewomSession) SetMasterWombat ¶
func (_Vewom *VewomSession) SetMasterWombat(_masterWombat common.Address) (*types.Transaction, error)
SetMasterWombat is a paid mutator transaction binding the contract method 0x0705999d.
Solidity: function setMasterWombat(address _masterWombat) returns()
func (*VewomSession) SetMaxBreedingLength ¶
func (_Vewom *VewomSession) SetMaxBreedingLength(_maxBreedingLength *big.Int) (*types.Transaction, error)
SetMaxBreedingLength is a paid mutator transaction binding the contract method 0xd4c9b0d1.
Solidity: function setMaxBreedingLength(uint256 _maxBreedingLength) returns()
func (*VewomSession) SetWhitelist ¶
func (_Vewom *VewomSession) SetWhitelist(_whitelist common.Address) (*types.Transaction, error)
SetWhitelist is a paid mutator transaction binding the contract method 0x854cff2f.
Solidity: function setWhitelist(address _whitelist) returns()
func (*VewomSession) Symbol ¶
func (_Vewom *VewomSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*VewomSession) TotalSupply ¶
func (_Vewom *VewomSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*VewomSession) TransferOwnership ¶
func (_Vewom *VewomSession) 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 (*VewomSession) Unpause ¶
func (_Vewom *VewomSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type VewomSetMasterWombat ¶
type VewomSetMasterWombat struct { Addr common.Address Raw types.Log // Blockchain specific contextual infos }
VewomSetMasterWombat represents a SetMasterWombat event raised by the Vewom contract.
type VewomSetMasterWombatIterator ¶
type VewomSetMasterWombatIterator struct { Event *VewomSetMasterWombat // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomSetMasterWombatIterator is returned from FilterSetMasterWombat and is used to iterate over the raw logs and unpacked data for SetMasterWombat events raised by the Vewom contract.
func (*VewomSetMasterWombatIterator) Close ¶
func (it *VewomSetMasterWombatIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomSetMasterWombatIterator) Error ¶
func (it *VewomSetMasterWombatIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomSetMasterWombatIterator) Next ¶
func (it *VewomSetMasterWombatIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomSetMaxBreedingLength ¶
type VewomSetMaxBreedingLength struct { Len *big.Int Raw types.Log // Blockchain specific contextual infos }
VewomSetMaxBreedingLength represents a SetMaxBreedingLength event raised by the Vewom contract.
type VewomSetMaxBreedingLengthIterator ¶
type VewomSetMaxBreedingLengthIterator struct { Event *VewomSetMaxBreedingLength // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomSetMaxBreedingLengthIterator is returned from FilterSetMaxBreedingLength and is used to iterate over the raw logs and unpacked data for SetMaxBreedingLength events raised by the Vewom contract.
func (*VewomSetMaxBreedingLengthIterator) Close ¶
func (it *VewomSetMaxBreedingLengthIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomSetMaxBreedingLengthIterator) Error ¶
func (it *VewomSetMaxBreedingLengthIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomSetMaxBreedingLengthIterator) Next ¶
func (it *VewomSetMaxBreedingLengthIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomSetWhiteList ¶
type VewomSetWhiteList struct { Addr common.Address Raw types.Log // Blockchain specific contextual infos }
VewomSetWhiteList represents a SetWhiteList event raised by the Vewom contract.
type VewomSetWhiteListIterator ¶
type VewomSetWhiteListIterator struct { Event *VewomSetWhiteList // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomSetWhiteListIterator is returned from FilterSetWhiteList and is used to iterate over the raw logs and unpacked data for SetWhiteList events raised by the Vewom contract.
func (*VewomSetWhiteListIterator) Close ¶
func (it *VewomSetWhiteListIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomSetWhiteListIterator) Error ¶
func (it *VewomSetWhiteListIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomSetWhiteListIterator) Next ¶
func (it *VewomSetWhiteListIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VewomTransactor ¶
type VewomTransactor struct {
// contains filtered or unexported fields
}
VewomTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVewomTransactor ¶
func NewVewomTransactor(address common.Address, transactor bind.ContractTransactor) (*VewomTransactor, error)
NewVewomTransactor creates a new write-only instance of Vewom, bound to a specific deployed contract.
func (*VewomTransactor) Burn ¶
func (_Vewom *VewomTransactor) Burn(opts *bind.TransactOpts, slot *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 slot) returns()
func (*VewomTransactor) Initialize ¶
func (_Vewom *VewomTransactor) Initialize(opts *bind.TransactOpts, _wom common.Address, _masterWombat common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _wom, address _masterWombat) returns()
func (*VewomTransactor) Mint ¶
func (_Vewom *VewomTransactor) Mint(opts *bind.TransactOpts, amount *big.Int, lockDays *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x1b2ef1ca.
Solidity: function mint(uint256 amount, uint256 lockDays) returns(uint256 veWomAmount)
func (*VewomTransactor) Pause ¶
func (_Vewom *VewomTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*VewomTransactor) RenounceOwnership ¶
func (_Vewom *VewomTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VewomTransactor) SetMasterWombat ¶
func (_Vewom *VewomTransactor) SetMasterWombat(opts *bind.TransactOpts, _masterWombat common.Address) (*types.Transaction, error)
SetMasterWombat is a paid mutator transaction binding the contract method 0x0705999d.
Solidity: function setMasterWombat(address _masterWombat) returns()
func (*VewomTransactor) SetMaxBreedingLength ¶
func (_Vewom *VewomTransactor) SetMaxBreedingLength(opts *bind.TransactOpts, _maxBreedingLength *big.Int) (*types.Transaction, error)
SetMaxBreedingLength is a paid mutator transaction binding the contract method 0xd4c9b0d1.
Solidity: function setMaxBreedingLength(uint256 _maxBreedingLength) returns()
func (*VewomTransactor) SetWhitelist ¶
func (_Vewom *VewomTransactor) SetWhitelist(opts *bind.TransactOpts, _whitelist common.Address) (*types.Transaction, error)
SetWhitelist is a paid mutator transaction binding the contract method 0x854cff2f.
Solidity: function setWhitelist(address _whitelist) returns()
func (*VewomTransactor) TransferOwnership ¶
func (_Vewom *VewomTransactor) 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 (*VewomTransactor) Unpause ¶
func (_Vewom *VewomTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type VewomTransactorRaw ¶
type VewomTransactorRaw struct {
Contract *VewomTransactor // Generic write-only contract binding to access the raw methods on
}
VewomTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VewomTransactorRaw) Transact ¶
func (_Vewom *VewomTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VewomTransactorRaw) Transfer ¶
func (_Vewom *VewomTransactorRaw) 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 VewomTransactorSession ¶
type VewomTransactorSession struct { Contract *VewomTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VewomTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VewomTransactorSession) Burn ¶
func (_Vewom *VewomTransactorSession) Burn(slot *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 slot) returns()
func (*VewomTransactorSession) Initialize ¶
func (_Vewom *VewomTransactorSession) Initialize(_wom common.Address, _masterWombat common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _wom, address _masterWombat) returns()
func (*VewomTransactorSession) Mint ¶
func (_Vewom *VewomTransactorSession) Mint(amount *big.Int, lockDays *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x1b2ef1ca.
Solidity: function mint(uint256 amount, uint256 lockDays) returns(uint256 veWomAmount)
func (*VewomTransactorSession) Pause ¶
func (_Vewom *VewomTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*VewomTransactorSession) RenounceOwnership ¶
func (_Vewom *VewomTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VewomTransactorSession) SetMasterWombat ¶
func (_Vewom *VewomTransactorSession) SetMasterWombat(_masterWombat common.Address) (*types.Transaction, error)
SetMasterWombat is a paid mutator transaction binding the contract method 0x0705999d.
Solidity: function setMasterWombat(address _masterWombat) returns()
func (*VewomTransactorSession) SetMaxBreedingLength ¶
func (_Vewom *VewomTransactorSession) SetMaxBreedingLength(_maxBreedingLength *big.Int) (*types.Transaction, error)
SetMaxBreedingLength is a paid mutator transaction binding the contract method 0xd4c9b0d1.
Solidity: function setMaxBreedingLength(uint256 _maxBreedingLength) returns()
func (*VewomTransactorSession) SetWhitelist ¶
func (_Vewom *VewomTransactorSession) SetWhitelist(_whitelist common.Address) (*types.Transaction, error)
SetWhitelist is a paid mutator transaction binding the contract method 0x854cff2f.
Solidity: function setWhitelist(address _whitelist) returns()
func (*VewomTransactorSession) TransferOwnership ¶
func (_Vewom *VewomTransactorSession) 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 (*VewomTransactorSession) Unpause ¶
func (_Vewom *VewomTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type VewomUnpaused ¶
type VewomUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
VewomUnpaused represents a Unpaused event raised by the Vewom contract.
type VewomUnpausedIterator ¶
type VewomUnpausedIterator struct { Event *VewomUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VewomUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Vewom contract.
func (*VewomUnpausedIterator) Close ¶
func (it *VewomUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VewomUnpausedIterator) Error ¶
func (it *VewomUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VewomUnpausedIterator) Next ¶
func (it *VewomUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WombatAsset ¶
type WombatAsset struct { WombatAssetCaller // Read-only binding to the contract WombatAssetTransactor // Write-only binding to the contract WombatAssetFilterer // Log filterer for contract events }
WombatAsset is an auto generated Go binding around an Ethereum contract.
func NewWombatAsset ¶
func NewWombatAsset(address common.Address, backend bind.ContractBackend) (*WombatAsset, error)
NewWombatAsset creates a new instance of WombatAsset, bound to a specific deployed contract.
type WombatAssetApproval ¶
type WombatAssetApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WombatAssetApproval represents a Approval event raised by the WombatAsset contract.
type WombatAssetApprovalIterator ¶
type WombatAssetApprovalIterator struct { Event *WombatAssetApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WombatAssetApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WombatAsset contract.
func (*WombatAssetApprovalIterator) Close ¶
func (it *WombatAssetApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WombatAssetApprovalIterator) Error ¶
func (it *WombatAssetApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WombatAssetApprovalIterator) Next ¶
func (it *WombatAssetApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WombatAssetCaller ¶
type WombatAssetCaller struct {
// contains filtered or unexported fields
}
WombatAssetCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWombatAssetCaller ¶
func NewWombatAssetCaller(address common.Address, caller bind.ContractCaller) (*WombatAssetCaller, error)
NewWombatAssetCaller creates a new read-only instance of WombatAsset, bound to a specific deployed contract.
func (*WombatAssetCaller) Allowance ¶
func (_WombatAsset *WombatAssetCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*WombatAssetCaller) BalanceOf ¶
func (_WombatAsset *WombatAssetCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WombatAssetCaller) Cash ¶
Cash is a free data retrieval call binding the contract method 0x961be391.
Solidity: function cash() view returns(uint120)
func (*WombatAssetCaller) DOMAINSEPARATOR ¶
func (_WombatAsset *WombatAssetCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WombatAssetCaller) Decimals ¶
func (_WombatAsset *WombatAssetCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WombatAssetCaller) Liability ¶
Liability is a free data retrieval call binding the contract method 0x705727b5.
Solidity: function liability() view returns(uint120)
func (*WombatAssetCaller) MaxSupply ¶
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*WombatAssetCaller) Name ¶
func (_WombatAsset *WombatAssetCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WombatAssetCaller) Nonces ¶
func (_WombatAsset *WombatAssetCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*WombatAssetCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WombatAssetCaller) Pool ¶
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*WombatAssetCaller) Symbol ¶
func (_WombatAsset *WombatAssetCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WombatAssetCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WombatAssetCaller) UnderlyingToken ¶
UnderlyingToken is a free data retrieval call binding the contract method 0x2495a599.
Solidity: function underlyingToken() view returns(address)
func (*WombatAssetCaller) UnderlyingTokenBalance ¶
func (_WombatAsset *WombatAssetCaller) UnderlyingTokenBalance(opts *bind.CallOpts) (*big.Int, error)
UnderlyingTokenBalance is a free data retrieval call binding the contract method 0x99c91a64.
Solidity: function underlyingTokenBalance() view returns(uint256)
func (*WombatAssetCaller) UnderlyingTokenDecimals ¶
func (_WombatAsset *WombatAssetCaller) UnderlyingTokenDecimals(opts *bind.CallOpts) (uint8, error)
UnderlyingTokenDecimals is a free data retrieval call binding the contract method 0x7284168a.
Solidity: function underlyingTokenDecimals() view returns(uint8)
type WombatAssetCallerRaw ¶
type WombatAssetCallerRaw struct {
Contract *WombatAssetCaller // Generic read-only contract binding to access the raw methods on
}
WombatAssetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WombatAssetCallerRaw) Call ¶
func (_WombatAsset *WombatAssetCallerRaw) 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 WombatAssetCallerSession ¶
type WombatAssetCallerSession struct { Contract *WombatAssetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WombatAssetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WombatAssetCallerSession) Allowance ¶
func (_WombatAsset *WombatAssetCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*WombatAssetCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WombatAssetCallerSession) Cash ¶
func (_WombatAsset *WombatAssetCallerSession) Cash() (*big.Int, error)
Cash is a free data retrieval call binding the contract method 0x961be391.
Solidity: function cash() view returns(uint120)
func (*WombatAssetCallerSession) DOMAINSEPARATOR ¶
func (_WombatAsset *WombatAssetCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WombatAssetCallerSession) Decimals ¶
func (_WombatAsset *WombatAssetCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WombatAssetCallerSession) Liability ¶
func (_WombatAsset *WombatAssetCallerSession) Liability() (*big.Int, error)
Liability is a free data retrieval call binding the contract method 0x705727b5.
Solidity: function liability() view returns(uint120)
func (*WombatAssetCallerSession) MaxSupply ¶
func (_WombatAsset *WombatAssetCallerSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*WombatAssetCallerSession) Name ¶
func (_WombatAsset *WombatAssetCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WombatAssetCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*WombatAssetCallerSession) Owner ¶
func (_WombatAsset *WombatAssetCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WombatAssetCallerSession) Pool ¶
func (_WombatAsset *WombatAssetCallerSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*WombatAssetCallerSession) Symbol ¶
func (_WombatAsset *WombatAssetCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WombatAssetCallerSession) TotalSupply ¶
func (_WombatAsset *WombatAssetCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WombatAssetCallerSession) UnderlyingToken ¶
func (_WombatAsset *WombatAssetCallerSession) UnderlyingToken() (common.Address, error)
UnderlyingToken is a free data retrieval call binding the contract method 0x2495a599.
Solidity: function underlyingToken() view returns(address)
func (*WombatAssetCallerSession) UnderlyingTokenBalance ¶
func (_WombatAsset *WombatAssetCallerSession) UnderlyingTokenBalance() (*big.Int, error)
UnderlyingTokenBalance is a free data retrieval call binding the contract method 0x99c91a64.
Solidity: function underlyingTokenBalance() view returns(uint256)
func (*WombatAssetCallerSession) UnderlyingTokenDecimals ¶
func (_WombatAsset *WombatAssetCallerSession) UnderlyingTokenDecimals() (uint8, error)
UnderlyingTokenDecimals is a free data retrieval call binding the contract method 0x7284168a.
Solidity: function underlyingTokenDecimals() view returns(uint8)
type WombatAssetFilterer ¶
type WombatAssetFilterer struct {
// contains filtered or unexported fields
}
WombatAssetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWombatAssetFilterer ¶
func NewWombatAssetFilterer(address common.Address, filterer bind.ContractFilterer) (*WombatAssetFilterer, error)
NewWombatAssetFilterer creates a new log filterer instance of WombatAsset, bound to a specific deployed contract.
func (*WombatAssetFilterer) FilterApproval ¶
func (_WombatAsset *WombatAssetFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WombatAssetApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WombatAssetFilterer) FilterOwnershipTransferred ¶
func (_WombatAsset *WombatAssetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WombatAssetOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WombatAssetFilterer) FilterSetMaxSupply ¶
func (_WombatAsset *WombatAssetFilterer) FilterSetMaxSupply(opts *bind.FilterOpts) (*WombatAssetSetMaxSupplyIterator, error)
FilterSetMaxSupply is a free log retrieval operation binding the contract event 0x4e4144d58c74765aab6b864c8cb807767198960f6ae6b4b135c56d41b639b7fe.
Solidity: event SetMaxSupply(uint256 previousMaxSupply, uint256 newMaxSupply)
func (*WombatAssetFilterer) FilterSetPool ¶
func (_WombatAsset *WombatAssetFilterer) FilterSetPool(opts *bind.FilterOpts) (*WombatAssetSetPoolIterator, error)
FilterSetPool is a free log retrieval operation binding the contract event 0x390ace337562623e4cf938891cfa7e80b7b2e6ff395963aba93e537ce67e842c.
Solidity: event SetPool(address previousPoolAddr, address newPoolAddr)
func (*WombatAssetFilterer) FilterTransfer ¶
func (_WombatAsset *WombatAssetFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WombatAssetTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WombatAssetFilterer) ParseApproval ¶
func (_WombatAsset *WombatAssetFilterer) ParseApproval(log types.Log) (*WombatAssetApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WombatAssetFilterer) ParseOwnershipTransferred ¶
func (_WombatAsset *WombatAssetFilterer) ParseOwnershipTransferred(log types.Log) (*WombatAssetOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WombatAssetFilterer) ParseSetMaxSupply ¶
func (_WombatAsset *WombatAssetFilterer) ParseSetMaxSupply(log types.Log) (*WombatAssetSetMaxSupply, error)
ParseSetMaxSupply is a log parse operation binding the contract event 0x4e4144d58c74765aab6b864c8cb807767198960f6ae6b4b135c56d41b639b7fe.
Solidity: event SetMaxSupply(uint256 previousMaxSupply, uint256 newMaxSupply)
func (*WombatAssetFilterer) ParseSetPool ¶
func (_WombatAsset *WombatAssetFilterer) ParseSetPool(log types.Log) (*WombatAssetSetPool, error)
ParseSetPool is a log parse operation binding the contract event 0x390ace337562623e4cf938891cfa7e80b7b2e6ff395963aba93e537ce67e842c.
Solidity: event SetPool(address previousPoolAddr, address newPoolAddr)
func (*WombatAssetFilterer) ParseTransfer ¶
func (_WombatAsset *WombatAssetFilterer) ParseTransfer(log types.Log) (*WombatAssetTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WombatAssetFilterer) WatchApproval ¶
func (_WombatAsset *WombatAssetFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WombatAssetApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WombatAssetFilterer) WatchOwnershipTransferred ¶
func (_WombatAsset *WombatAssetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WombatAssetOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WombatAssetFilterer) WatchSetMaxSupply ¶
func (_WombatAsset *WombatAssetFilterer) WatchSetMaxSupply(opts *bind.WatchOpts, sink chan<- *WombatAssetSetMaxSupply) (event.Subscription, error)
WatchSetMaxSupply is a free log subscription operation binding the contract event 0x4e4144d58c74765aab6b864c8cb807767198960f6ae6b4b135c56d41b639b7fe.
Solidity: event SetMaxSupply(uint256 previousMaxSupply, uint256 newMaxSupply)
func (*WombatAssetFilterer) WatchSetPool ¶
func (_WombatAsset *WombatAssetFilterer) WatchSetPool(opts *bind.WatchOpts, sink chan<- *WombatAssetSetPool) (event.Subscription, error)
WatchSetPool is a free log subscription operation binding the contract event 0x390ace337562623e4cf938891cfa7e80b7b2e6ff395963aba93e537ce67e842c.
Solidity: event SetPool(address previousPoolAddr, address newPoolAddr)
func (*WombatAssetFilterer) WatchTransfer ¶
func (_WombatAsset *WombatAssetFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WombatAssetTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type WombatAssetOwnershipTransferred ¶
type WombatAssetOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
WombatAssetOwnershipTransferred represents a OwnershipTransferred event raised by the WombatAsset contract.
type WombatAssetOwnershipTransferredIterator ¶
type WombatAssetOwnershipTransferredIterator struct { Event *WombatAssetOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WombatAssetOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WombatAsset contract.
func (*WombatAssetOwnershipTransferredIterator) Close ¶
func (it *WombatAssetOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WombatAssetOwnershipTransferredIterator) Error ¶
func (it *WombatAssetOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WombatAssetOwnershipTransferredIterator) Next ¶
func (it *WombatAssetOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WombatAssetRaw ¶
type WombatAssetRaw struct {
Contract *WombatAsset // Generic contract binding to access the raw methods on
}
WombatAssetRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WombatAssetRaw) Call ¶
func (_WombatAsset *WombatAssetRaw) 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 (*WombatAssetRaw) Transact ¶
func (_WombatAsset *WombatAssetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WombatAssetRaw) Transfer ¶
func (_WombatAsset *WombatAssetRaw) 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 WombatAssetSession ¶
type WombatAssetSession struct { Contract *WombatAsset // 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 }
WombatAssetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WombatAssetSession) AddCash ¶
func (_WombatAsset *WombatAssetSession) AddCash(amount *big.Int) (*types.Transaction, error)
AddCash is a paid mutator transaction binding the contract method 0x16c9e7a0.
Solidity: function addCash(uint256 amount) returns()
func (*WombatAssetSession) AddLiability ¶
func (_WombatAsset *WombatAssetSession) AddLiability(amount *big.Int) (*types.Transaction, error)
AddLiability is a paid mutator transaction binding the contract method 0xa0f0f604.
Solidity: function addLiability(uint256 amount) returns()
func (*WombatAssetSession) Allowance ¶
func (_WombatAsset *WombatAssetSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*WombatAssetSession) Approve ¶
func (_WombatAsset *WombatAssetSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WombatAssetSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WombatAssetSession) Burn ¶
func (_WombatAsset *WombatAssetSession) Burn(to common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address to, uint256 amount) returns()
func (*WombatAssetSession) Cash ¶
func (_WombatAsset *WombatAssetSession) Cash() (*big.Int, error)
Cash is a free data retrieval call binding the contract method 0x961be391.
Solidity: function cash() view returns(uint120)
func (*WombatAssetSession) DOMAINSEPARATOR ¶
func (_WombatAsset *WombatAssetSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WombatAssetSession) Decimals ¶
func (_WombatAsset *WombatAssetSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WombatAssetSession) DecreaseAllowance ¶
func (_WombatAsset *WombatAssetSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*WombatAssetSession) IncreaseAllowance ¶
func (_WombatAsset *WombatAssetSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*WombatAssetSession) Liability ¶
func (_WombatAsset *WombatAssetSession) Liability() (*big.Int, error)
Liability is a free data retrieval call binding the contract method 0x705727b5.
Solidity: function liability() view returns(uint120)
func (*WombatAssetSession) MaxSupply ¶
func (_WombatAsset *WombatAssetSession) MaxSupply() (*big.Int, error)
MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.
Solidity: function maxSupply() view returns(uint256)
func (*WombatAssetSession) Mint ¶
func (_WombatAsset *WombatAssetSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*WombatAssetSession) Name ¶
func (_WombatAsset *WombatAssetSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WombatAssetSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*WombatAssetSession) Owner ¶
func (_WombatAsset *WombatAssetSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WombatAssetSession) Permit ¶
func (_WombatAsset *WombatAssetSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WombatAssetSession) Pool ¶
func (_WombatAsset *WombatAssetSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*WombatAssetSession) RemoveCash ¶
func (_WombatAsset *WombatAssetSession) RemoveCash(amount *big.Int) (*types.Transaction, error)
RemoveCash is a paid mutator transaction binding the contract method 0x9f9ef988.
Solidity: function removeCash(uint256 amount) returns()
func (*WombatAssetSession) RemoveLiability ¶
func (_WombatAsset *WombatAssetSession) RemoveLiability(amount *big.Int) (*types.Transaction, error)
RemoveLiability is a paid mutator transaction binding the contract method 0xd8b87853.
Solidity: function removeLiability(uint256 amount) returns()
func (*WombatAssetSession) RenounceOwnership ¶
func (_WombatAsset *WombatAssetSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WombatAssetSession) SetMaxSupply ¶
func (_WombatAsset *WombatAssetSession) SetMaxSupply(maxSupply_ *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 maxSupply_) returns()
func (*WombatAssetSession) SetPool ¶
func (_WombatAsset *WombatAssetSession) SetPool(pool_ common.Address) (*types.Transaction, error)
SetPool is a paid mutator transaction binding the contract method 0x4437152a.
Solidity: function setPool(address pool_) returns()
func (*WombatAssetSession) Symbol ¶
func (_WombatAsset *WombatAssetSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WombatAssetSession) TotalSupply ¶
func (_WombatAsset *WombatAssetSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WombatAssetSession) Transfer ¶
func (_WombatAsset *WombatAssetSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*WombatAssetSession) TransferFrom ¶
func (_WombatAsset *WombatAssetSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*WombatAssetSession) TransferOwnership ¶
func (_WombatAsset *WombatAssetSession) 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 (*WombatAssetSession) TransferUnderlyingToken ¶
func (_WombatAsset *WombatAssetSession) TransferUnderlyingToken(to common.Address, amount *big.Int) (*types.Transaction, error)
TransferUnderlyingToken is a paid mutator transaction binding the contract method 0x9e79eaa5.
Solidity: function transferUnderlyingToken(address to, uint256 amount) returns()
func (*WombatAssetSession) UnderlyingToken ¶
func (_WombatAsset *WombatAssetSession) UnderlyingToken() (common.Address, error)
UnderlyingToken is a free data retrieval call binding the contract method 0x2495a599.
Solidity: function underlyingToken() view returns(address)
func (*WombatAssetSession) UnderlyingTokenBalance ¶
func (_WombatAsset *WombatAssetSession) UnderlyingTokenBalance() (*big.Int, error)
UnderlyingTokenBalance is a free data retrieval call binding the contract method 0x99c91a64.
Solidity: function underlyingTokenBalance() view returns(uint256)
func (*WombatAssetSession) UnderlyingTokenDecimals ¶
func (_WombatAsset *WombatAssetSession) UnderlyingTokenDecimals() (uint8, error)
UnderlyingTokenDecimals is a free data retrieval call binding the contract method 0x7284168a.
Solidity: function underlyingTokenDecimals() view returns(uint8)
type WombatAssetSetMaxSupply ¶
type WombatAssetSetMaxSupply struct { PreviousMaxSupply *big.Int NewMaxSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
WombatAssetSetMaxSupply represents a SetMaxSupply event raised by the WombatAsset contract.
type WombatAssetSetMaxSupplyIterator ¶
type WombatAssetSetMaxSupplyIterator struct { Event *WombatAssetSetMaxSupply // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WombatAssetSetMaxSupplyIterator is returned from FilterSetMaxSupply and is used to iterate over the raw logs and unpacked data for SetMaxSupply events raised by the WombatAsset contract.
func (*WombatAssetSetMaxSupplyIterator) Close ¶
func (it *WombatAssetSetMaxSupplyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WombatAssetSetMaxSupplyIterator) Error ¶
func (it *WombatAssetSetMaxSupplyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WombatAssetSetMaxSupplyIterator) Next ¶
func (it *WombatAssetSetMaxSupplyIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WombatAssetSetPool ¶
type WombatAssetSetPool struct { PreviousPoolAddr common.Address NewPoolAddr common.Address Raw types.Log // Blockchain specific contextual infos }
WombatAssetSetPool represents a SetPool event raised by the WombatAsset contract.
type WombatAssetSetPoolIterator ¶
type WombatAssetSetPoolIterator struct { Event *WombatAssetSetPool // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WombatAssetSetPoolIterator is returned from FilterSetPool and is used to iterate over the raw logs and unpacked data for SetPool events raised by the WombatAsset contract.
func (*WombatAssetSetPoolIterator) Close ¶
func (it *WombatAssetSetPoolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WombatAssetSetPoolIterator) Error ¶
func (it *WombatAssetSetPoolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WombatAssetSetPoolIterator) Next ¶
func (it *WombatAssetSetPoolIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WombatAssetTransactor ¶
type WombatAssetTransactor struct {
// contains filtered or unexported fields
}
WombatAssetTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWombatAssetTransactor ¶
func NewWombatAssetTransactor(address common.Address, transactor bind.ContractTransactor) (*WombatAssetTransactor, error)
NewWombatAssetTransactor creates a new write-only instance of WombatAsset, bound to a specific deployed contract.
func (*WombatAssetTransactor) AddCash ¶
func (_WombatAsset *WombatAssetTransactor) AddCash(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
AddCash is a paid mutator transaction binding the contract method 0x16c9e7a0.
Solidity: function addCash(uint256 amount) returns()
func (*WombatAssetTransactor) AddLiability ¶
func (_WombatAsset *WombatAssetTransactor) AddLiability(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
AddLiability is a paid mutator transaction binding the contract method 0xa0f0f604.
Solidity: function addLiability(uint256 amount) returns()
func (*WombatAssetTransactor) Approve ¶
func (_WombatAsset *WombatAssetTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WombatAssetTransactor) Burn ¶
func (_WombatAsset *WombatAssetTransactor) Burn(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address to, uint256 amount) returns()
func (*WombatAssetTransactor) DecreaseAllowance ¶
func (_WombatAsset *WombatAssetTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*WombatAssetTransactor) IncreaseAllowance ¶
func (_WombatAsset *WombatAssetTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*WombatAssetTransactor) Mint ¶
func (_WombatAsset *WombatAssetTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*WombatAssetTransactor) Permit ¶
func (_WombatAsset *WombatAssetTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WombatAssetTransactor) RemoveCash ¶
func (_WombatAsset *WombatAssetTransactor) RemoveCash(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
RemoveCash is a paid mutator transaction binding the contract method 0x9f9ef988.
Solidity: function removeCash(uint256 amount) returns()
func (*WombatAssetTransactor) RemoveLiability ¶
func (_WombatAsset *WombatAssetTransactor) RemoveLiability(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
RemoveLiability is a paid mutator transaction binding the contract method 0xd8b87853.
Solidity: function removeLiability(uint256 amount) returns()
func (*WombatAssetTransactor) RenounceOwnership ¶
func (_WombatAsset *WombatAssetTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WombatAssetTransactor) SetMaxSupply ¶
func (_WombatAsset *WombatAssetTransactor) SetMaxSupply(opts *bind.TransactOpts, maxSupply_ *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 maxSupply_) returns()
func (*WombatAssetTransactor) SetPool ¶
func (_WombatAsset *WombatAssetTransactor) SetPool(opts *bind.TransactOpts, pool_ common.Address) (*types.Transaction, error)
SetPool is a paid mutator transaction binding the contract method 0x4437152a.
Solidity: function setPool(address pool_) returns()
func (*WombatAssetTransactor) Transfer ¶
func (_WombatAsset *WombatAssetTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*WombatAssetTransactor) TransferFrom ¶
func (_WombatAsset *WombatAssetTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*WombatAssetTransactor) TransferOwnership ¶
func (_WombatAsset *WombatAssetTransactor) 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 (*WombatAssetTransactor) TransferUnderlyingToken ¶
func (_WombatAsset *WombatAssetTransactor) TransferUnderlyingToken(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferUnderlyingToken is a paid mutator transaction binding the contract method 0x9e79eaa5.
Solidity: function transferUnderlyingToken(address to, uint256 amount) returns()
type WombatAssetTransactorRaw ¶
type WombatAssetTransactorRaw struct {
Contract *WombatAssetTransactor // Generic write-only contract binding to access the raw methods on
}
WombatAssetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WombatAssetTransactorRaw) Transact ¶
func (_WombatAsset *WombatAssetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WombatAssetTransactorRaw) Transfer ¶
func (_WombatAsset *WombatAssetTransactorRaw) 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 WombatAssetTransactorSession ¶
type WombatAssetTransactorSession struct { Contract *WombatAssetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WombatAssetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WombatAssetTransactorSession) AddCash ¶
func (_WombatAsset *WombatAssetTransactorSession) AddCash(amount *big.Int) (*types.Transaction, error)
AddCash is a paid mutator transaction binding the contract method 0x16c9e7a0.
Solidity: function addCash(uint256 amount) returns()
func (*WombatAssetTransactorSession) AddLiability ¶
func (_WombatAsset *WombatAssetTransactorSession) AddLiability(amount *big.Int) (*types.Transaction, error)
AddLiability is a paid mutator transaction binding the contract method 0xa0f0f604.
Solidity: function addLiability(uint256 amount) returns()
func (*WombatAssetTransactorSession) Approve ¶
func (_WombatAsset *WombatAssetTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WombatAssetTransactorSession) Burn ¶
func (_WombatAsset *WombatAssetTransactorSession) Burn(to common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address to, uint256 amount) returns()
func (*WombatAssetTransactorSession) DecreaseAllowance ¶
func (_WombatAsset *WombatAssetTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*WombatAssetTransactorSession) IncreaseAllowance ¶
func (_WombatAsset *WombatAssetTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*WombatAssetTransactorSession) Mint ¶
func (_WombatAsset *WombatAssetTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*WombatAssetTransactorSession) Permit ¶
func (_WombatAsset *WombatAssetTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WombatAssetTransactorSession) RemoveCash ¶
func (_WombatAsset *WombatAssetTransactorSession) RemoveCash(amount *big.Int) (*types.Transaction, error)
RemoveCash is a paid mutator transaction binding the contract method 0x9f9ef988.
Solidity: function removeCash(uint256 amount) returns()
func (*WombatAssetTransactorSession) RemoveLiability ¶
func (_WombatAsset *WombatAssetTransactorSession) RemoveLiability(amount *big.Int) (*types.Transaction, error)
RemoveLiability is a paid mutator transaction binding the contract method 0xd8b87853.
Solidity: function removeLiability(uint256 amount) returns()
func (*WombatAssetTransactorSession) RenounceOwnership ¶
func (_WombatAsset *WombatAssetTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WombatAssetTransactorSession) SetMaxSupply ¶
func (_WombatAsset *WombatAssetTransactorSession) SetMaxSupply(maxSupply_ *big.Int) (*types.Transaction, error)
SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.
Solidity: function setMaxSupply(uint256 maxSupply_) returns()
func (*WombatAssetTransactorSession) SetPool ¶
func (_WombatAsset *WombatAssetTransactorSession) SetPool(pool_ common.Address) (*types.Transaction, error)
SetPool is a paid mutator transaction binding the contract method 0x4437152a.
Solidity: function setPool(address pool_) returns()
func (*WombatAssetTransactorSession) Transfer ¶
func (_WombatAsset *WombatAssetTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*WombatAssetTransactorSession) TransferFrom ¶
func (_WombatAsset *WombatAssetTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*WombatAssetTransactorSession) TransferOwnership ¶
func (_WombatAsset *WombatAssetTransactorSession) 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 (*WombatAssetTransactorSession) TransferUnderlyingToken ¶
func (_WombatAsset *WombatAssetTransactorSession) TransferUnderlyingToken(to common.Address, amount *big.Int) (*types.Transaction, error)
TransferUnderlyingToken is a paid mutator transaction binding the contract method 0x9e79eaa5.
Solidity: function transferUnderlyingToken(address to, uint256 amount) returns()
type WombatAssetTransfer ¶
type WombatAssetTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WombatAssetTransfer represents a Transfer event raised by the WombatAsset contract.
type WombatAssetTransferIterator ¶
type WombatAssetTransferIterator struct { Event *WombatAssetTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WombatAssetTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WombatAsset contract.
func (*WombatAssetTransferIterator) Close ¶
func (it *WombatAssetTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WombatAssetTransferIterator) Error ¶
func (it *WombatAssetTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WombatAssetTransferIterator) Next ¶
func (it *WombatAssetTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.