Skip to main content

GrpcCoinTreasury

GrpcCoinTreasury​

struct GrpcCoinTreasury

The treasury of a coin type.

init(id:totalSupply:supplyState:)​

init(id: ObjectId?, totalSupply: UInt64?, supplyState: GrpcSupplyState?)

id​

var id: ObjectId?

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

supplyState​

var supplyState: GrpcSupplyState?

Supply state indicating if the supply is fixed or can still be minted.

totalSupply​

var totalSupply: UInt64?

Total available supply for the coin type.