@sentio/sdk 2.5.0 → 2.5.1-rc.2

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 (292) hide show
  1. package/lib/aptos/codegen/codegen.js +3 -3
  2. package/lib/aptos/codegen/codegen.js.map +1 -1
  3. package/lib/aptos/move-coder.js +2 -2
  4. package/lib/aptos/move-coder.js.map +1 -1
  5. package/lib/aptos/move-types.d.ts +5 -5
  6. package/lib/aptos/move-types.js +15 -15
  7. package/lib/aptos/move-types.js.map +1 -1
  8. package/lib/eth/codegen/event-handler.js.map +1 -1
  9. package/lib/eth/codegen/functions-handler.js +4 -9
  10. package/lib/eth/codegen/functions-handler.js.map +1 -1
  11. package/lib/eth/context.js.map +1 -1
  12. package/lib/eth/index.d.ts +0 -1
  13. package/lib/eth/index.js +0 -1
  14. package/lib/eth/index.js.map +1 -1
  15. package/lib/move/abstract-codegen.d.ts +12 -12
  16. package/lib/move/abstract-codegen.js +30 -36
  17. package/lib/move/abstract-codegen.js.map +1 -1
  18. package/lib/move/abstract-move-coder.d.ts +4 -4
  19. package/lib/move/abstract-move-coder.js +3 -3
  20. package/lib/move/abstract-move-coder.js.map +1 -1
  21. package/lib/move/account.d.ts +4 -7
  22. package/lib/move/account.js +2 -14
  23. package/lib/move/account.js.map +1 -1
  24. package/lib/move/internal-models.d.ts +34 -0
  25. package/lib/move/internal-models.js +7 -0
  26. package/lib/move/internal-models.js.map +1 -0
  27. package/lib/move/ts-type.js +1 -3
  28. package/lib/move/ts-type.js.map +1 -1
  29. package/lib/move/types.d.ts +1 -0
  30. package/lib/move/types.js +13 -25
  31. package/lib/move/types.js.map +1 -1
  32. package/lib/sui/codegen/codegen.js +5 -5
  33. package/lib/sui/codegen/codegen.js.map +1 -1
  34. package/lib/sui/move-coder.js +2 -2
  35. package/lib/sui/move-coder.js.map +1 -1
  36. package/lib/sui/move-types.d.ts +7 -7
  37. package/lib/sui/move-types.js +26 -25
  38. package/lib/sui/move-types.js.map +1 -1
  39. package/lib/sui/sui-processor.js.map +1 -1
  40. package/lib/sui/utils.d.ts +2 -2
  41. package/lib/sui/utils.js.map +1 -1
  42. package/lib/utils/dex-price.test.js.map +1 -1
  43. package/lib/utils/erc20.test.js.map +1 -1
  44. package/package.json +10 -13
  45. package/src/aptos/codegen/codegen.ts +7 -7
  46. package/src/aptos/move-coder.ts +2 -3
  47. package/src/aptos/move-types.ts +20 -20
  48. package/src/eth/codegen/event-handler.ts +1 -1
  49. package/src/eth/codegen/functions-handler.ts +4 -10
  50. package/src/eth/context.ts +0 -1
  51. package/src/eth/index.ts +0 -1
  52. package/src/move/abstract-codegen.ts +45 -50
  53. package/src/move/abstract-move-coder.ts +9 -9
  54. package/src/move/account.ts +6 -21
  55. package/src/move/internal-models.ts +40 -0
  56. package/src/move/ts-type.ts +1 -3
  57. package/src/move/types.ts +13 -33
  58. package/src/sui/codegen/codegen.ts +8 -8
  59. package/src/sui/move-coder.ts +2 -2
  60. package/src/sui/move-types.ts +32 -31
  61. package/src/sui/sui-processor.ts +1 -1
  62. package/src/sui/utils.ts +2 -2
  63. package/lib/aptos/tests/aptos.test.d.ts +0 -1
  64. package/lib/aptos/tests/aptos.test.js.map +0 -1
  65. package/lib/aptos/tests/souffl3.d.ts +0 -1
  66. package/lib/aptos/tests/souffl3.js +0 -43
  67. package/lib/aptos/tests/souffl3.js.map +0 -1
  68. package/lib/aptos/tests/types/index.d.ts +0 -3
  69. package/lib/aptos/tests/types/index.js +0 -7
  70. package/lib/aptos/tests/types/index.js.map +0 -1
  71. package/lib/aptos/tests/types/reserved.d.ts +0 -340
  72. package/lib/aptos/tests/types/reserved.js +0 -287
  73. package/lib/aptos/tests/types/reserved.js.map +0 -1
  74. package/lib/aptos/tests/types/soffl3.d.ts +0 -801
  75. package/lib/aptos/tests/types/soffl3.js +0 -514
  76. package/lib/aptos/tests/types/soffl3.js.map +0 -1
  77. package/lib/aptos/tests/types/souffle.d.ts +0 -335
  78. package/lib/aptos/tests/types/souffle.js +0 -281
  79. package/lib/aptos/tests/types/souffle.js.map +0 -1
  80. package/lib/eth/error.d.ts +0 -1
  81. package/lib/eth/error.js +0 -3
  82. package/lib/eth/error.js.map +0 -1
  83. package/lib/eth/tests/account.test.d.ts +0 -1
  84. package/lib/eth/tests/account.test.js.map +0 -1
  85. package/lib/eth/tests/codegen.test.d.ts +0 -1
  86. package/lib/eth/tests/codegen.test.js.map +0 -1
  87. package/lib/eth/tests/erc20-template.test.d.ts +0 -1
  88. package/lib/eth/tests/erc20-template.test.js.map +0 -1
  89. package/lib/eth/tests/erc20.d.ts +0 -1
  90. package/lib/eth/tests/erc20.js +0 -52
  91. package/lib/eth/tests/erc20.js.map +0 -1
  92. package/lib/eth/tests/erc20.test.d.ts +0 -1
  93. package/lib/eth/tests/erc20.test.js.map +0 -1
  94. package/lib/eth/tests/error-capture.test.d.ts +0 -1
  95. package/lib/eth/tests/error-capture.test.js.map +0 -1
  96. package/lib/eth/tests/logger.test.d.ts +0 -1
  97. package/lib/eth/tests/logger.test.js.map +0 -1
  98. package/lib/eth/tests/types/anyswaprouter.d.ts +0 -3
  99. package/lib/eth/tests/types/anyswaprouter.js +0 -7
  100. package/lib/eth/tests/types/anyswaprouter.js.map +0 -1
  101. package/lib/eth/tests/types/commitmentpool.d.ts +0 -3
  102. package/lib/eth/tests/types/commitmentpool.js +0 -7
  103. package/lib/eth/tests/types/commitmentpool.js.map +0 -1
  104. package/lib/eth/tests/types/index.d.ts +0 -12
  105. package/lib/eth/tests/types/index.js +0 -16
  106. package/lib/eth/tests/types/index.js.map +0 -1
  107. package/lib/eth/tests/types/internal/AnyswapRouter.d.ts +0 -122
  108. package/lib/eth/tests/types/internal/AnyswapRouter.js +0 -2
  109. package/lib/eth/tests/types/internal/AnyswapRouter.js.map +0 -1
  110. package/lib/eth/tests/types/internal/CommitmentPool.d.ts +0 -176
  111. package/lib/eth/tests/types/internal/CommitmentPool.js +0 -2
  112. package/lib/eth/tests/types/internal/CommitmentPool.js.map +0 -1
  113. package/lib/eth/tests/types/internal/MembershipStakerV3.d.ts +0 -81
  114. package/lib/eth/tests/types/internal/MembershipStakerV3.js +0 -2
  115. package/lib/eth/tests/types/internal/MembershipStakerV3.js.map +0 -1
  116. package/lib/eth/tests/types/internal/Pyth.d.ts +0 -204
  117. package/lib/eth/tests/types/internal/Pyth.js +0 -2
  118. package/lib/eth/tests/types/internal/Pyth.js.map +0 -1
  119. package/lib/eth/tests/types/internal/Seaport.d.ts +0 -350
  120. package/lib/eth/tests/types/internal/Seaport.js +0 -2
  121. package/lib/eth/tests/types/internal/Seaport.js.map +0 -1
  122. package/lib/eth/tests/types/internal/TokenExchange.d.ts +0 -128
  123. package/lib/eth/tests/types/internal/TokenExchange.js +0 -2
  124. package/lib/eth/tests/types/internal/TokenExchange.js.map +0 -1
  125. package/lib/eth/tests/types/internal/anyswaprouter-processor.d.ts +0 -463
  126. package/lib/eth/tests/types/internal/anyswaprouter-processor.js +0 -425
  127. package/lib/eth/tests/types/internal/anyswaprouter-processor.js.map +0 -1
  128. package/lib/eth/tests/types/internal/anyswaprouter-test-utils.d.ts +0 -9
  129. package/lib/eth/tests/types/internal/anyswaprouter-test-utils.js +0 -124
  130. package/lib/eth/tests/types/internal/anyswaprouter-test-utils.js.map +0 -1
  131. package/lib/eth/tests/types/internal/commitmentpool-processor.d.ts +0 -348
  132. package/lib/eth/tests/types/internal/commitmentpool-processor.js +0 -607
  133. package/lib/eth/tests/types/internal/commitmentpool-processor.js.map +0 -1
  134. package/lib/eth/tests/types/internal/commitmentpool-test-utils.d.ts +0 -9
  135. package/lib/eth/tests/types/internal/commitmentpool-test-utils.js +0 -87
  136. package/lib/eth/tests/types/internal/commitmentpool-test-utils.js.map +0 -1
  137. package/lib/eth/tests/types/internal/common.d.ts +0 -10
  138. package/lib/eth/tests/types/internal/common.js +0 -8
  139. package/lib/eth/tests/types/internal/common.js.map +0 -1
  140. package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.d.ts +0 -988
  141. package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.js +0 -1269
  142. package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.js.map +0 -1
  143. package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.d.ts +0 -792
  144. package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.js +0 -1040
  145. package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.js.map +0 -1
  146. package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.d.ts +0 -549
  147. package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.js +0 -721
  148. package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.js.map +0 -1
  149. package/lib/eth/tests/types/internal/factories/Pyth__factory.d.ts +0 -1130
  150. package/lib/eth/tests/types/internal/factories/Pyth__factory.js +0 -1486
  151. package/lib/eth/tests/types/internal/factories/Pyth__factory.js.map +0 -1
  152. package/lib/eth/tests/types/internal/factories/Seaport__factory.d.ts +0 -2018
  153. package/lib/eth/tests/types/internal/factories/Seaport__factory.js +0 -2610
  154. package/lib/eth/tests/types/internal/factories/Seaport__factory.js.map +0 -1
  155. package/lib/eth/tests/types/internal/factories/TokenExchange__factory.d.ts +0 -651
  156. package/lib/eth/tests/types/internal/factories/TokenExchange__factory.js +0 -853
  157. package/lib/eth/tests/types/internal/factories/TokenExchange__factory.js.map +0 -1
  158. package/lib/eth/tests/types/internal/factories/index.d.ts +0 -6
  159. package/lib/eth/tests/types/internal/factories/index.js +0 -10
  160. package/lib/eth/tests/types/internal/factories/index.js.map +0 -1
  161. package/lib/eth/tests/types/internal/index.d.ts +0 -13
  162. package/lib/eth/tests/types/internal/index.js +0 -8
  163. package/lib/eth/tests/types/internal/index.js.map +0 -1
  164. package/lib/eth/tests/types/internal/membershipstakerv3-processor.d.ts +0 -287
  165. package/lib/eth/tests/types/internal/membershipstakerv3-processor.js +0 -596
  166. package/lib/eth/tests/types/internal/membershipstakerv3-processor.js.map +0 -1
  167. package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.d.ts +0 -11
  168. package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.js +0 -109
  169. package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.js.map +0 -1
  170. package/lib/eth/tests/types/internal/pyth-processor.d.ts +0 -422
  171. package/lib/eth/tests/types/internal/pyth-processor.js +0 -890
  172. package/lib/eth/tests/types/internal/pyth-processor.js.map +0 -1
  173. package/lib/eth/tests/types/internal/pyth-test-utils.d.ts +0 -13
  174. package/lib/eth/tests/types/internal/pyth-test-utils.js +0 -131
  175. package/lib/eth/tests/types/internal/pyth-test-utils.js.map +0 -1
  176. package/lib/eth/tests/types/internal/seaport-processor.d.ts +0 -211
  177. package/lib/eth/tests/types/internal/seaport-processor.js +0 -237
  178. package/lib/eth/tests/types/internal/seaport-processor.js.map +0 -1
  179. package/lib/eth/tests/types/internal/seaport-test-utils.d.ts +0 -6
  180. package/lib/eth/tests/types/internal/seaport-test-utils.js +0 -61
  181. package/lib/eth/tests/types/internal/seaport-test-utils.js.map +0 -1
  182. package/lib/eth/tests/types/internal/tokenexchange-processor.d.ts +0 -334
  183. package/lib/eth/tests/types/internal/tokenexchange-processor.js +0 -667
  184. package/lib/eth/tests/types/internal/tokenexchange-processor.js.map +0 -1
  185. package/lib/eth/tests/types/internal/tokenexchange-test-utils.d.ts +0 -13
  186. package/lib/eth/tests/types/internal/tokenexchange-test-utils.js +0 -149
  187. package/lib/eth/tests/types/internal/tokenexchange-test-utils.js.map +0 -1
  188. package/lib/eth/tests/types/membershipstakerv3.d.ts +0 -3
  189. package/lib/eth/tests/types/membershipstakerv3.js +0 -7
  190. package/lib/eth/tests/types/membershipstakerv3.js.map +0 -1
  191. package/lib/eth/tests/types/pyth.d.ts +0 -3
  192. package/lib/eth/tests/types/pyth.js +0 -7
  193. package/lib/eth/tests/types/pyth.js.map +0 -1
  194. package/lib/eth/tests/types/seaport.d.ts +0 -3
  195. package/lib/eth/tests/types/seaport.js +0 -7
  196. package/lib/eth/tests/types/seaport.js.map +0 -1
  197. package/lib/eth/tests/types/tokenexchange.d.ts +0 -3
  198. package/lib/eth/tests/types/tokenexchange.js +0 -7
  199. package/lib/eth/tests/types/tokenexchange.js.map +0 -1
  200. package/lib/move/neutral-models.d.ts +0 -34
  201. package/lib/move/neutral-models.js +0 -7
  202. package/lib/move/neutral-models.js.map +0 -1
  203. package/lib/solana/tests/solana.test.d.ts +0 -1
  204. package/lib/solana/tests/solana.test.js.map +0 -1
  205. package/lib/solana/tests/types/basic_1.d.ts +0 -26
  206. package/lib/solana/tests/types/basic_1.js +0 -63
  207. package/lib/solana/tests/types/basic_1.js.map +0 -1
  208. package/lib/solana/tests/types/basic_1_processor.d.ts +0 -21
  209. package/lib/solana/tests/types/basic_1_processor.js +0 -35
  210. package/lib/solana/tests/types/basic_1_processor.js.map +0 -1
  211. package/lib/solana/tests/types/token_bridge.d.ts +0 -29
  212. package/lib/solana/tests/types/token_bridge.js +0 -938
  213. package/lib/solana/tests/types/token_bridge.js.map +0 -1
  214. package/lib/solana/tests/types/token_bridge_processor.d.ts +0 -212
  215. package/lib/solana/tests/types/token_bridge_processor.js +0 -134
  216. package/lib/solana/tests/types/token_bridge_processor.js.map +0 -1
  217. package/lib/solana/tests/wormhole-token-bridge.d.ts +0 -15
  218. package/lib/solana/tests/wormhole-token-bridge.js +0 -79
  219. package/lib/solana/tests/wormhole-token-bridge.js.map +0 -1
  220. package/lib/sui/tests/sui.test.d.ts +0 -1
  221. package/lib/sui/tests/sui.test.js.map +0 -1
  222. package/lib/sui/tests/types/index.d.ts +0 -1
  223. package/lib/sui/tests/types/index.js +0 -5
  224. package/lib/sui/tests/types/index.js.map +0 -1
  225. package/lib/sui/tests/types/testnet/index.d.ts +0 -1
  226. package/lib/sui/tests/types/testnet/index.js +0 -5
  227. package/lib/sui/tests/types/testnet/index.js.map +0 -1
  228. package/lib/sui/tests/types/testnet/swap.d.ts +0 -249
  229. package/lib/sui/tests/types/testnet/swap.js +0 -310
  230. package/lib/sui/tests/types/testnet/swap.js.map +0 -1
  231. package/src/aptos/tests/abis/reserved.json +0 -402
  232. package/src/aptos/tests/abis/soffl3.json +0 -1411
  233. package/src/aptos/tests/abis/souffle.json +0 -389
  234. package/src/aptos/tests/souffl3.ts +0 -56
  235. package/src/aptos/tests/types/index.ts +0 -6
  236. package/src/aptos/tests/types/reserved.ts +0 -766
  237. package/src/aptos/tests/types/soffl3.ts +0 -1528
  238. package/src/aptos/tests/types/souffle.ts +0 -765
  239. package/src/eth/error.ts +0 -4
  240. package/src/eth/tests/abis/eth/CommitmentPool.json +0 -1034
  241. package/src/eth/tests/abis/eth/MembershipStakerV3.json +0 -706
  242. package/src/eth/tests/abis/eth/Pyth.json +0 -1471
  243. package/src/eth/tests/abis/eth/Seaport.json +0 -2595
  244. package/src/eth/tests/abis/eth/TokenExchange.json +0 -838
  245. package/src/eth/tests/abis/eth/anyswapRouter.json +0 -490
  246. package/src/eth/tests/erc20.ts +0 -63
  247. package/src/eth/tests/types/anyswaprouter.ts +0 -7
  248. package/src/eth/tests/types/commitmentpool.ts +0 -7
  249. package/src/eth/tests/types/index.ts +0 -33
  250. package/src/eth/tests/types/internal/AnyswapRouter.ts +0 -122
  251. package/src/eth/tests/types/internal/CommitmentPool.ts +0 -208
  252. package/src/eth/tests/types/internal/MembershipStakerV3.ts +0 -108
  253. package/src/eth/tests/types/internal/Pyth.ts +0 -246
  254. package/src/eth/tests/types/internal/Seaport.ts +0 -389
  255. package/src/eth/tests/types/internal/TokenExchange.ts +0 -142
  256. package/src/eth/tests/types/internal/anyswaprouter-processor.ts +0 -1396
  257. package/src/eth/tests/types/internal/anyswaprouter-test-utils.ts +0 -187
  258. package/src/eth/tests/types/internal/commitmentpool-processor.ts +0 -1575
  259. package/src/eth/tests/types/internal/commitmentpool-test-utils.ts +0 -150
  260. package/src/eth/tests/types/internal/common.ts +0 -23
  261. package/src/eth/tests/types/internal/factories/AnyswapRouter__factory.ts +0 -1278
  262. package/src/eth/tests/types/internal/factories/CommitmentPool__factory.ts +0 -1049
  263. package/src/eth/tests/types/internal/factories/MembershipStakerV3__factory.ts +0 -730
  264. package/src/eth/tests/types/internal/factories/Pyth__factory.ts +0 -1492
  265. package/src/eth/tests/types/internal/factories/Seaport__factory.ts +0 -2616
  266. package/src/eth/tests/types/internal/factories/TokenExchange__factory.ts +0 -862
  267. package/src/eth/tests/types/internal/factories/index.ts +0 -9
  268. package/src/eth/tests/types/internal/index.ts +0 -16
  269. package/src/eth/tests/types/internal/membershipstakerv3-processor.ts +0 -1399
  270. package/src/eth/tests/types/internal/membershipstakerv3-test-utils.ts +0 -188
  271. package/src/eth/tests/types/internal/pyth-processor.ts +0 -2043
  272. package/src/eth/tests/types/internal/pyth-test-utils.ts +0 -226
  273. package/src/eth/tests/types/internal/seaport-processor.ts +0 -678
  274. package/src/eth/tests/types/internal/seaport-test-utils.ts +0 -100
  275. package/src/eth/tests/types/internal/tokenexchange-processor.ts +0 -1570
  276. package/src/eth/tests/types/internal/tokenexchange-test-utils.ts +0 -244
  277. package/src/eth/tests/types/membershipstakerv3.ts +0 -7
  278. package/src/eth/tests/types/pyth.ts +0 -7
  279. package/src/eth/tests/types/seaport.ts +0 -7
  280. package/src/eth/tests/types/tokenexchange.ts +0 -7
  281. package/src/move/neutral-models.ts +0 -45
  282. package/src/solana/tests/abis/basic_1.json +0 -62
  283. package/src/solana/tests/abis/token_bridge.json +0 -937
  284. package/src/solana/tests/types/basic_1.ts +0 -62
  285. package/src/solana/tests/types/basic_1_processor.ts +0 -42
  286. package/src/solana/tests/types/token_bridge.ts +0 -937
  287. package/src/solana/tests/types/token_bridge_processor.ts +0 -150
  288. package/src/solana/tests/wormhole-token-bridge.ts +0 -96
  289. package/src/sui/tests/abis/testnet/swap.json +0 -1752
  290. package/src/sui/tests/types/index.ts +0 -3
  291. package/src/sui/tests/types/testnet/index.ts +0 -4
  292. package/src/sui/tests/types/testnet/swap.ts +0 -698
