@somnia-chain/contracts-sdk 0.1.0 → 0.2.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 (394) hide show
  1. package/README.md +55 -23
  2. package/dist/abis.d.ts +32 -0
  3. package/dist/abis.js +26 -0
  4. package/dist/decode-core.d.ts +51 -0
  5. package/dist/decode-core.js +145 -0
  6. package/dist/decode.d.ts +15 -0
  7. package/dist/decode.js +30 -0
  8. package/dist/digest.d.ts +11 -0
  9. package/dist/digest.js +33 -0
  10. package/dist/gen/abi/deployer-contract/ProtocolDeployer.d.ts +2 -0
  11. package/dist/gen/abi/deployer-contract/ProtocolDeployer.js +3 -0
  12. package/dist/gen/abi/somnia-accounts/CompatibilityFallbackHandler.d.ts +2 -0
  13. package/dist/gen/abi/somnia-accounts/CompatibilityFallbackHandler.js +3 -0
  14. package/dist/gen/abi/somnia-accounts/MultiSend.d.ts +2 -0
  15. package/dist/gen/abi/somnia-accounts/MultiSend.js +3 -0
  16. package/dist/gen/abi/somnia-accounts/MultiSendCallOnly.d.ts +2 -0
  17. package/dist/gen/abi/somnia-accounts/MultiSendCallOnly.js +3 -0
  18. package/dist/gen/abi/somnia-accounts/Safe.d.ts +2 -0
  19. package/dist/gen/abi/somnia-accounts/Safe.js +3 -0
  20. package/dist/gen/abi/somnia-accounts/SomniaAccountFactory.d.ts +2 -0
  21. package/dist/gen/abi/somnia-accounts/SomniaAccountFactory.js +3 -0
  22. package/dist/gen/abi/somnia-accounts/SomniaAccountFactoryImpl.d.ts +2 -0
  23. package/dist/gen/abi/somnia-accounts/SomniaAccountFactoryImpl.js +3 -0
  24. package/dist/gen/abi/somnia-accounts/SomniaAccountFactoryImplV2.d.ts +2 -0
  25. package/dist/gen/abi/somnia-accounts/SomniaAccountFactoryImplV2.js +3 -0
  26. package/dist/gen/abi/somnia-accounts/SomniaAccountFactoryImplV3.d.ts +2 -0
  27. package/dist/gen/abi/somnia-accounts/SomniaAccountFactoryImplV3.js +3 -0
  28. package/dist/gen/abi/somnia-agents/agentRegistry.d.ts +2 -0
  29. package/dist/gen/abi/somnia-agents/agentRegistry.js +3 -0
  30. package/dist/gen/abi/somnia-agents/committee.d.ts +2 -0
  31. package/dist/gen/abi/somnia-agents/committee.js +3 -0
  32. package/dist/gen/abi/somnia-agents/somniaAgents.d.ts +2 -0
  33. package/dist/gen/abi/somnia-agents/somniaAgents.js +3 -0
  34. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.SBTCD_reader.d.ts +2 -0
  35. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.SBTCD_reader.js +3 -0
  36. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.aggregateImplementation.d.ts +2 -0
  37. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.aggregateImplementation.js +3 -0
  38. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.aggregateOracle.d.ts +2 -0
  39. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.aggregateOracle.js +3 -0
  40. package/dist/gen/abi/somnia-dex-protocol/agent-oracles.factory.d.ts +2 -0
  41. package/dist/gen/abi/somnia-dex-protocol/agent-oracles.factory.js +3 -0
  42. package/dist/gen/abi/somnia-dex-protocol/binary-market-makers.accessControl.d.ts +2 -0
  43. package/dist/gen/abi/somnia-dex-protocol/binary-market-makers.accessControl.js +3 -0
  44. package/dist/gen/abi/somnia-dex-protocol/binary-market-makers.upgradeableBeacon.d.ts +2 -0
  45. package/dist/gen/abi/somnia-dex-protocol/binary-market-makers.upgradeableBeacon.js +3 -0
  46. package/dist/gen/abi/somnia-dex-protocol/deploy.spotPoolImplementation.d.ts +2 -0
  47. package/dist/gen/abi/somnia-dex-protocol/deploy.spotPoolImplementation.js +3 -0
  48. package/dist/gen/abi/somnia-dex-protocol/dream-vault.d.ts +2 -0
  49. package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.d.ts +2 -0
  50. package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.js +3 -0
  51. package/dist/gen/abi/somnia-dex-protocol/dream-vault.js +3 -0
  52. package/dist/gen/abi/somnia-dex-protocol/linked-wallet-registry.registryImplementation.d.ts +2 -0
  53. package/dist/gen/abi/somnia-dex-protocol/linked-wallet-registry.registryImplementation.js +3 -0
  54. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.ADA_manual.d.ts +2 -0
  55. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.ADA_manual.js +3 -0
  56. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.AVAX_manual.d.ts +2 -0
  57. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.AVAX_manual.js +3 -0
  58. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.BNB_manual.d.ts +2 -0
  59. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.BNB_manual.js +3 -0
  60. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.BTC_manual.d.ts +2 -0
  61. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.BTC_manual.js +3 -0
  62. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.DOGE_manual.d.ts +2 -0
  63. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.DOGE_manual.js +3 -0
  64. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.ETH_manual.d.ts +2 -0
  65. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.ETH_manual.js +3 -0
  66. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.HYPE_manual.d.ts +2 -0
  67. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.HYPE_manual.js +3 -0
  68. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.LINK_manual.d.ts +2 -0
  69. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.LINK_manual.js +3 -0
  70. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.NEAR_manual.d.ts +2 -0
  71. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.NEAR_manual.js +3 -0
  72. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.SOL_manual.d.ts +2 -0
  73. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.SOL_manual.js +3 -0
  74. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.SUI_manual.d.ts +2 -0
  75. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.SUI_manual.js +3 -0
  76. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.TAO_manual.d.ts +2 -0
  77. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.TAO_manual.js +3 -0
  78. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.WLD_manual.d.ts +2 -0
  79. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.WLD_manual.js +3 -0
  80. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.XLM_manual.d.ts +2 -0
  81. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.XLM_manual.js +3 -0
  82. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.XRP_manual.d.ts +2 -0
  83. package/dist/gen/abi/somnia-dex-protocol/manual-oracles.XRP_manual.js +3 -0
  84. package/dist/gen/abi/somnia-dex-protocol/market-makers.accessControl.d.ts +2 -0
  85. package/dist/gen/abi/somnia-dex-protocol/market-makers.accessControl.js +3 -0
  86. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-native-usdso.d.ts +2 -0
  87. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-native-usdso.js +3 -0
  88. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-usdce-usdso.d.ts +2 -0
  89. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-usdce-usdso.js +3 -0
  90. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-wbtc-usdso.d.ts +2 -0
  91. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-wbtc-usdso.js +3 -0
  92. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-weth-usdso.d.ts +2 -0
  93. package/dist/gen/abi/somnia-dex-protocol/market-makers.marketMakers.mm-weth-usdso.js +3 -0
  94. package/dist/gen/abi/somnia-dex-protocol/market-makers.upgradeableBeacon.d.ts +2 -0
  95. package/dist/gen/abi/somnia-dex-protocol/market-makers.upgradeableBeacon.js +3 -0
  96. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SBNB_incumbentRouter.d.ts +2 -0
  97. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SBNB_incumbentRouter.js +3 -0
  98. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SBTCD_incumbentRouter.d.ts +2 -0
  99. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SBTCD_incumbentRouter.js +3 -0
  100. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SDOGE_incumbentRouter.d.ts +2 -0
  101. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SDOGE_incumbentRouter.js +3 -0
  102. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SETH_incumbentRouter.d.ts +2 -0
  103. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SETH_incumbentRouter.js +3 -0
  104. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SSOL_incumbentRouter.d.ts +2 -0
  105. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.SSOL_incumbentRouter.js +3 -0
  106. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.factory.d.ts +2 -0
  107. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.factory.js +3 -0
  108. package/dist/gen/abi/somnia-dex-protocol/operator-permissions-registry.registryImplementation.d.ts +2 -0
  109. package/dist/gen/abi/somnia-dex-protocol/operator-permissions-registry.registryImplementation.js +3 -0
  110. package/dist/gen/abi/somnia-dex-protocol/operator-permissions-registry.registryProxy.d.ts +2 -0
  111. package/dist/gen/abi/somnia-dex-protocol/operator-permissions-registry.registryProxy.js +3 -0
  112. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.d.ts +2 -0
  113. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.d.ts +2 -0
  114. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.js +7 -0
  115. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.js +3 -0
  116. package/dist/gen/abi/somnia-dex-protocol/perp-market-makers.perpMarketMakers.sim-mm-bnb-perp.d.ts +2 -0
  117. package/dist/gen/abi/somnia-dex-protocol/perp-market-makers.perpMarketMakers.sim-mm-bnb-perp.js +3 -0
  118. package/dist/gen/abi/somnia-dex-protocol/perp-market-makers.perpMarketMakers.sim-mm-btc-perp.d.ts +2 -0
  119. package/dist/gen/abi/somnia-dex-protocol/perp-market-makers.perpMarketMakers.sim-mm-btc-perp.js +3 -0
  120. package/dist/gen/abi/somnia-dex-protocol/perp-market-makers.perpMarketMakers.sim-mm-near-perp.d.ts +2 -0
  121. package/dist/gen/abi/somnia-dex-protocol/perp-market-makers.perpMarketMakers.sim-mm-near-perp.js +3 -0
  122. package/dist/gen/abi/somnia-dex-protocol/perp-taker-3.d.ts +2 -0
  123. package/dist/gen/abi/somnia-dex-protocol/perp-taker-3.js +3 -0
  124. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ADA-PERP_baseToken.d.ts +2 -0
  125. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ADA-PERP_baseToken.js +3 -0
  126. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.AVAX-PERP_baseToken.d.ts +2 -0
  127. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.AVAX-PERP_baseToken.js +3 -0
  128. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.BNB-PERP_baseToken.d.ts +2 -0
  129. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.BNB-PERP_baseToken.js +3 -0
  130. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.BTC-PERP_baseToken.d.ts +2 -0
  131. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.BTC-PERP_baseToken.js +3 -0
  132. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.DOGE-PERP_baseToken.d.ts +2 -0
  133. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.DOGE-PERP_baseToken.js +3 -0
  134. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ETH-PERP_baseToken.d.ts +2 -0
  135. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ETH-PERP_baseToken.js +3 -0
  136. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.HYPE-PERP_baseToken.d.ts +2 -0
  137. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.HYPE-PERP_baseToken.js +3 -0
  138. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LINK-PERP_baseToken.d.ts +2 -0
  139. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LINK-PERP_baseToken.js +3 -0
  140. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.NEAR-PERP_baseToken.d.ts +2 -0
  141. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.NEAR-PERP_baseToken.js +3 -0
  142. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SBTCC-PERP_baseToken.d.ts +2 -0
  143. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SBTCC-PERP_baseToken.js +3 -0
  144. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SOL-PERP_baseToken.d.ts +2 -0
  145. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SOL-PERP_baseToken.js +3 -0
  146. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SSOL-PERP_baseToken.d.ts +2 -0
  147. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SSOL-PERP_baseToken.js +3 -0
  148. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SUI-PERP_baseToken.d.ts +2 -0
  149. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.SUI-PERP_baseToken.js +3 -0
  150. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.TAO-PERP_baseToken.d.ts +2 -0
  151. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.TAO-PERP_baseToken.js +3 -0
  152. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WLD-PERP_baseToken.d.ts +2 -0
  153. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WLD-PERP_baseToken.js +3 -0
  154. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.XLM-PERP_baseToken.d.ts +2 -0
  155. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.XLM-PERP_baseToken.js +3 -0
  156. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.XRP-PERP_baseToken.d.ts +2 -0
  157. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.XRP-PERP_baseToken.js +3 -0
  158. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.adlRanker.d.ts +2 -0
  159. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.adlRanker.js +3 -0
  160. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.insuranceFund.d.ts +2 -0
  161. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.insuranceFund.js +3 -0
  162. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.linkedWalletAwareAdlRanker.d.ts +2 -0
  163. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.linkedWalletAwareAdlRanker.js +3 -0
  164. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.linkedWalletRegistry.d.ts +2 -0
  165. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.linkedWalletRegistry.js +3 -0
  166. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.liquidationEngine.d.ts +2 -0
  167. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.liquidationEngine.js +3 -0
  168. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.marginBank.d.ts +2 -0
  169. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.marginBank.js +3 -0
  170. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpPoolFactory.d.ts +2 -0
  171. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpPoolFactory.js +3 -0
  172. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.simBidder.d.ts +2 -0
  173. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.simBidder.js +3 -0
  174. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.unlinkGuard.d.ts +2 -0
  175. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.unlinkGuard.js +3 -0
  176. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.voucherDistributor.d.ts +2 -0
  177. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.voucherDistributor.js +3 -0
  178. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.ADA.d.ts +2 -0
  179. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.ADA.js +3 -0
  180. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.AVAX.d.ts +2 -0
  181. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.AVAX.js +3 -0
  182. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.BNB.d.ts +2 -0
  183. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.BNB.js +3 -0
  184. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.BTC.d.ts +2 -0
  185. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.BTC.js +3 -0
  186. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.DOGE.d.ts +2 -0
  187. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.DOGE.js +3 -0
  188. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.ETH.d.ts +2 -0
  189. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.ETH.js +3 -0
  190. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYPE.d.ts +2 -0
  191. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYPE.js +3 -0
  192. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LINK.d.ts +2 -0
  193. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LINK.js +3 -0
  194. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.NEAR.d.ts +2 -0
  195. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.NEAR.js +3 -0
  196. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.SOL.d.ts +2 -0
  197. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.SOL.js +3 -0
  198. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.SUI.d.ts +2 -0
  199. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.SUI.js +3 -0
  200. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TAO.d.ts +2 -0
  201. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TAO.js +3 -0
  202. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WLD.d.ts +2 -0
  203. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WLD.js +3 -0
  204. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XLM.d.ts +2 -0
  205. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XLM.js +3 -0
  206. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XRP.d.ts +2 -0
  207. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XRP.js +3 -0
  208. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistryBeacon.d.ts +2 -0
  209. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistryBeacon.js +3 -0
  210. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistryImplementation.d.ts +2 -0
  211. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistryImplementation.js +3 -0
  212. package/dist/gen/abi/somnia-dex-protocol/prophecy-oracle.d.ts +2 -0
  213. package/dist/gen/abi/somnia-dex-protocol/prophecy-oracle.js +3 -0
  214. package/dist/gen/abi/somnia-dex-protocol/router.routerImplementation.d.ts +2 -0
  215. package/dist/gen/abi/somnia-dex-protocol/router.routerImplementation.js +3 -0
  216. package/dist/gen/abi/somnia-dex-protocol/router.routerProxy.d.ts +2 -0
  217. package/dist/gen/abi/somnia-dex-protocol/router.routerProxy.js +3 -0
  218. package/dist/gen/abi/somnia-dex-protocol/settlement-scheduler.d.ts +2 -0
  219. package/dist/gen/abi/somnia-dex-protocol/settlement-scheduler.implementation.d.ts +2 -0
  220. package/dist/gen/abi/somnia-dex-protocol/settlement-scheduler.implementation.js +3 -0
  221. package/dist/gen/abi/somnia-dex-protocol/settlement-scheduler.js +3 -0
  222. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SBNB_proxy.d.ts +2 -0
  223. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SBNB_proxy.js +3 -0
  224. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SDOGE_proxy.d.ts +2 -0
  225. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SDOGE_proxy.js +3 -0
  226. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SETH_proxy.d.ts +2 -0
  227. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SETH_proxy.js +3 -0
  228. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SSOL_proxy.d.ts +2 -0
  229. package/dist/gen/abi/somnia-dex-protocol/sim-oracle-proxies.SSOL_proxy.js +3 -0
  230. package/dist/gen/abi/somnia-dex-protocol/spot-pool-registry.d.ts +2 -0
  231. package/dist/gen/abi/somnia-dex-protocol/spot-pool-registry.js +3 -0
  232. package/dist/gen/abi/somnia-dex-protocol/spot-pool.NATIVE_TOKEN_USDso.d.ts +2 -0
  233. package/dist/gen/abi/somnia-dex-protocol/spot-pool.NATIVE_TOKEN_USDso.js +3 -0
  234. package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Beacon.d.ts +2 -0
  235. package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Beacon.js +3 -0
  236. package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Implementation.d.ts +2 -0
  237. package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Implementation.js +3 -0
  238. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDC.e_USDso.d.ts +2 -0
  239. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDC.e_USDso.js +3 -0
  240. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDT_USDso.d.ts +2 -0
  241. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDT_USDso.js +3 -0
  242. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WBTC_USDso.d.ts +2 -0
  243. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WBTC_USDso.js +3 -0
  244. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WETH_USDso.d.ts +2 -0
  245. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WETH_USDso.js +3 -0
  246. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryBeacon.d.ts +2 -0
  247. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryBeacon.js +3 -0
  248. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.d.ts +2 -0
  249. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.js +3 -0
  250. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.NATIVE_TOKEN_USDso.d.ts +2 -0
  251. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.NATIVE_TOKEN_USDso.js +3 -0
  252. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDC.e_USDso.d.ts +2 -0
  253. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDC.e_USDso.js +3 -0
  254. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WBTC_USDso.d.ts +2 -0
  255. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WBTC_USDso.js +3 -0
  256. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WETH_USDso.d.ts +2 -0
  257. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WETH_USDso.js +3 -0
  258. package/dist/gen/abi/somnia-dex-protocol/stork-oracle.d.ts +2 -0
  259. package/dist/gen/abi/somnia-dex-protocol/stork-oracle.js +3 -0
  260. package/dist/gen/abi/somnia-markets/BinaryClobFactory.d.ts +2 -0
  261. package/dist/gen/abi/somnia-markets/BinaryClobFactory.js +3 -0
  262. package/dist/gen/abi/somnia-markets/BinaryMarketImpl.d.ts +2 -0
  263. package/dist/gen/abi/somnia-markets/BinaryMarketImpl.js +3 -0
  264. package/dist/gen/abi/somnia-markets/BinaryMarketsModule.d.ts +2 -0
  265. package/dist/gen/abi/somnia-markets/BinaryMarketsModule.js +3 -0
  266. package/dist/gen/abi/somnia-markets/BinaryPoolImpl.d.ts +2 -0
  267. package/dist/gen/abi/somnia-markets/BinaryPoolImpl.js +3 -0
  268. package/dist/gen/abi/somnia-markets/BinarySettlement.d.ts +2 -0
  269. package/dist/gen/abi/somnia-markets/BinarySettlement.js +3 -0
  270. package/dist/gen/abi/somnia-markets/CollateralRouter.d.ts +2 -0
  271. package/dist/gen/abi/somnia-markets/CollateralRouter.js +3 -0
  272. package/dist/gen/abi/somnia-markets/MarketCreatorFactory.d.ts +2 -0
  273. package/dist/gen/abi/somnia-markets/MarketCreatorFactory.js +3 -0
  274. package/dist/gen/abi/somnia-markets/MarketCreatorFactory.legacy1.d.ts +2 -0
  275. package/dist/gen/abi/somnia-markets/MarketCreatorFactory.legacy1.js +3 -0
  276. package/dist/gen/abi/somnia-markets/MarketsCore.d.ts +2 -0
  277. package/dist/gen/abi/somnia-markets/MarketsCore.js +3 -0
  278. package/dist/gen/abi/somnia-markets/OracleHub.d.ts +2 -0
  279. package/dist/gen/abi/somnia-markets/OracleHub.js +3 -0
  280. package/dist/gen/abi/somnia-markets/OutcomeToken6909.d.ts +2 -0
  281. package/dist/gen/abi/somnia-markets/OutcomeToken6909.js +3 -0
  282. package/dist/gen/abi/somnia-markets/venue-1.marketCreator.d.ts +2 -0
  283. package/dist/gen/abi/somnia-markets/venue-1.marketCreator.js +3 -0
  284. package/dist/gen/abi/somnia-markets/venue-1.marketCreatorPolicy.d.ts +2 -0
  285. package/dist/gen/abi/somnia-markets/venue-1.marketCreatorPolicy.js +3 -0
  286. package/dist/gen/abi/somnia-markets/venue-2.marketCreator.d.ts +2 -0
  287. package/dist/gen/abi/somnia-markets/venue-2.marketCreator.js +3 -0
  288. package/dist/gen/abi/somnia-markets/venue-2.marketCreatorPolicy.d.ts +2 -0
  289. package/dist/gen/abi/somnia-markets/venue-2.marketCreatorPolicy.js +3 -0
  290. package/dist/gen/abi/somnia-markets/venue-3.marketCreator.d.ts +2 -0
  291. package/dist/gen/abi/somnia-markets/venue-3.marketCreator.js +3 -0
  292. package/dist/gen/abi/somnia-markets/venue-3.marketCreatorPolicy.d.ts +2 -0
  293. package/dist/gen/abi/somnia-markets/venue-3.marketCreatorPolicy.js +3 -0
  294. package/dist/gen/abi/somnia-markets/venue-5.marketCreator.d.ts +2 -0
  295. package/dist/gen/abi/somnia-markets/venue-5.marketCreator.js +3 -0
  296. package/dist/gen/abi/somnia-markets/venue-5.marketCreatorPolicy.d.ts +2 -0
  297. package/dist/gen/abi/somnia-markets/venue-5.marketCreatorPolicy.js +3 -0
  298. package/dist/gen/abis/072309c539e4.d.ts +864 -0
  299. package/dist/gen/abis/072309c539e4.js +1114 -0
  300. package/dist/gen/abis/0b3cd40e0bc8.d.ts +12 -0
  301. package/dist/gen/abis/0b3cd40e0bc8.js +17 -0
  302. package/dist/gen/abis/1a2db3035880.d.ts +891 -0
  303. package/dist/gen/abis/1a2db3035880.js +1149 -0
  304. package/dist/gen/abis/1a5696b34cbf.d.ts +589 -0
  305. package/dist/gen/abis/1a5696b34cbf.js +763 -0
  306. package/dist/gen/abis/1e00c7896e9e.d.ts +342 -0
  307. package/dist/gen/abis/1e00c7896e9e.js +442 -0
  308. package/dist/gen/abis/28f7c4e190be.d.ts +56 -0
  309. package/dist/gen/abis/28f7c4e190be.js +76 -0
  310. package/dist/gen/abis/2fc4ebdf8536.d.ts +492 -0
  311. package/dist/gen/abis/2fc4ebdf8536.js +641 -0
  312. package/dist/gen/abis/3197a9b71399.d.ts +690 -0
  313. package/dist/gen/abis/3197a9b71399.js +896 -0
  314. package/dist/gen/abis/3d5f1ad25c1d.d.ts +370 -0
  315. package/dist/gen/abis/3d5f1ad25c1d.js +480 -0
  316. package/dist/gen/abis/3eafdb9c0c96.d.ts +264 -0
  317. package/dist/gen/abis/3eafdb9c0c96.js +345 -0
  318. package/dist/gen/abis/403090974089.d.ts +590 -0
  319. package/dist/gen/abis/403090974089.js +766 -0
  320. package/dist/gen/abis/4167268939aa.d.ts +306 -0
  321. package/dist/gen/abis/4167268939aa.js +393 -0
  322. package/dist/gen/abis/46a90f031627.d.ts +940 -0
  323. package/dist/gen/abis/46a90f031627.js +1196 -0
  324. package/dist/gen/abis/49cb4deac436.d.ts +2041 -0
  325. package/dist/gen/abis/49cb4deac436.js +2618 -0
  326. package/dist/gen/abis/4d8bacb29f20.d.ts +991 -0
  327. package/dist/gen/abis/4d8bacb29f20.js +1271 -0
  328. package/dist/gen/abis/69f7ea016674.d.ts +202 -0
  329. package/dist/gen/abis/69f7ea016674.js +265 -0
  330. package/dist/gen/abis/734133340224.d.ts +1371 -0
  331. package/dist/gen/abis/734133340224.js +1767 -0
  332. package/dist/gen/abis/73ce587427d9.d.ts +2509 -0
  333. package/dist/gen/abis/73ce587427d9.js +3227 -0
  334. package/dist/gen/abis/7837fce34f57.d.ts +169 -0
  335. package/dist/gen/abis/7837fce34f57.js +221 -0
  336. package/dist/gen/abis/7efe899eb023.d.ts +1005 -0
  337. package/dist/gen/abis/7efe899eb023.js +1283 -0
  338. package/dist/gen/abis/836562f8baa3.d.ts +951 -0
  339. package/dist/gen/abis/836562f8baa3.js +1227 -0
  340. package/dist/gen/abis/83cdff66efa0.d.ts +278 -0
  341. package/dist/gen/abis/83cdff66efa0.js +365 -0
  342. package/dist/gen/abis/947a1caa8a16.d.ts +59 -0
  343. package/dist/gen/abis/947a1caa8a16.js +80 -0
  344. package/dist/gen/abis/9611b42c6d5f.d.ts +452 -0
  345. package/dist/gen/abis/9611b42c6d5f.js +590 -0
  346. package/dist/gen/abis/96e8cf2c064f.d.ts +1494 -0
  347. package/dist/gen/abis/96e8cf2c064f.js +1927 -0
  348. package/dist/gen/abis/9818d0265866.d.ts +874 -0
  349. package/dist/gen/abis/9818d0265866.js +1115 -0
  350. package/dist/gen/abis/9d6d8799f16f.d.ts +457 -0
  351. package/dist/gen/abis/9d6d8799f16f.js +587 -0
  352. package/dist/gen/abis/acdb264ea8c1.d.ts +2185 -0
  353. package/dist/gen/abis/acdb264ea8c1.js +2817 -0
  354. package/dist/gen/abis/b127df9297ac.d.ts +226 -0
  355. package/dist/gen/abis/b127df9297ac.js +292 -0
  356. package/dist/gen/abis/b3a5eed8be5c.d.ts +270 -0
  357. package/dist/gen/abis/b3a5eed8be5c.js +356 -0
  358. package/dist/gen/abis/b60156cb0dcf.d.ts +287 -0
  359. package/dist/gen/abis/b60156cb0dcf.js +376 -0
  360. package/dist/gen/abis/be2135567d5c.d.ts +358 -0
  361. package/dist/gen/abis/be2135567d5c.js +461 -0
  362. package/dist/gen/abis/c76e9681cb2f.d.ts +200 -0
  363. package/dist/gen/abis/c76e9681cb2f.js +265 -0
  364. package/dist/gen/abis/c84f8d0f9550.d.ts +16 -0
  365. package/dist/gen/abis/c84f8d0f9550.js +22 -0
  366. package/dist/gen/abis/cf9c2beac210.d.ts +139 -0
  367. package/dist/gen/abis/cf9c2beac210.js +180 -0
  368. package/dist/gen/abis/d407c410234a.d.ts +490 -0
  369. package/dist/gen/abis/d407c410234a.js +640 -0
  370. package/dist/gen/abis/d898521cbf00.d.ts +1591 -0
  371. package/dist/gen/abis/d898521cbf00.js +2070 -0
  372. package/dist/gen/abis/ecc4ba1d4404.d.ts +51 -0
  373. package/dist/gen/abis/ecc4ba1d4404.js +69 -0
  374. package/dist/gen/abis/eeb301f1a74b.d.ts +1466 -0
  375. package/dist/gen/abis/eeb301f1a74b.js +1872 -0
  376. package/dist/gen/abis/f4c6a88bd236.d.ts +686 -0
  377. package/dist/gen/abis/f4c6a88bd236.js +884 -0
  378. package/dist/gen/abis/f97be7b72b2f.d.ts +633 -0
  379. package/dist/gen/abis/f97be7b72b2f.js +810 -0
  380. package/dist/gen/abis/faaa48786a09.d.ts +547 -0
  381. package/dist/gen/abis/faaa48786a09.js +703 -0
  382. package/dist/gen/abis/fd1f15294d67.d.ts +774 -0
  383. package/dist/gen/abis/fd1f15294d67.js +1001 -0
  384. package/dist/gen/abis/fea5d0628b94.d.ts +109 -0
  385. package/dist/gen/abis/fea5d0628b94.js +144 -0
  386. package/dist/gen/abis-index.d.ts +29245 -0
  387. package/dist/gen/abis-index.js +91 -0
  388. package/dist/gen/meta.d.ts +5 -0
  389. package/dist/gen/meta.js +6 -0
  390. package/dist/gen/registry.d.ts +216 -92124
  391. package/dist/gen/registry.js +3696 -38212
  392. package/dist/index.d.ts +63 -16
  393. package/dist/index.js +94 -37
  394. package/package.json +24 -1
