Skip to main content

GrpcCoinTreasury

data class GrpcCoinTreasury(var id: ObjectId?, var totalSupply: ULong?, var supplyState: GrpcSupplyState?) : Disposable

The treasury of a coin type.

Constructors​

GrpcCoinTreasuryconstructor(id: ObjectId?, totalSupply: ULong?, supplyState: GrpcSupplyState?)

Properties​

NameSummary
idvar id: ObjectId?
The id of the 0x2::coin::TreasuryCap object.
supplyStatevar supplyState: GrpcSupplyState?
Supply state indicating if the supply is fixed or can still be minted.
totalSupplyvar totalSupply: ULong?
Total available supply for the coin type.

Functions​

NameSummary
destroyopen override fun destroy()