@@ -1,389 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type { BaseContract, BigNumberish, BytesLike, Interface } from "ethers";
5
- import type { ContractRunner } from "ethers/providers";
6
- import type { TypedEventFilter, TypedEvent, PromiseOrValue } from "./common.js";
7
-
8
- export type SpentItemStruct = {
9
- itemType: BigNumberish;
10
- token: string;
11
- identifier: BigNumberish;
12
- amount: BigNumberish;
13
- };
14
-
15
- export type SpentItemStructOutput = [bigint, string, bigint, bigint] & {
16
- itemType: bigint;
17
- token: string;
18
- identifier: bigint;
19
- amount: bigint;
20
- };
21
-
22
- export type ReceivedItemStruct = {
23
- itemType: BigNumberish;
24
- token: string;
25
- identifier: BigNumberish;
26
- amount: BigNumberish;
27
- recipient: string;
28
- };
29
-
30
- export type ReceivedItemStructOutput = [
31
- bigint,
32
- string,
33
- bigint,
34
- bigint,
35
- string
36
- ] & {
37
- itemType: bigint;
38
- token: string;
39
- identifier: bigint;
40
- amount: bigint;
41
- recipient: string;
42
- };
43
-
44
- export type OfferItemStruct = {
45
- itemType: BigNumberish;
46
- token: string;
47
- identifierOrCriteria: BigNumberish;
48
- startAmount: BigNumberish;
49
- endAmount: BigNumberish;
50
- };
51
-
52
- export type OfferItemStructOutput = [bigint, string, bigint, bigint, bigint] & {
53
- itemType: bigint;
54
- token: string;
55
- identifierOrCriteria: bigint;
56
- startAmount: bigint;
57
- endAmount: bigint;
58
- };
59
-
60
- export type ConsiderationItemStruct = {
61
- itemType: BigNumberish;
62
- token: string;
63
- identifierOrCriteria: BigNumberish;
64
- startAmount: BigNumberish;
65
- endAmount: BigNumberish;
66
- recipient: string;
67
- };
68
-
69
- export type ConsiderationItemStructOutput = [
70
- bigint,
71
- string,
72
- bigint,
73
- bigint,
74
- bigint,
75
- string
76
- ] & {
77
- itemType: bigint;
78
- token: string;
79
- identifierOrCriteria: bigint;
80
- startAmount: bigint;
81
- endAmount: bigint;
82
- recipient: string;
83
- };
84
-
85
- export type OrderComponentsStruct = {
86
- offerer: string;
87
- zone: string;
88
- offer: OfferItemStruct[];
89
- consideration: ConsiderationItemStruct[];
90
- orderType: BigNumberish;
91
- startTime: BigNumberish;
92
- endTime: BigNumberish;
93
- zoneHash: BytesLike;
94
- salt: BigNumberish;
95
- conduitKey: BytesLike;
96
- counter: BigNumberish;
97
- };
98
-
99
- export type OrderComponentsStructOutput = [
100
- string,
101
- string,
102
- OfferItemStructOutput[],
103
- ConsiderationItemStructOutput[],
104
- bigint,
105
- bigint,
106
- bigint,
107
- string,
108
- bigint,
109
- string,
110
- bigint
111
- ] & {
112
- offerer: string;
113
- zone: string;
114
- offer: OfferItemStructOutput[];
115
- consideration: ConsiderationItemStructOutput[];
116
- orderType: bigint;
117
- startTime: bigint;
118
- endTime: bigint;
119
- zoneHash: string;
120
- salt: bigint;
121
- conduitKey: string;
122
- counter: bigint;
123
- };
124
-
125
- export type OrderParametersStruct = {
126
- offerer: string;
127
- zone: string;
128
- offer: OfferItemStruct[];
129
- consideration: ConsiderationItemStruct[];
130
- orderType: BigNumberish;
131
- startTime: BigNumberish;
132
- endTime: BigNumberish;
133
- zoneHash: BytesLike;
134
- salt: BigNumberish;
135
- conduitKey: BytesLike;
136
- totalOriginalConsiderationItems: BigNumberish;
137
- };
138
-
139
- export type OrderParametersStructOutput = [
140
- string,
141
- string,
142
- OfferItemStructOutput[],
143
- ConsiderationItemStructOutput[],
144
- bigint,
145
- bigint,
146
- bigint,
147
- string,
148
- bigint,
149
- string,
150
- bigint
151
- ] & {
152
- offerer: string;
153
- zone: string;
154
- offer: OfferItemStructOutput[];
155
- consideration: ConsiderationItemStructOutput[];
156
- orderType: bigint;
157
- startTime: bigint;
158
- endTime: bigint;
159
- zoneHash: string;
160
- salt: bigint;
161
- conduitKey: string;
162
- totalOriginalConsiderationItems: bigint;
163
- };
164
-
165
- export type AdvancedOrderStruct = {
166
- parameters: OrderParametersStruct;
167
- numerator: BigNumberish;
168
- denominator: BigNumberish;
169
- signature: BytesLike;
170
- extraData: BytesLike;
171
- };
172
-
173
- export type AdvancedOrderStructOutput = [
174
- OrderParametersStructOutput,
175
- bigint,
176
- bigint,
177
- string,
178
- string
179
- ] & {
180
- parameters: OrderParametersStructOutput;
181
- numerator: bigint;
182
- denominator: bigint;
183
- signature: string;
184
- extraData: string;
185
- };
186
-
187
- export type CriteriaResolverStruct = {
188
- orderIndex: BigNumberish;
189
- side: BigNumberish;
190
- index: BigNumberish;
191
- identifier: BigNumberish;
192
- criteriaProof: BytesLike[];
193
- };
194
-
195
- export type CriteriaResolverStructOutput = [
196
- bigint,
197
- bigint,
198
- bigint,
199
- bigint,
200
- string[]
201
- ] & {
202
- orderIndex: bigint;
203
- side: bigint;
204
- index: bigint;
205
- identifier: bigint;
206
- criteriaProof: string[];
207
- };
208
-
209
- export type FulfillmentComponentStruct = {
210
- orderIndex: BigNumberish;
211
- itemIndex: BigNumberish;
212
- };
213
-
214
- export type FulfillmentComponentStructOutput = [bigint, bigint] & {
215
- orderIndex: bigint;
216
- itemIndex: bigint;
217
- };
218
-
219
- export type ExecutionStruct = {
220
- item: ReceivedItemStruct;
221
- offerer: string;
222
- conduitKey: BytesLike;
223
- };
224
-
225
- export type ExecutionStructOutput = [
226
- ReceivedItemStructOutput,
227
- string,
228
- string
229
- ] & { item: ReceivedItemStructOutput; offerer: string; conduitKey: string };
230
-
231
- export type OrderStruct = {
232
- parameters: OrderParametersStruct;
233
- signature: BytesLike;
234
- };
235
-
236
- export type OrderStructOutput = [OrderParametersStructOutput, string] & {
237
- parameters: OrderParametersStructOutput;
238
- signature: string;
239
- };
240
-
241
- export type AdditionalRecipientStruct = {
242
- amount: BigNumberish;
243
- recipient: string;
244
- };
245
-
246
- export type AdditionalRecipientStructOutput = [bigint, string] & {
247
- amount: bigint;
248
- recipient: string;
249
- };
250
-
251
- export type BasicOrderParametersStruct = {
252
- considerationToken: string;
253
- considerationIdentifier: BigNumberish;
254
- considerationAmount: BigNumberish;
255
- offerer: string;
256
- zone: string;
257
- offerToken: string;
258
- offerIdentifier: BigNumberish;
259
- offerAmount: BigNumberish;
260
- basicOrderType: BigNumberish;
261
- startTime: BigNumberish;
262
- endTime: BigNumberish;
263
- zoneHash: BytesLike;
264
- salt: BigNumberish;
265
- offererConduitKey: BytesLike;
266
- fulfillerConduitKey: BytesLike;
267
- totalOriginalAdditionalRecipients: BigNumberish;
268
- additionalRecipients: AdditionalRecipientStruct[];
269
- signature: BytesLike;
270
- };
271
-
272
- export type BasicOrderParametersStructOutput = [
273
- string,
274
- bigint,
275
- bigint,
276
- string,
277
- string,
278
- string,
279
- bigint,
280
- bigint,
281
- bigint,
282
- bigint,
283
- bigint,
284
- string,
285
- bigint,
286
- string,
287
- string,
288
- bigint,
289
- AdditionalRecipientStructOutput[],
290
- string
291
- ] & {
292
- considerationToken: string;
293
- considerationIdentifier: bigint;
294
- considerationAmount: bigint;
295
- offerer: string;
296
- zone: string;
297
- offerToken: string;
298
- offerIdentifier: bigint;
299
- offerAmount: bigint;
300
- basicOrderType: bigint;
301
- startTime: bigint;
302
- endTime: bigint;
303
- zoneHash: string;
304
- salt: bigint;
305
- offererConduitKey: string;
306
- fulfillerConduitKey: string;
307
- totalOriginalAdditionalRecipients: bigint;
308
- additionalRecipients: AdditionalRecipientStructOutput[];
309
- signature: string;
310
- };
311
-
312
- export type FulfillmentStruct = {
313
- offerComponents: FulfillmentComponentStruct[];
314
- considerationComponents: FulfillmentComponentStruct[];
315
- };
316
-
317
- export type FulfillmentStructOutput = [
318
- FulfillmentComponentStructOutput[],
319
- FulfillmentComponentStructOutput[]
320
- ] & {
321
- offerComponents: FulfillmentComponentStructOutput[];
322
- considerationComponents: FulfillmentComponentStructOutput[];
323
- };
324
-
325
- export interface SeaportInterface extends Interface {}
326
-
327
- export interface CounterIncrementedEventObject {
328
- newCounter: bigint;
329
- offerer: string;
330
- }
331
- export type CounterIncrementedEvent = TypedEvent<
332
- [bigint, string],
333
- CounterIncrementedEventObject
334
- >;
335
-
336
- export type CounterIncrementedEventFilter =
337
- TypedEventFilter<CounterIncrementedEvent>;
338
-
339
- export interface OrderCancelledEventObject {
340
- orderHash: string;
341
- offerer: string;
342
- zone: string;
343
- }
344
- export type OrderCancelledEvent = TypedEvent<
345
- [string, string, string],
346
- OrderCancelledEventObject
347
- >;
348
-
349
- export type OrderCancelledEventFilter = TypedEventFilter<OrderCancelledEvent>;
350
-
351
- export interface OrderFulfilledEventObject {
352
- orderHash: string;
353
- offerer: string;
354
- zone: string;
355
- recipient: string;
356
- offer: SpentItemStructOutput[];
357
- consideration: ReceivedItemStructOutput[];
358
- }
359
- export type OrderFulfilledEvent = TypedEvent<
360
- [
361
- string,
362
- string,
363
- string,
364
- string,
365
- SpentItemStructOutput[],
366
- ReceivedItemStructOutput[]
367
- ],
368
- OrderFulfilledEventObject
369
- >;
370
-
371
- export type OrderFulfilledEventFilter = TypedEventFilter<OrderFulfilledEvent>;
372
-
373
- export interface OrderValidatedEventObject {
374
- orderHash: string;
375
- offerer: string;
376
- zone: string;
377
- }
378
- export type OrderValidatedEvent = TypedEvent<
379
- [string, string, string],
380
- OrderValidatedEventObject
381
- >;
382
-
383
- export type OrderValidatedEventFilter = TypedEventFilter<OrderValidatedEvent>;
384
-
385
- export interface Seaport extends BaseContract {
386
- connect(runner: null | ContractRunner): this;
387
-
388
- interface: SeaportInterface;
389
- }
@@ -1,142 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type { BaseContract, Interface } from "ethers";
5
- import type { ContractRunner } from "ethers/providers";
6
- import type { TypedEventFilter, TypedEvent, PromiseOrValue } from "./common.js";
7
-
8
- export interface TokenExchangeInterface extends Interface {}
9
-
10
- export interface TokenExchangeEventObject {
11
- buyer: string;
12
- sold_id: bigint;
13
- tokens_sold: bigint;
14
- bought_id: bigint;
15
- tokens_bought: bigint;
16
- }
17
- export type TokenExchangeEvent = TypedEvent<
18
- [string, bigint, bigint, bigint, bigint],
19
- TokenExchangeEventObject
20
- >;
21
-
22
- export type TokenExchangeEventFilter = TypedEventFilter<TokenExchangeEvent>;
23
-
24
- export interface AddLiquidityEventObject {
25
- provider: string;
26
- token_amounts: [bigint, bigint, bigint];
27
- fees: [bigint, bigint, bigint];
28
- invariant: bigint;
29
- token_supply: bigint;
30
- }
31
- export type AddLiquidityEvent = TypedEvent<
32
- [string, [bigint, bigint, bigint], [bigint, bigint, bigint], bigint, bigint],
33
- AddLiquidityEventObject
34
- >;
35
-
36
- export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
37
-
38
- export interface RemoveLiquidityEventObject {
39
- provider: string;
40
- token_amounts: [bigint, bigint, bigint];
41
- fees: [bigint, bigint, bigint];
42
- token_supply: bigint;
43
- }
44
- export type RemoveLiquidityEvent = TypedEvent<
45
- [string, [bigint, bigint, bigint], [bigint, bigint, bigint], bigint],
46
- RemoveLiquidityEventObject
47
- >;
48
-
49
- export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
50
-
51
- export interface RemoveLiquidityOneEventObject {
52
- provider: string;
53
- token_amount: bigint;
54
- coin_amount: bigint;
55
- }
56
- export type RemoveLiquidityOneEvent = TypedEvent<
57
- [string, bigint, bigint],
58
- RemoveLiquidityOneEventObject
59
- >;
60
-
61
- export type RemoveLiquidityOneEventFilter =
62
- TypedEventFilter<RemoveLiquidityOneEvent>;
63
-
64
- export interface RemoveLiquidityImbalanceEventObject {
65
- provider: string;
66
- token_amounts: [bigint, bigint, bigint];
67
- fees: [bigint, bigint, bigint];
68
- invariant: bigint;
69
- token_supply: bigint;
70
- }
71
- export type RemoveLiquidityImbalanceEvent = TypedEvent<
72
- [string, [bigint, bigint, bigint], [bigint, bigint, bigint], bigint, bigint],
73
- RemoveLiquidityImbalanceEventObject
74
- >;
75
-
76
- export type RemoveLiquidityImbalanceEventFilter =
77
- TypedEventFilter<RemoveLiquidityImbalanceEvent>;
78
-
79
- export interface CommitNewAdminEventObject {
80
- deadline: bigint;
81
- admin: string;
82
- }
83
- export type CommitNewAdminEvent = TypedEvent<
84
- [bigint, string],
85
- CommitNewAdminEventObject
86
- >;
87
-
88
- export type CommitNewAdminEventFilter = TypedEventFilter<CommitNewAdminEvent>;
89
-
90
- export interface NewAdminEventObject {
91
- admin: string;
92
- }
93
- export type NewAdminEvent = TypedEvent<[string], NewAdminEventObject>;
94
-
95
- export type NewAdminEventFilter = TypedEventFilter<NewAdminEvent>;
96
-
97
- export interface CommitNewFeeEventObject {
98
- deadline: bigint;
99
- fee: bigint;
100
- admin_fee: bigint;
101
- }
102
- export type CommitNewFeeEvent = TypedEvent<
103
- [bigint, bigint, bigint],
104
- CommitNewFeeEventObject
105
- >;
106
-
107
- export type CommitNewFeeEventFilter = TypedEventFilter<CommitNewFeeEvent>;
108
-
109
- export interface NewFeeEventObject {
110
- fee: bigint;
111
- admin_fee: bigint;
112
- }
113
- export type NewFeeEvent = TypedEvent<[bigint, bigint], NewFeeEventObject>;
114
-
115
- export type NewFeeEventFilter = TypedEventFilter<NewFeeEvent>;
116
-
117
- export interface RampAEventObject {
118
- old_A: bigint;
119
- new_A: bigint;
120
- initial_time: bigint;
121
- future_time: bigint;
122
- }
123
- export type RampAEvent = TypedEvent<
124
- [bigint, bigint, bigint, bigint],
125
- RampAEventObject
126
- >;
127
-
128
- export type RampAEventFilter = TypedEventFilter<RampAEvent>;
129
-
130
- export interface StopRampAEventObject {
131
- A: bigint;
132
- t: bigint;
133
- }
134
- export type StopRampAEvent = TypedEvent<[bigint, bigint], StopRampAEventObject>;
135
-
136
- export type StopRampAEventFilter = TypedEventFilter<StopRampAEvent>;
137
-
138
- export interface TokenExchange extends BaseContract {
139
- connect(runner: null | ContractRunner): this;
140
-
141
- interface: TokenExchangeInterface;
142
- }