delegate.d.ts 986 B

123456789101112131415161718192021222324252627282930
  1. import * as beet from "@metaplex-foundation/beet";
  2. import * as web3 from "@solana/web3.js";
  3. export interface DelegateInstructionArgs {
  4. validUntil: beet.bignum;
  5. commitFrequencyMs: number;
  6. }
  7. export declare const delegateStruct: beet.FixableBeetArgsStruct<
  8. DelegateInstructionArgs & {
  9. instructionDiscriminator: number[];
  10. }
  11. >;
  12. export interface DelegateInstructionAccounts {
  13. payer: web3.PublicKey;
  14. entity: web3.PublicKey;
  15. account: web3.PublicKey;
  16. ownerProgram: web3.PublicKey;
  17. buffer?: web3.PublicKey;
  18. delegationRecord?: web3.PublicKey;
  19. delegateAccountSeeds?: web3.PublicKey;
  20. delegationProgram?: web3.PublicKey;
  21. systemProgram?: web3.PublicKey;
  22. }
  23. export declare const delegateInstructionDiscriminator: number[];
  24. export declare function createDelegateInstruction(
  25. accounts: DelegateInstructionAccounts,
  26. validUntil?: beet.bignum,
  27. commitFrequencyMs?: number,
  28. programId?: web3.PublicKey
  29. ): web3.TransactionInstruction;
  30. //# sourceMappingURL=delegate.d.ts.map