@orbs-network/spot 1.9.5 → 1.10.0

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 (97) hide show
  1. package/README.md +13 -20
  2. package/index.js +3 -8
  3. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
  4. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  5. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  6. package/out/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.abi.json +28 -0
  7. package/out/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -0
  8. package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.abi.json +28 -0
  9. package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.json +1 -0
  10. package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.abi.json +28 -0
  11. package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.json +1 -0
  12. package/out/07_CheckOrder.s.sol/AlwaysValid1271.abi.json +26 -0
  13. package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +1 -0
  14. package/out/07_CheckOrder.s.sol/CheckOrder.abi.json +78 -0
  15. package/out/07_CheckOrder.s.sol/CheckOrder.json +1 -0
  16. package/out/BaseTest.sol/BaseTest.abi.json +13 -26
  17. package/out/BaseTest.sol/BaseTest.json +1 -1
  18. package/out/CosignatureLib.sol/CosignatureLib.abi.json +0 -10
  19. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  20. package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +16 -125
  21. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  22. package/out/Cosigner.sol/Cosigner.abi.json +115 -12
  23. package/out/Cosigner.sol/Cosigner.json +1 -1
  24. package/out/Cosigner.t.sol/CosignerTest.abi.json +154 -30
  25. package/out/Cosigner.t.sol/CosignerTest.json +1 -1
  26. package/out/Cosigner.t.sol/CosignerWrapper.abi.json +115 -12
  27. package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
  28. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +33 -49
  29. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
  30. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +4 -105
  31. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  32. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +13 -33
  33. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  34. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  35. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +13 -26
  36. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  37. package/out/Executor.sol/Executor.abi.json +13 -200
  38. package/out/Executor.sol/Executor.json +1 -1
  39. package/out/Executor.t.sol/ExecutorTest.abi.json +13 -26
  40. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  41. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +4 -105
  42. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  43. package/out/IReactor.sol/IReactor.abi.json +4 -100
  44. package/out/IReactor.sol/IReactor.json +1 -1
  45. package/out/IReactorCallback.sol/IReactorCallback.abi.json +4 -100
  46. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  47. package/out/MockReactor.sol/MockReactor.abi.json +8 -200
  48. package/out/MockReactor.sol/MockReactor.json +1 -1
  49. package/out/OrderLib.sol/OrderLib.json +1 -1
  50. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +14 -27
  51. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  52. package/out/OrderReactor.sol/OrderReactor.abi.json +14 -130
  53. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  54. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +13 -26
  55. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
  56. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +4 -100
  57. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
  58. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +22 -136
  59. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  60. package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +5 -15
  61. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  62. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +30 -160
  63. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  64. package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +4 -105
  65. package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
  66. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +13 -33
  67. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
  68. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +4 -105
  69. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
  70. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +13 -33
  71. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
  72. package/out/RePermit.t.sol/RePermitTest.abi.json +13 -26
  73. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  74. package/out/Refinery.t.sol/PayableTarget.json +1 -1
  75. package/out/Refinery.t.sol/RefineryTest.abi.json +13 -26
  76. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  77. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +18 -122
  78. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  79. package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
  80. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  81. package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +20 -133
  82. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  83. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  84. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +13 -26
  85. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  86. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +4 -100
  87. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  88. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +9 -100
  89. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  90. package/out/WM.t.sol/WMTest.abi.json +13 -26
  91. package/out/WM.t.sol/WMTest.json +1 -1
  92. package/out/build-info/12dff9362aac7f9c.json +1 -0
  93. package/package.json +1 -2
  94. package/{config.json → script/input/config.json} +6 -84
  95. package/script/input/cosignature.skeleton.json +1 -0
  96. package/script/input/order.json +63 -0
  97. package/script/input/repermit.skeleton.json +2 -12
@@ -219,6 +219,19 @@
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
+ },
222
235
  {
223
236
  "type": "function",
224
237
  "name": "outToken",
@@ -642,32 +655,6 @@
642
655
  ],
643
656
  "stateMutability": "view"
644
657
  },
645
- {
646
- "type": "function",
647
- "name": "triggerLower",
648
- "inputs": [],
649
- "outputs": [
650
- {
651
- "name": "",
652
- "type": "uint256",
653
- "internalType": "uint256"
654
- }
655
- ],
656
- "stateMutability": "view"
657
- },
658
- {
659
- "type": "function",
660
- "name": "triggerUpper",
661
- "inputs": [],
662
- "outputs": [
663
- {
664
- "name": "",
665
- "type": "uint256",
666
- "internalType": "uint256"
667
- }
668
- ],
669
- "stateMutability": "view"
670
- },
671
658
  {
672
659
  "type": "function",
673
660
  "name": "wm",