SystemAllocateWithSeedLayout class
Allocate account with seed layout
- Inheritance
-
- Object
- ProgramLayout
- SystemProgramLayout
- SystemAllocateWithSeedLayout
Constructors
- SystemAllocateWithSeedLayout({required SolAddress base, required String seed, required BigInt space, required SolAddress programId})
-
const
-
SystemAllocateWithSeedLayout.fromBuffer(List<
int> data) -
factory
Properties
- base → SolAddress
-
base address to use to derive the address of the allocated account
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → int
-
The instruction of the program.
no setteroverride
- layout → Structure
-
The layout representing the structure of the program.
no setteroverride
- programId → SolAddress
-
address of the program to assign as the owner of the allocated account
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seed → String
-
Seed to use to derive the address of the allocated account
final
- space → BigInt
-
Amount of space in bytes to allocate
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the program.
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