Pause/Unpause Access Control

Pause

A pause() function exists along with a MIB_SWAP_PAUSE_ROLE in case the DAO wishes to implement a failsafe mechanism in the future.

  • Only the KIBT_SWAP_PAUSE_ROLE may call pause

  • Pausing emits a Pause() event

UnPause

An unpause() function exists along with a MIB_SWAP_UNPAUSE_ROLE in case the DAO wishes to implement a failsafe mechanism in the future.

  • Only the KIBT_SWAP_UNPAUSE_ROLE role may call unpause

  • Unpausing emits an Unpause() event

Last updated