index.d.ts 920 B

12345678910111213141516171819202122232425
  1. /// <reference types="node" />
  2. import { PublicKey } from "@solana/web3.js";
  3. import type BN from "bn.js";
  4. export * from "./accounts";
  5. export * from "./instructions";
  6. export * from "./transactions/transactions";
  7. export declare const PROGRAM_ADDRESS =
  8. "WorLD15A7CrDwLcLy4fRqtaTb9fbd8o8iqiEMUDse2n";
  9. export declare const SYSVAR_INSTRUCTIONS_PUBKEY: PublicKey;
  10. export declare const PROGRAM_ID: PublicKey;
  11. export declare function FindWorldRegistryPda(programId?: PublicKey): PublicKey;
  12. export declare function FindWorldPda(id: BN, programId?: PublicKey): PublicKey;
  13. export declare function FindEntityPda(
  14. worldId: BN,
  15. entityId: BN,
  16. extraSeed?: string,
  17. programId?: PublicKey
  18. ): PublicKey;
  19. export declare function FindComponentPda(
  20. componentProgramId: PublicKey,
  21. entity: PublicKey,
  22. componentId?: string
  23. ): PublicKey;
  24. export declare function SerializeArgs(args?: any): Buffer;
  25. //# sourceMappingURL=index.d.ts.map