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

function approveBorrowingPause()

Approve to pause all functions in Borrowing.

approveCDSPause

function approveCDSPause()

Approve to pause all functions in CDS.

approveBorrowingUnPause

function approveBorrowingUnPause()

Approve to unpause all functions in Borrowing.

approveCDSUnPause

function approveCDSUnPause()

Approve to unpause all functions in CDS.

Pause / unpause Functions

pauseFunction

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

functions

uint8[ ]

Functions to pause which are approved.

Pause the approved functions by admins.

unpauseFunction

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

functions

uint8[ ]

Functions to unpause which are approved.

Un pause the approved functions by admins.

pauseBorrowing

function pauseBorrowing()

Pause all the functions in Borrowing contract.

pauseCDS

function pauseCDS()

Pause all the functions in CDS contract.

unpauseBorrowing

function unpauseBorrowing()

Un pause all the functions in Borrowing contract.

unpauseCDS

function unpauseCDS()

Un pause all the functions in CDS contract.

Last updated