@@ -0,0 +1,2618 @@
1
+ // Generated by `registry sdk` from dist-public/ — do not edit.
2
+ export const abi_49cb4deac436 = [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "stateMutability": "payable",
10
+ "type": "receive"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "FEE_PARAMS_VERSION",
15
+ "outputs": [
16
+ {
17
+ "internalType": "uint8",
18
+ "name": "",
19
+ "type": "uint8"
20
+ }
21
+ ],
22
+ "stateMutability": "view",
23
+ "type": "function"
24
+ },
25
+ {
26
+ "inputs": [],
27
+ "name": "MAX_FEE_BPS",
28
+ "outputs": [
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "",
32
+ "type": "uint256"
33
+ }
34
+ ],
35
+ "stateMutability": "view",
36
+ "type": "function"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "REDEEM_AUTH_TYPEHASH",
41
+ "outputs": [
42
+ {
43
+ "internalType": "bytes32",
44
+ "name": "",
45
+ "type": "bytes32"
46
+ }
47
+ ],
48
+ "stateMutability": "view",
49
+ "type": "function"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "UPGRADE_INTERFACE_VERSION",
54
+ "outputs": [
55
+ {
56
+ "internalType": "string",
57
+ "name": "",
58
+ "type": "string"
59
+ }
60
+ ],
61
+ "stateMutability": "view",
62
+ "type": "function"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "VENUE_AUTH_TYPEHASH",
67
+ "outputs": [
68
+ {
69
+ "internalType": "bytes32",
70
+ "name": "",
71
+ "type": "bytes32"
72
+ }
73
+ ],
74
+ "stateMutability": "view",
75
+ "type": "function"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "acceptOwnership",
80
+ "outputs": [],
81
+ "stateMutability": "nonpayable",
82
+ "type": "function"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "address",
88
+ "name": "adapter",
89
+ "type": "address"
90
+ }
91
+ ],
92
+ "name": "approvedAdapters",
93
+ "outputs": [
94
+ {
95
+ "internalType": "bool",
96
+ "name": "",
97
+ "type": "bool"
98
+ }
99
+ ],
100
+ "stateMutability": "view",
101
+ "type": "function"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "clobBinaryPoolImpl",
106
+ "outputs": [
107
+ {
108
+ "internalType": "address",
109
+ "name": "",
110
+ "type": "address"
111
+ }
112
+ ],
113
+ "stateMutability": "view",
114
+ "type": "function"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "clobFactory",
119
+ "outputs": [
120
+ {
121
+ "internalType": "contract BinaryClobFactory",
122
+ "name": "",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint32",
133
+ "name": "operatorId",
134
+ "type": "uint32"
135
+ },
136
+ {
137
+ "internalType": "bytes32",
138
+ "name": "venueId",
139
+ "type": "bytes32"
140
+ },
141
+ {
142
+ "components": [
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "oracleQuestionId",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "internalType": "contract IOracleAdapter",
150
+ "name": "oracleAdapter",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "contract IERC20",
155
+ "name": "collateral",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "components": [
160
+ {
161
+ "internalType": "uint256",
162
+ "name": "tickSize",
163
+ "type": "uint256"
164
+ },
165
+ {
166
+ "internalType": "uint256",
167
+ "name": "minQuantity",
168
+ "type": "uint256"
169
+ },
170
+ {
171
+ "internalType": "uint256",
172
+ "name": "lotSize",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "internalType": "struct OrderBookParameters",
177
+ "name": "bookParams",
178
+ "type": "tuple"
179
+ },
180
+ {
181
+ "internalType": "string",
182
+ "name": "asset",
183
+ "type": "string"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "strike",
188
+ "type": "uint256"
189
+ },
190
+ {
191
+ "internalType": "uint64",
192
+ "name": "tradingStart",
193
+ "type": "uint64"
194
+ },
195
+ {
196
+ "internalType": "uint64",
197
+ "name": "expiry",
198
+ "type": "uint64"
199
+ },
200
+ {
201
+ "internalType": "uint64",
202
+ "name": "settlementWindow",
203
+ "type": "uint64"
204
+ },
205
+ {
206
+ "internalType": "string",
207
+ "name": "question",
208
+ "type": "string"
209
+ },
210
+ {
211
+ "internalType": "uint256",
212
+ "name": "referenceQuestionId",
213
+ "type": "uint256"
214
+ },
215
+ {
216
+ "internalType": "bytes",
217
+ "name": "context",
218
+ "type": "bytes"
219
+ }
220
+ ],
221
+ "internalType": "struct BinaryMarketsModule.CreateMarketParams",
222
+ "name": "p",
223
+ "type": "tuple"
224
+ },
225
+ {
226
+ "components": [
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "nonce",
230
+ "type": "uint256"
231
+ },
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "deadline",
235
+ "type": "uint256"
236
+ },
237
+ {
238
+ "internalType": "bytes",
239
+ "name": "signature",
240
+ "type": "bytes"
241
+ }
242
+ ],
243
+ "internalType": "struct VenueAuth",
244
+ "name": "auth",
245
+ "type": "tuple"
246
+ }
247
+ ],
248
+ "name": "createMarket",
249
+ "outputs": [
250
+ {
251
+ "internalType": "bytes32",
252
+ "name": "marketId",
253
+ "type": "bytes32"
254
+ },
255
+ {
256
+ "internalType": "address",
257
+ "name": "market",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "stateMutability": "payable",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "eip712Domain",
267
+ "outputs": [
268
+ {
269
+ "internalType": "bytes1",
270
+ "name": "fields",
271
+ "type": "bytes1"
272
+ },
273
+ {
274
+ "internalType": "string",
275
+ "name": "name",
276
+ "type": "string"
277
+ },
278
+ {
279
+ "internalType": "string",
280
+ "name": "version",
281
+ "type": "string"
282
+ },
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "chainId",
286
+ "type": "uint256"
287
+ },
288
+ {
289
+ "internalType": "address",
290
+ "name": "verifyingContract",
291
+ "type": "address"
292
+ },
293
+ {
294
+ "internalType": "bytes32",
295
+ "name": "salt",
296
+ "type": "bytes32"
297
+ },
298
+ {
299
+ "internalType": "uint256[]",
300
+ "name": "extensions",
301
+ "type": "uint256[]"
302
+ }
303
+ ],
304
+ "stateMutability": "view",
305
+ "type": "function"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "components": [
311
+ {
312
+ "internalType": "uint64",
313
+ "name": "makerFeeBps",
314
+ "type": "uint64"
315
+ },
316
+ {
317
+ "internalType": "uint64",
318
+ "name": "takerFeeBps",
319
+ "type": "uint64"
320
+ },
321
+ {
322
+ "internalType": "uint64",
323
+ "name": "maxBuilderFeeBps",
324
+ "type": "uint64"
325
+ },
326
+ {
327
+ "internalType": "uint64",
328
+ "name": "routingFeeBps",
329
+ "type": "uint64"
330
+ },
331
+ {
332
+ "internalType": "uint64",
333
+ "name": "settlementFeeBps",
334
+ "type": "uint64"
335
+ },
336
+ {
337
+ "internalType": "enum VoidPolicy",
338
+ "name": "voidPolicy",
339
+ "type": "uint8"
340
+ }
341
+ ],
342
+ "internalType": "struct BinaryVenueParams",
343
+ "name": "vp",
344
+ "type": "tuple"
345
+ }
346
+ ],
347
+ "name": "encodeVenueFeeParams",
348
+ "outputs": [
349
+ {
350
+ "internalType": "bytes",
351
+ "name": "",
352
+ "type": "bytes"
353
+ }
354
+ ],
355
+ "stateMutability": "pure",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [
360
+ {
361
+ "internalType": "bytes32",
362
+ "name": "marketId",
363
+ "type": "bytes32"
364
+ }
365
+ ],
366
+ "name": "finalizeMarket",
367
+ "outputs": [],
368
+ "stateMutability": "nonpayable",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [
373
+ {
374
+ "internalType": "address",
375
+ "name": "creator",
376
+ "type": "address"
377
+ },
378
+ {
379
+ "internalType": "address",
380
+ "name": "collateral",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "name": "freePoolCount",
385
+ "outputs": [
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "count",
389
+ "type": "uint256"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "address",
399
+ "name": "creator",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "address",
404
+ "name": "collateral",
405
+ "type": "address"
406
+ }
407
+ ],
408
+ "name": "getFreePools",
409
+ "outputs": [
410
+ {
411
+ "internalType": "address[]",
412
+ "name": "pools",
413
+ "type": "address[]"
414
+ }
415
+ ],
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "contract MarketsCore",
423
+ "name": "marketsCore_",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "internalType": "address",
428
+ "name": "admin_",
429
+ "type": "address"
430
+ }
431
+ ],
432
+ "name": "initialize",
433
+ "outputs": [],
434
+ "stateMutability": "nonpayable",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [
439
+ {
440
+ "internalType": "bytes32",
441
+ "name": "marketId",
442
+ "type": "bytes32"
443
+ }
444
+ ],
445
+ "name": "marketAddress",
446
+ "outputs": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "market",
450
+ "type": "address"
451
+ }
452
+ ],
453
+ "stateMutability": "view",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "market",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "name": "marketIdByAddress",
465
+ "outputs": [
466
+ {
467
+ "internalType": "bytes32",
468
+ "name": "marketId",
469
+ "type": "bytes32"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "uint256",
479
+ "name": "oracleQuestionId",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "",
485
+ "type": "uint256"
486
+ }
487
+ ],
488
+ "name": "marketIdsForOracleQuestion",
489
+ "outputs": [
490
+ {
491
+ "internalType": "bytes32",
492
+ "name": "",
493
+ "type": "bytes32"
494
+ }
495
+ ],
496
+ "stateMutability": "view",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [
501
+ {
502
+ "internalType": "bytes32",
503
+ "name": "marketId",
504
+ "type": "bytes32"
505
+ }
506
+ ],
507
+ "name": "marketNonce",
508
+ "outputs": [
509
+ {
510
+ "internalType": "uint64",
511
+ "name": "nonce",
512
+ "type": "uint64"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "bytes32",
522
+ "name": "marketId",
523
+ "type": "bytes32"
524
+ }
525
+ ],
526
+ "name": "marketReference",
527
+ "outputs": [
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "referenceQuestionId",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "bytes32",
541
+ "name": "marketId",
542
+ "type": "bytes32"
543
+ }
544
+ ],
545
+ "name": "marketRefs",
546
+ "outputs": [
547
+ {
548
+ "internalType": "contract IERC20",
549
+ "name": "collateral",
550
+ "type": "address"
551
+ },
552
+ {
553
+ "internalType": "address",
554
+ "name": "market",
555
+ "type": "address"
556
+ },
557
+ {
558
+ "internalType": "uint256",
559
+ "name": "yesId",
560
+ "type": "uint256"
561
+ },
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "noId",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "stateMutability": "view",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "marketType",
574
+ "outputs": [
575
+ {
576
+ "internalType": "bytes4",
577
+ "name": "",
578
+ "type": "bytes4"
579
+ }
580
+ ],
581
+ "stateMutability": "pure",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "bytes32",
588
+ "name": "marketId",
589
+ "type": "bytes32"
590
+ }
591
+ ],
592
+ "name": "markets",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "oracleQuestionId",
597
+ "type": "uint256"
598
+ },
599
+ {
600
+ "internalType": "uint8",
601
+ "name": "outcomeSlotCount",
602
+ "type": "uint8"
603
+ },
604
+ {
605
+ "internalType": "enum VoidPolicy",
606
+ "name": "voidPolicy",
607
+ "type": "uint8"
608
+ },
609
+ {
610
+ "internalType": "contract IERC20",
611
+ "name": "collateral",
612
+ "type": "address"
613
+ },
614
+ {
615
+ "internalType": "uint32",
616
+ "name": "originOperatorId",
617
+ "type": "uint32"
618
+ },
619
+ {
620
+ "internalType": "bytes32",
621
+ "name": "originVenueId",
622
+ "type": "bytes32"
623
+ },
624
+ {
625
+ "internalType": "contract IOracleAdapter",
626
+ "name": "oracleAdapter",
627
+ "type": "address"
628
+ },
629
+ {
630
+ "internalType": "address",
631
+ "name": "creator",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "internalType": "address",
636
+ "name": "market",
637
+ "type": "address"
638
+ },
639
+ {
640
+ "internalType": "address",
641
+ "name": "pool",
642
+ "type": "address"
643
+ },
644
+ {
645
+ "internalType": "uint256",
646
+ "name": "yesId",
647
+ "type": "uint256"
648
+ },
649
+ {
650
+ "internalType": "uint256",
651
+ "name": "noId",
652
+ "type": "uint256"
653
+ },
654
+ {
655
+ "internalType": "uint64",
656
+ "name": "tradingStart",
657
+ "type": "uint64"
658
+ },
659
+ {
660
+ "internalType": "uint64",
661
+ "name": "expiry",
662
+ "type": "uint64"
663
+ }
664
+ ],
665
+ "stateMutability": "view",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [],
670
+ "name": "marketsCore",
671
+ "outputs": [
672
+ {
673
+ "internalType": "contract MarketsCore",
674
+ "name": "",
675
+ "type": "address"
676
+ }
677
+ ],
678
+ "stateMutability": "view",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [
683
+ {
684
+ "internalType": "uint32",
685
+ "name": "operatorId",
686
+ "type": "uint32"
687
+ },
688
+ {
689
+ "internalType": "bytes32",
690
+ "name": "venueId",
691
+ "type": "bytes32"
692
+ },
693
+ {
694
+ "internalType": "bytes32",
695
+ "name": "marketId",
696
+ "type": "bytes32"
697
+ },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "amount",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "name": "mergeCompleteSet",
705
+ "outputs": [],
706
+ "stateMutability": "nonpayable",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "uint32",
713
+ "name": "operatorId",
714
+ "type": "uint32"
715
+ },
716
+ {
717
+ "internalType": "bytes32",
718
+ "name": "venueId",
719
+ "type": "bytes32"
720
+ },
721
+ {
722
+ "internalType": "bytes32",
723
+ "name": "marketId",
724
+ "type": "bytes32"
725
+ },
726
+ {
727
+ "internalType": "uint256",
728
+ "name": "amount",
729
+ "type": "uint256"
730
+ }
731
+ ],
732
+ "name": "mintCompleteSet",
733
+ "outputs": [],
734
+ "stateMutability": "nonpayable",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
739
+ {
740
+ "internalType": "bytes[]",
741
+ "name": "data",
742
+ "type": "bytes[]"
743
+ }
744
+ ],
745
+ "name": "multicall",
746
+ "outputs": [
747
+ {
748
+ "internalType": "bytes[]",
749
+ "name": "results",
750
+ "type": "bytes[]"
751
+ }
752
+ ],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [],
758
+ "name": "outcomeToken",
759
+ "outputs": [
760
+ {
761
+ "internalType": "contract IOutcomeToken6909",
762
+ "name": "",
763
+ "type": "address"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "owner",
772
+ "outputs": [
773
+ {
774
+ "internalType": "address",
775
+ "name": "",
776
+ "type": "address"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [],
784
+ "name": "pendingOwner",
785
+ "outputs": [
786
+ {
787
+ "internalType": "address",
788
+ "name": "",
789
+ "type": "address"
790
+ }
791
+ ],
792
+ "stateMutability": "view",
793
+ "type": "function"
794
+ },
795
+ {
796
+ "inputs": [
797
+ {
798
+ "internalType": "address",
799
+ "name": "creator",
800
+ "type": "address"
801
+ },
802
+ {
803
+ "internalType": "uint256",
804
+ "name": "slot",
805
+ "type": "uint256"
806
+ }
807
+ ],
808
+ "name": "pendingReleaseAt",
809
+ "outputs": [
810
+ {
811
+ "internalType": "bytes32",
812
+ "name": "marketId",
813
+ "type": "bytes32"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "oracleQuestionId",
824
+ "type": "uint256"
825
+ }
826
+ ],
827
+ "name": "pokeOracle",
828
+ "outputs": [],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "pool",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "name": "poolCreator",
841
+ "outputs": [
842
+ {
843
+ "internalType": "address",
844
+ "name": "creator",
845
+ "type": "address"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ },
851
+ {
852
+ "inputs": [],
853
+ "name": "proxiableUUID",
854
+ "outputs": [
855
+ {
856
+ "internalType": "bytes32",
857
+ "name": "",
858
+ "type": "bytes32"
859
+ }
860
+ ],
861
+ "stateMutability": "view",
862
+ "type": "function"
863
+ },
864
+ {
865
+ "inputs": [
866
+ {
867
+ "internalType": "uint32",
868
+ "name": "operatorId",
869
+ "type": "uint32"
870
+ },
871
+ {
872
+ "internalType": "bytes32",
873
+ "name": "venueId",
874
+ "type": "bytes32"
875
+ },
876
+ {
877
+ "internalType": "bytes32",
878
+ "name": "marketId",
879
+ "type": "bytes32"
880
+ },
881
+ {
882
+ "internalType": "uint8",
883
+ "name": "outcomeIdx",
884
+ "type": "uint8"
885
+ },
886
+ {
887
+ "internalType": "uint256",
888
+ "name": "amount",
889
+ "type": "uint256"
890
+ }
891
+ ],
892
+ "name": "redeem",
893
+ "outputs": [],
894
+ "stateMutability": "nonpayable",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "address",
901
+ "name": "owner",
902
+ "type": "address"
903
+ },
904
+ {
905
+ "internalType": "uint256",
906
+ "name": "nonce",
907
+ "type": "uint256"
908
+ },
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "deadline",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "internalType": "bytes",
916
+ "name": "sig",
917
+ "type": "bytes"
918
+ },
919
+ {
920
+ "internalType": "uint32",
921
+ "name": "operatorId",
922
+ "type": "uint32"
923
+ },
924
+ {
925
+ "internalType": "bytes32",
926
+ "name": "venueId",
927
+ "type": "bytes32"
928
+ },
929
+ {
930
+ "internalType": "bytes32",
931
+ "name": "marketId",
932
+ "type": "bytes32"
933
+ },
934
+ {
935
+ "internalType": "uint8",
936
+ "name": "outcomeIdx",
937
+ "type": "uint8"
938
+ },
939
+ {
940
+ "internalType": "uint256",
941
+ "name": "amount",
942
+ "type": "uint256"
943
+ }
944
+ ],
945
+ "name": "redeemFor",
946
+ "outputs": [],
947
+ "stateMutability": "nonpayable",
948
+ "type": "function"
949
+ },
950
+ {
951
+ "inputs": [
952
+ {
953
+ "internalType": "uint32",
954
+ "name": "operatorId",
955
+ "type": "uint32"
956
+ },
957
+ {
958
+ "internalType": "bytes32",
959
+ "name": "venueId",
960
+ "type": "bytes32"
961
+ },
962
+ {
963
+ "internalType": "bytes32[]",
964
+ "name": "marketIds",
965
+ "type": "bytes32[]"
966
+ },
967
+ {
968
+ "internalType": "uint8[]",
969
+ "name": "outcomeIdxs",
970
+ "type": "uint8[]"
971
+ },
972
+ {
973
+ "internalType": "uint256[]",
974
+ "name": "amounts",
975
+ "type": "uint256[]"
976
+ }
977
+ ],
978
+ "name": "redeemMany",
979
+ "outputs": [],
980
+ "stateMutability": "nonpayable",
981
+ "type": "function"
982
+ },
983
+ {
984
+ "inputs": [
985
+ {
986
+ "internalType": "address",
987
+ "name": "owner",
988
+ "type": "address"
989
+ },
990
+ {
991
+ "internalType": "uint256",
992
+ "name": "nonce",
993
+ "type": "uint256"
994
+ }
995
+ ],
996
+ "name": "redeemNonceUsed",
997
+ "outputs": [
998
+ {
999
+ "internalType": "bool",
1000
+ "name": "",
1001
+ "type": "bool"
1002
+ }
1003
+ ],
1004
+ "stateMutability": "view",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "address",
1011
+ "name": "creator",
1012
+ "type": "address"
1013
+ }
1014
+ ],
1015
+ "name": "releaseHead",
1016
+ "outputs": [
1017
+ {
1018
+ "internalType": "uint256",
1019
+ "name": "head",
1020
+ "type": "uint256"
1021
+ }
1022
+ ],
1023
+ "stateMutability": "view",
1024
+ "type": "function"
1025
+ },
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "bytes32",
1030
+ "name": "marketId",
1031
+ "type": "bytes32"
1032
+ }
1033
+ ],
1034
+ "name": "releasePool",
1035
+ "outputs": [],
1036
+ "stateMutability": "nonpayable",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [
1041
+ {
1042
+ "internalType": "bytes32",
1043
+ "name": "marketId",
1044
+ "type": "bytes32"
1045
+ }
1046
+ ],
1047
+ "name": "releasePoolSelf",
1048
+ "outputs": [],
1049
+ "stateMutability": "nonpayable",
1050
+ "type": "function"
1051
+ },
1052
+ {
1053
+ "inputs": [
1054
+ {
1055
+ "internalType": "bytes32[]",
1056
+ "name": "marketIds",
1057
+ "type": "bytes32[]"
1058
+ }
1059
+ ],
1060
+ "name": "releasePools",
1061
+ "outputs": [],
1062
+ "stateMutability": "nonpayable",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "inputs": [
1067
+ {
1068
+ "internalType": "address",
1069
+ "name": "creator",
1070
+ "type": "address"
1071
+ }
1072
+ ],
1073
+ "name": "releaseTail",
1074
+ "outputs": [
1075
+ {
1076
+ "internalType": "uint256",
1077
+ "name": "tail",
1078
+ "type": "uint256"
1079
+ }
1080
+ ],
1081
+ "stateMutability": "view",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "inputs": [],
1086
+ "name": "renounceOwnership",
1087
+ "outputs": [],
1088
+ "stateMutability": "nonpayable",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [
1093
+ {
1094
+ "internalType": "bytes32",
1095
+ "name": "marketId",
1096
+ "type": "bytes32"
1097
+ },
1098
+ {
1099
+ "internalType": "uint32",
1100
+ "name": "payoutDenominator",
1101
+ "type": "uint32"
1102
+ },
1103
+ {
1104
+ "internalType": "uint256[]",
1105
+ "name": "payoutNumerators",
1106
+ "type": "uint256[]"
1107
+ },
1108
+ {
1109
+ "internalType": "bool",
1110
+ "name": "voided",
1111
+ "type": "bool"
1112
+ }
1113
+ ],
1114
+ "name": "resolveOne",
1115
+ "outputs": [],
1116
+ "stateMutability": "nonpayable",
1117
+ "type": "function"
1118
+ },
1119
+ {
1120
+ "inputs": [
1121
+ {
1122
+ "internalType": "uint32",
1123
+ "name": "operatorId",
1124
+ "type": "uint32"
1125
+ },
1126
+ {
1127
+ "internalType": "bytes32",
1128
+ "name": "venueId",
1129
+ "type": "bytes32"
1130
+ },
1131
+ {
1132
+ "internalType": "contract IOracleAdapter",
1133
+ "name": "adapter",
1134
+ "type": "address"
1135
+ },
1136
+ {
1137
+ "components": [
1138
+ {
1139
+ "internalType": "string",
1140
+ "name": "questionText",
1141
+ "type": "string"
1142
+ },
1143
+ {
1144
+ "components": [
1145
+ {
1146
+ "internalType": "enum QuestionSourceType",
1147
+ "name": "sourceType",
1148
+ "type": "uint8"
1149
+ },
1150
+ {
1151
+ "internalType": "bytes",
1152
+ "name": "params",
1153
+ "type": "bytes"
1154
+ }
1155
+ ],
1156
+ "internalType": "struct QuestionSource[]",
1157
+ "name": "sources",
1158
+ "type": "tuple[]"
1159
+ },
1160
+ {
1161
+ "components": [
1162
+ {
1163
+ "internalType": "enum AnswerType",
1164
+ "name": "answerType",
1165
+ "type": "uint8"
1166
+ },
1167
+ {
1168
+ "internalType": "string[]",
1169
+ "name": "discreteOutcomes",
1170
+ "type": "string[]"
1171
+ },
1172
+ {
1173
+ "components": [
1174
+ {
1175
+ "internalType": "int256",
1176
+ "name": "low",
1177
+ "type": "int256"
1178
+ },
1179
+ {
1180
+ "internalType": "int256",
1181
+ "name": "high",
1182
+ "type": "int256"
1183
+ }
1184
+ ],
1185
+ "internalType": "struct Interval[]",
1186
+ "name": "numericIntervals",
1187
+ "type": "tuple[]"
1188
+ },
1189
+ {
1190
+ "internalType": "uint64",
1191
+ "name": "numericDecimals",
1192
+ "type": "uint64"
1193
+ }
1194
+ ],
1195
+ "internalType": "struct ValidAnswers",
1196
+ "name": "validAnswers",
1197
+ "type": "tuple"
1198
+ },
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "resolutionTime",
1202
+ "type": "uint256"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "minAgreement",
1207
+ "type": "uint256"
1208
+ },
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "subcommitteeSize",
1212
+ "type": "uint256"
1213
+ },
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "subcommitteeThreshold",
1217
+ "type": "uint256"
1218
+ }
1219
+ ],
1220
+ "internalType": "struct QuestionDefinition",
1221
+ "name": "def",
1222
+ "type": "tuple"
1223
+ },
1224
+ {
1225
+ "components": [
1226
+ {
1227
+ "internalType": "uint256",
1228
+ "name": "oracleQuestionId",
1229
+ "type": "uint256"
1230
+ },
1231
+ {
1232
+ "internalType": "contract IOracleAdapter",
1233
+ "name": "oracleAdapter",
1234
+ "type": "address"
1235
+ },
1236
+ {
1237
+ "internalType": "contract IERC20",
1238
+ "name": "collateral",
1239
+ "type": "address"
1240
+ },
1241
+ {
1242
+ "components": [
1243
+ {
1244
+ "internalType": "uint256",
1245
+ "name": "tickSize",
1246
+ "type": "uint256"
1247
+ },
1248
+ {
1249
+ "internalType": "uint256",
1250
+ "name": "minQuantity",
1251
+ "type": "uint256"
1252
+ },
1253
+ {
1254
+ "internalType": "uint256",
1255
+ "name": "lotSize",
1256
+ "type": "uint256"
1257
+ }
1258
+ ],
1259
+ "internalType": "struct OrderBookParameters",
1260
+ "name": "bookParams",
1261
+ "type": "tuple"
1262
+ },
1263
+ {
1264
+ "internalType": "string",
1265
+ "name": "asset",
1266
+ "type": "string"
1267
+ },
1268
+ {
1269
+ "internalType": "uint256",
1270
+ "name": "strike",
1271
+ "type": "uint256"
1272
+ },
1273
+ {
1274
+ "internalType": "uint64",
1275
+ "name": "tradingStart",
1276
+ "type": "uint64"
1277
+ },
1278
+ {
1279
+ "internalType": "uint64",
1280
+ "name": "expiry",
1281
+ "type": "uint64"
1282
+ },
1283
+ {
1284
+ "internalType": "uint64",
1285
+ "name": "settlementWindow",
1286
+ "type": "uint64"
1287
+ },
1288
+ {
1289
+ "internalType": "string",
1290
+ "name": "question",
1291
+ "type": "string"
1292
+ },
1293
+ {
1294
+ "internalType": "uint256",
1295
+ "name": "referenceQuestionId",
1296
+ "type": "uint256"
1297
+ },
1298
+ {
1299
+ "internalType": "bytes",
1300
+ "name": "context",
1301
+ "type": "bytes"
1302
+ }
1303
+ ],
1304
+ "internalType": "struct BinaryMarketsModule.CreateMarketParams",
1305
+ "name": "p",
1306
+ "type": "tuple"
1307
+ },
1308
+ {
1309
+ "components": [
1310
+ {
1311
+ "internalType": "uint256",
1312
+ "name": "nonce",
1313
+ "type": "uint256"
1314
+ },
1315
+ {
1316
+ "internalType": "uint256",
1317
+ "name": "deadline",
1318
+ "type": "uint256"
1319
+ },
1320
+ {
1321
+ "internalType": "bytes",
1322
+ "name": "signature",
1323
+ "type": "bytes"
1324
+ }
1325
+ ],
1326
+ "internalType": "struct VenueAuth",
1327
+ "name": "auth",
1328
+ "type": "tuple"
1329
+ }
1330
+ ],
1331
+ "name": "scheduleAndCreateMarket",
1332
+ "outputs": [
1333
+ {
1334
+ "internalType": "uint256",
1335
+ "name": "oracleQuestionId",
1336
+ "type": "uint256"
1337
+ },
1338
+ {
1339
+ "internalType": "bytes32",
1340
+ "name": "marketId",
1341
+ "type": "bytes32"
1342
+ },
1343
+ {
1344
+ "internalType": "address",
1345
+ "name": "market",
1346
+ "type": "address"
1347
+ }
1348
+ ],
1349
+ "stateMutability": "payable",
1350
+ "type": "function"
1351
+ },
1352
+ {
1353
+ "inputs": [
1354
+ {
1355
+ "internalType": "address",
1356
+ "name": "adapter",
1357
+ "type": "address"
1358
+ },
1359
+ {
1360
+ "internalType": "bool",
1361
+ "name": "approved",
1362
+ "type": "bool"
1363
+ }
1364
+ ],
1365
+ "name": "setAdapterApproved",
1366
+ "outputs": [],
1367
+ "stateMutability": "nonpayable",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [
1372
+ {
1373
+ "internalType": "contract BinaryClobFactory",
1374
+ "name": "newFactory",
1375
+ "type": "address"
1376
+ }
1377
+ ],
1378
+ "name": "setBinaryClobFactory",
1379
+ "outputs": [],
1380
+ "stateMutability": "nonpayable",
1381
+ "type": "function"
1382
+ },
1383
+ {
1384
+ "inputs": [
1385
+ {
1386
+ "internalType": "address",
1387
+ "name": "newImpl",
1388
+ "type": "address"
1389
+ }
1390
+ ],
1391
+ "name": "setClobBinaryPoolImpl",
1392
+ "outputs": [],
1393
+ "stateMutability": "nonpayable",
1394
+ "type": "function"
1395
+ },
1396
+ {
1397
+ "inputs": [
1398
+ {
1399
+ "internalType": "contract IOutcomeToken6909",
1400
+ "name": "newToken",
1401
+ "type": "address"
1402
+ }
1403
+ ],
1404
+ "name": "setOutcomeToken",
1405
+ "outputs": [],
1406
+ "stateMutability": "nonpayable",
1407
+ "type": "function"
1408
+ },
1409
+ {
1410
+ "inputs": [
1411
+ {
1412
+ "internalType": "contract IBinarySettlement",
1413
+ "name": "newSettlement",
1414
+ "type": "address"
1415
+ }
1416
+ ],
1417
+ "name": "setSettlement",
1418
+ "outputs": [],
1419
+ "stateMutability": "nonpayable",
1420
+ "type": "function"
1421
+ },
1422
+ {
1423
+ "inputs": [],
1424
+ "name": "settlement",
1425
+ "outputs": [
1426
+ {
1427
+ "internalType": "contract IBinarySettlement",
1428
+ "name": "",
1429
+ "type": "address"
1430
+ }
1431
+ ],
1432
+ "stateMutability": "view",
1433
+ "type": "function"
1434
+ },
1435
+ {
1436
+ "inputs": [
1437
+ {
1438
+ "internalType": "bytes4",
1439
+ "name": "interfaceId",
1440
+ "type": "bytes4"
1441
+ }
1442
+ ],
1443
+ "name": "supportsInterface",
1444
+ "outputs": [
1445
+ {
1446
+ "internalType": "bool",
1447
+ "name": "",
1448
+ "type": "bool"
1449
+ }
1450
+ ],
1451
+ "stateMutability": "pure",
1452
+ "type": "function"
1453
+ },
1454
+ {
1455
+ "inputs": [
1456
+ {
1457
+ "internalType": "contract IERC20",
1458
+ "name": "token",
1459
+ "type": "address"
1460
+ },
1461
+ {
1462
+ "internalType": "address",
1463
+ "name": "to",
1464
+ "type": "address"
1465
+ }
1466
+ ],
1467
+ "name": "sweepERC20",
1468
+ "outputs": [],
1469
+ "stateMutability": "nonpayable",
1470
+ "type": "function"
1471
+ },
1472
+ {
1473
+ "inputs": [
1474
+ {
1475
+ "internalType": "bytes32",
1476
+ "name": "marketId",
1477
+ "type": "bytes32"
1478
+ }
1479
+ ],
1480
+ "name": "syncSettlement",
1481
+ "outputs": [],
1482
+ "stateMutability": "nonpayable",
1483
+ "type": "function"
1484
+ },
1485
+ {
1486
+ "inputs": [
1487
+ {
1488
+ "internalType": "address",
1489
+ "name": "newOwner",
1490
+ "type": "address"
1491
+ }
1492
+ ],
1493
+ "name": "transferOwnership",
1494
+ "outputs": [],
1495
+ "stateMutability": "nonpayable",
1496
+ "type": "function"
1497
+ },
1498
+ {
1499
+ "inputs": [
1500
+ {
1501
+ "internalType": "address",
1502
+ "name": "newImplementation",
1503
+ "type": "address"
1504
+ },
1505
+ {
1506
+ "internalType": "bytes",
1507
+ "name": "data",
1508
+ "type": "bytes"
1509
+ }
1510
+ ],
1511
+ "name": "upgradeToAndCall",
1512
+ "outputs": [],
1513
+ "stateMutability": "payable",
1514
+ "type": "function"
1515
+ },
1516
+ {
1517
+ "inputs": [
1518
+ {
1519
+ "internalType": "uint32",
1520
+ "name": "operatorId",
1521
+ "type": "uint32"
1522
+ },
1523
+ {
1524
+ "internalType": "bytes32",
1525
+ "name": "venueId",
1526
+ "type": "bytes32"
1527
+ },
1528
+ {
1529
+ "internalType": "address",
1530
+ "name": "user",
1531
+ "type": "address"
1532
+ },
1533
+ {
1534
+ "internalType": "uint256",
1535
+ "name": "nonce",
1536
+ "type": "uint256"
1537
+ }
1538
+ ],
1539
+ "name": "venueNonceUsed",
1540
+ "outputs": [
1541
+ {
1542
+ "internalType": "bool",
1543
+ "name": "",
1544
+ "type": "bool"
1545
+ }
1546
+ ],
1547
+ "stateMutability": "view",
1548
+ "type": "function"
1549
+ },
1550
+ {
1551
+ "inputs": [
1552
+ {
1553
+ "internalType": "uint256",
1554
+ "name": "amount",
1555
+ "type": "uint256"
1556
+ },
1557
+ {
1558
+ "internalType": "address payable",
1559
+ "name": "to",
1560
+ "type": "address"
1561
+ }
1562
+ ],
1563
+ "name": "withdraw",
1564
+ "outputs": [],
1565
+ "stateMutability": "nonpayable",
1566
+ "type": "function"
1567
+ },
1568
+ {
1569
+ "anonymous": false,
1570
+ "inputs": [
1571
+ {
1572
+ "indexed": true,
1573
+ "internalType": "address",
1574
+ "name": "adapter",
1575
+ "type": "address"
1576
+ },
1577
+ {
1578
+ "indexed": true,
1579
+ "internalType": "bool",
1580
+ "name": "approved",
1581
+ "type": "bool"
1582
+ }
1583
+ ],
1584
+ "name": "AdapterApproved",
1585
+ "type": "event"
1586
+ },
1587
+ {
1588
+ "anonymous": false,
1589
+ "inputs": [
1590
+ {
1591
+ "indexed": true,
1592
+ "internalType": "address",
1593
+ "name": "oldFactory",
1594
+ "type": "address"
1595
+ },
1596
+ {
1597
+ "indexed": true,
1598
+ "internalType": "address",
1599
+ "name": "newFactory",
1600
+ "type": "address"
1601
+ }
1602
+ ],
1603
+ "name": "BinaryClobFactorySet",
1604
+ "type": "event"
1605
+ },
1606
+ {
1607
+ "anonymous": false,
1608
+ "inputs": [
1609
+ {
1610
+ "indexed": true,
1611
+ "internalType": "address",
1612
+ "name": "oldImpl",
1613
+ "type": "address"
1614
+ },
1615
+ {
1616
+ "indexed": true,
1617
+ "internalType": "address",
1618
+ "name": "newImpl",
1619
+ "type": "address"
1620
+ }
1621
+ ],
1622
+ "name": "ClobBinaryPoolImplSet",
1623
+ "type": "event"
1624
+ },
1625
+ {
1626
+ "anonymous": false,
1627
+ "inputs": [
1628
+ {
1629
+ "indexed": true,
1630
+ "internalType": "address",
1631
+ "name": "from",
1632
+ "type": "address"
1633
+ },
1634
+ {
1635
+ "indexed": true,
1636
+ "internalType": "uint256",
1637
+ "name": "amount",
1638
+ "type": "uint256"
1639
+ }
1640
+ ],
1641
+ "name": "Deposited",
1642
+ "type": "event"
1643
+ },
1644
+ {
1645
+ "anonymous": false,
1646
+ "inputs": [],
1647
+ "name": "EIP712DomainChanged",
1648
+ "type": "event"
1649
+ },
1650
+ {
1651
+ "anonymous": false,
1652
+ "inputs": [
1653
+ {
1654
+ "indexed": false,
1655
+ "internalType": "uint64",
1656
+ "name": "version",
1657
+ "type": "uint64"
1658
+ }
1659
+ ],
1660
+ "name": "Initialized",
1661
+ "type": "event"
1662
+ },
1663
+ {
1664
+ "anonymous": false,
1665
+ "inputs": [
1666
+ {
1667
+ "indexed": true,
1668
+ "internalType": "bytes32",
1669
+ "name": "marketId",
1670
+ "type": "bytes32"
1671
+ },
1672
+ {
1673
+ "indexed": true,
1674
+ "internalType": "address",
1675
+ "name": "market",
1676
+ "type": "address"
1677
+ },
1678
+ {
1679
+ "indexed": true,
1680
+ "internalType": "address",
1681
+ "name": "pool",
1682
+ "type": "address"
1683
+ },
1684
+ {
1685
+ "indexed": false,
1686
+ "internalType": "uint256",
1687
+ "name": "oracleQuestionId",
1688
+ "type": "uint256"
1689
+ },
1690
+ {
1691
+ "indexed": false,
1692
+ "internalType": "uint32",
1693
+ "name": "operatorId",
1694
+ "type": "uint32"
1695
+ },
1696
+ {
1697
+ "indexed": false,
1698
+ "internalType": "bytes32",
1699
+ "name": "venueId",
1700
+ "type": "bytes32"
1701
+ },
1702
+ {
1703
+ "indexed": false,
1704
+ "internalType": "address",
1705
+ "name": "creator",
1706
+ "type": "address"
1707
+ },
1708
+ {
1709
+ "indexed": false,
1710
+ "internalType": "address",
1711
+ "name": "collateral",
1712
+ "type": "address"
1713
+ },
1714
+ {
1715
+ "indexed": false,
1716
+ "internalType": "uint256",
1717
+ "name": "yesId",
1718
+ "type": "uint256"
1719
+ },
1720
+ {
1721
+ "indexed": false,
1722
+ "internalType": "uint256",
1723
+ "name": "noId",
1724
+ "type": "uint256"
1725
+ },
1726
+ {
1727
+ "indexed": false,
1728
+ "internalType": "uint64",
1729
+ "name": "nonce",
1730
+ "type": "uint64"
1731
+ },
1732
+ {
1733
+ "indexed": false,
1734
+ "internalType": "uint8",
1735
+ "name": "outcomeSlotCount",
1736
+ "type": "uint8"
1737
+ },
1738
+ {
1739
+ "indexed": false,
1740
+ "internalType": "enum MarketType",
1741
+ "name": "marketType",
1742
+ "type": "uint8"
1743
+ },
1744
+ {
1745
+ "indexed": false,
1746
+ "internalType": "uint64",
1747
+ "name": "tradingStart",
1748
+ "type": "uint64"
1749
+ },
1750
+ {
1751
+ "indexed": false,
1752
+ "internalType": "uint64",
1753
+ "name": "expiry",
1754
+ "type": "uint64"
1755
+ },
1756
+ {
1757
+ "indexed": false,
1758
+ "internalType": "enum VoidPolicy",
1759
+ "name": "voidPolicy",
1760
+ "type": "uint8"
1761
+ },
1762
+ {
1763
+ "indexed": false,
1764
+ "internalType": "string",
1765
+ "name": "asset",
1766
+ "type": "string"
1767
+ },
1768
+ {
1769
+ "indexed": false,
1770
+ "internalType": "uint256",
1771
+ "name": "strike",
1772
+ "type": "uint256"
1773
+ },
1774
+ {
1775
+ "indexed": false,
1776
+ "internalType": "string",
1777
+ "name": "question",
1778
+ "type": "string"
1779
+ },
1780
+ {
1781
+ "indexed": false,
1782
+ "internalType": "bytes",
1783
+ "name": "context",
1784
+ "type": "bytes"
1785
+ }
1786
+ ],
1787
+ "name": "MarketCreated",
1788
+ "type": "event"
1789
+ },
1790
+ {
1791
+ "anonymous": false,
1792
+ "inputs": [
1793
+ {
1794
+ "indexed": true,
1795
+ "internalType": "bytes32",
1796
+ "name": "marketId",
1797
+ "type": "bytes32"
1798
+ },
1799
+ {
1800
+ "indexed": true,
1801
+ "internalType": "uint32",
1802
+ "name": "operatorId",
1803
+ "type": "uint32"
1804
+ },
1805
+ {
1806
+ "indexed": true,
1807
+ "internalType": "bytes32",
1808
+ "name": "venueId",
1809
+ "type": "bytes32"
1810
+ },
1811
+ {
1812
+ "indexed": false,
1813
+ "internalType": "address",
1814
+ "name": "feeRecipient",
1815
+ "type": "address"
1816
+ },
1817
+ {
1818
+ "indexed": false,
1819
+ "internalType": "uint256",
1820
+ "name": "makerFeeBps",
1821
+ "type": "uint256"
1822
+ },
1823
+ {
1824
+ "indexed": false,
1825
+ "internalType": "uint256",
1826
+ "name": "takerFeeBps",
1827
+ "type": "uint256"
1828
+ },
1829
+ {
1830
+ "indexed": false,
1831
+ "internalType": "uint256",
1832
+ "name": "maxBuilderFeeBps",
1833
+ "type": "uint256"
1834
+ },
1835
+ {
1836
+ "indexed": false,
1837
+ "internalType": "uint64",
1838
+ "name": "routingFeeBps",
1839
+ "type": "uint64"
1840
+ },
1841
+ {
1842
+ "indexed": false,
1843
+ "internalType": "uint64",
1844
+ "name": "settlementFeeBps",
1845
+ "type": "uint64"
1846
+ }
1847
+ ],
1848
+ "name": "MarketFeeConfig",
1849
+ "type": "event"
1850
+ },
1851
+ {
1852
+ "anonymous": false,
1853
+ "inputs": [
1854
+ {
1855
+ "indexed": true,
1856
+ "internalType": "bytes32",
1857
+ "name": "marketId",
1858
+ "type": "bytes32"
1859
+ },
1860
+ {
1861
+ "indexed": true,
1862
+ "internalType": "address",
1863
+ "name": "pool",
1864
+ "type": "address"
1865
+ },
1866
+ {
1867
+ "indexed": false,
1868
+ "internalType": "uint256",
1869
+ "name": "marketKey",
1870
+ "type": "uint256"
1871
+ }
1872
+ ],
1873
+ "name": "MarketFinalized",
1874
+ "type": "event"
1875
+ },
1876
+ {
1877
+ "anonymous": false,
1878
+ "inputs": [
1879
+ {
1880
+ "indexed": true,
1881
+ "internalType": "bytes32",
1882
+ "name": "marketId",
1883
+ "type": "bytes32"
1884
+ },
1885
+ {
1886
+ "indexed": true,
1887
+ "internalType": "uint256",
1888
+ "name": "referenceQuestionId",
1889
+ "type": "uint256"
1890
+ }
1891
+ ],
1892
+ "name": "MarketReference",
1893
+ "type": "event"
1894
+ },
1895
+ {
1896
+ "anonymous": false,
1897
+ "inputs": [
1898
+ {
1899
+ "indexed": true,
1900
+ "internalType": "bytes32",
1901
+ "name": "marketId",
1902
+ "type": "bytes32"
1903
+ },
1904
+ {
1905
+ "indexed": true,
1906
+ "internalType": "uint256",
1907
+ "name": "referenceQuestionId",
1908
+ "type": "uint256"
1909
+ }
1910
+ ],
1911
+ "name": "MarketReferencePending",
1912
+ "type": "event"
1913
+ },
1914
+ {
1915
+ "anonymous": false,
1916
+ "inputs": [
1917
+ {
1918
+ "indexed": true,
1919
+ "internalType": "bytes32",
1920
+ "name": "marketId",
1921
+ "type": "bytes32"
1922
+ },
1923
+ {
1924
+ "indexed": true,
1925
+ "internalType": "bool",
1926
+ "name": "voided",
1927
+ "type": "bool"
1928
+ }
1929
+ ],
1930
+ "name": "MarketResolutionFailed",
1931
+ "type": "event"
1932
+ },
1933
+ {
1934
+ "anonymous": false,
1935
+ "inputs": [
1936
+ {
1937
+ "indexed": true,
1938
+ "internalType": "bytes32",
1939
+ "name": "marketId",
1940
+ "type": "bytes32"
1941
+ },
1942
+ {
1943
+ "indexed": false,
1944
+ "internalType": "uint32",
1945
+ "name": "payoutDenominator",
1946
+ "type": "uint32"
1947
+ },
1948
+ {
1949
+ "indexed": false,
1950
+ "internalType": "uint256[]",
1951
+ "name": "payoutNumerators",
1952
+ "type": "uint256[]"
1953
+ },
1954
+ {
1955
+ "indexed": false,
1956
+ "internalType": "uint8",
1957
+ "name": "outcomeSlotCount",
1958
+ "type": "uint8"
1959
+ }
1960
+ ],
1961
+ "name": "MarketResolutionSkipped",
1962
+ "type": "event"
1963
+ },
1964
+ {
1965
+ "anonymous": false,
1966
+ "inputs": [
1967
+ {
1968
+ "indexed": true,
1969
+ "internalType": "bytes32",
1970
+ "name": "marketId",
1971
+ "type": "bytes32"
1972
+ },
1973
+ {
1974
+ "indexed": true,
1975
+ "internalType": "uint256",
1976
+ "name": "oracleQuestionId",
1977
+ "type": "uint256"
1978
+ },
1979
+ {
1980
+ "indexed": false,
1981
+ "internalType": "uint32",
1982
+ "name": "payoutDenominator",
1983
+ "type": "uint32"
1984
+ },
1985
+ {
1986
+ "indexed": false,
1987
+ "internalType": "uint256[]",
1988
+ "name": "payoutNumerators",
1989
+ "type": "uint256[]"
1990
+ },
1991
+ {
1992
+ "indexed": false,
1993
+ "internalType": "bool",
1994
+ "name": "voided",
1995
+ "type": "bool"
1996
+ }
1997
+ ],
1998
+ "name": "MarketResolved",
1999
+ "type": "event"
2000
+ },
2001
+ {
2002
+ "anonymous": false,
2003
+ "inputs": [
2004
+ {
2005
+ "indexed": true,
2006
+ "internalType": "address",
2007
+ "name": "oldToken",
2008
+ "type": "address"
2009
+ },
2010
+ {
2011
+ "indexed": true,
2012
+ "internalType": "address",
2013
+ "name": "newToken",
2014
+ "type": "address"
2015
+ }
2016
+ ],
2017
+ "name": "OutcomeTokenSet",
2018
+ "type": "event"
2019
+ },
2020
+ {
2021
+ "anonymous": false,
2022
+ "inputs": [
2023
+ {
2024
+ "indexed": true,
2025
+ "internalType": "address",
2026
+ "name": "previousOwner",
2027
+ "type": "address"
2028
+ },
2029
+ {
2030
+ "indexed": true,
2031
+ "internalType": "address",
2032
+ "name": "newOwner",
2033
+ "type": "address"
2034
+ }
2035
+ ],
2036
+ "name": "OwnershipTransferStarted",
2037
+ "type": "event"
2038
+ },
2039
+ {
2040
+ "anonymous": false,
2041
+ "inputs": [
2042
+ {
2043
+ "indexed": true,
2044
+ "internalType": "address",
2045
+ "name": "previousOwner",
2046
+ "type": "address"
2047
+ },
2048
+ {
2049
+ "indexed": true,
2050
+ "internalType": "address",
2051
+ "name": "newOwner",
2052
+ "type": "address"
2053
+ }
2054
+ ],
2055
+ "name": "OwnershipTransferred",
2056
+ "type": "event"
2057
+ },
2058
+ {
2059
+ "anonymous": false,
2060
+ "inputs": [
2061
+ {
2062
+ "indexed": true,
2063
+ "internalType": "address",
2064
+ "name": "creator",
2065
+ "type": "address"
2066
+ },
2067
+ {
2068
+ "indexed": true,
2069
+ "internalType": "bytes32",
2070
+ "name": "marketId",
2071
+ "type": "bytes32"
2072
+ }
2073
+ ],
2074
+ "name": "PoolReleaseEvicted",
2075
+ "type": "event"
2076
+ },
2077
+ {
2078
+ "anonymous": false,
2079
+ "inputs": [
2080
+ {
2081
+ "indexed": true,
2082
+ "internalType": "bytes32",
2083
+ "name": "marketId",
2084
+ "type": "bytes32"
2085
+ },
2086
+ {
2087
+ "indexed": true,
2088
+ "internalType": "address",
2089
+ "name": "pool",
2090
+ "type": "address"
2091
+ },
2092
+ {
2093
+ "indexed": true,
2094
+ "internalType": "address",
2095
+ "name": "creator",
2096
+ "type": "address"
2097
+ }
2098
+ ],
2099
+ "name": "PoolReleased",
2100
+ "type": "event"
2101
+ },
2102
+ {
2103
+ "anonymous": false,
2104
+ "inputs": [
2105
+ {
2106
+ "indexed": true,
2107
+ "internalType": "bytes32",
2108
+ "name": "marketId",
2109
+ "type": "bytes32"
2110
+ },
2111
+ {
2112
+ "indexed": true,
2113
+ "internalType": "address",
2114
+ "name": "user",
2115
+ "type": "address"
2116
+ },
2117
+ {
2118
+ "indexed": true,
2119
+ "internalType": "uint32",
2120
+ "name": "operatorId",
2121
+ "type": "uint32"
2122
+ },
2123
+ {
2124
+ "indexed": false,
2125
+ "internalType": "bytes32",
2126
+ "name": "venueId",
2127
+ "type": "bytes32"
2128
+ },
2129
+ {
2130
+ "indexed": false,
2131
+ "internalType": "uint256",
2132
+ "name": "amount",
2133
+ "type": "uint256"
2134
+ }
2135
+ ],
2136
+ "name": "RouterMergeCompleteSet",
2137
+ "type": "event"
2138
+ },
2139
+ {
2140
+ "anonymous": false,
2141
+ "inputs": [
2142
+ {
2143
+ "indexed": true,
2144
+ "internalType": "bytes32",
2145
+ "name": "marketId",
2146
+ "type": "bytes32"
2147
+ },
2148
+ {
2149
+ "indexed": true,
2150
+ "internalType": "address",
2151
+ "name": "user",
2152
+ "type": "address"
2153
+ },
2154
+ {
2155
+ "indexed": true,
2156
+ "internalType": "uint32",
2157
+ "name": "operatorId",
2158
+ "type": "uint32"
2159
+ },
2160
+ {
2161
+ "indexed": false,
2162
+ "internalType": "bytes32",
2163
+ "name": "venueId",
2164
+ "type": "bytes32"
2165
+ },
2166
+ {
2167
+ "indexed": false,
2168
+ "internalType": "uint256",
2169
+ "name": "amount",
2170
+ "type": "uint256"
2171
+ }
2172
+ ],
2173
+ "name": "RouterMintCompleteSet",
2174
+ "type": "event"
2175
+ },
2176
+ {
2177
+ "anonymous": false,
2178
+ "inputs": [
2179
+ {
2180
+ "indexed": true,
2181
+ "internalType": "bytes32",
2182
+ "name": "marketId",
2183
+ "type": "bytes32"
2184
+ },
2185
+ {
2186
+ "indexed": true,
2187
+ "internalType": "address",
2188
+ "name": "redeemer",
2189
+ "type": "address"
2190
+ },
2191
+ {
2192
+ "indexed": true,
2193
+ "internalType": "uint32",
2194
+ "name": "operatorId",
2195
+ "type": "uint32"
2196
+ },
2197
+ {
2198
+ "indexed": false,
2199
+ "internalType": "bytes32",
2200
+ "name": "venueId",
2201
+ "type": "bytes32"
2202
+ },
2203
+ {
2204
+ "indexed": false,
2205
+ "internalType": "uint256",
2206
+ "name": "amount",
2207
+ "type": "uint256"
2208
+ },
2209
+ {
2210
+ "indexed": false,
2211
+ "internalType": "uint256",
2212
+ "name": "payout",
2213
+ "type": "uint256"
2214
+ }
2215
+ ],
2216
+ "name": "RouterRedeem",
2217
+ "type": "event"
2218
+ },
2219
+ {
2220
+ "anonymous": false,
2221
+ "inputs": [
2222
+ {
2223
+ "indexed": true,
2224
+ "internalType": "address",
2225
+ "name": "oldSettlement",
2226
+ "type": "address"
2227
+ },
2228
+ {
2229
+ "indexed": true,
2230
+ "internalType": "address",
2231
+ "name": "newSettlement",
2232
+ "type": "address"
2233
+ }
2234
+ ],
2235
+ "name": "SettlementSet",
2236
+ "type": "event"
2237
+ },
2238
+ {
2239
+ "anonymous": false,
2240
+ "inputs": [
2241
+ {
2242
+ "indexed": true,
2243
+ "internalType": "address",
2244
+ "name": "implementation",
2245
+ "type": "address"
2246
+ }
2247
+ ],
2248
+ "name": "Upgraded",
2249
+ "type": "event"
2250
+ },
2251
+ {
2252
+ "anonymous": false,
2253
+ "inputs": [
2254
+ {
2255
+ "indexed": true,
2256
+ "internalType": "address",
2257
+ "name": "to",
2258
+ "type": "address"
2259
+ },
2260
+ {
2261
+ "indexed": true,
2262
+ "internalType": "uint256",
2263
+ "name": "amount",
2264
+ "type": "uint256"
2265
+ }
2266
+ ],
2267
+ "name": "Withdrawn",
2268
+ "type": "event"
2269
+ },
2270
+ {
2271
+ "inputs": [],
2272
+ "name": "AdapterNotApproved",
2273
+ "type": "error"
2274
+ },
2275
+ {
2276
+ "inputs": [
2277
+ {
2278
+ "internalType": "address",
2279
+ "name": "target",
2280
+ "type": "address"
2281
+ }
2282
+ ],
2283
+ "name": "AddressEmptyCode",
2284
+ "type": "error"
2285
+ },
2286
+ {
2287
+ "inputs": [],
2288
+ "name": "BinaryClobFactoryNotSet",
2289
+ "type": "error"
2290
+ },
2291
+ {
2292
+ "inputs": [
2293
+ {
2294
+ "internalType": "address",
2295
+ "name": "pool",
2296
+ "type": "address"
2297
+ }
2298
+ ],
2299
+ "name": "CollateralMismatch",
2300
+ "type": "error"
2301
+ },
2302
+ {
2303
+ "inputs": [],
2304
+ "name": "ContextTooLong",
2305
+ "type": "error"
2306
+ },
2307
+ {
2308
+ "inputs": [
2309
+ {
2310
+ "internalType": "address",
2311
+ "name": "implementation",
2312
+ "type": "address"
2313
+ }
2314
+ ],
2315
+ "name": "ERC1967InvalidImplementation",
2316
+ "type": "error"
2317
+ },
2318
+ {
2319
+ "inputs": [],
2320
+ "name": "ERC1967NonPayable",
2321
+ "type": "error"
2322
+ },
2323
+ {
2324
+ "inputs": [],
2325
+ "name": "EthRefundFailed",
2326
+ "type": "error"
2327
+ },
2328
+ {
2329
+ "inputs": [],
2330
+ "name": "FailedCall",
2331
+ "type": "error"
2332
+ },
2333
+ {
2334
+ "inputs": [],
2335
+ "name": "InsufficientCreateValue",
2336
+ "type": "error"
2337
+ },
2338
+ {
2339
+ "inputs": [],
2340
+ "name": "InvalidAdapter",
2341
+ "type": "error"
2342
+ },
2343
+ {
2344
+ "inputs": [],
2345
+ "name": "InvalidInitialization",
2346
+ "type": "error"
2347
+ },
2348
+ {
2349
+ "inputs": [],
2350
+ "name": "InvalidOutcomeIndex",
2351
+ "type": "error"
2352
+ },
2353
+ {
2354
+ "inputs": [],
2355
+ "name": "InvalidTradingWindow",
2356
+ "type": "error"
2357
+ },
2358
+ {
2359
+ "inputs": [],
2360
+ "name": "InvalidVenueFeeParams",
2361
+ "type": "error"
2362
+ },
2363
+ {
2364
+ "inputs": [],
2365
+ "name": "InvalidVenueSignature",
2366
+ "type": "error"
2367
+ },
2368
+ {
2369
+ "inputs": [
2370
+ {
2371
+ "internalType": "uint256",
2372
+ "name": "policy",
2373
+ "type": "uint256"
2374
+ }
2375
+ ],
2376
+ "name": "InvalidVenueVoidPolicy",
2377
+ "type": "error"
2378
+ },
2379
+ {
2380
+ "inputs": [],
2381
+ "name": "LengthMismatch",
2382
+ "type": "error"
2383
+ },
2384
+ {
2385
+ "inputs": [],
2386
+ "name": "MarketNotFinalizedYet",
2387
+ "type": "error"
2388
+ },
2389
+ {
2390
+ "inputs": [
2391
+ {
2392
+ "internalType": "bytes32",
2393
+ "name": "marketId",
2394
+ "type": "bytes32"
2395
+ }
2396
+ ],
2397
+ "name": "MarketNotSettled",
2398
+ "type": "error"
2399
+ },
2400
+ {
2401
+ "inputs": [],
2402
+ "name": "NotAuthorizedAdapter",
2403
+ "type": "error"
2404
+ },
2405
+ {
2406
+ "inputs": [],
2407
+ "name": "NotInitializing",
2408
+ "type": "error"
2409
+ },
2410
+ {
2411
+ "inputs": [],
2412
+ "name": "OnlySelf",
2413
+ "type": "error"
2414
+ },
2415
+ {
2416
+ "inputs": [],
2417
+ "name": "OracleNotAnswered",
2418
+ "type": "error"
2419
+ },
2420
+ {
2421
+ "inputs": [],
2422
+ "name": "OutcomeCountMismatch",
2423
+ "type": "error"
2424
+ },
2425
+ {
2426
+ "inputs": [],
2427
+ "name": "OutcomeTokenNotSet",
2428
+ "type": "error"
2429
+ },
2430
+ {
2431
+ "inputs": [],
2432
+ "name": "OutcomeTransferFailed",
2433
+ "type": "error"
2434
+ },
2435
+ {
2436
+ "inputs": [
2437
+ {
2438
+ "internalType": "address",
2439
+ "name": "owner",
2440
+ "type": "address"
2441
+ }
2442
+ ],
2443
+ "name": "OwnableInvalidOwner",
2444
+ "type": "error"
2445
+ },
2446
+ {
2447
+ "inputs": [
2448
+ {
2449
+ "internalType": "address",
2450
+ "name": "account",
2451
+ "type": "address"
2452
+ }
2453
+ ],
2454
+ "name": "OwnableUnauthorizedAccount",
2455
+ "type": "error"
2456
+ },
2457
+ {
2458
+ "inputs": [],
2459
+ "name": "PoolAlreadyReleased",
2460
+ "type": "error"
2461
+ },
2462
+ {
2463
+ "inputs": [],
2464
+ "name": "PoolBooksNotEmpty",
2465
+ "type": "error"
2466
+ },
2467
+ {
2468
+ "inputs": [
2469
+ {
2470
+ "internalType": "address",
2471
+ "name": "pool",
2472
+ "type": "address"
2473
+ }
2474
+ ],
2475
+ "name": "PoolCreatorUnknown",
2476
+ "type": "error"
2477
+ },
2478
+ {
2479
+ "inputs": [],
2480
+ "name": "RedeemAuthExpired",
2481
+ "type": "error"
2482
+ },
2483
+ {
2484
+ "inputs": [],
2485
+ "name": "RedeemNonceUsed",
2486
+ "type": "error"
2487
+ },
2488
+ {
2489
+ "inputs": [],
2490
+ "name": "RedeemSignatureInvalid",
2491
+ "type": "error"
2492
+ },
2493
+ {
2494
+ "inputs": [],
2495
+ "name": "ReentrancyGuardReentrantCall",
2496
+ "type": "error"
2497
+ },
2498
+ {
2499
+ "inputs": [
2500
+ {
2501
+ "internalType": "address",
2502
+ "name": "token",
2503
+ "type": "address"
2504
+ }
2505
+ ],
2506
+ "name": "SafeERC20FailedOperation",
2507
+ "type": "error"
2508
+ },
2509
+ {
2510
+ "inputs": [],
2511
+ "name": "SettlementNotSet",
2512
+ "type": "error"
2513
+ },
2514
+ {
2515
+ "inputs": [
2516
+ {
2517
+ "internalType": "bytes32",
2518
+ "name": "marketId",
2519
+ "type": "bytes32"
2520
+ }
2521
+ ],
2522
+ "name": "StaleMarketId",
2523
+ "type": "error"
2524
+ },
2525
+ {
2526
+ "inputs": [],
2527
+ "name": "TooManyMarketsForQuestion",
2528
+ "type": "error"
2529
+ },
2530
+ {
2531
+ "inputs": [],
2532
+ "name": "UUPSUnauthorizedCallContext",
2533
+ "type": "error"
2534
+ },
2535
+ {
2536
+ "inputs": [
2537
+ {
2538
+ "internalType": "bytes32",
2539
+ "name": "slot",
2540
+ "type": "bytes32"
2541
+ }
2542
+ ],
2543
+ "name": "UUPSUnsupportedProxiableUUID",
2544
+ "type": "error"
2545
+ },
2546
+ {
2547
+ "inputs": [],
2548
+ "name": "UnderpaidScheduleFee",
2549
+ "type": "error"
2550
+ },
2551
+ {
2552
+ "inputs": [],
2553
+ "name": "UnknownMarket",
2554
+ "type": "error"
2555
+ },
2556
+ {
2557
+ "inputs": [],
2558
+ "name": "UnknownOracleQuestion",
2559
+ "type": "error"
2560
+ },
2561
+ {
2562
+ "inputs": [
2563
+ {
2564
+ "internalType": "uint8",
2565
+ "name": "version",
2566
+ "type": "uint8"
2567
+ }
2568
+ ],
2569
+ "name": "UnsupportedFeeParamsVersion",
2570
+ "type": "error"
2571
+ },
2572
+ {
2573
+ "inputs": [],
2574
+ "name": "VenueAuthExpired",
2575
+ "type": "error"
2576
+ },
2577
+ {
2578
+ "inputs": [],
2579
+ "name": "VenueFeeAboveHardCap",
2580
+ "type": "error"
2581
+ },
2582
+ {
2583
+ "inputs": [],
2584
+ "name": "VenueIdRequired",
2585
+ "type": "error"
2586
+ },
2587
+ {
2588
+ "inputs": [],
2589
+ "name": "VenueNonceUsed",
2590
+ "type": "error"
2591
+ },
2592
+ {
2593
+ "inputs": [],
2594
+ "name": "VenuePolicyDenied",
2595
+ "type": "error"
2596
+ },
2597
+ {
2598
+ "inputs": [],
2599
+ "name": "VenueSignerUnset",
2600
+ "type": "error"
2601
+ },
2602
+ {
2603
+ "inputs": [],
2604
+ "name": "WithdrawFailed",
2605
+ "type": "error"
2606
+ },
2607
+ {
2608
+ "inputs": [],
2609
+ "name": "ZeroAddress",
2610
+ "type": "error"
2611
+ },
2612
+ {
2613
+ "inputs": [],
2614
+ "name": "ZeroAmount",
2615
+ "type": "error"
2616
+ }
2617
+ ];
2618
+ export const digest = "sha256:49cb4deac4368abbc0201f10d4b3243e6b1afd4203030b038b8eefcda9381fe0";