@orbs-network/spot 1.9.3 → 1.9.4
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.
- package/README.md +20 -13
- package/{script/input/config.json → config.json} +18 -6
- package/index.js +8 -3
- package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
- package/out/00_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +1 -1
- package/out/01_DeployRepermit.s.sol/DeployRepermit.json +1 -1
- package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
- package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
- package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
- package/out/05_DeployRefinery.s.sol/DeployRefinery.json +1 -1
- package/out/{06_DeployDefaultExchange.s.sol/DeployDefaultExchange.abi.json → 06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.abi.json} +1 -1
- package/out/06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.json +1 -0
- package/out/{06_DeployParaswapExchange.s.sol/DeployParaswapExchange.abi.json → 06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.abi.json} +1 -1
- package/out/06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.json +1 -0
- package/out/{06_DeployP2Exchange.s.sol/DeployP2Exchange.abi.json → 06_DeployP2Adapter.s.sol/DeployP2Adapter.abi.json} +1 -1
- package/out/06_DeployP2Adapter.s.sol/DeployP2Adapter.json +1 -0
- package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.abi.json +28 -0
- package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.json +1 -0
- package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.abi.json +28 -0
- package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.json +1 -0
- package/out/BaseTest.sol/BaseTest.abi.json +26 -13
- package/out/BaseTest.sol/BaseTest.json +1 -1
- package/out/Constants.sol/Constants.json +1 -1
- package/out/CosignatureLib.sol/CosignatureLib.abi.json +10 -0
- package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
- package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +125 -16
- package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
- package/out/Cosigner.sol/Cosigner.abi.json +12 -115
- package/out/Cosigner.sol/Cosigner.json +1 -1
- package/out/Cosigner.t.sol/CosignerTest.abi.json +30 -154
- package/out/Cosigner.t.sol/CosignerTest.json +1 -1
- package/out/Cosigner.t.sol/CosignerWrapper.abi.json +12 -115
- package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +49 -33
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +105 -4
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +33 -13
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
- package/out/DelegatingAdapter.sol/DelegatingAdapter.abi.json +402 -0
- package/out/DelegatingAdapter.sol/DelegatingAdapter.json +1 -0
- package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.abi.json +916 -0
- package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.json +1 -0
- package/out/DelegatingAdapter.t.sol/MockDelegateTarget.abi.json +22 -0
- package/out/DelegatingAdapter.t.sol/MockDelegateTarget.json +1 -0
- package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
- package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -1
- package/out/EpochLib.sol/EpochLib.json +1 -1
- package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
- package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +26 -13
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
- package/out/Executor.sol/Executor.abi.json +200 -13
- package/out/Executor.sol/Executor.json +1 -1
- package/out/Executor.t.sol/ExecutorTest.abi.json +26 -13
- package/out/Executor.t.sol/ExecutorTest.json +1 -1
- package/out/FeeOnTransferERC20Mock.sol/FeeOnTransferERC20Mock.json +1 -1
- package/out/{07_CheckOrder.s.sol/AlwaysValid1271.abi.json → ICommitteeSync.sol/ICommitteeSync.abi.json} +9 -9
- package/out/ICommitteeSync.sol/ICommitteeSync.json +1 -0
- package/out/IEIP712.sol/IEIP712.json +1 -1
- package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +105 -4
- package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
- package/out/IParaswapAugustus.sol/IParaswapAugustus.json +1 -1
- package/out/IPermit2.sol/IPermit2.json +1 -1
- package/out/IReactor.sol/IReactor.abi.json +100 -4
- package/out/IReactor.sol/IReactor.json +1 -1
- package/out/IReactorCallback.sol/IReactorCallback.abi.json +100 -4
- package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
- package/out/IWM.sol/IWM.json +1 -1
- package/out/IWrappedNative.sol/IWrappedNative.abi.json +22 -0
- package/out/IWrappedNative.sol/IWrappedNative.json +1 -0
- package/out/MockCommitteeSync.sol/MockCommitteeSync.abi.json +67 -0
- package/out/MockCommitteeSync.sol/MockCommitteeSync.json +1 -0
- package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
- package/out/MockParaswap.sol/MockParaswapAugustus.json +1 -1
- package/out/MockParaswap.sol/MockTokenTransferProxy.json +1 -1
- package/out/MockPermit2.sol/MockPermit2.json +1 -1
- package/out/MockReactor.sol/MockReactor.abi.json +200 -8
- package/out/MockReactor.sol/MockReactor.json +1 -1
- package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
- package/out/OrderLib.sol/OrderLib.json +1 -1
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +27 -14
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
- package/out/OrderReactor.sol/OrderReactor.abi.json +130 -14
- package/out/OrderReactor.sol/OrderReactor.json +1 -1
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +26 -13
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
- package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +100 -4
- package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +136 -22
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +15 -5
- package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +160 -30
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
- package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +105 -4
- package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +33 -13
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +105 -4
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +33 -13
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
- package/out/RePermit.sol/RePermit.json +1 -1
- package/out/RePermit.t.sol/RePermitTest.abi.json +26 -13
- package/out/RePermit.t.sol/RePermitTest.json +1 -1
- package/out/RePermitLib.sol/RePermitLib.json +1 -1
- package/out/Refinery.sol/Refinery.json +1 -1
- package/out/Refinery.t.sol/PayableTarget.json +1 -1
- package/out/Refinery.t.sol/RefineryTest.abi.json +26 -13
- package/out/Refinery.t.sol/RefineryTest.json +1 -1
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +122 -18
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
- package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
- package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
- package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +133 -20
- package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
- package/out/SettlementLib.sol/SettlementLib.json +1 -1
- package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +26 -13
- package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
- package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +100 -4
- package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
- package/out/Settler.sol/Settler.abi.json +454 -0
- package/out/Settler.sol/Settler.json +1 -0
- package/out/Settler.t.sol/SettlerTest.abi.json +995 -0
- package/out/Settler.t.sol/SettlerTest.json +1 -0
- package/out/StdError.sol/stdError.json +1 -1
- package/out/SurplusLib.sol/SurplusLib.json +1 -1
- package/out/SurplusLib.t.sol/SurplusHarness.json +1 -1
- package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -1
- package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +100 -9
- package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
- package/out/TokenLib.sol/TokenLib.json +1 -1
- package/out/TokenLib.t.sol/TokenLibHarness.json +1 -1
- package/out/TokenLib.t.sol/TokenLibTest.json +1 -1
- package/out/USDTMock.sol/USDTMock.json +1 -1
- package/out/UniversalAdapter.sol/UniversalAdapter.abi.json +429 -0
- package/out/UniversalAdapter.sol/UniversalAdapter.json +1 -0
- package/out/UniversalAdapter.t.sol/UniversalAdapterTest.abi.json +930 -0
- package/out/UniversalAdapter.t.sol/UniversalAdapterTest.json +1 -0
- package/out/WM.sol/WM.json +1 -1
- package/out/WM.t.sol/WMTest.abi.json +26 -13
- package/out/WM.t.sol/WMTest.json +1 -1
- package/out/WMAllowed.sol/WMAllowed.json +1 -1
- package/out/WrappedNativeMock.sol/WrappedNativeMock.abi.json +360 -0
- package/out/WrappedNativeMock.sol/WrappedNativeMock.json +1 -0
- package/out/build-info/{42633f5ef75c0db8.json → 621c6e28e002a5dd.json} +1 -1
- package/out/build-info/{a2626b343b46f44e.json → 7683d39d37ddee4a.json} +1 -1
- package/package.json +2 -1
- package/script/input/cosignature.skeleton.json +0 -1
- package/script/input/repermit.skeleton.json +12 -2
- package/out/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +0 -1
- package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.json +0 -1
- package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.json +0 -1
- package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +0 -1
- package/out/07_CheckOrder.s.sol/CheckOrder.abi.json +0 -78
- package/out/07_CheckOrder.s.sol/CheckOrder.json +0 -1
- package/script/input/order.json +0 -63
|
@@ -245,19 +245,6 @@
|
|
|
245
245
|
],
|
|
246
246
|
"stateMutability": "view"
|
|
247
247
|
},
|
|
248
|
-
{
|
|
249
|
-
"type": "function",
|
|
250
|
-
"name": "outMax",
|
|
251
|
-
"inputs": [],
|
|
252
|
-
"outputs": [
|
|
253
|
-
{
|
|
254
|
-
"name": "",
|
|
255
|
-
"type": "uint256",
|
|
256
|
-
"internalType": "uint256"
|
|
257
|
-
}
|
|
258
|
-
],
|
|
259
|
-
"stateMutability": "view"
|
|
260
|
-
},
|
|
261
248
|
{
|
|
262
249
|
"type": "function",
|
|
263
250
|
"name": "outToken",
|
|
@@ -646,6 +633,32 @@
|
|
|
646
633
|
],
|
|
647
634
|
"stateMutability": "view"
|
|
648
635
|
},
|
|
636
|
+
{
|
|
637
|
+
"type": "function",
|
|
638
|
+
"name": "triggerLower",
|
|
639
|
+
"inputs": [],
|
|
640
|
+
"outputs": [
|
|
641
|
+
{
|
|
642
|
+
"name": "",
|
|
643
|
+
"type": "uint256",
|
|
644
|
+
"internalType": "uint256"
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"stateMutability": "view"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"type": "function",
|
|
651
|
+
"name": "triggerUpper",
|
|
652
|
+
"inputs": [],
|
|
653
|
+
"outputs": [
|
|
654
|
+
{
|
|
655
|
+
"name": "",
|
|
656
|
+
"type": "uint256",
|
|
657
|
+
"internalType": "uint256"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"stateMutability": "view"
|
|
661
|
+
},
|
|
649
662
|
{
|
|
650
663
|
"type": "function",
|
|
651
664
|
"name": "wm",
|