Name | Arguments | Accounts |
---|---|---|
initState | payer isSignerisMut admin globalState isMut systemProgram rent | |
createConfig | root:`[u8; 32]` swapFee:`u64` reswapFee:`u64` canBurn:`bool` symbol:`string` sellerFeeBasisPoints:`u16` royalties:`u8` isMutable:`bool` maxSupply:`u64` adminSwaps:`u64` options:`[bool; 2]` | admin isSignerisMut authority configAccount isSignerisMut programAuthority globalState creator systemProgram |
createClaim | index:`u64` name:`string` uri:`string` proof:`Vec<[u8; 32]>` | configAccount isMut payer isSignerisMut nftMintA isMut nftMintB isMut tokenAccountA isMut escrowAccountB isMut entangledPair isMut reversePairA isMut programAuthority globalState admin metadata isMut mintAuthority isSigner masterEdition isMut tokenMetadataProgram systemProgram tokenProgram associatedTokenProgram rent |
swap | payer isSignerisMut configAccount isMut entangledPair isMut nftMint mintA mintB tokenAccountA isMut tokenAccountB isMut escrowAccountA isMut escrowAccountB isMut reversePairB isMut programAuthority authority isMut globalState admin systemProgram tokenProgram rent associatedTokenProgram | |
updateConfig | canBurn:`Option<bool>` creator:`Option<publicKey>` collection:`Option<publicKey>` updateTreasuryMint:`Option<bool>` | authority isSigner configAccount isMut |
updateFees | swapFee:`Option<u64>` reswapFee:`Option<u64>` royalties:`Option<u8>` adminSwaps:`Option<u64>` | admin isSigner configAccount isMut globalState |
burnNft | authority isSignerisMut configAccount entangledPair isMut mintA isMut mintB isMut escrowAccountA isMut escrowAccountB isMut programAuthority systemProgram tokenProgram |