package
0.0.5
Repository: https://github.com/roboticagile/metaplex-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
InstructionIDToName returns the name of the instruction given its ID.
NewActivateVaultInstruction declares a new ActivateVault instruction with the provided parameters and accounts.
NewActivateVaultInstructionBuilder creates a new `ActivateVault` instruction builder.
NewAddSharesToTreasuryInstruction declares a new AddSharesToTreasury instruction with the provided parameters and accounts.
NewAddSharesToTreasuryInstructionBuilder creates a new `AddSharesToTreasury` instruction builder.
NewAddTokenToInactiveVaultInstruction declares a new AddTokenToInactiveVault instruction with the provided parameters and accounts.
NewAddTokenToInactiveVaultInstructionBuilder creates a new `AddTokenToInactiveVault` instruction builder.
NewCombineVaultInstruction declares a new CombineVault instruction with the provided parameters and accounts.
NewCombineVaultInstructionBuilder creates a new `CombineVault` instruction builder.
NewInitVaultInstruction declares a new InitVault instruction with the provided parameters and accounts.
NewInitVaultInstructionBuilder creates a new `InitVault` instruction builder.
NewMintFractionalSharesInstruction declares a new MintFractionalShares instruction with the provided parameters and accounts.
NewMintFractionalSharesInstructionBuilder creates a new `MintFractionalShares` instruction builder.
NewRedeemSharesInstruction declares a new RedeemShares instruction with the provided parameters and accounts.
NewRedeemSharesInstructionBuilder creates a new `RedeemShares` instruction builder.
NewSetAuthorityInstruction declares a new SetAuthority instruction with the provided parameters and accounts.
NewSetAuthorityInstructionBuilder creates a new `SetAuthority` instruction builder.
NewUpdateExternalPriceAccountInstruction declares a new UpdateExternalPriceAccount instruction with the provided parameters and accounts.
NewUpdateExternalPriceAccountInstructionBuilder creates a new `UpdateExternalPriceAccount` instruction builder.
NewWithdrawSharesFromTreasuryInstruction declares a new WithdrawSharesFromTreasury instruction with the provided parameters and accounts.
NewWithdrawSharesFromTreasuryInstructionBuilder creates a new `WithdrawSharesFromTreasury` instruction builder.
NewWithdrawTokenFromSafetyDepositBoxInstruction declares a new WithdrawTokenFromSafetyDepositBox instruction with the provided parameters and accounts.
NewWithdrawTokenFromSafetyDepositBoxInstructionBuilder creates a new `WithdrawTokenFromSafetyDepositBox` instruction builder.
No description provided by the author

# Constants

Activates the vault, distributing initial shares into the fraction treasury.
Returns shares to the vault if you wish to remove them from circulation.
Add a token to a inactive token vault.
This act checks the external pricing oracle for permission to combine and the price of the circulating market cap to do so.
Initialize a token vault, starts inactivate.
Self explanatory - mint more fractional shares if the vault is configured to allow such.
If in the combine state, shareholders can hit this endpoint to burn shares in exchange for monies from the treasury.
Sets the authority of the vault to a new authority.
Helpful method that isn't necessary to use for main users of the app, but allows one to create/update existing external price account fields if they are signers of this account.
Withdraws shares from the treasury to a desired account.
If in combine state, authority on vault can hit this to withdrawal some of a token type from a safety deposit box.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
prefix used for PDAs to avoid certain collision attacks (https://en.wikipedia.org/wiki/Collision_attack#Chosen-prefix_collision_attack).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

Activates the vault, distributing initial shares into the fraction treasury.
Returns shares to the vault if you wish to remove them from circulation.
Add a token to a inactive token vault.
No description provided by the author
This act checks the external pricing oracle for permission to combine and the price of the circulating market cap to do so.
No description provided by the author
Initialize a token vault, starts inactivate.
No description provided by the author
No description provided by the author
No description provided by the author
Self explanatory - mint more fractional shares if the vault is configured to allow such.
No description provided by the author
If in the combine state, shareholders can hit this endpoint to burn shares in exchange for monies from the treasury.
No description provided by the author
Sets the authority of the vault to a new authority.
Helpful method that isn't necessary to use for main users of the app, but allows one to create/update existing external price account fields if they are signers of this account.
No description provided by the author
Withdraws shares from the treasury to a desired account.
If in combine state, authority on vault can hit this to withdrawal some of a token type from a safety deposit box.

# Type aliases

No description provided by the author
No description provided by the author