AspisRegistry

AspisRegistry.sol

This is the main configuration contract of the protocol. It stores key parameters such as:

Main roles

aspisGuardian- the admin role that can:

Storing Aspis pools (daos)

The registry contract stores Aspis vault names in the following mapping:

mapping(string => bool) public daos

Vault names must be unique. If a duplicate name is detected, the contract will revert the vault creation.

Storing Protocol trading fee and manager commissions

The registry contract stores protocol trading fees and manager comissions in these uint256 variables:

uint256 public protocolTradingCommission; // In basis points (1/100%)uint256 public protocolManagerCommission; // In basis points

protocolTradingComission has a maximum cap of 0.5%, and protocolManagerCommission has a maximum cap of 5%, these values could be updated using setProtocolTradingCommission and setProtocolManagerCommission (only Gurdian)