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.

IOrionEncryptedVault

IOrionEncryptedVault

Interface for Orion confidential vaults

submitIntent

function submitIntent(bytes intentCiphertext) external

Submit an encrypted portfolio intent

Parameters

NameTypeDescription
intentCiphertextbytesOpaque intent ciphertext

getPortfolio

function getPortfolio() external view returns (bytes portfolioCiphertext)

Returns the stored portfolio ciphertext

Return Values

NameTypeDescription
portfolioCiphertextbytesOpaque portfolio

getIntent

function getIntent() external view returns (bytes intentCiphertext)

Returns the stored intent ciphertext

Return Values

NameTypeDescription
intentCiphertextbytesOpaque intent

updateVaultState

function updateVaultState(bytes portfolioCiphertext, uint256 newTotalAssets) external

Updates the vault's encrypted portfolio and total assets

Can only be called by the liquidity orchestrator.

Parameters

NameTypeDescription
portfolioCiphertextbytesOpaque portfolio
newTotalAssetsuint256The new total assets value for the vault

maxCiphertextLength

function maxCiphertextLength() external view returns (uint256)

Maximum accepted ciphertext length for the current investment universe

Return Values

NameTypeDescription
[0]uint256Max blob length.