@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.
- package/README.md +13 -20
- package/index.js +3 -8
- 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/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.abi.json +28 -0
- package/out/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -0
- package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.abi.json +28 -0
- package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.json +1 -0
- package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.abi.json +28 -0
- package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.json +1 -0
- package/out/07_CheckOrder.s.sol/AlwaysValid1271.abi.json +26 -0
- package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +1 -0
- package/out/07_CheckOrder.s.sol/CheckOrder.abi.json +78 -0
- package/out/07_CheckOrder.s.sol/CheckOrder.json +1 -0
- package/out/BaseTest.sol/BaseTest.abi.json +13 -26
- package/out/BaseTest.sol/BaseTest.json +1 -1
- package/out/CosignatureLib.sol/CosignatureLib.abi.json +0 -10
- package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
- package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +16 -125
- package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
- package/out/Cosigner.sol/Cosigner.abi.json +115 -12
- package/out/Cosigner.sol/Cosigner.json +1 -1
- package/out/Cosigner.t.sol/CosignerTest.abi.json +154 -30
- package/out/Cosigner.t.sol/CosignerTest.json +1 -1
- package/out/Cosigner.t.sol/CosignerWrapper.abi.json +115 -12
- package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +33 -49
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +4 -105
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +13 -33
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +13 -26
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
- package/out/Executor.sol/Executor.abi.json +13 -200
- package/out/Executor.sol/Executor.json +1 -1
- package/out/Executor.t.sol/ExecutorTest.abi.json +13 -26
- package/out/Executor.t.sol/ExecutorTest.json +1 -1
- package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +4 -105
- package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
- package/out/IReactor.sol/IReactor.abi.json +4 -100
- package/out/IReactor.sol/IReactor.json +1 -1
- package/out/IReactorCallback.sol/IReactorCallback.abi.json +4 -100
- package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
- package/out/MockReactor.sol/MockReactor.abi.json +8 -200
- package/out/MockReactor.sol/MockReactor.json +1 -1
- package/out/OrderLib.sol/OrderLib.json +1 -1
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +14 -27
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
- package/out/OrderReactor.sol/OrderReactor.abi.json +14 -130
- package/out/OrderReactor.sol/OrderReactor.json +1 -1
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +13 -26
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
- package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +4 -100
- package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +22 -136
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +5 -15
- package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +30 -160
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
- package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +4 -105
- package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +13 -33
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +4 -105
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +13 -33
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
- package/out/RePermit.t.sol/RePermitTest.abi.json +13 -26
- package/out/RePermit.t.sol/RePermitTest.json +1 -1
- package/out/Refinery.t.sol/PayableTarget.json +1 -1
- package/out/Refinery.t.sol/RefineryTest.abi.json +13 -26
- package/out/Refinery.t.sol/RefineryTest.json +1 -1
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +18 -122
- 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 +20 -133
- 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 +13 -26
- package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
- package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +4 -100
- package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
- package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +9 -100
- package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
- package/out/WM.t.sol/WMTest.abi.json +13 -26
- package/out/WM.t.sol/WMTest.json +1 -1
- package/out/build-info/12dff9362aac7f9c.json +1 -0
- package/package.json +1 -2
- package/{config.json → script/input/config.json} +6 -84
- package/script/input/cosignature.skeleton.json +1 -0
- package/script/input/order.json +63 -0
- package/script/input/repermit.skeleton.json +2 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":[],"bytecode":{"object":"
|
|
1
|
+
{"abi":[],"bytecode":{"object":"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea26469706673582212200d519b84724f6628ba8d8c5458abe1f7f58c7774c41ad9fa4e15e305182643e464736f6c634300081b0033","sourceMap":"323:3388:80:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;323:3388:80;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f5ffdfea26469706673582212200d519b84724f6628ba8d8c5458abe1f7f58c7774c41ad9fa4e15e305182643e464736f6c634300081b0033","sourceMap":"323:3388:80:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Order hashing library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"EIP-712 structured data hashing for orders and cosignatures\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/lib/OrderLib.sol\":\"OrderLib\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"src/Structs.sol\":{\"keccak256\":\"0xf333f3676f0f76774d7d9de41872eb11a4f76a398207761238555a71b7c38674\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bafa4db0f6f5b7ff915558f1f38c996037ac5d6a16965db793da45f11688e314\",\"dweb:/ipfs/QmZ5Es6Gh7FMBr4oJYwy9RCTTuGNvfuuPhPMLabo3Gg9pc\"]},\"src/lib/OrderLib.sol\":{\"keccak256\":\"0x2ce527e21f8207c252290b9e0adb9377736049fd82a9343fadb2c6f62da2ed9f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://623d417a8639b65c25c880a2b3564bcbc774bf4e7634843880f9a22665c45041\",\"dweb:/ipfs/Qmdymg2wbw8e4qBEb9E4tqphxkUKUsfvLEJDxuA5H7XHKJ\"]},\"src/lib/RePermitLib.sol\":{\"keccak256\":\"0xb7015e0112917ca49ebc1bd68d723c4fdfa19c3a1f1d0bf866643f94f7a20d96\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d838303d9afac9021bde8a45a16995c8c6e8ea9e725820a05d8c87c22308a091\",\"dweb:/ipfs/QmSDA5XvwYDLwWvkDPDSjviDc8LgaWnjJ9sEAR34xcrL13\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"],"optimizer":{"enabled":true,"runs":1000000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/lib/OrderLib.sol":"OrderLib"},"evmVersion":"prague","libraries":{}},"sources":{"src/Structs.sol":{"keccak256":"0xf333f3676f0f76774d7d9de41872eb11a4f76a398207761238555a71b7c38674","urls":["bzz-raw://bafa4db0f6f5b7ff915558f1f38c996037ac5d6a16965db793da45f11688e314","dweb:/ipfs/QmZ5Es6Gh7FMBr4oJYwy9RCTTuGNvfuuPhPMLabo3Gg9pc"],"license":"MIT"},"src/lib/OrderLib.sol":{"keccak256":"0x2ce527e21f8207c252290b9e0adb9377736049fd82a9343fadb2c6f62da2ed9f","urls":["bzz-raw://623d417a8639b65c25c880a2b3564bcbc774bf4e7634843880f9a22665c45041","dweb:/ipfs/Qmdymg2wbw8e4qBEb9E4tqphxkUKUsfvLEJDxuA5H7XHKJ"],"license":"MIT"},"src/lib/RePermitLib.sol":{"keccak256":"0xb7015e0112917ca49ebc1bd68d723c4fdfa19c3a1f1d0bf866643f94f7a20d96","urls":["bzz-raw://d838303d9afac9021bde8a45a16995c8c6e8ea9e725820a05d8c87c22308a091","dweb:/ipfs/QmSDA5XvwYDLwWvkDPDSjviDc8LgaWnjJ9sEAR34xcrL13"],"license":"MIT"}},"version":1},"id":80}
|
|
@@ -245,6 +245,19 @@
|
|
|
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
|
+
},
|
|
248
261
|
{
|
|
249
262
|
"type": "function",
|
|
250
263
|
"name": "outToken",
|
|
@@ -620,32 +633,6 @@
|
|
|
620
633
|
],
|
|
621
634
|
"stateMutability": "view"
|
|
622
635
|
},
|
|
623
|
-
{
|
|
624
|
-
"type": "function",
|
|
625
|
-
"name": "triggerLower",
|
|
626
|
-
"inputs": [],
|
|
627
|
-
"outputs": [
|
|
628
|
-
{
|
|
629
|
-
"name": "",
|
|
630
|
-
"type": "uint256",
|
|
631
|
-
"internalType": "uint256"
|
|
632
|
-
}
|
|
633
|
-
],
|
|
634
|
-
"stateMutability": "view"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"type": "function",
|
|
638
|
-
"name": "triggerUpper",
|
|
639
|
-
"inputs": [],
|
|
640
|
-
"outputs": [
|
|
641
|
-
{
|
|
642
|
-
"name": "",
|
|
643
|
-
"type": "uint256",
|
|
644
|
-
"internalType": "uint256"
|
|
645
|
-
}
|
|
646
|
-
],
|
|
647
|
-
"stateMutability": "view"
|
|
648
|
-
},
|
|
649
636
|
{
|
|
650
637
|
"type": "function",
|
|
651
638
|
"name": "wm",
|
|
@@ -1025,7 +1012,7 @@
|
|
|
1025
1012
|
},
|
|
1026
1013
|
{
|
|
1027
1014
|
"type": "error",
|
|
1028
|
-
"name": "
|
|
1015
|
+
"name": "CosignedExceedsStop",
|
|
1029
1016
|
"inputs": []
|
|
1030
1017
|
}
|
|
1031
1018
|
]
|