Kit
Functions

upgradeRoleToWritable

Call Signature

upgradeRoleToWritable(role): WRITABLE

Parameters

ParameterType
roleREADONLY

Returns

WRITABLE

An AccountRole representing the writable variant of the supplied role.

Call Signature

upgradeRoleToWritable(role): WRITABLE_SIGNER

Parameters

ParameterType
roleREADONLY_SIGNER

Returns

WRITABLE_SIGNER

An AccountRole representing the writable variant of the supplied role.

Call Signature

upgradeRoleToWritable(role): AccountRole

Parameters

ParameterType
roleAccountRole

Returns

AccountRole

An AccountRole representing the writable variant of the supplied role.

On this page