Receiver
AuthorizedReceiver is an abstract contract inherited by operator and forwarder contracts.
API Reference
Methods
setAuthorizedSenders
function setAuthorizedSenders(address[] senders) external
Sets the fulfillment permission for a given node. Use true
to allow, false
to disallow.
Emits an AuthorizedSendersChanged event.
Parameters
Name | Type | Description |
---|---|---|
senders | address[] | The addresses of the authorized Chainlink node |
getAuthorizedSenders
function getAuthorizedSenders() external view returns (address[])
Retrieve a list of authorized senders.
Return values
Name | Type | Description |
---|---|---|
address[] | array of addresses |
isAuthorizedSender
function isAuthorizedSender(address sender) public view returns (bool)
Use this to check if a node is authorized to fulfill requests.
Parameters
Name | Type | Description |
---|---|---|
sender | address | The address of the Chainlink node |
Return values
Name | Type | Description |
---|---|---|
bool | The authorization status of the node |
Events
AuthorizedSendersChanged
event AuthorizedSendersChanged(address[] senders, address changedBy)