@wuwei-labs/srsly 2.0.0-beta.11 → 2.0.0-beta.13

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 (196) hide show
  1. package/README.md +219 -81
  2. package/dist/cjs/codama/atlasnet/accounts/contractState.js +87 -0
  3. package/dist/cjs/codama/atlasnet/accounts/contractState.js.map +1 -0
  4. package/dist/cjs/codama/atlasnet/accounts/fleet.js +77 -0
  5. package/dist/cjs/codama/atlasnet/accounts/fleet.js.map +1 -0
  6. package/dist/cjs/codama/atlasnet/accounts/index.js +28 -0
  7. package/dist/cjs/codama/atlasnet/accounts/index.js.map +1 -0
  8. package/dist/cjs/codama/atlasnet/accounts/rentalState.js +87 -0
  9. package/dist/cjs/codama/atlasnet/accounts/rentalState.js.map +1 -0
  10. package/dist/cjs/codama/atlasnet/accounts/thread.js +89 -0
  11. package/dist/cjs/codama/atlasnet/accounts/thread.js.map +1 -0
  12. package/dist/cjs/codama/atlasnet/errors/index.js +25 -0
  13. package/dist/cjs/codama/atlasnet/errors/index.js.map +1 -0
  14. package/dist/cjs/codama/atlasnet/errors/srsly.js +74 -0
  15. package/dist/cjs/codama/atlasnet/errors/srsly.js.map +1 -0
  16. package/dist/cjs/codama/atlasnet/index.js +29 -0
  17. package/dist/cjs/codama/atlasnet/index.js.map +1 -0
  18. package/dist/cjs/codama/atlasnet/instructions/acceptRental.js +357 -0
  19. package/dist/cjs/codama/atlasnet/instructions/acceptRental.js.map +1 -0
  20. package/dist/cjs/codama/atlasnet/instructions/cancelRental.js +225 -0
  21. package/dist/cjs/codama/atlasnet/instructions/cancelRental.js.map +1 -0
  22. package/dist/cjs/codama/atlasnet/instructions/closeContract.js +246 -0
  23. package/dist/cjs/codama/atlasnet/instructions/closeContract.js.map +1 -0
  24. package/dist/cjs/codama/atlasnet/instructions/closeRental.js +260 -0
  25. package/dist/cjs/codama/atlasnet/instructions/closeRental.js.map +1 -0
  26. package/dist/cjs/codama/atlasnet/instructions/createContract.js +261 -0
  27. package/dist/cjs/codama/atlasnet/instructions/createContract.js.map +1 -0
  28. package/dist/cjs/codama/atlasnet/instructions/index.js +31 -0
  29. package/dist/cjs/codama/atlasnet/instructions/index.js.map +1 -0
  30. package/dist/cjs/codama/atlasnet/instructions/payRental.js +280 -0
  31. package/dist/cjs/codama/atlasnet/instructions/payRental.js.map +1 -0
  32. package/dist/cjs/codama/atlasnet/instructions/resetRental.js +155 -0
  33. package/dist/cjs/codama/atlasnet/instructions/resetRental.js.map +1 -0
  34. package/dist/cjs/codama/atlasnet/programs/index.js +25 -0
  35. package/dist/cjs/codama/atlasnet/programs/index.js.map +1 -0
  36. package/dist/cjs/codama/atlasnet/programs/srsly.js +73 -0
  37. package/dist/cjs/codama/atlasnet/programs/srsly.js.map +1 -0
  38. package/dist/cjs/codama/atlasnet/shared/index.js +95 -0
  39. package/dist/cjs/codama/atlasnet/shared/index.js.map +1 -0
  40. package/dist/cjs/codama/atlasnet/types/clockData.js +31 -0
  41. package/dist/cjs/codama/atlasnet/types/clockData.js.map +1 -0
  42. package/dist/cjs/codama/atlasnet/types/equality.js +30 -0
  43. package/dist/cjs/codama/atlasnet/types/equality.js.map +1 -0
  44. package/dist/cjs/codama/atlasnet/types/execContext.js +38 -0
  45. package/dist/cjs/codama/atlasnet/types/execContext.js.map +1 -0
  46. package/dist/cjs/codama/atlasnet/types/index.js +32 -0
  47. package/dist/cjs/codama/atlasnet/types/index.js.map +1 -0
  48. package/dist/cjs/codama/atlasnet/types/serializableAccount.js +31 -0
  49. package/dist/cjs/codama/atlasnet/types/serializableAccount.js.map +1 -0
  50. package/dist/cjs/codama/atlasnet/types/serializableInstruction.js +32 -0
  51. package/dist/cjs/codama/atlasnet/types/serializableInstruction.js.map +1 -0
  52. package/dist/cjs/codama/atlasnet/types/threadResponse.js +38 -0
  53. package/dist/cjs/codama/atlasnet/types/threadResponse.js.map +1 -0
  54. package/dist/cjs/codama/atlasnet/types/trigger.js +90 -0
  55. package/dist/cjs/codama/atlasnet/types/trigger.js.map +1 -0
  56. package/dist/cjs/codama/atlasnet/types/triggerContext.js +49 -0
  57. package/dist/cjs/codama/atlasnet/types/triggerContext.js.map +1 -0
  58. package/dist/cjs/codama/devnet/constants.js +1 -1
  59. package/dist/cjs/package.json +13 -15
  60. package/dist/cjs/utils/config.js +66 -48
  61. package/dist/cjs/utils/config.js.map +1 -1
  62. package/dist/cjs/utils/constants.js +9 -22
  63. package/dist/cjs/utils/constants.js.map +1 -1
  64. package/dist/esm/codama/atlasnet/accounts/contractState.js +75 -0
  65. package/dist/esm/codama/atlasnet/accounts/contractState.js.map +1 -0
  66. package/dist/esm/codama/atlasnet/accounts/fleet.js +64 -0
  67. package/dist/esm/codama/atlasnet/accounts/fleet.js.map +1 -0
  68. package/dist/esm/codama/atlasnet/accounts/index.js +12 -0
  69. package/dist/esm/codama/atlasnet/accounts/index.js.map +1 -0
  70. package/dist/esm/codama/atlasnet/accounts/rentalState.js +74 -0
  71. package/dist/esm/codama/atlasnet/accounts/rentalState.js.map +1 -0
  72. package/dist/esm/codama/atlasnet/accounts/thread.js +77 -0
  73. package/dist/esm/codama/atlasnet/accounts/thread.js.map +1 -0
  74. package/dist/esm/codama/atlasnet/errors/index.js +9 -0
  75. package/dist/esm/codama/atlasnet/errors/index.js.map +1 -0
  76. package/dist/esm/codama/atlasnet/errors/srsly.js +69 -0
  77. package/dist/esm/codama/atlasnet/errors/srsly.js.map +1 -0
  78. package/dist/esm/codama/atlasnet/index.js +13 -0
  79. package/dist/esm/codama/atlasnet/index.js.map +1 -0
  80. package/dist/esm/codama/atlasnet/instructions/acceptRental.js +347 -0
  81. package/dist/esm/codama/atlasnet/instructions/acceptRental.js.map +1 -0
  82. package/dist/esm/codama/atlasnet/instructions/cancelRental.js +215 -0
  83. package/dist/esm/codama/atlasnet/instructions/cancelRental.js.map +1 -0
  84. package/dist/esm/codama/atlasnet/instructions/closeContract.js +236 -0
  85. package/dist/esm/codama/atlasnet/instructions/closeContract.js.map +1 -0
  86. package/dist/esm/codama/atlasnet/instructions/closeRental.js +250 -0
  87. package/dist/esm/codama/atlasnet/instructions/closeRental.js.map +1 -0
  88. package/dist/esm/codama/atlasnet/instructions/createContract.js +251 -0
  89. package/dist/esm/codama/atlasnet/instructions/createContract.js.map +1 -0
  90. package/dist/esm/codama/atlasnet/instructions/index.js +15 -0
  91. package/dist/esm/codama/atlasnet/instructions/index.js.map +1 -0
  92. package/dist/esm/codama/atlasnet/instructions/payRental.js +270 -0
  93. package/dist/esm/codama/atlasnet/instructions/payRental.js.map +1 -0
  94. package/dist/esm/codama/atlasnet/instructions/resetRental.js +145 -0
  95. package/dist/esm/codama/atlasnet/instructions/resetRental.js.map +1 -0
  96. package/dist/esm/codama/atlasnet/programs/index.js +9 -0
  97. package/dist/esm/codama/atlasnet/programs/index.js.map +1 -0
  98. package/dist/esm/codama/atlasnet/programs/srsly.js +68 -0
  99. package/dist/esm/codama/atlasnet/programs/srsly.js.map +1 -0
  100. package/dist/esm/codama/atlasnet/shared/index.js +87 -0
  101. package/dist/esm/codama/atlasnet/shared/index.js.map +1 -0
  102. package/dist/esm/codama/atlasnet/types/clockData.js +26 -0
  103. package/dist/esm/codama/atlasnet/types/clockData.js.map +1 -0
  104. package/dist/esm/codama/atlasnet/types/equality.js +24 -0
  105. package/dist/esm/codama/atlasnet/types/equality.js.map +1 -0
  106. package/dist/esm/codama/atlasnet/types/execContext.js +33 -0
  107. package/dist/esm/codama/atlasnet/types/execContext.js.map +1 -0
  108. package/dist/esm/codama/atlasnet/types/index.js +16 -0
  109. package/dist/esm/codama/atlasnet/types/index.js.map +1 -0
  110. package/dist/esm/codama/atlasnet/types/serializableAccount.js +26 -0
  111. package/dist/esm/codama/atlasnet/types/serializableAccount.js.map +1 -0
  112. package/dist/esm/codama/atlasnet/types/serializableInstruction.js +27 -0
  113. package/dist/esm/codama/atlasnet/types/serializableInstruction.js.map +1 -0
  114. package/dist/esm/codama/atlasnet/types/threadResponse.js +33 -0
  115. package/dist/esm/codama/atlasnet/types/threadResponse.js.map +1 -0
  116. package/dist/esm/codama/atlasnet/types/trigger.js +83 -0
  117. package/dist/esm/codama/atlasnet/types/trigger.js.map +1 -0
  118. package/dist/esm/codama/atlasnet/types/triggerContext.js +42 -0
  119. package/dist/esm/codama/atlasnet/types/triggerContext.js.map +1 -0
  120. package/dist/esm/codama/devnet/constants.js +1 -1
  121. package/dist/esm/package.json +13 -15
  122. package/dist/esm/utils/config.js +65 -46
  123. package/dist/esm/utils/config.js.map +1 -1
  124. package/dist/esm/utils/constants.js +10 -23
  125. package/dist/esm/utils/constants.js.map +1 -1
  126. package/dist/types/codama/atlasnet/accounts/contractState.d.ts +51 -0
  127. package/dist/types/codama/atlasnet/accounts/contractState.d.ts.map +1 -0
  128. package/dist/types/codama/atlasnet/accounts/fleet.d.ts +38 -0
  129. package/dist/types/codama/atlasnet/accounts/fleet.d.ts.map +1 -0
  130. package/dist/types/codama/atlasnet/accounts/index.d.ts +12 -0
  131. package/dist/types/codama/atlasnet/accounts/index.d.ts.map +1 -0
  132. package/dist/types/codama/atlasnet/accounts/rentalState.d.ts +48 -0
  133. package/dist/types/codama/atlasnet/accounts/rentalState.d.ts.map +1 -0
  134. package/dist/types/codama/atlasnet/accounts/thread.d.ts +74 -0
  135. package/dist/types/codama/atlasnet/accounts/thread.d.ts.map +1 -0
  136. package/dist/types/codama/atlasnet/errors/index.d.ts +9 -0
  137. package/dist/types/codama/atlasnet/errors/index.d.ts.map +1 -0
  138. package/dist/types/codama/atlasnet/errors/srsly.d.ts +50 -0
  139. package/dist/types/codama/atlasnet/errors/srsly.d.ts.map +1 -0
  140. package/dist/types/codama/atlasnet/index.d.ts +13 -0
  141. package/dist/types/codama/atlasnet/index.d.ts.map +1 -0
  142. package/dist/types/codama/atlasnet/instructions/acceptRental.d.ts +131 -0
  143. package/dist/types/codama/atlasnet/instructions/acceptRental.d.ts.map +1 -0
  144. package/dist/types/codama/atlasnet/instructions/cancelRental.d.ts +71 -0
  145. package/dist/types/codama/atlasnet/instructions/cancelRental.d.ts.map +1 -0
  146. package/dist/types/codama/atlasnet/instructions/closeContract.d.ts +100 -0
  147. package/dist/types/codama/atlasnet/instructions/closeContract.d.ts.map +1 -0
  148. package/dist/types/codama/atlasnet/instructions/closeRental.d.ts +83 -0
  149. package/dist/types/codama/atlasnet/instructions/closeRental.d.ts.map +1 -0
  150. package/dist/types/codama/atlasnet/instructions/createContract.d.ts +108 -0
  151. package/dist/types/codama/atlasnet/instructions/createContract.d.ts.map +1 -0
  152. package/dist/types/codama/atlasnet/instructions/index.d.ts +15 -0
  153. package/dist/types/codama/atlasnet/instructions/index.d.ts.map +1 -0
  154. package/dist/types/codama/atlasnet/instructions/payRental.d.ts +110 -0
  155. package/dist/types/codama/atlasnet/instructions/payRental.d.ts.map +1 -0
  156. package/dist/types/codama/atlasnet/instructions/resetRental.d.ts +71 -0
  157. package/dist/types/codama/atlasnet/instructions/resetRental.d.ts.map +1 -0
  158. package/dist/types/codama/atlasnet/programs/index.d.ts +9 -0
  159. package/dist/types/codama/atlasnet/programs/index.d.ts.map +1 -0
  160. package/dist/types/codama/atlasnet/programs/srsly.d.ts +47 -0
  161. package/dist/types/codama/atlasnet/programs/srsly.d.ts.map +1 -0
  162. package/dist/types/codama/atlasnet/shared/index.d.ts +50 -0
  163. package/dist/types/codama/atlasnet/shared/index.d.ts.map +1 -0
  164. package/dist/types/codama/atlasnet/types/clockData.d.ts +29 -0
  165. package/dist/types/codama/atlasnet/types/clockData.d.ts.map +1 -0
  166. package/dist/types/codama/atlasnet/types/equality.d.ts +18 -0
  167. package/dist/types/codama/atlasnet/types/equality.d.ts.map +1 -0
  168. package/dist/types/codama/atlasnet/types/execContext.d.ts +48 -0
  169. package/dist/types/codama/atlasnet/types/execContext.d.ts.map +1 -0
  170. package/dist/types/codama/atlasnet/types/index.d.ts +16 -0
  171. package/dist/types/codama/atlasnet/types/index.d.ts.map +1 -0
  172. package/dist/types/codama/atlasnet/types/serializableAccount.d.ts +22 -0
  173. package/dist/types/codama/atlasnet/types/serializableAccount.d.ts.map +1 -0
  174. package/dist/types/codama/atlasnet/types/serializableInstruction.d.ts +30 -0
  175. package/dist/types/codama/atlasnet/types/serializableInstruction.d.ts.map +1 -0
  176. package/dist/types/codama/atlasnet/types/threadResponse.d.ts +42 -0
  177. package/dist/types/codama/atlasnet/types/threadResponse.d.ts.map +1 -0
  178. package/dist/types/codama/atlasnet/types/trigger.d.ts +98 -0
  179. package/dist/types/codama/atlasnet/types/trigger.d.ts.map +1 -0
  180. package/dist/types/codama/atlasnet/types/triggerContext.d.ts +75 -0
  181. package/dist/types/codama/atlasnet/types/triggerContext.d.ts.map +1 -0
  182. package/dist/types/codama/devnet/constants.d.ts +1 -1
  183. package/dist/types/index.d.ts +1 -1
  184. package/dist/types/index.d.ts.map +1 -1
  185. package/dist/types/utils/config.d.ts +34 -31
  186. package/dist/types/utils/config.d.ts.map +1 -1
  187. package/dist/types/utils/constants.d.ts.map +1 -1
  188. package/package.json +15 -17
  189. package/dist/cjs/codama/mainnet/constants.js +0 -32
  190. package/dist/cjs/codama/mainnet/constants.js.map +0 -1
  191. package/dist/esm/codama/mainnet/constants.js +0 -29
  192. package/dist/esm/codama/mainnet/constants.js.map +0 -1
  193. package/dist/types/codama/mainnet/constants.d.ts +0 -34
  194. package/dist/types/codama/mainnet/constants.d.ts.map +0 -1
  195. /package/target/idl/{srsly-devnet.json → srsly-atlasnet.json} +0 -0
  196. /package/target/types/{srsly-devnet.ts → srsly-atlasnet.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,wB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,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,OAAO,EACvB,uBAAuB,EAAE,SAAS,GAAG,WAAW,IAG9C,SAAS,eAAe,KACvB,YAAY,GAAG,kBAAkB,GAAG,SAAS,CAoBjD;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,29 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Codec, type Decoder, type Encoder } from '@solana/kit';
