MetaplexTokenEntanglerProgram class

Inheritance

Constructors

MetaplexTokenEntanglerProgram({required List<AccountMeta> keys, required SolAddress programId, required ProgramLayout layout})
MetaplexTokenEntanglerProgram.createEntangledPair({required SolAddress treasuryMint, required SolAddress payer, required SolAddress transferAuthority, required SolAddress authority, required SolAddress mintA, required SolAddress metadataA, required SolAddress editionA, required SolAddress mintB, required SolAddress metadataB, required SolAddress editionB, required SolAddress tokenB, required SolAddress tokenAEscrow, required SolAddress tokenBEscrow, required SolAddress entangledPair, required SolAddress reverseEntangledPair, required MetaplexTokenEntanglerCreateEntangledPairLayout layout, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId, SolAddress rent = SystemProgramConst.sysvarRentPubkey})
factory
MetaplexTokenEntanglerProgram.swap({required SolAddress treasuryMint, required SolAddress payer, required SolAddress paymentAccount, required SolAddress paymentTransferAuthority, required SolAddress token, required SolAddress tokenMint, required SolAddress replacementTokenMetadata, required SolAddress replacementTokenMint, required SolAddress replacementToken, required SolAddress transferAuthority, required SolAddress tokenAEscrow, required SolAddress tokenBEscrow, required SolAddress entangledPair, SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId, SolAddress systemProgram = SystemProgramConst.programId, SolAddress associatedTokenProgramId = AssociatedTokenAccountProgramConst.associatedTokenProgramId, SolAddress rent = SystemProgramConst.sysvarRentPubkey})
factory
MetaplexTokenEntanglerProgram.updateEntangledPair({required SolAddress authority, required SolAddress newAuthority, required SolAddress entangledPair, required MetaplexTokenEntanglerUpdateEntangledPairLayout layout})
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