Documentation ¶
Index ¶
- Variables
- type Operatorcontrollerforrewardsv2
- type Operatorcontrollerforrewardsv2Caller
- type Operatorcontrollerforrewardsv2CallerRaw
- type Operatorcontrollerforrewardsv2CallerSession
- type Operatorcontrollerforrewardsv2Filterer
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*Operatorcontrollerforrewardsv2OwnershipTransferredIterator, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Filterer) ParseOwnershipTransferred(log types.Log) (*Operatorcontrollerforrewardsv2OwnershipTransferred, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type Operatorcontrollerforrewardsv2OwnershipTransferred
- type Operatorcontrollerforrewardsv2OwnershipTransferredIterator
- type Operatorcontrollerforrewardsv2Raw
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Operatorcontrollerforrewardsv2Session
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) CanRelease() (bool, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) Owner() (common.Address, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) ReleaseTokensAndUpdateRewards() (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) RenounceOwnership() (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type Operatorcontrollerforrewardsv2Transactor
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Transactor) ReleaseTokensAndUpdateRewards(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type Operatorcontrollerforrewardsv2TransactorRaw
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Operatorcontrollerforrewardsv2TransactorSession
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorSession) ReleaseTokensAndUpdateRewards() (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var Operatorcontrollerforrewardsv2ABI = Operatorcontrollerforrewardsv2MetaData.ABI
Operatorcontrollerforrewardsv2ABI is the input ABI used to generate the binding from. Deprecated: Use Operatorcontrollerforrewardsv2MetaData.ABI instead.
var Operatorcontrollerforrewardsv2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeSharingSystem\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeSharingSetter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenSplitter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_teamVesting\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasuryVesting\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tradingRewardsDistributor\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"canRelease\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"releaseTokensAndUpdateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Operatorcontrollerforrewardsv2MetaData contains all meta data concerning the Operatorcontrollerforrewardsv2 contract.
Functions ¶
This section is empty.
Types ¶
type Operatorcontrollerforrewardsv2 ¶
type Operatorcontrollerforrewardsv2 struct { Operatorcontrollerforrewardsv2Caller // Read-only binding to the contract Operatorcontrollerforrewardsv2Transactor // Write-only binding to the contract Operatorcontrollerforrewardsv2Filterer // Log filterer for contract events }
Operatorcontrollerforrewardsv2 is an auto generated Go binding around an Ethereum contract.
func NewOperatorcontrollerforrewardsv2 ¶
func NewOperatorcontrollerforrewardsv2(address common.Address, backend bind.ContractBackend) (*Operatorcontrollerforrewardsv2, error)
NewOperatorcontrollerforrewardsv2 creates a new instance of Operatorcontrollerforrewardsv2, bound to a specific deployed contract.
type Operatorcontrollerforrewardsv2Caller ¶
type Operatorcontrollerforrewardsv2Caller struct {
// contains filtered or unexported fields
}
Operatorcontrollerforrewardsv2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewOperatorcontrollerforrewardsv2Caller ¶
func NewOperatorcontrollerforrewardsv2Caller(address common.Address, caller bind.ContractCaller) (*Operatorcontrollerforrewardsv2Caller, error)
NewOperatorcontrollerforrewardsv2Caller creates a new read-only instance of Operatorcontrollerforrewardsv2, bound to a specific deployed contract.
func (*Operatorcontrollerforrewardsv2Caller) CanRelease ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Caller) CanRelease(opts *bind.CallOpts) (bool, error)
CanRelease is a free data retrieval call binding the contract method 0x3705f69e.
Solidity: function canRelease() view returns(bool)
func (*Operatorcontrollerforrewardsv2Caller) Owner ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Caller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type Operatorcontrollerforrewardsv2CallerRaw ¶
type Operatorcontrollerforrewardsv2CallerRaw struct {
Contract *Operatorcontrollerforrewardsv2Caller // Generic read-only contract binding to access the raw methods on
}
Operatorcontrollerforrewardsv2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Operatorcontrollerforrewardsv2CallerRaw) Call ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2CallerRaw) 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 Operatorcontrollerforrewardsv2CallerSession ¶
type Operatorcontrollerforrewardsv2CallerSession struct { Contract *Operatorcontrollerforrewardsv2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Operatorcontrollerforrewardsv2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Operatorcontrollerforrewardsv2CallerSession) CanRelease ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2CallerSession) CanRelease() (bool, error)
CanRelease is a free data retrieval call binding the contract method 0x3705f69e.
Solidity: function canRelease() view returns(bool)
func (*Operatorcontrollerforrewardsv2CallerSession) Owner ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type Operatorcontrollerforrewardsv2Filterer ¶
type Operatorcontrollerforrewardsv2Filterer struct {
// contains filtered or unexported fields
}
Operatorcontrollerforrewardsv2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOperatorcontrollerforrewardsv2Filterer ¶
func NewOperatorcontrollerforrewardsv2Filterer(address common.Address, filterer bind.ContractFilterer) (*Operatorcontrollerforrewardsv2Filterer, error)
NewOperatorcontrollerforrewardsv2Filterer creates a new log filterer instance of Operatorcontrollerforrewardsv2, bound to a specific deployed contract.
func (*Operatorcontrollerforrewardsv2Filterer) FilterOwnershipTransferred ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Operatorcontrollerforrewardsv2OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*Operatorcontrollerforrewardsv2Filterer) ParseOwnershipTransferred ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Filterer) ParseOwnershipTransferred(log types.Log) (*Operatorcontrollerforrewardsv2OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*Operatorcontrollerforrewardsv2Filterer) WatchOwnershipTransferred ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Operatorcontrollerforrewardsv2OwnershipTransferred, 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)
type Operatorcontrollerforrewardsv2OwnershipTransferred ¶
type Operatorcontrollerforrewardsv2OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
Operatorcontrollerforrewardsv2OwnershipTransferred represents a OwnershipTransferred event raised by the Operatorcontrollerforrewardsv2 contract.
type Operatorcontrollerforrewardsv2OwnershipTransferredIterator ¶
type Operatorcontrollerforrewardsv2OwnershipTransferredIterator struct { Event *Operatorcontrollerforrewardsv2OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Operatorcontrollerforrewardsv2OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Operatorcontrollerforrewardsv2 contract.
func (*Operatorcontrollerforrewardsv2OwnershipTransferredIterator) Close ¶
func (it *Operatorcontrollerforrewardsv2OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Operatorcontrollerforrewardsv2OwnershipTransferredIterator) Error ¶
func (it *Operatorcontrollerforrewardsv2OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Operatorcontrollerforrewardsv2OwnershipTransferredIterator) Next ¶
func (it *Operatorcontrollerforrewardsv2OwnershipTransferredIterator) 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 Operatorcontrollerforrewardsv2Raw ¶
type Operatorcontrollerforrewardsv2Raw struct {
Contract *Operatorcontrollerforrewardsv2 // Generic contract binding to access the raw methods on
}
Operatorcontrollerforrewardsv2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Operatorcontrollerforrewardsv2Raw) Call ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Raw) 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 (*Operatorcontrollerforrewardsv2Raw) Transact ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Operatorcontrollerforrewardsv2Raw) Transfer ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Raw) 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 Operatorcontrollerforrewardsv2Session ¶
type Operatorcontrollerforrewardsv2Session struct { Contract *Operatorcontrollerforrewardsv2 // 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 }
Operatorcontrollerforrewardsv2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Operatorcontrollerforrewardsv2Session) CanRelease ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) CanRelease() (bool, error)
CanRelease is a free data retrieval call binding the contract method 0x3705f69e.
Solidity: function canRelease() view returns(bool)
func (*Operatorcontrollerforrewardsv2Session) Owner ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Operatorcontrollerforrewardsv2Session) ReleaseTokensAndUpdateRewards ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) ReleaseTokensAndUpdateRewards() (*types.Transaction, error)
ReleaseTokensAndUpdateRewards is a paid mutator transaction binding the contract method 0x43401a8a.
Solidity: function releaseTokensAndUpdateRewards() returns()
func (*Operatorcontrollerforrewardsv2Session) RenounceOwnership ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*Operatorcontrollerforrewardsv2Session) TransferOwnership ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Operatorcontrollerforrewardsv2Transactor ¶
type Operatorcontrollerforrewardsv2Transactor struct {
// contains filtered or unexported fields
}
Operatorcontrollerforrewardsv2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOperatorcontrollerforrewardsv2Transactor ¶
func NewOperatorcontrollerforrewardsv2Transactor(address common.Address, transactor bind.ContractTransactor) (*Operatorcontrollerforrewardsv2Transactor, error)
NewOperatorcontrollerforrewardsv2Transactor creates a new write-only instance of Operatorcontrollerforrewardsv2, bound to a specific deployed contract.
func (*Operatorcontrollerforrewardsv2Transactor) ReleaseTokensAndUpdateRewards ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Transactor) ReleaseTokensAndUpdateRewards(opts *bind.TransactOpts) (*types.Transaction, error)
ReleaseTokensAndUpdateRewards is a paid mutator transaction binding the contract method 0x43401a8a.
Solidity: function releaseTokensAndUpdateRewards() returns()
func (*Operatorcontrollerforrewardsv2Transactor) RenounceOwnership ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*Operatorcontrollerforrewardsv2Transactor) TransferOwnership ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2Transactor) 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()
type Operatorcontrollerforrewardsv2TransactorRaw ¶
type Operatorcontrollerforrewardsv2TransactorRaw struct {
Contract *Operatorcontrollerforrewardsv2Transactor // Generic write-only contract binding to access the raw methods on
}
Operatorcontrollerforrewardsv2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Operatorcontrollerforrewardsv2TransactorRaw) Transact ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Operatorcontrollerforrewardsv2TransactorRaw) Transfer ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorRaw) 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 Operatorcontrollerforrewardsv2TransactorSession ¶
type Operatorcontrollerforrewardsv2TransactorSession struct { Contract *Operatorcontrollerforrewardsv2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Operatorcontrollerforrewardsv2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Operatorcontrollerforrewardsv2TransactorSession) ReleaseTokensAndUpdateRewards ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorSession) ReleaseTokensAndUpdateRewards() (*types.Transaction, error)
ReleaseTokensAndUpdateRewards is a paid mutator transaction binding the contract method 0x43401a8a.
Solidity: function releaseTokensAndUpdateRewards() returns()
func (*Operatorcontrollerforrewardsv2TransactorSession) RenounceOwnership ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*Operatorcontrollerforrewardsv2TransactorSession) TransferOwnership ¶
func (_Operatorcontrollerforrewardsv2 *Operatorcontrollerforrewardsv2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()