Skip to main content

DenyCapV1

DenyCapV1 Objects

class DenyCapV1(DenyCapV1Protocol)

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

try_from_bcs

@classmethod
def try_from_bcs(cls, bytes: bytes) -> DenyCapV1

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

try_from_object_with_type

@classmethod
def try_from_object_with_type(cls, object: Object,
type_param: TypeTag) -> DenyCapV1

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

allow_global_pause

def allow_global_pause() -> bool

Whether the bearer may also enable a global pause.

id

def id() -> ObjectId

The object's ID.