Kiosk
type Kiosk
A typed view of an on-chain `0x2::kiosk::Kiosk` object.
type Kiosk struct {
// contains filtered or unexported fields
}
func KioskTryFromBcs
func KioskTryFromBcs(bytes []byte) (*Kiosk, error)
Decode from BCS bytes, without validating the on-chain type tag.
func KioskTryFromObject
func KioskTryFromObject(object *Object) (*Kiosk, error)
Decode from an on-chain object, validating its Move type tag.
func LiftFromExternalKiosk
func LiftFromExternalKiosk(handle uint64) *Kiosk
func (*Kiosk) DebugString
func (_self *Kiosk) DebugString() string
func (*Kiosk) Destroy
func (object *Kiosk) Destroy()
func (*Kiosk) Id
func (_self *Kiosk) Id() *ObjectId
The object's ID.
func (*Kiosk) ItemCount
func (_self *Kiosk) ItemCount() uint32
Number of items stored in the kiosk.
func (*Kiosk) Owner
func (_self *Kiosk) Owner() *Address
func (*Kiosk) Profits
func (_self *Kiosk) Profits() uint64
Accumulated sale profits in nanos.