MetaplexFixedPriceSaleProgram class
Constructors
-
MetaplexFixedPriceSaleProgram({required List<AccountMeta> keys, required SolAddress programId, required ProgramLayout layout})
-
-
MetaplexFixedPriceSaleProgram.buy({required SolAddress market, required SolAddress sellingResource, required SolAddress userTokenAccount, required SolAddress userWallet, required SolAddress tradeHistory, required SolAddress treasuryHolder, required SolAddress newMetadata, required SolAddress newEdition, required SolAddress masterEdition, required SolAddress newMint, required SolAddress editionMarker, required SolAddress vault, required SolAddress owner, required SolAddress newTokenAccount, required SolAddress masterEditionMetadata, required SolAddress clock, required SolAddress tokenMetadataProgram, required MetaplexFixedPriceSaleBuyLayout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId})
-
factory
-
MetaplexFixedPriceSaleProgram.buyV2({required SolAddress market, required SolAddress sellingResource, required SolAddress userTokenAccount, required SolAddress userWallet, required SolAddress tradeHistory, required SolAddress treasuryHolder, required SolAddress newMetadata, required SolAddress newEdition, required SolAddress masterEdition, required SolAddress newMint, required SolAddress editionMarker, required SolAddress vault, required SolAddress owner, required SolAddress newTokenAccount, required SolAddress masterEditionMetadata, required SolAddress clock, required SolAddress tokenMetadataProgram, required MetaplexFixedPriceSaleBuyV2Layout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId})
-
factory
-
MetaplexFixedPriceSaleProgram.changeMarket({required SolAddress market, required SolAddress owner, required SolAddress clock, required MetaplexFixedPriceSaleChangeMarketLayout layout, List<AccountMeta> anchorRemainingAccounts = const []})
-
factory
-
MetaplexFixedPriceSaleProgram.claimResource({required SolAddress market, required SolAddress treasuryHolder, required SolAddress sellingResource, required SolAddress sellingResourceOwner, required SolAddress vault, required SolAddress metadata, required SolAddress owner, required SolAddress destination, required SolAddress clock, required SolAddress tokenMetadataProgram, required MetaplexFixedPriceSaleClaimResourceLayout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId})
-
factory
-
MetaplexFixedPriceSaleProgram.closeMarket({required SolAddress market, required SolAddress owner, required SolAddress clock, List<AccountMeta> anchorRemainingAccounts = const []})
-
factory
-
MetaplexFixedPriceSaleProgram.createMarket({required SolAddress market, required SolAddress store, required SolAddress sellingResourceOwner, required SolAddress sellingResource, required SolAddress mint, required SolAddress treasuryHolder, required SolAddress owner, required MetaplexFixedPriceSaleCreateMarketLayout layout, SolAddress systemProgram = SystemProgramConst.programId, List<AccountMeta> anchorRemainingAccounts = const []})
-
factory
-
MetaplexFixedPriceSaleProgram.createStore({required SolAddress admin, required SolAddress store, required MetaplexFixedPriceSaleCreateStoreLayout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress systemProgram = SystemProgramConst.programId})
-
factory
-
MetaplexFixedPriceSaleProgram.initSellingResource({required SolAddress store, required SolAddress admin, required SolAddress sellingResource, required SolAddress sellingResourceOwner, required SolAddress resourceMint, required SolAddress masterEdition, required SolAddress metadata, required SolAddress vault, required SolAddress owner, required SolAddress resourceToken, required MetaplexFixedPriceSaleInitSellingResourceLayout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId})
-
factory
-
MetaplexFixedPriceSaleProgram.resumeMarket({required SolAddress market, required SolAddress owner, required SolAddress clock, List<AccountMeta> anchorRemainingAccounts = const []})
-
factory
-
MetaplexFixedPriceSaleProgram.savePrimaryMetadataCreators({required SolAddress admin, required SolAddress metadata, required SolAddress primaryMetadataCreators, required MetaplexFixedPriceSaleSavePrimaryMetadataCreatorsLayout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress systemProgram = SystemProgramConst.programId})
-
factory
-
MetaplexFixedPriceSaleProgram.suspendMarket({required SolAddress market, required SolAddress owner, required SolAddress clock, List<AccountMeta> anchorRemainingAccounts = const []})
-
factory
-
MetaplexFixedPriceSaleProgram.withdraw({required SolAddress market, required SolAddress sellingResource, required SolAddress metadata, required SolAddress treasuryHolder, required SolAddress treasuryMint, required SolAddress owner, required SolAddress destination, required SolAddress funder, required SolAddress payer, required SolAddress payoutTicket, required SolAddress clock, required SolAddress associatedTokenProgram, required MetaplexFixedPriceSaleWithdrawLayout layout, List<AccountMeta> anchorRemainingAccounts = const [], SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId})
-
factory
Properties
-
data
→ List<int>
-
Program input.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
keys
→ List<AccountMeta>
-
Public keys to include in this transaction
Boolean represents whether this pubkey needs to sign the transaction
finalinherited
-
layout
→ ProgramLayout
-
Program layout.
finalinherited
-
programId
→ SolAddress
-
Program Id to execute.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited