@orbs-network/spot 2.3.4 → 2.4.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 (166) hide show
  1. package/README.md +146 -136
  2. package/index.html +16 -10
  3. package/index.js +1 -1
  4. package/package.json +11 -18
  5. package/SKILL.md +0 -63
  6. package/manifest.json +0 -63
  7. package/mcp/stdio.mjs +0 -219
  8. package/out/00_DeployWM.s.sol/DeployWM.json +0 -1
  9. package/out/00_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +0 -1
  10. package/out/01_DeployRepermit.s.sol/DeployRepermit.json +0 -1
  11. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +0 -1
  12. package/out/03_DeployReactor.s.sol/DeployReactor.json +0 -1
  13. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +0 -1
  14. package/out/05_DeployRefinery.s.sol/DeployRefinery.json +0 -1
  15. package/out/06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.json +0 -1
  16. package/out/06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.json +0 -1
  17. package/out/06_DeployP2Adapter.s.sol/DeployP2Adapter.json +0 -1
  18. package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.json +0 -1
  19. package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.json +0 -1
  20. package/out/AbstractSigner.sol/AbstractSigner.json +0 -1
  21. package/out/Address.sol/Address.json +0 -1
  22. package/out/Base.sol/CommonBase.json +0 -1
  23. package/out/Base.sol/ScriptBase.json +0 -1
  24. package/out/Base.sol/TestBase.json +0 -1
  25. package/out/BaseTest.sol/BaseTest.json +0 -1
  26. package/out/Bytes.sol/Bytes.json +0 -1
  27. package/out/Constants.sol/Constants.json +0 -1
  28. package/out/Context.sol/Context.json +0 -1
  29. package/out/CosignatureLib.sol/CosignatureLib.json +0 -1
  30. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +0 -1
  31. package/out/Cosigner.sol/Cosigner.json +0 -1
  32. package/out/Cosigner.t.sol/CosignerTest.json +0 -1
  33. package/out/Cosigner.t.sol/CosignerWrapper.json +0 -1
  34. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +0 -1
  35. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +0 -1
  36. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +0 -1
  37. package/out/DelegatingAdapter.sol/DelegatingAdapter.json +0 -1
  38. package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.json +0 -1
  39. package/out/DelegatingAdapter.t.sol/MockDelegateTarget.json +0 -1
  40. package/out/ECDSA.sol/ECDSA.json +0 -1
  41. package/out/EIP712.sol/EIP712.json +0 -1
  42. package/out/ERC20.sol/ERC20.json +0 -1
  43. package/out/ERC20Mock.sol/ERC20Mock.json +0 -1
  44. package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +0 -1
  45. package/out/EpochLib.sol/EpochLib.json +0 -1
  46. package/out/EpochLib.t.sol/EpochLibTest.json +0 -1
  47. package/out/Errors.sol/Errors.json +0 -1
  48. package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +0 -1
  49. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +0 -1
  50. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +0 -1
  51. package/out/Executor.sol/Executor.json +0 -1
  52. package/out/Executor.t.sol/ExecutorTest.json +0 -1
  53. package/out/FeeOnTransferERC20Mock.sol/FeeOnTransferERC20Mock.json +0 -1
  54. package/out/ICommitteeSync.sol/ICommitteeSync.json +0 -1
  55. package/out/IEIP712.sol/IEIP712.json +0 -1
  56. package/out/IERC1271.sol/IERC1271.json +0 -1
  57. package/out/IERC1363.sol/IERC1363.json +0 -1
  58. package/out/IERC165.sol/IERC165.json +0 -1
  59. package/out/IERC20.sol/IERC20.json +0 -1
  60. package/out/IERC20Metadata.sol/IERC20Metadata.json +0 -1
  61. package/out/IERC5267.sol/IERC5267.json +0 -1
  62. package/out/IERC7913.sol/IERC7913SignatureVerifier.json +0 -1
  63. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +0 -1
  64. package/out/IMulticall3.sol/IMulticall3.json +0 -1
  65. package/out/IParaswapAugustus.sol/IParaswapAugustus.json +0 -1
  66. package/out/IPermit2.sol/IPermit2.json +0 -1
  67. package/out/IReactor.sol/IReactor.json +0 -1
  68. package/out/IReactorCallback.sol/IReactorCallback.json +0 -1
  69. package/out/IWM.sol/IWM.json +0 -1
  70. package/out/IWrappedNative.sol/IWrappedNative.json +0 -1
  71. package/out/LowLevelCall.sol/LowLevelCall.json +0 -1
  72. package/out/Math.sol/Math.json +0 -1
  73. package/out/MessageHashUtils.sol/MessageHashUtils.json +0 -1
  74. package/out/MockCommitteeSync.sol/MockCommitteeSync.json +0 -1
  75. package/out/MockDexRouter.sol/MockDexRouter.json +0 -1
  76. package/out/MockParaswap.sol/MockParaswapAugustus.json +0 -1
  77. package/out/MockParaswap.sol/MockTokenTransferProxy.json +0 -1
  78. package/out/MockPermit2.sol/MockPermit2.json +0 -1
  79. package/out/MockReactor.sol/MockReactor.json +0 -1
  80. package/out/Multicall3Lib.sol/Multicall3Lib.json +0 -1
  81. package/out/OrderLib.sol/OrderLib.json +0 -1
  82. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +0 -1
  83. package/out/OrderReactor.sol/OrderReactor.json +0 -1
  84. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +0 -1
  85. package/out/OrderReactorPause.t.sol/SimpleCallback.json +0 -1
  86. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +0 -1
  87. package/out/OrderValidationLib.sol/OrderValidationLib.json +0 -1
  88. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +0 -1
  89. package/out/Ownable.sol/Ownable.json +0 -1
  90. package/out/Ownable2Step.sol/Ownable2Step.json +0 -1
  91. package/out/P2DexAdapter.sol/P2DexAdapter.json +0 -1
  92. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +0 -1
  93. package/out/Panic.sol/Panic.json +0 -1
  94. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +0 -1
  95. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +0 -1
  96. package/out/Pausable.sol/Pausable.json +0 -1
  97. package/out/RePermit.sol/RePermit.json +0 -1
  98. package/out/RePermit.t.sol/RePermitTest.json +0 -1
  99. package/out/RePermitLib.sol/RePermitLib.json +0 -1
  100. package/out/ReentrancyGuard.sol/ReentrancyGuard.json +0 -1
  101. package/out/Refinery.sol/Refinery.json +0 -1
  102. package/out/Refinery.t.sol/PayableTarget.json +0 -1
  103. package/out/Refinery.t.sol/RefineryTest.json +0 -1
  104. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +0 -1
  105. package/out/ResolutionLib.sol/ResolutionLib.json +0 -1
  106. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +0 -1
  107. package/out/SafeCast.sol/SafeCast.json +0 -1
  108. package/out/SafeERC20.sol/SafeERC20.json +0 -1
  109. package/out/Script.sol/Script.json +0 -1
  110. package/out/SettlementLib.sol/SettlementLib.json +0 -1
  111. package/out/SettlementLib.t.sol/SettlementLibTest.json +0 -1
  112. package/out/SettlementLib.t.sol/SettlementWrapper.json +0 -1
  113. package/out/Settler.sol/Settler.json +0 -1
  114. package/out/Settler.t.sol/SettlerTest.json +0 -1
  115. package/out/ShortStrings.sol/ShortStrings.json +0 -1
  116. package/out/SignatureChecker.sol/SignatureChecker.json +0 -1
  117. package/out/SignedMath.sol/SignedMath.json +0 -1
  118. package/out/StdAssertions.sol/StdAssertions.json +0 -1
  119. package/out/StdChains.sol/StdChains.json +0 -1
  120. package/out/StdCheats.sol/StdCheats.json +0 -1
  121. package/out/StdCheats.sol/StdCheatsSafe.json +0 -1
  122. package/out/StdConstants.sol/StdConstants.json +0 -1
  123. package/out/StdError.sol/stdError.json +0 -1
  124. package/out/StdInvariant.sol/StdInvariant.json +0 -1
  125. package/out/StdJson.sol/stdJson.json +0 -1
  126. package/out/StdMath.sol/stdMath.json +0 -1
  127. package/out/StdStorage.sol/stdStorage.json +0 -1
  128. package/out/StdStorage.sol/stdStorageSafe.json +0 -1
  129. package/out/StdStyle.sol/StdStyle.json +0 -1
  130. package/out/StdToml.sol/stdToml.json +0 -1
  131. package/out/StdUtils.sol/StdUtils.json +0 -1
  132. package/out/StorageSlot.sol/StorageSlot.json +0 -1
  133. package/out/Strings.sol/Strings.json +0 -1
  134. package/out/SurplusLib.sol/SurplusLib.json +0 -1
  135. package/out/SurplusLib.t.sol/SurplusHarness.json +0 -1
  136. package/out/SurplusLib.t.sol/SurplusLibTest.json +0 -1
  137. package/out/SwapAdapter.sol/SwapAdapterMock.json +0 -1
  138. package/out/Test.sol/Test.json +0 -1
  139. package/out/TokenLib.sol/TokenLib.json +0 -1
  140. package/out/TokenLib.t.sol/TokenLibHarness.json +0 -1
  141. package/out/TokenLib.t.sol/TokenLibTest.json +0 -1
  142. package/out/USDTMock.sol/USDTMock.json +0 -1
  143. package/out/UniversalAdapter.sol/UniversalAdapter.json +0 -1
  144. package/out/UniversalAdapter.t.sol/UniversalAdapterTest.json +0 -1
  145. package/out/Vm.sol/Vm.json +0 -1
  146. package/out/Vm.sol/VmSafe.json +0 -1
  147. package/out/WM.sol/WM.json +0 -1
  148. package/out/WM.t.sol/WMTest.json +0 -1
  149. package/out/WMAllowed.sol/WMAllowed.json +0 -1
  150. package/out/WrappedNativeMock.sol/WrappedNativeMock.json +0 -1
  151. package/out/build-info/621c6e28e002a5dd.json +0 -1
  152. package/out/build-info/7683d39d37ddee4a.json +0 -1
  153. package/out/console.sol/console.json +0 -1
  154. package/out/draft-IERC6093.sol/IERC1155Errors.json +0 -1
  155. package/out/draft-IERC6093.sol/IERC20Errors.json +0 -1
  156. package/out/draft-IERC6093.sol/IERC721Errors.json +0 -1
  157. package/out/safeconsole.sol/safeconsole.json +0 -1
  158. package/server.json +0 -21
  159. package/skill/assets/repermit.skeleton.json +0 -195
  160. package/skill/assets/token-addressbook.md +0 -97
  161. package/skill/assets/web3-sign-and-submit.example.js +0 -111
  162. package/skill/references/01-quickstart.md +0 -12
  163. package/skill/references/02-params.md +0 -39
  164. package/skill/references/03-sign.md +0 -6
  165. package/skill/references/04-patterns.md +0 -12
  166. package/skill/scripts/order.js +0 -1202
