PauseData
Hierarchy
- { canPause: Bool; isPaused: Bool }
- PauseData
Index
Constructors
externalconstructor
Parameters
externalvalue: { canPause: Bool; isPaused: Bool }
externalcanPause: Bool = Bool
Indicates whether the contract can be paused.
externalisPaused: Bool = Bool
Indicates whether the contract is currently paused.
Returns PauseData
Properties
canPause
Indicates whether the contract can be paused.
isPaused
Indicates whether the contract is currently paused.
Methods
pack
Packs the pause data into a
Field
.Returns Field
A
Field
representing the packed pause data.
staticunpack
Unpacks a
Field
intoPauseData
.Parameters
field: Field
The
Field
to unpack.
Returns PauseData
An instance of
PauseData
.
Represents pause-related data, containing flags for pause functionality.