9
+ /** The clock object, representing a specific moment in time recorded by a Solana cluster. */
10
+ export type ClockData = {
11
+ /** The current slot. */
12
+ slot: bigint;
13
+ /** The bank epoch. */
14
+ epoch: bigint;
15
+ /** The current unix timestamp. */
16
+ unixTimestamp: bigint;
17
+ };
18
+ export type ClockDataArgs = {
19
+ /** The current slot. */
20
+ slot: number | bigint;
21
+ /** The bank epoch. */
22
+ epoch: number | bigint;
23
+ /** The current unix timestamp. */
24
+ unixTimestamp: number | bigint;
25
+ };
26
+ export declare function getClockDataEncoder(): Encoder<ClockDataArgs>;
27
+ export declare function getClockDataDecoder(): Decoder<ClockData>;
28
+ export declare function getClockDataCodec(): Codec<ClockDataArgs, ClockData>;
29
+ //# sourceMappingURL=clockData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clockData.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/clockData.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAQL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,6FAA6F;AAC7F,MAAM,MAAM,SAAS,GAAG;IACtB,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,wBAAwB;IACxB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,sBAAsB;IACtB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,kCAAkC;IAClC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,OAAO,CAAC,aAAa,CAAC,CAM5D;AAED,wBAAgB,mBAAmB,IAAI,OAAO,CAAC,SAAS,CAAC,CAMxD;AAED,wBAAgB,iBAAiB,IAAI,KAAK,CAAC,aAAa,EAAE,SAAS,CAAC,CAEnE"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Codec, type Decoder, type Encoder } from '@solana/kit';
9
+ /** Operators for describing how to compare two values to one another. */
10
+ export declare enum Equality {
11
+ GreaterThanOrEqual = 0,
12
+ LessThanOrEqual = 1
13
+ }
14
+ export type EqualityArgs = Equality;
15
+ export declare function getEqualityEncoder(): Encoder<EqualityArgs>;
16
+ export declare function getEqualityDecoder(): Decoder<Equality>;
17
+ export declare function getEqualityCodec(): Codec<EqualityArgs, Equality>;
18
+ //# sourceMappingURL=equality.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"equality.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/equality.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,yEAAyE;AACzE,oBAAY,QAAQ;IAClB,kBAAkB,IAAA;IAClB,eAAe,IAAA;CAChB;AAED,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,wBAAgB,kBAAkB,IAAI,OAAO,CAAC,YAAY,CAAC,CAE1D;AAED,wBAAgB,kBAAkB,IAAI,OAAO,CAAC,QAAQ,CAAC,CAEtD;AAED,wBAAgB,gBAAgB,IAAI,KAAK,CAAC,YAAY,EAAE,QAAQ,CAAC,CAEhE"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Codec, type Decoder, type Encoder } from '@solana/kit';
9
+ import { type TriggerContext, type TriggerContextArgs } from '.';
10
+ /** The execution context of a particular transaction thread. */
11
+ export type ExecContext = {
12
+ /** Index of the next instruction to be executed. */
13
+ execIndex: bigint;
14
+ /**
15
+ * Number of execs since the last tx reimbursement.
16
+ * To be deprecated in v3 since we now reimburse for every transaction.
17
+ */
18
+ execsSinceReimbursement: bigint;
19
+ /** Number of execs in this slot. */
20
+ execsSinceSlot: bigint;
21
+ /** Slot of the last exec */
22
+ lastExecAt: bigint;
23
+ /** Unix timestamp of last exec */
24
+ lastExecTimestamp: bigint;
25
+ /** Context for the triggering condition */
26
+ triggerContext: TriggerContext;
27
+ };
28
+ export type ExecContextArgs = {
29
+ /** Index of the next instruction to be executed. */
30
+ execIndex: number | bigint;
31
+ /**
32
+ * Number of execs since the last tx reimbursement.
33
+ * To be deprecated in v3 since we now reimburse for every transaction.
34
+ */
35
+ execsSinceReimbursement: number | bigint;
36
+ /** Number of execs in this slot. */
37
+ execsSinceSlot: number | bigint;
38
+ /** Slot of the last exec */
39
+ lastExecAt: number | bigint;
40
+ /** Unix timestamp of last exec */
41
+ lastExecTimestamp: number | bigint;
42
+ /** Context for the triggering condition */
43
+ triggerContext: TriggerContextArgs;
44
+ };
45
+ export declare function getExecContextEncoder(): Encoder<ExecContextArgs>;
46
+ export declare function getExecContextDecoder(): Decoder<ExecContext>;
47
+ export declare function getExecContextCodec(): Codec<ExecContextArgs, ExecContext>;
48
+ //# sourceMappingURL=execContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execContext.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/execContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAQL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACxB,MAAM,GAAG,CAAC;AAEX,gEAAgE;AAChE,MAAM,MAAM,WAAW,GAAG;IACxB,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC,oCAAoC;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2CAA2C;IAC3C,cAAc,EAAE,cAAc,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,oDAAoD;IACpD,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;;OAGG;IACH,uBAAuB,EAAE,MAAM,GAAG,MAAM,CAAC;IACzC,oCAAoC;IACpC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,4BAA4B;IAC5B,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,kCAAkC;IAClC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,2CAA2C;IAC3C,cAAc,EAAE,kBAAkB,CAAC;CACpC,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,eAAe,CAAC,CAShE;AAED,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,WAAW,CAAC,CAS5D;AAED,wBAAgB,mBAAmB,IAAI,KAAK,CAAC,eAAe,EAAE,WAAW,CAAC,CAEzE"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ export * from './clockData';
9
+ export * from './equality';
10
+ export * from './execContext';
11
+ export * from './serializableAccount';
12
+ export * from './serializableInstruction';
13
+ export * from './threadResponse';
14
+ export * from './trigger';
15
+ export * from './triggerContext';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
9
+ /** Account metadata needed to execute an instruction on Solana. */
10
+ export type SerializableAccount = {
11
+ /** An account's public key */
12
+ pubkey: Address;
13
+ /** True if an Instruction requires a Transaction signature matching `pubkey`. */
14
+ isSigner: boolean;
15
+ /** True if the `pubkey` can be loaded as a read-write account. */
16
+ isWritable: boolean;
17
+ };
18
+ export type SerializableAccountArgs = SerializableAccount;
19
+ export declare function getSerializableAccountEncoder(): Encoder<SerializableAccountArgs>;
20
+ export declare function getSerializableAccountDecoder(): Decoder<SerializableAccount>;
21
+ export declare function getSerializableAccountCodec(): Codec<SerializableAccountArgs, SerializableAccount>;
22
+ //# sourceMappingURL=serializableAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serializableAccount.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/serializableAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAQL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,mEAAmE;AACnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,8BAA8B;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,iFAAiF;IACjF,QAAQ,EAAE,OAAO,CAAC;IAClB,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC;AAE1D,wBAAgB,6BAA6B,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAMhF;AAED,wBAAgB,6BAA6B,IAAI,OAAO,CAAC,mBAAmB,CAAC,CAM5E;AAED,wBAAgB,2BAA2B,IAAI,KAAK,CAClD,uBAAuB,EACvB,mBAAmB,CACpB,CAKA"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type Codec, type Decoder, type Encoder, type ReadonlyUint8Array } from '@solana/kit';
9
+ import { type SerializableAccount, type SerializableAccountArgs } from '.';
10
+ /** The data needed execute an instruction on Solana. */
11
+ export type SerializableInstruction = {
12
+ /** Pubkey of the instruction processor that executes this instruction */
13
+ programId: Address;
14
+ /** Metadata for what accounts should be passed to the instruction processor */
15
+ accounts: Array<SerializableAccount>;
16
+ /** Opaque data passed to the instruction processor */
17
+ data: ReadonlyUint8Array;
18
+ };
19
+ export type SerializableInstructionArgs = {
20
+ /** Pubkey of the instruction processor that executes this instruction */
21
+ programId: Address;
22
+ /** Metadata for what accounts should be passed to the instruction processor */
23
+ accounts: Array<SerializableAccountArgs>;
24
+ /** Opaque data passed to the instruction processor */
25
+ data: ReadonlyUint8Array;
26
+ };
27
+ export declare function getSerializableInstructionEncoder(): Encoder<SerializableInstructionArgs>;
28
+ export declare function getSerializableInstructionDecoder(): Decoder<SerializableInstruction>;
29
+ export declare function getSerializableInstructionCodec(): Codec<SerializableInstructionArgs, SerializableInstruction>;
30
+ //# sourceMappingURL=serializableInstruction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serializableInstruction.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/serializableInstruction.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAcL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC7B,MAAM,GAAG,CAAC;AAEX,wDAAwD;AACxD,MAAM,MAAM,uBAAuB,GAAG;IACpC,yEAAyE;IACzE,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACrC,sDAAsD;IACtD,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,yEAAyE;IACzE,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACzC,sDAAsD;IACtD,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAEF,wBAAgB,iCAAiC,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAMxF;AAED,wBAAgB,iCAAiC,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAMpF;AAED,wBAAgB,+BAA+B,IAAI,KAAK,CACtD,2BAA2B,EAC3B,uBAAuB,CACxB,CAKA"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
9
+ import { type SerializableInstruction, type SerializableInstructionArgs, type Trigger, type TriggerArgs } from '.';
10
+ /** A response value target programs can return to update the thread. */
11
+ export type ThreadResponse = {
12
+ /**
13
+ * If set, the thread will automatically close and return lamports to the provided address.
14
+ * If dynamic_instruction is also set, close_to will take precedence and the dynamic instruction will not be executed.
15
+ */
16
+ closeTo: Option<Address>;
17
+ /**
18
+ * A dynamic instruction to execute next.
19
+ * If close_to is also set, it will take precedence and the dynamic instruction will not be executed.
20
+ */
21
+ dynamicInstruction: Option<SerializableInstruction>;
22
+ /** Value to update the thread trigger to. */
23
+ trigger: Option<Trigger>;
24
+ };
25
+ export type ThreadResponseArgs = {
26
+ /**
27
+ * If set, the thread will automatically close and return lamports to the provided address.
28
+ * If dynamic_instruction is also set, close_to will take precedence and the dynamic instruction will not be executed.
29
+ */
30
+ closeTo: OptionOrNullable<Address>;
31
+ /**
32
+ * A dynamic instruction to execute next.
33
+ * If close_to is also set, it will take precedence and the dynamic instruction will not be executed.
34
+ */
35
+ dynamicInstruction: OptionOrNullable<SerializableInstructionArgs>;
36
+ /** Value to update the thread trigger to. */
37
+ trigger: OptionOrNullable<TriggerArgs>;
38
+ };
39
+ export declare function getThreadResponseEncoder(): Encoder<ThreadResponseArgs>;
40
+ export declare function getThreadResponseDecoder(): Decoder<ThreadResponse>;
41
+ export declare function getThreadResponseCodec(): Codec<ThreadResponseArgs, ThreadResponse>;
42
+ //# sourceMappingURL=threadResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threadResponse.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/threadResponse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAQL,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,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,OAAO,EACZ,KAAK,WAAW,EACjB,MAAM,GAAG,CAAC;AAEX,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACzB;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC,uBAAuB,CAAC,CAAC;IACpD,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACnC;;;OAGG;IACH,kBAAkB,EAAE,gBAAgB,CAAC,2BAA2B,CAAC,CAAC;IAClE,6CAA6C;IAC7C,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;CACxC,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAStE;AAED,wBAAgB,wBAAwB,IAAI,OAAO,CAAC,cAAc,CAAC,CASlE;AAED,wBAAgB,sBAAsB,IAAI,KAAK,CAC7C,kBAAkB,EAClB,cAAc,CACf,CAEA"}
@@ -0,0 +1,98 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
9
+ import { type Equality, type EqualityArgs } from '.';
10
+ /** The triggering conditions of a thread. */
11
+ export type Trigger = {
12
+ __kind: 'Account';
13
+ /** The address of the account to monitor. */
14
+ address: Address;
15
+ /** The byte offset of the account data to monitor. */
16
+ offset: bigint;
17
+ /** The size of the byte slice to monitor (must be less than 1kb) */
18
+ size: bigint;
19
+ } | {
20
+ __kind: 'Cron';
21
+ /** The schedule in cron syntax. Value must be parsable by the `solana_cron` package. */
22
+ schedule: string;
23
+ /**
24
+ * Boolean value indicating whether triggering moments may be skipped if they are missed (e.g. due to network downtime).
25
+ * If false, any "missed" triggering moments will simply be executed as soon as the network comes back online.
26
+ */
27
+ skippable: boolean;
28
+ } | {
29
+ __kind: 'Now';
30
+ } | {
31
+ __kind: 'Slot';
32
+ slot: bigint;
33
+ } | {
34
+ __kind: 'Epoch';
35
+ epoch: bigint;
36
+ } | {
37
+ __kind: 'Timestamp';
38
+ unixTs: bigint;
39
+ } | {
40
+ __kind: 'Pyth';
41
+ /** The address of the price feed to monitor. */
42
+ priceFeed: Address;
43
+ /** The equality operator (gte or lte) used to compare prices. */
44
+ equality: Equality;
45
+ /** The limit price to compare the Pyth feed to. */
46
+ limit: bigint;
47
+ };
48
+ export type TriggerArgs = {
49
+ __kind: 'Account';
50
+ /** The address of the account to monitor. */
51
+ address: Address;
52
+ /** The byte offset of the account data to monitor. */
53
+ offset: number | bigint;
54
+ /** The size of the byte slice to monitor (must be less than 1kb) */
55
+ size: number | bigint;
56
+ } | {
57
+ __kind: 'Cron';
58
+ /** The schedule in cron syntax. Value must be parsable by the `solana_cron` package. */
59
+ schedule: string;
60
+ /**
61
+ * Boolean value indicating whether triggering moments may be skipped if they are missed (e.g. due to network downtime).
62
+ * If false, any "missed" triggering moments will simply be executed as soon as the network comes back online.
63
+ */
64
+ skippable: boolean;
65
+ } | {
66
+ __kind: 'Now';
67
+ } | {
68
+ __kind: 'Slot';
69
+ slot: number | bigint;
70
+ } | {
71
+ __kind: 'Epoch';
72
+ epoch: number | bigint;
73
+ } | {
74
+ __kind: 'Timestamp';
75
+ unixTs: number | bigint;
76
+ } | {
77
+ __kind: 'Pyth';
78
+ /** The address of the price feed to monitor. */
79
+ priceFeed: Address;
80
+ /** The equality operator (gte or lte) used to compare prices. */
81
+ equality: EqualityArgs;
82
+ /** The limit price to compare the Pyth feed to. */
83
+ limit: number | bigint;
84
+ };
85
+ export declare function getTriggerEncoder(): Encoder<TriggerArgs>;
86
+ export declare function getTriggerDecoder(): Decoder<Trigger>;
87
+ export declare function getTriggerCodec(): Codec<TriggerArgs, Trigger>;
88
+ export declare function trigger(kind: 'Account', data: GetDiscriminatedUnionVariantContent<TriggerArgs, '__kind', 'Account'>): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Account'>;
89
+ export declare function trigger(kind: 'Cron', data: GetDiscriminatedUnionVariantContent<TriggerArgs, '__kind', 'Cron'>): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Cron'>;
90
+ export declare function trigger(kind: 'Now'): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Now'>;
91
+ export declare function trigger(kind: 'Slot', data: GetDiscriminatedUnionVariantContent<TriggerArgs, '__kind', 'Slot'>): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Slot'>;
92
+ export declare function trigger(kind: 'Epoch', data: GetDiscriminatedUnionVariantContent<TriggerArgs, '__kind', 'Epoch'>): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Epoch'>;
93
+ export declare function trigger(kind: 'Timestamp', data: GetDiscriminatedUnionVariantContent<TriggerArgs, '__kind', 'Timestamp'>): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Timestamp'>;
94
+ export declare function trigger(kind: 'Pyth', data: GetDiscriminatedUnionVariantContent<TriggerArgs, '__kind', 'Pyth'>): GetDiscriminatedUnionVariant<TriggerArgs, '__kind', 'Pyth'>;
95
+ export declare function isTrigger<K extends Trigger['__kind']>(kind: K, value: Trigger): value is Trigger & {
96
+ __kind: K;
97
+ };
98
+ //# sourceMappingURL=trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/trigger.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAsBL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACzC,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,YAAY,EAClB,MAAM,GAAG,CAAC;AAEX,6CAA6C;AAC7C,MAAM,MAAM,OAAO,GACf;IACE,MAAM,EAAE,SAAS,CAAC;IAClB,6CAA6C;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,sDAAsD;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAC;CACd,GACD;IACE,MAAM,EAAE,MAAM,CAAC;IACf,wFAAwF;IACxF,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB,GACD;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE,GACjB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,MAAM,EAAE,W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AAC,SAAS,OAAO,CAAC,QAAQ,CAAC,EACnD,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,OAAO,GAAG;IAAE,MAAM,EAAE,CAAC,CAAA;CAAE,CAElC"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
9
+ /** The event which allowed a particular transaction thread to be triggered. */
10
+ export type TriggerContext = {
11
+ __kind: 'Account';
12
+ /** The account's data hash. */
13
+ dataHash: bigint;
14
+ } | {
15
+ __kind: 'Cron';
16
+ /** The threshold moment the schedule was waiting for. */
17
+ startedAt: bigint;
18
+ } | {
19
+ __kind: 'Now';
20
+ } | {
21
+ __kind: 'Slot';
22
+ /** The threshold slot the schedule was waiting for. */
23
+ startedAt: bigint;
24
+ } | {
25
+ __kind: 'Epoch';
26
+ /** The threshold epoch the schedule was waiting for. */
27
+ startedAt: bigint;
28
+ } | {
29
+ __kind: 'Timestamp';
30
+ /** The threshold moment the schedule was waiting for. */
31
+ startedAt: bigint;
32
+ } | {
33
+ __kind: 'Pyth';
34
+ price: bigint;
35
+ };
36
+ export type TriggerContextArgs = {
37
+ __kind: 'Account';
38
+ /** The account's data hash. */
39
+ dataHash: number | bigint;
40
+ } | {
41
+ __kind: 'Cron';
42
+ /** The threshold moment the schedule was waiting for. */
43
+ startedAt: number | bigint;
44
+ } | {
45
+ __kind: 'Now';
46
+ } | {
47
+ __kind: 'Slot';
48
+ /** The threshold slot the schedule was waiting for. */
49
+ startedAt: number | bigint;
50
+ } | {
51
+ __kind: 'Epoch';
52
+ /** The threshold epoch the schedule was waiting for. */
53
+ startedAt: number | bigint;
54
+ } | {
55
+ __kind: 'Timestamp';
56
+ /** The threshold moment the schedule was waiting for. */
57
+ startedAt: number | bigint;
58
+ } | {
59
+ __kind: 'Pyth';
60
+ price: number | bigint;
61
+ };
62
+ export declare function getTriggerContextEncoder(): Encoder<TriggerContextArgs>;
63
+ export declare function getTriggerContextDecoder(): Decoder<TriggerContext>;
64
+ export declare function getTriggerContextCodec(): Codec<TriggerContextArgs, TriggerContext>;
65
+ export declare function triggerContext(kind: 'Account', data: GetDiscriminatedUnionVariantContent<TriggerContextArgs, '__kind', 'Account'>): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Account'>;
66
+ export declare function triggerContext(kind: 'Cron', data: GetDiscriminatedUnionVariantContent<TriggerContextArgs, '__kind', 'Cron'>): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Cron'>;
67
+ export declare function triggerContext(kind: 'Now'): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Now'>;
68
+ export declare function triggerContext(kind: 'Slot', data: GetDiscriminatedUnionVariantContent<TriggerContextArgs, '__kind', 'Slot'>): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Slot'>;
69
+ export declare function triggerContext(kind: 'Epoch', data: GetDiscriminatedUnionVariantContent<TriggerContextArgs, '__kind', 'Epoch'>): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Epoch'>;
70
+ export declare function triggerContext(kind: 'Timestamp', data: GetDiscriminatedUnionVariantContent<TriggerContextArgs, '__kind', 'Timestamp'>): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Timestamp'>;
71
+ export declare function triggerContext(kind: 'Pyth', data: GetDiscriminatedUnionVariantContent<TriggerContextArgs, '__kind', 'Pyth'>): GetDiscriminatedUnionVariant<TriggerContextArgs, '__kind', 'Pyth'>;
72
+ export declare function isTriggerContext<K extends TriggerContext['__kind']>(kind: K, value: TriggerContext): value is TriggerContext & {
73
+ __kind: K;
74
+ };
75
+ //# sourceMappingURL=triggerContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggerContext.d.ts","sourceRoot":"","sources":["../../../../../src/codama/atlasnet/types/triggerContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAYL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACzC,MAAM,aAAa,CAAC;AAErB,+EAA+E;AAC/E,MAAM,MAAM,cAAc,GACtB;IACE,MAAM,EAAE,SAAS,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB,GACD;IACE,MAAM,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;CACnB,GACD;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE,GACjB;IACE,MAAM,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;CACnB,GACD;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;CACnB,GACD;IACE,MAAM,EAAE,WAAW,CAAC;IACpB,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;CACnB,GACD;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,MAAM,MAAM,kBAAkB,GAC1B;IACE,MAAM,EAAE,SAAS,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,GACD;IACE,MAAM,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,GACD;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE,GACjB;IACE,MAAM,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,GACD;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,wDA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E,QAAQ,EAAE,OAAO,CAAC,CAAC;AACvE,wBAAgB,cAAc,CAC5B,IAAI,EAAE,WAAW,EACjB,IAAI,EAAE,mCAAmC,CACvC,kBAAkB,EAClB,QAAQ,EACR,WAAW,CACZ,GACA,4BAA4B,CAAC,kBAAkB,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;AAC3E,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,mCAAmC,CACvC,kBAAkB,EAClB,QAAQ,EACR,MAAM,CACP,GACA,4BAA4B,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;AAUtE,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,cAAc,CAAC,QAAQ,CAAC,EACjE,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,cAAc,GACpB,KAAK,IAAI,cAAc,GAAG;IAAE,MAAM,EAAE,CAAC,CAAA;CAAE,CAEzC"}
@@ -8,7 +8,7 @@
8
8
  * 1. Edit network-configs.mjs
