agora.solana.system package¶
Submodules¶
agora.solana.system.program module¶
-
class
agora.solana.system.program.Command(value)[source]¶ Bases:
enum.IntEnumAn enumeration.
-
ADVANCE_NONCE_ACCOUNT= 4¶
-
ALLOCATE= 8¶
-
ALLOCATE_WITH_SEED= 9¶
-
ASSIGN= 1¶
-
ASSIGN_WITH_SEED= 10¶
-
AUTHORIZE_NONCE_ACCOUNT= 7¶
-
CREATE_ACCOUNT= 0¶
-
CREATE_ACCOUNT_WITH_SEED= 3¶
-
INITIALIZE_NONCE_ACCOUNT= 6¶
-
TRANSFER= 2¶
-
TRANSFER_WITH_SEED= 11¶
-
WITHDRAW_NONCE_ACCOUNT= 5¶
-
-
class
agora.solana.system.program.DecompiledCreateAccount(funder, address, owner, lamports, size)[source]¶ Bases:
tuple-
property
address¶ Alias for field number 1
-
property
funder¶ Alias for field number 0
-
property
lamports¶ Alias for field number 3
-
property
owner¶ Alias for field number 2
-
property
size¶ Alias for field number 4
-
property
-
agora.solana.system.program.create_account(subsidizer, address, owner, lamports, size)[source]¶ - Account references
[WRITE, SIGNER] Funding account
[WRITE, SIGNER] New account
- CreateAccount {
// Number of lamports to transfer to the new account lamports: u64, // Number of bytes of memory to allocate space: u64,
// Address of program that will own the new account owner: Pubkey,
}
- Return type:
Module contents¶
-
class
agora.solana.system.Command(value)[source]¶ Bases:
enum.IntEnumAn enumeration.
-
ADVANCE_NONCE_ACCOUNT= 4¶
-
ALLOCATE= 8¶
-
ALLOCATE_WITH_SEED= 9¶
-
ASSIGN= 1¶
-
ASSIGN_WITH_SEED= 10¶
-
AUTHORIZE_NONCE_ACCOUNT= 7¶
-
CREATE_ACCOUNT= 0¶
-
CREATE_ACCOUNT_WITH_SEED= 3¶
-
INITIALIZE_NONCE_ACCOUNT= 6¶
-
TRANSFER= 2¶
-
TRANSFER_WITH_SEED= 11¶
-
WITHDRAW_NONCE_ACCOUNT= 5¶
-
-
agora.solana.system.create_account(subsidizer, address, owner, lamports, size)[source]¶ - Account references
[WRITE, SIGNER] Funding account
[WRITE, SIGNER] New account
- CreateAccount {
// Number of lamports to transfer to the new account lamports: u64, // Number of bytes of memory to allocate space: u64,
// Address of program that will own the new account owner: Pubkey,
}
- Return type: