MultiSign

To get permission from admins to set the required data and for pausing and unpausing specific function, entire module or protocol.

approveFunctions

approveSetterFunction

function approveSetterFunction(uint8[] memory functions)
Param Name
Type
Description

functions

uint8[ ]

Which functions the admins needs to set.

Takes array of uint8 as param to approve specific or all setter functions to set data.

approvePause

function approvePause(uint8[] memory functions)
Param Name
Type
Description

functions

uint8[ ]

Which functions the admins needs to pause.

Takes array of uint8 as param to approve pausing of specific or all functions in Borrowing and CDS.

approveUnpause

function approveUnPause(uint8[] memory functions)
Param Name
Type
Description

functions

uint8[ ]

Which functions the admins needs to unpause.

Takes array of uint8 as param to approve unpausing of specific or all functions in Borrowing and CDS.

To unpause functions, they must be in paused state.

approveBorrowingPause

Approve to pause all functions in Borrowing.

approveCDSPause

Approve to pause all functions in CDS.

approveBorrowingUnPause

Approve to unpause all functions in Borrowing.

approveCDSUnPause

Approve to unpause all functions in CDS.

Pause / unpause Functions

pauseFunction

Param Name
Type
Description

functions

uint8[ ]

Functions to pause which are approved.

Pause the approved functions by admins.

unpauseFunction

Param Name
Type
Description

functions

uint8[ ]

Functions to unpause which are approved.

Un pause the approved functions by admins.

pauseBorrowing

Pause all the functions in Borrowing contract.

pauseCDS

Pause all the functions in CDS contract.

unpauseBorrowing

Un pause all the functions in Borrowing contract.

unpauseCDS

Un pause all the functions in CDS contract.

Last updated