Documentation ¶
Index ¶
- Constants
- Variables
- func InstructionIDToName(id ag_binary.TypeID) string
- func SetProgramID(pubkey ag_solanago.PublicKey)
- type BadCsam
- func (inst BadCsam) Build() *Instruction
- func (inst *BadCsam) EncodeToTree(parent ag_treeout.Branches)
- func (inst *BadCsam) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetUploaderAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam) GetUserInfoAccount() *ag_solanago.AccountMeta
- func (obj BadCsam) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *BadCsam) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetStorageAvailable(storageAvailable uint64) *BadCsam
- func (inst *BadCsam) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetUploaderAccount(uploader ag_solanago.PublicKey) *BadCsam
- func (inst *BadCsam) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *BadCsam
- func (obj *BadCsam) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *BadCsam) Validate() error
- func (inst BadCsam) ValidateAndBuild() (*Instruction, error)
- type BadCsam2
- func (inst BadCsam2) Build() *Instruction
- func (inst *BadCsam2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *BadCsam2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (inst *BadCsam2) GetUserInfoAccount() *ag_solanago.AccountMeta
- func (obj BadCsam2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *BadCsam2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetStorageAvailable(storageAvailable uint64) *BadCsam2
- func (inst *BadCsam2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetUploaderAccount(uploader ag_solanago.PublicKey) *BadCsam2
- func (inst *BadCsam2) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *BadCsam2
- func (obj *BadCsam2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *BadCsam2) Validate() error
- func (inst BadCsam2) ValidateAndBuild() (*Instruction, error)
- type ClaimStake
- func (inst ClaimStake) Build() *Instruction
- func (inst *ClaimStake) EncodeToTree(parent ag_treeout.Branches)
- func (inst *ClaimStake) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
- func (obj ClaimStake) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *ClaimStake) SetOwnerAccount(owner ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *ClaimStake
- func (inst *ClaimStake) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *ClaimStake
- func (obj *ClaimStake) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *ClaimStake) Validate() error
- func (inst ClaimStake) ValidateAndBuild() (*Instruction, error)
- type ClaimStake2
- func (inst ClaimStake2) Build() *Instruction
- func (inst *ClaimStake2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *ClaimStake2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *ClaimStake2) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
- func (obj ClaimStake2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *ClaimStake2) SetOwnerAccount(owner ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *ClaimStake2
- func (inst *ClaimStake2) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *ClaimStake2
- func (obj *ClaimStake2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *ClaimStake2) Validate() error
- func (inst ClaimStake2) ValidateAndBuild() (*Instruction, error)
- type Crank
- func (inst Crank) Build() *Instruction
- func (inst *Crank) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Crank) GetCrankerAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetCrankerAtaAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *Crank) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj Crank) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Crank) SetCrankerAccount(cranker ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetCrankerAtaAccount(crankerAta ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *Crank
- func (inst *Crank) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Crank
- func (obj *Crank) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Crank) Validate() error
- func (inst Crank) ValidateAndBuild() (*Instruction, error)
- type Crank2
- func (inst Crank2) Build() *Instruction
- func (inst *Crank2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Crank2) GetCrankerAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetCrankerAtaAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *Crank2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj Crank2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Crank2) SetCrankerAccount(cranker ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetCrankerAtaAccount(crankerAta ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *Crank2
- func (inst *Crank2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Crank2
- func (obj *Crank2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Crank2) Validate() error
- func (inst Crank2) ValidateAndBuild() (*Instruction, error)
- type DecreaseStorage
- func (inst DecreaseStorage) Build() *Instruction
- func (inst *DecreaseStorage) EncodeToTree(parent ag_treeout.Branches)
- func (inst *DecreaseStorage) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj DecreaseStorage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *DecreaseStorage) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetOwnerAccount(owner ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetRemoveStorage(removeStorage uint64) *DecreaseStorage
- func (inst *DecreaseStorage) SetRentAccount(rent ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *DecreaseStorage
- func (inst *DecreaseStorage) SetUploaderAccount(uploader ag_solanago.PublicKey) *DecreaseStorage
- func (obj *DecreaseStorage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *DecreaseStorage) Validate() error
- func (inst DecreaseStorage) ValidateAndBuild() (*Instruction, error)
- type DecreaseStorage2
- func (inst DecreaseStorage2) Build() *Instruction
- func (inst *DecreaseStorage2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *DecreaseStorage2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
- func (inst *DecreaseStorage2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj DecreaseStorage2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *DecreaseStorage2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetOwnerAccount(owner ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetRemoveStorage(removeStorage uint64) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetRentAccount(rent ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *DecreaseStorage2
- func (inst *DecreaseStorage2) SetUploaderAccount(uploader ag_solanago.PublicKey) *DecreaseStorage2
- func (obj *DecreaseStorage2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *DecreaseStorage2) Validate() error
- func (inst DecreaseStorage2) ValidateAndBuild() (*Instruction, error)
- type DeleteAccount
- func (inst DeleteAccount) Build() *Instruction
- func (inst *DeleteAccount) EncodeToTree(parent ag_treeout.Branches)
- func (inst *DeleteAccount) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetShdwPayerAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetUploaderAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount) GetUserInfoAccount() *ag_solanago.AccountMeta
- func (obj DeleteAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *DeleteAccount) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetShdwPayerAccount(shdwPayer ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetUploaderAccount(uploader ag_solanago.PublicKey) *DeleteAccount
- func (inst *DeleteAccount) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *DeleteAccount
- func (obj *DeleteAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *DeleteAccount) Validate() error
- func (inst DeleteAccount) ValidateAndBuild() (*Instruction, error)
- type DeleteAccount2
- func (inst DeleteAccount2) Build() *Instruction
- func (inst *DeleteAccount2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *DeleteAccount2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetShdwPayerAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (inst *DeleteAccount2) GetUserInfoAccount() *ag_solanago.AccountMeta
- func (obj DeleteAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *DeleteAccount2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetShdwPayerAccount(shdwPayer ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetUploaderAccount(uploader ag_solanago.PublicKey) *DeleteAccount2
- func (inst *DeleteAccount2) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *DeleteAccount2
- func (obj *DeleteAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *DeleteAccount2) Validate() error
- func (inst DeleteAccount2) ValidateAndBuild() (*Instruction, error)
- type File
- type IncreaseImmutableStorage
- func (inst IncreaseImmutableStorage) Build() *Instruction
- func (inst *IncreaseImmutableStorage) EncodeToTree(parent ag_treeout.Branches)
- func (inst *IncreaseImmutableStorage) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj IncreaseImmutableStorage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *IncreaseImmutableStorage) SetAdditionalStorage(additionalStorage uint64) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (inst *IncreaseImmutableStorage) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseImmutableStorage
- func (obj *IncreaseImmutableStorage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *IncreaseImmutableStorage) Validate() error
- func (inst IncreaseImmutableStorage) ValidateAndBuild() (*Instruction, error)
- type IncreaseImmutableStorage2
- func (inst IncreaseImmutableStorage2) Build() *Instruction
- func (inst *IncreaseImmutableStorage2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *IncreaseImmutableStorage2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseImmutableStorage2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj IncreaseImmutableStorage2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *IncreaseImmutableStorage2) SetAdditionalStorage(additionalStorage uint64) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (inst *IncreaseImmutableStorage2) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseImmutableStorage2
- func (obj *IncreaseImmutableStorage2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *IncreaseImmutableStorage2) Validate() error
- func (inst IncreaseImmutableStorage2) ValidateAndBuild() (*Instruction, error)
- type IncreaseStorage
- func (inst IncreaseStorage) Build() *Instruction
- func (inst *IncreaseStorage) EncodeToTree(parent ag_treeout.Branches)
- func (inst *IncreaseStorage) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj IncreaseStorage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *IncreaseStorage) SetAdditionalStorage(additionalStorage uint64) *IncreaseStorage
- func (inst *IncreaseStorage) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseStorage
- func (inst *IncreaseStorage) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseStorage
- func (obj *IncreaseStorage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *IncreaseStorage) Validate() error
- func (inst IncreaseStorage) ValidateAndBuild() (*Instruction, error)
- type IncreaseStorage2
- func (inst IncreaseStorage2) Build() *Instruction
- func (inst *IncreaseStorage2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *IncreaseStorage2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *IncreaseStorage2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj IncreaseStorage2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *IncreaseStorage2) SetAdditionalStorage(additionalStorage uint64) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseStorage2
- func (inst *IncreaseStorage2) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseStorage2
- func (obj *IncreaseStorage2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *IncreaseStorage2) Validate() error
- func (inst IncreaseStorage2) ValidateAndBuild() (*Instruction, error)
- type InitializeAccount
- func (inst InitializeAccount) Build() *Instruction
- func (inst *InitializeAccount) EncodeToTree(parent ag_treeout.Branches)
- func (inst *InitializeAccount) GetOwner1Account() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetOwner1TokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetUploaderAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount) GetUserInfoAccount() *ag_solanago.AccountMeta
- func (obj InitializeAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *InitializeAccount) SetIdentifier(identifier string) *InitializeAccount
- func (inst *InitializeAccount) SetOwner1Account(owner1 ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetOwner1TokenAccountAccount(owner1TokenAccount ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetOwner2(owner2 ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetRentAccount(rent ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetStorage(storage uint64) *InitializeAccount
- func (inst *InitializeAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetUploaderAccount(uploader ag_solanago.PublicKey) *InitializeAccount
- func (inst *InitializeAccount) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *InitializeAccount
- func (obj *InitializeAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *InitializeAccount) Validate() error
- func (inst InitializeAccount) ValidateAndBuild() (*Instruction, error)
- type InitializeAccount2
- func (inst InitializeAccount2) Build() *Instruction
- func (inst *InitializeAccount2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *InitializeAccount2) GetOwner1Account() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetOwner1TokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (inst *InitializeAccount2) GetUserInfoAccount() *ag_solanago.AccountMeta
- func (obj InitializeAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *InitializeAccount2) SetIdentifier(identifier string) *InitializeAccount2
- func (inst *InitializeAccount2) SetOwner1Account(owner1 ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetOwner1TokenAccountAccount(owner1TokenAccount ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetRentAccount(rent ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetStorage(storage uint64) *InitializeAccount2
- func (inst *InitializeAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetUploaderAccount(uploader ag_solanago.PublicKey) *InitializeAccount2
- func (inst *InitializeAccount2) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *InitializeAccount2
- func (obj *InitializeAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *InitializeAccount2) Validate() error
- func (inst InitializeAccount2) ValidateAndBuild() (*Instruction, error)
- type InitializeConfig
- func (inst InitializeConfig) Build() *Instruction
- func (inst *InitializeConfig) EncodeToTree(parent ag_treeout.Branches)
- func (inst *InitializeConfig) GetAdmin1Account() *ag_solanago.AccountMeta
- func (inst *InitializeConfig) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *InitializeConfig) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *InitializeConfig) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj InitializeConfig) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *InitializeConfig) SetAdmin1Account(admin1 ag_solanago.PublicKey) *InitializeConfig
- func (inst *InitializeConfig) SetAdmin2(admin2 ag_solanago.PublicKey) *InitializeConfig
- func (inst *InitializeConfig) SetRentAccount(rent ag_solanago.PublicKey) *InitializeConfig
- func (inst *InitializeConfig) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *InitializeConfig
- func (inst *InitializeConfig) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitializeConfig
- func (inst *InitializeConfig) SetUploader(uploader ag_solanago.PublicKey) *InitializeConfig
- func (obj *InitializeConfig) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *InitializeConfig) Validate() error
- func (inst InitializeConfig) ValidateAndBuild() (*Instruction, error)
- type Instruction
- func (inst *Instruction) Accounts() (out []*ag_solanago.AccountMeta)
- func (inst *Instruction) Data() ([]byte, error)
- func (inst *Instruction) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Instruction) MarshalWithEncoder(encoder *ag_binary.Encoder) error
- func (inst *Instruction) ProgramID() ag_solanago.PublicKey
- func (inst *Instruction) TextEncode(encoder *ag_text.Encoder, option *ag_text.Option) error
- func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error
- type MakeAccountImmutable
- func (inst MakeAccountImmutable) Build() *Instruction
- func (inst *MakeAccountImmutable) EncodeToTree(parent ag_treeout.Branches)
- func (inst *MakeAccountImmutable) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj MakeAccountImmutable) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *MakeAccountImmutable) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetOwnerAccount(owner ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetRentAccount(rent ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *MakeAccountImmutable
- func (inst *MakeAccountImmutable) SetUploaderAccount(uploader ag_solanago.PublicKey) *MakeAccountImmutable
- func (obj *MakeAccountImmutable) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *MakeAccountImmutable) Validate() error
- func (inst MakeAccountImmutable) ValidateAndBuild() (*Instruction, error)
- type MakeAccountImmutable2
- func (inst MakeAccountImmutable2) Build() *Instruction
- func (inst *MakeAccountImmutable2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *MakeAccountImmutable2) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *MakeAccountImmutable2) GetUploaderAccount() *ag_solanago.AccountMeta
- func (obj MakeAccountImmutable2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *MakeAccountImmutable2) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetOwnerAccount(owner ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetRentAccount(rent ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *MakeAccountImmutable2
- func (inst *MakeAccountImmutable2) SetUploaderAccount(uploader ag_solanago.PublicKey) *MakeAccountImmutable2
- func (obj *MakeAccountImmutable2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *MakeAccountImmutable2) Validate() error
- func (inst MakeAccountImmutable2) ValidateAndBuild() (*Instruction, error)
- type MigrateStep1
- func (inst MigrateStep1) Build() *Instruction
- func (inst *MigrateStep1) EncodeToTree(parent ag_treeout.Branches)
- func (inst *MigrateStep1) GetMigrationAccount() *ag_solanago.AccountMeta
- func (inst *MigrateStep1) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *MigrateStep1) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *MigrateStep1) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj MigrateStep1) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *MigrateStep1) SetMigrationAccount(migration ag_solanago.PublicKey) *MigrateStep1
- func (inst *MigrateStep1) SetOwnerAccount(owner ag_solanago.PublicKey) *MigrateStep1
- func (inst *MigrateStep1) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MigrateStep1
- func (inst *MigrateStep1) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MigrateStep1
- func (obj *MigrateStep1) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *MigrateStep1) Validate() error
- func (inst MigrateStep1) ValidateAndBuild() (*Instruction, error)
- type MigrateStep2
- func (inst MigrateStep2) Build() *Instruction
- func (inst *MigrateStep2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *MigrateStep2) GetMigrationAccount() *ag_solanago.AccountMeta
- func (inst *MigrateStep2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *MigrateStep2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *MigrateStep2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj MigrateStep2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *MigrateStep2) SetMigrationAccount(migration ag_solanago.PublicKey) *MigrateStep2
- func (inst *MigrateStep2) SetOwnerAccount(owner ag_solanago.PublicKey) *MigrateStep2
- func (inst *MigrateStep2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MigrateStep2
- func (inst *MigrateStep2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MigrateStep2
- func (obj *MigrateStep2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *MigrateStep2) Validate() error
- func (inst MigrateStep2) ValidateAndBuild() (*Instruction, error)
- type Mode
- type MutableFees
- func (inst MutableFees) Build() *Instruction
- func (inst *MutableFees) EncodeToTree(parent ag_treeout.Branches)
- func (inst *MutableFees) GetAdminAccount() *ag_solanago.AccountMeta
- func (inst *MutableFees) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (obj MutableFees) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *MutableFees) SetAdminAccount(admin ag_solanago.PublicKey) *MutableFees
- func (inst *MutableFees) SetCrankBps(crankBps uint32) *MutableFees
- func (inst *MutableFees) SetShadesPerGbPerEpoch(shadesPerGbPerEpoch uint64) *MutableFees
- func (inst *MutableFees) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *MutableFees
- func (obj *MutableFees) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *MutableFees) Validate() error
- func (inst MutableFees) ValidateAndBuild() (*Instruction, error)
- type RedeemRent
- func (inst RedeemRent) Build() *Instruction
- func (inst *RedeemRent) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RedeemRent) GetFileAccount() *ag_solanago.AccountMeta
- func (inst *RedeemRent) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *RedeemRent) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (obj RedeemRent) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RedeemRent) SetFileAccount(file ag_solanago.PublicKey) *RedeemRent
- func (inst *RedeemRent) SetOwnerAccount(owner ag_solanago.PublicKey) *RedeemRent
- func (inst *RedeemRent) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RedeemRent
- func (obj *RedeemRent) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RedeemRent) Validate() error
- func (inst RedeemRent) ValidateAndBuild() (*Instruction, error)
- type RefreshStake
- func (inst RefreshStake) Build() *Instruction
- func (inst *RefreshStake) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RefreshStake) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj RefreshStake) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RefreshStake) SetOwnerAccount(owner ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RefreshStake
- func (inst *RefreshStake) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RefreshStake
- func (obj *RefreshStake) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RefreshStake) Validate() error
- func (inst RefreshStake) ValidateAndBuild() (*Instruction, error)
- type RefreshStake2
- func (inst RefreshStake2) Build() *Instruction
- func (inst *RefreshStake2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RefreshStake2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *RefreshStake2) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj RefreshStake2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RefreshStake2) SetOwnerAccount(owner ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RefreshStake2
- func (inst *RefreshStake2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RefreshStake2
- func (obj *RefreshStake2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RefreshStake2) Validate() error
- func (inst RefreshStake2) ValidateAndBuild() (*Instruction, error)
- type RequestDeleteAccount
- func (inst RequestDeleteAccount) Build() *Instruction
- func (inst *RequestDeleteAccount) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RequestDeleteAccount) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (obj RequestDeleteAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RequestDeleteAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *RequestDeleteAccount
- func (inst *RequestDeleteAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RequestDeleteAccount
- func (inst *RequestDeleteAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RequestDeleteAccount
- func (inst *RequestDeleteAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RequestDeleteAccount
- func (inst *RequestDeleteAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RequestDeleteAccount
- func (obj *RequestDeleteAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RequestDeleteAccount) Validate() error
- func (inst RequestDeleteAccount) ValidateAndBuild() (*Instruction, error)
- type RequestDeleteAccount2
- func (inst RequestDeleteAccount2) Build() *Instruction
- func (inst *RequestDeleteAccount2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RequestDeleteAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RequestDeleteAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (obj RequestDeleteAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RequestDeleteAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *RequestDeleteAccount2
- func (inst *RequestDeleteAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RequestDeleteAccount2
- func (inst *RequestDeleteAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RequestDeleteAccount2
- func (inst *RequestDeleteAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RequestDeleteAccount2
- func (inst *RequestDeleteAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RequestDeleteAccount2
- func (obj *RequestDeleteAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RequestDeleteAccount2) Validate() error
- func (inst RequestDeleteAccount2) ValidateAndBuild() (*Instruction, error)
- type StorageAccount
- type StorageAccountV2
- type StorageConfig
- type UnmarkDeleteAccount
- func (inst UnmarkDeleteAccount) Build() *Instruction
- func (inst *UnmarkDeleteAccount) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UnmarkDeleteAccount) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (obj UnmarkDeleteAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UnmarkDeleteAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *UnmarkDeleteAccount
- func (inst *UnmarkDeleteAccount) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *UnmarkDeleteAccount
- func (inst *UnmarkDeleteAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UnmarkDeleteAccount
- func (inst *UnmarkDeleteAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UnmarkDeleteAccount
- func (inst *UnmarkDeleteAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UnmarkDeleteAccount
- func (inst *UnmarkDeleteAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UnmarkDeleteAccount
- func (obj *UnmarkDeleteAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UnmarkDeleteAccount) Validate() error
- func (inst UnmarkDeleteAccount) ValidateAndBuild() (*Instruction, error)
- type UnmarkDeleteAccount2
- func (inst UnmarkDeleteAccount2) Build() *Instruction
- func (inst *UnmarkDeleteAccount2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UnmarkDeleteAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount2) GetStakeAccountAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *UnmarkDeleteAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (obj UnmarkDeleteAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UnmarkDeleteAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *UnmarkDeleteAccount2
- func (inst *UnmarkDeleteAccount2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *UnmarkDeleteAccount2
- func (inst *UnmarkDeleteAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UnmarkDeleteAccount2
- func (inst *UnmarkDeleteAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UnmarkDeleteAccount2
- func (inst *UnmarkDeleteAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UnmarkDeleteAccount2
- func (inst *UnmarkDeleteAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UnmarkDeleteAccount2
- func (obj *UnmarkDeleteAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UnmarkDeleteAccount2) Validate() error
- func (inst UnmarkDeleteAccount2) ValidateAndBuild() (*Instruction, error)
- type UnstakeInfo
- type UpdateAccount
- func (inst UpdateAccount) Build() *Instruction
- func (inst *UpdateAccount) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateAccount) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (obj UpdateAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateAccount) SetIdentifier(identifier string) *UpdateAccount
- func (inst *UpdateAccount) SetOwner2(owner2 ag_solanago.PublicKey) *UpdateAccount
- func (inst *UpdateAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *UpdateAccount
- func (inst *UpdateAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UpdateAccount
- func (inst *UpdateAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UpdateAccount
- func (inst *UpdateAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAccount
- func (inst *UpdateAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UpdateAccount
- func (obj *UpdateAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateAccount) Validate() error
- func (inst UpdateAccount) ValidateAndBuild() (*Instruction, error)
- type UpdateAccount2
- func (inst UpdateAccount2) Build() *Instruction
- func (inst *UpdateAccount2) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (obj UpdateAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateAccount2) SetIdentifier(identifier string) *UpdateAccount2
- func (inst *UpdateAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *UpdateAccount2
- func (inst *UpdateAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UpdateAccount2
- func (inst *UpdateAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UpdateAccount2
- func (inst *UpdateAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAccount2
- func (inst *UpdateAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UpdateAccount2
- func (obj *UpdateAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateAccount2) Validate() error
- func (inst UpdateAccount2) ValidateAndBuild() (*Instruction, error)
- type UpdateConfig
- func (inst UpdateConfig) Build() *Instruction
- func (inst *UpdateConfig) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateConfig) GetAdminAccount() *ag_solanago.AccountMeta
- func (inst *UpdateConfig) GetStorageConfigAccount() *ag_solanago.AccountMeta
- func (obj UpdateConfig) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateConfig) SetAdminAccount(admin ag_solanago.PublicKey) *UpdateConfig
- func (inst *UpdateConfig) SetNewAdmin2(newAdmin2 ag_solanago.PublicKey) *UpdateConfig
- func (inst *UpdateConfig) SetNewMaxAcctSize(newMaxAcctSize uint64) *UpdateConfig
- func (inst *UpdateConfig) SetNewMinAcctSize(newMinAcctSize uint64) *UpdateConfig
- func (inst *UpdateConfig) SetNewStorageAvailable(newStorageAvailable ag_binary.Uint128) *UpdateConfig
- func (inst *UpdateConfig) SetNewStorageCost(newStorageCost uint64) *UpdateConfig
- func (inst *UpdateConfig) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UpdateConfig
- func (obj *UpdateConfig) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateConfig) Validate() error
- func (inst UpdateConfig) ValidateAndBuild() (*Instruction, error)
- type UserInfo
Constants ¶
const ProgramName = "ShadowDriveUserStaking"
Variables ¶
var ( Instruction_InitializeConfig = ag_binary.TypeID([8]byte{208, 127, 21, 1, 194, 190, 196, 70}) Instruction_UpdateConfig = ag_binary.TypeID([8]byte{29, 158, 252, 191, 10, 83, 219, 99}) Instruction_MutableFees = ag_binary.TypeID([8]byte{250, 38, 118, 149, 204, 133, 239, 231}) Instruction_InitializeAccount = ag_binary.TypeID([8]byte{74, 115, 99, 93, 197, 69, 103, 7}) Instruction_InitializeAccount2 = ag_binary.TypeID([8]byte{8, 182, 149, 144, 185, 31, 209, 105}) Instruction_UpdateAccount = ag_binary.TypeID([8]byte{231, 31, 72, 97, 68, 133, 133, 152}) Instruction_UpdateAccount2 = ag_binary.TypeID([8]byte{94, 86, 186, 115, 33, 187, 237, 8}) Instruction_RequestDeleteAccount = ag_binary.TypeID([8]byte{223, 4, 76, 243, 237, 193, 231, 46}) Instruction_RequestDeleteAccount2 = ag_binary.TypeID([8]byte{8, 140, 234, 95, 25, 4, 50, 185}) Instruction_UnmarkDeleteAccount = ag_binary.TypeID([8]byte{95, 27, 216, 87, 94, 97, 212, 183}) Instruction_UnmarkDeleteAccount2 = ag_binary.TypeID([8]byte{6, 60, 224, 154, 255, 67, 114, 140}) Instruction_RedeemRent = ag_binary.TypeID([8]byte{33, 167, 14, 147, 153, 140, 217, 144}) Instruction_DeleteAccount = ag_binary.TypeID([8]byte{124, 6, 214, 255, 144, 7, 159, 251}) Instruction_DeleteAccount2 = ag_binary.TypeID([8]byte{102, 22, 243, 60, 222, 75, 121, 172}) Instruction_MakeAccountImmutable = ag_binary.TypeID([8]byte{101, 64, 199, 31, 224, 32, 157, 231}) Instruction_MakeAccountImmutable2 = ag_binary.TypeID([8]byte{67, 217, 126, 253, 69, 164, 84, 139}) Instruction_BadCsam = ag_binary.TypeID([8]byte{35, 58, 226, 67, 218, 112, 141, 234}) Instruction_BadCsam2 = ag_binary.TypeID([8]byte{71, 185, 133, 67, 232, 253, 118, 203}) Instruction_IncreaseStorage = ag_binary.TypeID([8]byte{228, 221, 246, 115, 32, 36, 23, 0}) Instruction_IncreaseStorage2 = ag_binary.TypeID([8]byte{82, 92, 193, 19, 45, 12, 173, 78}) Instruction_IncreaseImmutableStorage = ag_binary.TypeID([8]byte{15, 242, 154, 6, 214, 53, 252, 36}) Instruction_IncreaseImmutableStorage2 = ag_binary.TypeID([8]byte{106, 68, 189, 44, 86, 106, 200, 155}) Instruction_DecreaseStorage = ag_binary.TypeID([8]byte{67, 13, 65, 65, 109, 230, 42, 138}) Instruction_DecreaseStorage2 = ag_binary.TypeID([8]byte{24, 37, 133, 195, 45, 197, 190, 175}) Instruction_ClaimStake = ag_binary.TypeID([8]byte{62, 145, 133, 242, 244, 59, 53, 139}) Instruction_ClaimStake2 = ag_binary.TypeID([8]byte{219, 42, 186, 26, 91, 182, 115, 63}) Instruction_Crank = ag_binary.TypeID([8]byte{0, 232, 3, 195, 124, 117, 105, 53}) Instruction_Crank2 = ag_binary.TypeID([8]byte{229, 9, 195, 60, 102, 88, 163, 54}) Instruction_RefreshStake = ag_binary.TypeID([8]byte{194, 123, 40, 247, 37, 237, 119, 119}) Instruction_RefreshStake2 = ag_binary.TypeID([8]byte{184, 185, 15, 101, 172, 46, 252, 56}) Instruction_MigrateStep1 = ag_binary.TypeID([8]byte{53, 197, 190, 236, 105, 239, 89, 99}) Instruction_MigrateStep2 = ag_binary.TypeID([8]byte{236, 176, 21, 180, 127, 73, 184, 61}) )
var FileDiscriminator = [8]byte{42, 139, 221, 240, 129, 106, 48, 252}
var InstructionImplDef = ag_binary.NewVariantDefinition( ag_binary.AnchorTypeIDEncoding, []ag_binary.VariantType{ { "initialize_config", (*InitializeConfig)(nil), }, { "update_config", (*UpdateConfig)(nil), }, { "mutable_fees", (*MutableFees)(nil), }, { "initialize_account", (*InitializeAccount)(nil), }, { "initialize_account2", (*InitializeAccount2)(nil), }, { "update_account", (*UpdateAccount)(nil), }, { "update_account2", (*UpdateAccount2)(nil), }, { "request_delete_account", (*RequestDeleteAccount)(nil), }, { "request_delete_account2", (*RequestDeleteAccount2)(nil), }, { "unmark_delete_account", (*UnmarkDeleteAccount)(nil), }, { "unmark_delete_account2", (*UnmarkDeleteAccount2)(nil), }, { "redeem_rent", (*RedeemRent)(nil), }, { "delete_account", (*DeleteAccount)(nil), }, { "delete_account2", (*DeleteAccount2)(nil), }, { "make_account_immutable", (*MakeAccountImmutable)(nil), }, { "make_account_immutable2", (*MakeAccountImmutable2)(nil), }, { "bad_csam", (*BadCsam)(nil), }, { "bad_csam2", (*BadCsam2)(nil), }, { "increase_storage", (*IncreaseStorage)(nil), }, { "increase_storage2", (*IncreaseStorage2)(nil), }, { "increase_immutable_storage", (*IncreaseImmutableStorage)(nil), }, { "increase_immutable_storage2", (*IncreaseImmutableStorage2)(nil), }, { "decrease_storage", (*DecreaseStorage)(nil), }, { "decrease_storage2", (*DecreaseStorage2)(nil), }, { "claim_stake", (*ClaimStake)(nil), }, { "claim_stake2", (*ClaimStake2)(nil), }, { "crank", (*Crank)(nil), }, { "crank2", (*Crank2)(nil), }, { "refresh_stake", (*RefreshStake)(nil), }, { "refresh_stake2", (*RefreshStake2)(nil), }, { "migrate_step1", (*MigrateStep1)(nil), }, { "migrate_step2", (*MigrateStep2)(nil), }, }, )
var ProgramID ag_solanago.PublicKey
var StorageAccountDiscriminator = [8]byte{41, 48, 231, 194, 22, 77, 205, 235}
var StorageAccountV2Discriminator = [8]byte{133, 53, 253, 82, 212, 5, 201, 218}
var StorageConfigDiscriminator = [8]byte{90, 136, 182, 122, 243, 186, 80, 201}
var UnstakeInfoDiscriminator = [8]byte{35, 204, 218, 156, 35, 179, 155, 198}
var UserInfoDiscriminator = [8]byte{83, 134, 200, 56, 144, 56, 10, 62}
Functions ¶
func InstructionIDToName ¶
InstructionIDToName returns the name of the instruction given its ID.
func SetProgramID ¶
func SetProgramID(pubkey ag_solanago.PublicKey)
Types ¶
type BadCsam ¶
type BadCsam struct { StorageAvailable *uint64 // [0] = [WRITE] storageConfig // // [1] = [WRITE] userInfo // // [2] = [WRITE] storageAccount // // [3] = [WRITE] stakeAccount // // [4] = [WRITE, SIGNER] uploader // // [5] = [WRITE] emissionsWallet // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
BadCsam is the `badCsam` instruction.
func NewBadCsamInstruction ¶
func NewBadCsamInstruction( storageAvailable uint64, storageConfig ag_solanago.PublicKey, userInfo ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, uploader ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *BadCsam
NewBadCsamInstruction declares a new BadCsam instruction with the provided parameters and accounts.
func NewBadCsamInstructionBuilder ¶
func NewBadCsamInstructionBuilder() *BadCsam
NewBadCsamInstructionBuilder creates a new `BadCsam` instruction builder.
func (BadCsam) Build ¶
func (inst BadCsam) Build() *Instruction
func (*BadCsam) EncodeToTree ¶
func (inst *BadCsam) EncodeToTree(parent ag_treeout.Branches)
func (*BadCsam) GetEmissionsWalletAccount ¶
func (inst *BadCsam) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*BadCsam) GetStakeAccountAccount ¶
func (inst *BadCsam) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*BadCsam) GetStorageAccountAccount ¶
func (inst *BadCsam) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*BadCsam) GetStorageConfigAccount ¶
func (inst *BadCsam) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*BadCsam) GetSystemProgramAccount ¶
func (inst *BadCsam) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*BadCsam) GetTokenMintAccount ¶
func (inst *BadCsam) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*BadCsam) GetTokenProgramAccount ¶
func (inst *BadCsam) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*BadCsam) GetUploaderAccount ¶
func (inst *BadCsam) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (*BadCsam) GetUserInfoAccount ¶
func (inst *BadCsam) GetUserInfoAccount() *ag_solanago.AccountMeta
GetUserInfoAccount gets the "userInfo" account.
func (BadCsam) MarshalWithEncoder ¶
func (*BadCsam) SetEmissionsWalletAccount ¶
func (inst *BadCsam) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *BadCsam
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*BadCsam) SetStakeAccountAccount ¶
func (inst *BadCsam) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *BadCsam
SetStakeAccountAccount sets the "stakeAccount" account.
func (*BadCsam) SetStorageAccountAccount ¶
func (inst *BadCsam) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *BadCsam
SetStorageAccountAccount sets the "storageAccount" account.
func (*BadCsam) SetStorageAvailable ¶
SetStorageAvailable sets the "storageAvailable" parameter.
func (*BadCsam) SetStorageConfigAccount ¶
func (inst *BadCsam) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *BadCsam
SetStorageConfigAccount sets the "storageConfig" account.
func (*BadCsam) SetSystemProgramAccount ¶
func (inst *BadCsam) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *BadCsam
SetSystemProgramAccount sets the "systemProgram" account.
func (*BadCsam) SetTokenMintAccount ¶
func (inst *BadCsam) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *BadCsam
SetTokenMintAccount sets the "tokenMint" account.
func (*BadCsam) SetTokenProgramAccount ¶
func (inst *BadCsam) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *BadCsam
SetTokenProgramAccount sets the "tokenProgram" account.
func (*BadCsam) SetUploaderAccount ¶
func (inst *BadCsam) SetUploaderAccount(uploader ag_solanago.PublicKey) *BadCsam
SetUploaderAccount sets the "uploader" account.
func (*BadCsam) SetUserInfoAccount ¶
func (inst *BadCsam) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *BadCsam
SetUserInfoAccount sets the "userInfo" account.
func (*BadCsam) UnmarshalWithDecoder ¶
func (BadCsam) ValidateAndBuild ¶
func (inst BadCsam) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type BadCsam2 ¶
type BadCsam2 struct { StorageAvailable *uint64 // [0] = [WRITE] storageConfig // // [1] = [WRITE] userInfo // // [2] = [WRITE] storageAccount // // [3] = [WRITE] stakeAccount // // [4] = [WRITE, SIGNER] uploader // // [5] = [WRITE] emissionsWallet // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
BadCsam2 is the `badCsam2` instruction.
func NewBadCsam2Instruction ¶
func NewBadCsam2Instruction( storageAvailable uint64, storageConfig ag_solanago.PublicKey, userInfo ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, uploader ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *BadCsam2
NewBadCsam2Instruction declares a new BadCsam2 instruction with the provided parameters and accounts.
func NewBadCsam2InstructionBuilder ¶
func NewBadCsam2InstructionBuilder() *BadCsam2
NewBadCsam2InstructionBuilder creates a new `BadCsam2` instruction builder.
func (BadCsam2) Build ¶
func (inst BadCsam2) Build() *Instruction
func (*BadCsam2) EncodeToTree ¶
func (inst *BadCsam2) EncodeToTree(parent ag_treeout.Branches)
func (*BadCsam2) GetEmissionsWalletAccount ¶
func (inst *BadCsam2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*BadCsam2) GetStakeAccountAccount ¶
func (inst *BadCsam2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*BadCsam2) GetStorageAccountAccount ¶
func (inst *BadCsam2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*BadCsam2) GetStorageConfigAccount ¶
func (inst *BadCsam2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*BadCsam2) GetSystemProgramAccount ¶
func (inst *BadCsam2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*BadCsam2) GetTokenMintAccount ¶
func (inst *BadCsam2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*BadCsam2) GetTokenProgramAccount ¶
func (inst *BadCsam2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*BadCsam2) GetUploaderAccount ¶
func (inst *BadCsam2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (*BadCsam2) GetUserInfoAccount ¶
func (inst *BadCsam2) GetUserInfoAccount() *ag_solanago.AccountMeta
GetUserInfoAccount gets the "userInfo" account.
func (BadCsam2) MarshalWithEncoder ¶
func (*BadCsam2) SetEmissionsWalletAccount ¶
func (inst *BadCsam2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *BadCsam2
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*BadCsam2) SetStakeAccountAccount ¶
func (inst *BadCsam2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *BadCsam2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*BadCsam2) SetStorageAccountAccount ¶
func (inst *BadCsam2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *BadCsam2
SetStorageAccountAccount sets the "storageAccount" account.
func (*BadCsam2) SetStorageAvailable ¶
SetStorageAvailable sets the "storageAvailable" parameter.
func (*BadCsam2) SetStorageConfigAccount ¶
func (inst *BadCsam2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *BadCsam2
SetStorageConfigAccount sets the "storageConfig" account.
func (*BadCsam2) SetSystemProgramAccount ¶
func (inst *BadCsam2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *BadCsam2
SetSystemProgramAccount sets the "systemProgram" account.
func (*BadCsam2) SetTokenMintAccount ¶
func (inst *BadCsam2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *BadCsam2
SetTokenMintAccount sets the "tokenMint" account.
func (*BadCsam2) SetTokenProgramAccount ¶
func (inst *BadCsam2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *BadCsam2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*BadCsam2) SetUploaderAccount ¶
func (inst *BadCsam2) SetUploaderAccount(uploader ag_solanago.PublicKey) *BadCsam2
SetUploaderAccount sets the "uploader" account.
func (*BadCsam2) SetUserInfoAccount ¶
func (inst *BadCsam2) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *BadCsam2
SetUserInfoAccount sets the "userInfo" account.
func (*BadCsam2) UnmarshalWithDecoder ¶
func (BadCsam2) ValidateAndBuild ¶
func (inst BadCsam2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type ClaimStake ¶
type ClaimStake struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] unstakeInfo // // [3] = [WRITE] unstakeAccount // // [4] = [WRITE, SIGNER] owner // // [5] = [WRITE] ownerAta // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
ClaimStake is the `claimStake` instruction.
func NewClaimStakeInstruction ¶
func NewClaimStakeInstruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, unstakeInfo ag_solanago.PublicKey, unstakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *ClaimStake
NewClaimStakeInstruction declares a new ClaimStake instruction with the provided parameters and accounts.
func NewClaimStakeInstructionBuilder ¶
func NewClaimStakeInstructionBuilder() *ClaimStake
NewClaimStakeInstructionBuilder creates a new `ClaimStake` instruction builder.
func (ClaimStake) Build ¶
func (inst ClaimStake) Build() *Instruction
func (*ClaimStake) EncodeToTree ¶
func (inst *ClaimStake) EncodeToTree(parent ag_treeout.Branches)
func (*ClaimStake) GetOwnerAccount ¶
func (inst *ClaimStake) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*ClaimStake) GetOwnerAtaAccount ¶
func (inst *ClaimStake) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*ClaimStake) GetStorageAccountAccount ¶
func (inst *ClaimStake) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*ClaimStake) GetStorageConfigAccount ¶
func (inst *ClaimStake) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*ClaimStake) GetSystemProgramAccount ¶
func (inst *ClaimStake) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*ClaimStake) GetTokenMintAccount ¶
func (inst *ClaimStake) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*ClaimStake) GetTokenProgramAccount ¶
func (inst *ClaimStake) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*ClaimStake) GetUnstakeAccountAccount ¶
func (inst *ClaimStake) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
GetUnstakeAccountAccount gets the "unstakeAccount" account.
func (*ClaimStake) GetUnstakeInfoAccount ¶
func (inst *ClaimStake) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
GetUnstakeInfoAccount gets the "unstakeInfo" account.
func (ClaimStake) MarshalWithEncoder ¶
func (obj ClaimStake) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*ClaimStake) SetOwnerAccount ¶
func (inst *ClaimStake) SetOwnerAccount(owner ag_solanago.PublicKey) *ClaimStake
SetOwnerAccount sets the "owner" account.
func (*ClaimStake) SetOwnerAtaAccount ¶
func (inst *ClaimStake) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *ClaimStake
SetOwnerAtaAccount sets the "ownerAta" account.
func (*ClaimStake) SetStorageAccountAccount ¶
func (inst *ClaimStake) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *ClaimStake
SetStorageAccountAccount sets the "storageAccount" account.
func (*ClaimStake) SetStorageConfigAccount ¶
func (inst *ClaimStake) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *ClaimStake
SetStorageConfigAccount sets the "storageConfig" account.
func (*ClaimStake) SetSystemProgramAccount ¶
func (inst *ClaimStake) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ClaimStake
SetSystemProgramAccount sets the "systemProgram" account.
func (*ClaimStake) SetTokenMintAccount ¶
func (inst *ClaimStake) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ClaimStake
SetTokenMintAccount sets the "tokenMint" account.
func (*ClaimStake) SetTokenProgramAccount ¶
func (inst *ClaimStake) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ClaimStake
SetTokenProgramAccount sets the "tokenProgram" account.
func (*ClaimStake) SetUnstakeAccountAccount ¶
func (inst *ClaimStake) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *ClaimStake
SetUnstakeAccountAccount sets the "unstakeAccount" account.
func (*ClaimStake) SetUnstakeInfoAccount ¶
func (inst *ClaimStake) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *ClaimStake
SetUnstakeInfoAccount sets the "unstakeInfo" account.
func (*ClaimStake) UnmarshalWithDecoder ¶
func (obj *ClaimStake) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*ClaimStake) Validate ¶
func (inst *ClaimStake) Validate() error
func (ClaimStake) ValidateAndBuild ¶
func (inst ClaimStake) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type ClaimStake2 ¶
type ClaimStake2 struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] unstakeInfo // // [3] = [WRITE] unstakeAccount // // [4] = [WRITE, SIGNER] owner // // [5] = [WRITE] ownerAta // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
ClaimStake2 is the `claimStake2` instruction.
func NewClaimStake2Instruction ¶
func NewClaimStake2Instruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, unstakeInfo ag_solanago.PublicKey, unstakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *ClaimStake2
NewClaimStake2Instruction declares a new ClaimStake2 instruction with the provided parameters and accounts.
func NewClaimStake2InstructionBuilder ¶
func NewClaimStake2InstructionBuilder() *ClaimStake2
NewClaimStake2InstructionBuilder creates a new `ClaimStake2` instruction builder.
func (ClaimStake2) Build ¶
func (inst ClaimStake2) Build() *Instruction
func (*ClaimStake2) EncodeToTree ¶
func (inst *ClaimStake2) EncodeToTree(parent ag_treeout.Branches)
func (*ClaimStake2) GetOwnerAccount ¶
func (inst *ClaimStake2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*ClaimStake2) GetOwnerAtaAccount ¶
func (inst *ClaimStake2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*ClaimStake2) GetStorageAccountAccount ¶
func (inst *ClaimStake2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*ClaimStake2) GetStorageConfigAccount ¶
func (inst *ClaimStake2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*ClaimStake2) GetSystemProgramAccount ¶
func (inst *ClaimStake2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*ClaimStake2) GetTokenMintAccount ¶
func (inst *ClaimStake2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*ClaimStake2) GetTokenProgramAccount ¶
func (inst *ClaimStake2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*ClaimStake2) GetUnstakeAccountAccount ¶
func (inst *ClaimStake2) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
GetUnstakeAccountAccount gets the "unstakeAccount" account.
func (*ClaimStake2) GetUnstakeInfoAccount ¶
func (inst *ClaimStake2) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
GetUnstakeInfoAccount gets the "unstakeInfo" account.
func (ClaimStake2) MarshalWithEncoder ¶
func (obj ClaimStake2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*ClaimStake2) SetOwnerAccount ¶
func (inst *ClaimStake2) SetOwnerAccount(owner ag_solanago.PublicKey) *ClaimStake2
SetOwnerAccount sets the "owner" account.
func (*ClaimStake2) SetOwnerAtaAccount ¶
func (inst *ClaimStake2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *ClaimStake2
SetOwnerAtaAccount sets the "ownerAta" account.
func (*ClaimStake2) SetStorageAccountAccount ¶
func (inst *ClaimStake2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *ClaimStake2
SetStorageAccountAccount sets the "storageAccount" account.
func (*ClaimStake2) SetStorageConfigAccount ¶
func (inst *ClaimStake2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *ClaimStake2
SetStorageConfigAccount sets the "storageConfig" account.
func (*ClaimStake2) SetSystemProgramAccount ¶
func (inst *ClaimStake2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ClaimStake2
SetSystemProgramAccount sets the "systemProgram" account.
func (*ClaimStake2) SetTokenMintAccount ¶
func (inst *ClaimStake2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ClaimStake2
SetTokenMintAccount sets the "tokenMint" account.
func (*ClaimStake2) SetTokenProgramAccount ¶
func (inst *ClaimStake2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ClaimStake2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*ClaimStake2) SetUnstakeAccountAccount ¶
func (inst *ClaimStake2) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *ClaimStake2
SetUnstakeAccountAccount sets the "unstakeAccount" account.
func (*ClaimStake2) SetUnstakeInfoAccount ¶
func (inst *ClaimStake2) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *ClaimStake2
SetUnstakeInfoAccount sets the "unstakeInfo" account.
func (*ClaimStake2) UnmarshalWithDecoder ¶
func (obj *ClaimStake2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*ClaimStake2) Validate ¶
func (inst *ClaimStake2) Validate() error
func (ClaimStake2) ValidateAndBuild ¶
func (inst ClaimStake2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type Crank ¶
type Crank struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] stakeAccount // // [3] = [WRITE, SIGNER] cranker // // [4] = [WRITE] crankerAta // // [5] = [WRITE] emissionsWallet // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
Crank is the `crank` instruction.
func NewCrankInstruction ¶
func NewCrankInstruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, cranker ag_solanago.PublicKey, crankerAta ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *Crank
NewCrankInstruction declares a new Crank instruction with the provided parameters and accounts.
func NewCrankInstructionBuilder ¶
func NewCrankInstructionBuilder() *Crank
NewCrankInstructionBuilder creates a new `Crank` instruction builder.
func (Crank) Build ¶
func (inst Crank) Build() *Instruction
func (*Crank) EncodeToTree ¶
func (inst *Crank) EncodeToTree(parent ag_treeout.Branches)
func (*Crank) GetCrankerAccount ¶
func (inst *Crank) GetCrankerAccount() *ag_solanago.AccountMeta
GetCrankerAccount gets the "cranker" account.
func (*Crank) GetCrankerAtaAccount ¶
func (inst *Crank) GetCrankerAtaAccount() *ag_solanago.AccountMeta
GetCrankerAtaAccount gets the "crankerAta" account.
func (*Crank) GetEmissionsWalletAccount ¶
func (inst *Crank) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*Crank) GetStakeAccountAccount ¶
func (inst *Crank) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*Crank) GetStorageAccountAccount ¶
func (inst *Crank) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*Crank) GetStorageConfigAccount ¶
func (inst *Crank) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*Crank) GetSystemProgramAccount ¶
func (inst *Crank) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Crank) GetTokenMintAccount ¶
func (inst *Crank) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*Crank) GetTokenProgramAccount ¶
func (inst *Crank) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (Crank) MarshalWithEncoder ¶
func (*Crank) SetCrankerAccount ¶
func (inst *Crank) SetCrankerAccount(cranker ag_solanago.PublicKey) *Crank
SetCrankerAccount sets the "cranker" account.
func (*Crank) SetCrankerAtaAccount ¶
func (inst *Crank) SetCrankerAtaAccount(crankerAta ag_solanago.PublicKey) *Crank
SetCrankerAtaAccount sets the "crankerAta" account.
func (*Crank) SetEmissionsWalletAccount ¶
func (inst *Crank) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *Crank
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*Crank) SetStakeAccountAccount ¶
func (inst *Crank) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *Crank
SetStakeAccountAccount sets the "stakeAccount" account.
func (*Crank) SetStorageAccountAccount ¶
func (inst *Crank) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *Crank
SetStorageAccountAccount sets the "storageAccount" account.
func (*Crank) SetStorageConfigAccount ¶
func (inst *Crank) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *Crank
SetStorageConfigAccount sets the "storageConfig" account.
func (*Crank) SetSystemProgramAccount ¶
func (inst *Crank) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Crank
SetSystemProgramAccount sets the "systemProgram" account.
func (*Crank) SetTokenMintAccount ¶
func (inst *Crank) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *Crank
SetTokenMintAccount sets the "tokenMint" account.
func (*Crank) SetTokenProgramAccount ¶
func (inst *Crank) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Crank
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Crank) UnmarshalWithDecoder ¶
func (Crank) ValidateAndBuild ¶
func (inst Crank) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type Crank2 ¶
type Crank2 struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] stakeAccount // // [3] = [WRITE, SIGNER] cranker // // [4] = [WRITE] crankerAta // // [5] = [WRITE] emissionsWallet // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
Crank2 is the `crank2` instruction.
func NewCrank2Instruction ¶
func NewCrank2Instruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, cranker ag_solanago.PublicKey, crankerAta ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *Crank2
NewCrank2Instruction declares a new Crank2 instruction with the provided parameters and accounts.
func NewCrank2InstructionBuilder ¶
func NewCrank2InstructionBuilder() *Crank2
NewCrank2InstructionBuilder creates a new `Crank2` instruction builder.
func (Crank2) Build ¶
func (inst Crank2) Build() *Instruction
func (*Crank2) EncodeToTree ¶
func (inst *Crank2) EncodeToTree(parent ag_treeout.Branches)
func (*Crank2) GetCrankerAccount ¶
func (inst *Crank2) GetCrankerAccount() *ag_solanago.AccountMeta
GetCrankerAccount gets the "cranker" account.
func (*Crank2) GetCrankerAtaAccount ¶
func (inst *Crank2) GetCrankerAtaAccount() *ag_solanago.AccountMeta
GetCrankerAtaAccount gets the "crankerAta" account.
func (*Crank2) GetEmissionsWalletAccount ¶
func (inst *Crank2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*Crank2) GetStakeAccountAccount ¶
func (inst *Crank2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*Crank2) GetStorageAccountAccount ¶
func (inst *Crank2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*Crank2) GetStorageConfigAccount ¶
func (inst *Crank2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*Crank2) GetSystemProgramAccount ¶
func (inst *Crank2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Crank2) GetTokenMintAccount ¶
func (inst *Crank2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*Crank2) GetTokenProgramAccount ¶
func (inst *Crank2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (Crank2) MarshalWithEncoder ¶
func (*Crank2) SetCrankerAccount ¶
func (inst *Crank2) SetCrankerAccount(cranker ag_solanago.PublicKey) *Crank2
SetCrankerAccount sets the "cranker" account.
func (*Crank2) SetCrankerAtaAccount ¶
func (inst *Crank2) SetCrankerAtaAccount(crankerAta ag_solanago.PublicKey) *Crank2
SetCrankerAtaAccount sets the "crankerAta" account.
func (*Crank2) SetEmissionsWalletAccount ¶
func (inst *Crank2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *Crank2
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*Crank2) SetStakeAccountAccount ¶
func (inst *Crank2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *Crank2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*Crank2) SetStorageAccountAccount ¶
func (inst *Crank2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *Crank2
SetStorageAccountAccount sets the "storageAccount" account.
func (*Crank2) SetStorageConfigAccount ¶
func (inst *Crank2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *Crank2
SetStorageConfigAccount sets the "storageConfig" account.
func (*Crank2) SetSystemProgramAccount ¶
func (inst *Crank2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Crank2
SetSystemProgramAccount sets the "systemProgram" account.
func (*Crank2) SetTokenMintAccount ¶
func (inst *Crank2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *Crank2
SetTokenMintAccount sets the "tokenMint" account.
func (*Crank2) SetTokenProgramAccount ¶
func (inst *Crank2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Crank2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Crank2) UnmarshalWithDecoder ¶
func (Crank2) ValidateAndBuild ¶
func (inst Crank2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type DecreaseStorage ¶
type DecreaseStorage struct { RemoveStorage *uint64 // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] unstakeInfo // // [3] = [WRITE] unstakeAccount // // [4] = [WRITE, SIGNER] owner // // [5] = [WRITE] ownerAta // // [6] = [WRITE] stakeAccount // // [7] = [] tokenMint // // [8] = [SIGNER] uploader // // [9] = [WRITE] emissionsWallet // // [10] = [] systemProgram // // [11] = [] tokenProgram // // [12] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
DecreaseStorage is the `decreaseStorage` instruction.
func NewDecreaseStorageInstruction ¶
func NewDecreaseStorageInstruction( removeStorage uint64, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, unstakeInfo ag_solanago.PublicKey, unstakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, uploader ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *DecreaseStorage
NewDecreaseStorageInstruction declares a new DecreaseStorage instruction with the provided parameters and accounts.
func NewDecreaseStorageInstructionBuilder ¶
func NewDecreaseStorageInstructionBuilder() *DecreaseStorage
NewDecreaseStorageInstructionBuilder creates a new `DecreaseStorage` instruction builder.
func (DecreaseStorage) Build ¶
func (inst DecreaseStorage) Build() *Instruction
func (*DecreaseStorage) EncodeToTree ¶
func (inst *DecreaseStorage) EncodeToTree(parent ag_treeout.Branches)
func (*DecreaseStorage) GetEmissionsWalletAccount ¶
func (inst *DecreaseStorage) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*DecreaseStorage) GetOwnerAccount ¶
func (inst *DecreaseStorage) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*DecreaseStorage) GetOwnerAtaAccount ¶
func (inst *DecreaseStorage) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*DecreaseStorage) GetRentAccount ¶
func (inst *DecreaseStorage) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*DecreaseStorage) GetStakeAccountAccount ¶
func (inst *DecreaseStorage) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*DecreaseStorage) GetStorageAccountAccount ¶
func (inst *DecreaseStorage) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*DecreaseStorage) GetStorageConfigAccount ¶
func (inst *DecreaseStorage) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*DecreaseStorage) GetSystemProgramAccount ¶
func (inst *DecreaseStorage) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*DecreaseStorage) GetTokenMintAccount ¶
func (inst *DecreaseStorage) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*DecreaseStorage) GetTokenProgramAccount ¶
func (inst *DecreaseStorage) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*DecreaseStorage) GetUnstakeAccountAccount ¶
func (inst *DecreaseStorage) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
GetUnstakeAccountAccount gets the "unstakeAccount" account.
func (*DecreaseStorage) GetUnstakeInfoAccount ¶
func (inst *DecreaseStorage) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
GetUnstakeInfoAccount gets the "unstakeInfo" account.
func (*DecreaseStorage) GetUploaderAccount ¶
func (inst *DecreaseStorage) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (DecreaseStorage) MarshalWithEncoder ¶
func (obj DecreaseStorage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*DecreaseStorage) SetEmissionsWalletAccount ¶
func (inst *DecreaseStorage) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DecreaseStorage
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*DecreaseStorage) SetOwnerAccount ¶
func (inst *DecreaseStorage) SetOwnerAccount(owner ag_solanago.PublicKey) *DecreaseStorage
SetOwnerAccount sets the "owner" account.
func (*DecreaseStorage) SetOwnerAtaAccount ¶
func (inst *DecreaseStorage) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *DecreaseStorage
SetOwnerAtaAccount sets the "ownerAta" account.
func (*DecreaseStorage) SetRemoveStorage ¶
func (inst *DecreaseStorage) SetRemoveStorage(removeStorage uint64) *DecreaseStorage
SetRemoveStorage sets the "removeStorage" parameter.
func (*DecreaseStorage) SetRentAccount ¶
func (inst *DecreaseStorage) SetRentAccount(rent ag_solanago.PublicKey) *DecreaseStorage
SetRentAccount sets the "rent" account.
func (*DecreaseStorage) SetStakeAccountAccount ¶
func (inst *DecreaseStorage) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DecreaseStorage
SetStakeAccountAccount sets the "stakeAccount" account.
func (*DecreaseStorage) SetStorageAccountAccount ¶
func (inst *DecreaseStorage) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DecreaseStorage
SetStorageAccountAccount sets the "storageAccount" account.
func (*DecreaseStorage) SetStorageConfigAccount ¶
func (inst *DecreaseStorage) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DecreaseStorage
SetStorageConfigAccount sets the "storageConfig" account.
func (*DecreaseStorage) SetSystemProgramAccount ¶
func (inst *DecreaseStorage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DecreaseStorage
SetSystemProgramAccount sets the "systemProgram" account.
func (*DecreaseStorage) SetTokenMintAccount ¶
func (inst *DecreaseStorage) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DecreaseStorage
SetTokenMintAccount sets the "tokenMint" account.
func (*DecreaseStorage) SetTokenProgramAccount ¶
func (inst *DecreaseStorage) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DecreaseStorage
SetTokenProgramAccount sets the "tokenProgram" account.
func (*DecreaseStorage) SetUnstakeAccountAccount ¶
func (inst *DecreaseStorage) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *DecreaseStorage
SetUnstakeAccountAccount sets the "unstakeAccount" account.
func (*DecreaseStorage) SetUnstakeInfoAccount ¶
func (inst *DecreaseStorage) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *DecreaseStorage
SetUnstakeInfoAccount sets the "unstakeInfo" account.
func (*DecreaseStorage) SetUploaderAccount ¶
func (inst *DecreaseStorage) SetUploaderAccount(uploader ag_solanago.PublicKey) *DecreaseStorage
SetUploaderAccount sets the "uploader" account.
func (*DecreaseStorage) UnmarshalWithDecoder ¶
func (obj *DecreaseStorage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*DecreaseStorage) Validate ¶
func (inst *DecreaseStorage) Validate() error
func (DecreaseStorage) ValidateAndBuild ¶
func (inst DecreaseStorage) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type DecreaseStorage2 ¶
type DecreaseStorage2 struct { RemoveStorage *uint64 // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] unstakeInfo // // [3] = [WRITE] unstakeAccount // // [4] = [WRITE, SIGNER] owner // // [5] = [WRITE] ownerAta // // [6] = [WRITE] stakeAccount // // [7] = [] tokenMint // // [8] = [SIGNER] uploader // // [9] = [WRITE] emissionsWallet // // [10] = [] systemProgram // // [11] = [] tokenProgram // // [12] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
DecreaseStorage2 is the `decreaseStorage2` instruction.
func NewDecreaseStorage2Instruction ¶
func NewDecreaseStorage2Instruction( removeStorage uint64, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, unstakeInfo ag_solanago.PublicKey, unstakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, uploader ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *DecreaseStorage2
NewDecreaseStorage2Instruction declares a new DecreaseStorage2 instruction with the provided parameters and accounts.
func NewDecreaseStorage2InstructionBuilder ¶
func NewDecreaseStorage2InstructionBuilder() *DecreaseStorage2
NewDecreaseStorage2InstructionBuilder creates a new `DecreaseStorage2` instruction builder.
func (DecreaseStorage2) Build ¶
func (inst DecreaseStorage2) Build() *Instruction
func (*DecreaseStorage2) EncodeToTree ¶
func (inst *DecreaseStorage2) EncodeToTree(parent ag_treeout.Branches)
func (*DecreaseStorage2) GetEmissionsWalletAccount ¶
func (inst *DecreaseStorage2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*DecreaseStorage2) GetOwnerAccount ¶
func (inst *DecreaseStorage2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*DecreaseStorage2) GetOwnerAtaAccount ¶
func (inst *DecreaseStorage2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*DecreaseStorage2) GetRentAccount ¶
func (inst *DecreaseStorage2) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*DecreaseStorage2) GetStakeAccountAccount ¶
func (inst *DecreaseStorage2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*DecreaseStorage2) GetStorageAccountAccount ¶
func (inst *DecreaseStorage2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*DecreaseStorage2) GetStorageConfigAccount ¶
func (inst *DecreaseStorage2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*DecreaseStorage2) GetSystemProgramAccount ¶
func (inst *DecreaseStorage2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*DecreaseStorage2) GetTokenMintAccount ¶
func (inst *DecreaseStorage2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*DecreaseStorage2) GetTokenProgramAccount ¶
func (inst *DecreaseStorage2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*DecreaseStorage2) GetUnstakeAccountAccount ¶
func (inst *DecreaseStorage2) GetUnstakeAccountAccount() *ag_solanago.AccountMeta
GetUnstakeAccountAccount gets the "unstakeAccount" account.
func (*DecreaseStorage2) GetUnstakeInfoAccount ¶
func (inst *DecreaseStorage2) GetUnstakeInfoAccount() *ag_solanago.AccountMeta
GetUnstakeInfoAccount gets the "unstakeInfo" account.
func (*DecreaseStorage2) GetUploaderAccount ¶
func (inst *DecreaseStorage2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (DecreaseStorage2) MarshalWithEncoder ¶
func (obj DecreaseStorage2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*DecreaseStorage2) SetEmissionsWalletAccount ¶
func (inst *DecreaseStorage2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DecreaseStorage2
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*DecreaseStorage2) SetOwnerAccount ¶
func (inst *DecreaseStorage2) SetOwnerAccount(owner ag_solanago.PublicKey) *DecreaseStorage2
SetOwnerAccount sets the "owner" account.
func (*DecreaseStorage2) SetOwnerAtaAccount ¶
func (inst *DecreaseStorage2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *DecreaseStorage2
SetOwnerAtaAccount sets the "ownerAta" account.
func (*DecreaseStorage2) SetRemoveStorage ¶
func (inst *DecreaseStorage2) SetRemoveStorage(removeStorage uint64) *DecreaseStorage2
SetRemoveStorage sets the "removeStorage" parameter.
func (*DecreaseStorage2) SetRentAccount ¶
func (inst *DecreaseStorage2) SetRentAccount(rent ag_solanago.PublicKey) *DecreaseStorage2
SetRentAccount sets the "rent" account.
func (*DecreaseStorage2) SetStakeAccountAccount ¶
func (inst *DecreaseStorage2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DecreaseStorage2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*DecreaseStorage2) SetStorageAccountAccount ¶
func (inst *DecreaseStorage2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DecreaseStorage2
SetStorageAccountAccount sets the "storageAccount" account.
func (*DecreaseStorage2) SetStorageConfigAccount ¶
func (inst *DecreaseStorage2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DecreaseStorage2
SetStorageConfigAccount sets the "storageConfig" account.
func (*DecreaseStorage2) SetSystemProgramAccount ¶
func (inst *DecreaseStorage2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DecreaseStorage2
SetSystemProgramAccount sets the "systemProgram" account.
func (*DecreaseStorage2) SetTokenMintAccount ¶
func (inst *DecreaseStorage2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DecreaseStorage2
SetTokenMintAccount sets the "tokenMint" account.
func (*DecreaseStorage2) SetTokenProgramAccount ¶
func (inst *DecreaseStorage2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DecreaseStorage2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*DecreaseStorage2) SetUnstakeAccountAccount ¶
func (inst *DecreaseStorage2) SetUnstakeAccountAccount(unstakeAccount ag_solanago.PublicKey) *DecreaseStorage2
SetUnstakeAccountAccount sets the "unstakeAccount" account.
func (*DecreaseStorage2) SetUnstakeInfoAccount ¶
func (inst *DecreaseStorage2) SetUnstakeInfoAccount(unstakeInfo ag_solanago.PublicKey) *DecreaseStorage2
SetUnstakeInfoAccount sets the "unstakeInfo" account.
func (*DecreaseStorage2) SetUploaderAccount ¶
func (inst *DecreaseStorage2) SetUploaderAccount(uploader ag_solanago.PublicKey) *DecreaseStorage2
SetUploaderAccount sets the "uploader" account.
func (*DecreaseStorage2) UnmarshalWithDecoder ¶
func (obj *DecreaseStorage2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*DecreaseStorage2) Validate ¶
func (inst *DecreaseStorage2) Validate() error
func (DecreaseStorage2) ValidateAndBuild ¶
func (inst DecreaseStorage2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type DeleteAccount ¶
type DeleteAccount struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] userInfo // // [2] = [WRITE] storageAccount // // [3] = [WRITE] stakeAccount // // [4] = [WRITE] owner // // [5] = [WRITE] shdwPayer // // [6] = [SIGNER] uploader // // [7] = [WRITE] emissionsWallet // // [8] = [] tokenMint // // [9] = [] systemProgram // // [10] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
DeleteAccount is the `deleteAccount` instruction.
func NewDeleteAccountInstruction ¶
func NewDeleteAccountInstruction( storageConfig ag_solanago.PublicKey, userInfo ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, shdwPayer ag_solanago.PublicKey, uploader ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *DeleteAccount
NewDeleteAccountInstruction declares a new DeleteAccount instruction with the provided parameters and accounts.
func NewDeleteAccountInstructionBuilder ¶
func NewDeleteAccountInstructionBuilder() *DeleteAccount
NewDeleteAccountInstructionBuilder creates a new `DeleteAccount` instruction builder.
func (DeleteAccount) Build ¶
func (inst DeleteAccount) Build() *Instruction
func (*DeleteAccount) EncodeToTree ¶
func (inst *DeleteAccount) EncodeToTree(parent ag_treeout.Branches)
func (*DeleteAccount) GetEmissionsWalletAccount ¶
func (inst *DeleteAccount) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*DeleteAccount) GetOwnerAccount ¶
func (inst *DeleteAccount) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*DeleteAccount) GetShdwPayerAccount ¶
func (inst *DeleteAccount) GetShdwPayerAccount() *ag_solanago.AccountMeta
GetShdwPayerAccount gets the "shdwPayer" account.
func (*DeleteAccount) GetStakeAccountAccount ¶
func (inst *DeleteAccount) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*DeleteAccount) GetStorageAccountAccount ¶
func (inst *DeleteAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*DeleteAccount) GetStorageConfigAccount ¶
func (inst *DeleteAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*DeleteAccount) GetSystemProgramAccount ¶
func (inst *DeleteAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*DeleteAccount) GetTokenMintAccount ¶
func (inst *DeleteAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*DeleteAccount) GetTokenProgramAccount ¶
func (inst *DeleteAccount) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*DeleteAccount) GetUploaderAccount ¶
func (inst *DeleteAccount) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (*DeleteAccount) GetUserInfoAccount ¶
func (inst *DeleteAccount) GetUserInfoAccount() *ag_solanago.AccountMeta
GetUserInfoAccount gets the "userInfo" account.
func (DeleteAccount) MarshalWithEncoder ¶
func (obj DeleteAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*DeleteAccount) SetEmissionsWalletAccount ¶
func (inst *DeleteAccount) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DeleteAccount
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*DeleteAccount) SetOwnerAccount ¶
func (inst *DeleteAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *DeleteAccount
SetOwnerAccount sets the "owner" account.
func (*DeleteAccount) SetShdwPayerAccount ¶
func (inst *DeleteAccount) SetShdwPayerAccount(shdwPayer ag_solanago.PublicKey) *DeleteAccount
SetShdwPayerAccount sets the "shdwPayer" account.
func (*DeleteAccount) SetStakeAccountAccount ¶
func (inst *DeleteAccount) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DeleteAccount
SetStakeAccountAccount sets the "stakeAccount" account.
func (*DeleteAccount) SetStorageAccountAccount ¶
func (inst *DeleteAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DeleteAccount
SetStorageAccountAccount sets the "storageAccount" account.
func (*DeleteAccount) SetStorageConfigAccount ¶
func (inst *DeleteAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DeleteAccount
SetStorageConfigAccount sets the "storageConfig" account.
func (*DeleteAccount) SetSystemProgramAccount ¶
func (inst *DeleteAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DeleteAccount
SetSystemProgramAccount sets the "systemProgram" account.
func (*DeleteAccount) SetTokenMintAccount ¶
func (inst *DeleteAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DeleteAccount
SetTokenMintAccount sets the "tokenMint" account.
func (*DeleteAccount) SetTokenProgramAccount ¶
func (inst *DeleteAccount) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DeleteAccount
SetTokenProgramAccount sets the "tokenProgram" account.
func (*DeleteAccount) SetUploaderAccount ¶
func (inst *DeleteAccount) SetUploaderAccount(uploader ag_solanago.PublicKey) *DeleteAccount
SetUploaderAccount sets the "uploader" account.
func (*DeleteAccount) SetUserInfoAccount ¶
func (inst *DeleteAccount) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *DeleteAccount
SetUserInfoAccount sets the "userInfo" account.
func (*DeleteAccount) UnmarshalWithDecoder ¶
func (obj *DeleteAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*DeleteAccount) Validate ¶
func (inst *DeleteAccount) Validate() error
func (DeleteAccount) ValidateAndBuild ¶
func (inst DeleteAccount) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type DeleteAccount2 ¶
type DeleteAccount2 struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] userInfo // // [2] = [WRITE] storageAccount // // [3] = [WRITE] stakeAccount // // [4] = [WRITE] owner // // [5] = [WRITE] shdwPayer // // [6] = [SIGNER] uploader // // [7] = [WRITE] emissionsWallet // // [8] = [] tokenMint // // [9] = [] systemProgram // // [10] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
DeleteAccount2 is the `deleteAccount2` instruction.
func NewDeleteAccount2Instruction ¶
func NewDeleteAccount2Instruction( storageConfig ag_solanago.PublicKey, userInfo ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, shdwPayer ag_solanago.PublicKey, uploader ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *DeleteAccount2
NewDeleteAccount2Instruction declares a new DeleteAccount2 instruction with the provided parameters and accounts.
func NewDeleteAccount2InstructionBuilder ¶
func NewDeleteAccount2InstructionBuilder() *DeleteAccount2
NewDeleteAccount2InstructionBuilder creates a new `DeleteAccount2` instruction builder.
func (DeleteAccount2) Build ¶
func (inst DeleteAccount2) Build() *Instruction
func (*DeleteAccount2) EncodeToTree ¶
func (inst *DeleteAccount2) EncodeToTree(parent ag_treeout.Branches)
func (*DeleteAccount2) GetEmissionsWalletAccount ¶
func (inst *DeleteAccount2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*DeleteAccount2) GetOwnerAccount ¶
func (inst *DeleteAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*DeleteAccount2) GetShdwPayerAccount ¶
func (inst *DeleteAccount2) GetShdwPayerAccount() *ag_solanago.AccountMeta
GetShdwPayerAccount gets the "shdwPayer" account.
func (*DeleteAccount2) GetStakeAccountAccount ¶
func (inst *DeleteAccount2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*DeleteAccount2) GetStorageAccountAccount ¶
func (inst *DeleteAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*DeleteAccount2) GetStorageConfigAccount ¶
func (inst *DeleteAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*DeleteAccount2) GetSystemProgramAccount ¶
func (inst *DeleteAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*DeleteAccount2) GetTokenMintAccount ¶
func (inst *DeleteAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*DeleteAccount2) GetTokenProgramAccount ¶
func (inst *DeleteAccount2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*DeleteAccount2) GetUploaderAccount ¶
func (inst *DeleteAccount2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (*DeleteAccount2) GetUserInfoAccount ¶
func (inst *DeleteAccount2) GetUserInfoAccount() *ag_solanago.AccountMeta
GetUserInfoAccount gets the "userInfo" account.
func (DeleteAccount2) MarshalWithEncoder ¶
func (obj DeleteAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*DeleteAccount2) SetEmissionsWalletAccount ¶
func (inst *DeleteAccount2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *DeleteAccount2
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*DeleteAccount2) SetOwnerAccount ¶
func (inst *DeleteAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *DeleteAccount2
SetOwnerAccount sets the "owner" account.
func (*DeleteAccount2) SetShdwPayerAccount ¶
func (inst *DeleteAccount2) SetShdwPayerAccount(shdwPayer ag_solanago.PublicKey) *DeleteAccount2
SetShdwPayerAccount sets the "shdwPayer" account.
func (*DeleteAccount2) SetStakeAccountAccount ¶
func (inst *DeleteAccount2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *DeleteAccount2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*DeleteAccount2) SetStorageAccountAccount ¶
func (inst *DeleteAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *DeleteAccount2
SetStorageAccountAccount sets the "storageAccount" account.
func (*DeleteAccount2) SetStorageConfigAccount ¶
func (inst *DeleteAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *DeleteAccount2
SetStorageConfigAccount sets the "storageConfig" account.
func (*DeleteAccount2) SetSystemProgramAccount ¶
func (inst *DeleteAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DeleteAccount2
SetSystemProgramAccount sets the "systemProgram" account.
func (*DeleteAccount2) SetTokenMintAccount ¶
func (inst *DeleteAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *DeleteAccount2
SetTokenMintAccount sets the "tokenMint" account.
func (*DeleteAccount2) SetTokenProgramAccount ¶
func (inst *DeleteAccount2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *DeleteAccount2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*DeleteAccount2) SetUploaderAccount ¶
func (inst *DeleteAccount2) SetUploaderAccount(uploader ag_solanago.PublicKey) *DeleteAccount2
SetUploaderAccount sets the "uploader" account.
func (*DeleteAccount2) SetUserInfoAccount ¶
func (inst *DeleteAccount2) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *DeleteAccount2
SetUserInfoAccount sets the "userInfo" account.
func (*DeleteAccount2) UnmarshalWithDecoder ¶
func (obj *DeleteAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*DeleteAccount2) Validate ¶
func (inst *DeleteAccount2) Validate() error
func (DeleteAccount2) ValidateAndBuild ¶
func (inst DeleteAccount2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type File ¶
type File struct { Immutable bool ToBeDeleted bool DeleteRequestEpoch uint32 Size uint64 Sha256Hash [32]uint8 InitCounterSeed uint32 StorageAccount ag_solanago.PublicKey Name string }
func (File) MarshalWithEncoder ¶
type IncreaseImmutableStorage ¶
type IncreaseImmutableStorage struct { AdditionalStorage *uint64 // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] emissionsWallet // // [3] = [WRITE, SIGNER] owner // // [4] = [WRITE] ownerAta // // [5] = [SIGNER] uploader // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
IncreaseImmutableStorage is the `increaseImmutableStorage` instruction.
func NewIncreaseImmutableStorageInstruction ¶
func NewIncreaseImmutableStorageInstruction( additionalStorage uint64, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, uploader ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *IncreaseImmutableStorage
NewIncreaseImmutableStorageInstruction declares a new IncreaseImmutableStorage instruction with the provided parameters and accounts.
func NewIncreaseImmutableStorageInstructionBuilder ¶
func NewIncreaseImmutableStorageInstructionBuilder() *IncreaseImmutableStorage
NewIncreaseImmutableStorageInstructionBuilder creates a new `IncreaseImmutableStorage` instruction builder.
func (IncreaseImmutableStorage) Build ¶
func (inst IncreaseImmutableStorage) Build() *Instruction
func (*IncreaseImmutableStorage) EncodeToTree ¶
func (inst *IncreaseImmutableStorage) EncodeToTree(parent ag_treeout.Branches)
func (*IncreaseImmutableStorage) GetEmissionsWalletAccount ¶
func (inst *IncreaseImmutableStorage) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*IncreaseImmutableStorage) GetOwnerAccount ¶
func (inst *IncreaseImmutableStorage) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*IncreaseImmutableStorage) GetOwnerAtaAccount ¶
func (inst *IncreaseImmutableStorage) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*IncreaseImmutableStorage) GetStorageAccountAccount ¶
func (inst *IncreaseImmutableStorage) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*IncreaseImmutableStorage) GetStorageConfigAccount ¶
func (inst *IncreaseImmutableStorage) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*IncreaseImmutableStorage) GetSystemProgramAccount ¶
func (inst *IncreaseImmutableStorage) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*IncreaseImmutableStorage) GetTokenMintAccount ¶
func (inst *IncreaseImmutableStorage) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*IncreaseImmutableStorage) GetTokenProgramAccount ¶
func (inst *IncreaseImmutableStorage) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*IncreaseImmutableStorage) GetUploaderAccount ¶
func (inst *IncreaseImmutableStorage) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (IncreaseImmutableStorage) MarshalWithEncoder ¶
func (obj IncreaseImmutableStorage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*IncreaseImmutableStorage) SetAdditionalStorage ¶
func (inst *IncreaseImmutableStorage) SetAdditionalStorage(additionalStorage uint64) *IncreaseImmutableStorage
SetAdditionalStorage sets the "additionalStorage" parameter.
func (*IncreaseImmutableStorage) SetEmissionsWalletAccount ¶
func (inst *IncreaseImmutableStorage) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *IncreaseImmutableStorage
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*IncreaseImmutableStorage) SetOwnerAccount ¶
func (inst *IncreaseImmutableStorage) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseImmutableStorage
SetOwnerAccount sets the "owner" account.
func (*IncreaseImmutableStorage) SetOwnerAtaAccount ¶
func (inst *IncreaseImmutableStorage) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseImmutableStorage
SetOwnerAtaAccount sets the "ownerAta" account.
func (*IncreaseImmutableStorage) SetStorageAccountAccount ¶
func (inst *IncreaseImmutableStorage) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseImmutableStorage
SetStorageAccountAccount sets the "storageAccount" account.
func (*IncreaseImmutableStorage) SetStorageConfigAccount ¶
func (inst *IncreaseImmutableStorage) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseImmutableStorage
SetStorageConfigAccount sets the "storageConfig" account.
func (*IncreaseImmutableStorage) SetSystemProgramAccount ¶
func (inst *IncreaseImmutableStorage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseImmutableStorage
SetSystemProgramAccount sets the "systemProgram" account.
func (*IncreaseImmutableStorage) SetTokenMintAccount ¶
func (inst *IncreaseImmutableStorage) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseImmutableStorage
SetTokenMintAccount sets the "tokenMint" account.
func (*IncreaseImmutableStorage) SetTokenProgramAccount ¶
func (inst *IncreaseImmutableStorage) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseImmutableStorage
SetTokenProgramAccount sets the "tokenProgram" account.
func (*IncreaseImmutableStorage) SetUploaderAccount ¶
func (inst *IncreaseImmutableStorage) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseImmutableStorage
SetUploaderAccount sets the "uploader" account.
func (*IncreaseImmutableStorage) UnmarshalWithDecoder ¶
func (obj *IncreaseImmutableStorage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*IncreaseImmutableStorage) Validate ¶
func (inst *IncreaseImmutableStorage) Validate() error
func (IncreaseImmutableStorage) ValidateAndBuild ¶
func (inst IncreaseImmutableStorage) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type IncreaseImmutableStorage2 ¶
type IncreaseImmutableStorage2 struct { AdditionalStorage *uint64 // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] emissionsWallet // // [3] = [WRITE, SIGNER] owner // // [4] = [WRITE] ownerAta // // [5] = [SIGNER] uploader // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
IncreaseImmutableStorage2 is the `increaseImmutableStorage2` instruction.
func NewIncreaseImmutableStorage2Instruction ¶
func NewIncreaseImmutableStorage2Instruction( additionalStorage uint64, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, uploader ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *IncreaseImmutableStorage2
NewIncreaseImmutableStorage2Instruction declares a new IncreaseImmutableStorage2 instruction with the provided parameters and accounts.
func NewIncreaseImmutableStorage2InstructionBuilder ¶
func NewIncreaseImmutableStorage2InstructionBuilder() *IncreaseImmutableStorage2
NewIncreaseImmutableStorage2InstructionBuilder creates a new `IncreaseImmutableStorage2` instruction builder.
func (IncreaseImmutableStorage2) Build ¶
func (inst IncreaseImmutableStorage2) Build() *Instruction
func (*IncreaseImmutableStorage2) EncodeToTree ¶
func (inst *IncreaseImmutableStorage2) EncodeToTree(parent ag_treeout.Branches)
func (*IncreaseImmutableStorage2) GetEmissionsWalletAccount ¶
func (inst *IncreaseImmutableStorage2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*IncreaseImmutableStorage2) GetOwnerAccount ¶
func (inst *IncreaseImmutableStorage2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*IncreaseImmutableStorage2) GetOwnerAtaAccount ¶
func (inst *IncreaseImmutableStorage2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*IncreaseImmutableStorage2) GetStorageAccountAccount ¶
func (inst *IncreaseImmutableStorage2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*IncreaseImmutableStorage2) GetStorageConfigAccount ¶
func (inst *IncreaseImmutableStorage2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*IncreaseImmutableStorage2) GetSystemProgramAccount ¶
func (inst *IncreaseImmutableStorage2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*IncreaseImmutableStorage2) GetTokenMintAccount ¶
func (inst *IncreaseImmutableStorage2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*IncreaseImmutableStorage2) GetTokenProgramAccount ¶
func (inst *IncreaseImmutableStorage2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*IncreaseImmutableStorage2) GetUploaderAccount ¶
func (inst *IncreaseImmutableStorage2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (IncreaseImmutableStorage2) MarshalWithEncoder ¶
func (obj IncreaseImmutableStorage2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*IncreaseImmutableStorage2) SetAdditionalStorage ¶
func (inst *IncreaseImmutableStorage2) SetAdditionalStorage(additionalStorage uint64) *IncreaseImmutableStorage2
SetAdditionalStorage sets the "additionalStorage" parameter.
func (*IncreaseImmutableStorage2) SetEmissionsWalletAccount ¶
func (inst *IncreaseImmutableStorage2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*IncreaseImmutableStorage2) SetOwnerAccount ¶
func (inst *IncreaseImmutableStorage2) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetOwnerAccount sets the "owner" account.
func (*IncreaseImmutableStorage2) SetOwnerAtaAccount ¶
func (inst *IncreaseImmutableStorage2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetOwnerAtaAccount sets the "ownerAta" account.
func (*IncreaseImmutableStorage2) SetStorageAccountAccount ¶
func (inst *IncreaseImmutableStorage2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetStorageAccountAccount sets the "storageAccount" account.
func (*IncreaseImmutableStorage2) SetStorageConfigAccount ¶
func (inst *IncreaseImmutableStorage2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetStorageConfigAccount sets the "storageConfig" account.
func (*IncreaseImmutableStorage2) SetSystemProgramAccount ¶
func (inst *IncreaseImmutableStorage2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetSystemProgramAccount sets the "systemProgram" account.
func (*IncreaseImmutableStorage2) SetTokenMintAccount ¶
func (inst *IncreaseImmutableStorage2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetTokenMintAccount sets the "tokenMint" account.
func (*IncreaseImmutableStorage2) SetTokenProgramAccount ¶
func (inst *IncreaseImmutableStorage2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*IncreaseImmutableStorage2) SetUploaderAccount ¶
func (inst *IncreaseImmutableStorage2) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseImmutableStorage2
SetUploaderAccount sets the "uploader" account.
func (*IncreaseImmutableStorage2) UnmarshalWithDecoder ¶
func (obj *IncreaseImmutableStorage2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*IncreaseImmutableStorage2) Validate ¶
func (inst *IncreaseImmutableStorage2) Validate() error
func (IncreaseImmutableStorage2) ValidateAndBuild ¶
func (inst IncreaseImmutableStorage2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type IncreaseStorage ¶
type IncreaseStorage struct { AdditionalStorage *uint64 // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [WRITE] ownerAta // // [4] = [WRITE] stakeAccount // // [5] = [SIGNER] uploader // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
IncreaseStorage is the `increaseStorage` instruction.
func NewIncreaseStorageInstruction ¶
func NewIncreaseStorageInstruction( additionalStorage uint64, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, uploader ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *IncreaseStorage
NewIncreaseStorageInstruction declares a new IncreaseStorage instruction with the provided parameters and accounts.
func NewIncreaseStorageInstructionBuilder ¶
func NewIncreaseStorageInstructionBuilder() *IncreaseStorage
NewIncreaseStorageInstructionBuilder creates a new `IncreaseStorage` instruction builder.
func (IncreaseStorage) Build ¶
func (inst IncreaseStorage) Build() *Instruction
func (*IncreaseStorage) EncodeToTree ¶
func (inst *IncreaseStorage) EncodeToTree(parent ag_treeout.Branches)
func (*IncreaseStorage) GetOwnerAccount ¶
func (inst *IncreaseStorage) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*IncreaseStorage) GetOwnerAtaAccount ¶
func (inst *IncreaseStorage) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*IncreaseStorage) GetStakeAccountAccount ¶
func (inst *IncreaseStorage) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*IncreaseStorage) GetStorageAccountAccount ¶
func (inst *IncreaseStorage) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*IncreaseStorage) GetStorageConfigAccount ¶
func (inst *IncreaseStorage) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*IncreaseStorage) GetSystemProgramAccount ¶
func (inst *IncreaseStorage) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*IncreaseStorage) GetTokenMintAccount ¶
func (inst *IncreaseStorage) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*IncreaseStorage) GetTokenProgramAccount ¶
func (inst *IncreaseStorage) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*IncreaseStorage) GetUploaderAccount ¶
func (inst *IncreaseStorage) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (IncreaseStorage) MarshalWithEncoder ¶
func (obj IncreaseStorage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*IncreaseStorage) SetAdditionalStorage ¶
func (inst *IncreaseStorage) SetAdditionalStorage(additionalStorage uint64) *IncreaseStorage
SetAdditionalStorage sets the "additionalStorage" parameter.
func (*IncreaseStorage) SetOwnerAccount ¶
func (inst *IncreaseStorage) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseStorage
SetOwnerAccount sets the "owner" account.
func (*IncreaseStorage) SetOwnerAtaAccount ¶
func (inst *IncreaseStorage) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseStorage
SetOwnerAtaAccount sets the "ownerAta" account.
func (*IncreaseStorage) SetStakeAccountAccount ¶
func (inst *IncreaseStorage) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *IncreaseStorage
SetStakeAccountAccount sets the "stakeAccount" account.
func (*IncreaseStorage) SetStorageAccountAccount ¶
func (inst *IncreaseStorage) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseStorage
SetStorageAccountAccount sets the "storageAccount" account.
func (*IncreaseStorage) SetStorageConfigAccount ¶
func (inst *IncreaseStorage) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseStorage
SetStorageConfigAccount sets the "storageConfig" account.
func (*IncreaseStorage) SetSystemProgramAccount ¶
func (inst *IncreaseStorage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseStorage
SetSystemProgramAccount sets the "systemProgram" account.
func (*IncreaseStorage) SetTokenMintAccount ¶
func (inst *IncreaseStorage) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseStorage
SetTokenMintAccount sets the "tokenMint" account.
func (*IncreaseStorage) SetTokenProgramAccount ¶
func (inst *IncreaseStorage) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseStorage
SetTokenProgramAccount sets the "tokenProgram" account.
func (*IncreaseStorage) SetUploaderAccount ¶
func (inst *IncreaseStorage) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseStorage
SetUploaderAccount sets the "uploader" account.
func (*IncreaseStorage) UnmarshalWithDecoder ¶
func (obj *IncreaseStorage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*IncreaseStorage) Validate ¶
func (inst *IncreaseStorage) Validate() error
func (IncreaseStorage) ValidateAndBuild ¶
func (inst IncreaseStorage) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type IncreaseStorage2 ¶
type IncreaseStorage2 struct { AdditionalStorage *uint64 // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [WRITE] ownerAta // // [4] = [WRITE] stakeAccount // // [5] = [SIGNER] uploader // // [6] = [] tokenMint // // [7] = [] systemProgram // // [8] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
IncreaseStorage2 is the `increaseStorage2` instruction.
func NewIncreaseStorage2Instruction ¶
func NewIncreaseStorage2Instruction( additionalStorage uint64, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, uploader ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *IncreaseStorage2
NewIncreaseStorage2Instruction declares a new IncreaseStorage2 instruction with the provided parameters and accounts.
func NewIncreaseStorage2InstructionBuilder ¶
func NewIncreaseStorage2InstructionBuilder() *IncreaseStorage2
NewIncreaseStorage2InstructionBuilder creates a new `IncreaseStorage2` instruction builder.
func (IncreaseStorage2) Build ¶
func (inst IncreaseStorage2) Build() *Instruction
func (*IncreaseStorage2) EncodeToTree ¶
func (inst *IncreaseStorage2) EncodeToTree(parent ag_treeout.Branches)
func (*IncreaseStorage2) GetOwnerAccount ¶
func (inst *IncreaseStorage2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*IncreaseStorage2) GetOwnerAtaAccount ¶
func (inst *IncreaseStorage2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*IncreaseStorage2) GetStakeAccountAccount ¶
func (inst *IncreaseStorage2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*IncreaseStorage2) GetStorageAccountAccount ¶
func (inst *IncreaseStorage2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*IncreaseStorage2) GetStorageConfigAccount ¶
func (inst *IncreaseStorage2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*IncreaseStorage2) GetSystemProgramAccount ¶
func (inst *IncreaseStorage2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*IncreaseStorage2) GetTokenMintAccount ¶
func (inst *IncreaseStorage2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*IncreaseStorage2) GetTokenProgramAccount ¶
func (inst *IncreaseStorage2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*IncreaseStorage2) GetUploaderAccount ¶
func (inst *IncreaseStorage2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (IncreaseStorage2) MarshalWithEncoder ¶
func (obj IncreaseStorage2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*IncreaseStorage2) SetAdditionalStorage ¶
func (inst *IncreaseStorage2) SetAdditionalStorage(additionalStorage uint64) *IncreaseStorage2
SetAdditionalStorage sets the "additionalStorage" parameter.
func (*IncreaseStorage2) SetOwnerAccount ¶
func (inst *IncreaseStorage2) SetOwnerAccount(owner ag_solanago.PublicKey) *IncreaseStorage2
SetOwnerAccount sets the "owner" account.
func (*IncreaseStorage2) SetOwnerAtaAccount ¶
func (inst *IncreaseStorage2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *IncreaseStorage2
SetOwnerAtaAccount sets the "ownerAta" account.
func (*IncreaseStorage2) SetStakeAccountAccount ¶
func (inst *IncreaseStorage2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *IncreaseStorage2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*IncreaseStorage2) SetStorageAccountAccount ¶
func (inst *IncreaseStorage2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *IncreaseStorage2
SetStorageAccountAccount sets the "storageAccount" account.
func (*IncreaseStorage2) SetStorageConfigAccount ¶
func (inst *IncreaseStorage2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *IncreaseStorage2
SetStorageConfigAccount sets the "storageConfig" account.
func (*IncreaseStorage2) SetSystemProgramAccount ¶
func (inst *IncreaseStorage2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *IncreaseStorage2
SetSystemProgramAccount sets the "systemProgram" account.
func (*IncreaseStorage2) SetTokenMintAccount ¶
func (inst *IncreaseStorage2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *IncreaseStorage2
SetTokenMintAccount sets the "tokenMint" account.
func (*IncreaseStorage2) SetTokenProgramAccount ¶
func (inst *IncreaseStorage2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *IncreaseStorage2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*IncreaseStorage2) SetUploaderAccount ¶
func (inst *IncreaseStorage2) SetUploaderAccount(uploader ag_solanago.PublicKey) *IncreaseStorage2
SetUploaderAccount sets the "uploader" account.
func (*IncreaseStorage2) UnmarshalWithDecoder ¶
func (obj *IncreaseStorage2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*IncreaseStorage2) Validate ¶
func (inst *IncreaseStorage2) Validate() error
func (IncreaseStorage2) ValidateAndBuild ¶
func (inst IncreaseStorage2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type InitializeAccount ¶
type InitializeAccount struct { Identifier *string Storage *uint64 Owner2 *ag_solanago.PublicKey `bin:"optional"` // [0] = [WRITE] storageConfig // // [1] = [WRITE] userInfo // // [2] = [WRITE] storageAccount // // [3] = [WRITE] stakeAccount // // [4] = [] tokenMint // // [5] = [WRITE, SIGNER] owner1 // // [6] = [SIGNER] uploader // // [7] = [WRITE] owner1TokenAccount // // [8] = [] systemProgram // // [9] = [] tokenProgram // // [10] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
InitializeAccount is the `initializeAccount` instruction.
func NewInitializeAccountInstruction ¶
func NewInitializeAccountInstruction( identifier string, storage uint64, owner2 ag_solanago.PublicKey, storageConfig ag_solanago.PublicKey, userInfo ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, owner1 ag_solanago.PublicKey, uploader ag_solanago.PublicKey, owner1TokenAccount ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *InitializeAccount
NewInitializeAccountInstruction declares a new InitializeAccount instruction with the provided parameters and accounts.
func NewInitializeAccountInstructionBuilder ¶
func NewInitializeAccountInstructionBuilder() *InitializeAccount
NewInitializeAccountInstructionBuilder creates a new `InitializeAccount` instruction builder.
func (InitializeAccount) Build ¶
func (inst InitializeAccount) Build() *Instruction
func (*InitializeAccount) EncodeToTree ¶
func (inst *InitializeAccount) EncodeToTree(parent ag_treeout.Branches)
func (*InitializeAccount) GetOwner1Account ¶
func (inst *InitializeAccount) GetOwner1Account() *ag_solanago.AccountMeta
GetOwner1Account gets the "owner1" account.
func (*InitializeAccount) GetOwner1TokenAccountAccount ¶
func (inst *InitializeAccount) GetOwner1TokenAccountAccount() *ag_solanago.AccountMeta
GetOwner1TokenAccountAccount gets the "owner1TokenAccount" account.
func (*InitializeAccount) GetRentAccount ¶
func (inst *InitializeAccount) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*InitializeAccount) GetStakeAccountAccount ¶
func (inst *InitializeAccount) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*InitializeAccount) GetStorageAccountAccount ¶
func (inst *InitializeAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*InitializeAccount) GetStorageConfigAccount ¶
func (inst *InitializeAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*InitializeAccount) GetSystemProgramAccount ¶
func (inst *InitializeAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*InitializeAccount) GetTokenMintAccount ¶
func (inst *InitializeAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*InitializeAccount) GetTokenProgramAccount ¶
func (inst *InitializeAccount) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*InitializeAccount) GetUploaderAccount ¶
func (inst *InitializeAccount) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (*InitializeAccount) GetUserInfoAccount ¶
func (inst *InitializeAccount) GetUserInfoAccount() *ag_solanago.AccountMeta
GetUserInfoAccount gets the "userInfo" account.
func (InitializeAccount) MarshalWithEncoder ¶
func (obj InitializeAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*InitializeAccount) SetIdentifier ¶
func (inst *InitializeAccount) SetIdentifier(identifier string) *InitializeAccount
SetIdentifier sets the "identifier" parameter.
func (*InitializeAccount) SetOwner1Account ¶
func (inst *InitializeAccount) SetOwner1Account(owner1 ag_solanago.PublicKey) *InitializeAccount
SetOwner1Account sets the "owner1" account.
func (*InitializeAccount) SetOwner1TokenAccountAccount ¶
func (inst *InitializeAccount) SetOwner1TokenAccountAccount(owner1TokenAccount ag_solanago.PublicKey) *InitializeAccount
SetOwner1TokenAccountAccount sets the "owner1TokenAccount" account.
func (*InitializeAccount) SetOwner2 ¶
func (inst *InitializeAccount) SetOwner2(owner2 ag_solanago.PublicKey) *InitializeAccount
SetOwner2 sets the "owner2" parameter.
func (*InitializeAccount) SetRentAccount ¶
func (inst *InitializeAccount) SetRentAccount(rent ag_solanago.PublicKey) *InitializeAccount
SetRentAccount sets the "rent" account.
func (*InitializeAccount) SetStakeAccountAccount ¶
func (inst *InitializeAccount) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *InitializeAccount
SetStakeAccountAccount sets the "stakeAccount" account.
func (*InitializeAccount) SetStorage ¶
func (inst *InitializeAccount) SetStorage(storage uint64) *InitializeAccount
SetStorage sets the "storage" parameter.
func (*InitializeAccount) SetStorageAccountAccount ¶
func (inst *InitializeAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *InitializeAccount
SetStorageAccountAccount sets the "storageAccount" account.
func (*InitializeAccount) SetStorageConfigAccount ¶
func (inst *InitializeAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *InitializeAccount
SetStorageConfigAccount sets the "storageConfig" account.
func (*InitializeAccount) SetSystemProgramAccount ¶
func (inst *InitializeAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitializeAccount
SetSystemProgramAccount sets the "systemProgram" account.
func (*InitializeAccount) SetTokenMintAccount ¶
func (inst *InitializeAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *InitializeAccount
SetTokenMintAccount sets the "tokenMint" account.
func (*InitializeAccount) SetTokenProgramAccount ¶
func (inst *InitializeAccount) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *InitializeAccount
SetTokenProgramAccount sets the "tokenProgram" account.
func (*InitializeAccount) SetUploaderAccount ¶
func (inst *InitializeAccount) SetUploaderAccount(uploader ag_solanago.PublicKey) *InitializeAccount
SetUploaderAccount sets the "uploader" account.
func (*InitializeAccount) SetUserInfoAccount ¶
func (inst *InitializeAccount) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *InitializeAccount
SetUserInfoAccount sets the "userInfo" account.
func (*InitializeAccount) UnmarshalWithDecoder ¶
func (obj *InitializeAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*InitializeAccount) Validate ¶
func (inst *InitializeAccount) Validate() error
func (InitializeAccount) ValidateAndBuild ¶
func (inst InitializeAccount) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type InitializeAccount2 ¶
type InitializeAccount2 struct { Identifier *string Storage *uint64 // [0] = [WRITE] storageConfig // // [1] = [WRITE] userInfo // // [2] = [WRITE] storageAccount // // [3] = [WRITE] stakeAccount // // [4] = [] tokenMint // // [5] = [WRITE, SIGNER] owner1 // // [6] = [SIGNER] uploader // // [7] = [WRITE] owner1TokenAccount // // [8] = [] systemProgram // // [9] = [] tokenProgram // // [10] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
InitializeAccount2 is the `initializeAccount2` instruction.
func NewInitializeAccount2Instruction ¶
func NewInitializeAccount2Instruction( identifier string, storage uint64, storageConfig ag_solanago.PublicKey, userInfo ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, owner1 ag_solanago.PublicKey, uploader ag_solanago.PublicKey, owner1TokenAccount ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *InitializeAccount2
NewInitializeAccount2Instruction declares a new InitializeAccount2 instruction with the provided parameters and accounts.
func NewInitializeAccount2InstructionBuilder ¶
func NewInitializeAccount2InstructionBuilder() *InitializeAccount2
NewInitializeAccount2InstructionBuilder creates a new `InitializeAccount2` instruction builder.
func (InitializeAccount2) Build ¶
func (inst InitializeAccount2) Build() *Instruction
func (*InitializeAccount2) EncodeToTree ¶
func (inst *InitializeAccount2) EncodeToTree(parent ag_treeout.Branches)
func (*InitializeAccount2) GetOwner1Account ¶
func (inst *InitializeAccount2) GetOwner1Account() *ag_solanago.AccountMeta
GetOwner1Account gets the "owner1" account.
func (*InitializeAccount2) GetOwner1TokenAccountAccount ¶
func (inst *InitializeAccount2) GetOwner1TokenAccountAccount() *ag_solanago.AccountMeta
GetOwner1TokenAccountAccount gets the "owner1TokenAccount" account.
func (*InitializeAccount2) GetRentAccount ¶
func (inst *InitializeAccount2) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*InitializeAccount2) GetStakeAccountAccount ¶
func (inst *InitializeAccount2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*InitializeAccount2) GetStorageAccountAccount ¶
func (inst *InitializeAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*InitializeAccount2) GetStorageConfigAccount ¶
func (inst *InitializeAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*InitializeAccount2) GetSystemProgramAccount ¶
func (inst *InitializeAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*InitializeAccount2) GetTokenMintAccount ¶
func (inst *InitializeAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*InitializeAccount2) GetTokenProgramAccount ¶
func (inst *InitializeAccount2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*InitializeAccount2) GetUploaderAccount ¶
func (inst *InitializeAccount2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (*InitializeAccount2) GetUserInfoAccount ¶
func (inst *InitializeAccount2) GetUserInfoAccount() *ag_solanago.AccountMeta
GetUserInfoAccount gets the "userInfo" account.
func (InitializeAccount2) MarshalWithEncoder ¶
func (obj InitializeAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*InitializeAccount2) SetIdentifier ¶
func (inst *InitializeAccount2) SetIdentifier(identifier string) *InitializeAccount2
SetIdentifier sets the "identifier" parameter.
func (*InitializeAccount2) SetOwner1Account ¶
func (inst *InitializeAccount2) SetOwner1Account(owner1 ag_solanago.PublicKey) *InitializeAccount2
SetOwner1Account sets the "owner1" account.
func (*InitializeAccount2) SetOwner1TokenAccountAccount ¶
func (inst *InitializeAccount2) SetOwner1TokenAccountAccount(owner1TokenAccount ag_solanago.PublicKey) *InitializeAccount2
SetOwner1TokenAccountAccount sets the "owner1TokenAccount" account.
func (*InitializeAccount2) SetRentAccount ¶
func (inst *InitializeAccount2) SetRentAccount(rent ag_solanago.PublicKey) *InitializeAccount2
SetRentAccount sets the "rent" account.
func (*InitializeAccount2) SetStakeAccountAccount ¶
func (inst *InitializeAccount2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *InitializeAccount2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*InitializeAccount2) SetStorage ¶
func (inst *InitializeAccount2) SetStorage(storage uint64) *InitializeAccount2
SetStorage sets the "storage" parameter.
func (*InitializeAccount2) SetStorageAccountAccount ¶
func (inst *InitializeAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *InitializeAccount2
SetStorageAccountAccount sets the "storageAccount" account.
func (*InitializeAccount2) SetStorageConfigAccount ¶
func (inst *InitializeAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *InitializeAccount2
SetStorageConfigAccount sets the "storageConfig" account.
func (*InitializeAccount2) SetSystemProgramAccount ¶
func (inst *InitializeAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitializeAccount2
SetSystemProgramAccount sets the "systemProgram" account.
func (*InitializeAccount2) SetTokenMintAccount ¶
func (inst *InitializeAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *InitializeAccount2
SetTokenMintAccount sets the "tokenMint" account.
func (*InitializeAccount2) SetTokenProgramAccount ¶
func (inst *InitializeAccount2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *InitializeAccount2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*InitializeAccount2) SetUploaderAccount ¶
func (inst *InitializeAccount2) SetUploaderAccount(uploader ag_solanago.PublicKey) *InitializeAccount2
SetUploaderAccount sets the "uploader" account.
func (*InitializeAccount2) SetUserInfoAccount ¶
func (inst *InitializeAccount2) SetUserInfoAccount(userInfo ag_solanago.PublicKey) *InitializeAccount2
SetUserInfoAccount sets the "userInfo" account.
func (*InitializeAccount2) UnmarshalWithDecoder ¶
func (obj *InitializeAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*InitializeAccount2) Validate ¶
func (inst *InitializeAccount2) Validate() error
func (InitializeAccount2) ValidateAndBuild ¶
func (inst InitializeAccount2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type InitializeConfig ¶
type InitializeConfig struct { Uploader *ag_solanago.PublicKey Admin2 *ag_solanago.PublicKey `bin:"optional"` // [0] = [WRITE] storageConfig // // [1] = [WRITE, SIGNER] admin1 // // [2] = [] systemProgram // // [3] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
InitializeConfig is the `initializeConfig` instruction.
func NewInitializeConfigInstruction ¶
func NewInitializeConfigInstruction( uploader ag_solanago.PublicKey, admin2 ag_solanago.PublicKey, storageConfig ag_solanago.PublicKey, admin1 ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *InitializeConfig
NewInitializeConfigInstruction declares a new InitializeConfig instruction with the provided parameters and accounts.
func NewInitializeConfigInstructionBuilder ¶
func NewInitializeConfigInstructionBuilder() *InitializeConfig
NewInitializeConfigInstructionBuilder creates a new `InitializeConfig` instruction builder.
func (InitializeConfig) Build ¶
func (inst InitializeConfig) Build() *Instruction
func (*InitializeConfig) EncodeToTree ¶
func (inst *InitializeConfig) EncodeToTree(parent ag_treeout.Branches)
func (*InitializeConfig) GetAdmin1Account ¶
func (inst *InitializeConfig) GetAdmin1Account() *ag_solanago.AccountMeta
GetAdmin1Account gets the "admin1" account.
func (*InitializeConfig) GetRentAccount ¶
func (inst *InitializeConfig) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*InitializeConfig) GetStorageConfigAccount ¶
func (inst *InitializeConfig) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*InitializeConfig) GetSystemProgramAccount ¶
func (inst *InitializeConfig) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (InitializeConfig) MarshalWithEncoder ¶
func (obj InitializeConfig) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*InitializeConfig) SetAdmin1Account ¶
func (inst *InitializeConfig) SetAdmin1Account(admin1 ag_solanago.PublicKey) *InitializeConfig
SetAdmin1Account sets the "admin1" account.
func (*InitializeConfig) SetAdmin2 ¶
func (inst *InitializeConfig) SetAdmin2(admin2 ag_solanago.PublicKey) *InitializeConfig
SetAdmin2 sets the "admin2" parameter.
func (*InitializeConfig) SetRentAccount ¶
func (inst *InitializeConfig) SetRentAccount(rent ag_solanago.PublicKey) *InitializeConfig
SetRentAccount sets the "rent" account.
func (*InitializeConfig) SetStorageConfigAccount ¶
func (inst *InitializeConfig) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *InitializeConfig
SetStorageConfigAccount sets the "storageConfig" account.
func (*InitializeConfig) SetSystemProgramAccount ¶
func (inst *InitializeConfig) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitializeConfig
SetSystemProgramAccount sets the "systemProgram" account.
func (*InitializeConfig) SetUploader ¶
func (inst *InitializeConfig) SetUploader(uploader ag_solanago.PublicKey) *InitializeConfig
SetUploader sets the "uploader" parameter.
func (*InitializeConfig) UnmarshalWithDecoder ¶
func (obj *InitializeConfig) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*InitializeConfig) Validate ¶
func (inst *InitializeConfig) Validate() error
func (InitializeConfig) ValidateAndBuild ¶
func (inst InitializeConfig) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type Instruction ¶
type Instruction struct {
ag_binary.BaseVariant
}
func DecodeInstruction ¶
func DecodeInstruction(accounts []*ag_solanago.AccountMeta, data []byte) (*Instruction, error)
func (*Instruction) Accounts ¶
func (inst *Instruction) Accounts() (out []*ag_solanago.AccountMeta)
func (*Instruction) Data ¶
func (inst *Instruction) Data() ([]byte, error)
func (*Instruction) EncodeToTree ¶
func (inst *Instruction) EncodeToTree(parent ag_treeout.Branches)
func (*Instruction) MarshalWithEncoder ¶
func (inst *Instruction) MarshalWithEncoder(encoder *ag_binary.Encoder) error
func (*Instruction) ProgramID ¶
func (inst *Instruction) ProgramID() ag_solanago.PublicKey
func (*Instruction) TextEncode ¶
func (*Instruction) UnmarshalWithDecoder ¶
func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error
type MakeAccountImmutable ¶
type MakeAccountImmutable struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] stakeAccount // // [3] = [WRITE] emissionsWallet // // [4] = [WRITE, SIGNER] owner // // [5] = [SIGNER] uploader // // [6] = [WRITE] ownerAta // // [7] = [] tokenMint // // [8] = [] systemProgram // // [9] = [] tokenProgram // // [10] = [] associatedTokenProgram // // [11] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
MakeAccountImmutable is the `makeAccountImmutable` instruction.
func NewMakeAccountImmutableInstruction ¶
func NewMakeAccountImmutableInstruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, owner ag_solanago.PublicKey, uploader ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *MakeAccountImmutable
NewMakeAccountImmutableInstruction declares a new MakeAccountImmutable instruction with the provided parameters and accounts.
func NewMakeAccountImmutableInstructionBuilder ¶
func NewMakeAccountImmutableInstructionBuilder() *MakeAccountImmutable
NewMakeAccountImmutableInstructionBuilder creates a new `MakeAccountImmutable` instruction builder.
func (MakeAccountImmutable) Build ¶
func (inst MakeAccountImmutable) Build() *Instruction
func (*MakeAccountImmutable) EncodeToTree ¶
func (inst *MakeAccountImmutable) EncodeToTree(parent ag_treeout.Branches)
func (*MakeAccountImmutable) GetAssociatedTokenProgramAccount ¶
func (inst *MakeAccountImmutable) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*MakeAccountImmutable) GetEmissionsWalletAccount ¶
func (inst *MakeAccountImmutable) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*MakeAccountImmutable) GetOwnerAccount ¶
func (inst *MakeAccountImmutable) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*MakeAccountImmutable) GetOwnerAtaAccount ¶
func (inst *MakeAccountImmutable) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*MakeAccountImmutable) GetRentAccount ¶
func (inst *MakeAccountImmutable) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*MakeAccountImmutable) GetStakeAccountAccount ¶
func (inst *MakeAccountImmutable) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*MakeAccountImmutable) GetStorageAccountAccount ¶
func (inst *MakeAccountImmutable) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*MakeAccountImmutable) GetStorageConfigAccount ¶
func (inst *MakeAccountImmutable) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*MakeAccountImmutable) GetSystemProgramAccount ¶
func (inst *MakeAccountImmutable) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*MakeAccountImmutable) GetTokenMintAccount ¶
func (inst *MakeAccountImmutable) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*MakeAccountImmutable) GetTokenProgramAccount ¶
func (inst *MakeAccountImmutable) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*MakeAccountImmutable) GetUploaderAccount ¶
func (inst *MakeAccountImmutable) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (MakeAccountImmutable) MarshalWithEncoder ¶
func (obj MakeAccountImmutable) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*MakeAccountImmutable) SetAssociatedTokenProgramAccount ¶
func (inst *MakeAccountImmutable) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *MakeAccountImmutable
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*MakeAccountImmutable) SetEmissionsWalletAccount ¶
func (inst *MakeAccountImmutable) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *MakeAccountImmutable
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*MakeAccountImmutable) SetOwnerAccount ¶
func (inst *MakeAccountImmutable) SetOwnerAccount(owner ag_solanago.PublicKey) *MakeAccountImmutable
SetOwnerAccount sets the "owner" account.
func (*MakeAccountImmutable) SetOwnerAtaAccount ¶
func (inst *MakeAccountImmutable) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *MakeAccountImmutable
SetOwnerAtaAccount sets the "ownerAta" account.
func (*MakeAccountImmutable) SetRentAccount ¶
func (inst *MakeAccountImmutable) SetRentAccount(rent ag_solanago.PublicKey) *MakeAccountImmutable
SetRentAccount sets the "rent" account.
func (*MakeAccountImmutable) SetStakeAccountAccount ¶
func (inst *MakeAccountImmutable) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *MakeAccountImmutable
SetStakeAccountAccount sets the "stakeAccount" account.
func (*MakeAccountImmutable) SetStorageAccountAccount ¶
func (inst *MakeAccountImmutable) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MakeAccountImmutable
SetStorageAccountAccount sets the "storageAccount" account.
func (*MakeAccountImmutable) SetStorageConfigAccount ¶
func (inst *MakeAccountImmutable) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *MakeAccountImmutable
SetStorageConfigAccount sets the "storageConfig" account.
func (*MakeAccountImmutable) SetSystemProgramAccount ¶
func (inst *MakeAccountImmutable) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MakeAccountImmutable
SetSystemProgramAccount sets the "systemProgram" account.
func (*MakeAccountImmutable) SetTokenMintAccount ¶
func (inst *MakeAccountImmutable) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *MakeAccountImmutable
SetTokenMintAccount sets the "tokenMint" account.
func (*MakeAccountImmutable) SetTokenProgramAccount ¶
func (inst *MakeAccountImmutable) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *MakeAccountImmutable
SetTokenProgramAccount sets the "tokenProgram" account.
func (*MakeAccountImmutable) SetUploaderAccount ¶
func (inst *MakeAccountImmutable) SetUploaderAccount(uploader ag_solanago.PublicKey) *MakeAccountImmutable
SetUploaderAccount sets the "uploader" account.
func (*MakeAccountImmutable) UnmarshalWithDecoder ¶
func (obj *MakeAccountImmutable) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*MakeAccountImmutable) Validate ¶
func (inst *MakeAccountImmutable) Validate() error
func (MakeAccountImmutable) ValidateAndBuild ¶
func (inst MakeAccountImmutable) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type MakeAccountImmutable2 ¶
type MakeAccountImmutable2 struct { // [0] = [WRITE] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] stakeAccount // // [3] = [WRITE] emissionsWallet // // [4] = [WRITE, SIGNER] owner // // [5] = [WRITE] ownerAta // // [6] = [SIGNER] uploader // // [7] = [] tokenMint // // [8] = [] systemProgram // // [9] = [] tokenProgram // // [10] = [] associatedTokenProgram // // [11] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
MakeAccountImmutable2 is the `makeAccountImmutable2` instruction.
func NewMakeAccountImmutable2Instruction ¶
func NewMakeAccountImmutable2Instruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, emissionsWallet ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, uploader ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *MakeAccountImmutable2
NewMakeAccountImmutable2Instruction declares a new MakeAccountImmutable2 instruction with the provided parameters and accounts.
func NewMakeAccountImmutable2InstructionBuilder ¶
func NewMakeAccountImmutable2InstructionBuilder() *MakeAccountImmutable2
NewMakeAccountImmutable2InstructionBuilder creates a new `MakeAccountImmutable2` instruction builder.
func (MakeAccountImmutable2) Build ¶
func (inst MakeAccountImmutable2) Build() *Instruction
func (*MakeAccountImmutable2) EncodeToTree ¶
func (inst *MakeAccountImmutable2) EncodeToTree(parent ag_treeout.Branches)
func (*MakeAccountImmutable2) GetAssociatedTokenProgramAccount ¶
func (inst *MakeAccountImmutable2) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*MakeAccountImmutable2) GetEmissionsWalletAccount ¶
func (inst *MakeAccountImmutable2) GetEmissionsWalletAccount() *ag_solanago.AccountMeta
GetEmissionsWalletAccount gets the "emissionsWallet" account.
func (*MakeAccountImmutable2) GetOwnerAccount ¶
func (inst *MakeAccountImmutable2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*MakeAccountImmutable2) GetOwnerAtaAccount ¶
func (inst *MakeAccountImmutable2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*MakeAccountImmutable2) GetRentAccount ¶
func (inst *MakeAccountImmutable2) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*MakeAccountImmutable2) GetStakeAccountAccount ¶
func (inst *MakeAccountImmutable2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*MakeAccountImmutable2) GetStorageAccountAccount ¶
func (inst *MakeAccountImmutable2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*MakeAccountImmutable2) GetStorageConfigAccount ¶
func (inst *MakeAccountImmutable2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*MakeAccountImmutable2) GetSystemProgramAccount ¶
func (inst *MakeAccountImmutable2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*MakeAccountImmutable2) GetTokenMintAccount ¶
func (inst *MakeAccountImmutable2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*MakeAccountImmutable2) GetTokenProgramAccount ¶
func (inst *MakeAccountImmutable2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*MakeAccountImmutable2) GetUploaderAccount ¶
func (inst *MakeAccountImmutable2) GetUploaderAccount() *ag_solanago.AccountMeta
GetUploaderAccount gets the "uploader" account.
func (MakeAccountImmutable2) MarshalWithEncoder ¶
func (obj MakeAccountImmutable2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*MakeAccountImmutable2) SetAssociatedTokenProgramAccount ¶
func (inst *MakeAccountImmutable2) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *MakeAccountImmutable2
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*MakeAccountImmutable2) SetEmissionsWalletAccount ¶
func (inst *MakeAccountImmutable2) SetEmissionsWalletAccount(emissionsWallet ag_solanago.PublicKey) *MakeAccountImmutable2
SetEmissionsWalletAccount sets the "emissionsWallet" account.
func (*MakeAccountImmutable2) SetOwnerAccount ¶
func (inst *MakeAccountImmutable2) SetOwnerAccount(owner ag_solanago.PublicKey) *MakeAccountImmutable2
SetOwnerAccount sets the "owner" account.
func (*MakeAccountImmutable2) SetOwnerAtaAccount ¶
func (inst *MakeAccountImmutable2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *MakeAccountImmutable2
SetOwnerAtaAccount sets the "ownerAta" account.
func (*MakeAccountImmutable2) SetRentAccount ¶
func (inst *MakeAccountImmutable2) SetRentAccount(rent ag_solanago.PublicKey) *MakeAccountImmutable2
SetRentAccount sets the "rent" account.
func (*MakeAccountImmutable2) SetStakeAccountAccount ¶
func (inst *MakeAccountImmutable2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *MakeAccountImmutable2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*MakeAccountImmutable2) SetStorageAccountAccount ¶
func (inst *MakeAccountImmutable2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MakeAccountImmutable2
SetStorageAccountAccount sets the "storageAccount" account.
func (*MakeAccountImmutable2) SetStorageConfigAccount ¶
func (inst *MakeAccountImmutable2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *MakeAccountImmutable2
SetStorageConfigAccount sets the "storageConfig" account.
func (*MakeAccountImmutable2) SetSystemProgramAccount ¶
func (inst *MakeAccountImmutable2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MakeAccountImmutable2
SetSystemProgramAccount sets the "systemProgram" account.
func (*MakeAccountImmutable2) SetTokenMintAccount ¶
func (inst *MakeAccountImmutable2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *MakeAccountImmutable2
SetTokenMintAccount sets the "tokenMint" account.
func (*MakeAccountImmutable2) SetTokenProgramAccount ¶
func (inst *MakeAccountImmutable2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *MakeAccountImmutable2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*MakeAccountImmutable2) SetUploaderAccount ¶
func (inst *MakeAccountImmutable2) SetUploaderAccount(uploader ag_solanago.PublicKey) *MakeAccountImmutable2
SetUploaderAccount sets the "uploader" account.
func (*MakeAccountImmutable2) UnmarshalWithDecoder ¶
func (obj *MakeAccountImmutable2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*MakeAccountImmutable2) Validate ¶
func (inst *MakeAccountImmutable2) Validate() error
func (MakeAccountImmutable2) ValidateAndBuild ¶
func (inst MakeAccountImmutable2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type MigrateStep1 ¶
type MigrateStep1 struct { // [0] = [WRITE] storageAccount // // [1] = [WRITE] migration // // [2] = [WRITE, SIGNER] owner // // [3] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
MigrateStep1 is the `migrateStep1` instruction.
func NewMigrateStep1Instruction ¶
func NewMigrateStep1Instruction( storageAccount ag_solanago.PublicKey, migration ag_solanago.PublicKey, owner ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *MigrateStep1
NewMigrateStep1Instruction declares a new MigrateStep1 instruction with the provided parameters and accounts.
func NewMigrateStep1InstructionBuilder ¶
func NewMigrateStep1InstructionBuilder() *MigrateStep1
NewMigrateStep1InstructionBuilder creates a new `MigrateStep1` instruction builder.
func (MigrateStep1) Build ¶
func (inst MigrateStep1) Build() *Instruction
func (*MigrateStep1) EncodeToTree ¶
func (inst *MigrateStep1) EncodeToTree(parent ag_treeout.Branches)
func (*MigrateStep1) GetMigrationAccount ¶
func (inst *MigrateStep1) GetMigrationAccount() *ag_solanago.AccountMeta
GetMigrationAccount gets the "migration" account.
func (*MigrateStep1) GetOwnerAccount ¶
func (inst *MigrateStep1) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*MigrateStep1) GetStorageAccountAccount ¶
func (inst *MigrateStep1) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*MigrateStep1) GetSystemProgramAccount ¶
func (inst *MigrateStep1) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (MigrateStep1) MarshalWithEncoder ¶
func (obj MigrateStep1) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*MigrateStep1) SetMigrationAccount ¶
func (inst *MigrateStep1) SetMigrationAccount(migration ag_solanago.PublicKey) *MigrateStep1
SetMigrationAccount sets the "migration" account.
func (*MigrateStep1) SetOwnerAccount ¶
func (inst *MigrateStep1) SetOwnerAccount(owner ag_solanago.PublicKey) *MigrateStep1
SetOwnerAccount sets the "owner" account.
func (*MigrateStep1) SetStorageAccountAccount ¶
func (inst *MigrateStep1) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MigrateStep1
SetStorageAccountAccount sets the "storageAccount" account.
func (*MigrateStep1) SetSystemProgramAccount ¶
func (inst *MigrateStep1) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MigrateStep1
SetSystemProgramAccount sets the "systemProgram" account.
func (*MigrateStep1) UnmarshalWithDecoder ¶
func (obj *MigrateStep1) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*MigrateStep1) Validate ¶
func (inst *MigrateStep1) Validate() error
func (MigrateStep1) ValidateAndBuild ¶
func (inst MigrateStep1) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type MigrateStep2 ¶
type MigrateStep2 struct { // [0] = [WRITE] storageAccount // // [1] = [WRITE] migration // // [2] = [WRITE, SIGNER] owner // // [3] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
MigrateStep2 is the `migrateStep2` instruction.
func NewMigrateStep2Instruction ¶
func NewMigrateStep2Instruction( storageAccount ag_solanago.PublicKey, migration ag_solanago.PublicKey, owner ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *MigrateStep2
NewMigrateStep2Instruction declares a new MigrateStep2 instruction with the provided parameters and accounts.
func NewMigrateStep2InstructionBuilder ¶
func NewMigrateStep2InstructionBuilder() *MigrateStep2
NewMigrateStep2InstructionBuilder creates a new `MigrateStep2` instruction builder.
func (MigrateStep2) Build ¶
func (inst MigrateStep2) Build() *Instruction
func (*MigrateStep2) EncodeToTree ¶
func (inst *MigrateStep2) EncodeToTree(parent ag_treeout.Branches)
func (*MigrateStep2) GetMigrationAccount ¶
func (inst *MigrateStep2) GetMigrationAccount() *ag_solanago.AccountMeta
GetMigrationAccount gets the "migration" account.
func (*MigrateStep2) GetOwnerAccount ¶
func (inst *MigrateStep2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*MigrateStep2) GetStorageAccountAccount ¶
func (inst *MigrateStep2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*MigrateStep2) GetSystemProgramAccount ¶
func (inst *MigrateStep2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (MigrateStep2) MarshalWithEncoder ¶
func (obj MigrateStep2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*MigrateStep2) SetMigrationAccount ¶
func (inst *MigrateStep2) SetMigrationAccount(migration ag_solanago.PublicKey) *MigrateStep2
SetMigrationAccount sets the "migration" account.
func (*MigrateStep2) SetOwnerAccount ¶
func (inst *MigrateStep2) SetOwnerAccount(owner ag_solanago.PublicKey) *MigrateStep2
SetOwnerAccount sets the "owner" account.
func (*MigrateStep2) SetStorageAccountAccount ¶
func (inst *MigrateStep2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *MigrateStep2
SetStorageAccountAccount sets the "storageAccount" account.
func (*MigrateStep2) SetSystemProgramAccount ¶
func (inst *MigrateStep2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MigrateStep2
SetSystemProgramAccount sets the "systemProgram" account.
func (*MigrateStep2) UnmarshalWithDecoder ¶
func (obj *MigrateStep2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*MigrateStep2) Validate ¶
func (inst *MigrateStep2) Validate() error
func (MigrateStep2) ValidateAndBuild ¶
func (inst MigrateStep2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type MutableFees ¶
type MutableFees struct { ShadesPerGbPerEpoch *uint64 `bin:"optional"` CrankBps *uint32 `bin:"optional"` // [0] = [WRITE] storageConfig // // [1] = [WRITE, SIGNER] admin ag_solanago.AccountMetaSlice `bin:"-"` }
MutableFees is the `mutableFees` instruction.
func NewMutableFeesInstruction ¶
func NewMutableFeesInstruction( shadesPerGbPerEpoch uint64, crankBps uint32, storageConfig ag_solanago.PublicKey, admin ag_solanago.PublicKey) *MutableFees
NewMutableFeesInstruction declares a new MutableFees instruction with the provided parameters and accounts.
func NewMutableFeesInstructionBuilder ¶
func NewMutableFeesInstructionBuilder() *MutableFees
NewMutableFeesInstructionBuilder creates a new `MutableFees` instruction builder.
func (MutableFees) Build ¶
func (inst MutableFees) Build() *Instruction
func (*MutableFees) EncodeToTree ¶
func (inst *MutableFees) EncodeToTree(parent ag_treeout.Branches)
func (*MutableFees) GetAdminAccount ¶
func (inst *MutableFees) GetAdminAccount() *ag_solanago.AccountMeta
GetAdminAccount gets the "admin" account.
func (*MutableFees) GetStorageConfigAccount ¶
func (inst *MutableFees) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (MutableFees) MarshalWithEncoder ¶
func (obj MutableFees) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*MutableFees) SetAdminAccount ¶
func (inst *MutableFees) SetAdminAccount(admin ag_solanago.PublicKey) *MutableFees
SetAdminAccount sets the "admin" account.
func (*MutableFees) SetCrankBps ¶
func (inst *MutableFees) SetCrankBps(crankBps uint32) *MutableFees
SetCrankBps sets the "crankBps" parameter.
func (*MutableFees) SetShadesPerGbPerEpoch ¶
func (inst *MutableFees) SetShadesPerGbPerEpoch(shadesPerGbPerEpoch uint64) *MutableFees
SetShadesPerGbPerEpoch sets the "shadesPerGbPerEpoch" parameter.
func (*MutableFees) SetStorageConfigAccount ¶
func (inst *MutableFees) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *MutableFees
SetStorageConfigAccount sets the "storageConfig" account.
func (*MutableFees) UnmarshalWithDecoder ¶
func (obj *MutableFees) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*MutableFees) Validate ¶
func (inst *MutableFees) Validate() error
func (MutableFees) ValidateAndBuild ¶
func (inst MutableFees) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RedeemRent ¶
type RedeemRent struct { // [0] = [] storageAccount // // [1] = [WRITE] file // // [2] = [WRITE, SIGNER] owner ag_solanago.AccountMetaSlice `bin:"-"` }
RedeemRent is the `redeemRent` instruction.
func NewRedeemRentInstruction ¶
func NewRedeemRentInstruction( storageAccount ag_solanago.PublicKey, file ag_solanago.PublicKey, owner ag_solanago.PublicKey) *RedeemRent
NewRedeemRentInstruction declares a new RedeemRent instruction with the provided parameters and accounts.
func NewRedeemRentInstructionBuilder ¶
func NewRedeemRentInstructionBuilder() *RedeemRent
NewRedeemRentInstructionBuilder creates a new `RedeemRent` instruction builder.
func (RedeemRent) Build ¶
func (inst RedeemRent) Build() *Instruction
func (*RedeemRent) EncodeToTree ¶
func (inst *RedeemRent) EncodeToTree(parent ag_treeout.Branches)
func (*RedeemRent) GetFileAccount ¶
func (inst *RedeemRent) GetFileAccount() *ag_solanago.AccountMeta
GetFileAccount gets the "file" account.
func (*RedeemRent) GetOwnerAccount ¶
func (inst *RedeemRent) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*RedeemRent) GetStorageAccountAccount ¶
func (inst *RedeemRent) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (RedeemRent) MarshalWithEncoder ¶
func (obj RedeemRent) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RedeemRent) SetFileAccount ¶
func (inst *RedeemRent) SetFileAccount(file ag_solanago.PublicKey) *RedeemRent
SetFileAccount sets the "file" account.
func (*RedeemRent) SetOwnerAccount ¶
func (inst *RedeemRent) SetOwnerAccount(owner ag_solanago.PublicKey) *RedeemRent
SetOwnerAccount sets the "owner" account.
func (*RedeemRent) SetStorageAccountAccount ¶
func (inst *RedeemRent) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RedeemRent
SetStorageAccountAccount sets the "storageAccount" account.
func (*RedeemRent) UnmarshalWithDecoder ¶
func (obj *RedeemRent) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RedeemRent) Validate ¶
func (inst *RedeemRent) Validate() error
func (RedeemRent) ValidateAndBuild ¶
func (inst RedeemRent) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RefreshStake ¶
type RefreshStake struct { // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [WRITE] ownerAta // // [4] = [WRITE] stakeAccount // // [5] = [] tokenMint // // [6] = [] systemProgram // // [7] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
RefreshStake is the `refreshStake` instruction.
func NewRefreshStakeInstruction ¶
func NewRefreshStakeInstruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *RefreshStake
NewRefreshStakeInstruction declares a new RefreshStake instruction with the provided parameters and accounts.
func NewRefreshStakeInstructionBuilder ¶
func NewRefreshStakeInstructionBuilder() *RefreshStake
NewRefreshStakeInstructionBuilder creates a new `RefreshStake` instruction builder.
func (RefreshStake) Build ¶
func (inst RefreshStake) Build() *Instruction
func (*RefreshStake) EncodeToTree ¶
func (inst *RefreshStake) EncodeToTree(parent ag_treeout.Branches)
func (*RefreshStake) GetOwnerAccount ¶
func (inst *RefreshStake) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*RefreshStake) GetOwnerAtaAccount ¶
func (inst *RefreshStake) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*RefreshStake) GetStakeAccountAccount ¶
func (inst *RefreshStake) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*RefreshStake) GetStorageAccountAccount ¶
func (inst *RefreshStake) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*RefreshStake) GetStorageConfigAccount ¶
func (inst *RefreshStake) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*RefreshStake) GetSystemProgramAccount ¶
func (inst *RefreshStake) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RefreshStake) GetTokenMintAccount ¶
func (inst *RefreshStake) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*RefreshStake) GetTokenProgramAccount ¶
func (inst *RefreshStake) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (RefreshStake) MarshalWithEncoder ¶
func (obj RefreshStake) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RefreshStake) SetOwnerAccount ¶
func (inst *RefreshStake) SetOwnerAccount(owner ag_solanago.PublicKey) *RefreshStake
SetOwnerAccount sets the "owner" account.
func (*RefreshStake) SetOwnerAtaAccount ¶
func (inst *RefreshStake) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *RefreshStake
SetOwnerAtaAccount sets the "ownerAta" account.
func (*RefreshStake) SetStakeAccountAccount ¶
func (inst *RefreshStake) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *RefreshStake
SetStakeAccountAccount sets the "stakeAccount" account.
func (*RefreshStake) SetStorageAccountAccount ¶
func (inst *RefreshStake) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RefreshStake
SetStorageAccountAccount sets the "storageAccount" account.
func (*RefreshStake) SetStorageConfigAccount ¶
func (inst *RefreshStake) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RefreshStake
SetStorageConfigAccount sets the "storageConfig" account.
func (*RefreshStake) SetSystemProgramAccount ¶
func (inst *RefreshStake) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RefreshStake
SetSystemProgramAccount sets the "systemProgram" account.
func (*RefreshStake) SetTokenMintAccount ¶
func (inst *RefreshStake) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RefreshStake
SetTokenMintAccount sets the "tokenMint" account.
func (*RefreshStake) SetTokenProgramAccount ¶
func (inst *RefreshStake) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RefreshStake
SetTokenProgramAccount sets the "tokenProgram" account.
func (*RefreshStake) UnmarshalWithDecoder ¶
func (obj *RefreshStake) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RefreshStake) Validate ¶
func (inst *RefreshStake) Validate() error
func (RefreshStake) ValidateAndBuild ¶
func (inst RefreshStake) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RefreshStake2 ¶
type RefreshStake2 struct { // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [WRITE] ownerAta // // [4] = [WRITE] stakeAccount // // [5] = [] tokenMint // // [6] = [] systemProgram // // [7] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
RefreshStake2 is the `refreshStake2` instruction.
func NewRefreshStake2Instruction ¶
func NewRefreshStake2Instruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, ownerAta ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *RefreshStake2
NewRefreshStake2Instruction declares a new RefreshStake2 instruction with the provided parameters and accounts.
func NewRefreshStake2InstructionBuilder ¶
func NewRefreshStake2InstructionBuilder() *RefreshStake2
NewRefreshStake2InstructionBuilder creates a new `RefreshStake2` instruction builder.
func (RefreshStake2) Build ¶
func (inst RefreshStake2) Build() *Instruction
func (*RefreshStake2) EncodeToTree ¶
func (inst *RefreshStake2) EncodeToTree(parent ag_treeout.Branches)
func (*RefreshStake2) GetOwnerAccount ¶
func (inst *RefreshStake2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*RefreshStake2) GetOwnerAtaAccount ¶
func (inst *RefreshStake2) GetOwnerAtaAccount() *ag_solanago.AccountMeta
GetOwnerAtaAccount gets the "ownerAta" account.
func (*RefreshStake2) GetStakeAccountAccount ¶
func (inst *RefreshStake2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*RefreshStake2) GetStorageAccountAccount ¶
func (inst *RefreshStake2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*RefreshStake2) GetStorageConfigAccount ¶
func (inst *RefreshStake2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*RefreshStake2) GetSystemProgramAccount ¶
func (inst *RefreshStake2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RefreshStake2) GetTokenMintAccount ¶
func (inst *RefreshStake2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*RefreshStake2) GetTokenProgramAccount ¶
func (inst *RefreshStake2) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (RefreshStake2) MarshalWithEncoder ¶
func (obj RefreshStake2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RefreshStake2) SetOwnerAccount ¶
func (inst *RefreshStake2) SetOwnerAccount(owner ag_solanago.PublicKey) *RefreshStake2
SetOwnerAccount sets the "owner" account.
func (*RefreshStake2) SetOwnerAtaAccount ¶
func (inst *RefreshStake2) SetOwnerAtaAccount(ownerAta ag_solanago.PublicKey) *RefreshStake2
SetOwnerAtaAccount sets the "ownerAta" account.
func (*RefreshStake2) SetStakeAccountAccount ¶
func (inst *RefreshStake2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *RefreshStake2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*RefreshStake2) SetStorageAccountAccount ¶
func (inst *RefreshStake2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RefreshStake2
SetStorageAccountAccount sets the "storageAccount" account.
func (*RefreshStake2) SetStorageConfigAccount ¶
func (inst *RefreshStake2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RefreshStake2
SetStorageConfigAccount sets the "storageConfig" account.
func (*RefreshStake2) SetSystemProgramAccount ¶
func (inst *RefreshStake2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RefreshStake2
SetSystemProgramAccount sets the "systemProgram" account.
func (*RefreshStake2) SetTokenMintAccount ¶
func (inst *RefreshStake2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RefreshStake2
SetTokenMintAccount sets the "tokenMint" account.
func (*RefreshStake2) SetTokenProgramAccount ¶
func (inst *RefreshStake2) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RefreshStake2
SetTokenProgramAccount sets the "tokenProgram" account.
func (*RefreshStake2) UnmarshalWithDecoder ¶
func (obj *RefreshStake2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RefreshStake2) Validate ¶
func (inst *RefreshStake2) Validate() error
func (RefreshStake2) ValidateAndBuild ¶
func (inst RefreshStake2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RequestDeleteAccount ¶
type RequestDeleteAccount struct { // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [] tokenMint // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
RequestDeleteAccount is the `requestDeleteAccount` instruction.
func NewRequestDeleteAccountInstruction ¶
func NewRequestDeleteAccountInstruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *RequestDeleteAccount
NewRequestDeleteAccountInstruction declares a new RequestDeleteAccount instruction with the provided parameters and accounts.
func NewRequestDeleteAccountInstructionBuilder ¶
func NewRequestDeleteAccountInstructionBuilder() *RequestDeleteAccount
NewRequestDeleteAccountInstructionBuilder creates a new `RequestDeleteAccount` instruction builder.
func (RequestDeleteAccount) Build ¶
func (inst RequestDeleteAccount) Build() *Instruction
func (*RequestDeleteAccount) EncodeToTree ¶
func (inst *RequestDeleteAccount) EncodeToTree(parent ag_treeout.Branches)
func (*RequestDeleteAccount) GetOwnerAccount ¶
func (inst *RequestDeleteAccount) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*RequestDeleteAccount) GetStorageAccountAccount ¶
func (inst *RequestDeleteAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*RequestDeleteAccount) GetStorageConfigAccount ¶
func (inst *RequestDeleteAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*RequestDeleteAccount) GetSystemProgramAccount ¶
func (inst *RequestDeleteAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RequestDeleteAccount) GetTokenMintAccount ¶
func (inst *RequestDeleteAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (RequestDeleteAccount) MarshalWithEncoder ¶
func (obj RequestDeleteAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RequestDeleteAccount) SetOwnerAccount ¶
func (inst *RequestDeleteAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *RequestDeleteAccount
SetOwnerAccount sets the "owner" account.
func (*RequestDeleteAccount) SetStorageAccountAccount ¶
func (inst *RequestDeleteAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RequestDeleteAccount
SetStorageAccountAccount sets the "storageAccount" account.
func (*RequestDeleteAccount) SetStorageConfigAccount ¶
func (inst *RequestDeleteAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RequestDeleteAccount
SetStorageConfigAccount sets the "storageConfig" account.
func (*RequestDeleteAccount) SetSystemProgramAccount ¶
func (inst *RequestDeleteAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RequestDeleteAccount
SetSystemProgramAccount sets the "systemProgram" account.
func (*RequestDeleteAccount) SetTokenMintAccount ¶
func (inst *RequestDeleteAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RequestDeleteAccount
SetTokenMintAccount sets the "tokenMint" account.
func (*RequestDeleteAccount) UnmarshalWithDecoder ¶
func (obj *RequestDeleteAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RequestDeleteAccount) Validate ¶
func (inst *RequestDeleteAccount) Validate() error
func (RequestDeleteAccount) ValidateAndBuild ¶
func (inst RequestDeleteAccount) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RequestDeleteAccount2 ¶
type RequestDeleteAccount2 struct { // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [] tokenMint // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
RequestDeleteAccount2 is the `requestDeleteAccount2` instruction.
func NewRequestDeleteAccount2Instruction ¶
func NewRequestDeleteAccount2Instruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *RequestDeleteAccount2
NewRequestDeleteAccount2Instruction declares a new RequestDeleteAccount2 instruction with the provided parameters and accounts.
func NewRequestDeleteAccount2InstructionBuilder ¶
func NewRequestDeleteAccount2InstructionBuilder() *RequestDeleteAccount2
NewRequestDeleteAccount2InstructionBuilder creates a new `RequestDeleteAccount2` instruction builder.
func (RequestDeleteAccount2) Build ¶
func (inst RequestDeleteAccount2) Build() *Instruction
func (*RequestDeleteAccount2) EncodeToTree ¶
func (inst *RequestDeleteAccount2) EncodeToTree(parent ag_treeout.Branches)
func (*RequestDeleteAccount2) GetOwnerAccount ¶
func (inst *RequestDeleteAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*RequestDeleteAccount2) GetStorageAccountAccount ¶
func (inst *RequestDeleteAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*RequestDeleteAccount2) GetStorageConfigAccount ¶
func (inst *RequestDeleteAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*RequestDeleteAccount2) GetSystemProgramAccount ¶
func (inst *RequestDeleteAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RequestDeleteAccount2) GetTokenMintAccount ¶
func (inst *RequestDeleteAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (RequestDeleteAccount2) MarshalWithEncoder ¶
func (obj RequestDeleteAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RequestDeleteAccount2) SetOwnerAccount ¶
func (inst *RequestDeleteAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *RequestDeleteAccount2
SetOwnerAccount sets the "owner" account.
func (*RequestDeleteAccount2) SetStorageAccountAccount ¶
func (inst *RequestDeleteAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *RequestDeleteAccount2
SetStorageAccountAccount sets the "storageAccount" account.
func (*RequestDeleteAccount2) SetStorageConfigAccount ¶
func (inst *RequestDeleteAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *RequestDeleteAccount2
SetStorageConfigAccount sets the "storageConfig" account.
func (*RequestDeleteAccount2) SetSystemProgramAccount ¶
func (inst *RequestDeleteAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RequestDeleteAccount2
SetSystemProgramAccount sets the "systemProgram" account.
func (*RequestDeleteAccount2) SetTokenMintAccount ¶
func (inst *RequestDeleteAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *RequestDeleteAccount2
SetTokenMintAccount sets the "tokenMint" account.
func (*RequestDeleteAccount2) UnmarshalWithDecoder ¶
func (obj *RequestDeleteAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RequestDeleteAccount2) Validate ¶
func (inst *RequestDeleteAccount2) Validate() error
func (RequestDeleteAccount2) ValidateAndBuild ¶
func (inst RequestDeleteAccount2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type StorageAccount ¶
type StorageAccount struct { IsStatic bool InitCounter uint32 DelCounter uint32 Immutable bool ToBeDeleted bool DeleteRequestEpoch uint32 Storage uint64 StorageAvailable uint64 Owner1 ag_solanago.PublicKey Owner2 ag_solanago.PublicKey ShdwPayer ag_solanago.PublicKey AccountCounterSeed uint32 TotalCostOfCurrentStorage uint64 TotalFeesPaid uint64 CreationTime uint32 CreationEpoch uint32 LastFeeEpoch uint32 Identifier string }
func (StorageAccount) MarshalWithEncoder ¶
func (obj StorageAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*StorageAccount) UnmarshalWithDecoder ¶
func (obj *StorageAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type StorageAccountV2 ¶
type StorageAccountV2 struct { Immutable bool ToBeDeleted bool DeleteRequestEpoch uint32 Storage uint64 Owner1 ag_solanago.PublicKey AccountCounterSeed uint32 CreationTime uint32 CreationEpoch uint32 LastFeeEpoch uint32 Identifier string }
func (StorageAccountV2) MarshalWithEncoder ¶
func (obj StorageAccountV2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*StorageAccountV2) UnmarshalWithDecoder ¶
func (obj *StorageAccountV2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type StorageConfig ¶
type StorageConfig struct { ShadesPerGib uint64 StorageAvailable ag_binary.Uint128 TokenAccount ag_solanago.PublicKey Admin2 ag_solanago.PublicKey Uploader ag_solanago.PublicKey MutableFeeStartEpoch *uint32 `bin:"optional"` ShadesPerGibPerEpoch uint64 CrankBps uint16 MaxAccountSize uint64 MinAccountSize uint64 }
func (StorageConfig) MarshalWithEncoder ¶
func (obj StorageConfig) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*StorageConfig) UnmarshalWithDecoder ¶
func (obj *StorageConfig) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type UnmarkDeleteAccount ¶
type UnmarkDeleteAccount struct { // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] stakeAccount // // [3] = [WRITE, SIGNER] owner // // [4] = [] tokenMint // // [5] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
UnmarkDeleteAccount is the `unmarkDeleteAccount` instruction.
func NewUnmarkDeleteAccountInstruction ¶
func NewUnmarkDeleteAccountInstruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *UnmarkDeleteAccount
NewUnmarkDeleteAccountInstruction declares a new UnmarkDeleteAccount instruction with the provided parameters and accounts.
func NewUnmarkDeleteAccountInstructionBuilder ¶
func NewUnmarkDeleteAccountInstructionBuilder() *UnmarkDeleteAccount
NewUnmarkDeleteAccountInstructionBuilder creates a new `UnmarkDeleteAccount` instruction builder.
func (UnmarkDeleteAccount) Build ¶
func (inst UnmarkDeleteAccount) Build() *Instruction
func (*UnmarkDeleteAccount) EncodeToTree ¶
func (inst *UnmarkDeleteAccount) EncodeToTree(parent ag_treeout.Branches)
func (*UnmarkDeleteAccount) GetOwnerAccount ¶
func (inst *UnmarkDeleteAccount) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*UnmarkDeleteAccount) GetStakeAccountAccount ¶
func (inst *UnmarkDeleteAccount) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*UnmarkDeleteAccount) GetStorageAccountAccount ¶
func (inst *UnmarkDeleteAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*UnmarkDeleteAccount) GetStorageConfigAccount ¶
func (inst *UnmarkDeleteAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*UnmarkDeleteAccount) GetSystemProgramAccount ¶
func (inst *UnmarkDeleteAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*UnmarkDeleteAccount) GetTokenMintAccount ¶
func (inst *UnmarkDeleteAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (UnmarkDeleteAccount) MarshalWithEncoder ¶
func (obj UnmarkDeleteAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UnmarkDeleteAccount) SetOwnerAccount ¶
func (inst *UnmarkDeleteAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *UnmarkDeleteAccount
SetOwnerAccount sets the "owner" account.
func (*UnmarkDeleteAccount) SetStakeAccountAccount ¶
func (inst *UnmarkDeleteAccount) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *UnmarkDeleteAccount
SetStakeAccountAccount sets the "stakeAccount" account.
func (*UnmarkDeleteAccount) SetStorageAccountAccount ¶
func (inst *UnmarkDeleteAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UnmarkDeleteAccount
SetStorageAccountAccount sets the "storageAccount" account.
func (*UnmarkDeleteAccount) SetStorageConfigAccount ¶
func (inst *UnmarkDeleteAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UnmarkDeleteAccount
SetStorageConfigAccount sets the "storageConfig" account.
func (*UnmarkDeleteAccount) SetSystemProgramAccount ¶
func (inst *UnmarkDeleteAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UnmarkDeleteAccount
SetSystemProgramAccount sets the "systemProgram" account.
func (*UnmarkDeleteAccount) SetTokenMintAccount ¶
func (inst *UnmarkDeleteAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UnmarkDeleteAccount
SetTokenMintAccount sets the "tokenMint" account.
func (*UnmarkDeleteAccount) UnmarshalWithDecoder ¶
func (obj *UnmarkDeleteAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UnmarkDeleteAccount) Validate ¶
func (inst *UnmarkDeleteAccount) Validate() error
func (UnmarkDeleteAccount) ValidateAndBuild ¶
func (inst UnmarkDeleteAccount) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UnmarkDeleteAccount2 ¶
type UnmarkDeleteAccount2 struct { // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE] stakeAccount // // [3] = [WRITE, SIGNER] owner // // [4] = [] tokenMint // // [5] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
UnmarkDeleteAccount2 is the `unmarkDeleteAccount2` instruction.
func NewUnmarkDeleteAccount2Instruction ¶
func NewUnmarkDeleteAccount2Instruction( storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, stakeAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *UnmarkDeleteAccount2
NewUnmarkDeleteAccount2Instruction declares a new UnmarkDeleteAccount2 instruction with the provided parameters and accounts.
func NewUnmarkDeleteAccount2InstructionBuilder ¶
func NewUnmarkDeleteAccount2InstructionBuilder() *UnmarkDeleteAccount2
NewUnmarkDeleteAccount2InstructionBuilder creates a new `UnmarkDeleteAccount2` instruction builder.
func (UnmarkDeleteAccount2) Build ¶
func (inst UnmarkDeleteAccount2) Build() *Instruction
func (*UnmarkDeleteAccount2) EncodeToTree ¶
func (inst *UnmarkDeleteAccount2) EncodeToTree(parent ag_treeout.Branches)
func (*UnmarkDeleteAccount2) GetOwnerAccount ¶
func (inst *UnmarkDeleteAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*UnmarkDeleteAccount2) GetStakeAccountAccount ¶
func (inst *UnmarkDeleteAccount2) GetStakeAccountAccount() *ag_solanago.AccountMeta
GetStakeAccountAccount gets the "stakeAccount" account.
func (*UnmarkDeleteAccount2) GetStorageAccountAccount ¶
func (inst *UnmarkDeleteAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*UnmarkDeleteAccount2) GetStorageConfigAccount ¶
func (inst *UnmarkDeleteAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*UnmarkDeleteAccount2) GetSystemProgramAccount ¶
func (inst *UnmarkDeleteAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*UnmarkDeleteAccount2) GetTokenMintAccount ¶
func (inst *UnmarkDeleteAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (UnmarkDeleteAccount2) MarshalWithEncoder ¶
func (obj UnmarkDeleteAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UnmarkDeleteAccount2) SetOwnerAccount ¶
func (inst *UnmarkDeleteAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *UnmarkDeleteAccount2
SetOwnerAccount sets the "owner" account.
func (*UnmarkDeleteAccount2) SetStakeAccountAccount ¶
func (inst *UnmarkDeleteAccount2) SetStakeAccountAccount(stakeAccount ag_solanago.PublicKey) *UnmarkDeleteAccount2
SetStakeAccountAccount sets the "stakeAccount" account.
func (*UnmarkDeleteAccount2) SetStorageAccountAccount ¶
func (inst *UnmarkDeleteAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UnmarkDeleteAccount2
SetStorageAccountAccount sets the "storageAccount" account.
func (*UnmarkDeleteAccount2) SetStorageConfigAccount ¶
func (inst *UnmarkDeleteAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UnmarkDeleteAccount2
SetStorageConfigAccount sets the "storageConfig" account.
func (*UnmarkDeleteAccount2) SetSystemProgramAccount ¶
func (inst *UnmarkDeleteAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UnmarkDeleteAccount2
SetSystemProgramAccount sets the "systemProgram" account.
func (*UnmarkDeleteAccount2) SetTokenMintAccount ¶
func (inst *UnmarkDeleteAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UnmarkDeleteAccount2
SetTokenMintAccount sets the "tokenMint" account.
func (*UnmarkDeleteAccount2) UnmarshalWithDecoder ¶
func (obj *UnmarkDeleteAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UnmarkDeleteAccount2) Validate ¶
func (inst *UnmarkDeleteAccount2) Validate() error
func (UnmarkDeleteAccount2) ValidateAndBuild ¶
func (inst UnmarkDeleteAccount2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UnstakeInfo ¶
type UnstakeInfo struct { TimeLastUnstaked int64 EpochLastUnstaked uint64 Unstaker ag_solanago.PublicKey }
func (UnstakeInfo) MarshalWithEncoder ¶
func (obj UnstakeInfo) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UnstakeInfo) UnmarshalWithDecoder ¶
func (obj *UnstakeInfo) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type UpdateAccount ¶
type UpdateAccount struct { Identifier *string `bin:"optional"` Owner2 *ag_solanago.PublicKey `bin:"optional"` // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [] tokenMint // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateAccount is the `updateAccount` instruction.
func NewUpdateAccountInstruction ¶
func NewUpdateAccountInstruction( identifier string, owner2 ag_solanago.PublicKey, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *UpdateAccount
NewUpdateAccountInstruction declares a new UpdateAccount instruction with the provided parameters and accounts.
func NewUpdateAccountInstructionBuilder ¶
func NewUpdateAccountInstructionBuilder() *UpdateAccount
NewUpdateAccountInstructionBuilder creates a new `UpdateAccount` instruction builder.
func (UpdateAccount) Build ¶
func (inst UpdateAccount) Build() *Instruction
func (*UpdateAccount) EncodeToTree ¶
func (inst *UpdateAccount) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateAccount) GetOwnerAccount ¶
func (inst *UpdateAccount) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*UpdateAccount) GetStorageAccountAccount ¶
func (inst *UpdateAccount) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*UpdateAccount) GetStorageConfigAccount ¶
func (inst *UpdateAccount) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*UpdateAccount) GetSystemProgramAccount ¶
func (inst *UpdateAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*UpdateAccount) GetTokenMintAccount ¶
func (inst *UpdateAccount) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (UpdateAccount) MarshalWithEncoder ¶
func (obj UpdateAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateAccount) SetIdentifier ¶
func (inst *UpdateAccount) SetIdentifier(identifier string) *UpdateAccount
SetIdentifier sets the "identifier" parameter.
func (*UpdateAccount) SetOwner2 ¶
func (inst *UpdateAccount) SetOwner2(owner2 ag_solanago.PublicKey) *UpdateAccount
SetOwner2 sets the "owner2" parameter.
func (*UpdateAccount) SetOwnerAccount ¶
func (inst *UpdateAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *UpdateAccount
SetOwnerAccount sets the "owner" account.
func (*UpdateAccount) SetStorageAccountAccount ¶
func (inst *UpdateAccount) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UpdateAccount
SetStorageAccountAccount sets the "storageAccount" account.
func (*UpdateAccount) SetStorageConfigAccount ¶
func (inst *UpdateAccount) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UpdateAccount
SetStorageConfigAccount sets the "storageConfig" account.
func (*UpdateAccount) SetSystemProgramAccount ¶
func (inst *UpdateAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAccount
SetSystemProgramAccount sets the "systemProgram" account.
func (*UpdateAccount) SetTokenMintAccount ¶
func (inst *UpdateAccount) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UpdateAccount
SetTokenMintAccount sets the "tokenMint" account.
func (*UpdateAccount) UnmarshalWithDecoder ¶
func (obj *UpdateAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateAccount) Validate ¶
func (inst *UpdateAccount) Validate() error
func (UpdateAccount) ValidateAndBuild ¶
func (inst UpdateAccount) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UpdateAccount2 ¶
type UpdateAccount2 struct { Identifier *string `bin:"optional"` // [0] = [] storageConfig // // [1] = [WRITE] storageAccount // // [2] = [WRITE, SIGNER] owner // // [3] = [] tokenMint // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateAccount2 is the `updateAccount2` instruction.
func NewUpdateAccount2Instruction ¶
func NewUpdateAccount2Instruction( identifier string, storageConfig ag_solanago.PublicKey, storageAccount ag_solanago.PublicKey, owner ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *UpdateAccount2
NewUpdateAccount2Instruction declares a new UpdateAccount2 instruction with the provided parameters and accounts.
func NewUpdateAccount2InstructionBuilder ¶
func NewUpdateAccount2InstructionBuilder() *UpdateAccount2
NewUpdateAccount2InstructionBuilder creates a new `UpdateAccount2` instruction builder.
func (UpdateAccount2) Build ¶
func (inst UpdateAccount2) Build() *Instruction
func (*UpdateAccount2) EncodeToTree ¶
func (inst *UpdateAccount2) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateAccount2) GetOwnerAccount ¶
func (inst *UpdateAccount2) GetOwnerAccount() *ag_solanago.AccountMeta
GetOwnerAccount gets the "owner" account.
func (*UpdateAccount2) GetStorageAccountAccount ¶
func (inst *UpdateAccount2) GetStorageAccountAccount() *ag_solanago.AccountMeta
GetStorageAccountAccount gets the "storageAccount" account.
func (*UpdateAccount2) GetStorageConfigAccount ¶
func (inst *UpdateAccount2) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (*UpdateAccount2) GetSystemProgramAccount ¶
func (inst *UpdateAccount2) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*UpdateAccount2) GetTokenMintAccount ¶
func (inst *UpdateAccount2) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (UpdateAccount2) MarshalWithEncoder ¶
func (obj UpdateAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateAccount2) SetIdentifier ¶
func (inst *UpdateAccount2) SetIdentifier(identifier string) *UpdateAccount2
SetIdentifier sets the "identifier" parameter.
func (*UpdateAccount2) SetOwnerAccount ¶
func (inst *UpdateAccount2) SetOwnerAccount(owner ag_solanago.PublicKey) *UpdateAccount2
SetOwnerAccount sets the "owner" account.
func (*UpdateAccount2) SetStorageAccountAccount ¶
func (inst *UpdateAccount2) SetStorageAccountAccount(storageAccount ag_solanago.PublicKey) *UpdateAccount2
SetStorageAccountAccount sets the "storageAccount" account.
func (*UpdateAccount2) SetStorageConfigAccount ¶
func (inst *UpdateAccount2) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UpdateAccount2
SetStorageConfigAccount sets the "storageConfig" account.
func (*UpdateAccount2) SetSystemProgramAccount ¶
func (inst *UpdateAccount2) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAccount2
SetSystemProgramAccount sets the "systemProgram" account.
func (*UpdateAccount2) SetTokenMintAccount ¶
func (inst *UpdateAccount2) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *UpdateAccount2
SetTokenMintAccount sets the "tokenMint" account.
func (*UpdateAccount2) UnmarshalWithDecoder ¶
func (obj *UpdateAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateAccount2) Validate ¶
func (inst *UpdateAccount2) Validate() error
func (UpdateAccount2) ValidateAndBuild ¶
func (inst UpdateAccount2) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UpdateConfig ¶
type UpdateConfig struct { NewStorageCost *uint64 `bin:"optional"` NewStorageAvailable *ag_binary.Uint128 `bin:"optional"` NewAdmin2 *ag_solanago.PublicKey `bin:"optional"` NewMaxAcctSize *uint64 `bin:"optional"` NewMinAcctSize *uint64 `bin:"optional"` // [0] = [WRITE] storageConfig // // [1] = [WRITE, SIGNER] admin ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateConfig is the `updateConfig` instruction.
func NewUpdateConfigInstruction ¶
func NewUpdateConfigInstruction( newStorageCost uint64, newStorageAvailable ag_binary.Uint128, newAdmin2 ag_solanago.PublicKey, newMaxAcctSize uint64, newMinAcctSize uint64, storageConfig ag_solanago.PublicKey, admin ag_solanago.PublicKey) *UpdateConfig
NewUpdateConfigInstruction declares a new UpdateConfig instruction with the provided parameters and accounts.
func NewUpdateConfigInstructionBuilder ¶
func NewUpdateConfigInstructionBuilder() *UpdateConfig
NewUpdateConfigInstructionBuilder creates a new `UpdateConfig` instruction builder.
func (UpdateConfig) Build ¶
func (inst UpdateConfig) Build() *Instruction
func (*UpdateConfig) EncodeToTree ¶
func (inst *UpdateConfig) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateConfig) GetAdminAccount ¶
func (inst *UpdateConfig) GetAdminAccount() *ag_solanago.AccountMeta
GetAdminAccount gets the "admin" account.
func (*UpdateConfig) GetStorageConfigAccount ¶
func (inst *UpdateConfig) GetStorageConfigAccount() *ag_solanago.AccountMeta
GetStorageConfigAccount gets the "storageConfig" account.
func (UpdateConfig) MarshalWithEncoder ¶
func (obj UpdateConfig) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateConfig) SetAdminAccount ¶
func (inst *UpdateConfig) SetAdminAccount(admin ag_solanago.PublicKey) *UpdateConfig
SetAdminAccount sets the "admin" account.
func (*UpdateConfig) SetNewAdmin2 ¶
func (inst *UpdateConfig) SetNewAdmin2(newAdmin2 ag_solanago.PublicKey) *UpdateConfig
SetNewAdmin2 sets the "newAdmin2" parameter.
func (*UpdateConfig) SetNewMaxAcctSize ¶
func (inst *UpdateConfig) SetNewMaxAcctSize(newMaxAcctSize uint64) *UpdateConfig
SetNewMaxAcctSize sets the "newMaxAcctSize" parameter.
func (*UpdateConfig) SetNewMinAcctSize ¶
func (inst *UpdateConfig) SetNewMinAcctSize(newMinAcctSize uint64) *UpdateConfig
SetNewMinAcctSize sets the "newMinAcctSize" parameter.
func (*UpdateConfig) SetNewStorageAvailable ¶
func (inst *UpdateConfig) SetNewStorageAvailable(newStorageAvailable ag_binary.Uint128) *UpdateConfig
SetNewStorageAvailable sets the "newStorageAvailable" parameter.
func (*UpdateConfig) SetNewStorageCost ¶
func (inst *UpdateConfig) SetNewStorageCost(newStorageCost uint64) *UpdateConfig
SetNewStorageCost sets the "newStorageCost" parameter.
func (*UpdateConfig) SetStorageConfigAccount ¶
func (inst *UpdateConfig) SetStorageConfigAccount(storageConfig ag_solanago.PublicKey) *UpdateConfig
SetStorageConfigAccount sets the "storageConfig" account.
func (*UpdateConfig) UnmarshalWithDecoder ¶
func (obj *UpdateConfig) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateConfig) Validate ¶
func (inst *UpdateConfig) Validate() error
func (UpdateConfig) ValidateAndBuild ¶
func (inst UpdateConfig) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
Source Files ¶
- BadCsam.go
- BadCsam2.go
- ClaimStake.go
- ClaimStake2.go
- Crank.go
- Crank2.go
- DecreaseStorage.go
- DecreaseStorage2.go
- DeleteAccount.go
- DeleteAccount2.go
- IncreaseImmutableStorage.go
- IncreaseImmutableStorage2.go
- IncreaseStorage.go
- IncreaseStorage2.go
- InitializeAccount.go
- InitializeAccount2.go
- InitializeConfig.go
- MakeAccountImmutable.go
- MakeAccountImmutable2.go
- MigrateStep1.go
- MigrateStep2.go
- MutableFees.go
- RedeemRent.go
- RefreshStake.go
- RefreshStake2.go
- RequestDeleteAccount.go
- RequestDeleteAccount2.go
- UnmarkDeleteAccount.go
- UnmarkDeleteAccount2.go
- UpdateAccount.go
- UpdateAccount2.go
- UpdateConfig.go
- accounts.go
- instructions.go
- testing_utils.go
- types.go