Skip to main content

DenyList

type DenyList

A typed view of an on-chain `0x2::deny_list::DenyList` object (the `0x403` singleton tracking regulated-coin deny lists).

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

func DenyListTryFromBcs

func DenyListTryFromBcs(bytes []byte) (*DenyList, error)

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

func DenyListTryFromObject

func DenyListTryFromObject(object *Object) (*DenyList, error)

Decode from an on-chain object, validating its Move type tag.

func LiftFromExternalDenyList

func LiftFromExternalDenyList(handle uint64) *DenyList

func (*DenyList) DebugString

func (_self *DenyList) DebugString() string

func (*DenyList) Destroy

func (object *DenyList) Destroy()

func (*DenyList) Id

func (_self *DenyList) Id() *ObjectId

The object's ID.

func (*DenyList) ListsId

func (_self *DenyList) ListsId() *ObjectId

Object ID of the `Bag` holding the per-coin deny lists.