Documentation ¶
Index ¶
- Variables
- type CommonAddressAndWeight
- type IRewardManagerFeePayment
- type RewardManager
- type RewardManagerCaller
- func (_RewardManager *RewardManagerCaller) GetAvailableRewardPoolIds(opts *bind.CallOpts, recipient common.Address, startIndex *big.Int, ...) ([][32]byte, error)
- func (_RewardManager *RewardManagerCaller) ILinkAddress(opts *bind.CallOpts) (common.Address, error)
- func (_RewardManager *RewardManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_RewardManager *RewardManagerCaller) SFeeManagerAddress(opts *bind.CallOpts) (common.Address, error)
- func (_RewardManager *RewardManagerCaller) SRegisteredPoolIds(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_RewardManager *RewardManagerCaller) SRewardRecipientWeights(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_RewardManager *RewardManagerCaller) SRewardRecipientWeightsSet(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_RewardManager *RewardManagerCaller) STotalRewardRecipientFees(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_RewardManager *RewardManagerCaller) STotalRewardRecipientFeesLastClaimedAmounts(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_RewardManager *RewardManagerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_RewardManager *RewardManagerCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
- type RewardManagerCallerRaw
- type RewardManagerCallerSession
- func (_RewardManager *RewardManagerCallerSession) GetAvailableRewardPoolIds(recipient common.Address, startIndex *big.Int, endIndex *big.Int) ([][32]byte, error)
- func (_RewardManager *RewardManagerCallerSession) ILinkAddress() (common.Address, error)
- func (_RewardManager *RewardManagerCallerSession) Owner() (common.Address, error)
- func (_RewardManager *RewardManagerCallerSession) SFeeManagerAddress() (common.Address, error)
- func (_RewardManager *RewardManagerCallerSession) SRegisteredPoolIds(arg0 *big.Int) ([32]byte, error)
- func (_RewardManager *RewardManagerCallerSession) SRewardRecipientWeights(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_RewardManager *RewardManagerCallerSession) SRewardRecipientWeightsSet(arg0 [32]byte) (bool, error)
- func (_RewardManager *RewardManagerCallerSession) STotalRewardRecipientFees(arg0 [32]byte) (*big.Int, error)
- func (_RewardManager *RewardManagerCallerSession) STotalRewardRecipientFeesLastClaimedAmounts(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_RewardManager *RewardManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_RewardManager *RewardManagerCallerSession) TypeAndVersion() (string, error)
- type RewardManagerFeeManagerUpdated
- type RewardManagerFeeManagerUpdatedIterator
- type RewardManagerFeePaid
- type RewardManagerFeePaidIterator
- type RewardManagerFilterer
- func (_RewardManager *RewardManagerFilterer) FilterFeeManagerUpdated(opts *bind.FilterOpts) (*RewardManagerFeeManagerUpdatedIterator, error)
- func (_RewardManager *RewardManagerFilterer) FilterFeePaid(opts *bind.FilterOpts) (*RewardManagerFeePaidIterator, error)
- func (_RewardManager *RewardManagerFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardManagerOwnershipTransferRequestedIterator, error)
- func (_RewardManager *RewardManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardManagerOwnershipTransferredIterator, error)
- func (_RewardManager *RewardManagerFilterer) FilterRewardRecipientsUpdated(opts *bind.FilterOpts, poolId [][32]byte) (*RewardManagerRewardRecipientsUpdatedIterator, error)
- func (_RewardManager *RewardManagerFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, poolId [][32]byte, recipient []common.Address) (*RewardManagerRewardsClaimedIterator, error)
- func (_RewardManager *RewardManagerFilterer) ParseFeeManagerUpdated(log types.Log) (*RewardManagerFeeManagerUpdated, error)
- func (_RewardManager *RewardManagerFilterer) ParseFeePaid(log types.Log) (*RewardManagerFeePaid, error)
- func (_RewardManager *RewardManagerFilterer) ParseOwnershipTransferRequested(log types.Log) (*RewardManagerOwnershipTransferRequested, error)
- func (_RewardManager *RewardManagerFilterer) ParseOwnershipTransferred(log types.Log) (*RewardManagerOwnershipTransferred, error)
- func (_RewardManager *RewardManagerFilterer) ParseRewardRecipientsUpdated(log types.Log) (*RewardManagerRewardRecipientsUpdated, error)
- func (_RewardManager *RewardManagerFilterer) ParseRewardsClaimed(log types.Log) (*RewardManagerRewardsClaimed, error)
- func (_RewardManager *RewardManagerFilterer) WatchFeeManagerUpdated(opts *bind.WatchOpts, sink chan<- *RewardManagerFeeManagerUpdated) (event.Subscription, error)
- func (_RewardManager *RewardManagerFilterer) WatchFeePaid(opts *bind.WatchOpts, sink chan<- *RewardManagerFeePaid) (event.Subscription, error)
- func (_RewardManager *RewardManagerFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *RewardManagerOwnershipTransferRequested, ...) (event.Subscription, error)
- func (_RewardManager *RewardManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RewardManagerOwnershipTransferred, ...) (event.Subscription, error)
- func (_RewardManager *RewardManagerFilterer) WatchRewardRecipientsUpdated(opts *bind.WatchOpts, sink chan<- *RewardManagerRewardRecipientsUpdated, ...) (event.Subscription, error)
- func (_RewardManager *RewardManagerFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *RewardManagerRewardsClaimed, ...) (event.Subscription, error)
- type RewardManagerInterface
- type RewardManagerOwnershipTransferRequested
- type RewardManagerOwnershipTransferRequestedIterator
- type RewardManagerOwnershipTransferred
- type RewardManagerOwnershipTransferredIterator
- type RewardManagerRaw
- func (_RewardManager *RewardManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RewardManager *RewardManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RewardManager *RewardManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RewardManagerRewardRecipientsUpdated
- type RewardManagerRewardRecipientsUpdatedIterator
- type RewardManagerRewardsClaimed
- type RewardManagerRewardsClaimedIterator
- type RewardManagerSession
- func (_RewardManager *RewardManagerSession) AcceptOwnership() (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) ClaimRewards(poolIds [][32]byte) (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) GetAvailableRewardPoolIds(recipient common.Address, startIndex *big.Int, endIndex *big.Int) ([][32]byte, error)
- func (_RewardManager *RewardManagerSession) ILinkAddress() (common.Address, error)
- func (_RewardManager *RewardManagerSession) OnFeePaid(payments []IRewardManagerFeePayment, payer common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) Owner() (common.Address, error)
- func (_RewardManager *RewardManagerSession) PayRecipients(poolId [32]byte, recipients []common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) SFeeManagerAddress() (common.Address, error)
- func (_RewardManager *RewardManagerSession) SRegisteredPoolIds(arg0 *big.Int) ([32]byte, error)
- func (_RewardManager *RewardManagerSession) SRewardRecipientWeights(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_RewardManager *RewardManagerSession) SRewardRecipientWeightsSet(arg0 [32]byte) (bool, error)
- func (_RewardManager *RewardManagerSession) STotalRewardRecipientFees(arg0 [32]byte) (*big.Int, error)
- func (_RewardManager *RewardManagerSession) STotalRewardRecipientFeesLastClaimedAmounts(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_RewardManager *RewardManagerSession) SetFeeManager(newFeeManagerAddress common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) SetRewardRecipients(poolId [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_RewardManager *RewardManagerSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerSession) TypeAndVersion() (string, error)
- func (_RewardManager *RewardManagerSession) UpdateRewardRecipients(poolId [32]byte, newRewardRecipients []CommonAddressAndWeight) (*types.Transaction, error)
- type RewardManagerTransactor
- func (_RewardManager *RewardManagerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) ClaimRewards(opts *bind.TransactOpts, poolIds [][32]byte) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) OnFeePaid(opts *bind.TransactOpts, payments []IRewardManagerFeePayment, ...) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) PayRecipients(opts *bind.TransactOpts, poolId [32]byte, recipients []common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) SetFeeManager(opts *bind.TransactOpts, newFeeManagerAddress common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) SetRewardRecipients(opts *bind.TransactOpts, poolId [32]byte, ...) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactor) UpdateRewardRecipients(opts *bind.TransactOpts, poolId [32]byte, ...) (*types.Transaction, error)
- type RewardManagerTransactorRaw
- type RewardManagerTransactorSession
- func (_RewardManager *RewardManagerTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) ClaimRewards(poolIds [][32]byte) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) OnFeePaid(payments []IRewardManagerFeePayment, payer common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) PayRecipients(poolId [32]byte, recipients []common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) SetFeeManager(newFeeManagerAddress common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) SetRewardRecipients(poolId [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_RewardManager *RewardManagerTransactorSession) UpdateRewardRecipients(poolId [32]byte, newRewardRecipients []CommonAddressAndWeight) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var RewardManagerABI = RewardManagerMetaData.ABI
View Source
var RewardManagerBin = RewardManagerMetaData.Bin
View Source
var RewardManagerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"linkAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidWeights\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newFeeManagerAddress\",\"type\":\"address\"}],\"name\":\"FeeManagerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint192\",\"name\":\"amount\",\"type\":\"uint192\"}],\"indexed\":false,\"internalType\":\"structIRewardManager.FeePayment[]\",\"name\":\"payments\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"}],\"name\":\"FeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"weight\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"structCommon.AddressAndWeight[]\",\"name\":\"newRewardRecipients\",\"type\":\"tuple[]\"}],\"name\":\"RewardRecipientsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint192\",\"name\":\"quantity\",\"type\":\"uint192\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"poolIds\",\"type\":\"bytes32[]\"}],\"name\":\"claimRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"startIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endIndex\",\"type\":\"uint256\"}],\"name\":\"getAvailableRewardPoolIds\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"i_linkAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint192\",\"name\":\"amount\",\"type\":\"uint192\"}],\"internalType\":\"structIRewardManager.FeePayment[]\",\"name\":\"payments\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"}],\"name\":\"onFeePaid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"}],\"name\":\"payRecipients\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_feeManagerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"s_registeredPoolIds\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"s_rewardRecipientWeights\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"s_rewardRecipientWeightsSet\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"s_totalRewardRecipientFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"s_totalRewardRecipientFeesLastClaimedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeManagerAddress\",\"type\":\"address\"}],\"name\":\"setFeeManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"weight\",\"type\":\"uint64\"}],\"internalType\":\"structCommon.AddressAndWeight[]\",\"name\":\"rewardRecipientAndWeights\",\"type\":\"tuple[]\"}],\"name\":\"setRewardRecipients\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"typeAndVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"weight\",\"type\":\"uint64\"}],\"internalType\":\"structCommon.AddressAndWeight[]\",\"name\":\"newRewardRecipients\",\"type\":\"tuple[]\"}],\"name\":\"updateRewardRecipients\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60a06040523480156200001157600080fd5b5060405162002135380380620021358339810160408190526200003491620001a6565b33806000816200008b5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620000be57620000be81620000fb565b5050506001600160a01b038116620000e95760405163e6c4247b60e01b815260040160405180910390fd5b6001600160a01b0316608052620001d8565b336001600160a01b03821603620001555760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000082565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b600060208284031215620001b957600080fd5b81516001600160a01b0381168114620001d157600080fd5b9392505050565b608051611f3362000202600039600081816103bd01528181610d1c0152610f570152611f336000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c80634d322084116100cd5780638da5cb5b11610081578063cd5f729211610066578063cd5f7292146103a5578063ea4b861b146103b8578063f2fde38b146103df57600080fd5b80638da5cb5b14610374578063b0d9fa191461039257600080fd5b806360122608116100b2578063601226081461031657806379ba5097146103415780638ac85a5c1461034957600080fd5b80634d322084146102e057806359256201146102f357600080fd5b8063276e7660116101245780634722647511610109578063472264751461029a578063472d35b9146102ba5780634944832f146102cd57600080fd5b8063276e76601461022757806339ee81e11461026c57600080fd5b806301ffc9a7146101565780630f3c34d1146101c057806314060f23146101d5578063181f5a77146101e8575b600080fd5b6101ab61016436600461181f565b7fffffffff00000000000000000000000000000000000000000000000000000000167fb0d9fa19000000000000000000000000000000000000000000000000000000001490565b60405190151581526020015b60405180910390f35b6101d36101ce3660046118df565b6103f2565b005b6101d36101e33660046119d1565b610400565b604080518082018252601381527f5265776172644d616e6167657220312e302e3000000000000000000000000000602082015290516101b79190611a41565b6007546102479073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b7565b61028c61027a366004611a92565b60026020526000908152604090205481565b6040519081526020016101b7565b6102ad6102a8366004611ad4565b6105b6565b6040516101b79190611b07565b6101d36102c8366004611b4b565b610740565b6101d36102db3660046119d1565b61080e565b6101d36102ee366004611b6d565b610990565b6101ab610301366004611a92565b60056020526000908152604090205460ff1681565b61028c610324366004611bec565b600360209081526000928352604080842090915290825290205481565b6101d3610acf565b61028c610357366004611bec565b600460209081526000928352604080842090915290825290205481565b60005473ffffffffffffffffffffffffffffffffffffffff16610247565b6101d36103a0366004611c18565b610bd1565b61028c6103b3366004611a92565b610d85565b6102477f000000000000000000000000000000000000000000000000000000000000000081565b6101d36103ed366004611b4b565b610da6565b6103fc3382610dba565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314801590610440575060075473ffffffffffffffffffffffffffffffffffffffff163314155b15610477576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008190036104b2576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526005602052604090205460ff16156104fb576040517f0afa7ee800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01849055600084815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055610577838383670de0b6b3a7640000610f87565b827f8f668d6090683f98b3373a8b83d214da45737f7486cb7de554cc07b54e61cfe683836040516105a9929190611c84565b60405180910390a2505050565b60065460609060008184116105cb57836105cd565b815b905080851115610609576040517fa22caccc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006106158683611d1b565b67ffffffffffffffff81111561062d5761062d611861565b604051908082528060200260200182016040528015610656578160200160208202803683370190505b5090506000865b838110156107335760006006828154811061067a5761067a611d2e565b600091825260208083209091015480835260048252604080842073ffffffffffffffffffffffffffffffffffffffff8f16855290925291205490915015610722576000818152600260209081526040808320546003835281842073ffffffffffffffffffffffffffffffffffffffff8f168552909252909120548114610720578185858060010196508151811061071357610713611d2e565b6020026020010181815250505b505b5061072c81611d5d565b905061065d565b5090979650505050505050565b610748611198565b73ffffffffffffffffffffffffffffffffffffffff8116610795576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fe45f5e140399b0a7e12971ab020724b828fbed8ac408c420884dc7d1bbe506b49060200160405180910390a150565b610816611198565b60408051600180825281830190925260009160208083019080368337019050509050838160008151811061084c5761084c611d2e565b6020026020010181815250506000805b8381101561094257600085858381811061087857610878611d2e565b61088e9260206040909202019081019150611b4b565b600088815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff851684529091528120549192508190036108fa576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61092b87878581811061090f5761090f611d2e565b6109259260206040909202019081019150611b4b565b86610dba565b5092909201915061093b81611d5d565b905061085c565b5061094f85858584610f87565b847f8f668d6090683f98b3373a8b83d214da45737f7486cb7de554cc07b54e61cfe68585604051610981929190611c84565b60405180910390a25050505050565b826109b060005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a0257506000818152600460209081526040808320338452909152902054155b15610a39576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516001808252818301909252600091602080830190803683370190505090508481600081518110610a6f57610a6f611d2e565b60200260200101818152505060005b83811015610ac757610ab6858583818110610a9b57610a9b611d2e565b9050602002016020810190610ab09190611b4b565b83610dba565b50610ac081611d5d565b9050610a7e565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610b55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b60075473ffffffffffffffffffffffffffffffffffffffff163314610c22576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b83811015610d0157848482818110610c4057610c40611d2e565b9050604002016020016020810190610c589190611dbd565b77ffffffffffffffffffffffffffffffffffffffffffffffff1660026000878785818110610c8857610c88611d2e565b6040908102929092013583525060208201929092520160002080549091019055848482818110610cba57610cba611d2e565b9050604002016020016020810190610cd29190611dbd565b77ffffffffffffffffffffffffffffffffffffffffffffffff168201915080610cfa90611d5d565b9050610c26565b50610d4473ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001683308461121b565b7fa1cc025ea76bacce5d740ee4bc331899375dc2c5f2ab33933aaacbd9ba001b66848484604051610d7793929190611dd8565b60405180910390a150505050565b60068181548110610d9557600080fd5b600091825260209091200154905081565b610dae611198565b610db7816112fd565b50565b60008060005b8351811015610f36576000848281518110610ddd57610ddd611d2e565b6020026020010151905060006002600083815260200190815260200160002054905080600003610e0e575050610f26565b600082815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b16808552908352818420548685526004845282852091855292528220549083039190670de0b6b3a764000090830204905080600003610e775750505050610f26565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d168085529252909120849055885196820196899087908110610ec257610ec2611d2e565b60200260200101517f989969655bc1d593922527fe85d71347bb8e12fa423cc71f362dd8ef7cb10ef283604051610f19919077ffffffffffffffffffffffffffffffffffffffffffffffff91909116815260200190565b60405180910390a3505050505b610f2f81611d5d565b9050610dc0565b508015610f7e57610f7e73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001685836113f2565b90505b92915050565b610fe28383808060200260200160405190810160405280939291908181526020016000905b82821015610fd857610fc960408302860136819003810190611e5f565b81526020019060010190610fac565b505050505061144d565b15611019576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b8381101561115757600085858381811061103957611039611d2e565b90506040020160200160208101906110519190611eba565b67ffffffffffffffff169050600086868481811061107157611071611d2e565b6110879260206040909202019081019150611b4b565b905073ffffffffffffffffffffffffffffffffffffffff81166110d6576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600003611110576040517f84677ce800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600088815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff909416835292905220819055919091019061115081611d5d565b905061101d565b50818114611191576040517f84677ce800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610b4c565b565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112f79085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611504565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff82160361137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610b4c565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526114489084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401611275565b505050565b6000805b82518110156114fb576000611467826001611ed5565b90505b83518110156114f25783818151811061148557611485611d2e565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff168483815181106114b9576114b9611d2e565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff16036114ea575060019392505050565b60010161146a565b50600101611451565b50600092915050565b6000611566826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116109092919063ffffffff16565b80519091501561144857808060200190518101906115849190611ee8565b611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610b4c565b606061161f8484600085611627565b949350505050565b6060824710156116b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610b4c565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516116e29190611f0a565b60006040518083038185875af1925050503d806000811461171f576040519150601f19603f3d011682016040523d82523d6000602084013e611724565b606091505b509150915061173587838387611740565b979650505050505050565b606083156117d65782516000036117cf5773ffffffffffffffffffffffffffffffffffffffff85163b6117cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b4c565b508161161f565b61161f83838151156117eb5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4c9190611a41565b60006020828403121561183157600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610f7e57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156118d7576118d7611861565b604052919050565b600060208083850312156118f257600080fd5b823567ffffffffffffffff8082111561190a57600080fd5b818501915085601f83011261191e57600080fd5b81358181111561193057611930611861565b8060051b9150611941848301611890565b818152918301840191848101908884111561195b57600080fd5b938501935b8385101561197957843582529385019390850190611960565b98975050505050505050565b60008083601f84011261199757600080fd5b50813567ffffffffffffffff8111156119af57600080fd5b6020830191508360208260061b85010111156119ca57600080fd5b9250929050565b6000806000604084860312156119e657600080fd5b83359250602084013567ffffffffffffffff811115611a0457600080fd5b611a1086828701611985565b9497909650939450505050565b60005b83811015611a38578181015183820152602001611a20565b50506000910152565b6020815260008251806020840152611a60816040850160208701611a1d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600060208284031215611aa457600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611acf57600080fd5b919050565b600080600060608486031215611ae957600080fd5b611af284611aab565b95602085013595506040909401359392505050565b6020808252825182820181905260009190848201906040850190845b81811015611b3f57835183529284019291840191600101611b23565b50909695505050505050565b600060208284031215611b5d57600080fd5b611b6682611aab565b9392505050565b600080600060408486031215611b8257600080fd5b83359250602084013567ffffffffffffffff80821115611ba157600080fd5b818601915086601f830112611bb557600080fd5b813581811115611bc457600080fd5b8760208260051b8501011115611bd957600080fd5b6020830194508093505050509250925092565b60008060408385031215611bff57600080fd5b82359150611c0f60208401611aab565b90509250929050565b600080600060408486031215611c2d57600080fd5b833567ffffffffffffffff811115611c4457600080fd5b611c5086828701611985565b9094509250611c63905060208501611aab565b90509250925092565b803567ffffffffffffffff81168114611acf57600080fd5b6020808252818101839052600090604080840186845b878110156107335773ffffffffffffffffffffffffffffffffffffffff611cc083611aab565b16835267ffffffffffffffff611cd7868401611c6c565b16838601529183019190830190600101611c9a565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610f8157610f81611cec565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8e57611d8e611cec565b5060010190565b803577ffffffffffffffffffffffffffffffffffffffffffffffff81168114611acf57600080fd5b600060208284031215611dcf57600080fd5b611b6682611d95565b60408082528181018490526000908560608401835b87811015611e345782358252602077ffffffffffffffffffffffffffffffffffffffffffffffff611e1f828601611d95565b16908301529183019190830190600101611ded565b5080935050505073ffffffffffffffffffffffffffffffffffffffff83166020830152949350505050565b600060408284031215611e7157600080fd5b6040516040810181811067ffffffffffffffff82111715611e9457611e94611861565b604052611ea083611aab565b8152611eae60208401611c6c565b60208201529392505050565b600060208284031215611ecc57600080fd5b611b6682611c6c565b80820180821115610f8157610f81611cec565b600060208284031215611efa57600080fd5b81518015158114610f7e57600080fd5b60008251611f1c818460208701611a1d565b919091019291505056fea164736f6c6343000810000a",
}
Functions ¶
This section is empty.
Types ¶
type CommonAddressAndWeight ¶
type IRewardManagerFeePayment ¶ added in v2.6.0
type RewardManager ¶
type RewardManager struct { RewardManagerCaller RewardManagerTransactor RewardManagerFilterer // contains filtered or unexported fields }
func DeployRewardManager ¶
func DeployRewardManager(auth *bind.TransactOpts, backend bind.ContractBackend, linkAddress common.Address) (common.Address, *types.Transaction, *RewardManager, error)
func NewRewardManager ¶
func NewRewardManager(address common.Address, backend bind.ContractBackend) (*RewardManager, error)
func (*RewardManager) Address ¶
func (_RewardManager *RewardManager) Address() common.Address
type RewardManagerCaller ¶
type RewardManagerCaller struct {
// contains filtered or unexported fields
}
func NewRewardManagerCaller ¶
func NewRewardManagerCaller(address common.Address, caller bind.ContractCaller) (*RewardManagerCaller, error)
func (*RewardManagerCaller) GetAvailableRewardPoolIds ¶
func (*RewardManagerCaller) ILinkAddress ¶ added in v2.6.0
func (*RewardManagerCaller) SFeeManagerAddress ¶
func (*RewardManagerCaller) SRegisteredPoolIds ¶
func (*RewardManagerCaller) SRewardRecipientWeights ¶
func (*RewardManagerCaller) SRewardRecipientWeightsSet ¶ added in v2.6.0
func (*RewardManagerCaller) STotalRewardRecipientFees ¶
func (*RewardManagerCaller) STotalRewardRecipientFeesLastClaimedAmounts ¶ added in v2.6.0
func (*RewardManagerCaller) SupportsInterface ¶
func (*RewardManagerCaller) TypeAndVersion ¶
func (_RewardManager *RewardManagerCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
type RewardManagerCallerRaw ¶
type RewardManagerCallerRaw struct {
Contract *RewardManagerCaller
}
type RewardManagerCallerSession ¶
type RewardManagerCallerSession struct { Contract *RewardManagerCaller CallOpts bind.CallOpts }
func (*RewardManagerCallerSession) GetAvailableRewardPoolIds ¶
func (*RewardManagerCallerSession) ILinkAddress ¶ added in v2.6.0
func (_RewardManager *RewardManagerCallerSession) ILinkAddress() (common.Address, error)
func (*RewardManagerCallerSession) Owner ¶
func (_RewardManager *RewardManagerCallerSession) Owner() (common.Address, error)
func (*RewardManagerCallerSession) SFeeManagerAddress ¶
func (_RewardManager *RewardManagerCallerSession) SFeeManagerAddress() (common.Address, error)
func (*RewardManagerCallerSession) SRegisteredPoolIds ¶
func (_RewardManager *RewardManagerCallerSession) SRegisteredPoolIds(arg0 *big.Int) ([32]byte, error)
func (*RewardManagerCallerSession) SRewardRecipientWeights ¶
func (*RewardManagerCallerSession) SRewardRecipientWeightsSet ¶ added in v2.6.0
func (_RewardManager *RewardManagerCallerSession) SRewardRecipientWeightsSet(arg0 [32]byte) (bool, error)
func (*RewardManagerCallerSession) STotalRewardRecipientFees ¶
func (_RewardManager *RewardManagerCallerSession) STotalRewardRecipientFees(arg0 [32]byte) (*big.Int, error)
func (*RewardManagerCallerSession) STotalRewardRecipientFeesLastClaimedAmounts ¶ added in v2.6.0
func (*RewardManagerCallerSession) SupportsInterface ¶
func (_RewardManager *RewardManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
func (*RewardManagerCallerSession) TypeAndVersion ¶
func (_RewardManager *RewardManagerCallerSession) TypeAndVersion() (string, error)
type RewardManagerFeeManagerUpdated ¶
func (RewardManagerFeeManagerUpdated) Topic ¶
func (RewardManagerFeeManagerUpdated) Topic() common.Hash
type RewardManagerFeeManagerUpdatedIterator ¶
type RewardManagerFeeManagerUpdatedIterator struct { Event *RewardManagerFeeManagerUpdated // contains filtered or unexported fields }
func (*RewardManagerFeeManagerUpdatedIterator) Close ¶
func (it *RewardManagerFeeManagerUpdatedIterator) Close() error
func (*RewardManagerFeeManagerUpdatedIterator) Error ¶
func (it *RewardManagerFeeManagerUpdatedIterator) Error() error
func (*RewardManagerFeeManagerUpdatedIterator) Next ¶
func (it *RewardManagerFeeManagerUpdatedIterator) Next() bool
type RewardManagerFeePaid ¶
type RewardManagerFeePaid struct { Payments []IRewardManagerFeePayment Payer common.Address Raw types.Log }
func (RewardManagerFeePaid) Topic ¶
func (RewardManagerFeePaid) Topic() common.Hash
type RewardManagerFeePaidIterator ¶
type RewardManagerFeePaidIterator struct { Event *RewardManagerFeePaid // contains filtered or unexported fields }
func (*RewardManagerFeePaidIterator) Close ¶
func (it *RewardManagerFeePaidIterator) Close() error
func (*RewardManagerFeePaidIterator) Error ¶
func (it *RewardManagerFeePaidIterator) Error() error
func (*RewardManagerFeePaidIterator) Next ¶
func (it *RewardManagerFeePaidIterator) Next() bool
type RewardManagerFilterer ¶
type RewardManagerFilterer struct {
// contains filtered or unexported fields
}
func NewRewardManagerFilterer ¶
func NewRewardManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*RewardManagerFilterer, error)
func (*RewardManagerFilterer) FilterFeeManagerUpdated ¶
func (_RewardManager *RewardManagerFilterer) FilterFeeManagerUpdated(opts *bind.FilterOpts) (*RewardManagerFeeManagerUpdatedIterator, error)
func (*RewardManagerFilterer) FilterFeePaid ¶
func (_RewardManager *RewardManagerFilterer) FilterFeePaid(opts *bind.FilterOpts) (*RewardManagerFeePaidIterator, error)
func (*RewardManagerFilterer) FilterOwnershipTransferRequested ¶
func (_RewardManager *RewardManagerFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardManagerOwnershipTransferRequestedIterator, error)
func (*RewardManagerFilterer) FilterOwnershipTransferred ¶
func (_RewardManager *RewardManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardManagerOwnershipTransferredIterator, error)
func (*RewardManagerFilterer) FilterRewardRecipientsUpdated ¶
func (_RewardManager *RewardManagerFilterer) FilterRewardRecipientsUpdated(opts *bind.FilterOpts, poolId [][32]byte) (*RewardManagerRewardRecipientsUpdatedIterator, error)
func (*RewardManagerFilterer) FilterRewardsClaimed ¶
func (_RewardManager *RewardManagerFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, poolId [][32]byte, recipient []common.Address) (*RewardManagerRewardsClaimedIterator, error)
func (*RewardManagerFilterer) ParseFeeManagerUpdated ¶
func (_RewardManager *RewardManagerFilterer) ParseFeeManagerUpdated(log types.Log) (*RewardManagerFeeManagerUpdated, error)
func (*RewardManagerFilterer) ParseFeePaid ¶
func (_RewardManager *RewardManagerFilterer) ParseFeePaid(log types.Log) (*RewardManagerFeePaid, error)
func (*RewardManagerFilterer) ParseOwnershipTransferRequested ¶
func (_RewardManager *RewardManagerFilterer) ParseOwnershipTransferRequested(log types.Log) (*RewardManagerOwnershipTransferRequested, error)
func (*RewardManagerFilterer) ParseOwnershipTransferred ¶
func (_RewardManager *RewardManagerFilterer) ParseOwnershipTransferred(log types.Log) (*RewardManagerOwnershipTransferred, error)
func (*RewardManagerFilterer) ParseRewardRecipientsUpdated ¶
func (_RewardManager *RewardManagerFilterer) ParseRewardRecipientsUpdated(log types.Log) (*RewardManagerRewardRecipientsUpdated, error)
func (*RewardManagerFilterer) ParseRewardsClaimed ¶
func (_RewardManager *RewardManagerFilterer) ParseRewardsClaimed(log types.Log) (*RewardManagerRewardsClaimed, error)
func (*RewardManagerFilterer) WatchFeeManagerUpdated ¶
func (_RewardManager *RewardManagerFilterer) WatchFeeManagerUpdated(opts *bind.WatchOpts, sink chan<- *RewardManagerFeeManagerUpdated) (event.Subscription, error)
func (*RewardManagerFilterer) WatchFeePaid ¶
func (_RewardManager *RewardManagerFilterer) WatchFeePaid(opts *bind.WatchOpts, sink chan<- *RewardManagerFeePaid) (event.Subscription, error)
func (*RewardManagerFilterer) WatchOwnershipTransferRequested ¶
func (_RewardManager *RewardManagerFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *RewardManagerOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*RewardManagerFilterer) WatchOwnershipTransferred ¶
func (_RewardManager *RewardManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RewardManagerOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*RewardManagerFilterer) WatchRewardRecipientsUpdated ¶
func (_RewardManager *RewardManagerFilterer) WatchRewardRecipientsUpdated(opts *bind.WatchOpts, sink chan<- *RewardManagerRewardRecipientsUpdated, poolId [][32]byte) (event.Subscription, error)
func (*RewardManagerFilterer) WatchRewardsClaimed ¶
func (_RewardManager *RewardManagerFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *RewardManagerRewardsClaimed, poolId [][32]byte, recipient []common.Address) (event.Subscription, error)
type RewardManagerInterface ¶
type RewardManagerInterface interface { GetAvailableRewardPoolIds(opts *bind.CallOpts, recipient common.Address, startIndex *big.Int, endIndex *big.Int) ([][32]byte, error) ILinkAddress(opts *bind.CallOpts) (common.Address, error) Owner(opts *bind.CallOpts) (common.Address, error) SFeeManagerAddress(opts *bind.CallOpts) (common.Address, error) SRegisteredPoolIds(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error) SRewardRecipientWeights(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error) SRewardRecipientWeightsSet(opts *bind.CallOpts, arg0 [32]byte) (bool, error) STotalRewardRecipientFees(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error) STotalRewardRecipientFeesLastClaimedAmounts(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) TypeAndVersion(opts *bind.CallOpts) (string, error) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) ClaimRewards(opts *bind.TransactOpts, poolIds [][32]byte) (*types.Transaction, error) OnFeePaid(opts *bind.TransactOpts, payments []IRewardManagerFeePayment, payer common.Address) (*types.Transaction, error) PayRecipients(opts *bind.TransactOpts, poolId [32]byte, recipients []common.Address) (*types.Transaction, error) SetFeeManager(opts *bind.TransactOpts, newFeeManagerAddress common.Address) (*types.Transaction, error) SetRewardRecipients(opts *bind.TransactOpts, poolId [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) UpdateRewardRecipients(opts *bind.TransactOpts, poolId [32]byte, newRewardRecipients []CommonAddressAndWeight) (*types.Transaction, error) FilterFeeManagerUpdated(opts *bind.FilterOpts) (*RewardManagerFeeManagerUpdatedIterator, error) WatchFeeManagerUpdated(opts *bind.WatchOpts, sink chan<- *RewardManagerFeeManagerUpdated) (event.Subscription, error) ParseFeeManagerUpdated(log types.Log) (*RewardManagerFeeManagerUpdated, error) FilterFeePaid(opts *bind.FilterOpts) (*RewardManagerFeePaidIterator, error) WatchFeePaid(opts *bind.WatchOpts, sink chan<- *RewardManagerFeePaid) (event.Subscription, error) ParseFeePaid(log types.Log) (*RewardManagerFeePaid, error) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardManagerOwnershipTransferRequestedIterator, error) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *RewardManagerOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferRequested(log types.Log) (*RewardManagerOwnershipTransferRequested, error) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardManagerOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RewardManagerOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*RewardManagerOwnershipTransferred, error) FilterRewardRecipientsUpdated(opts *bind.FilterOpts, poolId [][32]byte) (*RewardManagerRewardRecipientsUpdatedIterator, error) WatchRewardRecipientsUpdated(opts *bind.WatchOpts, sink chan<- *RewardManagerRewardRecipientsUpdated, poolId [][32]byte) (event.Subscription, error) ParseRewardRecipientsUpdated(log types.Log) (*RewardManagerRewardRecipientsUpdated, error) FilterRewardsClaimed(opts *bind.FilterOpts, poolId [][32]byte, recipient []common.Address) (*RewardManagerRewardsClaimedIterator, error) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *RewardManagerRewardsClaimed, poolId [][32]byte, recipient []common.Address) (event.Subscription, error) ParseRewardsClaimed(log types.Log) (*RewardManagerRewardsClaimed, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type RewardManagerOwnershipTransferRequested ¶
type RewardManagerOwnershipTransferRequested struct { From common.Address To common.Address Raw types.Log }
func (RewardManagerOwnershipTransferRequested) Topic ¶
func (RewardManagerOwnershipTransferRequested) Topic() common.Hash
type RewardManagerOwnershipTransferRequestedIterator ¶
type RewardManagerOwnershipTransferRequestedIterator struct { Event *RewardManagerOwnershipTransferRequested // contains filtered or unexported fields }
func (*RewardManagerOwnershipTransferRequestedIterator) Close ¶
func (it *RewardManagerOwnershipTransferRequestedIterator) Close() error
func (*RewardManagerOwnershipTransferRequestedIterator) Error ¶
func (it *RewardManagerOwnershipTransferRequestedIterator) Error() error
func (*RewardManagerOwnershipTransferRequestedIterator) Next ¶
func (it *RewardManagerOwnershipTransferRequestedIterator) Next() bool
type RewardManagerOwnershipTransferred ¶
type RewardManagerOwnershipTransferred struct { From common.Address To common.Address Raw types.Log }
func (RewardManagerOwnershipTransferred) Topic ¶
func (RewardManagerOwnershipTransferred) Topic() common.Hash
type RewardManagerOwnershipTransferredIterator ¶
type RewardManagerOwnershipTransferredIterator struct { Event *RewardManagerOwnershipTransferred // contains filtered or unexported fields }
func (*RewardManagerOwnershipTransferredIterator) Close ¶
func (it *RewardManagerOwnershipTransferredIterator) Close() error
func (*RewardManagerOwnershipTransferredIterator) Error ¶
func (it *RewardManagerOwnershipTransferredIterator) Error() error
func (*RewardManagerOwnershipTransferredIterator) Next ¶
func (it *RewardManagerOwnershipTransferredIterator) Next() bool
type RewardManagerRaw ¶
type RewardManagerRaw struct {
Contract *RewardManager
}
func (*RewardManagerRaw) Call ¶
func (_RewardManager *RewardManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*RewardManagerRaw) Transact ¶
func (_RewardManager *RewardManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*RewardManagerRaw) Transfer ¶
func (_RewardManager *RewardManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type RewardManagerRewardRecipientsUpdated ¶
type RewardManagerRewardRecipientsUpdated struct { PoolId [32]byte NewRewardRecipients []CommonAddressAndWeight Raw types.Log }
func (RewardManagerRewardRecipientsUpdated) Topic ¶
func (RewardManagerRewardRecipientsUpdated) Topic() common.Hash
type RewardManagerRewardRecipientsUpdatedIterator ¶
type RewardManagerRewardRecipientsUpdatedIterator struct { Event *RewardManagerRewardRecipientsUpdated // contains filtered or unexported fields }
func (*RewardManagerRewardRecipientsUpdatedIterator) Close ¶
func (it *RewardManagerRewardRecipientsUpdatedIterator) Close() error
func (*RewardManagerRewardRecipientsUpdatedIterator) Error ¶
func (it *RewardManagerRewardRecipientsUpdatedIterator) Error() error
func (*RewardManagerRewardRecipientsUpdatedIterator) Next ¶
func (it *RewardManagerRewardRecipientsUpdatedIterator) Next() bool
type RewardManagerRewardsClaimed ¶
type RewardManagerRewardsClaimed struct { PoolId [32]byte Recipient common.Address Quantity *big.Int Raw types.Log }
func (RewardManagerRewardsClaimed) Topic ¶
func (RewardManagerRewardsClaimed) Topic() common.Hash
type RewardManagerRewardsClaimedIterator ¶
type RewardManagerRewardsClaimedIterator struct { Event *RewardManagerRewardsClaimed // contains filtered or unexported fields }
func (*RewardManagerRewardsClaimedIterator) Close ¶
func (it *RewardManagerRewardsClaimedIterator) Close() error
func (*RewardManagerRewardsClaimedIterator) Error ¶
func (it *RewardManagerRewardsClaimedIterator) Error() error
func (*RewardManagerRewardsClaimedIterator) Next ¶
func (it *RewardManagerRewardsClaimedIterator) Next() bool
type RewardManagerSession ¶
type RewardManagerSession struct { Contract *RewardManager CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*RewardManagerSession) AcceptOwnership ¶
func (_RewardManager *RewardManagerSession) AcceptOwnership() (*types.Transaction, error)
func (*RewardManagerSession) ClaimRewards ¶
func (_RewardManager *RewardManagerSession) ClaimRewards(poolIds [][32]byte) (*types.Transaction, error)
func (*RewardManagerSession) GetAvailableRewardPoolIds ¶
func (*RewardManagerSession) ILinkAddress ¶ added in v2.6.0
func (_RewardManager *RewardManagerSession) ILinkAddress() (common.Address, error)
func (*RewardManagerSession) OnFeePaid ¶
func (_RewardManager *RewardManagerSession) OnFeePaid(payments []IRewardManagerFeePayment, payer common.Address) (*types.Transaction, error)
func (*RewardManagerSession) Owner ¶
func (_RewardManager *RewardManagerSession) Owner() (common.Address, error)
func (*RewardManagerSession) PayRecipients ¶
func (_RewardManager *RewardManagerSession) PayRecipients(poolId [32]byte, recipients []common.Address) (*types.Transaction, error)
func (*RewardManagerSession) SFeeManagerAddress ¶
func (_RewardManager *RewardManagerSession) SFeeManagerAddress() (common.Address, error)
func (*RewardManagerSession) SRegisteredPoolIds ¶
func (_RewardManager *RewardManagerSession) SRegisteredPoolIds(arg0 *big.Int) ([32]byte, error)
func (*RewardManagerSession) SRewardRecipientWeights ¶
func (*RewardManagerSession) SRewardRecipientWeightsSet ¶ added in v2.6.0
func (_RewardManager *RewardManagerSession) SRewardRecipientWeightsSet(arg0 [32]byte) (bool, error)
func (*RewardManagerSession) STotalRewardRecipientFees ¶
func (_RewardManager *RewardManagerSession) STotalRewardRecipientFees(arg0 [32]byte) (*big.Int, error)
func (*RewardManagerSession) STotalRewardRecipientFeesLastClaimedAmounts ¶ added in v2.6.0
func (*RewardManagerSession) SetFeeManager ¶
func (_RewardManager *RewardManagerSession) SetFeeManager(newFeeManagerAddress common.Address) (*types.Transaction, error)
func (*RewardManagerSession) SetRewardRecipients ¶
func (_RewardManager *RewardManagerSession) SetRewardRecipients(poolId [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
func (*RewardManagerSession) SupportsInterface ¶
func (_RewardManager *RewardManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
func (*RewardManagerSession) TransferOwnership ¶
func (_RewardManager *RewardManagerSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*RewardManagerSession) TypeAndVersion ¶
func (_RewardManager *RewardManagerSession) TypeAndVersion() (string, error)
func (*RewardManagerSession) UpdateRewardRecipients ¶
func (_RewardManager *RewardManagerSession) UpdateRewardRecipients(poolId [32]byte, newRewardRecipients []CommonAddressAndWeight) (*types.Transaction, error)
type RewardManagerTransactor ¶
type RewardManagerTransactor struct {
// contains filtered or unexported fields
}
func NewRewardManagerTransactor ¶
func NewRewardManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*RewardManagerTransactor, error)
func (*RewardManagerTransactor) AcceptOwnership ¶
func (_RewardManager *RewardManagerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*RewardManagerTransactor) ClaimRewards ¶
func (_RewardManager *RewardManagerTransactor) ClaimRewards(opts *bind.TransactOpts, poolIds [][32]byte) (*types.Transaction, error)
func (*RewardManagerTransactor) OnFeePaid ¶
func (_RewardManager *RewardManagerTransactor) OnFeePaid(opts *bind.TransactOpts, payments []IRewardManagerFeePayment, payer common.Address) (*types.Transaction, error)
func (*RewardManagerTransactor) PayRecipients ¶
func (_RewardManager *RewardManagerTransactor) PayRecipients(opts *bind.TransactOpts, poolId [32]byte, recipients []common.Address) (*types.Transaction, error)
func (*RewardManagerTransactor) SetFeeManager ¶
func (_RewardManager *RewardManagerTransactor) SetFeeManager(opts *bind.TransactOpts, newFeeManagerAddress common.Address) (*types.Transaction, error)
func (*RewardManagerTransactor) SetRewardRecipients ¶
func (_RewardManager *RewardManagerTransactor) SetRewardRecipients(opts *bind.TransactOpts, poolId [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
func (*RewardManagerTransactor) TransferOwnership ¶
func (_RewardManager *RewardManagerTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
func (*RewardManagerTransactor) UpdateRewardRecipients ¶
func (_RewardManager *RewardManagerTransactor) UpdateRewardRecipients(opts *bind.TransactOpts, poolId [32]byte, newRewardRecipients []CommonAddressAndWeight) (*types.Transaction, error)
type RewardManagerTransactorRaw ¶
type RewardManagerTransactorRaw struct {
Contract *RewardManagerTransactor
}
func (*RewardManagerTransactorRaw) Transact ¶
func (_RewardManager *RewardManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*RewardManagerTransactorRaw) Transfer ¶
func (_RewardManager *RewardManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type RewardManagerTransactorSession ¶
type RewardManagerTransactorSession struct { Contract *RewardManagerTransactor TransactOpts bind.TransactOpts }
func (*RewardManagerTransactorSession) AcceptOwnership ¶
func (_RewardManager *RewardManagerTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*RewardManagerTransactorSession) ClaimRewards ¶
func (_RewardManager *RewardManagerTransactorSession) ClaimRewards(poolIds [][32]byte) (*types.Transaction, error)
func (*RewardManagerTransactorSession) OnFeePaid ¶
func (_RewardManager *RewardManagerTransactorSession) OnFeePaid(payments []IRewardManagerFeePayment, payer common.Address) (*types.Transaction, error)
func (*RewardManagerTransactorSession) PayRecipients ¶
func (_RewardManager *RewardManagerTransactorSession) PayRecipients(poolId [32]byte, recipients []common.Address) (*types.Transaction, error)
func (*RewardManagerTransactorSession) SetFeeManager ¶
func (_RewardManager *RewardManagerTransactorSession) SetFeeManager(newFeeManagerAddress common.Address) (*types.Transaction, error)
func (*RewardManagerTransactorSession) SetRewardRecipients ¶
func (_RewardManager *RewardManagerTransactorSession) SetRewardRecipients(poolId [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
func (*RewardManagerTransactorSession) TransferOwnership ¶
func (_RewardManager *RewardManagerTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*RewardManagerTransactorSession) UpdateRewardRecipients ¶
func (_RewardManager *RewardManagerTransactorSession) UpdateRewardRecipients(poolId [32]byte, newRewardRecipients []CommonAddressAndWeight) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.