9
9
  * 2. Run `pnpm build` to regenerate
10
10
  *
11
- * Generated on: 2025-06-22T19:30:22.018Z
11
+ * Generated on: 2025-06-22T19:46:58.675Z
12
12
  */
13
13
  import { type Address } from '@solana/kit';
14
14
  export declare const SAGE_PROGRAM_ADDRESS: Address;
@@ -1,6 +1,6 @@
1
1
  export * from "./contract";
2
2
  export * from "./rental";
3
3
  export * from "./utils";
4
- export type { ContractState, RentalState, Fleet, CreateContractInstruction, AcceptRentalInstruction, CancelRentalInstruction, CloseRentalInstruction, CloseContractInstruction, ResetRentalInstruction, ClockData, ThreadResponse } from "./codama/devnet";
4
+ export type { ContractState, RentalState, Fleet, CreateContractInstruction, AcceptRentalInstruction, CancelRentalInstruction, CloseRentalInstruction, CloseContractInstruction, ResetRentalInstruction, ClockData, ThreadResponse } from "./codama/atlasnet";
5
5
  export { PaymentFrequency } from "./utils/constants";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AAIxB,YAAY,EAEV,aAAa,EACb,WAAW,EACX,KAAK,EAGL,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EAGtB,SAAS,EACT,cAAc,EACf,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AAIxB,YAAY,EAEV,aAAa,EACb,WAAW,EACX,KAAK,EAGL,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EAGtB,SAAS,EACT,cAAc,EACf,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,31 +1,54 @@
