@orbs-network/spot 0.0.10 → 0.0.12
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 +7 -9
- package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
- package/out/{01_UpdateWMWhitelist.s.sol → 00_UpdateWMWhitelist.s.sol}/UpdateWMWhitelist.json +1 -1
- package/out/{02_DeployRepermit.s.sol → 01_DeployRepermit.s.sol}/DeployRepermit.json +1 -1
- package/out/02_DeployCosigner.s.sol/DeployCosigner.abi.json +28 -0
- package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -0
- package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
- package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
- package/out/05_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -1
- package/out/05_DeployP2Exchange.s.sol/DeployP2Exchange.json +1 -1
- package/out/06_DeployRefinery.s.sol/DeployRefinery.json +1 -1
- package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +1 -1
- package/out/07_CheckOrder.s.sol/CheckOrder.json +1 -1
- package/out/AbstractSigner.sol/AbstractSigner.abi.json +1 -0
- package/out/AbstractSigner.sol/AbstractSigner.json +1 -0
- package/out/BaseTest.sol/BaseTest.json +1 -1
- package/out/Constants.sol/Constants.json +1 -1
- package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
- package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
- package/out/Cosigner.sol/Cosigner.abi.json +283 -0
- package/out/Cosigner.sol/Cosigner.json +1 -0
- package/out/Cosigner.t.sol/CosignerTest.abi.json +935 -0
- package/out/Cosigner.t.sol/CosignerTest.json +1 -0
- package/out/Cosigner.t.sol/CosignerWrapper.abi.json +307 -0
- package/out/Cosigner.t.sol/CosignerWrapper.json +1 -0
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +1024 -0
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -0
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +3 -3
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
- 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.json +1 -1
- package/out/Executor.sol/Executor.abi.json +32 -6
- package/out/Executor.sol/Executor.json +1 -1
- package/out/Executor.t.sol/ExecutorTest.abi.json +28 -0
- package/out/Executor.t.sol/ExecutorTest.json +1 -1
- package/out/IEIP712.sol/IEIP712.json +1 -1
- package/out/IERC165.sol/IERC165.json +1 -1
- package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +3 -3
- package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
- package/out/IPermit2.sol/IPermit2.json +1 -1
- package/out/IReactor.sol/IReactor.abi.json +3 -3
- package/out/IReactor.sol/IReactor.json +1 -1
- package/out/IReactorCallback.sol/IReactorCallback.abi.json +3 -3
- package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
- package/out/IWM.sol/IWM.json +1 -1
- package/out/Math.sol/Math.json +1 -1
- package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
- package/out/MockPermit2.sol/MockPermit2.json +1 -1
- package/out/MockReactor.sol/MockReactor.abi.json +34 -27
- 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 +7 -0
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
- package/out/OrderReactor.sol/OrderReactor.abi.json +3 -3
- package/out/OrderReactor.sol/OrderReactor.json +1 -1
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
- package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +3 -3
- package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +7 -0
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
- package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +3 -3
- package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
- package/out/RePermit.sol/RePermit.json +1 -1
- 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/RefineryTest.json +1 -1
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
- package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
- package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
- package/out/SafeCast.sol/SafeCast.json +1 -1
- package/out/SettlementLib.sol/SettlementLib.abi.json +26 -0
- package/out/SettlementLib.sol/SettlementLib.json +1 -1
- package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +7 -0
- package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
- package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +3 -3
- package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
- package/out/SignedMath.sol/SignedMath.json +1 -1
- 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 +3 -3
- package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
- package/out/TokenLib.sol/TokenLib.json +1 -1
- package/out/TokenLib.t.sol/TokenLibHarness.abi.json +108 -0
- package/out/TokenLib.t.sol/TokenLibHarness.json +1 -0
- package/out/TokenLib.t.sol/TokenLibTest.abi.json +591 -0
- package/out/TokenLib.t.sol/TokenLibTest.json +1 -0
- package/out/USDTMock.sol/USDTMock.json +1 -1
- package/out/WM.sol/WM.json +1 -1
- package/out/WM.t.sol/WMTest.json +1 -1
- package/out/WMAllowed.sol/WMAllowed.json +1 -1
- package/out/build-info/20f563941fc0a849.json +1 -0
- package/out/build-info/41e657f703fce171.json +1 -0
- package/out/build-info/{f16f669db7eddfe3.json → 4e0fd3e97fb8c77e.json} +1 -1
- package/out/build-info/50d4a161d830da98.json +1 -0
- package/out/build-info/5ea14177d8c08770.json +1 -0
- package/out/build-info/6633b6f1d6f4bfa2.json +1 -0
- package/out/build-info/{e0a36e520084dd42.json → c70ba923379ddca4.json} +1 -1
- package/out/build-info/dbc5b333069e50a4.json +1 -0
- package/package.json +1 -1
- package/script/input/config.json +11 -11
- package/script/input/order.json +8 -6
- package/script/input/legacy-config.json +0 -80
- /package/out/{01_UpdateWMWhitelist.s.sol → 00_UpdateWMWhitelist.s.sol}/UpdateWMWhitelist.abi.json +0 -0
- /package/out/{02_DeployRepermit.s.sol → 01_DeployRepermit.s.sol}/DeployRepermit.abi.json +0 -0
|
@@ -255,9 +255,9 @@
|
|
|
255
255
|
"internalType": "uint256"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
|
-
"name": "
|
|
259
|
-
"type": "tuple",
|
|
260
|
-
"internalType": "struct Output",
|
|
258
|
+
"name": "fees",
|
|
259
|
+
"type": "tuple[]",
|
|
260
|
+
"internalType": "struct Output[]",
|
|
261
261
|
"components": [
|
|
262
262
|
{
|
|
263
263
|
"name": "token",
|
|
@@ -551,9 +551,9 @@
|
|
|
551
551
|
"internalType": "uint256"
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
|
-
"name": "
|
|
555
|
-
"type": "tuple",
|
|
556
|
-
"internalType": "struct Output",
|
|
554
|
+
"name": "fees",
|
|
555
|
+
"type": "tuple[]",
|
|
556
|
+
"internalType": "struct Output[]",
|
|
557
557
|
"components": [
|
|
558
558
|
{
|
|
559
559
|
"name": "token",
|
|
@@ -725,6 +725,32 @@
|
|
|
725
725
|
}
|
|
726
726
|
]
|
|
727
727
|
},
|
|
728
|
+
{
|
|
729
|
+
"type": "error",
|
|
730
|
+
"name": "InsufficientPostSwapBalance",
|
|
731
|
+
"inputs": [
|
|
732
|
+
{
|
|
733
|
+
"name": "balance",
|
|
734
|
+
"type": "uint256",
|
|
735
|
+
"internalType": "uint256"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "resolved",
|
|
739
|
+
"type": "uint256",
|
|
740
|
+
"internalType": "uint256"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "fees",
|
|
744
|
+
"type": "uint256",
|
|
745
|
+
"internalType": "uint256"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "required",
|
|
749
|
+
"type": "uint256",
|
|
750
|
+
"internalType": "uint256"
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
},
|
|
728
754
|
{
|
|
729
755
|
"type": "error",
|
|
730
756
|
"name": "InvalidOrder",
|