Skip to main content

DenyCapV1

Namespace: IotaSdk

public class DenyCapV1 : IDenyCapV1, System.IDisposable

Inheritance ObjectDenyCapV1
Implements IDenyCapV1, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

DenyCapV1(UInt64)

public DenyCapV1(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

AllowGlobalPause()

Whether the bearer may also enable a global pause.

public bool AllowGlobalPause()

Returns

Boolean

Id()

The object's ID.

public ObjectId Id()

Returns

ObjectId

TryFromBcs(Byte[])

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

public static DenyCapV1 TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

DenyCapV1

Exceptions

SdkFfiException

TryFromObjectWithType(Object, TypeTag)

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

public static DenyCapV1 TryFromObjectWithType(Object object, TypeTag typeParam)

Parameters

object Object

typeParam TypeTag

Returns

DenyCapV1

Exceptions

SdkFfiException