1
1
  /**
2
2
  * Network configuration for the SRSLY SDK
3
3
  */
4
- export type Network = 'mainnet' | 'devnet';
4
+ export type Network = 'mainnet' | 'atlasnet';
5
+ export type ProgramSet = 'mainnet' | 'atlasnet' | 'holosim';
5
6
  /**
6
7
  * Configuration options that can be set globally or overridden per call
7
8
  */
8
9
  export interface ConfigOptions {
9
10
  network?: Network;
11
+ programs?: ProgramSet;
12
+ srslyProgramAddress?: string;
10
13
  sageProgramAddress?: string;
11
14
  profileFactionProgramAddress?: string;
12
15
  gameId?: string;
13
16
  }
17
+ /**
18
+ * Resolve program addresses based on configuration
19
+ * @param config Effective configuration options
20
+ * @returns Resolved program addresses
21
+ */
22
+ export declare function resolveProgramAddresses(config: ConfigOptions): {
23
+ srslyProgramAddress: string;
24
+ sageProgramAddress: string;
25
+ profileFactionProgramAddress: string;
26
+ gameId: string;
27
+ };
14
28
  /**
15
29
  * Set global configuration options that will be used as defaults for all SDK operations
16
30
  * @param config Configuration options to set globally
17
31
  *
18
32
  * @example
19
33
  * ```typescript
20
- * // Set mainnet as default for all operations
34
+ * // Use mainnet IDL with default mainnet program addresses
21
35
  * setConfig({ network: 'mainnet' });
22
36
  *
23
- * // Now all operations use mainnet by default
24
- * await createContract(params); // Uses mainnet
25
- * await acceptRental(params); // Uses mainnet
37
+ * // Use atlasnet IDL with holosim program addresses
38
+ * setConfig({
39
+ * network: 'atlasnet',
40
+ * programs: 'holosim'
41
+ * });
42
+ *
43
+ * // Use atlasnet IDL with holosim programs but custom SAGE
44
+ * setConfig({
45
+ * network: 'atlasnet',
46
+ * programs: 'holosim',
47
+ * sageProgramAddress: 'custom-sage-program-id...'
48
+ * });
26
49
  *
27
50
  * // Can still override per instruction
28
- * await createContract(params).set({ network: 'devnet' }); // Uses devnet
51
+ * await createContract(params).set({ srslyProgramAddress: 'custom...' });
29
52
  * ```
30
53
  */
