index.d.ts 1.1 KB

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