Skip to main content

ReplaceAuthority

@midnight/ledger v7.0.0


@midnight/ledger / ReplaceAuthority

Class: ReplaceAuthority

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

Constructors

Constructor

new ReplaceAuthority(authority): ReplaceAuthority;

Parameters

authority

ContractMaintenanceAuthority

Returns

ReplaceAuthority

Properties

authority

readonly authority: ContractMaintenanceAuthority;

Methods

toString()

toString(compact?): string;

Parameters

compact?

boolean

Returns

string