Skip to main content

Coin

type Coin

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

func CoinTryFromObject

func CoinTryFromObject(object *Object) (*Coin, error)

func LiftFromExternalCoin

func LiftFromExternalCoin(handle uint64) *Coin

func (*Coin) Balance

func (_self *Coin) Balance() uint64

func (*Coin) CoinType

func (_self *Coin) CoinType() *TypeTag

func (*Coin) DebugString

func (_self *Coin) DebugString() string

func (*Coin) Destroy

func (object *Coin) Destroy()

func (*Coin) Id

func (_self *Coin) Id() *ObjectId