@zkp2p/contracts-v2 0.0.11 → 0.1.11-rc.3

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 (253) hide show
  1. package/_cjs/abis/base/index.js +0 -1
  2. package/_cjs/abis/base.cjs +0 -1
  3. package/_cjs/abis/base.mjs +0 -1
  4. package/_cjs/abis/{base/AcrossBridgeHook.js → baseStaging/AcrossBridgeHookV2.js} +78 -65
  5. package/{abis/base/AcrossBridgeHook.json → _cjs/abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
  6. package/_cjs/abis/baseStaging/ChainlinkOracleAdapter.js +52 -0
  7. package/_cjs/abis/baseStaging/ChainlinkOracleAdapter.json +50 -0
  8. package/_cjs/abis/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +969 -384
  9. package/{abis/baseSepolia/Escrow.json → _cjs/abis/baseStaging/EscrowV2.json} +969 -384
  10. package/_cjs/abis/{baseSepolia/RelayerRegistry.js → baseStaging/OrchestratorRegistry.js} +40 -50
  11. package/{abis/baseSepolia/RelayerRegistry.json → _cjs/abis/baseStaging/OrchestratorRegistry.json} +40 -50
  12. package/_cjs/abis/{baseSepolia/Orchestrator.js → baseStaging/OrchestratorV2.js} +262 -67
  13. package/{abis/baseSepolia/Orchestrator.json → _cjs/abis/baseStaging/OrchestratorV2.json} +262 -67
  14. package/_cjs/abis/{baseSepolia/ProtocolViewer.js → baseStaging/ProtocolViewerV2.js} +79 -390
  15. package/{_esm/abis/baseSepolia/ProtocolViewer.json → _cjs/abis/baseStaging/ProtocolViewerV2.json} +79 -390
  16. package/_cjs/abis/baseStaging/RateManagerV1.js +1234 -0
  17. package/_cjs/abis/baseStaging/RateManagerV1.json +1232 -0
  18. package/_cjs/abis/{baseSepolia/USDCMock.js → baseStaging/SignatureGatingPreIntentHook.js} +146 -149
  19. package/{abis/baseSepolia/USDCMock.json → _cjs/abis/baseStaging/SignatureGatingPreIntentHook.json} +146 -149
  20. package/_cjs/abis/{baseSepolia/UnifiedPaymentVerifier.js → baseStaging/UnifiedPaymentVerifierV2.js} +4 -4
  21. package/{abis/baseSepolia/UnifiedPaymentVerifier.json → _cjs/abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
  22. package/_cjs/abis/baseStaging/WhitelistPreIntentHook.js +336 -0
  23. package/_cjs/abis/baseStaging/WhitelistPreIntentHook.json +334 -0
  24. package/_cjs/abis/baseStaging/index.js +10 -0
  25. package/_cjs/abis/baseStaging.cjs +11 -1
  26. package/_cjs/abis/baseStaging.mjs +10 -0
  27. package/_cjs/abis/index.js +0 -1
  28. package/_cjs/addresses/base.js +13 -3
  29. package/_cjs/addresses/base.json +13 -3
  30. package/_cjs/addresses/baseStaging.js +13 -3
  31. package/_cjs/addresses/baseStaging.json +13 -3
  32. package/_cjs/addresses/index.js +0 -1
  33. package/_cjs/addresses/index.json +1 -2
  34. package/_cjs/constants/index.json +1 -1
  35. package/_cjs/paymentMethods/base.js +1 -11
  36. package/_cjs/paymentMethods/base.json +1 -11
  37. package/_cjs/paymentMethods/baseSepolia.js +1 -1
  38. package/_cjs/paymentMethods/baseSepolia.json +1 -1
  39. package/_cjs/paymentMethods/baseStaging.js +1 -11
  40. package/_cjs/paymentMethods/baseStaging.json +1 -11
  41. package/_cjs/paymentMethods/index.json +1 -1
  42. package/_cjs/types/contracts/EscrowV2.js +3328 -0
  43. package/_cjs/types/contracts/OrchestratorV2.js +1551 -0
  44. package/_cjs/types/contracts/ProtocolViewer.js +51 -90
  45. package/_cjs/types/contracts/ProtocolViewerV2.js +458 -0
  46. package/_cjs/types/contracts/RateManagerV1.js +1553 -0
  47. package/_cjs/types/contracts/external/Interfaces/index.js +0 -1
  48. package/{_esm/types/contracts/hooks/AcrossSwapBridgeHook.js → _cjs/types/contracts/hooks/AcrossBridgeHookV2.js} +56 -86
  49. package/_cjs/types/contracts/hooks/SignatureGatingPreIntentHook.js +351 -0
  50. package/_cjs/types/contracts/hooks/WhitelistPreIntentHook.js +424 -0
  51. package/_cjs/types/contracts/hooks/index.js +3 -1
  52. package/_cjs/types/contracts/index.js +6 -0
  53. package/_cjs/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
  54. package/_cjs/types/contracts/interfaces/IEscrow.js +0 -35
  55. package/_cjs/types/contracts/interfaces/IEscrowV2.js +2074 -0
  56. package/_cjs/types/contracts/interfaces/IOracleAdapter.js +154 -0
  57. package/_cjs/types/contracts/interfaces/IOrchestratorRegistry.js +178 -0
  58. package/_cjs/types/contracts/interfaces/IOrchestratorV2.js +987 -0
  59. package/_cjs/types/contracts/interfaces/IPostIntentHookV2.js +172 -0
  60. package/_cjs/types/contracts/interfaces/IPreIntentHook.js +148 -0
  61. package/_cjs/types/contracts/interfaces/IProtocolViewerV2.js +458 -0
  62. package/_cjs/types/contracts/interfaces/IRateManager.js +239 -0
  63. package/_cjs/types/contracts/interfaces/index.js +9 -0
  64. package/_cjs/types/contracts/oracles/ChainlinkOracleAdapter.js +154 -0
  65. package/_cjs/types/contracts/oracles/index.js +4 -0
  66. package/_cjs/types/contracts/registries/OrchestratorRegistry.js +324 -0
  67. package/_cjs/types/contracts/registries/index.js +1 -0
  68. package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +11 -9
  69. package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +11 -9
  70. package/_esm/abis/base/index.js +0 -1
  71. package/_esm/abis/base.cjs +0 -1
  72. package/_esm/abis/base.mjs +0 -1
  73. package/_esm/abis/{base/AcrossBridgeHook.js → baseStaging/AcrossBridgeHookV2.js} +78 -65
  74. package/{_cjs/abis/base/AcrossBridgeHook.json → _esm/abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
  75. package/_esm/abis/baseStaging/ChainlinkOracleAdapter.js +51 -0
  76. package/_esm/abis/baseStaging/ChainlinkOracleAdapter.json +50 -0
  77. package/_esm/abis/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +969 -384
  78. package/{_cjs/abis/baseSepolia/Escrow.json → _esm/abis/baseStaging/EscrowV2.json} +969 -384
  79. package/_esm/abis/{baseSepolia/RelayerRegistry.js → baseStaging/OrchestratorRegistry.js} +40 -50
  80. package/_esm/abis/{baseSepolia/RelayerRegistry.json → baseStaging/OrchestratorRegistry.json} +40 -50
  81. package/_esm/abis/{baseSepolia/Orchestrator.js → baseStaging/OrchestratorV2.js} +262 -67
  82. package/_esm/abis/{baseSepolia/Orchestrator.json → baseStaging/OrchestratorV2.json} +262 -67
  83. package/_esm/abis/{baseSepolia/ProtocolViewer.js → baseStaging/ProtocolViewerV2.js} +79 -390
  84. package/{abis/baseSepolia/ProtocolViewer.json → _esm/abis/baseStaging/ProtocolViewerV2.json} +79 -390
  85. package/_esm/abis/baseStaging/RateManagerV1.js +1233 -0
  86. package/_esm/abis/baseStaging/RateManagerV1.json +1232 -0
  87. package/_esm/abis/{baseSepolia/USDCMock.js → baseStaging/SignatureGatingPreIntentHook.js} +146 -149
  88. package/_esm/abis/{baseSepolia/USDCMock.json → baseStaging/SignatureGatingPreIntentHook.json} +146 -149
  89. package/_esm/abis/{baseSepolia/UnifiedPaymentVerifier.js → baseStaging/UnifiedPaymentVerifierV2.js} +4 -4
  90. package/{_cjs/abis/baseSepolia/UnifiedPaymentVerifier.json → _esm/abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
  91. package/_esm/abis/baseStaging/WhitelistPreIntentHook.js +335 -0
  92. package/_esm/abis/baseStaging/WhitelistPreIntentHook.json +334 -0
  93. package/_esm/abis/baseStaging/index.js +10 -0
  94. package/_esm/abis/baseStaging.cjs +11 -1
  95. package/_esm/abis/baseStaging.mjs +10 -0
  96. package/_esm/abis/index.js +0 -1
  97. package/_esm/addresses/base.js +13 -3
  98. package/_esm/addresses/base.json +13 -3
  99. package/_esm/addresses/baseStaging.js +13 -3
  100. package/_esm/addresses/baseStaging.json +13 -3
  101. package/_esm/addresses/index.js +0 -1
  102. package/_esm/addresses/index.json +1 -2
  103. package/_esm/constants/index.json +1 -1
  104. package/_esm/paymentMethods/base.js +1 -11
  105. package/_esm/paymentMethods/base.json +1 -11
  106. package/_esm/paymentMethods/baseSepolia.js +1 -1
  107. package/_esm/paymentMethods/baseSepolia.json +1 -1
  108. package/_esm/paymentMethods/baseStaging.js +1 -11
  109. package/_esm/paymentMethods/baseStaging.json +1 -11
  110. package/_esm/paymentMethods/index.json +1 -1
  111. package/_esm/types/contracts/EscrowV2.js +3328 -0
  112. package/_esm/types/contracts/OrchestratorV2.js +1551 -0
  113. package/_esm/types/contracts/ProtocolViewer.js +51 -90
  114. package/_esm/types/contracts/ProtocolViewerV2.js +458 -0
  115. package/_esm/types/contracts/RateManagerV1.js +1553 -0
  116. package/_esm/types/contracts/external/Interfaces/index.js +0 -1
  117. package/{types/contracts/hooks/AcrossSwapBridgeHook.ts → _esm/types/contracts/hooks/AcrossBridgeHookV2.js} +56 -86
  118. package/_esm/types/contracts/hooks/SignatureGatingPreIntentHook.js +351 -0
  119. package/_esm/types/contracts/hooks/WhitelistPreIntentHook.js +424 -0
  120. package/_esm/types/contracts/hooks/index.js +3 -1
  121. package/_esm/types/contracts/index.js +6 -0
  122. package/_esm/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
  123. package/_esm/types/contracts/interfaces/IEscrow.js +0 -35
  124. package/_esm/types/contracts/interfaces/IEscrowV2.js +2074 -0
  125. package/_esm/types/contracts/interfaces/IOracleAdapter.js +154 -0
  126. package/_esm/types/contracts/interfaces/IOrchestratorRegistry.js +178 -0
  127. package/_esm/types/contracts/interfaces/IOrchestratorV2.js +987 -0
  128. package/_esm/types/contracts/interfaces/IPostIntentHookV2.js +172 -0
  129. package/_esm/types/contracts/interfaces/IPreIntentHook.js +148 -0
  130. package/_esm/types/contracts/interfaces/IProtocolViewerV2.js +458 -0
  131. package/_esm/types/contracts/interfaces/IRateManager.js +239 -0
  132. package/_esm/types/contracts/interfaces/index.js +9 -0
  133. package/_esm/types/contracts/oracles/ChainlinkOracleAdapter.js +154 -0
  134. package/_esm/types/contracts/oracles/index.js +4 -0
  135. package/_esm/types/contracts/registries/OrchestratorRegistry.js +324 -0
  136. package/_esm/types/contracts/registries/index.js +1 -0
  137. package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +11 -9
  138. package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +11 -9
  139. package/_types/abis/base.d.ts +0 -1
  140. package/_types/abis/baseStaging.d.ts +10 -0
  141. package/_types/addresses/index.d.ts +0 -1
  142. package/abis/base/index.ts +0 -1
  143. package/abis/base.cjs +0 -1
  144. package/abis/base.d.ts +0 -1
  145. package/abis/base.mjs +0 -1
  146. package/{_esm/abis/base/AcrossBridgeHook.json → abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
  147. package/abis/baseStaging/ChainlinkOracleAdapter.json +50 -0
  148. package/{_esm/abis/baseSepolia/Escrow.json → abis/baseStaging/EscrowV2.json} +969 -384
  149. package/{_cjs/abis/baseSepolia/RelayerRegistry.json → abis/baseStaging/OrchestratorRegistry.json} +40 -50
  150. package/{_cjs/abis/baseSepolia/Orchestrator.json → abis/baseStaging/OrchestratorV2.json} +262 -67
  151. package/{_cjs/abis/baseSepolia/ProtocolViewer.json → abis/baseStaging/ProtocolViewerV2.json} +79 -390
  152. package/abis/baseStaging/RateManagerV1.json +1232 -0
  153. package/{_cjs/abis/baseSepolia/USDCMock.json → abis/baseStaging/SignatureGatingPreIntentHook.json} +146 -149
  154. package/{_esm/abis/baseSepolia/UnifiedPaymentVerifier.json → abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
  155. package/abis/baseStaging/WhitelistPreIntentHook.json +334 -0
  156. package/abis/baseStaging/index.ts +10 -0
  157. package/abis/baseStaging.cjs +11 -1
  158. package/abis/baseStaging.d.ts +10 -0
  159. package/abis/baseStaging.mjs +10 -0
  160. package/abis/index.ts +0 -1
  161. package/addresses/base.json +13 -3
  162. package/addresses/baseStaging.json +13 -3
  163. package/addresses/index.d.ts +0 -1
  164. package/addresses/index.json +1 -2
  165. package/addresses/index.ts +0 -1
  166. package/constants/index.json +1 -1
  167. package/package.json +1 -16
  168. package/paymentMethods/base.json +1 -11
  169. package/paymentMethods/baseSepolia.json +1 -1
  170. package/paymentMethods/baseStaging.json +1 -11
  171. package/paymentMethods/index.json +1 -1
  172. package/types/contracts/EscrowV2.ts +3328 -0
  173. package/types/contracts/OrchestratorV2.ts +1551 -0
  174. package/types/contracts/ProtocolViewer.ts +51 -90
  175. package/types/contracts/ProtocolViewerV2.ts +458 -0
  176. package/types/contracts/RateManagerV1.ts +1553 -0
  177. package/types/contracts/external/Interfaces/index.ts +0 -1
  178. package/{_cjs/types/contracts/hooks/AcrossSwapBridgeHook.js → types/contracts/hooks/AcrossBridgeHookV2.ts} +56 -86
  179. package/types/contracts/hooks/SignatureGatingPreIntentHook.ts +351 -0
  180. package/types/contracts/hooks/WhitelistPreIntentHook.ts +424 -0
  181. package/types/contracts/hooks/index.ts +3 -1
  182. package/types/contracts/index.ts +6 -0
  183. package/types/contracts/interfaces/IChainlinkAggregatorV3.ts +132 -0
  184. package/types/contracts/interfaces/IEscrow.ts +0 -35
  185. package/types/contracts/interfaces/IEscrowV2.ts +2074 -0
  186. package/types/contracts/interfaces/IOracleAdapter.ts +154 -0
  187. package/types/contracts/interfaces/IOrchestratorRegistry.ts +178 -0
  188. package/types/contracts/interfaces/IOrchestratorV2.ts +987 -0
  189. package/types/contracts/interfaces/IPostIntentHookV2.ts +172 -0
  190. package/types/contracts/interfaces/IPreIntentHook.ts +148 -0
  191. package/types/contracts/interfaces/IProtocolViewerV2.ts +458 -0
  192. package/types/contracts/interfaces/IRateManager.ts +239 -0
  193. package/types/contracts/interfaces/index.ts +9 -0
  194. package/types/contracts/oracles/ChainlinkOracleAdapter.ts +154 -0
  195. package/types/contracts/oracles/index.ts +4 -0
  196. package/types/contracts/registries/OrchestratorRegistry.ts +324 -0
  197. package/types/contracts/registries/index.ts +1 -0
  198. package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.ts +11 -9
  199. package/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.ts +11 -9
  200. package/_cjs/abis/baseSepolia/EscrowRegistry.js +0 -216
  201. package/_cjs/abis/baseSepolia/EscrowRegistry.json +0 -214
  202. package/_cjs/abis/baseSepolia/NullifierRegistry.js +0 -215
  203. package/_cjs/abis/baseSepolia/NullifierRegistry.json +0 -213
  204. package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.js +0 -334
  205. package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
  206. package/_cjs/abis/baseSepolia/PostIntentHookRegistry.js +0 -183
  207. package/_cjs/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
  208. package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.js +0 -154
  209. package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
  210. package/_cjs/abis/baseSepolia/index.js +0 -11
  211. package/_cjs/abis/baseSepolia.cjs +0 -14
  212. package/_cjs/abis/baseSepolia.mjs +0 -12
  213. package/_cjs/addresses/baseSepolia.js +0 -22
  214. package/_cjs/addresses/baseSepolia.json +0 -20
  215. package/_cjs/networks/baseSepolia.cjs +0 -5
  216. package/_cjs/networks/baseSepolia.mjs +0 -5
  217. package/_cjs/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.js +0 -198
  218. package/_esm/abis/baseSepolia/EscrowRegistry.js +0 -215
  219. package/_esm/abis/baseSepolia/EscrowRegistry.json +0 -214
  220. package/_esm/abis/baseSepolia/NullifierRegistry.js +0 -214
  221. package/_esm/abis/baseSepolia/NullifierRegistry.json +0 -213
  222. package/_esm/abis/baseSepolia/PaymentVerifierRegistry.js +0 -333
  223. package/_esm/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
  224. package/_esm/abis/baseSepolia/PostIntentHookRegistry.js +0 -182
  225. package/_esm/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
  226. package/_esm/abis/baseSepolia/SimpleAttestationVerifier.js +0 -153
  227. package/_esm/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
  228. package/_esm/abis/baseSepolia/index.js +0 -11
  229. package/_esm/abis/baseSepolia.cjs +0 -14
  230. package/_esm/abis/baseSepolia.mjs +0 -12
  231. package/_esm/addresses/baseSepolia.js +0 -21
  232. package/_esm/addresses/baseSepolia.json +0 -20
  233. package/_esm/networks/baseSepolia.cjs +0 -5
  234. package/_esm/networks/baseSepolia.mjs +0 -5
  235. package/_esm/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.js +0 -198
  236. package/_types/abis/baseSepolia.d.ts +0 -13
  237. package/_types/addresses/baseSepolia.d.ts +0 -4
  238. package/_types/networks/baseSepolia.d.ts +0 -5
  239. package/abis/baseSepolia/EscrowRegistry.json +0 -214
  240. package/abis/baseSepolia/NullifierRegistry.json +0 -213
  241. package/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
  242. package/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
  243. package/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
  244. package/abis/baseSepolia/index.ts +0 -11
  245. package/abis/baseSepolia.cjs +0 -14
  246. package/abis/baseSepolia.d.ts +0 -13
  247. package/abis/baseSepolia.mjs +0 -12
  248. package/addresses/baseSepolia.d.ts +0 -4
  249. package/addresses/baseSepolia.json +0 -20
  250. package/networks/baseSepolia.cjs +0 -5
  251. package/networks/baseSepolia.d.ts +0 -5
  252. package/networks/baseSepolia.mjs +0 -5
  253. package/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.ts +0 -198
@@ -1,12 +0,0 @@
1
- // Auto-generated ESM wrapper for baseSepolia ABIs
2
- export { default as Escrow } from '../_esm/abis/baseSepolia/Escrow.js';
3
- export { default as EscrowRegistry } from '../_esm/abis/baseSepolia/EscrowRegistry.js';
4
- export { default as NullifierRegistry } from '../_esm/abis/baseSepolia/NullifierRegistry.js';
5
- export { default as Orchestrator } from '../_esm/abis/baseSepolia/Orchestrator.js';
6
- export { default as PaymentVerifierRegistry } from '../_esm/abis/baseSepolia/PaymentVerifierRegistry.js';
7
- export { default as PostIntentHookRegistry } from '../_esm/abis/baseSepolia/PostIntentHookRegistry.js';
8
- export { default as ProtocolViewer } from '../_esm/abis/baseSepolia/ProtocolViewer.js';
9
- export { default as RelayerRegistry } from '../_esm/abis/baseSepolia/RelayerRegistry.js';
10
- export { default as SimpleAttestationVerifier } from '../_esm/abis/baseSepolia/SimpleAttestationVerifier.js';
11
- export { default as USDCMock } from '../_esm/abis/baseSepolia/USDCMock.js';
12
- export { default as UnifiedPaymentVerifier } from '../_esm/abis/baseSepolia/UnifiedPaymentVerifier.js';
@@ -1,4 +0,0 @@
1
- // Typed address file for baseSepolia
2
- export type AddressFile = { name: string; chainId: number; contracts: Record<string, `0x${string}`>; meta?: Record<string, unknown> };
3
- declare const value: AddressFile;
4
- export default value;
@@ -1,20 +0,0 @@
1
- {
2
- "name": "base_sepolia",
3
- "chainId": 84532,
4
- "contracts": {
5
- "Escrow": "0x6a5e11c3D87e22b828d02ee65a4e8f322BF6B97E",
6
- "EscrowRegistry": "0x29d5116784144C30bD09D9537B7b5AB96cD6CdaA",
7
- "NullifierRegistry": "0xE0980FFdC868B69484C78A4B213E2C1Fa5AE70Cb",
8
- "Orchestrator": "0x7D563c65456deF11c1Fdb9510eB745D5a780F5Fd",
9
- "PaymentVerifierRegistry": "0x251b544f0fBFF4D55aCb02dF17F6A9bB19861062",
10
- "PostIntentHookRegistry": "0x6ee1693e4fE83F7c3C87313a06f97E190f9Dc99c",
11
- "ProtocolViewer": "0x0c875D2B0802EAb3793886da9e0cF40e636b3384",
12
- "RelayerRegistry": "0x8Ffe25Bc049ee6bd3E24fd9fDd3f654FCcDc3eE6",
13
- "SimpleAttestationVerifier": "0x2Db1d6E0d7711b2AaC2918FE84270CfF84958dfA",
14
- "USDCMock": "0x48aB9BCF2B25a696ea950E95c2EACFE0Ec8A6DE1",
15
- "UnifiedPaymentVerifier": "0xA22aE87e99d614e6e04d787c67C609E24F223F6C"
16
- },
17
- "meta": {
18
- "generatedAt": "2026-02-20T18:41:45.870Z"
19
- }
20
- }
@@ -1,5 +0,0 @@
1
- // Auto-generated network entry for baseSepolia
2
- exports.addresses = require('../_cjs/addresses/baseSepolia.js');
3
- Object.assign(exports, require('../_cjs/abis/baseSepolia/index.js'));
4
- exports.constants = require('../_cjs/constants/baseSepolia.js');
5
- exports.paymentMethods = require('../_cjs/paymentMethods/baseSepolia.js');
@@ -1,5 +0,0 @@
1
- // Auto-generated types for network baseSepolia
2
- export { default as addresses } from '../addresses/baseSepolia';
3
- export * from '../abis/baseSepolia';
4
- export { default as constants } from '../constants/baseSepolia';
5
- export { default as paymentMethods } from '../paymentMethods/baseSepolia';
@@ -1,5 +0,0 @@
1
- // Auto-generated network entry for baseSepolia
2
- export { default as addresses } from '../_esm/addresses/baseSepolia.js';
3
- export * from '../_esm/abis/baseSepolia/index.js';
4
- export { default as constants } from '../_esm/constants/baseSepolia.js';
5
- export { default as paymentMethods } from '../_esm/paymentMethods/baseSepolia.js';
@@ -1,198 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- BaseContract,
6
- BigNumber,
7
- BigNumberish,
8
- BytesLike,
9
- CallOverrides,
10
- ContractTransaction,
11
- PayableOverrides,
12
- PopulatedTransaction,
13
- Signer,
14
- utils,
15
- } from "ethers";
16
- import type { FunctionFragment, Result } from "@ethersproject/abi";
17
- import type { Listener, Provider } from "@ethersproject/providers";
18
- import type {
19
- TypedEventFilter,
20
- TypedEvent,
21
- TypedListener,
22
- OnEvent,
23
- PromiseOrValue,
24
- } from "../../../common";
25
-
26
- export declare namespace IAcrossSpokePoolPeriphery {
27
- export type FeesStruct = {
28
- amount: PromiseOrValue<BigNumberish>;
29
- recipient: PromiseOrValue<string>;
30
- };
31
-
32
- export type FeesStructOutput = [BigNumber, string] & {
33
- amount: BigNumber;
34
- recipient: string;
35
- };
36
-
37
- export type BaseDepositDataStruct = {
38
- inputToken: PromiseOrValue<string>;
39
- outputToken: PromiseOrValue<BytesLike>;
40
- outputAmount: PromiseOrValue<BigNumberish>;
41
- depositor: PromiseOrValue<string>;
42
- recipient: PromiseOrValue<BytesLike>;
43
- destinationChainId: PromiseOrValue<BigNumberish>;
44
- exclusiveRelayer: PromiseOrValue<BytesLike>;
45
- quoteTimestamp: PromiseOrValue<BigNumberish>;
46
- fillDeadline: PromiseOrValue<BigNumberish>;
47
- exclusivityParameter: PromiseOrValue<BigNumberish>;
48
- message: PromiseOrValue<BytesLike>;
49
- };
50
-
51
- export type BaseDepositDataStructOutput = [
52
- string,
53
- string,
54
- BigNumber,
55
- string,
56
- string,
57
- BigNumber,
58
- string,
59
- number,
60
- number,
61
- number,
62
- string
63
- ] & {
64
- inputToken: string;
65
- outputToken: string;
66
- outputAmount: BigNumber;
67
- depositor: string;
68
- recipient: string;
69
- destinationChainId: BigNumber;
70
- exclusiveRelayer: string;
71
- quoteTimestamp: number;
72
- fillDeadline: number;
73
- exclusivityParameter: number;
74
- message: string;
75
- };
76
-
77
- export type SwapAndDepositDataStruct = {
78
- submissionFees: IAcrossSpokePoolPeriphery.FeesStruct;
79
- depositData: IAcrossSpokePoolPeriphery.BaseDepositDataStruct;
80
- swapToken: PromiseOrValue<string>;
81
- exchange: PromiseOrValue<string>;
82
- transferType: PromiseOrValue<BigNumberish>;
83
- swapTokenAmount: PromiseOrValue<BigNumberish>;
84
- minExpectedInputTokenAmount: PromiseOrValue<BigNumberish>;
85
- routerCalldata: PromiseOrValue<BytesLike>;
86
- enableProportionalAdjustment: PromiseOrValue<boolean>;
87
- spokePool: PromiseOrValue<string>;
88
- nonce: PromiseOrValue<BigNumberish>;
89
- };
90
-
91
- export type SwapAndDepositDataStructOutput = [
92
- IAcrossSpokePoolPeriphery.FeesStructOutput,
93
- IAcrossSpokePoolPeriphery.BaseDepositDataStructOutput,
94
- string,
95
- string,
96
- number,
97
- BigNumber,
98
- BigNumber,
99
- string,
100
- boolean,
101
- string,
102
- BigNumber
103
- ] & {
104
- submissionFees: IAcrossSpokePoolPeriphery.FeesStructOutput;
105
- depositData: IAcrossSpokePoolPeriphery.BaseDepositDataStructOutput;
106
- swapToken: string;
107
- exchange: string;
108
- transferType: number;
109
- swapTokenAmount: BigNumber;
110
- minExpectedInputTokenAmount: BigNumber;
111
- routerCalldata: string;
112
- enableProportionalAdjustment: boolean;
113
- spokePool: string;
114
- nonce: BigNumber;
115
- };
116
- }
117
-
118
- export interface IAcrossSpokePoolPeripheryInterface extends utils.Interface {
119
- functions: {
120
- "swapAndBridge(((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),address,address,uint8,uint256,uint256,bytes,bool,address,uint256))": FunctionFragment;
121
- };
122
-
123
- getFunction(nameOrSignatureOrTopic: "swapAndBridge"): FunctionFragment;
124
-
125
- encodeFunctionData(
126
- functionFragment: "swapAndBridge",
127
- values: [IAcrossSpokePoolPeriphery.SwapAndDepositDataStruct]
128
- ): string;
129
-
130
- decodeFunctionResult(
131
- functionFragment: "swapAndBridge",
132
- data: BytesLike
133
- ): Result;
134
-
135
- events: {};
136
- }
137
-
138
- export interface IAcrossSpokePoolPeriphery extends BaseContract {
139
- connect(signerOrProvider: Signer | Provider | string): this;
140
- attach(addressOrName: string): this;
141
- deployed(): Promise<this>;
142
-
143
- interface: IAcrossSpokePoolPeripheryInterface;
144
-
145
- queryFilter<TEvent extends TypedEvent>(
146
- event: TypedEventFilter<TEvent>,
147
- fromBlockOrBlockhash?: string | number | undefined,
148
- toBlock?: string | number | undefined
149
- ): Promise<Array<TEvent>>;
150
-
151
- listeners<TEvent extends TypedEvent>(
152
- eventFilter?: TypedEventFilter<TEvent>
153
- ): Array<TypedListener<TEvent>>;
154
- listeners(eventName?: string): Array<Listener>;
155
- removeAllListeners<TEvent extends TypedEvent>(
156
- eventFilter: TypedEventFilter<TEvent>
157
- ): this;
158
- removeAllListeners(eventName?: string): this;
159
- off: OnEvent<this>;
160
- on: OnEvent<this>;
161
- once: OnEvent<this>;
162
- removeListener: OnEvent<this>;
163
-
164
- functions: {
165
- swapAndBridge(
166
- swapAndDepositData: IAcrossSpokePoolPeriphery.SwapAndDepositDataStruct,
167
- overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
168
- ): Promise<ContractTransaction>;
169
- };
170
-
171
- swapAndBridge(
172
- swapAndDepositData: IAcrossSpokePoolPeriphery.SwapAndDepositDataStruct,
173
- overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
174
- ): Promise<ContractTransaction>;
175
-
176
- callStatic: {
177
- swapAndBridge(
178
- swapAndDepositData: IAcrossSpokePoolPeriphery.SwapAndDepositDataStruct,
179
- overrides?: CallOverrides
180
- ): Promise<void>;
181
- };
182
-
183
- filters: {};
184
-
185
- estimateGas: {
186
- swapAndBridge(
187
- swapAndDepositData: IAcrossSpokePoolPeriphery.SwapAndDepositDataStruct,
188
- overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
189
- ): Promise<BigNumber>;
190
- };
191
-
192
- populateTransaction: {
193
- swapAndBridge(
194
- swapAndDepositData: IAcrossSpokePoolPeriphery.SwapAndDepositDataStruct,
195
- overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
196
- ): Promise<PopulatedTransaction>;
197
- };
198
- }