NEW

Introducing Transporter, a new bridging app powered by CCIP. Go cross-chain.

Back

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
NameTypeDescription
sendersaddress[]The addresses of the authorized Chainlink node

getAuthorizedSenders

function getAuthorizedSenders() external view returns (address[])

Retrieve a list of authorized senders.

Return values
NameTypeDescription
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
NameTypeDescription
senderaddressThe address of the Chainlink node
Return values
NameTypeDescription
boolThe authorization status of the node

Events

AuthorizedSendersChanged

event AuthorizedSendersChanged(address[] senders, address changedBy)

Stay updated on the latest Chainlink news