Skip to main content

GrpcRegulatedCoinMetadata

data class GrpcRegulatedCoinMetadata(var id: ObjectId?, var coinMetadataObject: ObjectId?, var denyCapObject: ObjectId?, var allowGlobalPause: Boolean?, var variant: UInt?, var coinRegulatedState: GrpcCoinRegulatedState?) : Disposable

The regulated metadata of a coin type.

Constructors​

GrpcRegulatedCoinMetadataconstructor(id: ObjectId?, coinMetadataObject: ObjectId?, denyCapObject: ObjectId?, allowGlobalPause: Boolean?, variant: UInt?, coinRegulatedState: GrpcCoinRegulatedState?)

Properties​

NameSummary
allowGlobalPausevar allowGlobalPause: Boolean?
Whether the coin can be globally paused.
coinMetadataObjectvar coinMetadataObject: ObjectId?
The id of the coin's CoinMetadata or CoinData object.
coinRegulatedStatevar coinRegulatedState: GrpcCoinRegulatedState?
The coin's regulated state.
denyCapObjectvar denyCapObject: ObjectId?
The id of the coin's DenyCap object.
idvar id: ObjectId?
The id of the 0x2::coin::RegulatedCoinMetadata object.
variantvar variant: UInt?
Variant of the regulated coin metadata.

Functions​

NameSummary
destroyopen override fun destroy()