PauseEvent

Class: PauseEvent

Properties overview

  • isPaused: Bool = Bool;

Defined in: packages/nft/src/interfaces/pausable.ts:36

The PauseEvent class represents an event emitted whenever the contract is paused or resumed.
This event contains the isPaused boolean field, indicating the current state of the contract.

Extends

  • {
    isPaused: Bool;
    }

Constructors

new PauseEvent()

new PauseEvent(value: {
  isPaused: Bool;
 }): PauseEvent

Defined in: node_modules/o1js/dist/node/lib/provable/types/struct.d.ts:103

Parameters

value
isPaused

Bool = Bool

Indicates whether the contract is currently paused.

Returns

PauseEvent

Inherited from

Struct({
  /
    Indicates whether the contract is currently paused.
   /
  isPaused: Bool,
}).constructor

Properties

isPaused

isPaused: Bool = Bool;

Defined in: packages/nft/src/interfaces/pausable.ts:40

Indicates whether the contract is currently paused.

Inherited from

Struct({
  /
    Indicates whether the contract is currently paused.
   /
  isPaused: Bool,
}).isPaused