Skip to main content

DenyCapV1

type DenyCapV1

A typed view of an on-chain `0x2::coin::DenyCapV1<T>` object, the capability for denying addresses from using a regulated coin.

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

func DenyCapV1TryFromBcs

func DenyCapV1TryFromBcs(bytes []byte) (*DenyCapV1, error)

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

func DenyCapV1TryFromObjectWithType

func DenyCapV1TryFromObjectWithType(object *Object, typeParam *TypeTag) (*DenyCapV1, error)

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

func LiftFromExternalDenyCapV1

func LiftFromExternalDenyCapV1(handle uint64) *DenyCapV1

func (*DenyCapV1) AllowGlobalPause

func (_self *DenyCapV1) AllowGlobalPause() bool

Whether the bearer may also enable a global pause.

func (*DenyCapV1) DebugString

func (_self *DenyCapV1) DebugString() string

func (*DenyCapV1) Destroy

func (object *DenyCapV1) Destroy()

func (*DenyCapV1) Id

func (_self *DenyCapV1) Id() *ObjectId

The object's ID.