MetaplexHydraProgram class

Inheritance

Constructors

MetaplexHydraProgram({required List<AccountMeta> keys, required SolAddress programId, required ProgramLayout layout})
MetaplexHydraProgram.addMemberNft({required SolAddress authority, required SolAddress fanout, required SolAddress membershipAccount, required SolAddress mint, required SolAddress metadata, required MetaplexHydraAddMemberNftLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.addMemberWallet({required SolAddress authority, required SolAddress member, required SolAddress fanout, required SolAddress membershipAccount, required MetaplexHydraAddMemberWalletLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.distributeNft({required SolAddress payer, required SolAddress member, required SolAddress membershipMintTokenAccount, required SolAddress membershipKey, required SolAddress membershipVoucher, required SolAddress fanout, required SolAddress holdingAccount, required SolAddress fanoutForMint, required SolAddress fanoutForMintMembershipVoucher, required SolAddress fanoutMint, required SolAddress fanoutMintMemberTokenAccount, required MetaplexHydraDistributeNftLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.distributeToken({required SolAddress payer, required SolAddress member, required SolAddress membershipMintTokenAccount, required SolAddress membershipVoucher, required SolAddress fanout, required SolAddress holdingAccount, required SolAddress fanoutForMint, required SolAddress fanoutForMintMembershipVoucher, required SolAddress fanoutMint, required SolAddress fanoutMintMemberTokenAccount, required SolAddress membershipMint, required SolAddress memberStakeAccount, required MetaplexHydraDistributeTokenLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.distributeWallet({required SolAddress payer, required SolAddress member, required SolAddress membershipVoucher, required SolAddress fanout, required SolAddress holdingAccount, required SolAddress fanoutForMint, required SolAddress fanoutForMintMembershipVoucher, required SolAddress fanoutMint, required SolAddress fanoutMintMemberTokenAccount, required MetaplexHydraDistributeWalletLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.init({required SolAddress authority, required SolAddress fanout, required SolAddress holdingAccount, required SolAddress membershipMint, required MetaplexHydraInitLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.initForMint({required SolAddress authority, required SolAddress fanout, required SolAddress fanoutForMint, required SolAddress mintHoldingAccount, required SolAddress mint, required MetaplexHydraInitForMintLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey})
factory
MetaplexHydraProgram.removeMember({required SolAddress authority, required SolAddress member, required SolAddress fanout, required SolAddress membershipAccount, required SolAddress destination})
factory
MetaplexHydraProgram.setForTokenMemberStake({required SolAddress authority, required SolAddress member, required SolAddress fanout, required SolAddress membershipVoucher, required SolAddress membershipMint, required SolAddress membershipMintTokenAccount, required SolAddress memberStakeAccount, required MetaplexHydraSetForTokenMemberStakeLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.setTokenMemberStake({required SolAddress member, required SolAddress fanout, required SolAddress membershipVoucher, required SolAddress membershipMint, required SolAddress membershipMintTokenAccount, required SolAddress memberStakeAccount, required MetaplexHydraSetTokenMemberStakeLayout layout, SolAddress systemProgram = SystemProgramConst.programId, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
factory
MetaplexHydraProgram.signMetadata({required SolAddress authority, required SolAddress fanout, required SolAddress holdingAccount, required SolAddress metadata, SolAddress tokenMetadataProgram = SPLTokenProgramConst.metaDataProgramId})
factory
MetaplexHydraProgram.transferShares({required SolAddress authority, required SolAddress fromMember, required SolAddress toMember, required SolAddress fanout, required SolAddress fromMembershipAccount, required SolAddress toMembershipAccount, required MetaplexHydraTransferSharesLayout layout})
factory
MetaplexHydraProgram.unstake({required SolAddress member, required SolAddress fanout, required SolAddress membershipVoucher, required SolAddress membershipMint, required SolAddress membershipMintTokenAccount, required SolAddress memberStakeAccount, required SolAddress instructions, SolAddress systemProgram = SystemProgramConst.programId, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId})
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

Operators

operator ==(Object other) bool
The equality operator.
inherited