Skip to main content

For AI agents: the complete documentation index is at llms.txt. Markdown versions of pages are available by appending .md to the URL or sending Accept: text/markdown.

IOrionAccessControl

IOrionDepositAccessControl​

Deposit access control: who may request a deposit.

canRequestDeposit​

function canRequestDeposit(address sender, bytes data) external view returns (bool)

Check if a deposit request is allowed

Parameters​

NameTypeDescription
senderaddressThe address requesting the deposit
databytesAdditional data

Return Values​

NameTypeDescription
[0]boolTrue if the deposit request is allowed, false otherwise

IOrionHolderAccessControl​

Holder access control: who may hold vault shares.

canHoldShares​

function canHoldShares(address account) external view returns (bool)

Check if an account may hold vault shares

Parameters​

NameTypeDescription
accountaddressThe prospective share holder

Return Values​

NameTypeDescription
[0]boolTrue if the account may hold shares, false otherwise

IOrionTransferAccessControl​

Transfer access control: who may transfer vault shares.

canTransferShares​

function canTransferShares(address sender, bytes data) external view returns (bool)

Check if an account may transfer vault shares

Parameters​

NameTypeDescription
senderaddressThe prospective share sender
databytesAdditional data

Return Values​

NameTypeDescription
[0]boolTrue if the account may transfer shares, false otherwise