@orbs-network/spot 1.10.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +20 -13
  2. package/{script/input/config.json → config.json} +54 -6
  3. package/index.js +8 -3
  4. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
  5. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  6. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  7. package/out/06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.json +1 -1
  8. package/out/06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.json +1 -1
  9. package/out/06_DeployP2Adapter.s.sol/DeployP2Adapter.json +1 -1
  10. package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.json +1 -1
  11. package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.json +1 -1
  12. package/out/BaseTest.sol/BaseTest.abi.json +26 -13
  13. package/out/BaseTest.sol/BaseTest.json +1 -1
  14. package/out/CosignatureLib.sol/CosignatureLib.abi.json +10 -0
  15. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  16. package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +125 -16
  17. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  18. package/out/Cosigner.sol/Cosigner.abi.json +12 -115
  19. package/out/Cosigner.sol/Cosigner.json +1 -1
  20. package/out/Cosigner.t.sol/CosignerTest.abi.json +30 -154
  21. package/out/Cosigner.t.sol/CosignerTest.json +1 -1
  22. package/out/Cosigner.t.sol/CosignerWrapper.abi.json +12 -115
  23. package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
  24. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +49 -33
  25. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
  26. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +105 -4
  27. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  28. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +33 -13
  29. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  30. package/out/DelegatingAdapter.sol/DelegatingAdapter.json +1 -1
  31. package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.json +1 -1
  32. package/out/DelegatingAdapter.t.sol/MockDelegateTarget.json +1 -1
  33. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  34. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +26 -13
  35. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  36. package/out/Executor.sol/Executor.abi.json +200 -13
  37. package/out/Executor.sol/Executor.json +1 -1
  38. package/out/Executor.t.sol/ExecutorTest.abi.json +26 -13
  39. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  40. package/out/ICommitteeSync.sol/ICommitteeSync.json +1 -1
  41. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +105 -4
  42. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  43. package/out/IReactor.sol/IReactor.abi.json +100 -4
  44. package/out/IReactor.sol/IReactor.json +1 -1
  45. package/out/IReactorCallback.sol/IReactorCallback.abi.json +100 -4
  46. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  47. package/out/IWrappedNative.sol/IWrappedNative.json +1 -1
  48. package/out/MockCommitteeSync.sol/MockCommitteeSync.json +1 -1
  49. package/out/MockReactor.sol/MockReactor.abi.json +200 -8
  50. package/out/MockReactor.sol/MockReactor.json +1 -1
  51. package/out/OrderLib.sol/OrderLib.json +1 -1
  52. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +27 -14
  53. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  54. package/out/OrderReactor.sol/OrderReactor.abi.json +130 -14
  55. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  56. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +26 -13
  57. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
  58. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +100 -4
  59. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
  60. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +136 -22
  61. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  62. package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +15 -5
  63. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  64. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +160 -30
  65. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  66. package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +105 -4
  67. package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
  68. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +33 -13
  69. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
  70. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +105 -4
  71. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
  72. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +33 -13
  73. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
  74. package/out/RePermit.t.sol/RePermitTest.abi.json +26 -13
  75. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  76. package/out/Refinery.t.sol/PayableTarget.json +1 -1
  77. package/out/Refinery.t.sol/RefineryTest.abi.json +26 -13
  78. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  79. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +122 -18
  80. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  81. package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
  82. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  83. package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +133 -20
  84. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  85. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  86. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +26 -13
  87. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  88. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +100 -4
  89. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  90. package/out/Settler.sol/Settler.json +1 -1
  91. package/out/Settler.t.sol/SettlerTest.json +1 -1
  92. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +100 -9
  93. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  94. package/out/UniversalAdapter.sol/UniversalAdapter.json +1 -1
  95. package/out/UniversalAdapter.t.sol/UniversalAdapterTest.json +1 -1
  96. package/out/WM.t.sol/WMTest.abi.json +26 -13
  97. package/out/WM.t.sol/WMTest.json +1 -1
  98. package/out/WrappedNativeMock.sol/WrappedNativeMock.json +1 -1
  99. package/out/build-info/{12dff9362aac7f9c.json → 4e40b5549a3a794d.json} +1 -1
  100. package/package.json +2 -1
  101. package/script/input/cosignature.skeleton.json +0 -1
  102. package/script/input/repermit.skeleton.json +12 -2
  103. package/script/input/order.json +0 -63
@@ -219,19 +219,6 @@
219
219
  ],
220
220
  "stateMutability": "view"
221
221
  },
222
- {
223
- "type": "function",
224
- "name": "outMax",
225
- "inputs": [],
226
- "outputs": [
227
- {
228
- "name": "",
229
- "type": "uint256",
230
- "internalType": "uint256"
231
- }
232
- ],
233
- "stateMutability": "view"
234
- },
235
222
  {
236
223
  "type": "function",
237
224
  "name": "outToken",
@@ -560,6 +547,32 @@
560
547
  ],
561
548
  "stateMutability": "view"
562
549
  },
550
+ {
551
+ "type": "function",
552
+ "name": "triggerLower",
553
+ "inputs": [],
554
+ "outputs": [
555
+ {
556
+ "name": "",
557
+ "type": "uint256",
558
+ "internalType": "uint256"
559
+ }
560
+ ],
561
+ "stateMutability": "view"
562
+ },
563
+ {
564
+ "type": "function",
565
+ "name": "triggerUpper",
566
+ "inputs": [],
567
+ "outputs": [
568
+ {
569
+ "name": "",
570
+ "type": "uint256",
571
+ "internalType": "uint256"
572
+ }
573
+ ],
574
+ "stateMutability": "view"
575
+ },
563
576
  {
564
577
  "type": "function",
565
578
  "name": "uut",