Skip to main content

TransactionDenyRulesUpdate

Namespace: IotaSdk

Update of the on-chain transaction deny rules.

Carries an add/remove delta for each deny list plus the absolute switch states. The added and removed sets of a list are disjoint by producer contract; converting into the underlying set-typed Rust representation sorts and deduplicates the lists.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public record class TransactionDenyRulesUpdate : System.IDisposable, System.IEquatable`1[[IotaSdk.TransactionDenyRulesUpdate, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → TransactionDenyRulesUpdate
Implements IDisposable, IEquatable<TransactionDenyRulesUpdate>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Epoch​

Epoch of the deny-rules update transaction

public ulong Epoch { get; init; }

Property Value​

UInt64

Round​

Consensus round of the update

public ulong Round { get; init; }

Property Value​

UInt64

AddedAddresses​

Addresses added to the sender-or-sponsor deny list.

public Address[] AddedAddresses { get; init; }

Property Value​

Address[]

RemovedAddresses​

Addresses removed from the sender-or-sponsor deny list.

public Address[] RemovedAddresses { get; init; }

Property Value​

Address[]

AddedObjects​

Objects added to the input-or-receiving deny list.

public ObjectId[] AddedObjects { get; init; }

Property Value​

ObjectId[]

RemovedObjects​

Objects removed from the input-or-receiving deny list.

public ObjectId[] RemovedObjects { get; init; }

Property Value​

ObjectId[]

AddedPackages​

Packages added to the dependency deny list.

public ObjectId[] AddedPackages { get; init; }

Property Value​

ObjectId[]

RemovedPackages​

Packages removed from the dependency deny list.

public ObjectId[] RemovedPackages { get; init; }

Property Value​

ObjectId[]

PackagePublishDisabled​

Denies all package publishing.

public bool PackagePublishDisabled { get; init; }

Property Value​

Boolean

PackageUpgradeDisabled​

Denies all package upgrades.

public bool PackageUpgradeDisabled { get; init; }

Property Value​

Boolean

SharedObjectDisabled​

Denies transactions that use shared objects as inputs.

public bool SharedObjectDisabled { get; init; }

Property Value​

Boolean

UserTransactionDisabled​

Denies all user transactions (kill switch).

public bool UserTransactionDisabled { get; init; }

Property Value​

Boolean

ReceivingObjectsDisabled​

Denies transactions that contain receiving objects.

public bool ReceivingObjectsDisabled { get; init; }

Property Value​

Boolean

MoveAuthenticatorDisabled​

Denies transactions signed with a Move authenticator.

public bool MoveAuthenticatorDisabled { get; init; }

Property Value​

Boolean

DenyRulesObjInitialSharedVersion​

The initial version of the deny-rules object that it was shared at

public Version DenyRulesObjInitialSharedVersion { get; init; }

Property Value​

Version

Constructors​

TransactionDenyRulesUpdate(UInt64, UInt64, Address[], Address[], ObjectId[], ObjectId[], ObjectId[], ObjectId[], Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Version)​

Update of the on-chain transaction deny rules.

Carries an add/remove delta for each deny list plus the absolute switch states. The added and removed sets of a list are disjoint by producer contract; converting into the underlying set-typed Rust representation sorts and deduplicates the lists.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public TransactionDenyRulesUpdate(ulong Epoch, ulong Round, Address[] AddedAddresses, Address[] RemovedAddresses, ObjectId[] AddedObjects, ObjectId[] RemovedObjects, ObjectId[] AddedPackages, ObjectId[] RemovedPackages, bool PackagePublishDisabled, bool PackageUpgradeDisabled, bool SharedObjectDisabled, bool UserTransactionDisabled, bool ReceivingObjectsDisabled, bool MoveAuthenticatorDisabled, Version DenyRulesObjInitialSharedVersion)

Parameters​

Epoch UInt64
Epoch of the deny-rules update transaction

Round UInt64
Consensus round of the update

AddedAddresses Address[]
Addresses added to the sender-or-sponsor deny list.

RemovedAddresses Address[]
Addresses removed from the sender-or-sponsor deny list.

AddedObjects ObjectId[]
Objects added to the input-or-receiving deny list.

RemovedObjects ObjectId[]
Objects removed from the input-or-receiving deny list.

AddedPackages ObjectId[]
Packages added to the dependency deny list.

RemovedPackages ObjectId[]
Packages removed from the dependency deny list.

PackagePublishDisabled Boolean
Denies all package publishing.

PackageUpgradeDisabled Boolean
Denies all package upgrades.

SharedObjectDisabled Boolean
Denies transactions that use shared objects as inputs.

UserTransactionDisabled Boolean
Denies all user transactions (kill switch).

ReceivingObjectsDisabled Boolean
Denies transactions that contain receiving objects.

MoveAuthenticatorDisabled Boolean
Denies transactions signed with a Move authenticator.

DenyRulesObjInitialSharedVersion Version
The initial version of the deny-rules object that it was shared at

Methods​

Dispose()​

public void Dispose()

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

ToDisplayString()​

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

public string ToDisplayString()

Returns​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException