@keel-fi/svm-alm-controller 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/generated/accounts/controller.d.ts +29 -0
  2. package/dist/generated/accounts/controller.d.ts.map +1 -0
  3. package/dist/generated/accounts/index.d.ts +6 -0
  4. package/dist/generated/accounts/index.d.ts.map +1 -0
  5. package/dist/generated/accounts/integration.d.ts +45 -0
  6. package/dist/generated/accounts/integration.d.ts.map +1 -0
  7. package/dist/generated/accounts/oracle.d.ts +39 -0
  8. package/dist/generated/accounts/oracle.d.ts.map +1 -0
  9. package/dist/generated/accounts/permission.d.ts +43 -0
  10. package/dist/generated/accounts/permission.d.ts.map +1 -0
  11. package/dist/generated/accounts/reserve.d.ts +41 -0
  12. package/dist/generated/accounts/reserve.d.ts.map +1 -0
  13. package/dist/generated/index.d.ts +5 -0
  14. package/dist/generated/index.d.ts.map +1 -0
  15. package/dist/generated/instructions/atomicSwapBorrow.d.ts +76 -0
  16. package/dist/generated/instructions/atomicSwapBorrow.d.ts.map +1 -0
  17. package/dist/generated/instructions/atomicSwapRepay.d.ts +78 -0
  18. package/dist/generated/instructions/atomicSwapRepay.d.ts.map +1 -0
  19. package/dist/generated/instructions/emitEvent.d.ts +37 -0
  20. package/dist/generated/instructions/emitEvent.d.ts.map +1 -0
  21. package/dist/generated/instructions/index.d.ts +19 -0
  22. package/dist/generated/instructions/index.d.ts.map +1 -0
  23. package/dist/generated/instructions/initializeController.d.ts +56 -0
  24. package/dist/generated/instructions/initializeController.d.ts.map +1 -0
  25. package/dist/generated/instructions/initializeIntegration.d.ts +74 -0
  26. package/dist/generated/instructions/initializeIntegration.d.ts.map +1 -0
  27. package/dist/generated/instructions/initializeOracle.d.ts +61 -0
  28. package/dist/generated/instructions/initializeOracle.d.ts.map +1 -0
  29. package/dist/generated/instructions/initializeReserve.d.ts +74 -0
  30. package/dist/generated/instructions/initializeReserve.d.ts.map +1 -0
  31. package/dist/generated/instructions/manageController.d.ts +47 -0
  32. package/dist/generated/instructions/manageController.d.ts.map +1 -0
  33. package/dist/generated/instructions/manageIntegration.d.ts +59 -0
  34. package/dist/generated/instructions/manageIntegration.d.ts.map +1 -0
  35. package/dist/generated/instructions/managePermission.d.ts +86 -0
  36. package/dist/generated/instructions/managePermission.d.ts.map +1 -0
  37. package/dist/generated/instructions/manageReserve.d.ts +56 -0
  38. package/dist/generated/instructions/manageReserve.d.ts.map +1 -0
  39. package/dist/generated/instructions/pull.d.ts +56 -0
  40. package/dist/generated/instructions/pull.d.ts.map +1 -0
  41. package/dist/generated/instructions/push.d.ts +56 -0
  42. package/dist/generated/instructions/push.d.ts.map +1 -0
  43. package/dist/generated/instructions/refreshOracle.d.ts +33 -0
  44. package/dist/generated/instructions/refreshOracle.d.ts.map +1 -0
  45. package/dist/generated/instructions/resetLzPushInFlight.d.ts +36 -0
  46. package/dist/generated/instructions/resetLzPushInFlight.d.ts.map +1 -0
  47. package/dist/generated/instructions/sync.d.ts +36 -0
  48. package/dist/generated/instructions/sync.d.ts.map +1 -0
  49. package/dist/generated/instructions/syncReserve.d.ts +39 -0
  50. package/dist/generated/instructions/syncReserve.d.ts.map +1 -0
  51. package/dist/generated/instructions/updateOracle.d.ts +50 -0
  52. package/dist/generated/instructions/updateOracle.d.ts.map +1 -0
  53. package/dist/generated/programs/index.d.ts +2 -0
  54. package/dist/generated/programs/index.d.ts.map +1 -0
  55. package/dist/generated/programs/svmAlmController.d.ts +71 -0
  56. package/dist/generated/programs/svmAlmController.d.ts.map +1 -0
  57. package/dist/generated/shared/index.d.ts +15 -0
  58. package/dist/generated/shared/index.d.ts.map +1 -0
  59. package/dist/generated/types/accountDiscriminators.d.ts +14 -0
  60. package/dist/generated/types/accountDiscriminators.d.ts.map +1 -0
  61. package/dist/generated/types/accountingAction.d.ts +14 -0
  62. package/dist/generated/types/accountingAction.d.ts.map +1 -0
  63. package/dist/generated/types/accountingDirection.d.ts +10 -0
  64. package/dist/generated/types/accountingDirection.d.ts.map +1 -0
  65. package/dist/generated/types/accountingEvent.d.ts +24 -0
  66. package/dist/generated/types/accountingEvent.d.ts.map +1 -0
  67. package/dist/generated/types/atomicSwapConfig.d.ts +29 -0
  68. package/dist/generated/types/atomicSwapConfig.d.ts.map +1 -0
  69. package/dist/generated/types/atomicSwapState.d.ts +21 -0
  70. package/dist/generated/types/atomicSwapState.d.ts.map +1 -0
  71. package/dist/generated/types/cctpBridgeConfig.d.ts +14 -0
  72. package/dist/generated/types/cctpBridgeConfig.d.ts.map +1 -0
  73. package/dist/generated/types/cctpBridgeState.d.ts +9 -0
  74. package/dist/generated/types/cctpBridgeState.d.ts.map +1 -0
  75. package/dist/generated/types/controllerStatus.d.ts +11 -0
  76. package/dist/generated/types/controllerStatus.d.ts.map +1 -0
  77. package/dist/generated/types/controllerUpdateEvent.d.ts +18 -0
  78. package/dist/generated/types/controllerUpdateEvent.d.ts.map +1 -0
  79. package/dist/generated/types/depositForBurnArgs.d.ts +15 -0
  80. package/dist/generated/types/depositForBurnArgs.d.ts.map +1 -0
  81. package/dist/generated/types/depositSingleTokenTypeExactAmountInArgs.d.ts +13 -0
  82. package/dist/generated/types/depositSingleTokenTypeExactAmountInArgs.d.ts.map +1 -0
  83. package/dist/generated/types/feed.d.ts +10 -0
  84. package/dist/generated/types/feed.d.ts.map +1 -0
  85. package/dist/generated/types/feedArgs.d.ts +9 -0
  86. package/dist/generated/types/feedArgs.d.ts.map +1 -0
  87. package/dist/generated/types/index.d.ts +42 -0
  88. package/dist/generated/types/index.d.ts.map +1 -0
  89. package/dist/generated/types/initializeArgs.d.ts +51 -0
  90. package/dist/generated/types/initializeArgs.d.ts.map +1 -0
  91. package/dist/generated/types/integrationConfig.d.ts +53 -0
  92. package/dist/generated/types/integrationConfig.d.ts.map +1 -0
  93. package/dist/generated/types/integrationState.d.ts +53 -0
  94. package/dist/generated/types/integrationState.d.ts.map +1 -0
  95. package/dist/generated/types/integrationStatus.d.ts +10 -0
  96. package/dist/generated/types/integrationStatus.d.ts.map +1 -0
  97. package/dist/generated/types/integrationType.d.ts +13 -0
  98. package/dist/generated/types/integrationType.d.ts.map +1 -0
  99. package/dist/generated/types/integrationUpdateEvent.d.ts +20 -0
  100. package/dist/generated/types/integrationUpdateEvent.d.ts.map +1 -0
  101. package/dist/generated/types/localToken.d.ts +27 -0
  102. package/dist/generated/types/localToken.d.ts.map +1 -0
  103. package/dist/generated/types/lzBridgeConfig.d.ts +16 -0
  104. package/dist/generated/types/lzBridgeConfig.d.ts.map +1 -0
  105. package/dist/generated/types/lzBridgeState.d.ts +10 -0
  106. package/dist/generated/types/lzBridgeState.d.ts.map +1 -0
  107. package/dist/generated/types/oFTStore.d.ts +29 -0
  108. package/dist/generated/types/oFTStore.d.ts.map +1 -0
  109. package/dist/generated/types/oftSendParams.d.ts +15 -0
  110. package/dist/generated/types/oftSendParams.d.ts.map +1 -0
  111. package/dist/generated/types/oracleUpdateEvent.d.ts +20 -0
  112. package/dist/generated/types/oracleUpdateEvent.d.ts.map +1 -0
  113. package/dist/generated/types/peerConfig.d.ts +9 -0
  114. package/dist/generated/types/peerConfig.d.ts.map +1 -0
  115. package/dist/generated/types/permissionStatus.d.ts +10 -0
  116. package/dist/generated/types/permissionStatus.d.ts.map +1 -0
  117. package/dist/generated/types/permissionUpdateEvent.d.ts +20 -0
  118. package/dist/generated/types/permissionUpdateEvent.d.ts.map +1 -0
  119. package/dist/generated/types/pullArgs.d.ts +38 -0
  120. package/dist/generated/types/pullArgs.d.ts.map +1 -0
  121. package/dist/generated/types/pushArgs.d.ts +44 -0
  122. package/dist/generated/types/pushArgs.d.ts.map +1 -0
  123. package/dist/generated/types/remoteTokenMessenger.d.ts +10 -0
  124. package/dist/generated/types/remoteTokenMessenger.d.ts.map +1 -0
  125. package/dist/generated/types/reserveStatus.d.ts +10 -0
  126. package/dist/generated/types/reserveStatus.d.ts.map +1 -0
  127. package/dist/generated/types/reserveUpdateEvent.d.ts +20 -0
  128. package/dist/generated/types/reserveUpdateEvent.d.ts.map +1 -0
  129. package/dist/generated/types/splTokenExternalConfig.d.ts +13 -0
  130. package/dist/generated/types/splTokenExternalConfig.d.ts.map +1 -0
  131. package/dist/generated/types/splTokenExternalState.d.ts +9 -0
  132. package/dist/generated/types/splTokenExternalState.d.ts.map +1 -0
  133. package/dist/generated/types/splTokenSwapConfig.d.ts +15 -0
  134. package/dist/generated/types/splTokenSwapConfig.d.ts.map +1 -0
  135. package/dist/generated/types/splTokenSwapState.d.ts +17 -0
  136. package/dist/generated/types/splTokenSwapState.d.ts.map +1 -0
  137. package/dist/generated/types/svmAlmControllerEvent.d.ts +53 -0
  138. package/dist/generated/types/svmAlmControllerEvent.d.ts.map +1 -0
  139. package/dist/generated/types/swapV1Subset.d.ts +17 -0
  140. package/dist/generated/types/swapV1Subset.d.ts.map +1 -0
  141. package/dist/generated/types/withdrawSingleTokenTypeExactAmountOutArgs.d.ts +13 -0
  142. package/dist/generated/types/withdrawSingleTokenTypeExactAmountOutArgs.d.ts.map +1 -0
  143. package/dist/index.d.ts +3 -0
  144. package/dist/index.d.ts.map +1 -0
  145. package/dist/index.es.js +3067 -0
  146. package/dist/index.js +3382 -0
  147. package/dist/pdas.d.ts +9 -0
  148. package/dist/pdas.d.ts.map +1 -0
  149. package/package.json +24 -0
@@ -0,0 +1,56 @@
1
+ import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ import { type PullArgs, type PullArgsArgs } from '../types';
4
+ export declare const PULL_DISCRIMINATOR = 11;
5
+ export declare function getPullDiscriminatorBytes(): ReadonlyUint8Array;
6
+ export type PullInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountController extends string | AccountMeta<string> = string, TAccountControllerAuthority extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPermission extends string | AccountMeta<string> = string, TAccountIntegration extends string | AccountMeta<string> = string, TAccountReserveA extends string | AccountMeta<string> = string, TAccountReserveB extends string | AccountMeta<string> = string, TAccountProgramId extends string | AccountMeta<string> = 'H3BpbuheXwBnfxjb2L66mxZ9nFhRmUentYwQDspd6yJ9', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
7
+ TAccountController extends string ? ReadonlyAccount<TAccountController> : TAccountController,
8
+ TAccountControllerAuthority extends string ? ReadonlyAccount<TAccountControllerAuthority> : TAccountControllerAuthority,
9
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
10
+ TAccountPermission extends string ? ReadonlyAccount<TAccountPermission> : TAccountPermission,
11
+ TAccountIntegration extends string ? WritableAccount<TAccountIntegration> : TAccountIntegration,
12
+ TAccountReserveA extends string ? WritableAccount<TAccountReserveA> : TAccountReserveA,
13
+ TAccountReserveB extends string ? WritableAccount<TAccountReserveB> : TAccountReserveB,
14
+ TAccountProgramId extends string ? ReadonlyAccount<TAccountProgramId> : TAccountProgramId,
15
+ ...TRemainingAccounts
16
+ ]>;
17
+ export type PullInstructionData = {
18
+ discriminator: number;
19
+ pullArgs: PullArgs;
20
+ };
21
+ export type PullInstructionDataArgs = {
22
+ pullArgs: PullArgsArgs;
23
+ };
24
+ export declare function getPullInstructionDataEncoder(): Encoder<PullInstructionDataArgs>;
25
+ export declare function getPullInstructionDataDecoder(): Decoder<PullInstructionData>;
26
+ export declare function getPullInstructionDataCodec(): Codec<PullInstructionDataArgs, PullInstructionData>;
27
+ export type PullInput<TAccountController extends string = string, TAccountControllerAuthority extends string = string, TAccountAuthority extends string = string, TAccountPermission extends string = string, TAccountIntegration extends string = string, TAccountReserveA extends string = string, TAccountReserveB extends string = string, TAccountProgramId extends string = string> = {
28
+ controller: Address<TAccountController>;
29
+ controllerAuthority: Address<TAccountControllerAuthority>;
30
+ authority: TransactionSigner<TAccountAuthority>;
31
+ permission: Address<TAccountPermission>;
32
+ integration: Address<TAccountIntegration>;
33
+ reserveA: Address<TAccountReserveA>;
34
+ reserveB: Address<TAccountReserveB>;
35
+ programId?: Address<TAccountProgramId>;
36
+ pullArgs: PullInstructionDataArgs['pullArgs'];
37
+ };
38
+ export declare function getPullInstruction<TAccountController extends string, TAccountControllerAuthority extends string, TAccountAuthority extends string, TAccountPermission extends string, TAccountIntegration extends string, TAccountReserveA extends string, TAccountReserveB extends string, TAccountProgramId extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: PullInput<TAccountController, TAccountControllerAuthority, TAccountAuthority, TAccountPermission, TAccountIntegration, TAccountReserveA, TAccountReserveB, TAccountProgramId>, config?: {
39
+ programAddress?: TProgramAddress;
40
+ }): PullInstruction<TProgramAddress, TAccountController, TAccountControllerAuthority, TAccountAuthority, TAccountPermission, TAccountIntegration, TAccountReserveA, TAccountReserveB, TAccountProgramId>;
41
+ export type ParsedPullInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
42
+ programAddress: Address<TProgram>;
43
+ accounts: {
44
+ controller: TAccountMetas[0];
45
+ controllerAuthority: TAccountMetas[1];
46
+ authority: TAccountMetas[2];
47
+ permission: TAccountMetas[3];
48
+ integration: TAccountMetas[4];
49
+ reserveA: TAccountMetas[5];
50
+ reserveB: TAccountMetas[6];
51
+ programId: TAccountMetas[7];
52
+ };
53
+ data: PullInstructionData;
54
+ };
55
+ export declare function parsePullInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedPullInstruction<TProgram, TAccountMetas>;
56
+ //# sourceMappingURL=pull.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pull.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/pull.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAEjE,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,YAAY,EAClB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC,wBAAgB,yBAAyB,uBAExC;AAED,MAAM,MAAM,eAAe,CACzB,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,2BAA2B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACzE,iBAAiB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC/D,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,gBAAgB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC9D,gBAAgB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC9D,iBAAiB,SACb,MAAM,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Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ import { type PushArgs, type PushArgsArgs } from '../types';
4
+ export declare const PUSH_DISCRIMINATOR = 10;
5
+ export declare function getPushDiscriminatorBytes(): ReadonlyUint8Array;
6
+ export type PushInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountController extends string | AccountMeta<string> = string, TAccountControllerAuthority extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPermission extends string | AccountMeta<string> = string, TAccountIntegration extends string | AccountMeta<string> = string, TAccountReserveA extends string | AccountMeta<string> = string, TAccountReserveB extends string | AccountMeta<string> = string, TAccountProgramId extends string | AccountMeta<string> = 'H3BpbuheXwBnfxjb2L66mxZ9nFhRmUentYwQDspd6yJ9', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
7
+ TAccountController extends string ? ReadonlyAccount<TAccountController> : TAccountController,
8
+ TAccountControllerAuthority extends string ? ReadonlyAccount<TAccountControllerAuthority> : TAccountControllerAuthority,
9
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
10
+ TAccountPermission extends string ? ReadonlyAccount<TAccountPermission> : TAccountPermission,
11
+ TAccountIntegration extends string ? WritableAccount<TAccountIntegration> : TAccountIntegration,
12
+ TAccountReserveA extends string ? WritableAccount<TAccountReserveA> : TAccountReserveA,
13
+ TAccountReserveB extends string ? WritableAccount<TAccountReserveB> : TAccountReserveB,
14
+ TAccountProgramId extends string ? ReadonlyAccount<TAccountProgramId> : TAccountProgramId,
15
+ ...TRemainingAccounts
16
+ ]>;
17
+ export type PushInstructionData = {
18
+ discriminator: number;
19
+ pushArgs: PushArgs;
20
+ };
21
+ export type PushInstructionDataArgs = {
22
+ pushArgs: PushArgsArgs;
23
+ };
24
+ export declare function getPushInstructionDataEncoder(): Encoder<PushInstructionDataArgs>;
25
+ export declare function getPushInstructionDataDecoder(): Decoder<PushInstructionData>;
26
+ export declare function getPushInstructionDataCodec(): Codec<PushInstructionDataArgs, PushInstructionData>;
27
+ export type PushInput<TAccountController extends string = string, TAccountControllerAuthority extends string = string, TAccountAuthority extends string = string, TAccountPermission extends string = string, TAccountIntegration extends string = string, TAccountReserveA extends string = string, TAccountReserveB extends string = string, TAccountProgramId extends string = string> = {
28
+ controller: Address<TAccountController>;
29
+ controllerAuthority: Address<TAccountControllerAuthority>;
30
+ authority: TransactionSigner<TAccountAuthority>;
31
+ permission: Address<TAccountPermission>;
32
+ integration: Address<TAccountIntegration>;
33
+ reserveA: Address<TAccountReserveA>;
34
+ reserveB: Address<TAccountReserveB>;
35
+ programId?: Address<TAccountProgramId>;
36
+ pushArgs: PushInstructionDataArgs['pushArgs'];
37
+ };
38
+ export declare function getPushInstruction<TAccountController extends string, TAccountControllerAuthority extends string, TAccountAuthority extends string, TAccountPermission extends string, TAccountIntegration extends string, TAccountReserveA extends string, TAccountReserveB extends string, TAccountProgramId extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: PushInput<TAccountController, TAccountControllerAuthority, TAccountAuthority, TAccountPermission, TAccountIntegration, TAccountReserveA, TAccountReserveB, TAccountProgramId>, config?: {
39
+ programAddress?: TProgramAddress;
40
+ }): PushInstruction<TProgramAddress, TAccountController, TAccountControllerAuthority, TAccountAuthority, TAccountPermission, TAccountIntegration, TAccountReserveA, TAccountReserveB, TAccountProgramId>;
41
+ export type ParsedPushInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
42
+ programAddress: Address<TProgram>;
43
+ accounts: {
44
+ controller: TAccountMetas[0];
45
+ controllerAuthority: TAccountMetas[1];
46
+ authority: TAccountMetas[2];
47
+ permission: TAccountMetas[3];
48
+ integration: TAccountMetas[4];
49
+ reserveA: TAccountMetas[5];
50
+ reserveB: TAccountMetas[6];
51
+ programId: TAccountMetas[7];
52
+ };
53
+ data: PushInstructionData;
54
+ };
55
+ export declare function parsePushInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedPushInstruction<TProgram, TAccountMetas>;
56
+ //# sourceMappingURL=push.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/push.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAEjE,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,YAAY,EAClB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC,wBAAgB,yBAAyB,uBAExC;AAED,MAAM,MAAM,eAAe,CACzB,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,2BAA2B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACzE,iBAAiB,SAAS,M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F,IAAI,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,qBAAqB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAyBhD"}
@@ -0,0 +1,33 @@
1
+ import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ export declare const REFRESH_ORACLE_DISCRIMINATOR = 14;
4
+ export declare function getRefreshOracleDiscriminatorBytes(): ReadonlyUint8Array;
5
+ export type RefreshOracleInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountPriceFeed extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
6
+ TAccountPriceFeed extends string ? ReadonlyAccount<TAccountPriceFeed> : TAccountPriceFeed,
7
+ TAccountOracle extends string ? WritableAccount<TAccountOracle> : TAccountOracle,
8
+ ...TRemainingAccounts
9
+ ]>;
10
+ export type RefreshOracleInstructionData = {
11
+ discriminator: number;
12
+ };
13
+ export type RefreshOracleInstructionDataArgs = {};
14
+ export declare function getRefreshOracleInstructionDataEncoder(): FixedSizeEncoder<RefreshOracleInstructionDataArgs>;
15
+ export declare function getRefreshOracleInstructionDataDecoder(): FixedSizeDecoder<RefreshOracleInstructionData>;
16
+ export declare function getRefreshOracleInstructionDataCodec(): FixedSizeCodec<RefreshOracleInstructionDataArgs, RefreshOracleInstructionData>;
17
+ export type RefreshOracleInput<TAccountPriceFeed extends string = string, TAccountOracle extends string = string> = {
18
+ priceFeed: Address<TAccountPriceFeed>;
19
+ oracle: Address<TAccountOracle>;
20
+ };
21
+ export declare function getRefreshOracleInstruction<TAccountPriceFeed extends string, TAccountOracle extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: RefreshOracleInput<TAccountPriceFeed, TAccountOracle>, config?: {
22
+ programAddress?: TProgramAddress;
23
+ }): RefreshOracleInstruction<TProgramAddress, TAccountPriceFeed, TAccountOracle>;
24
+ export type ParsedRefreshOracleInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
25
+ programAddress: Address<TProgram>;
26
+ accounts: {
27
+ priceFeed: TAccountMetas[0];
28
+ oracle: TAccountMetas[1];
29
+ };
30
+ data: RefreshOracleInstructionData;
31
+ };
32
+ export declare function parseRefreshOracleInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRefreshOracleInstruction<TProgram, TAccountMetas>;
33
+ //# sourceMappingURL=refreshOracle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refreshOracle.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/refreshOracle.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;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C7B,eAAe,SAAS,OAAO,GAAG,OAAO,kCAAkC,EAE3E,KAAK,EAAE,kBAAkB,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAC5D,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC5C,wBAAwB,CACzB,eAAe,EACf,iBAAiB,EACjB,cAAc,CACf,CA4BA;AAED,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC1B,CAAC;IACF,IAAI,EAAE,4BAA4B,CAAC;CACpC,CAAC;AAEF,wBAAgB,6BAA6B,CAC3C,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,8BAA8B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAgBzD"}
@@ -0,0 +1,36 @@
1
+ import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ export declare const RESET_LZ_PUSH_IN_FLIGHT_DISCRIMINATOR = 17;
4
+ export declare function getResetLzPushInFlightDiscriminatorBytes(): ReadonlyUint8Array;
5
+ export type ResetLzPushInFlightInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountController extends string | AccountMeta<string> = string, TAccountIntegration extends string | AccountMeta<string> = string, TAccountSysvarInstruction extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
6
+ TAccountController extends string ? ReadonlyAccount<TAccountController> : TAccountController,
7
+ TAccountIntegration extends string ? WritableAccount<TAccountIntegration> : TAccountIntegration,
8
+ TAccountSysvarInstruction extends string ? ReadonlyAccount<TAccountSysvarInstruction> : TAccountSysvarInstruction,
9
+ ...TRemainingAccounts
10
+ ]>;
11
+ export type ResetLzPushInFlightInstructionData = {
12
+ discriminator: number;
13
+ };
14
+ export type ResetLzPushInFlightInstructionDataArgs = {};
15
+ export declare function getResetLzPushInFlightInstructionDataEncoder(): FixedSizeEncoder<ResetLzPushInFlightInstructionDataArgs>;
16
+ export declare function getResetLzPushInFlightInstructionDataDecoder(): FixedSizeDecoder<ResetLzPushInFlightInstructionData>;
17
+ export declare function getResetLzPushInFlightInstructionDataCodec(): FixedSizeCodec<ResetLzPushInFlightInstructionDataArgs, ResetLzPushInFlightInstructionData>;
18
+ export type ResetLzPushInFlightInput<TAccountController extends string = string, TAccountIntegration extends string = string, TAccountSysvarInstruction extends string = string> = {
19
+ controller: Address<TAccountController>;
20
+ integration: Address<TAccountIntegration>;
21
+ sysvarInstruction?: Address<TAccountSysvarInstruction>;
22
+ };
23
+ export declare function getResetLzPushInFlightInstruction<TAccountController extends string, TAccountIntegration extends string, TAccountSysvarInstruction extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: ResetLzPushInFlightInput<TAccountController, TAccountIntegration, TAccountSysvarInstruction>, config?: {
24
+ programAddress?: TProgramAddress;
25
+ }): ResetLzPushInFlightInstruction<TProgramAddress, TAccountController, TAccountIntegration, TAccountSysvarInstruction>;
26
+ export type ParsedResetLzPushInFlightInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
27
+ programAddress: Address<TProgram>;
28
+ accounts: {
29
+ controller: TAccountMetas[0];
30
+ integration: TAccountMetas[1];
31
+ sysvarInstruction: TAccountMetas[2];
32
+ };
33
+ data: ResetLzPushInFlightInstructionData;
34
+ };
35
+ export declare function parseResetLzPushInFlightInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedResetLzPushInFlightInstruction<TProgram, TAccountMetas>;
36
+ //# sourceMappingURL=resetLzPushInFlight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resetLzPushInFlight.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/resetLzPushInFlight.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAGjE,eAAO,MAAM,qCAAqC,KAAK,CAAC;AAExD,wBAAgB,wCAAwC,uBAEvD;AAED,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,yBAAyB,SACrB,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACvE,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wB,CAC7B,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,CAC1B,EACD,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC5C,8BAA8B,CAC/B,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,CAC1B,CAwCA;AAED,MAAM,MAAM,oCAAoC,CAC9C,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC9B,iBAAiB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACrC,CAAC;IACF,IAAI,EAAE,kCAAkC,CAAC;CAC1C,CAAC;AAEF,wBAAgB,mCAAmC,CACjD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsB/D"}
@@ -0,0 +1,36 @@
1
+ import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ export declare const SYNC_DISCRIMINATOR = 9;
4
+ export declare function getSyncDiscriminatorBytes(): ReadonlyUint8Array;
5
+ export type SyncInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountController extends string | AccountMeta<string> = string, TAccountControllerAuthority extends string | AccountMeta<string> = string, TAccountIntegration extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
6
+ TAccountController extends string ? ReadonlyAccount<TAccountController> : TAccountController,
7
+ TAccountControllerAuthority extends string ? ReadonlyAccount<TAccountControllerAuthority> : TAccountControllerAuthority,
8
+ TAccountIntegration extends string ? WritableAccount<TAccountIntegration> : TAccountIntegration,
9
+ ...TRemainingAccounts
10
+ ]>;
11
+ export type SyncInstructionData = {
12
+ discriminator: number;
13
+ };
14
+ export type SyncInstructionDataArgs = {};
15
+ export declare function getSyncInstructionDataEncoder(): FixedSizeEncoder<SyncInstructionDataArgs>;
16
+ export declare function getSyncInstructionDataDecoder(): FixedSizeDecoder<SyncInstructionData>;
17
+ export declare function getSyncInstructionDataCodec(): FixedSizeCodec<SyncInstructionDataArgs, SyncInstructionData>;
18
+ export type SyncInput<TAccountController extends string = string, TAccountControllerAuthority extends string = string, TAccountIntegration extends string = string> = {
19
+ controller: Address<TAccountController>;
20
+ controllerAuthority: Address<TAccountControllerAuthority>;
21
+ integration: Address<TAccountIntegration>;
22
+ };
23
+ export declare function getSyncInstruction<TAccountController extends string, TAccountControllerAuthority extends string, TAccountIntegration extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: SyncInput<TAccountController, TAccountControllerAuthority, TAccountIntegration>, config?: {
24
+ programAddress?: TProgramAddress;
25
+ }): SyncInstruction<TProgramAddress, TAccountController, TAccountControllerAuthority, TAccountIntegration>;
26
+ export type ParsedSyncInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
27
+ programAddress: Address<TProgram>;
28
+ accounts: {
29
+ controller: TAccountMetas[0];
30
+ controllerAuthority: TAccountMetas[1];
31
+ integration: TAccountMetas[2];
32
+ };
33
+ data: SyncInstructionData;
34
+ };
35
+ export declare function parseSyncInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSyncInstruction<TProgram, TAccountMetas>;
36
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/sync.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAGjE,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,wBAAgB,yBAAyB,uBAExC;AAED,MAAM,MAAM,eAAe,CACzB,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,2BAA2B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACzE,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,kBAAkB,SAAS,MAAM,GAC7B,eAAe,CAAC,kBAAkB,CAAC,GACnC,kBAAkB;IACtB,2BAA2B,SAAS,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,OAAO,kCAAkC,EACnE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,mBAAmB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACtC,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,qBAAqB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAoBhD"}
@@ -0,0 +1,39 @@
1
+ import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ export declare const SYNC_RESERVE_DISCRIMINATOR = 8;
4
+ export declare function getSyncReserveDiscriminatorBytes(): ReadonlyUint8Array;
5
+ export type SyncReserveInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountController extends string | AccountMeta<string> = string, TAccountControllerAuthority extends string | AccountMeta<string> = string, TAccountReserve extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
6
+ TAccountController extends string ? ReadonlyAccount<TAccountController> : TAccountController,
7
+ TAccountControllerAuthority extends string ? ReadonlyAccount<TAccountControllerAuthority> : TAccountControllerAuthority,
8
+ TAccountReserve extends string ? WritableAccount<TAccountReserve> : TAccountReserve,
9
+ TAccountVault extends string ? ReadonlyAccount<TAccountVault> : TAccountVault,
10
+ ...TRemainingAccounts
11
+ ]>;
12
+ export type SyncReserveInstructionData = {
13
+ discriminator: number;
14
+ };
15
+ export type SyncReserveInstructionDataArgs = {};
16
+ export declare function getSyncReserveInstructionDataEncoder(): FixedSizeEncoder<SyncReserveInstructionDataArgs>;
17
+ export declare function getSyncReserveInstructionDataDecoder(): FixedSizeDecoder<SyncReserveInstructionData>;
18
+ export declare function getSyncReserveInstructionDataCodec(): FixedSizeCodec<SyncReserveInstructionDataArgs, SyncReserveInstructionData>;
19
+ export type SyncReserveInput<TAccountController extends string = string, TAccountControllerAuthority extends string = string, TAccountReserve extends string = string, TAccountVault extends string = string> = {
20
+ controller: Address<TAccountController>;
21
+ controllerAuthority: Address<TAccountControllerAuthority>;
22
+ reserve: Address<TAccountReserve>;
23
+ vault: Address<TAccountVault>;
24
+ };
25
+ export declare function getSyncReserveInstruction<TAccountController extends string, TAccountControllerAuthority extends string, TAccountReserve extends string, TAccountVault extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: SyncReserveInput<TAccountController, TAccountControllerAuthority, TAccountReserve, TAccountVault>, config?: {
26
+ programAddress?: TProgramAddress;
27
+ }): SyncReserveInstruction<TProgramAddress, TAccountController, TAccountControllerAuthority, TAccountReserve, TAccountVault>;
28
+ export type ParsedSyncReserveInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
29
+ programAddress: Address<TProgram>;
30
+ accounts: {
31
+ controller: TAccountMetas[0];
32
+ controllerAuthority: TAccountMetas[1];
33
+ reserve: TAccountMetas[2];
34
+ vault: TAccountMetas[3];
35
+ };
36
+ data: SyncReserveInstructionData;
37
+ };
38
+ export declare function parseSyncReserveInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSyncReserveInstruction<TProgram, TAccountMetas>;
39
+ //# sourceMappingURL=syncReserve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncReserve.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/syncReserve.ts"],"names":[],"mappings":"AAQA,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAGjE,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C,wBAAgB,gCAAgC,uBAE/C;AAED,MAAM,MAAM,sBAAsB,CAChC,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,2BAA2B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACzE,eAAe,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC7D,aAAa,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC3D,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,kBAAkB,SAAS,MAAM,GAC7B,eAAe,CAAC,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C3B,eAAe,EACf,aAAa,CACd,EACD,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC5C,sBAAsB,CACvB,eAAe,EACf,kBAAkB,EAClB,2BAA2B,EAC3B,eAAe,EACf,aAAa,CACd,CAqCA;AAED,MAAM,MAAM,4BAA4B,CACtC,QAAQ,SAAS,MAAM,GAAG,OAAO,kCAAkC,EACnE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,mBAAmB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACtC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACzB,CAAC;IACF,IAAI,EAAE,0BAA0B,CAAC;CAClC,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,4BAA4B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAqBvD"}
@@ -0,0 +1,50 @@
1
+ import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
2
+ import { SVM_ALM_CONTROLLER_PROGRAM_ADDRESS } from '../programs';
3
+ import { type FeedArgs, type FeedArgsArgs } from '../types';
4
+ export declare const UPDATE_ORACLE_DISCRIMINATOR = 13;
5
+ export declare function getUpdateOracleDiscriminatorBytes(): ReadonlyUint8Array;
6
+ export type UpdateOracleInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountController extends string | AccountMeta<string> = string, TAccountControllerAuthority extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPriceFeed extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TAccountNewAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
7
+ TAccountController extends string ? ReadonlyAccount<TAccountController> : TAccountController,
8
+ TAccountControllerAuthority extends string ? ReadonlyAccount<TAccountControllerAuthority> : TAccountControllerAuthority,
9
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
10
+ TAccountPriceFeed extends string ? ReadonlyAccount<TAccountPriceFeed> : TAccountPriceFeed,
11
+ TAccountOracle extends string ? WritableAccount<TAccountOracle> : TAccountOracle,
12
+ TAccountNewAuthority extends string ? ReadonlySignerAccount<TAccountNewAuthority> & AccountSignerMeta<TAccountNewAuthority> : TAccountNewAuthority,
13
+ ...TRemainingAccounts
14
+ ]>;
15
+ export type UpdateOracleInstructionData = {
16
+ discriminator: number;
17
+ feedArgs: Option<FeedArgs>;
18
+ };
19
+ export type UpdateOracleInstructionDataArgs = {
20
+ feedArgs: OptionOrNullable<FeedArgsArgs>;
21
+ };
22
+ export declare function getUpdateOracleInstructionDataEncoder(): Encoder<UpdateOracleInstructionDataArgs>;
23
+ export declare function getUpdateOracleInstructionDataDecoder(): Decoder<UpdateOracleInstructionData>;
24
+ export declare function getUpdateOracleInstructionDataCodec(): Codec<UpdateOracleInstructionDataArgs, UpdateOracleInstructionData>;
25
+ export type UpdateOracleInput<TAccountController extends string = string, TAccountControllerAuthority extends string = string, TAccountAuthority extends string = string, TAccountPriceFeed extends string = string, TAccountOracle extends string = string, TAccountNewAuthority extends string = string> = {
26
+ controller: Address<TAccountController>;
27
+ controllerAuthority: Address<TAccountControllerAuthority>;
28
+ authority: TransactionSigner<TAccountAuthority>;
29
+ priceFeed: Address<TAccountPriceFeed>;
30
+ oracle: Address<TAccountOracle>;
31
+ newAuthority?: TransactionSigner<TAccountNewAuthority>;
32
+ feedArgs: UpdateOracleInstructionDataArgs['feedArgs'];
33
+ };
34
+ export declare function getUpdateOracleInstruction<TAccountController extends string, TAccountControllerAuthority extends string, TAccountAuthority extends string, TAccountPriceFeed extends string, TAccountOracle extends string, TAccountNewAuthority extends string, TProgramAddress extends Address = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS>(input: UpdateOracleInput<TAccountController, TAccountControllerAuthority, TAccountAuthority, TAccountPriceFeed, TAccountOracle, TAccountNewAuthority>, config?: {
35
+ programAddress?: TProgramAddress;
36
+ }): UpdateOracleInstruction<TProgramAddress, TAccountController, TAccountControllerAuthority, TAccountAuthority, TAccountPriceFeed, TAccountOracle, TAccountNewAuthority>;
37
+ export type ParsedUpdateOracleInstruction<TProgram extends string = typeof SVM_ALM_CONTROLLER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
38
+ programAddress: Address<TProgram>;
39
+ accounts: {
40
+ controller: TAccountMetas[0];
41
+ controllerAuthority: TAccountMetas[1];
42
+ authority: TAccountMetas[2];
43
+ priceFeed: TAccountMetas[3];
44
+ oracle: TAccountMetas[4];
45
+ newAuthority?: TAccountMetas[5] | undefined;
46
+ };
47
+ data: UpdateOracleInstructionData;
48
+ };
49
+ export declare function parseUpdateOracleInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateOracleInstruction<TProgram, TAccountMetas>;
50
+ //# sourceMappingURL=updateOracle.d.ts.map
@@ -0,0 +1 @@
1
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C,CAAC,CAAC,CAAC;QACtC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACzB,YAAY,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;KAC7C,CAAC;IACF,IAAI,EAAE,2BAA2B,CAAC;CACnC,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,6BAA6B,CAAC,QAAQ,EAAE,aAAa,CAAC,CA6BxD"}
@@ -0,0 +1,2 @@
1
+ export * from './svmAlmController';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/programs/index.ts"],"names":[],"mappings":"AAQA,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,71 @@
1
+ import { type Address, type ReadonlyUint8Array } from '@solana/kit';
2
+ import { type ParsedAtomicSwapBorrowInstruction, type ParsedAtomicSwapRepayInstruction, type ParsedEmitEventInstruction, type ParsedInitializeControllerInstruction, type ParsedInitializeIntegrationInstruction, type ParsedInitializeOracleInstruction, type ParsedInitializeReserveInstruction, type ParsedManageControllerInstruction, type ParsedManageIntegrationInstruction, type ParsedManagePermissionInstruction, type ParsedManageReserveInstruction, type ParsedPullInstruction, type ParsedPushInstruction, type ParsedRefreshOracleInstruction, type ParsedResetLzPushInFlightInstruction, type ParsedSyncInstruction, type ParsedSyncReserveInstruction, type ParsedUpdateOracleInstruction } from '../instructions';
3
+ export declare const SVM_ALM_CONTROLLER_PROGRAM_ADDRESS: Address<"H3BpbuheXwBnfxjb2L66mxZ9nFhRmUentYwQDspd6yJ9">;
4
+ export declare enum SvmAlmControllerAccount {
5
+ Controller = 0,
6
+ Integration = 1,
7
+ Oracle = 2,
8
+ Permission = 3,
9
+ Reserve = 4
10
+ }
11
+ export declare enum SvmAlmControllerInstruction {
12
+ EmitEvent = 0,
13
+ InitializeController = 1,
14
+ ManageController = 2,
15
+ ManagePermission = 3,
16
+ InitializeReserve = 4,
17
+ ManageReserve = 5,
18
+ InitializeIntegration = 6,
19
+ ManageIntegration = 7,
20
+ SyncReserve = 8,
21
+ Sync = 9,
22
+ Push = 10,
23
+ Pull = 11,
24
+ InitializeOracle = 12,
25
+ UpdateOracle = 13,
26
+ RefreshOracle = 14,
27
+ AtomicSwapBorrow = 15,
28
+ AtomicSwapRepay = 16,
29
+ ResetLzPushInFlight = 17
30
+ }
31
+ export declare function identifySvmAlmControllerInstruction(instruction: {
32
+ data: ReadonlyUint8Array;
33
+ } | ReadonlyUint8Array): SvmAlmControllerInstruction;
34
+ export type ParsedSvmAlmControllerInstruction<TProgram extends string = 'H3BpbuheXwBnfxjb2L66mxZ9nFhRmUentYwQDspd6yJ9'> = ({
35
+ instructionType: SvmAlmControllerInstruction.EmitEvent;
36
+ } & ParsedEmitEventInstruction<TProgram>) | ({
37
+ instructionType: SvmAlmControllerInstruction.InitializeController;
38
+ } & ParsedInitializeControllerInstruction<TProgram>) | ({
39
+ instructionType: SvmAlmControllerInstruction.ManageController;
40
+ } & ParsedManageControllerInstruction<TProgram>) | ({
41
+ instructionType: SvmAlmControllerInstruction.ManagePermission;
42
+ } & ParsedManagePermissionInstruction<TProgram>) | ({
43
+ instructionType: SvmAlmControllerInstruction.InitializeReserve;
44
+ } & ParsedInitializeReserveInstruction<TProgram>) | ({
45
+ instructionType: SvmAlmControllerInstruction.ManageReserve;
46
+ } & ParsedManageReserveInstruction<TProgram>) | ({
47
+ instructionType: SvmAlmControllerInstruction.InitializeIntegration;
48
+ } & ParsedInitializeIntegrationInstruction<TProgram>) | ({
49
+ instructionType: SvmAlmControllerInstruction.ManageIntegration;
50
+ } & ParsedManageIntegrationInstruction<TProgram>) | ({
51
+ instructionType: SvmAlmControllerInstruction.SyncReserve;
52
+ } & ParsedSyncReserveInstruction<TProgram>) | ({
53
+ instructionType: SvmAlmControllerInstruction.Sync;
54
+ } & ParsedSyncInstruction<TProgram>) | ({
55
+ instructionType: SvmAlmControllerInstruction.Push;
56
+ } & ParsedPushInstruction<TProgram>) | ({
57
+ instructionType: SvmAlmControllerInstruction.Pull;
58
+ } & ParsedPullInstruction<TProgram>) | ({
59
+ instructionType: SvmAlmControllerInstruction.InitializeOracle;
60
+ } & ParsedInitializeOracleInstruction<TProgram>) | ({
61
+ instructionType: SvmAlmControllerInstruction.UpdateOracle;
62
+ } & ParsedUpdateOracleInstruction<TProgram>) | ({
63
+ instructionType: SvmAlmControllerInstruction.RefreshOracle;
64
+ } & ParsedRefreshOracleInstruction<TProgram>) | ({
65
+ instructionType: SvmAlmControllerInstruction.AtomicSwapBorrow;
66
+ } & ParsedAtomicSwapBorrowInstruction<TProgram>) | ({
67
+ instructionType: SvmAlmControllerInstruction.AtomicSwapRepay;
68
+ } & ParsedAtomicSwapRepayInstruction<TProgram>) | ({
69
+ instructionType: SvmAlmControllerInstruction.ResetLzPushInFlight;
70
+ } & ParsedResetLzPushInFlightInstruction<TProgram>);
71
+ //# sourceMappingURL=svmAlmController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svmAlmController.d.ts","sourceRoot":"","sources":["../../../src/generated/programs/svmAlmController.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,EACtC,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AAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC,GAC7C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,gBAAgB,CAAC;CAC/D,GAAG,iCAAiC,CAAC,QAAQ,CAAC,CAAC,GAChD,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,eAAe,CAAC;CAC9D,GAAG,gCAAgC,CAAC,QAAQ,CAAC,CAAC,GAC/C,CAAC;IACC,eAAe,EAAE,2BAA2B,CAAC,mBAAmB,CAAC;CAClE,GAAG,oCAAoC,CAAC,QAAQ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type AccountMeta, type AccountSignerMeta, type Address, type ProgramDerivedAddress, type TransactionSigner } from '@solana/kit';
2
+ export declare function expectSome<T>(value: T | null | undefined): T;
3
+ export declare function expectAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): Address<T>;
4
+ export declare function expectProgramDerivedAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): ProgramDerivedAddress<T>;
5
+ export declare function expectTransactionSigner<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): TransactionSigner<T>;
6
+ export type ResolvedAccount<T extends string = string, U extends Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null = Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null> = {
7
+ isWritable: boolean;
8
+ value: U;
9
+ };
10
+ export type InstructionWithByteDelta = {
11
+ byteDelta: number;
12
+ };
13
+ export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId'): (account: ResolvedAccount) => AccountMeta | AccountSignerMeta | undefined;
14
+ export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"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AC,CAAC,CAAC,GACpB,IAAI,IACN;IACF,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC;CACV,CAAC;AAMF,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,OAAO,EACvB,uBAAuB,EAAE,SAAS,GAAG,WAAW,IAG9C,SAAS,eAAe,KACvB,WAAW,GAAG,iBAAiB,GAAG,SAAS,CAoB/C;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAClE,KAAK,EACD,OAAO,CAAC,QAAQ,CAAC,GACjB,qBAAqB,CAAC,QAAQ,CAAC,GAC/B,iBAAiB,CAAC,QAAQ,CAAC,GAC9B,KAAK,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAOtC"}
@@ -0,0 +1,14 @@
1
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
2
+ export declare enum AccountDiscriminators {
3
+ UninitializedDiscriminator = 0,
4
+ ControllerDiscriminator = 1,
5
+ PermissionDiscriminator = 2,
6
+ IntegrationDiscriminator = 3,
7
+ ReserveDiscriminator = 4,
8
+ OracleDiscriminator = 5
9
+ }
10
+ export type AccountDiscriminatorsArgs = AccountDiscriminators;
11
+ export declare function getAccountDiscriminatorsEncoder(): FixedSizeEncoder<AccountDiscriminatorsArgs>;
12
+ export declare function getAccountDiscriminatorsDecoder(): FixedSizeDecoder<AccountDiscriminators>;
13
+ export declare function getAccountDiscriminatorsCodec(): FixedSizeCodec<AccountDiscriminatorsArgs, AccountDiscriminators>;
14
+ //# sourceMappingURL=accountDiscriminators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountDiscriminators.d.ts","sourceRoot":"","sources":["../../../src/generated/types/accountDiscriminators.ts"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oBAAY,qBAAqB;IAC/B,0BAA0B,IAAA;IAC1B,uBAAuB,IAAA;IACvB,uBAAuB,IAAA;IACvB,wBAAwB,IAAA;IACxB,oBAAoB,IAAA;IACpB,mBAAmB,IAAA;CACpB;AAED,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAE9D,wBAAgB,+BAA+B,IAAI,gBAAgB,CAAC,yBAAyB,CAAC,CAE7F;AAED,wBAAgB,+BAA+B,IAAI,gBAAgB,CAAC,qBAAqB,CAAC,CAEzF;AAED,wBAAgB,6BAA6B,IAAI,cAAc,CAC7D,yBAAyB,EACzB,qBAAqB,CACtB,CAKA"}
@@ -0,0 +1,14 @@
1
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
2
+ export declare enum AccountingAction {
3
+ Sync = 0,
4
+ ExternalTransfer = 1,
5
+ Deposit = 2,
6
+ Withdrawal = 3,
7
+ BridgeSend = 4,
8
+ Swap = 5
9
+ }
10
+ export type AccountingActionArgs = AccountingAction;
11
+ export declare function getAccountingActionEncoder(): FixedSizeEncoder<AccountingActionArgs>;
12
+ export declare function getAccountingActionDecoder(): FixedSizeDecoder<AccountingAction>;
13
+ export declare function getAccountingActionCodec(): FixedSizeCodec<AccountingActionArgs, AccountingAction>;
14
+ //# sourceMappingURL=accountingAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingAction.d.ts","sourceRoot":"","sources":["../../../src/generated/types/accountingAction.ts"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oBAAY,gBAAgB;IAC1B,IAAI,IAAA;IACJ,gBAAgB,IAAA;IAChB,OAAO,IAAA;IACP,UAAU,IAAA;IACV,UAAU,IAAA;IACV,IAAI,IAAA;CACL;AAED,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;AAEpD,wBAAgB,0BAA0B,IAAI,gBAAgB,CAAC,oBAAoB,CAAC,CAEnF;AAED,wBAAgB,0BAA0B,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAE/E;AAED,wBAAgB,wBAAwB,IAAI,cAAc,CACxD,oBAAoB,EACpB,gBAAgB,CACjB,CAKA"}
@@ -0,0 +1,10 @@
1
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
2
+ export declare enum AccountingDirection {
3
+ Debit = 0,
4
+ Credit = 1
5
+ }
6
+ export type AccountingDirectionArgs = AccountingDirection;
7
+ export declare function getAccountingDirectionEncoder(): FixedSizeEncoder<AccountingDirectionArgs>;
8
+ export declare function getAccountingDirectionDecoder(): FixedSizeDecoder<AccountingDirection>;
9
+ export declare function getAccountingDirectionCodec(): FixedSizeCodec<AccountingDirectionArgs, AccountingDirection>;
10
+ //# sourceMappingURL=accountingDirection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingDirection.d.ts","sourceRoot":"","sources":["../../../src/generated/types/accountingDirection.ts"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oBAAY,mBAAmB;IAC7B,KAAK,IAAA;IACL,MAAM,IAAA;CACP;AAED,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC;AAE1D,wBAAgB,6BAA6B,IAAI,gBAAgB,CAAC,uBAAuB,CAAC,CAEzF;AAED,wBAAgB,6BAA6B,IAAI,gBAAgB,CAAC,mBAAmB,CAAC,CAErF;AAED,wBAAgB,2BAA2B,IAAI,cAAc,CAC3D,uBAAuB,EACvB,mBAAmB,CACpB,CAKA"}
@@ -0,0 +1,24 @@
1
+ import { type Address, type Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
2
+ import { type AccountingAction, type AccountingActionArgs, type AccountingDirection, type AccountingDirectionArgs } from '.';
3
+ export type AccountingEvent = {
4
+ controller: Address;
5
+ integration: Option<Address>;
6
+ reserve: Option<Address>;
7
+ mint: Address;
8
+ action: AccountingAction;
9
+ delta: bigint;
10
+ direction: AccountingDirection;
11
+ };
12
+ export type AccountingEventArgs = {
13
+ controller: Address;
14
+ integration: OptionOrNullable<Address>;
15
+ reserve: OptionOrNullable<Address>;
16
+ mint: Address;
17
+ action: AccountingActionArgs;
18
+ delta: number | bigint;
19
+ direction: AccountingDirectionArgs;
20
+ };
21
+ export declare function getAccountingEventEncoder(): Encoder<AccountingEventArgs>;
22
+ export declare function getAccountingEventDecoder(): Decoder<AccountingEvent>;
23
+ export declare function getAccountingEventCodec(): Codec<AccountingEventArgs, AccountingEvent>;
24
+ //# sourceMappingURL=accountingEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/accountingEvent.ts"],"names":[],"mappings":"AAQA,OAAO,EAUL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC7B,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACnC,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,oBAAoB,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,OAAO,CAAC,mBAAmB,CAAC,CAUxE;AAED,wBAAgB,yBAAyB,IAAI,OAAO,CAAC,eAAe,CAAC,CAUpE;AAED,wBAAgB,uBAAuB,IAAI,KAAK,CAC9C,mBAAmB,EACnB,eAAe,CAChB,CAEA"}