IUsdnProtocolImpl

Git Source

Inherits: IUsdnProtocolActions, IUsdnProtocolVault, IUsdnProtocolLong, IUsdnProtocolCore, IAccessControlDefaultAdminRules, IERC5267

Interface for the implementation of the USDN protocol (completed with IUsdnProtocolFallback)

Functions

initializeStorage

Initializes the protocol's storage with the given values.

This function should be called on deployment when creating the proxy. It can only be called once.

function initializeStorage(InitStorage calldata initStorage) external;

Parameters

NameTypeDescription
initStorageInitStorageThe initial storage values. Any call with a function signature not present in this contract will be delegated to the fallback contract.