Documentation ¶
Index ¶
- Variables
- type CommonAddressAndWeight
- type CommonAsset
- type FeeManager
- type FeeManagerCaller
- func (_FeeManager *FeeManagerCaller) GetFeeAndReward(opts *bind.CallOpts, subscriber common.Address, report []byte, ...) (CommonAsset, CommonAsset, error)
- func (_FeeManager *FeeManagerCaller) LinkAvailableForPayment(opts *bind.CallOpts) (*big.Int, error)
- func (_FeeManager *FeeManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_FeeManager *FeeManagerCaller) SNativeSurcharge(opts *bind.CallOpts) (*big.Int, error)
- func (_FeeManager *FeeManagerCaller) SSubscriberDiscounts(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 common.Address) (*big.Int, error)
- func (_FeeManager *FeeManagerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_FeeManager *FeeManagerCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
- type FeeManagerCallerRaw
- type FeeManagerCallerSession
- func (_FeeManager *FeeManagerCallerSession) GetFeeAndReward(subscriber common.Address, report []byte, quote IFeeManagerQuote) (CommonAsset, CommonAsset, error)
- func (_FeeManager *FeeManagerCallerSession) LinkAvailableForPayment() (*big.Int, error)
- func (_FeeManager *FeeManagerCallerSession) Owner() (common.Address, error)
- func (_FeeManager *FeeManagerCallerSession) SNativeSurcharge() (*big.Int, error)
- func (_FeeManager *FeeManagerCallerSession) SSubscriberDiscounts(arg0 common.Address, arg1 [32]byte, arg2 common.Address) (*big.Int, error)
- func (_FeeManager *FeeManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_FeeManager *FeeManagerCallerSession) TypeAndVersion() (string, error)
- type FeeManagerFilterer
- func (_FeeManager *FeeManagerFilterer) FilterInsufficientLink(opts *bind.FilterOpts, configDigest [][32]byte) (*FeeManagerInsufficientLinkIterator, error)
- func (_FeeManager *FeeManagerFilterer) FilterNativeSurchargeUpdated(opts *bind.FilterOpts) (*FeeManagerNativeSurchargeUpdatedIterator, error)
- func (_FeeManager *FeeManagerFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FeeManagerOwnershipTransferRequestedIterator, error)
- func (_FeeManager *FeeManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FeeManagerOwnershipTransferredIterator, error)
- func (_FeeManager *FeeManagerFilterer) FilterSubscriberDiscountUpdated(opts *bind.FilterOpts, subscriber []common.Address, feedId [][32]byte) (*FeeManagerSubscriberDiscountUpdatedIterator, error)
- func (_FeeManager *FeeManagerFilterer) FilterWithdraw(opts *bind.FilterOpts) (*FeeManagerWithdrawIterator, error)
- func (_FeeManager *FeeManagerFilterer) ParseInsufficientLink(log types.Log) (*FeeManagerInsufficientLink, error)
- func (_FeeManager *FeeManagerFilterer) ParseNativeSurchargeUpdated(log types.Log) (*FeeManagerNativeSurchargeUpdated, error)
- func (_FeeManager *FeeManagerFilterer) ParseOwnershipTransferRequested(log types.Log) (*FeeManagerOwnershipTransferRequested, error)
- func (_FeeManager *FeeManagerFilterer) ParseOwnershipTransferred(log types.Log) (*FeeManagerOwnershipTransferred, error)
- func (_FeeManager *FeeManagerFilterer) ParseSubscriberDiscountUpdated(log types.Log) (*FeeManagerSubscriberDiscountUpdated, error)
- func (_FeeManager *FeeManagerFilterer) ParseWithdraw(log types.Log) (*FeeManagerWithdraw, error)
- func (_FeeManager *FeeManagerFilterer) WatchInsufficientLink(opts *bind.WatchOpts, sink chan<- *FeeManagerInsufficientLink, ...) (event.Subscription, error)
- func (_FeeManager *FeeManagerFilterer) WatchNativeSurchargeUpdated(opts *bind.WatchOpts, sink chan<- *FeeManagerNativeSurchargeUpdated) (event.Subscription, error)
- func (_FeeManager *FeeManagerFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FeeManagerOwnershipTransferRequested, ...) (event.Subscription, error)
- func (_FeeManager *FeeManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FeeManagerOwnershipTransferred, ...) (event.Subscription, error)
- func (_FeeManager *FeeManagerFilterer) WatchSubscriberDiscountUpdated(opts *bind.WatchOpts, sink chan<- *FeeManagerSubscriberDiscountUpdated, ...) (event.Subscription, error)
- func (_FeeManager *FeeManagerFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *FeeManagerWithdraw) (event.Subscription, error)
- type FeeManagerInsufficientLink
- type FeeManagerInsufficientLinkIterator
- type FeeManagerInterface
- type FeeManagerNativeSurchargeUpdated
- type FeeManagerNativeSurchargeUpdatedIterator
- type FeeManagerOwnershipTransferRequested
- type FeeManagerOwnershipTransferRequestedIterator
- type FeeManagerOwnershipTransferred
- type FeeManagerOwnershipTransferredIterator
- type FeeManagerRaw
- func (_FeeManager *FeeManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FeeManager *FeeManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FeeManager *FeeManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FeeManagerSession
- func (_FeeManager *FeeManagerSession) AcceptOwnership() (*types.Transaction, error)
- func (_FeeManager *FeeManagerSession) GetFeeAndReward(subscriber common.Address, report []byte, quote IFeeManagerQuote) (CommonAsset, CommonAsset, error)
- func (_FeeManager *FeeManagerSession) LinkAvailableForPayment() (*big.Int, error)
- func (_FeeManager *FeeManagerSession) Owner() (common.Address, error)
- func (_FeeManager *FeeManagerSession) ProcessFee(payload []byte, subscriber common.Address) (*types.Transaction, error)
- func (_FeeManager *FeeManagerSession) SNativeSurcharge() (*big.Int, error)
- func (_FeeManager *FeeManagerSession) SSubscriberDiscounts(arg0 common.Address, arg1 [32]byte, arg2 common.Address) (*big.Int, error)
- func (_FeeManager *FeeManagerSession) SetFeeRecipients(configDigest [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
- func (_FeeManager *FeeManagerSession) SetNativeSurcharge(surcharge *big.Int) (*types.Transaction, error)
- func (_FeeManager *FeeManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_FeeManager *FeeManagerSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_FeeManager *FeeManagerSession) TypeAndVersion() (string, error)
- func (_FeeManager *FeeManagerSession) UpdateSubscriberDiscount(subscriber common.Address, feedId [32]byte, token common.Address, ...) (*types.Transaction, error)
- func (_FeeManager *FeeManagerSession) Withdraw(assetAddress common.Address, quantity *big.Int) (*types.Transaction, error)
- type FeeManagerSubscriberDiscountUpdated
- type FeeManagerSubscriberDiscountUpdatedIterator
- type FeeManagerTransactor
- func (_FeeManager *FeeManagerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactor) ProcessFee(opts *bind.TransactOpts, payload []byte, subscriber common.Address) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactor) SetFeeRecipients(opts *bind.TransactOpts, configDigest [32]byte, ...) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactor) SetNativeSurcharge(opts *bind.TransactOpts, surcharge *big.Int) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactor) UpdateSubscriberDiscount(opts *bind.TransactOpts, subscriber common.Address, feedId [32]byte, ...) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactor) Withdraw(opts *bind.TransactOpts, assetAddress common.Address, quantity *big.Int) (*types.Transaction, error)
- type FeeManagerTransactorRaw
- type FeeManagerTransactorSession
- func (_FeeManager *FeeManagerTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactorSession) ProcessFee(payload []byte, subscriber common.Address) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactorSession) SetFeeRecipients(configDigest [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactorSession) SetNativeSurcharge(surcharge *big.Int) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactorSession) UpdateSubscriberDiscount(subscriber common.Address, feedId [32]byte, token common.Address, ...) (*types.Transaction, error)
- func (_FeeManager *FeeManagerTransactorSession) Withdraw(assetAddress common.Address, quantity *big.Int) (*types.Transaction, error)
- type FeeManagerWithdraw
- type FeeManagerWithdrawIterator
- type IFeeManagerQuote
Constants ¶
This section is empty.
Variables ¶
View Source
var FeeManagerABI = FeeManagerMetaData.ABI
View Source
var FeeManagerBin = FeeManagerMetaData.Bin
View Source
var FeeManagerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_linkAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_nativeAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_proxyAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardManagerAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ExpiredReport\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDeposit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDiscount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidQuote\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReportVersion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSurcharge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"linkQuantity\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nativeQuantity\",\"type\":\"uint256\"}],\"name\":\"InsufficientLink\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSurcharge\",\"type\":\"uint256\"}],\"name\":\"NativeSurchargeUpdated\",\"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\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"discount\",\"type\":\"uint256\"}],\"name\":\"SubscriberDiscountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"adminAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"report\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"quoteAddress\",\"type\":\"address\"}],\"internalType\":\"structIFeeManager.Quote\",\"name\":\"quote\",\"type\":\"tuple\"}],\"name\":\"getFeeAndReward\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structCommon.Asset\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structCommon.Asset\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"linkAvailableForPayment\",\"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\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"processFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_nativeSurcharge\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"s_subscriberDiscounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"structCommon.AddressAndWeight[]\",\"name\":\"rewardRecipientAndWeights\",\"type\":\"tuple[]\"}],\"name\":\"setFeeRecipients\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"surcharge\",\"type\":\"uint256\"}],\"name\":\"setNativeSurcharge\",\"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\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"discount\",\"type\":\"uint256\"}],\"name\":\"updateSubscriberDiscount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6101006040523480156200001257600080fd5b506040516200259938038062002599833981016040819052620000359162000288565b33806000816200008c5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620000bf57620000bf81620001c0565b5050506001600160a01b0384161580620000e057506001600160a01b038316155b80620000f357506001600160a01b038216155b806200010657506001600160a01b038116155b15620001255760405163e6c4247b60e01b815260040160405180910390fd5b6001600160a01b03848116608081905284821660a05283821660c05290821660e081905260405163095ea7b360e01b81526004810191909152600019602482015263095ea7b3906044016020604051808303816000875af11580156200018f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b59190620002e5565b505050505062000310565b336001600160a01b038216036200021a5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000083565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b80516001600160a01b03811681146200028357600080fd5b919050565b600080600080608085870312156200029f57600080fd5b620002aa856200026b565b9350620002ba602086016200026b565b9250620002ca604086016200026b565b9150620002da606086016200026b565b905092959194509250565b600060208284031215620002f857600080fd5b815180151581146200030957600080fd5b9392505050565b60805160a05160c05160e0516121ed620003ac6000396000818161041b01528181610f38015261118e0152600081816103840152610bc50152600081816106b301528181610706015281816109c501528181610d3001528181610df701526112fa0152600081816106d8015281816107610152818161095001528181610b0501528181610eb70152818161107a01526112a301526121ed6000f3fe6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063f1387e1611610059578063f1387e16146102d6578063f237f1a8146102e9578063f2fde38b14610309578063f3fef3a31461032957600080fd5b80638da5cb5b1461025e578063c541cbde14610293578063d09dc339146102c157600080fd5b806369fd2b34116100bb57806369fd2b34146101c95780636b54d8a6146101eb57806379ba50971461020b57806387d6d8431461022057600080fd5b806301ffc9a7146100e2578063181f5a771461015957806332f5f746146101a5575b600080fd5b3480156100ee57600080fd5b506101446100fd36600461175e565b7fffffffff00000000000000000000000000000000000000000000000000000000167ff1387e16000000000000000000000000000000000000000000000000000000001490565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b50604080518082018252601081527f4665654d616e6167657220302e302e31000000000000000000000000000000006020820152905161015091906117a7565b3480156101b157600080fd5b506101bb60035481565b604051908152602001610150565b3480156101d557600080fd5b506101e96101e4366004611813565b610349565b005b3480156101f757600080fd5b506101e9610206366004611892565b61048b565b34801561021757600080fd5b506101e9610510565b34801561022c57600080fd5b506101bb61023b3660046118cd565b600260209081526000938452604080852082529284528284209052825290205481565b34801561026a57600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610150565b34801561029f57600080fd5b506102b36102ae366004611a44565b610612565b604051610150929190611ae5565b3480156102cd57600080fd5b506101bb610ad4565b6101e96102e4366004611b39565b610b8a565b3480156102f557600080fd5b506101e9610304366004611bb1565b611257565b34801561031557600080fd5b506101e9610324366004611bf9565b6113fe565b34801561033557600080fd5b506101e9610344366004611c16565b611412565b60005473ffffffffffffffffffffffffffffffffffffffff1633148015906103a757503373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614155b156103de576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f633b5f6e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063633b5f6e9061045490869086908690600401611c42565b600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b50505050505050565b6104936115ac565b670de0b6b3a76400008111156104d5576040517f05e8ac2900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038190556040518181527fa320ddc8288125050af9b9b75fd872443f8c722e70b14fc8475dbd630a4916e19060200160405180910390a150565b60015473ffffffffffffffffffffffffffffffffffffffff163314610596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526040805180820190915260008082526020820152600061066d87611cb1565b90507fffff00000000000000000000000000000000000000000000000000000000000080821690810161070457505073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811683527f00000000000000000000000000000000000000000000000000000000000000001681529092509050610acc565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16876000015173ffffffffffffffffffffffffffffffffffffffff16141580156107b457507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16876000015173ffffffffffffffffffffffffffffffffffffffff1614155b156107eb576040517ff861803000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080807ffffe000000000000000000000000000000000000000000000000000000000000840161085d578a80602001905181019061082a9190611d49565b77ffffffffffffffffffffffffffffffffffffffffffffffff918216995016965063ffffffff1694506108ff9350505050565b7ffffd00000000000000000000000000000000000000000000000000000000000084016108cd578a8060200190518101906108989190611dc8565b77ffffffffffffffffffffffffffffffffffffffffffffffff9182169b5016985063ffffffff1696506108ff95505050505050565b6040517f52762c7400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42811015610939576040517fb6c405f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116808852602088018590528b51909116036109ae57855173ffffffffffffffffffffffffffffffffffffffff16875260208087015190880152610a1e565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168752600354610a1890610a0090670de0b6b3a7640000611e98565b610a0a9084611eab565b670de0b6b3a764000061162f565b60208801525b73ffffffffffffffffffffffffffffffffffffffff808d16600090815260026020908152604080832089845282528083208e5190941683529281529190205490880151670de0b6b3a764000090610a76908390611eab565b610a809190611ee8565b8860200151610a8f9190611f23565b886020018181525050610aab818860200151610a0a9190611eab565b8760200151610aba9190611f23565b60208801525095975093955050505050505b935093915050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b859190611f36565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314801590610be857503373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614155b15610c1f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff821603610c6e576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c7c83850185611fbd565b915050600081610c8b90611cb1565b6040805160208101909152600081529091507e010000000000000000000000000000000000000000000000000000000000007fffff000000000000000000000000000000000000000000000000000000000000831614610d12576000610cf38688018861208c565b9550505050505080806020019051810190610d0e9190612154565b9150505b600080610d20338685610612565b91509150600034600014610e84577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614610db7576040517fb2e532de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3483602001511115610df5576040517fb2e532de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db084602001516040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e6157600080fd5b505af1158015610e75573d6000803e3d6000fd5b50505050508260200151340390505b6000610e90898b612182565b9050836020015160001461120057835173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911603610f9b5760208301516040517fefb03fe90000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff8a8116602483015260448201929092527f00000000000000000000000000000000000000000000000000000000000000009091169063efb03fe990606401600060405180830381600087803b158015610f7e57600080fd5b505af1158015610f92573d6000803e3d6000fd5b50505050611200565b3460000361104c57835160208501516040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b8116600483015230602483015260448201929092529116906323b872dd906064016020604051808303816000875af1158015611026573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104a91906121be565b505b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa9190611f36565b8360200151111561114c5760208084015185820151604080519283529282015282917feb6f22018570d97db6df12dc94f202b4e2b2888a6a5d4bd179422c91b29dcdf7910160405180910390a2611200565b60208301516040517fefb03fe90000000000000000000000000000000000000000000000000000000081526004810183905230602482015260448101919091527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063efb03fe990606401600060405180830381600087803b1580156111e757600080fd5b505af11580156111fb573d6000803e3d6000fd5b505050505b811561124b5760405173ffffffffffffffffffffffffffffffffffffffff89169083156108fc029084906000818181858888f19350505050158015611249573d6000803e3d6000fd5b505b50505050505050505050565b61125f6115ac565b670de0b6b3a76400008111156112a1576040517f997ea36000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561134957507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611380576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84811660008181526002602090815260408083208884528252808320948716808452948252918290208590558151938452830184905285927f41eb9ccd292d5906dc1f0ec108bed3e2b966e3071e033df938f7215f6d30ca84910160405180910390a350505050565b6114066115ac565b61140f81611669565b50565b61141a6115ac565b73ffffffffffffffffffffffffffffffffffffffff8216611480576000805460405173ffffffffffffffffffffffffffffffffffffffff9091169183156108fc02918491818181858888f1935050505015801561147b573d6000803e3d6000fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114bb60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602481018490526044016020604051808303816000875af115801561152d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155191906121be565b506040805133815273ffffffffffffffffffffffffffffffffffffffff841660208201529081018290527f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9060600160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015260640161058d565b565b6000821561165d5781611643600185611f23565b61164d9190611ee8565b611658906001611e98565b611660565b60005b90505b92915050565b3373ffffffffffffffffffffffffffffffffffffffff8216036116e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640161058d565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60006020828403121561177057600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146117a057600080fd5b9392505050565b600060208083528351808285015260005b818110156117d4578581018301518582016040015282016117b8565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b60008060006040848603121561182857600080fd5b83359250602084013567ffffffffffffffff8082111561184757600080fd5b818601915086601f83011261185b57600080fd5b81358181111561186a57600080fd5b8760208260061b850101111561187f57600080fd5b6020830194508093505050509250925092565b6000602082840312156118a457600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461140f57600080fd5b6000806000606084860312156118e257600080fd5b83356118ed816118ab565b9250602084013591506040840135611904816118ab565b809150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516020810167ffffffffffffffff811182821017156119615761196161190f565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156119ae576119ae61190f565b604052919050565b600082601f8301126119c757600080fd5b813567ffffffffffffffff8111156119e1576119e161190f565b611a1260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611967565b818152846020838601011115611a2757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008385036060811215611a5a57600080fd5b8435611a65816118ab565b9350602085013567ffffffffffffffff811115611a8157600080fd5b611a8d878288016119b6565b93505060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc082011215611ac057600080fd5b50611ac961193e565b6040850135611ad7816118ab565b815292959194509192509050565b825173ffffffffffffffffffffffffffffffffffffffff1681526020808401519082015260808101825173ffffffffffffffffffffffffffffffffffffffff166040830152602083015160608301526117a0565b600080600060408486031215611b4e57600080fd5b833567ffffffffffffffff80821115611b6657600080fd5b818601915086601f830112611b7a57600080fd5b813581811115611b8957600080fd5b876020828501011115611b9b57600080fd5b60209283019550935050840135611904816118ab565b60008060008060808587031215611bc757600080fd5b8435611bd2816118ab565b9350602085013592506040850135611be9816118ab565b9396929550929360600135925050565b600060208284031215611c0b57600080fd5b81356117a0816118ab565b60008060408385031215611c2957600080fd5b8235611c34816118ab565b946020939093013593505050565b8381526040602080830182905282820184905260009190859060608501845b87811015611ca4578335611c74816118ab565b73ffffffffffffffffffffffffffffffffffffffff16825283830135838301529284019290840190600101611c61565b5098975050505050505050565b80516020808301519190811015611cf0577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8160200360031b1b821691505b50919050565b805163ffffffff81168114611d0a57600080fd5b919050565b8051601781900b8114611d0a57600080fd5b805177ffffffffffffffffffffffffffffffffffffffffffffffff81168114611d0a57600080fd5b600080600080600080600060e0888a031215611d6457600080fd5b87519650611d7460208901611cf6565b9550611d8260408901611d0f565b9450611d9060608901611cf6565b9350611d9e60808901611cf6565b9250611dac60a08901611d21565b9150611dba60c08901611d21565b905092959891949750929550565b60008060008060008060008060006101208a8c031215611de757600080fd5b89519850611df760208b01611cf6565b9750611e0560408b01611d0f565b9650611e1360608b01611d0f565b9550611e2160808b01611d0f565b9450611e2f60a08b01611cf6565b9350611e3d60c08b01611cf6565b9250611e4b60e08b01611d21565b9150611e5a6101008b01611d21565b90509295985092959850929598565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018082111561166357611663611e69565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611ee357611ee3611e69565b500290565b600082611f1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8181038181111561166357611663611e69565b600060208284031215611f4857600080fd5b5051919050565b600082601f830112611f6057600080fd5b6040516060810181811067ffffffffffffffff82111715611f8357611f8361190f565b604052806060840185811115611f9857600080fd5b845b81811015611fb2578035835260209283019201611f9a565b509195945050505050565b60008060808385031215611fd057600080fd5b611fda8484611f4f565b9150606083013567ffffffffffffffff811115611ff657600080fd5b612002858286016119b6565b9150509250929050565b600082601f83011261201d57600080fd5b8135602067ffffffffffffffff8211156120395761203961190f565b8160051b612048828201611967565b928352848101820192828101908785111561206257600080fd5b83870192505b8483101561208157823582529183019190830190612068565b979650505050505050565b60008060008060008061010087890312156120a657600080fd5b6120b08888611f4f565b9550606087013567ffffffffffffffff808211156120cd57600080fd5b6120d98a838b016119b6565b965060808901359150808211156120ef57600080fd5b6120fb8a838b0161200c565b955060a089013591508082111561211157600080fd5b61211d8a838b0161200c565b945060c0890135935060e089013591508082111561213a57600080fd5b5061214789828a016119b6565b9150509295509295509295565b60006020828403121561216657600080fd5b61216e61193e565b8251612179816118ab565b81529392505050565b80356020831015611663577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b1692915050565b6000602082840312156121d057600080fd5b815180151581146117a057600080fdfea164736f6c6343000810000a",
}
Functions ¶
This section is empty.
Types ¶
type CommonAddressAndWeight ¶
type FeeManager ¶
type FeeManager struct { FeeManagerCaller FeeManagerTransactor FeeManagerFilterer // contains filtered or unexported fields }
func DeployFeeManager ¶
func DeployFeeManager(auth *bind.TransactOpts, backend bind.ContractBackend, _linkAddress common.Address, _nativeAddress common.Address, _proxyAddress common.Address, _rewardManagerAddress common.Address) (common.Address, *types.Transaction, *FeeManager, error)
func NewFeeManager ¶
func NewFeeManager(address common.Address, backend bind.ContractBackend) (*FeeManager, error)
func (*FeeManager) Address ¶
func (_FeeManager *FeeManager) Address() common.Address
type FeeManagerCaller ¶
type FeeManagerCaller struct {
// contains filtered or unexported fields
}
func NewFeeManagerCaller ¶
func NewFeeManagerCaller(address common.Address, caller bind.ContractCaller) (*FeeManagerCaller, error)
func (*FeeManagerCaller) GetFeeAndReward ¶
func (_FeeManager *FeeManagerCaller) GetFeeAndReward(opts *bind.CallOpts, subscriber common.Address, report []byte, quote IFeeManagerQuote) (CommonAsset, CommonAsset, error)
func (*FeeManagerCaller) LinkAvailableForPayment ¶
func (*FeeManagerCaller) SNativeSurcharge ¶
func (*FeeManagerCaller) SSubscriberDiscounts ¶
func (*FeeManagerCaller) SupportsInterface ¶
func (*FeeManagerCaller) TypeAndVersion ¶
func (_FeeManager *FeeManagerCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
type FeeManagerCallerRaw ¶
type FeeManagerCallerRaw struct {
Contract *FeeManagerCaller
}
type FeeManagerCallerSession ¶
type FeeManagerCallerSession struct { Contract *FeeManagerCaller CallOpts bind.CallOpts }
func (*FeeManagerCallerSession) GetFeeAndReward ¶
func (_FeeManager *FeeManagerCallerSession) GetFeeAndReward(subscriber common.Address, report []byte, quote IFeeManagerQuote) (CommonAsset, CommonAsset, error)
func (*FeeManagerCallerSession) LinkAvailableForPayment ¶
func (_FeeManager *FeeManagerCallerSession) LinkAvailableForPayment() (*big.Int, error)
func (*FeeManagerCallerSession) Owner ¶
func (_FeeManager *FeeManagerCallerSession) Owner() (common.Address, error)
func (*FeeManagerCallerSession) SNativeSurcharge ¶
func (_FeeManager *FeeManagerCallerSession) SNativeSurcharge() (*big.Int, error)
func (*FeeManagerCallerSession) SSubscriberDiscounts ¶
func (*FeeManagerCallerSession) SupportsInterface ¶
func (_FeeManager *FeeManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
func (*FeeManagerCallerSession) TypeAndVersion ¶
func (_FeeManager *FeeManagerCallerSession) TypeAndVersion() (string, error)
type FeeManagerFilterer ¶
type FeeManagerFilterer struct {
// contains filtered or unexported fields
}
func NewFeeManagerFilterer ¶
func NewFeeManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*FeeManagerFilterer, error)
func (*FeeManagerFilterer) FilterInsufficientLink ¶
func (_FeeManager *FeeManagerFilterer) FilterInsufficientLink(opts *bind.FilterOpts, configDigest [][32]byte) (*FeeManagerInsufficientLinkIterator, error)
func (*FeeManagerFilterer) FilterNativeSurchargeUpdated ¶
func (_FeeManager *FeeManagerFilterer) FilterNativeSurchargeUpdated(opts *bind.FilterOpts) (*FeeManagerNativeSurchargeUpdatedIterator, error)
func (*FeeManagerFilterer) FilterOwnershipTransferRequested ¶
func (_FeeManager *FeeManagerFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FeeManagerOwnershipTransferRequestedIterator, error)
func (*FeeManagerFilterer) FilterOwnershipTransferred ¶
func (_FeeManager *FeeManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FeeManagerOwnershipTransferredIterator, error)
func (*FeeManagerFilterer) FilterSubscriberDiscountUpdated ¶
func (_FeeManager *FeeManagerFilterer) FilterSubscriberDiscountUpdated(opts *bind.FilterOpts, subscriber []common.Address, feedId [][32]byte) (*FeeManagerSubscriberDiscountUpdatedIterator, error)
func (*FeeManagerFilterer) FilterWithdraw ¶
func (_FeeManager *FeeManagerFilterer) FilterWithdraw(opts *bind.FilterOpts) (*FeeManagerWithdrawIterator, error)
func (*FeeManagerFilterer) ParseInsufficientLink ¶
func (_FeeManager *FeeManagerFilterer) ParseInsufficientLink(log types.Log) (*FeeManagerInsufficientLink, error)
func (*FeeManagerFilterer) ParseNativeSurchargeUpdated ¶
func (_FeeManager *FeeManagerFilterer) ParseNativeSurchargeUpdated(log types.Log) (*FeeManagerNativeSurchargeUpdated, error)
func (*FeeManagerFilterer) ParseOwnershipTransferRequested ¶
func (_FeeManager *FeeManagerFilterer) ParseOwnershipTransferRequested(log types.Log) (*FeeManagerOwnershipTransferRequested, error)
func (*FeeManagerFilterer) ParseOwnershipTransferred ¶
func (_FeeManager *FeeManagerFilterer) ParseOwnershipTransferred(log types.Log) (*FeeManagerOwnershipTransferred, error)
func (*FeeManagerFilterer) ParseSubscriberDiscountUpdated ¶
func (_FeeManager *FeeManagerFilterer) ParseSubscriberDiscountUpdated(log types.Log) (*FeeManagerSubscriberDiscountUpdated, error)
func (*FeeManagerFilterer) ParseWithdraw ¶
func (_FeeManager *FeeManagerFilterer) ParseWithdraw(log types.Log) (*FeeManagerWithdraw, error)
func (*FeeManagerFilterer) WatchInsufficientLink ¶
func (_FeeManager *FeeManagerFilterer) WatchInsufficientLink(opts *bind.WatchOpts, sink chan<- *FeeManagerInsufficientLink, configDigest [][32]byte) (event.Subscription, error)
func (*FeeManagerFilterer) WatchNativeSurchargeUpdated ¶
func (_FeeManager *FeeManagerFilterer) WatchNativeSurchargeUpdated(opts *bind.WatchOpts, sink chan<- *FeeManagerNativeSurchargeUpdated) (event.Subscription, error)
func (*FeeManagerFilterer) WatchOwnershipTransferRequested ¶
func (_FeeManager *FeeManagerFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FeeManagerOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*FeeManagerFilterer) WatchOwnershipTransferred ¶
func (_FeeManager *FeeManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FeeManagerOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*FeeManagerFilterer) WatchSubscriberDiscountUpdated ¶
func (_FeeManager *FeeManagerFilterer) WatchSubscriberDiscountUpdated(opts *bind.WatchOpts, sink chan<- *FeeManagerSubscriberDiscountUpdated, subscriber []common.Address, feedId [][32]byte) (event.Subscription, error)
func (*FeeManagerFilterer) WatchWithdraw ¶
func (_FeeManager *FeeManagerFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *FeeManagerWithdraw) (event.Subscription, error)
type FeeManagerInsufficientLink ¶
type FeeManagerInsufficientLink struct { ConfigDigest [32]byte LinkQuantity *big.Int NativeQuantity *big.Int Raw types.Log }
func (FeeManagerInsufficientLink) Topic ¶
func (FeeManagerInsufficientLink) Topic() common.Hash
type FeeManagerInsufficientLinkIterator ¶
type FeeManagerInsufficientLinkIterator struct { Event *FeeManagerInsufficientLink // contains filtered or unexported fields }
func (*FeeManagerInsufficientLinkIterator) Close ¶
func (it *FeeManagerInsufficientLinkIterator) Close() error
func (*FeeManagerInsufficientLinkIterator) Error ¶
func (it *FeeManagerInsufficientLinkIterator) Error() error
func (*FeeManagerInsufficientLinkIterator) Next ¶
func (it *FeeManagerInsufficientLinkIterator) Next() bool
type FeeManagerInterface ¶
type FeeManagerInterface interface { GetFeeAndReward(opts *bind.CallOpts, subscriber common.Address, report []byte, quote IFeeManagerQuote) (CommonAsset, CommonAsset, error) LinkAvailableForPayment(opts *bind.CallOpts) (*big.Int, error) Owner(opts *bind.CallOpts) (common.Address, error) SNativeSurcharge(opts *bind.CallOpts) (*big.Int, error) SSubscriberDiscounts(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte, arg2 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) ProcessFee(opts *bind.TransactOpts, payload []byte, subscriber common.Address) (*types.Transaction, error) SetFeeRecipients(opts *bind.TransactOpts, configDigest [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error) SetNativeSurcharge(opts *bind.TransactOpts, surcharge *big.Int) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) UpdateSubscriberDiscount(opts *bind.TransactOpts, subscriber common.Address, feedId [32]byte, token common.Address, discount *big.Int) (*types.Transaction, error) Withdraw(opts *bind.TransactOpts, assetAddress common.Address, quantity *big.Int) (*types.Transaction, error) FilterInsufficientLink(opts *bind.FilterOpts, configDigest [][32]byte) (*FeeManagerInsufficientLinkIterator, error) WatchInsufficientLink(opts *bind.WatchOpts, sink chan<- *FeeManagerInsufficientLink, configDigest [][32]byte) (event.Subscription, error) ParseInsufficientLink(log types.Log) (*FeeManagerInsufficientLink, error) FilterNativeSurchargeUpdated(opts *bind.FilterOpts) (*FeeManagerNativeSurchargeUpdatedIterator, error) WatchNativeSurchargeUpdated(opts *bind.WatchOpts, sink chan<- *FeeManagerNativeSurchargeUpdated) (event.Subscription, error) ParseNativeSurchargeUpdated(log types.Log) (*FeeManagerNativeSurchargeUpdated, error) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FeeManagerOwnershipTransferRequestedIterator, error) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FeeManagerOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferRequested(log types.Log) (*FeeManagerOwnershipTransferRequested, error) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FeeManagerOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FeeManagerOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*FeeManagerOwnershipTransferred, error) FilterSubscriberDiscountUpdated(opts *bind.FilterOpts, subscriber []common.Address, feedId [][32]byte) (*FeeManagerSubscriberDiscountUpdatedIterator, error) WatchSubscriberDiscountUpdated(opts *bind.WatchOpts, sink chan<- *FeeManagerSubscriberDiscountUpdated, subscriber []common.Address, feedId [][32]byte) (event.Subscription, error) ParseSubscriberDiscountUpdated(log types.Log) (*FeeManagerSubscriberDiscountUpdated, error) FilterWithdraw(opts *bind.FilterOpts) (*FeeManagerWithdrawIterator, error) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *FeeManagerWithdraw) (event.Subscription, error) ParseWithdraw(log types.Log) (*FeeManagerWithdraw, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type FeeManagerNativeSurchargeUpdated ¶
func (FeeManagerNativeSurchargeUpdated) Topic ¶
func (FeeManagerNativeSurchargeUpdated) Topic() common.Hash
type FeeManagerNativeSurchargeUpdatedIterator ¶
type FeeManagerNativeSurchargeUpdatedIterator struct { Event *FeeManagerNativeSurchargeUpdated // contains filtered or unexported fields }
func (*FeeManagerNativeSurchargeUpdatedIterator) Close ¶
func (it *FeeManagerNativeSurchargeUpdatedIterator) Close() error
func (*FeeManagerNativeSurchargeUpdatedIterator) Error ¶
func (it *FeeManagerNativeSurchargeUpdatedIterator) Error() error
func (*FeeManagerNativeSurchargeUpdatedIterator) Next ¶
func (it *FeeManagerNativeSurchargeUpdatedIterator) Next() bool
type FeeManagerOwnershipTransferRequested ¶
type FeeManagerOwnershipTransferRequested struct { From common.Address To common.Address Raw types.Log }
func (FeeManagerOwnershipTransferRequested) Topic ¶
func (FeeManagerOwnershipTransferRequested) Topic() common.Hash
type FeeManagerOwnershipTransferRequestedIterator ¶
type FeeManagerOwnershipTransferRequestedIterator struct { Event *FeeManagerOwnershipTransferRequested // contains filtered or unexported fields }
func (*FeeManagerOwnershipTransferRequestedIterator) Close ¶
func (it *FeeManagerOwnershipTransferRequestedIterator) Close() error
func (*FeeManagerOwnershipTransferRequestedIterator) Error ¶
func (it *FeeManagerOwnershipTransferRequestedIterator) Error() error
func (*FeeManagerOwnershipTransferRequestedIterator) Next ¶
func (it *FeeManagerOwnershipTransferRequestedIterator) Next() bool
type FeeManagerOwnershipTransferred ¶
func (FeeManagerOwnershipTransferred) Topic ¶
func (FeeManagerOwnershipTransferred) Topic() common.Hash
type FeeManagerOwnershipTransferredIterator ¶
type FeeManagerOwnershipTransferredIterator struct { Event *FeeManagerOwnershipTransferred // contains filtered or unexported fields }
func (*FeeManagerOwnershipTransferredIterator) Close ¶
func (it *FeeManagerOwnershipTransferredIterator) Close() error
func (*FeeManagerOwnershipTransferredIterator) Error ¶
func (it *FeeManagerOwnershipTransferredIterator) Error() error
func (*FeeManagerOwnershipTransferredIterator) Next ¶
func (it *FeeManagerOwnershipTransferredIterator) Next() bool
type FeeManagerRaw ¶
type FeeManagerRaw struct {
Contract *FeeManager
}
func (*FeeManagerRaw) Call ¶
func (_FeeManager *FeeManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*FeeManagerRaw) Transact ¶
func (_FeeManager *FeeManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*FeeManagerRaw) Transfer ¶
func (_FeeManager *FeeManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type FeeManagerSession ¶
type FeeManagerSession struct { Contract *FeeManager CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*FeeManagerSession) AcceptOwnership ¶
func (_FeeManager *FeeManagerSession) AcceptOwnership() (*types.Transaction, error)
func (*FeeManagerSession) GetFeeAndReward ¶
func (_FeeManager *FeeManagerSession) GetFeeAndReward(subscriber common.Address, report []byte, quote IFeeManagerQuote) (CommonAsset, CommonAsset, error)
func (*FeeManagerSession) LinkAvailableForPayment ¶
func (_FeeManager *FeeManagerSession) LinkAvailableForPayment() (*big.Int, error)
func (*FeeManagerSession) Owner ¶
func (_FeeManager *FeeManagerSession) Owner() (common.Address, error)
func (*FeeManagerSession) ProcessFee ¶
func (_FeeManager *FeeManagerSession) ProcessFee(payload []byte, subscriber common.Address) (*types.Transaction, error)
func (*FeeManagerSession) SNativeSurcharge ¶
func (_FeeManager *FeeManagerSession) SNativeSurcharge() (*big.Int, error)
func (*FeeManagerSession) SSubscriberDiscounts ¶
func (*FeeManagerSession) SetFeeRecipients ¶
func (_FeeManager *FeeManagerSession) SetFeeRecipients(configDigest [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
func (*FeeManagerSession) SetNativeSurcharge ¶
func (_FeeManager *FeeManagerSession) SetNativeSurcharge(surcharge *big.Int) (*types.Transaction, error)
func (*FeeManagerSession) SupportsInterface ¶
func (_FeeManager *FeeManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
func (*FeeManagerSession) TransferOwnership ¶
func (_FeeManager *FeeManagerSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*FeeManagerSession) TypeAndVersion ¶
func (_FeeManager *FeeManagerSession) TypeAndVersion() (string, error)
func (*FeeManagerSession) UpdateSubscriberDiscount ¶
func (*FeeManagerSession) Withdraw ¶
func (_FeeManager *FeeManagerSession) Withdraw(assetAddress common.Address, quantity *big.Int) (*types.Transaction, error)
type FeeManagerSubscriberDiscountUpdated ¶
type FeeManagerSubscriberDiscountUpdated struct { Subscriber common.Address FeedId [32]byte Token common.Address Discount *big.Int Raw types.Log }
func (FeeManagerSubscriberDiscountUpdated) Topic ¶
func (FeeManagerSubscriberDiscountUpdated) Topic() common.Hash
type FeeManagerSubscriberDiscountUpdatedIterator ¶
type FeeManagerSubscriberDiscountUpdatedIterator struct { Event *FeeManagerSubscriberDiscountUpdated // contains filtered or unexported fields }
func (*FeeManagerSubscriberDiscountUpdatedIterator) Close ¶
func (it *FeeManagerSubscriberDiscountUpdatedIterator) Close() error
func (*FeeManagerSubscriberDiscountUpdatedIterator) Error ¶
func (it *FeeManagerSubscriberDiscountUpdatedIterator) Error() error
func (*FeeManagerSubscriberDiscountUpdatedIterator) Next ¶
func (it *FeeManagerSubscriberDiscountUpdatedIterator) Next() bool
type FeeManagerTransactor ¶
type FeeManagerTransactor struct {
// contains filtered or unexported fields
}
func NewFeeManagerTransactor ¶
func NewFeeManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*FeeManagerTransactor, error)
func (*FeeManagerTransactor) AcceptOwnership ¶
func (_FeeManager *FeeManagerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*FeeManagerTransactor) ProcessFee ¶
func (_FeeManager *FeeManagerTransactor) ProcessFee(opts *bind.TransactOpts, payload []byte, subscriber common.Address) (*types.Transaction, error)
func (*FeeManagerTransactor) SetFeeRecipients ¶
func (_FeeManager *FeeManagerTransactor) SetFeeRecipients(opts *bind.TransactOpts, configDigest [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
func (*FeeManagerTransactor) SetNativeSurcharge ¶
func (_FeeManager *FeeManagerTransactor) SetNativeSurcharge(opts *bind.TransactOpts, surcharge *big.Int) (*types.Transaction, error)
func (*FeeManagerTransactor) TransferOwnership ¶
func (_FeeManager *FeeManagerTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
func (*FeeManagerTransactor) UpdateSubscriberDiscount ¶
func (_FeeManager *FeeManagerTransactor) UpdateSubscriberDiscount(opts *bind.TransactOpts, subscriber common.Address, feedId [32]byte, token common.Address, discount *big.Int) (*types.Transaction, error)
func (*FeeManagerTransactor) Withdraw ¶
func (_FeeManager *FeeManagerTransactor) Withdraw(opts *bind.TransactOpts, assetAddress common.Address, quantity *big.Int) (*types.Transaction, error)
type FeeManagerTransactorRaw ¶
type FeeManagerTransactorRaw struct {
Contract *FeeManagerTransactor
}
func (*FeeManagerTransactorRaw) Transact ¶
func (_FeeManager *FeeManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*FeeManagerTransactorRaw) Transfer ¶
func (_FeeManager *FeeManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type FeeManagerTransactorSession ¶
type FeeManagerTransactorSession struct { Contract *FeeManagerTransactor TransactOpts bind.TransactOpts }
func (*FeeManagerTransactorSession) AcceptOwnership ¶
func (_FeeManager *FeeManagerTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*FeeManagerTransactorSession) ProcessFee ¶
func (_FeeManager *FeeManagerTransactorSession) ProcessFee(payload []byte, subscriber common.Address) (*types.Transaction, error)
func (*FeeManagerTransactorSession) SetFeeRecipients ¶
func (_FeeManager *FeeManagerTransactorSession) SetFeeRecipients(configDigest [32]byte, rewardRecipientAndWeights []CommonAddressAndWeight) (*types.Transaction, error)
func (*FeeManagerTransactorSession) SetNativeSurcharge ¶
func (_FeeManager *FeeManagerTransactorSession) SetNativeSurcharge(surcharge *big.Int) (*types.Transaction, error)
func (*FeeManagerTransactorSession) TransferOwnership ¶
func (_FeeManager *FeeManagerTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*FeeManagerTransactorSession) UpdateSubscriberDiscount ¶
func (*FeeManagerTransactorSession) Withdraw ¶
func (_FeeManager *FeeManagerTransactorSession) Withdraw(assetAddress common.Address, quantity *big.Int) (*types.Transaction, error)
type FeeManagerWithdraw ¶
type FeeManagerWithdraw struct { AdminAddress common.Address AssetAddress common.Address Quantity *big.Int Raw types.Log }
func (FeeManagerWithdraw) Topic ¶
func (FeeManagerWithdraw) Topic() common.Hash
type FeeManagerWithdrawIterator ¶
type FeeManagerWithdrawIterator struct { Event *FeeManagerWithdraw // contains filtered or unexported fields }
func (*FeeManagerWithdrawIterator) Close ¶
func (it *FeeManagerWithdrawIterator) Close() error
func (*FeeManagerWithdrawIterator) Error ¶
func (it *FeeManagerWithdrawIterator) Error() error
func (*FeeManagerWithdrawIterator) Next ¶
func (it *FeeManagerWithdrawIterator) Next() bool
type IFeeManagerQuote ¶
Click to show internal directories.
Click to hide internal directories.