@zkp2p/contracts-v2 0.0.11 → 0.1.11-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 (242) 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/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +796 -309
  7. package/{abis/baseSepolia/Escrow.json → _cjs/abis/baseStaging/EscrowV2.json} +796 -309
  8. package/_cjs/abis/{baseSepolia/RelayerRegistry.js → baseStaging/OrchestratorRegistry.js} +40 -50
  9. package/{abis/baseSepolia/RelayerRegistry.json → _cjs/abis/baseStaging/OrchestratorRegistry.json} +40 -50
  10. package/_cjs/abis/{baseSepolia/Orchestrator.js → baseStaging/OrchestratorV2.js} +262 -67
  11. package/{abis/baseSepolia/Orchestrator.json → _cjs/abis/baseStaging/OrchestratorV2.json} +262 -67
  12. package/_cjs/abis/{baseSepolia/ProtocolViewer.js → baseStaging/ProtocolViewerV2.js} +149 -198
  13. package/{_esm/abis/baseSepolia/ProtocolViewer.json → _cjs/abis/baseStaging/ProtocolViewerV2.json} +149 -198
  14. package/_cjs/abis/baseStaging/RateManagerV1.js +1131 -0
  15. package/_cjs/abis/baseStaging/RateManagerV1.json +1129 -0
  16. package/_cjs/abis/{baseSepolia/USDCMock.js → baseStaging/SignatureGatingPreIntentHook.js} +146 -149
  17. package/{abis/baseSepolia/USDCMock.json → _cjs/abis/baseStaging/SignatureGatingPreIntentHook.json} +146 -149
  18. package/_cjs/abis/{baseSepolia/UnifiedPaymentVerifier.js → baseStaging/UnifiedPaymentVerifierV2.js} +4 -4
  19. package/{abis/baseSepolia/UnifiedPaymentVerifier.json → _cjs/abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
  20. package/_cjs/abis/baseStaging/WhitelistPreIntentHook.js +315 -0
  21. package/_cjs/abis/baseStaging/WhitelistPreIntentHook.json +313 -0
  22. package/_cjs/abis/baseStaging/index.js +9 -0
  23. package/_cjs/abis/baseStaging.cjs +10 -1
  24. package/_cjs/abis/baseStaging.mjs +9 -0
  25. package/_cjs/abis/index.js +0 -1
  26. package/_cjs/addresses/base.js +12 -3
  27. package/_cjs/addresses/base.json +12 -3
  28. package/_cjs/addresses/baseStaging.js +12 -3
  29. package/_cjs/addresses/baseStaging.json +12 -3
  30. package/_cjs/addresses/index.js +0 -1
  31. package/_cjs/addresses/index.json +1 -2
  32. package/_cjs/constants/index.json +1 -1
  33. package/_cjs/paymentMethods/base.js +1 -11
  34. package/_cjs/paymentMethods/base.json +1 -11
  35. package/_cjs/paymentMethods/baseSepolia.js +1 -1
  36. package/_cjs/paymentMethods/baseSepolia.json +1 -1
  37. package/_cjs/paymentMethods/baseStaging.js +1 -11
  38. package/_cjs/paymentMethods/baseStaging.json +1 -11
  39. package/_cjs/paymentMethods/index.json +1 -1
  40. package/_cjs/types/contracts/EscrowV2.js +3326 -0
  41. package/_cjs/types/contracts/OrchestratorV2.js +1551 -0
  42. package/_cjs/types/contracts/ProtocolViewer.js +227 -3
  43. package/_cjs/types/contracts/RateManagerV1.js +1393 -0
  44. package/_cjs/types/contracts/external/Interfaces/index.js +0 -1
  45. package/{_esm/types/contracts/hooks/AcrossSwapBridgeHook.js → _cjs/types/contracts/hooks/AcrossBridgeHookV2.js} +56 -86
  46. package/_cjs/types/contracts/hooks/SignatureGatingPreIntentHook.js +351 -0
  47. package/_cjs/types/contracts/hooks/WhitelistPreIntentHook.js +424 -0
  48. package/_cjs/types/contracts/hooks/index.js +3 -1
  49. package/_cjs/types/contracts/index.js +5 -0
  50. package/_cjs/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
  51. package/_cjs/types/contracts/interfaces/IEscrowV2.js +2028 -0
  52. package/_cjs/types/contracts/interfaces/IOracleAdapter.js +154 -0
  53. package/_cjs/types/contracts/interfaces/IOrchestratorRegistry.js +178 -0
  54. package/_cjs/types/contracts/interfaces/IOrchestratorV2.js +987 -0
  55. package/_cjs/types/contracts/interfaces/IPostIntentHookV2.js +172 -0
  56. package/_cjs/types/contracts/interfaces/IPreIntentHook.js +148 -0
  57. package/_cjs/types/contracts/interfaces/IProtocolViewer.js +75 -1
  58. package/_cjs/types/contracts/interfaces/IRateManager.js +254 -0
  59. package/_cjs/types/contracts/interfaces/index.js +8 -0
  60. package/_cjs/types/contracts/oracles/ChainlinkOracleAdapter.js +154 -0
  61. package/_cjs/types/contracts/oracles/index.js +4 -0
  62. package/_cjs/types/contracts/registries/OrchestratorRegistry.js +324 -0
  63. package/_cjs/types/contracts/registries/index.js +1 -0
  64. package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +11 -9
  65. package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +11 -9
  66. package/_esm/abis/base/index.js +0 -1
  67. package/_esm/abis/base.cjs +0 -1
  68. package/_esm/abis/base.mjs +0 -1
  69. package/_esm/abis/{base/AcrossBridgeHook.js → baseStaging/AcrossBridgeHookV2.js} +78 -65
  70. package/{_cjs/abis/base/AcrossBridgeHook.json → _esm/abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
  71. package/_esm/abis/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +796 -309
  72. package/{_cjs/abis/baseSepolia/Escrow.json → _esm/abis/baseStaging/EscrowV2.json} +796 -309
  73. package/_esm/abis/{baseSepolia/RelayerRegistry.js → baseStaging/OrchestratorRegistry.js} +40 -50
  74. package/_esm/abis/{baseSepolia/RelayerRegistry.json → baseStaging/OrchestratorRegistry.json} +40 -50
  75. package/_esm/abis/{baseSepolia/Orchestrator.js → baseStaging/OrchestratorV2.js} +262 -67
  76. package/_esm/abis/{baseSepolia/Orchestrator.json → baseStaging/OrchestratorV2.json} +262 -67
  77. package/_esm/abis/{baseSepolia/ProtocolViewer.js → baseStaging/ProtocolViewerV2.js} +149 -198
  78. package/{abis/baseSepolia/ProtocolViewer.json → _esm/abis/baseStaging/ProtocolViewerV2.json} +149 -198
  79. package/_esm/abis/baseStaging/RateManagerV1.js +1130 -0
  80. package/_esm/abis/baseStaging/RateManagerV1.json +1129 -0
  81. package/_esm/abis/{baseSepolia/USDCMock.js → baseStaging/SignatureGatingPreIntentHook.js} +146 -149
  82. package/_esm/abis/{baseSepolia/USDCMock.json → baseStaging/SignatureGatingPreIntentHook.json} +146 -149
  83. package/_esm/abis/{baseSepolia/UnifiedPaymentVerifier.js → baseStaging/UnifiedPaymentVerifierV2.js} +4 -4
  84. package/{_cjs/abis/baseSepolia/UnifiedPaymentVerifier.json → _esm/abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
  85. package/_esm/abis/baseStaging/WhitelistPreIntentHook.js +314 -0
  86. package/_esm/abis/baseStaging/WhitelistPreIntentHook.json +313 -0
  87. package/_esm/abis/baseStaging/index.js +9 -0
  88. package/_esm/abis/baseStaging.cjs +10 -1
  89. package/_esm/abis/baseStaging.mjs +9 -0
  90. package/_esm/abis/index.js +0 -1
  91. package/_esm/addresses/base.js +12 -3
  92. package/_esm/addresses/base.json +12 -3
  93. package/_esm/addresses/baseStaging.js +12 -3
  94. package/_esm/addresses/baseStaging.json +12 -3
  95. package/_esm/addresses/index.js +0 -1
  96. package/_esm/addresses/index.json +1 -2
  97. package/_esm/constants/index.json +1 -1
  98. package/_esm/paymentMethods/base.js +1 -11
  99. package/_esm/paymentMethods/base.json +1 -11
  100. package/_esm/paymentMethods/baseSepolia.js +1 -1
  101. package/_esm/paymentMethods/baseSepolia.json +1 -1
  102. package/_esm/paymentMethods/baseStaging.js +1 -11
  103. package/_esm/paymentMethods/baseStaging.json +1 -11
  104. package/_esm/paymentMethods/index.json +1 -1
  105. package/_esm/types/contracts/EscrowV2.js +3326 -0
  106. package/_esm/types/contracts/OrchestratorV2.js +1551 -0
  107. package/_esm/types/contracts/ProtocolViewer.js +227 -3
  108. package/_esm/types/contracts/RateManagerV1.js +1393 -0
  109. package/_esm/types/contracts/external/Interfaces/index.js +0 -1
  110. package/{types/contracts/hooks/AcrossSwapBridgeHook.ts → _esm/types/contracts/hooks/AcrossBridgeHookV2.js} +56 -86
  111. package/_esm/types/contracts/hooks/SignatureGatingPreIntentHook.js +351 -0
  112. package/_esm/types/contracts/hooks/WhitelistPreIntentHook.js +424 -0
  113. package/_esm/types/contracts/hooks/index.js +3 -1
  114. package/_esm/types/contracts/index.js +5 -0
  115. package/_esm/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
  116. package/_esm/types/contracts/interfaces/IEscrowV2.js +2028 -0
  117. package/_esm/types/contracts/interfaces/IOracleAdapter.js +154 -0
  118. package/_esm/types/contracts/interfaces/IOrchestratorRegistry.js +178 -0
  119. package/_esm/types/contracts/interfaces/IOrchestratorV2.js +987 -0
  120. package/_esm/types/contracts/interfaces/IPostIntentHookV2.js +172 -0
  121. package/_esm/types/contracts/interfaces/IPreIntentHook.js +148 -0
  122. package/_esm/types/contracts/interfaces/IProtocolViewer.js +75 -1
  123. package/_esm/types/contracts/interfaces/IRateManager.js +254 -0
  124. package/_esm/types/contracts/interfaces/index.js +8 -0
  125. package/_esm/types/contracts/oracles/ChainlinkOracleAdapter.js +154 -0
  126. package/_esm/types/contracts/oracles/index.js +4 -0
  127. package/_esm/types/contracts/registries/OrchestratorRegistry.js +324 -0
  128. package/_esm/types/contracts/registries/index.js +1 -0
  129. package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +11 -9
  130. package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +11 -9
  131. package/_types/abis/base.d.ts +0 -1
  132. package/_types/abis/baseStaging.d.ts +9 -0
  133. package/_types/addresses/index.d.ts +0 -1
  134. package/abis/base/index.ts +0 -1
  135. package/abis/base.cjs +0 -1
  136. package/abis/base.d.ts +0 -1
  137. package/abis/base.mjs +0 -1
  138. package/{_esm/abis/base/AcrossBridgeHook.json → abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
  139. package/{_esm/abis/baseSepolia/Escrow.json → abis/baseStaging/EscrowV2.json} +796 -309
  140. package/{_cjs/abis/baseSepolia/RelayerRegistry.json → abis/baseStaging/OrchestratorRegistry.json} +40 -50
  141. package/{_cjs/abis/baseSepolia/Orchestrator.json → abis/baseStaging/OrchestratorV2.json} +262 -67
  142. package/{_cjs/abis/baseSepolia/ProtocolViewer.json → abis/baseStaging/ProtocolViewerV2.json} +149 -198
  143. package/abis/baseStaging/RateManagerV1.json +1129 -0
  144. package/{_cjs/abis/baseSepolia/USDCMock.json → abis/baseStaging/SignatureGatingPreIntentHook.json} +146 -149
  145. package/{_esm/abis/baseSepolia/UnifiedPaymentVerifier.json → abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
  146. package/abis/baseStaging/WhitelistPreIntentHook.json +313 -0
  147. package/abis/baseStaging/index.ts +9 -0
  148. package/abis/baseStaging.cjs +10 -1
  149. package/abis/baseStaging.d.ts +9 -0
  150. package/abis/baseStaging.mjs +9 -0
  151. package/abis/index.ts +0 -1
  152. package/addresses/base.json +12 -3
  153. package/addresses/baseStaging.json +12 -3
  154. package/addresses/index.d.ts +0 -1
  155. package/addresses/index.json +1 -2
  156. package/addresses/index.ts +0 -1
  157. package/constants/index.json +1 -1
  158. package/package.json +1 -16
  159. package/paymentMethods/base.json +1 -11
  160. package/paymentMethods/baseSepolia.json +1 -1
  161. package/paymentMethods/baseStaging.json +1 -11
  162. package/paymentMethods/index.json +1 -1
  163. package/types/contracts/EscrowV2.ts +3326 -0
  164. package/types/contracts/OrchestratorV2.ts +1551 -0
  165. package/types/contracts/ProtocolViewer.ts +227 -3
  166. package/types/contracts/RateManagerV1.ts +1393 -0
  167. package/types/contracts/external/Interfaces/index.ts +0 -1
  168. package/{_cjs/types/contracts/hooks/AcrossSwapBridgeHook.js → types/contracts/hooks/AcrossBridgeHookV2.ts} +56 -86
  169. package/types/contracts/hooks/SignatureGatingPreIntentHook.ts +351 -0
  170. package/types/contracts/hooks/WhitelistPreIntentHook.ts +424 -0
  171. package/types/contracts/hooks/index.ts +3 -1
  172. package/types/contracts/index.ts +5 -0
  173. package/types/contracts/interfaces/IChainlinkAggregatorV3.ts +132 -0
  174. package/types/contracts/interfaces/IEscrowV2.ts +2028 -0
  175. package/types/contracts/interfaces/IOracleAdapter.ts +154 -0
  176. package/types/contracts/interfaces/IOrchestratorRegistry.ts +178 -0
  177. package/types/contracts/interfaces/IOrchestratorV2.ts +987 -0
  178. package/types/contracts/interfaces/IPostIntentHookV2.ts +172 -0
  179. package/types/contracts/interfaces/IPreIntentHook.ts +148 -0
  180. package/types/contracts/interfaces/IProtocolViewer.ts +75 -1
  181. package/types/contracts/interfaces/IRateManager.ts +254 -0
  182. package/types/contracts/interfaces/index.ts +8 -0
  183. package/types/contracts/oracles/ChainlinkOracleAdapter.ts +154 -0
  184. package/types/contracts/oracles/index.ts +4 -0
  185. package/types/contracts/registries/OrchestratorRegistry.ts +324 -0
  186. package/types/contracts/registries/index.ts +1 -0
  187. package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.ts +11 -9
  188. package/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.ts +11 -9
  189. package/_cjs/abis/baseSepolia/EscrowRegistry.js +0 -216
  190. package/_cjs/abis/baseSepolia/EscrowRegistry.json +0 -214
  191. package/_cjs/abis/baseSepolia/NullifierRegistry.js +0 -215
  192. package/_cjs/abis/baseSepolia/NullifierRegistry.json +0 -213
  193. package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.js +0 -334
  194. package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
  195. package/_cjs/abis/baseSepolia/PostIntentHookRegistry.js +0 -183
  196. package/_cjs/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
  197. package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.js +0 -154
  198. package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
  199. package/_cjs/abis/baseSepolia/index.js +0 -11
  200. package/_cjs/abis/baseSepolia.cjs +0 -14
  201. package/_cjs/abis/baseSepolia.mjs +0 -12
  202. package/_cjs/addresses/baseSepolia.js +0 -22
  203. package/_cjs/addresses/baseSepolia.json +0 -20
  204. package/_cjs/networks/baseSepolia.cjs +0 -5
  205. package/_cjs/networks/baseSepolia.mjs +0 -5
  206. package/_cjs/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.js +0 -198
  207. package/_esm/abis/baseSepolia/EscrowRegistry.js +0 -215
  208. package/_esm/abis/baseSepolia/EscrowRegistry.json +0 -214
  209. package/_esm/abis/baseSepolia/NullifierRegistry.js +0 -214
  210. package/_esm/abis/baseSepolia/NullifierRegistry.json +0 -213
  211. package/_esm/abis/baseSepolia/PaymentVerifierRegistry.js +0 -333
  212. package/_esm/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
  213. package/_esm/abis/baseSepolia/PostIntentHookRegistry.js +0 -182
  214. package/_esm/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
  215. package/_esm/abis/baseSepolia/SimpleAttestationVerifier.js +0 -153
  216. package/_esm/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
  217. package/_esm/abis/baseSepolia/index.js +0 -11
  218. package/_esm/abis/baseSepolia.cjs +0 -14
  219. package/_esm/abis/baseSepolia.mjs +0 -12
  220. package/_esm/addresses/baseSepolia.js +0 -21
  221. package/_esm/addresses/baseSepolia.json +0 -20
  222. package/_esm/networks/baseSepolia.cjs +0 -5
  223. package/_esm/networks/baseSepolia.mjs +0 -5
  224. package/_esm/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.js +0 -198
  225. package/_types/abis/baseSepolia.d.ts +0 -13
  226. package/_types/addresses/baseSepolia.d.ts +0 -4
  227. package/_types/networks/baseSepolia.d.ts +0 -5
  228. package/abis/baseSepolia/EscrowRegistry.json +0 -214
  229. package/abis/baseSepolia/NullifierRegistry.json +0 -213
  230. package/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
  231. package/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
  232. package/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
  233. package/abis/baseSepolia/index.ts +0 -11
  234. package/abis/baseSepolia.cjs +0 -14
  235. package/abis/baseSepolia.d.ts +0 -13
  236. package/abis/baseSepolia.mjs +0 -12
  237. package/addresses/baseSepolia.d.ts +0 -4
  238. package/addresses/baseSepolia.json +0 -20
  239. package/networks/baseSepolia.cjs +0 -5
  240. package/networks/baseSepolia.d.ts +0 -5
  241. package/networks/baseSepolia.mjs +0 -5
  242. 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
- }