UNPKG

@dstoken-solana/rwa-token-sdk

Version:

RWA Token SDK for the development of permissioned tokens on SVM blockchains.

18 lines 898 B
import { PublicKey } from "@solana/web3.js"; import { Program, type Provider } from "@coral-xyz/anchor"; import { AssetControllerIdlTypes } from "../programs"; export declare const assetControllerProgramId: PublicKey; /** * Returns the asset controller program as a typed anchor program. * @param provider - Solana anchor provider. * @returns Typed solana program to be used for transaction building. */ export declare const getAssetControllerProgram: (provider: Provider) => Program<AssetControllerIdlTypes>; /** * Retrieves the asset controller's public key for a specific asset mint. * @param assetMint - The string representation of the asset's mint address. * @returns The asset controller's pda. */ export declare const getAssetControllerPda: (assetMint: string) => PublicKey; export declare const getAssetControllerEventAuthority: () => PublicKey; //# sourceMappingURL=utils.d.ts.map