///
///
import { AnchorProvider, BN, Program, Wallet } from '@coral-xyz/anchor';
import { Connection, PublicKey } from '@solana/web3.js';
import { TriadPickax } from './types/triad_pickax';
import { RpcOptions } from './types';
export default class TriadPickaxClient {
program: Program;
provider: AnchorProvider;
constructor(connection: Connection, wallet: Wallet);
getPool: (poolName: string) => Promise<{
ts: BN;
authority: PublicKey;
bump: number;
name: string;
symbol: string;
minted: BN;
supply: BN;
value: BN;
fee: BN;
tresuaryAccount: PublicKey;
oreAccount: PublicKey;
oreTokenAccount: PublicKey;
padding: number[];
}>;
getWithdraw: (wallet: PublicKey) => Promise[]>;
burnPickax: ({ poolName, nft, nftNumber, claimNow }: {
poolName: string;
nft: PublicKey;
nftNumber: number;
claimNow: boolean;
}, options?: RpcOptions) => Promise;
withdrawOre: ({ poolName, pickaxAddress }: {
poolName: string;
pickaxAddress: PublicKey;
}, options?: RpcOptions) => Promise;
airdrop: (recipients: {
wallet: string;
oreAmount: number;
trdAmount: number;
}[], options?: RpcOptions) => Promise>;
getMintedNFTs: () => Promise<[string, {
pickaxAddress: string;
name: string;
owner: string;
}[]][]>;
transfer: (args: {
poolName: string;
amount: number;
}, options?: RpcOptions) => Promise;
collectRoyalty: (args: {
poolName: string;
}, options?: RpcOptions) => Promise;
}