31
54
  export declare function setConfig(config: ConfigOptions): void;
@@ -35,43 +58,23 @@ export declare function setConfig(config: ConfigOptions): void;
35
58
  */
36
59
  export declare function getConfig(): ConfigOptions;
37
60
  /**
38
- * Clear global configuration (resets to devnet defaults)
61
+ * Clear global configuration (resets to atlasnet defaults)
39
62
  */
40
63
  export declare function clearConfig(): void;
41
- /**
42
- * Set global network (convenience function for backward compatibility)
43
- * @param network Network to set as global default
44
- *
45
- * @example
46
- * ```typescript
47
- * // Set mainnet as default for all operations
48
- * setNetwork('mainnet');
49
- *
50
- * // Equivalent to:
51
- * setConfig({ network: 'mainnet' });
52
- * ```
53
- */
54
- export declare function setNetwork(network: Network): void;
55
- /**
56
- * Get current global network (convenience function for backward compatibility)
57
- * @returns Current global network or 'devnet' if not set
58
- */
59
- export declare function getNetwork(): Network;
60
64
  /**
61
65
  * Type-safe helper for network-specific modules
62
66
  */
63
67
  export interface NetworkModules {
64
68
  instructions: any;
65
69
  programs: any;
66
- constants: any;
67
70
  }