@@ -1 +0,0 @@
1
- {"abi":[{"type":"error","name":"InvalidOrderAdapterZero","inputs":[]},{"type":"error","name":"InvalidOrderChainid","inputs":[]},{"type":"error","name":"InvalidOrderDeadlineExpired","inputs":[]},{"type":"error","name":"InvalidOrderExchangeShareBps","inputs":[]},{"type":"error","name":"InvalidOrderExecutorZero","inputs":[]},{"type":"error","name":"InvalidOrderInputAmountGtMax","inputs":[]},{"type":"error","name":"InvalidOrderInputAmountZero","inputs":[]},{"type":"error","name":"InvalidOrderInputTokenZero","inputs":[]},{"type":"error","name":"InvalidOrderOutputRecipientZero","inputs":[]},{"type":"error","name":"InvalidOrderReactorMismatch","inputs":[]},{"type":"error","name":"InvalidOrderReactorZero","inputs":[]},{"type":"error","name":"InvalidOrderSameToken","inputs":[]},{"type":"error","name":"InvalidOrderSlippageTooHigh","inputs":[]},{"type":"error","name":"InvalidOrderStartInFuture","inputs":[]},{"type":"error","name":"InvalidOrderStartZero","inputs":[]},{"type":"error","name":"InvalidOrderSwapperZero","inputs":[]},{"type":"error","name":"InvalidOrderTriggerRange","inputs":[]}],"bytecode":{"object":"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122040515ae6b62ac9620281919478ac5b49f5e626bb6518b993918cb0d41436b54164736f6c634300081b0033","sourceMap":"288:2818:78:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;288:2818:78;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122040515ae6b62ac9620281919478ac5b49f5e626bb6518b993918cb0d41436b54164736f6c634300081b0033","sourceMap":"288:2818:78:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidOrderAdapterZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderChainid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderDeadlineExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderExchangeShareBps\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderExecutorZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderInputAmountGtMax\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderInputAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderInputTokenZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderOutputRecipientZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderReactorMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderReactorZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderSameToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderSlippageTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderStartInFuture\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderStartZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderSwapperZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOrderTriggerRange\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Order validation library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Validates order structure and enforces business logic constraints including chain ID verification\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/lib/OrderValidationLib.sol\":\"OrderValidationLib\"},\"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/Constants.sol\":{\"keccak256\":\"0x2e75daa84011ba34b45ca5612bac4c13adf030162b17b1993c0c2f3df31199a2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6eb900f937161693038c08a7fc543f34451c4ab9e2e97b72f0b7dc0b74657ae8\",\"dweb:/ipfs/QmSZRZTNfuxy7HXYKjMCmsS3mqbxprPxjyG8Fyzv3jmbdo\"]},\"src/Structs.sol\":{\"keccak256\":\"0xa48471c41240783de81364f66f0ed0ce976a9f6c496bfe0351dda602cc6cafcc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f49887cd0a32d9bd61033c145e1e537cf961e9e386cd318c24dfd7d89e8ab0d3\",\"dweb:/ipfs/QmeBFGcnMPor54WYeJrBp7JpjU2PxeC4qdjxw2fLATKmYf\"]},\"src/lib/OrderValidationLib.sol\":{\"keccak256\":\"0x68bcc4f36c42e5c1b4b2ee805fede5b1a9e55aa7f7f8971de933de1b82fdec5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2962452815a4af163fa36ce7694bef915bd96c7ed143e6a26550aa48830dbd43\",\"dweb:/ipfs/QmPA9iv2HGGqijWCyqBkFjR9T2hZZQqYnTm9h9YXihrX85\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"InvalidOrderAdapterZero"},{"inputs":[],"type":"error","name":"InvalidOrderChainid"},{"inputs":[],"type":"error","name":"InvalidOrderDeadlineExpired"},{"inputs":[],"type":"error","name":"InvalidOrderExchangeShareBps"},{"inputs":[],"type":"error","name":"InvalidOrderExecutorZero"},{"inputs":[],"type":"error","name":"InvalidOrderInputAmountGtMax"},{"inputs":[],"type":"error","name":"InvalidOrderInputAmountZero"},{"inputs":[],"type":"error","name":"InvalidOrderInputTokenZero"},{"inputs":[],"type":"error","name":"InvalidOrderOutputRecipientZero"},{"inputs":[],"type":"error","name":"InvalidOrderReactorMismatch"},{"inputs":[],"type":"error","name":"InvalidOrderReactorZero"},{"inputs":[],"type":"error","name":"InvalidOrderSameToken"},{"inputs":[],"type":"error","name":"InvalidOrderSlippageTooHigh"},{"inputs":[],"type":"error","name":"InvalidOrderStartInFuture"},{"inputs":[],"type":"error","name":"InvalidOrderStartZero"},{"inputs":[],"type":"error","name":"InvalidOrderSwapperZero"},{"inputs":[],"type":"error","name":"InvalidOrderTriggerRange"}],"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/OrderValidationLib.sol":"OrderValidationLib"},"evmVersion":"prague","libraries":{}},"sources":{"src/Constants.sol":{"keccak256":"0x2e75daa84011ba34b45ca5612bac4c13adf030162b17b1993c0c2f3df31199a2","urls":["bzz-raw://6eb900f937161693038c08a7fc543f34451c4ab9e2e97b72f0b7dc0b74657ae8","dweb:/ipfs/QmSZRZTNfuxy7HXYKjMCmsS3mqbxprPxjyG8Fyzv3jmbdo"],"license":"MIT"},"src/Structs.sol":{"keccak256":"0xa48471c41240783de81364f66f0ed0ce976a9f6c496bfe0351dda602cc6cafcc","urls":["bzz-raw://f49887cd0a32d9bd61033c145e1e537cf961e9e386cd318c24dfd7d89e8ab0d3","dweb:/ipfs/QmeBFGcnMPor54WYeJrBp7JpjU2PxeC4qdjxw2fLATKmYf"],"license":"MIT"},"src/lib/OrderValidationLib.sol":{"keccak256":"0x68bcc4f36c42e5c1b4b2ee805fede5b1a9e55aa7f7f8971de933de1b82fdec5c","urls":["bzz-raw://2962452815a4af163fa36ce7694bef915bd96c7ed143e6a26550aa48830dbd43","dweb:/ipfs/QmPA9iv2HGGqijWCyqBkFjR9T2hZZQqYnTm9h9YXihrX85"],"license":"MIT"}},"version":1},"id":78}