Kit
Functions

downgradeRoleToReadonly

Call Signature

downgradeRoleToReadonly(role): READONLY

Parameters

ParameterType
roleWRITABLE

Returns

READONLY

An AccountRole representing the read-only variant of the supplied role.

Call Signature

downgradeRoleToReadonly(role): READONLY_SIGNER

Parameters

ParameterType
roleWRITABLE_SIGNER

Returns

READONLY_SIGNER

An AccountRole representing the read-only variant of the supplied role.

Call Signature

downgradeRoleToReadonly(role): AccountRole

Parameters

ParameterType
roleAccountRole

Returns

AccountRole

An AccountRole representing the read-only variant of the supplied role.

On this page