Skip to main content

GrpcRegulatedCoinMetadata

GrpcRegulatedCoinMetadata​

struct GrpcRegulatedCoinMetadata

The regulated metadata of a coin type.

init(id:coinMetadataObject:denyCapObject:allowGlobalPause:variant:coinRegulatedState:)​

init(id: ObjectId?, coinMetadataObject: ObjectId?, denyCapObject: ObjectId?, allowGlobalPause: Bool?, variant: UInt32?, coinRegulatedState: GrpcCoinRegulatedState?)

allowGlobalPause​

var allowGlobalPause: Bool?

Whether the coin can be globally paused.

coinMetadataObject​

var coinMetadataObject: ObjectId?

The id of the coin's CoinMetadata or CoinData object.

coinRegulatedState​

var coinRegulatedState: GrpcCoinRegulatedState?

The coin's regulated state.

denyCapObject​

var denyCapObject: ObjectId?

The id of the coin's DenyCap object.

id​

var id: ObjectId?

The id of the 0x2::coin::RegulatedCoinMetadata object.

variant​

var variant: UInt32?

Variant of the regulated coin metadata.