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 for this type is defined by the following ABNF:
transaction-deny-rules-update = u64 ; epoch
u64 ; round
(vector address) ; added addresses
(vector address) ; removed addresses
(vector object-id) ; added objects
(vector object-id) ; removed objects
(vector object-id) ; added packages
(vector object-id) ; removed packages
bool ; package publish disabled
bool ; package upgrade disabled
bool ; shared object disabled
bool ; user transaction disabled
bool ; receiving objects disabled
bool ; move authenticator disabled
version ; initial shared version
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
Round
Consensus round of the update
public ulong Round { get; init; }
Property Value
AddedAddresses
Addresses added to the sender-or-sponsor deny list.
public Address[] AddedAddresses { get; init; }
Property Value
RemovedAddresses
Addresses removed from the sender-or-sponsor deny list.
public Address[] RemovedAddresses { get; init; }
Property Value
AddedObjects
Objects added to the input-or-receiving deny list.
public ObjectId[] AddedObjects { get; init; }
Property Value
RemovedObjects
Objects removed from the input-or-receiving deny list.
public ObjectId[] RemovedObjects { get; init; }
Property Value
AddedPackages
Packages added to the dependency deny list.
public ObjectId[] AddedPackages { get; init; }
Property Value
RemovedPackages
Packages removed from the dependency deny list.
public ObjectId[] RemovedPackages { get; init; }
Property Value
PackagePublishDisabled
Denies all package publishing.
public bool PackagePublishDisabled { get; init; }
Property Value
PackageUpgradeDisabled
Denies all package upgrades.
public bool PackageUpgradeDisabled { get; init; }
Property Value
SharedObjectDisabled
Denies transactions that use shared objects as inputs.
public bool SharedObjectDisabled { get; init; }
Property Value
UserTransactionDisabled
Denies all user transactions (kill switch).
public bool UserTransactionDisabled { get; init; }
Property Value
ReceivingObjectsDisabled
Denies transactions that contain receiving objects.
public bool ReceivingObjectsDisabled { get; init; }
Property Value
MoveAuthenticatorDisabled
Denies transactions signed with a Move authenticator.
public bool MoveAuthenticatorDisabled { get; init; }
Property Value
DenyRulesObjInitialSharedVersion
The initial version of the deny-rules object that it was shared at
public Version DenyRulesObjInitialSharedVersion { get; init; }
Property Value
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 for this type is defined by the following ABNF:
transaction-deny-rules-update = u64 ; epoch
u64 ; round
(vector address) ; added addresses
(vector address) ; removed addresses
(vector object-id) ; added objects
(vector object-id) ; removed objects
(vector object-id) ; added packages
(vector object-id) ; removed packages
bool ; package publish disabled
bool ; package upgrade disabled
bool ; shared object disabled
bool ; user transaction disabled
bool ; receiving objects disabled
bool ; move authenticator disabled
version ; initial shared version
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()