NameServiceUpdateLayout class

Update the data in a name record.

Inheritance

Constructors

NameServiceUpdateLayout({required List<int> inputData, required int offset})
Constructs a NameServiceUpdateLayout instance with the specified input data and offset.
NameServiceUpdateLayout.fromBuffer(List<int> data)
Creates a NameServiceUpdateLayout instance from buffer data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
inputData List<int>
The data to be written.
final
instruction int
The instruction associated with the layout.
no setteroverride
layout → StructLayout
The layout structure.
no setteroverride
offset int
The offset to which the data should be written into the registry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the layout data.
override
toBytes() List<int>
Converts the program to bytes using Borsh serialization.
inherited
toHex() String
Converts the program to a hexadecimal string.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited