WriteSetChange class abstract
A final state change of a transaction on a resource or module
Properties:
type
address
- A hex encoded 32 byte Aptos account address. This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x. For example, address 0x0000000000000000000000000000000000000000000000000000000000000001 is represented as 0x1.stateKeyHash
module
- Move module id is a string representation of Move module. Format:{address}::{module name}
address
should be hex-encoded 32 byte account address that is prefixed with0x
. Module name is case-sensitive.resource
- String representation of a MoveStructTag (on-chain Move struct type). This exists so you can specify MoveStructTags as path / query parameters, e.g. for get_events_by_event_handle. It is a combination of: 1.move_module_address
,module_name
andstruct_name
, all joined by::
2.struct generic type parameters
joined by,
Examples: *0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
*0x1::account::Account
Note: 1. Empty chars should be ignored when comparing 2 struct tag ids. 2. When used in an URL path, should be encoded by url-encoding (AKA percent-encoding). See doc for more details.handle
- All bytes (Veckey
- All bytes (Vecdata
value
- All bytes (Vec
- Available Extensions
- Annotations
-
- @BuiltValue()
Constructors
- WriteSetChange([void updates(WriteSetChangeBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- oneOf → OneOf
-
One Of WriteSetChangeDeleteModule, WriteSetChangeDeleteResource, WriteSetChangeDeleteTableItem, WriteSetChangeWriteModule, WriteSetChangeWriteResource, WriteSetChangeWriteTableItem
no setter
- 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
-
rebuild(
dynamic updates(WriteSetChangeBuilder)) → WriteSetChange -
Rebuilds the instance.
inherited
-
toBuilder(
) → WriteSetChangeBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
WriteSetChange> -
no setter
Constants
- discriminatorFieldName → const String
-
discriminatorMapping
→ const Map<
String, Type>