68
71
  /**
69
72
  * Get network-specific modules using static imports (webpack compatible)
70
- * @param modulePath The module type ('instructions', 'programs', or 'constants')
71
- * @param network Network to use (defaults to current config network or devnet)
73
+ * @param modulePath The module type ('instructions' or 'programs')
74
+ * @param network Network to use for IDL selection (defaults to current config network or atlasnet)
72
75
  * @returns The network-specific module
73
76
  */
74
- export declare function getNetworkModule(modulePath: 'instructions' | 'programs' | 'constants', network?: Network): any;
77
+ export declare function getNetworkModule(modulePath: 'instructions' | 'programs', network?: Network): any;
75
78
  /**
76
79
  * @deprecated Use getNetworkModule instead. This function is kept for backward compatibility.
77
80
  * Get network-specific modules using static imports (webpack compatible)
@@ -96,7 +99,7 @@ export interface ConfigSelector<T> extends PromiseLike<T> {
96
99
  * This is the main entry point for the fluent configuration API.
97
100
  *
98
101
  * The returned selector can be:
99
- * - Awaited directly (uses global config + devnet fallback)
102
+ * - Awaited directly (uses global config + atlasnet fallback)
100
103
  * - Configured with .set() to override network/constants
101
104
  * - Chained with multiple .set() calls
102
105
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/utils/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,CAErD;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,aAAa,CAEzC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,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