Skip to main content
Version: v2.0_alpha

ISimpleRecipientRegistry

An interface for a simple recipient registry

getRecipient

function getRecipient(uint256 index) external view returns (address)

Get a recipient

Parameters

NameTypeDescription
indexuint256The index of the recipient

Return Values

NameTypeDescription
[0]addressThe address of the recipient

getRecipients

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

Get all recipients

Return Values

NameTypeDescription
[0]address[]The addresses of the recipients

getRecipientsNumber

function getRecipientsNumber() external view returns (uint256)

Get the number of recipients

Return Values

NameTypeDescription
[0]uint256The number of recipients