Skip to main content

ReplaceAuthority

For the complete documentation index, see llms.txt

@midnight-ntwrk/ledger v3.0.2 • Readme | API


@midnight-ntwrk/ledger v3.0.2 / ReplaceAuthority

Class: ReplaceAuthority

An update instruction to replace the current contract maintenance authority with a new one.

Constructors​

new ReplaceAuthority(authority)​

new ReplaceAuthority(authority): ReplaceAuthority

Parameters​

• authority: ContractMaintenanceAuthority

Returns​

ReplaceAuthority

Properties​

authority​

readonly authority: ContractMaintenanceAuthority;

Methods​

toString()​

toString(compact?): string

Parameters​

• compact?: boolean

Returns​

string