@orbs-network/spot 0.0.2 → 0.0.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 +26 -22
- package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
- package/out/01_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +1 -1
- package/out/02_DeployRepermit.s.sol/DeployRepermit.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_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -1
- package/out/06_DeployRefinery.s.sol/DeployRefinery.json +1 -1
- package/out/07_CheckOrderSignature.s.sol/CheckOrderSignature.abi.json +33 -0
- package/out/07_CheckOrderSignature.s.sol/CheckOrderSignature.json +1 -0
- package/out/Address.sol/Address.abi.json +13 -1
- package/out/Address.sol/Address.json +1 -1
- package/out/Base.sol/CommonBase.json +1 -1
- package/out/Base.sol/ScriptBase.json +1 -1
- package/out/Base.sol/TestBase.json +1 -1
- package/out/BaseTest.sol/BaseTest.json +1 -1
- package/out/Bytes.sol/Bytes.abi.json +1 -0
- package/out/Bytes.sol/Bytes.json +1 -0
- package/out/Constants.sol/Constants.json +1 -1
- package/out/Context.sol/Context.json +1 -1
- package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
- package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +2 -2
- package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +47 -4
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
- package/out/ECDSA.sol/ECDSA.abi.json +29 -1
- package/out/ECDSA.sol/ECDSA.json +1 -1
- package/out/EIP712.sol/EIP712.json +1 -1
- package/out/ERC20.sol/ERC20.abi.json +89 -67
- package/out/ERC20.sol/ERC20.json +1 -1
- package/out/ERC20Mock.sol/ERC20Mock.abi.json +89 -51
- package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
- package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.abi.json +346 -0
- package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -0
- package/out/EpochLib.sol/EpochLib.json +1 -1
- package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
- package/out/Errors.sol/Errors.abi.json +39 -0
- package/out/Errors.sol/Errors.json +1 -0
- 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 +69 -21
- package/out/Executor.sol/Executor.json +1 -1
- package/out/Executor.t.sol/ExecutorTest.json +1 -1
- package/out/IEIP712.sol/IEIP712.json +1 -1
- package/out/IERC1271.sol/IERC1271.json +1 -1
- package/out/IERC1363.sol/IERC1363.abi.json +373 -0
- package/out/IERC1363.sol/IERC1363.json +1 -0
- package/out/IERC165.sol/IERC165.abi.json +21 -0
- package/out/IERC165.sol/IERC165.json +1 -0
- package/out/IERC20.sol/IERC20.abi.json +3 -3
- package/out/IERC20.sol/IERC20.json +1 -1
- package/out/IERC20Metadata.sol/IERC20Metadata.abi.json +3 -3
- package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
- package/out/IERC5267.sol/IERC5267.json +1 -1
- package/out/IERC7913.sol/IERC7913SignatureVerifier.abi.json +31 -0
- package/out/IERC7913.sol/IERC7913SignatureVerifier.json +1 -0
- package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +4 -4
- package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
- package/out/IMulticall3.sol/IMulticall3.json +1 -1
- package/out/IReactor.sol/IReactor.abi.json +4 -4
- package/out/IReactor.sol/IReactor.json +1 -1
- package/out/IReactorCallback.sol/IReactorCallback.abi.json +4 -4
- package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
- package/out/IWM.sol/IWM.json +1 -1
- package/out/LowLevelCall.sol/LowLevelCall.abi.json +1 -0
- package/out/LowLevelCall.sol/LowLevelCall.json +1 -0
- package/out/Math.sol/Math.json +1 -1
- package/out/MessageHashUtils.sol/MessageHashUtils.abi.json +1 -0
- package/out/MessageHashUtils.sol/MessageHashUtils.json +1 -0
- package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
- package/out/MockReactor.sol/MockReactor.abi.json +8 -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 +26 -0
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
- package/out/OrderReactor.sol/OrderReactor.abi.json +134 -6
- package/out/OrderReactor.sol/OrderReactor.json +1 -1
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +937 -0
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -0
- package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +285 -0
- package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -0
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +8 -3
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +6 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +29 -3
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
- package/out/Ownable.sol/Ownable.abi.json +22 -0
- package/out/Ownable.sol/Ownable.json +1 -1
- package/out/Ownable2Step.sol/Ownable2Step.abi.json +22 -0
- package/out/Ownable2Step.sol/Ownable2Step.json +1 -1
- package/out/Panic.sol/Panic.abi.json +1 -0
- package/out/Panic.sol/Panic.json +1 -0
- package/out/Pausable.sol/Pausable.abi.json +51 -0
- package/out/Pausable.sol/Pausable.json +1 -0
- package/out/RePermit.sol/RePermit.abi.json +11 -0
- 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/ReentrancyGuard.sol/ReentrancyGuard.abi.json +7 -1
- package/out/ReentrancyGuard.sol/ReentrancyGuard.json +1 -1
- package/out/Refinery.sol/Refinery.abi.json +32 -0
- package/out/Refinery.sol/Refinery.json +1 -1
- package/out/Refinery.t.sol/RefineryTest.json +1 -1
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +3 -3
- 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 +24 -3
- package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
- package/out/SafeCast.sol/SafeCast.abi.json +56 -0
- package/out/SafeCast.sol/SafeCast.json +1 -0
- package/out/SafeERC20.sol/SafeERC20.abi.json +34 -1
- package/out/SafeERC20.sol/SafeERC20.json +1 -1
- package/out/Script.sol/Script.json +1 -1
- package/out/SettlementLib.sol/SettlementLib.json +1 -1
- package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
- package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +36 -4
- package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
- package/out/ShortStrings.sol/ShortStrings.json +1 -1
- package/out/SignatureChecker.sol/SignatureChecker.json +1 -1
- package/out/SignedMath.sol/SignedMath.json +1 -1
- package/out/StdAssertions.sol/StdAssertions.json +1 -1
- package/out/StdChains.sol/StdChains.json +1 -1
- package/out/StdCheats.sol/StdCheats.json +1 -1
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
- package/out/StdConstants.sol/StdConstants.json +1 -1
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StdInvariant.sol/StdInvariant.json +1 -1
- package/out/StdJson.sol/stdJson.json +1 -1
- package/out/StdMath.sol/stdMath.json +1 -1
- package/out/StdStorage.sol/stdStorage.json +1 -1
- package/out/StdStorage.sol/stdStorageSafe.json +1 -1
- package/out/StdStyle.sol/StdStyle.json +1 -1
- package/out/StdToml.sol/stdToml.json +1 -1
- package/out/StdUtils.sol/StdUtils.json +1 -1
- package/out/StorageSlot.sol/StorageSlot.json +1 -1
- package/out/Strings.sol/Strings.abi.json +28 -1
- package/out/Strings.sol/Strings.json +1 -1
- package/out/SurplusLib.sol/SurplusLib.json +1 -1
- package/out/SurplusLib.t.sol/SurplusHarness.abi.json +99 -0
- package/out/SurplusLib.t.sol/SurplusHarness.json +1 -0
- package/out/SurplusLib.t.sol/SurplusLibTest.abi.json +649 -0
- package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -0
- package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +4 -4
- package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
- package/out/Test.sol/Test.json +1 -1
- package/out/TokenLib.sol/TokenLib.json +1 -1
- package/out/USDTMock.sol/USDTMock.abi.json +88 -50
- package/out/USDTMock.sol/USDTMock.json +1 -1
- package/out/Vm.sol/Vm.json +1 -1
- package/out/Vm.sol/VmSafe.json +1 -1
- package/out/WM.sol/WM.abi.json +22 -0
- package/out/WM.sol/WM.json +1 -1
- package/out/WM.t.sol/WMTest.json +1 -1
- package/out/WMAllowed.sol/WMAllowed.abi.json +20 -0
- package/out/WMAllowed.sol/WMAllowed.json +1 -0
- package/out/build-info/1b030856fa3ecf8385c021b87d553a62.json +1 -0
- package/out/build-info/f6ddd13bd0f7b6f0525777fca44ca964.json +1 -0
- package/out/console.sol/console.json +1 -1
- package/out/draft-IERC6093.sol/IERC1155Errors.abi.json +104 -0
- package/out/draft-IERC6093.sol/IERC1155Errors.json +1 -0
- package/out/draft-IERC6093.sol/IERC20Errors.abi.json +88 -0
- package/out/draft-IERC6093.sol/IERC20Errors.json +1 -0
- package/out/draft-IERC6093.sol/IERC721Errors.abi.json +105 -0
- package/out/draft-IERC6093.sol/IERC721Errors.json +1 -0
- package/out/safeconsole.sol/safeconsole.json +1 -1
- package/package.json +1 -1
- package/script/input/config.json +8 -8
- package/script/input/order.json +61 -0
- package/script/input/repermit.skeleton.json +4 -4
- package/out/IERC20Permit.sol/IERC20Permit.abi.json +0 -77
- package/out/IERC20Permit.sol/IERC20Permit.json +0 -1
- package/out/build-info/73bd7c3e9ec8bc61cee51a6d313820a9.json +0 -1
- package/out/build-info/77f38a2f64e07d9cd0b3e2102d7863fd.json +0 -1
- package/out/build-info/bf2da9800c0b2d6b74f871364578b022.json +0 -1
- package/out/build-info/f1185935442ac1be7e6acad26197fe26.json +0 -1
|
@@ -19,19 +19,6 @@
|
|
|
19
19
|
"type": "receive",
|
|
20
20
|
"stateMutability": "payable"
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
"type": "function",
|
|
24
|
-
"name": "allowed",
|
|
25
|
-
"inputs": [],
|
|
26
|
-
"outputs": [
|
|
27
|
-
{
|
|
28
|
-
"name": "",
|
|
29
|
-
"type": "address",
|
|
30
|
-
"internalType": "address"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"stateMutability": "view"
|
|
34
|
-
},
|
|
35
22
|
{
|
|
36
23
|
"type": "function",
|
|
37
24
|
"name": "execute",
|
|
@@ -156,12 +143,12 @@
|
|
|
156
143
|
"internalType": "address"
|
|
157
144
|
},
|
|
158
145
|
{
|
|
159
|
-
"name": "
|
|
146
|
+
"name": "limit",
|
|
160
147
|
"type": "uint256",
|
|
161
148
|
"internalType": "uint256"
|
|
162
149
|
},
|
|
163
150
|
{
|
|
164
|
-
"name": "
|
|
151
|
+
"name": "stop",
|
|
165
152
|
"type": "uint256",
|
|
166
153
|
"internalType": "uint256"
|
|
167
154
|
},
|
|
@@ -278,12 +265,12 @@
|
|
|
278
265
|
"internalType": "address"
|
|
279
266
|
},
|
|
280
267
|
{
|
|
281
|
-
"name": "
|
|
268
|
+
"name": "limit",
|
|
282
269
|
"type": "uint256",
|
|
283
270
|
"internalType": "uint256"
|
|
284
271
|
},
|
|
285
272
|
{
|
|
286
|
-
"name": "
|
|
273
|
+
"name": "stop",
|
|
287
274
|
"type": "uint256",
|
|
288
275
|
"internalType": "uint256"
|
|
289
276
|
},
|
|
@@ -452,12 +439,12 @@
|
|
|
452
439
|
"internalType": "address"
|
|
453
440
|
},
|
|
454
441
|
{
|
|
455
|
-
"name": "
|
|
442
|
+
"name": "limit",
|
|
456
443
|
"type": "uint256",
|
|
457
444
|
"internalType": "uint256"
|
|
458
445
|
},
|
|
459
446
|
{
|
|
460
|
-
"name": "
|
|
447
|
+
"name": "stop",
|
|
461
448
|
"type": "uint256",
|
|
462
449
|
"internalType": "uint256"
|
|
463
450
|
},
|
|
@@ -574,12 +561,12 @@
|
|
|
574
561
|
"internalType": "address"
|
|
575
562
|
},
|
|
576
563
|
{
|
|
577
|
-
"name": "
|
|
564
|
+
"name": "limit",
|
|
578
565
|
"type": "uint256",
|
|
579
566
|
"internalType": "uint256"
|
|
580
567
|
},
|
|
581
568
|
{
|
|
582
|
-
"name": "
|
|
569
|
+
"name": "stop",
|
|
583
570
|
"type": "uint256",
|
|
584
571
|
"internalType": "uint256"
|
|
585
572
|
},
|
|
@@ -601,6 +588,19 @@
|
|
|
601
588
|
"outputs": [],
|
|
602
589
|
"stateMutability": "nonpayable"
|
|
603
590
|
},
|
|
591
|
+
{
|
|
592
|
+
"type": "function",
|
|
593
|
+
"name": "wm",
|
|
594
|
+
"inputs": [],
|
|
595
|
+
"outputs": [
|
|
596
|
+
{
|
|
597
|
+
"name": "",
|
|
598
|
+
"type": "address",
|
|
599
|
+
"internalType": "address"
|
|
600
|
+
}
|
|
601
|
+
],
|
|
602
|
+
"stateMutability": "view"
|
|
603
|
+
},
|
|
604
604
|
{
|
|
605
605
|
"type": "event",
|
|
606
606
|
"name": "Settled",
|
|
@@ -693,6 +693,38 @@
|
|
|
693
693
|
],
|
|
694
694
|
"anonymous": false
|
|
695
695
|
},
|
|
696
|
+
{
|
|
697
|
+
"type": "error",
|
|
698
|
+
"name": "AddressEmptyCode",
|
|
699
|
+
"inputs": [
|
|
700
|
+
{
|
|
701
|
+
"name": "target",
|
|
702
|
+
"type": "address",
|
|
703
|
+
"internalType": "address"
|
|
704
|
+
}
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"type": "error",
|
|
709
|
+
"name": "FailedCall",
|
|
710
|
+
"inputs": []
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"type": "error",
|
|
714
|
+
"name": "InsufficientBalance",
|
|
715
|
+
"inputs": [
|
|
716
|
+
{
|
|
717
|
+
"name": "balance",
|
|
718
|
+
"type": "uint256",
|
|
719
|
+
"internalType": "uint256"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "needed",
|
|
723
|
+
"type": "uint256",
|
|
724
|
+
"internalType": "uint256"
|
|
725
|
+
}
|
|
726
|
+
]
|
|
727
|
+
},
|
|
696
728
|
{
|
|
697
729
|
"type": "error",
|
|
698
730
|
"name": "InvalidOrder",
|
|
@@ -702,5 +734,21 @@
|
|
|
702
734
|
"type": "error",
|
|
703
735
|
"name": "InvalidSender",
|
|
704
736
|
"inputs": []
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"type": "error",
|
|
740
|
+
"name": "NotAllowed",
|
|
741
|
+
"inputs": []
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"type": "error",
|
|
745
|
+
"name": "SafeERC20FailedOperation",
|
|
746
|
+
"inputs": [
|
|
747
|
+
{
|
|
748
|
+
"name": "token",
|
|
749
|
+
"type": "address",
|
|
750
|
+
"internalType": "address"
|
|
751
|
+
}
|
|
752
|
+
]
|
|
705
753
|
}
|
|
706
754
|
]
|