AspisGuardian

AspisGuardian

This smart-contract holds that acts as an admin role holder and includes the following responsibilities:

  1. Emergency Stop in AspisPool.sol
  2. Setup price feeds in Liquidity Calculator
  3. Actions like updating aspis pool factory, add/remove decoders, supported protocols and trading tokens in AspisRegistry.
  4. Updating protocol revenue fees
  5. Withdrawing protocol revenue fees from AspisPool

execute

function execute(address _target, uint256 _ethValue, bytes calldata _data) external;

Makes a low-level call to one of the system smart-contracts like Aspis Pool Factory.

receive() and fallback()

Guardian also supports receiving native tokens, this is to ensure that protocol revenues can be received successfully.