Skip to main content

CoinManagerTreasuryCap

type CoinManagerTreasuryCap

A typed view of an on-chain `0x2::coin_manager::CoinManagerTreasuryCap<T>` object.

type CoinManagerTreasuryCap struct {
// contains filtered or unexported fields
}

func CoinManagerTreasuryCapTryFromBcs

func CoinManagerTreasuryCapTryFromBcs(bytes []byte) (*CoinManagerTreasuryCap, error)

Decode from BCS bytes, without validating the on-chain type tag.

func CoinManagerTreasuryCapTryFromObjectWithType

func CoinManagerTreasuryCapTryFromObjectWithType(object *Object, typeParam *TypeTag) (*CoinManagerTreasuryCap, error)

Decode from an on-chain object, validating its Move type tag, including that its type parameter equals `type_param`.

func LiftFromExternalCoinManagerTreasuryCap

func LiftFromExternalCoinManagerTreasuryCap(handle uint64) *CoinManagerTreasuryCap

func (*CoinManagerTreasuryCap) DebugString

func (_self *CoinManagerTreasuryCap) DebugString() string

func (*CoinManagerTreasuryCap) Destroy

func (object *CoinManagerTreasuryCap) Destroy()

func (*CoinManagerTreasuryCap) Id

func (_self *CoinManagerTreasuryCap) Id() *ObjectId

The object's ID.