DenyCapV1
open class DenyCapV1 : Disposable, AutoCloseable, DenyCapV1Interface
A typed view of an on-chain 0x2::coin::DenyCapV1<T> object, the capability for denying addresses from using a regulated coin.
Functions
| Name | Summary |
|---|---|
| allowGlobalPause | open override fun allowGlobalPause(): Boolean Whether the bearer may also enable a global pause. |
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| id | open override fun id(): ObjectId The object's ID. |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| tryFromBcs | fun tryFromBcs(bytes: ByteArray): DenyCapV1 Decode from BCS bytes, without validating the on-chain type tag. |
| tryFromObjectWithType | fun tryFromObjectWithType(object: Object, typeParam: TypeTag): DenyCapV1 Decode from an on-chain object, validating its Move type tag, including that its type parameter equals type_param. |