hookr-sdk 0.2.0 → 1.0.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 (66) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/LICENSE +21 -0
  3. package/MIGRATING.md +89 -0
  4. package/README.md +283 -96
  5. package/dist/core/abi.d.ts +10930 -0
  6. package/dist/core/abi.js +455 -0
  7. package/dist/core/advisories.d.ts +184 -0
  8. package/dist/core/advisories.js +291 -0
  9. package/dist/core/client.d.ts +55 -0
  10. package/dist/core/client.js +107 -0
  11. package/dist/core/generated.d.ts +14295 -0
  12. package/dist/core/generated.js +1058 -0
  13. package/dist/core/index.d.ts +17 -0
  14. package/dist/core/index.js +17 -0
  15. package/dist/core/launch.d.ts +200 -0
  16. package/dist/core/launch.js +427 -0
  17. package/dist/core/pair.d.ts +64 -0
  18. package/dist/core/pair.js +136 -0
  19. package/dist/core/params.d.ts +415 -0
  20. package/dist/core/params.js +1235 -0
  21. package/dist/core/policies.d.ts +136 -0
  22. package/dist/core/policies.js +125 -0
  23. package/dist/core/proofs.d.ts +25 -0
  24. package/dist/core/proofs.js +118 -0
  25. package/dist/core/quotes.d.ts +185 -0
  26. package/dist/core/quotes.js +550 -0
  27. package/dist/core/referrals.d.ts +32 -0
  28. package/dist/core/referrals.js +36 -0
  29. package/dist/core/registry.d.ts +357 -0
  30. package/dist/core/registry.js +378 -0
  31. package/dist/core/rules.d.ts +675 -0
  32. package/dist/core/rules.js +1049 -0
  33. package/dist/core/schema.d.ts +358 -0
  34. package/dist/core/schema.js +105 -0
  35. package/dist/core/stocks.generated.d.ts +11 -0
  36. package/dist/core/stocks.generated.js +1228 -0
  37. package/dist/core/vault.d.ts +59 -0
  38. package/dist/core/vault.js +112 -0
  39. package/dist/core/wallet.d.ts +142 -0
  40. package/dist/core/wallet.js +304 -0
  41. package/dist/deployments.d.ts +8 -0
  42. package/dist/deployments.js +26 -0
  43. package/dist/index.d.ts +6 -15
  44. package/dist/index.js +6 -15
  45. package/dist/releases.d.ts +172 -0
  46. package/dist/releases.js +268 -0
  47. package/package.json +46 -10
  48. package/provenance.json +31 -0
  49. package/dist/abi.d.ts +0 -6404
  50. package/dist/abi.js +0 -8300
  51. package/dist/chain.d.ts +0 -87
  52. package/dist/chain.js +0 -86
  53. package/dist/claims.d.ts +0 -32
  54. package/dist/claims.js +0 -31
  55. package/dist/fees.d.ts +0 -59
  56. package/dist/fees.js +0 -142
  57. package/dist/links.d.ts +0 -48
  58. package/dist/links.js +0 -93
  59. package/dist/market.d.ts +0 -264
  60. package/dist/market.js +0 -310
  61. package/dist/reads.d.ts +0 -127
  62. package/dist/reads.js +0 -207
  63. package/dist/rules.d.ts +0 -84
  64. package/dist/rules.js +0 -296
  65. package/dist/swap.d.ts +0 -96
  66. package/dist/swap.js +0 -134
@@ -0,0 +1,1058 @@
1
+ // Generated by scripts/sync-artifacts.ts from ../out (forge build) and ../src. Do not edit.
2
+ /** Full ABIs of the release contracts, exactly as forge prints them. */
3
+ export const ARTIFACT_ABIS = {
4
+ HookrRegistry: [
5
+ { "type": "constructor", "inputs": [{ "name": "_owner", "type": "address", "internalType": "address" }, { "name": "_manager", "type": "address", "internalType": "contract IPoolManager" }, { "name": "_delay", "type": "uint48", "internalType": "uint48" }], "stateMutability": "nonpayable" },
6
+ { "type": "function", "name": "ADMIT", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
7
+ { "type": "function", "name": "GRACE_PERIOD", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
8
+ { "type": "function", "name": "MAX_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
9
+ { "type": "function", "name": "MIN_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
10
+ { "type": "function", "name": "REGISTER_ROOT", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
11
+ { "type": "function", "name": "REOPEN_ROOT", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
12
+ { "type": "function", "name": "RESUME_NEW_MARKETS", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
13
+ { "type": "function", "name": "RETIRE_ROOT", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
14
+ { "type": "function", "name": "RULES_MIN_GAS_LIMIT", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
15
+ { "type": "function", "name": "SET_GUARDIAN", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
16
+ { "type": "function", "name": "SET_LAUNCHER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
17
+ { "type": "function", "name": "SET_QUOTE", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
18
+ { "type": "function", "name": "SET_ROOT_FACTORY", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
19
+ { "type": "function", "name": "TRANSFER_OWNER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
20
+ { "type": "function", "name": "acceptOwnership", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
21
+ { "type": "function", "name": "activeLaneOf", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "executor", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "gasCap", "type": "uint32", "internalType": "uint32" }, { "name": "partnerBps", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
22
+ { "type": "function", "name": "addSettlementCurrency", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
23
+ { "type": "function", "name": "admission", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "implementation", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrRegistry.Admission", "components": [{ "name": "kind", "type": "uint8", "internalType": "enum IHookrRegistry.Kind" }, { "name": "implementation", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "schemaHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "gasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "phaseMask", "type": "uint8", "internalType": "uint8" }, { "name": "feeOnly", "type": "bool", "internalType": "bool" }, { "name": "failOpen", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
24
+ { "type": "function", "name": "admit", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "a", "type": "tuple", "internalType": "struct IHookrRegistry.Admission", "components": [{ "name": "kind", "type": "uint8", "internalType": "enum IHookrRegistry.Kind" }, { "name": "implementation", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "schemaHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "gasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "phaseMask", "type": "uint8", "internalType": "uint8" }, { "name": "feeOnly", "type": "bool", "internalType": "bool" }, { "name": "failOpen", "type": "bool", "internalType": "bool" }] }], "outputs": [], "stateMutability": "nonpayable" },
25
+ { "type": "function", "name": "authorizeAnyQuote", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
26
+ { "type": "function", "name": "badgeForQuote", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint8", "internalType": "enum IHookrRegistry.QuoteBadge" }], "stateMutability": "view" },
27
+ { "type": "function", "name": "brakeOneQuoteInstantly", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
28
+ { "type": "function", "name": "cancel", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
29
+ { "type": "function", "name": "cancelOwnershipTransfer", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
30
+ { "type": "function", "name": "closeLaneOf", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
31
+ { "type": "function", "name": "closeRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
32
+ { "type": "function", "name": "deactivateLauncher", "inputs": [{ "name": "launcher", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
33
+ { "type": "function", "name": "deactivateRootFactory", "inputs": [{ "name": "factory", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
34
+ { "type": "function", "name": "delay", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
35
+ { "type": "function", "name": "dismissAnyQuoteNow", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
36
+ { "type": "function", "name": "dropSingleExternalHookRecordNow", "inputs": [{ "name": "hook", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
37
+ { "type": "function", "name": "dropWholeQuoteClass", "inputs": [{ "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
38
+ { "type": "function", "name": "executorLane", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "executor", "type": "address", "internalType": "address" }], "outputs": [{ "name": "on", "type": "bool", "internalType": "bool" }, { "name": "gasCap", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
39
+ { "type": "function", "name": "expiresAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
40
+ { "type": "function", "name": "findBondForAdmission", "inputs": [{ "name": "scope", "type": "address", "internalType": "address" }, { "name": "implementation", "type": "address", "internalType": "address" }], "outputs": [{ "name": "bondRef", "type": "address", "internalType": "address" }, { "name": "covering", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
41
+ { "type": "function", "name": "findExternalHookWithCodeCheck", "inputs": [{ "name": "hook", "type": "address", "internalType": "address" }], "outputs": [{ "name": "record", "type": "tuple", "internalType": "struct IHookrExternalHooks.ExternalHook", "components": [{ "name": "kind", "type": "uint8", "internalType": "enum IHookrExternalHooks.HookKind" }, { "name": "bondRef", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }] }, { "name": "codeHashMatches", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
42
+ { "type": "function", "name": "freezeRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
43
+ { "type": "function", "name": "guardian", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
44
+ { "type": "function", "name": "installQuoteClass", "inputs": [{ "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "witness", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
45
+ { "type": "function", "name": "isLauncher", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
46
+ { "type": "function", "name": "isOwnedRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
47
+ { "type": "function", "name": "isQuote", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
48
+ { "type": "function", "name": "isRevokedAdmission", "inputs": [{ "name": "scope", "type": "address", "internalType": "address" }, { "name": "implementation", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
49
+ { "type": "function", "name": "isRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
50
+ { "type": "function", "name": "isRootFactory", "inputs": [{ "name": "factory", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
51
+ { "type": "function", "name": "isSettlementCurrency", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
52
+ { "type": "function", "name": "newMarketsPaused", "inputs": [], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
53
+ { "type": "function", "name": "openLaneOf", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "executor", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "gasCap", "type": "uint32", "internalType": "uint32" }, { "name": "partnerBps", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
54
+ { "type": "function", "name": "openQuoteTerms", "inputs": [], "outputs": [{ "name": "anyQuote", "type": "bool", "internalType": "bool" }, { "name": "anyQuoteStoppedAt", "type": "uint48", "internalType": "uint48" }, { "name": "classes", "type": "bytes32[]", "internalType": "bytes32[]" }], "stateMutability": "view" },
55
+ { "type": "function", "name": "operationHash", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
56
+ { "type": "function", "name": "ownedRegistrarForRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
57
+ { "type": "function", "name": "ownedRootTemplate", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
58
+ { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
59
+ { "type": "function", "name": "partScopeEligible", "inputs": [{ "name": "module", "type": "address", "internalType": "address" }], "outputs": [{ "name": "eligible", "type": "bool", "internalType": "bool" }, { "name": "root", "type": "address", "internalType": "address" }], "stateMutability": "view" },
60
+ { "type": "function", "name": "pauseNewMarkets", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
61
+ { "type": "function", "name": "pendingOwner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
62
+ { "type": "function", "name": "pinModuleBondFor", "inputs": [{ "name": "scope", "type": "address", "internalType": "address" }, { "name": "implementation", "type": "address", "internalType": "address" }, { "name": "bondRef", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
63
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
64
+ { "type": "function", "name": "queue", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
65
+ { "type": "function", "name": "quoteAssets", "inputs": [], "outputs": [{ "name": "", "type": "address[]", "internalType": "address[]" }], "stateMutability": "view" },
66
+ { "type": "function", "name": "quoteIsBraked", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }], "outputs": [{ "name": "braked", "type": "bool", "internalType": "bool" }, { "name": "lastBrakeAt", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
67
+ { "type": "function", "name": "readyAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
68
+ { "type": "function", "name": "registerFactoryRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "advisory", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
69
+ { "type": "function", "name": "registerOwnedRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "template", "type": "address", "internalType": "address" }, { "name": "templateRules", "type": "address", "internalType": "address" }, { "name": "rules", "type": "tuple", "internalType": "struct IHookrRegistry.Admission", "components": [{ "name": "kind", "type": "uint8", "internalType": "enum IHookrRegistry.Kind" }, { "name": "implementation", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "schemaHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "gasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "phaseMask", "type": "uint8", "internalType": "uint8" }, { "name": "feeOnly", "type": "bool", "internalType": "bool" }, { "name": "failOpen", "type": "bool", "internalType": "bool" }] }, { "name": "copies", "type": "address[]", "internalType": "address[]" }], "outputs": [], "stateMutability": "nonpayable" },
70
+ { "type": "function", "name": "registerRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
71
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
72
+ { "type": "function", "name": "removeGuardian", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
73
+ { "type": "function", "name": "removeSettlementCurrency", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
74
+ { "type": "function", "name": "reopenRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
75
+ { "type": "function", "name": "reopenSingleQuote", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
76
+ { "type": "function", "name": "resumeNewMarkets", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
77
+ { "type": "function", "name": "retireRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
78
+ { "type": "function", "name": "revokeFactoryAdmissions", "inputs": [{ "name": "factory", "type": "address", "internalType": "address" }, { "name": "implementations", "type": "address[]", "internalType": "address[]" }], "outputs": [], "stateMutability": "nonpayable" },
79
+ { "type": "function", "name": "revokeModuleAdmission", "inputs": [{ "name": "scope", "type": "address", "internalType": "address" }, { "name": "implementation", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
80
+ { "type": "function", "name": "rootClosed", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
81
+ { "type": "function", "name": "rootFactoryCodeHash", "inputs": [{ "name": "factory", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
82
+ { "type": "function", "name": "rootFactoryOf", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
83
+ { "type": "function", "name": "rootFrozen", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
84
+ { "type": "function", "name": "rootOpen", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
85
+ { "type": "function", "name": "rootOpenFor", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "opener", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
86
+ { "type": "function", "name": "rootReopenable", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
87
+ { "type": "function", "name": "rootStatus", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "advisory", "type": "address", "internalType": "address" }, { "name": "verified", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
88
+ { "type": "function", "name": "setExternalHook", "inputs": [{ "name": "hook", "type": "address", "internalType": "address" }, { "name": "kind", "type": "uint8", "internalType": "enum IHookrExternalHooks.HookKind" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "bondRef", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
89
+ { "type": "function", "name": "setGuardian", "inputs": [{ "name": "nextGuardian", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
90
+ { "type": "function", "name": "setLauncher", "inputs": [{ "name": "launcher", "type": "address", "internalType": "address" }, { "name": "active", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
91
+ { "type": "function", "name": "setQuote", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }, { "name": "active", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
92
+ { "type": "function", "name": "setRootFactory", "inputs": [{ "name": "factory", "type": "address", "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "active", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
93
+ { "type": "function", "name": "settlementCurrencies", "inputs": [], "outputs": [{ "name": "", "type": "address[]", "internalType": "address[]" }], "stateMutability": "view" },
94
+ { "type": "function", "name": "startExecutorLaneAt", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "executor", "type": "address", "internalType": "address" }, { "name": "gasCap", "type": "uint32", "internalType": "uint32" }], "outputs": [], "stateMutability": "nonpayable" },
95
+ { "type": "function", "name": "stopExecutorLane", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "executor", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
96
+ { "type": "function", "name": "transferOwnership", "inputs": [{ "name": "nextOwner", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
97
+ { "type": "function", "name": "tuneExecutorLane", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "executor", "type": "address", "internalType": "address" }, { "name": "gasCap", "type": "uint32", "internalType": "uint32" }], "outputs": [], "stateMutability": "nonpayable" },
98
+ { "type": "event", "name": "AdmissionBondSet", "inputs": [{ "name": "scope", "type": "address", "indexed": true, "internalType": "address" }, { "name": "implementation", "type": "address", "indexed": true, "internalType": "address" }, { "name": "bondRef", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
99
+ { "type": "event", "name": "AdmissionRevoked", "inputs": [{ "name": "scope", "type": "address", "indexed": true, "internalType": "address" }, { "name": "implementation", "type": "address", "indexed": true, "internalType": "address" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
100
+ { "type": "event", "name": "AnyQuoteSet", "inputs": [{ "name": "on", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
101
+ { "type": "event", "name": "ExecutorLaneSet", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "executor", "type": "address", "indexed": true, "internalType": "address" }, { "name": "on", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "gasCap", "type": "uint32", "indexed": false, "internalType": "uint32" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
102
+ { "type": "event", "name": "ExternalHookDelisted", "inputs": [{ "name": "hook", "type": "address", "indexed": true, "internalType": "address" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
103
+ { "type": "event", "name": "ExternalHookRecorded", "inputs": [{ "name": "hook", "type": "address", "indexed": true, "internalType": "address" }, { "name": "kind", "type": "uint8", "indexed": false, "internalType": "enum IHookrExternalHooks.HookKind" }, { "name": "codeHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "bondRef", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
104
+ { "type": "event", "name": "FactoryRootRegistered", "inputs": [{ "name": "factory", "type": "address", "indexed": true, "internalType": "address" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
105
+ { "type": "event", "name": "GuardianSet", "inputs": [{ "name": "previousGuardian", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newGuardian", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
106
+ { "type": "event", "name": "LaneClosed", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
107
+ { "type": "event", "name": "LaneOpened", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "executor", "type": "address", "indexed": true, "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "gasCap", "type": "uint32", "indexed": false, "internalType": "uint32" }, { "name": "partnerBps", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
108
+ { "type": "event", "name": "LauncherDeactivated", "inputs": [{ "name": "launcher", "type": "address", "indexed": true, "internalType": "address" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
109
+ { "type": "event", "name": "LauncherSet", "inputs": [{ "name": "launcher", "type": "address", "indexed": true, "internalType": "address" }, { "name": "active", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
110
+ { "type": "event", "name": "ModuleAdmitted", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "implementation", "type": "address", "indexed": true, "internalType": "address" }, { "name": "kind", "type": "uint8", "indexed": false, "internalType": "enum IHookrRegistry.Kind" }, { "name": "codeHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }], "anonymous": false },
111
+ { "type": "event", "name": "NewMarketsPaused", "inputs": [{ "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
112
+ { "type": "event", "name": "NewMarketsResumed", "inputs": [{ "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
113
+ { "type": "event", "name": "OperationCancelled", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
114
+ { "type": "event", "name": "OperationExecuted", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
115
+ { "type": "event", "name": "OperationQueued", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "kind", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "readyAt", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "expiresAt", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
116
+ { "type": "event", "name": "OwnedRootRegistered", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "factory", "type": "address", "indexed": true, "internalType": "address" }, { "name": "template", "type": "address", "indexed": true, "internalType": "address" }, { "name": "rules", "type": "address", "indexed": false, "internalType": "address" }], "anonymous": false },
117
+ { "type": "event", "name": "OwnershipTransferCancelled", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "nominee", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
118
+ { "type": "event", "name": "OwnershipTransferStarted", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "nominee", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
119
+ { "type": "event", "name": "OwnershipTransferred", "inputs": [{ "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
120
+ { "type": "event", "name": "QuoteBraked", "inputs": [{ "name": "asset", "type": "address", "indexed": true, "internalType": "address" }, { "name": "braked", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
121
+ { "type": "event", "name": "QuoteClassDropped", "inputs": [{ "name": "codeHash", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
122
+ { "type": "event", "name": "QuoteClassSet", "inputs": [{ "name": "codeHash", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "witness", "type": "address", "indexed": true, "internalType": "address" }, { "name": "active", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
123
+ { "type": "event", "name": "QuoteSet", "inputs": [{ "name": "asset", "type": "address", "indexed": true, "internalType": "address" }, { "name": "active", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
124
+ { "type": "event", "name": "RootClosed", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
125
+ { "type": "event", "name": "RootFactorySet", "inputs": [{ "name": "factory", "type": "address", "indexed": true, "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "active", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
126
+ { "type": "event", "name": "RootRegistered", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
127
+ { "type": "event", "name": "RootReopened", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
128
+ { "type": "event", "name": "RootRetired", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
129
+ { "type": "event", "name": "RootSealed", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
130
+ { "type": "event", "name": "SettlementCurrencySet", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "address" }, { "name": "added", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
131
+ { "type": "error", "name": "AlreadyActive", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
132
+ { "type": "error", "name": "AlreadyAdmitted", "inputs": [] },
133
+ { "type": "error", "name": "AlreadyBonded", "inputs": [{ "name": "scope", "type": "address", "internalType": "address" }, { "name": "implementation", "type": "address", "internalType": "address" }] },
134
+ { "type": "error", "name": "AlreadyQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
135
+ { "type": "error", "name": "AnyQuoteActive", "inputs": [] },
136
+ { "type": "error", "name": "BondNotCovering", "inputs": [{ "name": "bondRef", "type": "address", "internalType": "address" }] },
137
+ { "type": "error", "name": "CodeHashMismatch", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
138
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
139
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
140
+ { "type": "error", "name": "InvalidAddress", "inputs": [] },
141
+ { "type": "error", "name": "InvalidAdmission", "inputs": [] },
142
+ { "type": "error", "name": "InvalidDelay", "inputs": [] },
143
+ { "type": "error", "name": "InvalidLane", "inputs": [] },
144
+ { "type": "error", "name": "InvalidRecord", "inputs": [] },
145
+ { "type": "error", "name": "InvalidRoot", "inputs": [] },
146
+ { "type": "error", "name": "LaneQueuedBeforeClose", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
147
+ { "type": "error", "name": "MarketsPaused", "inputs": [] },
148
+ { "type": "error", "name": "NewMarketsNotPaused", "inputs": [] },
149
+ { "type": "error", "name": "NonCanonicalArguments", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
150
+ { "type": "error", "name": "NotAContract", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
151
+ { "type": "error", "name": "NotAContract", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
152
+ { "type": "error", "name": "NotQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
153
+ { "type": "error", "name": "NotReady", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
154
+ { "type": "error", "name": "OperationExpired", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "expiredAt", "type": "uint48", "internalType": "uint48" }] },
155
+ { "type": "error", "name": "QueuedBeforeBrake", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
156
+ { "type": "error", "name": "QuoteClassActive", "inputs": [{ "name": "codeHash", "type": "bytes32", "internalType": "bytes32" }] },
157
+ { "type": "error", "name": "QuoteNotBraked", "inputs": [{ "name": "asset", "type": "address", "internalType": "address" }] },
158
+ { "type": "error", "name": "RootFrozen", "inputs": [] },
159
+ { "type": "error", "name": "RootNotClosed", "inputs": [] },
160
+ { "type": "error", "name": "Unauthorized", "inputs": [] },
161
+ { "type": "error", "name": "UnknownOperation", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
162
+ ],
163
+ HookrRules: [
164
+ { "type": "constructor", "inputs": [{ "name": "_manager", "type": "address", "internalType": "contract IPoolManager" }, { "name": "_registry", "type": "address", "internalType": "contract IHookrRegistry" }, { "name": "_protocolRecipient", "type": "address", "internalType": "address" }, { "name": "_trustedRoot", "type": "address", "internalType": "address" }, { "name": "_minProtocolShareBps", "type": "uint16", "internalType": "uint16" }], "stateMutability": "nonpayable" },
165
+ { "type": "fallback", "stateMutability": "nonpayable" },
166
+ { "type": "function", "name": "accountingInvariant", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
167
+ { "type": "function", "name": "beforeAddLiquidity", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "view" },
168
+ { "type": "function", "name": "beforeSwap", "inputs": [{ "name": "x", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }], "outputs": [{ "name": "q", "type": "tuple", "internalType": "struct HookrTypes.FeeQuote", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "subjectBurnBps", "type": "uint16", "internalType": "uint16" }] }], "stateMutability": "nonpayable" },
169
+ { "type": "function", "name": "bind", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "pc", "type": "tuple", "internalType": "struct HookrTypes.PoolConfig", "components": [{ "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "liquidityOwner", "type": "address", "internalType": "address" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "rulesGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryPhases", "type": "uint8", "internalType": "uint8" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }, { "name": "policyId", "type": "bytes32", "internalType": "bytes32" }] }, { "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "hash", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
170
+ { "type": "function", "name": "claim", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
171
+ { "type": "function", "name": "claimAsClaims", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "to", "type": "address", "internalType": "address" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
172
+ { "type": "function", "name": "claimTo", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "to", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
173
+ { "type": "function", "name": "claimable", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "beneficiary", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
174
+ { "type": "function", "name": "config", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct HookrTypes.RulesConfig", "components": [{ "name": "guardEndBlock", "type": "uint40", "internalType": "uint40" }, { "name": "maxFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "snipeTaxPips", "type": "uint24", "internalType": "uint24" }, { "name": "snipeFloorPips", "type": "uint24", "internalType": "uint24" }, { "name": "snipeDecaySeconds", "type": "uint16", "internalType": "uint16" }, { "name": "dynamicFeeSens", "type": "uint16", "internalType": "uint16" }, { "name": "burnBps", "type": "uint16", "internalType": "uint16" }, { "name": "lpBps", "type": "uint16", "internalType": "uint16" }, { "name": "potBps", "type": "uint16", "internalType": "uint16" }, { "name": "royaltyBps", "type": "uint16", "internalType": "uint16" }, { "name": "protocolShareBps", "type": "uint16", "internalType": "uint16" }, { "name": "potEveryNBuys", "type": "uint32", "internalType": "uint32" }, { "name": "maxBuyQuoteAmount", "type": "uint128", "internalType": "uint128" }, { "name": "potMinBuyQuote", "type": "uint128", "internalType": "uint128" }, { "name": "royaltyTo", "type": "address", "internalType": "address" }, { "name": "integrator", "type": "address", "internalType": "address" }] }], "stateMutability": "view" },
175
+ { "type": "function", "name": "configSchemaHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "pure" },
176
+ { "type": "function", "name": "dynamicFeeParameters", "inputs": [], "outputs": [{ "name": "window", "type": "uint256", "internalType": "uint256" }, { "name": "reset", "type": "uint256", "internalType": "uint256" }, { "name": "carryBps", "type": "uint256", "internalType": "uint256" }, { "name": "moveTicks", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
177
+ { "type": "function", "name": "feeOnlyFrom", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
178
+ { "type": "function", "name": "integration", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "integrator", "type": "address", "internalType": "address" }, { "name": "integratorBps", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
179
+ { "type": "function", "name": "minProtocolShareBps", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
180
+ { "type": "function", "name": "poolHasDynamicFee", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
181
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
182
+ { "type": "function", "name": "protocolFeePaid", "inputs": [{ "name": "payer", "type": "address", "internalType": "address" }, { "name": "quote", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
183
+ { "type": "function", "name": "protocolRecipient", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
184
+ { "type": "function", "name": "quoteSimulatedSwap", "inputs": [{ "name": "x", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }, { "name": "m", "type": "tuple", "internalType": "struct HookrTypes.SwapSimulation", "components": [{ "name": "sqrtPriceBeforeX96", "type": "uint160", "internalType": "uint160" }, { "name": "tickBefore", "type": "int24", "internalType": "int24" }, { "name": "sqrtPriceAfterX96", "type": "uint160", "internalType": "uint160" }, { "name": "tickAfter", "type": "int24", "internalType": "int24" }] }], "outputs": [{ "name": "q", "type": "tuple", "internalType": "struct HookrTypes.FeeQuote", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "subjectBurnBps", "type": "uint16", "internalType": "uint16" }] }], "stateMutability": "nonpayable" },
185
+ { "type": "function", "name": "referenceState", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "minLiquidity", "type": "uint256", "internalType": "uint256" }, { "name": "referenceTick", "type": "int24", "internalType": "int24" }, { "name": "anchorTick", "type": "int24", "internalType": "int24" }, { "name": "movedAt", "type": "uint40", "internalType": "uint40" }, { "name": "referenceAt", "type": "uint40", "internalType": "uint40" }, { "name": "movedTick", "type": "int24", "internalType": "int24" }], "stateMutability": "view" },
186
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "view" },
187
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
188
+ { "type": "function", "name": "removalLockedUntil", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "untilBlock", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
189
+ { "type": "function", "name": "rootSimulates", "inputs": [], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
190
+ { "type": "function", "name": "settleSwap", "inputs": [{ "name": "x", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }, { "name": "z", "type": "tuple", "internalType": "struct HookrTypes.Settlement", "components": [{ "name": "actualQuote", "type": "uint256", "internalType": "uint256" }, { "name": "actualSubject", "type": "uint256", "internalType": "uint256" }, { "name": "quoteBasis", "type": "uint256", "internalType": "uint256" }, { "name": "rulesFee", "type": "uint256", "internalType": "uint256" }, { "name": "advisoryFee", "type": "uint256", "internalType": "uint256" }, { "name": "refund", "type": "uint256", "internalType": "uint256" }, { "name": "subjectBurn", "type": "uint256", "internalType": "uint256" }, { "name": "advisoryRecipient", "type": "address", "internalType": "address" }] }], "outputs": [{ "name": "credited", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
191
+ { "type": "function", "name": "simulationQuote", "inputs": [{ "name": "x", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }], "outputs": [{ "name": "q", "type": "tuple", "internalType": "struct HookrTypes.FeeQuote", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "subjectBurnBps", "type": "uint16", "internalType": "uint16" }] }], "stateMutability": "view" },
192
+ { "type": "function", "name": "totalLiability", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
193
+ { "type": "function", "name": "trustedRoot", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
194
+ { "type": "function", "name": "unlockCallback", "inputs": [{ "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes", "internalType": "bytes" }], "stateMutability": "nonpayable" },
195
+ { "type": "event", "name": "Claimed", "inputs": [{ "name": "quote", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "beneficiary", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
196
+ { "type": "event", "name": "ClaimsSwept", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
197
+ { "type": "event", "name": "CrownVoided", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "voided", "type": "address", "indexed": true, "internalType": "address" }, { "name": "restored", "type": "address", "indexed": true, "internalType": "address" }, { "name": "epochStart", "type": "uint64", "indexed": false, "internalType": "uint64" }], "anonymous": false },
198
+ { "type": "event", "name": "EpochRolled", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "closedEpochStart", "type": "uint64", "indexed": false, "internalType": "uint64" }, { "name": "nextEpochStart", "type": "uint64", "indexed": false, "internalType": "uint64" }, { "name": "potCarried", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
199
+ { "type": "event", "name": "FeesAllocated", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "quote", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "protocol", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "royalty", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "refund", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "advisoryRecipient", "type": "address", "indexed": false, "internalType": "address" }, { "name": "advisoryFee", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
200
+ { "type": "event", "name": "IntegratorPaid", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "quote", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "integrator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
201
+ { "type": "event", "name": "KingCrowned", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "winner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "epochStart", "type": "uint64", "indexed": false, "internalType": "uint64" }], "anonymous": false },
202
+ { "type": "event", "name": "LeaderChanged", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "leader", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "epochStart", "type": "uint64", "indexed": false, "internalType": "uint64" }], "anonymous": false },
203
+ { "type": "event", "name": "LpShareDonated", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "amount0", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
204
+ { "type": "event", "name": "PoolAccrued", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
205
+ { "type": "event", "name": "PoolClaimed", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
206
+ { "type": "event", "name": "PotReleased", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
207
+ { "type": "event", "name": "RecaptureSplit", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "trader", "type": "address", "indexed": true, "internalType": "address" }, { "name": "traderAmount", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "lp", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "pot", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "protocol", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "currency", "type": "address", "indexed": false, "internalType": "Currency" }, { "name": "reportedProfit", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
208
+ { "type": "event", "name": "RulesBound", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "configHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "config", "type": "bytes", "indexed": false, "internalType": "bytes" }], "anonymous": false },
209
+ { "type": "error", "name": "AlreadyBound", "inputs": [] },
210
+ { "type": "error", "name": "ClaimFailed", "inputs": [] },
211
+ { "type": "error", "name": "EpochOpen", "inputs": [] },
212
+ { "type": "error", "name": "GuardBuyLimit", "inputs": [{ "name": "actual", "type": "uint256", "internalType": "uint256" }, { "name": "limit", "type": "uint256", "internalType": "uint256" }] },
213
+ { "type": "error", "name": "GuardExactOutput", "inputs": [] },
214
+ { "type": "error", "name": "GuardLiquidity", "inputs": [] },
215
+ { "type": "error", "name": "InvalidConfig", "inputs": [] },
216
+ { "type": "error", "name": "InvalidSettlement", "inputs": [] },
217
+ { "type": "error", "name": "NotKoth", "inputs": [] },
218
+ { "type": "error", "name": "NothingToClaim", "inputs": [] },
219
+ { "type": "error", "name": "PotUnavailable", "inputs": [{ "name": "potBps", "type": "uint16", "internalType": "uint16" }] },
220
+ { "type": "error", "name": "PrizeAboveBound", "inputs": [{ "name": "maxPrizeBps", "type": "uint256", "internalType": "uint256" }, { "name": "bound", "type": "uint256", "internalType": "uint256" }] },
221
+ { "type": "error", "name": "ReentrantClaim", "inputs": [] },
222
+ { "type": "error", "name": "SimulationRequired", "inputs": [] },
223
+ { "type": "error", "name": "Unauthorized", "inputs": [] },
224
+ { "type": "error", "name": "UnknownIntegrator", "inputs": [{ "name": "integrator", "type": "address", "internalType": "address" }] },
225
+ { "type": "error", "name": "UnknownPool", "inputs": [] },
226
+ ],
227
+ HookrTreasury: [
228
+ { "type": "constructor", "inputs": [{ "name": "_owner", "type": "address", "internalType": "address" }, { "name": "_target", "type": "address", "internalType": "address" }, { "name": "_poolManager", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "nonpayable" },
229
+ { "type": "receive", "stateMutability": "payable" },
230
+ { "type": "function", "name": "DEFAULT_INTEGRATOR_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
231
+ { "type": "function", "name": "DEFAULT_MIN_FEE_PIPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
232
+ { "type": "function", "name": "DEFAULT_OWNED_ROOT_FEE", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
233
+ { "type": "function", "name": "DELIVERY_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
234
+ { "type": "function", "name": "MAX_INTEGRATOR_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
235
+ { "type": "function", "name": "MAX_MIN_FEE_PIPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
236
+ { "type": "function", "name": "MAX_OWNED_ROOT_FEE", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
237
+ { "type": "function", "name": "MAX_RULE_SHARE_FLOOR_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
238
+ { "type": "function", "name": "NO_MIN_FEE_OVERRIDE", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
239
+ { "type": "function", "name": "OWNED_ROOT_FEE_UNIT", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
240
+ { "type": "function", "name": "TARGET_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
241
+ { "type": "function", "name": "TARGET_GRACE", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
242
+ { "type": "function", "name": "TERMS_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
243
+ { "type": "function", "name": "TERMS_GRACE", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
244
+ { "type": "function", "name": "acceptIntegrator", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
245
+ { "type": "function", "name": "acceptIntegratorMinFee", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
246
+ { "type": "function", "name": "acceptMinFee", "inputs": [{ "name": "recapture", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
247
+ { "type": "function", "name": "acceptOwnedRootFee", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
248
+ { "type": "function", "name": "acceptOwnership", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
249
+ { "type": "function", "name": "acceptRuleShareFloor", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
250
+ { "type": "function", "name": "acceptTarget", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
251
+ { "type": "function", "name": "admitSource", "inputs": [{ "name": "source", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
252
+ { "type": "function", "name": "approveMinFeePool", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "approved", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
253
+ { "type": "function", "name": "cancelIntegrator", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
254
+ { "type": "function", "name": "cancelIntegratorMinFee", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
255
+ { "type": "function", "name": "cancelMinFee", "inputs": [{ "name": "recapture", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
256
+ { "type": "function", "name": "cancelOwnedRootFee", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
257
+ { "type": "function", "name": "cancelRuleShareFloor", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
258
+ { "type": "function", "name": "cancelTarget", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
259
+ { "type": "function", "name": "collect", "inputs": [{ "name": "source", "type": "address", "internalType": "address" }, { "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "received", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
260
+ { "type": "function", "name": "collectAsClaims", "inputs": [{ "name": "source", "type": "address", "internalType": "address" }, { "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "received", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
261
+ { "type": "function", "name": "collectTo", "inputs": [{ "name": "source", "type": "address", "internalType": "address" }, { "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "received", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
262
+ { "type": "function", "name": "deliver", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "to", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" }], "outputs": [], "stateMutability": "nonpayable" },
263
+ { "type": "function", "name": "feeTerms", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }, { "name": "recapture", "type": "bool", "internalType": "bool" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "floorBps", "type": "uint16", "internalType": "uint16" }, { "name": "integratorBps", "type": "uint16", "internalType": "uint16" }, { "name": "minFee", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
264
+ { "type": "function", "name": "forwardBalance", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }, { "name": "delivered", "type": "bool", "internalType": "bool" }], "stateMutability": "nonpayable" },
265
+ { "type": "function", "name": "integrator", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [{ "name": "rateBps", "type": "uint16", "internalType": "uint16" }, { "name": "pendingRateBps", "type": "uint16", "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
266
+ { "type": "function", "name": "integratorMinFee", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [{ "name": "pips", "type": "uint16", "internalType": "uint16" }, { "name": "pendingPips", "type": "uint16", "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
267
+ { "type": "function", "name": "minFeePips", "inputs": [{ "name": "recapture", "type": "bool", "internalType": "bool" }], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
268
+ { "type": "function", "name": "minFeePoolApproved", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
269
+ { "type": "function", "name": "ownedRootFee", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
270
+ { "type": "function", "name": "ownedRootRegistry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
271
+ { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
272
+ { "type": "function", "name": "pendingMinFee", "inputs": [{ "name": "recapture", "type": "bool", "internalType": "bool" }], "outputs": [{ "name": "pips", "type": "uint16", "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
273
+ { "type": "function", "name": "pendingOwnedRootFee", "inputs": [], "outputs": [{ "name": "fee", "type": "uint256", "internalType": "uint256" }, { "name": "readyAt", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
274
+ { "type": "function", "name": "pendingOwner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
275
+ { "type": "function", "name": "pendingRuleShareFloor", "inputs": [], "outputs": [{ "name": "floorBps", "type": "uint16", "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
276
+ { "type": "function", "name": "pendingTarget", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
277
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
278
+ { "type": "function", "name": "proposeIntegrator", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }, { "name": "rateBps", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
279
+ { "type": "function", "name": "proposeIntegratorMinFee", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }, { "name": "pips", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
280
+ { "type": "function", "name": "proposeMinFee", "inputs": [{ "name": "recapture", "type": "bool", "internalType": "bool" }, { "name": "pips", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
281
+ { "type": "function", "name": "proposeOwnedRootFee", "inputs": [{ "name": "fee", "type": "uint256", "internalType": "uint256" }], "outputs": [], "stateMutability": "nonpayable" },
282
+ { "type": "function", "name": "proposeOwner", "inputs": [{ "name": "nextOwner", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
283
+ { "type": "function", "name": "proposeRuleShareFloor", "inputs": [{ "name": "floorBps", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
284
+ { "type": "function", "name": "proposeTarget", "inputs": [{ "name": "nextTarget", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
285
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
286
+ { "type": "function", "name": "removeIntegrator", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
287
+ { "type": "function", "name": "ruleShareFloorBps", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
288
+ { "type": "function", "name": "setOwnedRootRegistry", "inputs": [{ "name": "registry", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
289
+ { "type": "function", "name": "sourceCodeHash", "inputs": [{ "name": "source", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
290
+ { "type": "function", "name": "target", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
291
+ { "type": "function", "name": "targetReadyAt", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
292
+ { "type": "event", "name": "FeeTermsProposalsVoided", "inputs": [{ "name": "epoch", "type": "uint64", "indexed": true, "internalType": "uint64" }], "anonymous": false },
293
+ { "type": "event", "name": "IntegratorMinFeeProposalCancelled", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
294
+ { "type": "event", "name": "IntegratorMinFeeProposed", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
295
+ { "type": "event", "name": "IntegratorMinFeeSet", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "previous", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
296
+ { "type": "event", "name": "IntegratorProposalCancelled", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
297
+ { "type": "event", "name": "IntegratorProposed", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
298
+ { "type": "event", "name": "IntegratorRemoved", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "previous", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
299
+ { "type": "event", "name": "IntegratorSet", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "previous", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
300
+ { "type": "event", "name": "MinFeePoolApproved", "inputs": [{ "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "approved", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
301
+ { "type": "event", "name": "MinFeeProposalCancelled", "inputs": [{ "name": "recapture", "type": "bool", "indexed": true, "internalType": "bool" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
302
+ { "type": "event", "name": "MinFeeProposed", "inputs": [{ "name": "recapture", "type": "bool", "indexed": true, "internalType": "bool" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
303
+ { "type": "event", "name": "MinFeeSet", "inputs": [{ "name": "recapture", "type": "bool", "indexed": true, "internalType": "bool" }, { "name": "previous", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
304
+ { "type": "event", "name": "OwnedRootFeeProposalCancelled", "inputs": [{ "name": "proposed", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
305
+ { "type": "event", "name": "OwnedRootFeeProposed", "inputs": [{ "name": "current", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "proposed", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "readyAt", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
306
+ { "type": "event", "name": "OwnedRootFeeSet", "inputs": [{ "name": "previous", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "current", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
307
+ { "type": "event", "name": "OwnedRootRegistrySet", "inputs": [{ "name": "previous", "type": "address", "indexed": true, "internalType": "address" }, { "name": "current", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
308
+ { "type": "event", "name": "OwnershipProposed", "inputs": [{ "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
309
+ { "type": "event", "name": "OwnershipTransferred", "inputs": [{ "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
310
+ { "type": "event", "name": "ProtocolCollected", "inputs": [{ "name": "source", "type": "address", "indexed": true, "internalType": "address" }, { "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
311
+ { "type": "event", "name": "ProtocolForwardDeferred", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "target", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
312
+ { "type": "event", "name": "ProtocolForwarded", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "target", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
313
+ { "type": "event", "name": "RuleShareFloorProposalCancelled", "inputs": [{ "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
314
+ { "type": "event", "name": "RuleShareFloorProposed", "inputs": [{ "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "proposed", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "readyAt", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
315
+ { "type": "event", "name": "RuleShareFloorSet", "inputs": [{ "name": "previous", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "current", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
316
+ { "type": "event", "name": "SourceAdmitted", "inputs": [{ "name": "source", "type": "address", "indexed": true, "internalType": "address" }, { "name": "codeHash", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
317
+ { "type": "event", "name": "TargetProposalCancelled", "inputs": [{ "name": "pendingTarget", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
318
+ { "type": "event", "name": "TargetProposed", "inputs": [{ "name": "currentTarget", "type": "address", "indexed": true, "internalType": "address" }, { "name": "pendingTarget", "type": "address", "indexed": true, "internalType": "address" }, { "name": "readyAt", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
319
+ { "type": "event", "name": "TargetSet", "inputs": [{ "name": "previousTarget", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newTarget", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
320
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
321
+ { "type": "error", "name": "InvalidAddress", "inputs": [] },
322
+ { "type": "error", "name": "InvalidSource", "inputs": [] },
323
+ { "type": "error", "name": "InvalidTarget", "inputs": [] },
324
+ { "type": "error", "name": "InvalidTerms", "inputs": [] },
325
+ { "type": "error", "name": "NoPendingTarget", "inputs": [] },
326
+ { "type": "error", "name": "NoPendingTerms", "inputs": [] },
327
+ { "type": "error", "name": "NotListed", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
328
+ { "type": "error", "name": "NotOwner", "inputs": [] },
329
+ { "type": "error", "name": "NotPendingOwner", "inputs": [] },
330
+ { "type": "error", "name": "NotSelf", "inputs": [] },
331
+ { "type": "error", "name": "ReceiptMismatch", "inputs": [{ "name": "reported", "type": "uint256", "internalType": "uint256" }, { "name": "received", "type": "uint256", "internalType": "uint256" }] },
332
+ { "type": "error", "name": "Reentrancy", "inputs": [] },
333
+ { "type": "error", "name": "SourceAlreadyAdmitted", "inputs": [] },
334
+ { "type": "error", "name": "SourceCodeChanged", "inputs": [] },
335
+ { "type": "error", "name": "TargetExpired", "inputs": [{ "name": "pendingTarget", "type": "address", "internalType": "address" }, { "name": "expiredAt", "type": "uint256", "internalType": "uint256" }] },
336
+ { "type": "error", "name": "TargetNotReady", "inputs": [{ "name": "pendingTarget", "type": "address", "internalType": "address" }, { "name": "readyAt", "type": "uint256", "internalType": "uint256" }] },
337
+ { "type": "error", "name": "TermsExpired", "inputs": [{ "name": "expiredAt", "type": "uint256", "internalType": "uint256" }] },
338
+ { "type": "error", "name": "TermsNotReady", "inputs": [{ "name": "readyAt", "type": "uint256", "internalType": "uint256" }] },
339
+ ],
340
+ HookrRootFactory: [
341
+ { "type": "constructor", "inputs": [{ "name": "manager", "type": "address", "internalType": "contract IPoolManager" }, { "name": "registry_", "type": "address", "internalType": "contract IHookrFactoryRegistry" }], "stateMutability": "nonpayable" },
342
+ { "type": "function", "name": "PERMISSION_FLAGS", "inputs": [], "outputs": [{ "name": "", "type": "uint160", "internalType": "uint160" }], "stateMutability": "view" },
343
+ { "type": "function", "name": "ROLE", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
344
+ { "type": "function", "name": "computeAddress", "inputs": [{ "name": "deployer", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }, { "name": "params", "type": "tuple", "internalType": "struct IHookrPairRoot.Params", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "advisoryCapPips", "type": "uint24", "internalType": "uint24" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }] }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
345
+ { "type": "function", "name": "deploy", "inputs": [{ "name": "salt", "type": "bytes32", "internalType": "bytes32" }, { "name": "params", "type": "tuple", "internalType": "struct IHookrPairRoot.Params", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "advisoryCapPips", "type": "uint24", "internalType": "uint24" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }] }, { "name": "sqrtPriceX96", "type": "uint160", "internalType": "uint160" }, { "name": "advisoryData", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "stateMutability": "nonpayable" },
346
+ { "type": "function", "name": "deploySalt", "inputs": [{ "name": "deployer", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "pure" },
347
+ { "type": "function", "name": "initCodeHash", "inputs": [{ "name": "params", "type": "tuple", "internalType": "struct IHookrPairRoot.Params", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "advisoryCapPips", "type": "uint24", "internalType": "uint24" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }] }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
348
+ { "type": "function", "name": "pairRootCreationCodeHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
349
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
350
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrFactoryRegistry" }], "stateMutability": "view" },
351
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
352
+ { "type": "event", "name": "PairRootDeployed", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "deployer", "type": "address", "indexed": true, "internalType": "address" }, { "name": "salt", "type": "bytes32", "indexed": false, "internalType": "bytes32" }], "anonymous": false },
353
+ { "type": "error", "name": "AdvisoryCodeHashMismatch", "inputs": [{ "name": "advisory", "type": "address", "internalType": "address" }] },
354
+ { "type": "error", "name": "AdvisoryNotAdmitted", "inputs": [{ "name": "advisory", "type": "address", "internalType": "address" }] },
355
+ { "type": "error", "name": "InvalidHookAddress", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }] },
356
+ { "type": "error", "name": "InvalidWiring", "inputs": [] },
357
+ { "type": "error", "name": "RootExists", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }] },
358
+ ],
359
+ HookrPairRoot: [
360
+ { "type": "constructor", "inputs": [{ "name": "manager", "type": "address", "internalType": "contract IPoolManager" }, { "name": "registry_", "type": "address", "internalType": "contract IHookrRegistry" }, { "name": "p", "type": "tuple", "internalType": "struct IHookrPairRoot.Params", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "advisoryCapPips", "type": "uint24", "internalType": "uint24" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }] }], "stateMutability": "nonpayable" },
361
+ { "type": "function", "name": "MAX_ADVISORY_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
362
+ { "type": "function", "name": "MAX_LP_FEE_PIPS", "inputs": [], "outputs": [{ "name": "", "type": "uint24", "internalType": "uint24" }], "stateMutability": "view" },
363
+ { "type": "function", "name": "PERMISSION_FLAGS", "inputs": [], "outputs": [{ "name": "", "type": "uint160", "internalType": "uint160" }], "stateMutability": "view" },
364
+ { "type": "function", "name": "ROLE", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
365
+ { "type": "function", "name": "beforeInitialize", "inputs": [{ "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "", "type": "uint160", "internalType": "uint160" }], "outputs": [{ "name": "", "type": "bytes4", "internalType": "bytes4" }], "stateMutability": "pure" },
366
+ { "type": "function", "name": "beforeSwap", "inputs": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "swap", "type": "tuple", "internalType": "struct SwapParams", "components": [{ "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }] }, { "name": "hookData", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes4", "internalType": "bytes4" }, { "name": "", "type": "int256", "internalType": "BeforeSwapDelta" }, { "name": "", "type": "uint24", "internalType": "uint24" }], "stateMutability": "view" },
367
+ { "type": "function", "name": "factory", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
368
+ { "type": "function", "name": "knownPool", "inputs": [{ "name": "poolId_", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
369
+ { "type": "function", "name": "open", "inputs": [{ "name": "sqrtPriceX96", "type": "uint160", "internalType": "uint160" }, { "name": "advisoryData", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "tick", "type": "int24", "internalType": "int24" }], "stateMutability": "nonpayable" },
370
+ { "type": "function", "name": "params", "inputs": [], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrPairRoot.Params", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "advisoryCapPips", "type": "uint24", "internalType": "uint24" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
371
+ { "type": "function", "name": "poolId", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "PoolId" }], "stateMutability": "view" },
372
+ { "type": "function", "name": "poolKey", "inputs": [], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }], "stateMutability": "view" },
373
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
374
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "view" },
375
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
376
+ { "type": "error", "name": "AdvisoryFailed", "inputs": [{ "name": "advisory", "type": "address", "internalType": "address" }] },
377
+ { "type": "error", "name": "AdvisoryRefused", "inputs": [{ "name": "advisory", "type": "address", "internalType": "address" }] },
378
+ { "type": "error", "name": "InsufficientAdvisoryGas", "inputs": [] },
379
+ { "type": "error", "name": "InvalidHookAddress", "inputs": [] },
380
+ { "type": "error", "name": "InvalidParams", "inputs": [] },
381
+ { "type": "error", "name": "Unauthorized", "inputs": [] },
382
+ ],
383
+ HookrFeeAdvisory: [
384
+ { "type": "constructor", "inputs": [{ "name": "owner_", "type": "address", "internalType": "address" }, { "name": "delay_", "type": "uint48", "internalType": "uint48" }, { "name": "registry_", "type": "address", "internalType": "contract IHookrRegistry" }, { "name": "calendar_", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" },
385
+ { "type": "function", "name": "ADD_KEEPER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
386
+ { "type": "function", "name": "GRACE", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
387
+ { "type": "function", "name": "MAX_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
388
+ { "type": "function", "name": "MAX_MIN_INTERVAL", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
389
+ { "type": "function", "name": "MAX_TTL", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
390
+ { "type": "function", "name": "MIN_ADVISORY_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
391
+ { "type": "function", "name": "MIN_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
392
+ { "type": "function", "name": "MIN_PAIR_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
393
+ { "type": "function", "name": "MIN_TIERED_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
394
+ { "type": "function", "name": "RULES_SCHEMA", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
395
+ { "type": "function", "name": "TRANSFER_OWNER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
396
+ { "type": "function", "name": "acceptOwnership", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
397
+ { "type": "function", "name": "addKeeper", "inputs": [{ "name": "keeper", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
398
+ { "type": "function", "name": "afterSwap", "inputs": [{ "name": "", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }, { "name": "", "type": "int128", "internalType": "int128" }, { "name": "", "type": "int128", "internalType": "int128" }], "outputs": [{ "name": "advice", "type": "tuple", "internalType": "struct HookrTypes.Advice", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "reject", "type": "bool", "internalType": "bool" }] }], "stateMutability": "pure" },
399
+ { "type": "function", "name": "beforeAddLiquidity", "inputs": [{ "name": "", "type": "bytes32", "internalType": "PoolId" }, { "name": "", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "pure" },
400
+ { "type": "function", "name": "beforeSwap", "inputs": [{ "name": "context", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }], "outputs": [{ "name": "advice", "type": "tuple", "internalType": "struct HookrTypes.Advice", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "reject", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
401
+ { "type": "function", "name": "bind", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "pc", "type": "tuple", "internalType": "struct HookrTypes.PoolConfig", "components": [{ "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "liquidityOwner", "type": "address", "internalType": "address" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "rulesGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryPhases", "type": "uint8", "internalType": "uint8" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }, { "name": "policyId", "type": "bytes32", "internalType": "bytes32" }] }, { "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "configHash", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
402
+ { "type": "function", "name": "bindPair", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "capPips", "type": "uint24", "internalType": "uint24" }, { "name": "gasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes4", "internalType": "bytes4" }], "stateMutability": "nonpayable" },
403
+ { "type": "function", "name": "calendar", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
404
+ { "type": "function", "name": "cancel", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
405
+ { "type": "function", "name": "cancelNomination", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
406
+ { "type": "function", "name": "configSchemaHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "pure" },
407
+ { "type": "function", "name": "delay", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
408
+ { "type": "function", "name": "epoch", "inputs": [{ "name": "key", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
409
+ { "type": "function", "name": "expiresAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
410
+ { "type": "function", "name": "isKeeper", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
411
+ { "type": "function", "name": "operationHash", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
412
+ { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
413
+ { "type": "function", "name": "pairRoot", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "root", "type": "address", "internalType": "address" }], "stateMutability": "view" },
414
+ { "type": "function", "name": "pendingOwner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
415
+ { "type": "function", "name": "poolBounds", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrFeeAdvisory.Bounds", "components": [{ "name": "cap", "type": "uint24", "internalType": "uint24" }, { "name": "maxStep", "type": "uint24", "internalType": "uint24" }, { "name": "minInterval", "type": "uint32", "internalType": "uint32" }, { "name": "maxTtl", "type": "uint32", "internalType": "uint32" }, { "name": "buyZeroForOne", "type": "bool", "internalType": "bool" }, { "name": "bound", "type": "bool", "internalType": "bool" }, { "name": "pair", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
416
+ { "type": "function", "name": "poolState", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrFeeAdvisory.State", "components": [{ "name": "target0", "type": "uint24", "internalType": "uint24" }, { "name": "target1", "type": "uint24", "internalType": "uint24" }, { "name": "expiry", "type": "uint40", "internalType": "uint40" }, { "name": "default0", "type": "uint24", "internalType": "uint24" }, { "name": "default1", "type": "uint24", "internalType": "uint24" }, { "name": "guardCeiling", "type": "uint24", "internalType": "uint24" }, { "name": "guardEnd", "type": "uint40", "internalType": "uint40" }, { "name": "updatedAt", "type": "uint40", "internalType": "uint40" }, { "name": "bound", "type": "bool", "internalType": "bool" }, { "name": "tiered", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
417
+ { "type": "function", "name": "queue", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
418
+ { "type": "function", "name": "readyAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
419
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "view" },
420
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
421
+ { "type": "function", "name": "removeKeeper", "inputs": [{ "name": "keeper", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
422
+ { "type": "function", "name": "reprice", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "target", "type": "uint24", "internalType": "uint24" }, { "name": "premium0", "type": "uint24", "internalType": "uint24" }, { "name": "premium1", "type": "uint24", "internalType": "uint24" }, { "name": "ttl", "type": "uint32", "internalType": "uint32" }], "outputs": [], "stateMutability": "nonpayable" },
423
+ { "type": "function", "name": "resign", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
424
+ { "type": "function", "name": "sessionTiers", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrFeeAdvisory.Session", "components": [{ "name": "regularPips", "type": "uint24", "internalType": "uint24" }, { "name": "preMarketPips", "type": "uint24", "internalType": "uint24" }, { "name": "afterHoursPips", "type": "uint24", "internalType": "uint24" }, { "name": "overnightPips", "type": "uint24", "internalType": "uint24" }, { "name": "closedPips", "type": "uint24", "internalType": "uint24" }, { "name": "openRampSeconds", "type": "uint16", "internalType": "uint16" }, { "name": "closeRampSeconds", "type": "uint16", "internalType": "uint16" }, { "name": "flags", "type": "uint8", "internalType": "uint8" }, { "name": "cap", "type": "uint24", "internalType": "uint24" }] }], "stateMutability": "view" },
425
+ { "type": "function", "name": "surcharge", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }], "outputs": [{ "name": "", "type": "uint24", "internalType": "uint24" }], "stateMutability": "view" },
426
+ { "type": "function", "name": "surchargeForSwap", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "", "type": "int256", "internalType": "int256" }, { "name": "", "type": "uint160", "internalType": "uint160" }, { "name": "", "type": "bytes", "internalType": "bytes" }, { "name": "", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint24", "internalType": "uint24" }], "stateMutability": "view" },
427
+ { "type": "function", "name": "transferOwnership", "inputs": [{ "name": "next", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
428
+ { "type": "event", "name": "KeeperAdded", "inputs": [{ "name": "keeper", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
429
+ { "type": "event", "name": "KeeperRemoved", "inputs": [{ "name": "keeper", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
430
+ { "type": "event", "name": "OperationCancelled", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
431
+ { "type": "event", "name": "OperationExecuted", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
432
+ { "type": "event", "name": "OperationQueued", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "kind", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "readyAt", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "expiresAt", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
433
+ { "type": "event", "name": "OwnershipNominationCancelled", "inputs": [{ "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
434
+ { "type": "event", "name": "OwnershipTransferStarted", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
435
+ { "type": "event", "name": "OwnershipTransferred", "inputs": [{ "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
436
+ { "type": "event", "name": "PairBound", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "configHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "config", "type": "bytes", "indexed": false, "internalType": "bytes" }], "anonymous": false },
437
+ { "type": "event", "name": "PoolBound", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "configHash", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "config", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "guardCeiling", "type": "uint24", "indexed": false, "internalType": "uint24" }, { "name": "guardEnd", "type": "uint40", "indexed": false, "internalType": "uint40" }], "anonymous": false },
438
+ { "type": "event", "name": "Repriced", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "keeper", "type": "address", "indexed": true, "internalType": "address" }, { "name": "target", "type": "uint24", "indexed": false, "internalType": "uint24" }, { "name": "premium0", "type": "uint24", "indexed": false, "internalType": "uint24" }, { "name": "premium1", "type": "uint24", "indexed": false, "internalType": "uint24" }, { "name": "expiry", "type": "uint40", "indexed": false, "internalType": "uint40" }], "anonymous": false },
439
+ { "type": "error", "name": "AboveCap", "inputs": [{ "name": "surcharge", "type": "uint256", "internalType": "uint256" }, { "name": "cap", "type": "uint256", "internalType": "uint256" }] },
440
+ { "type": "error", "name": "AlreadyBound", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
441
+ { "type": "error", "name": "AlreadyQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
442
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
443
+ { "type": "error", "name": "Expired", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "expiredAt", "type": "uint48", "internalType": "uint48" }] },
444
+ { "type": "error", "name": "InvalidAddress", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
445
+ { "type": "error", "name": "InvalidCalendar", "inputs": [{ "name": "calendar", "type": "address", "internalType": "address" }] },
446
+ { "type": "error", "name": "InvalidConfig", "inputs": [] },
447
+ { "type": "error", "name": "InvalidDelay", "inputs": [{ "name": "delay", "type": "uint48", "internalType": "uint48" }] },
448
+ { "type": "error", "name": "InvalidKeeper", "inputs": [{ "name": "keeper", "type": "address", "internalType": "address" }] },
449
+ { "type": "error", "name": "InvalidRegistry", "inputs": [{ "name": "registry", "type": "address", "internalType": "address" }] },
450
+ { "type": "error", "name": "InvalidTiers", "inputs": [{ "name": "code", "type": "uint256", "internalType": "uint256" }] },
451
+ { "type": "error", "name": "InvalidTtl", "inputs": [{ "name": "ttl", "type": "uint256", "internalType": "uint256" }] },
452
+ { "type": "error", "name": "NonCanonicalArguments", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
453
+ { "type": "error", "name": "NotAContract", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
454
+ { "type": "error", "name": "NotKeeper", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
455
+ { "type": "error", "name": "NotQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
456
+ { "type": "error", "name": "NotReady", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "readyAt", "type": "uint48", "internalType": "uint48" }] },
457
+ { "type": "error", "name": "NotRoot", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
458
+ { "type": "error", "name": "StepTooLarge", "inputs": [{ "name": "from", "type": "uint256", "internalType": "uint256" }, { "name": "to", "type": "uint256", "internalType": "uint256" }, { "name": "maxStep", "type": "uint256", "internalType": "uint256" }] },
459
+ { "type": "error", "name": "TooSoon", "inputs": [{ "name": "readyAt", "type": "uint256", "internalType": "uint256" }] },
460
+ { "type": "error", "name": "Unauthorized", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
461
+ { "type": "error", "name": "UnknownOperation", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
462
+ { "type": "error", "name": "UnknownPool", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
463
+ { "type": "error", "name": "UnsupportedRules", "inputs": [{ "name": "rules", "type": "address", "internalType": "address" }] },
464
+ ],
465
+ HookrSessionAdvisory: [
466
+ { "type": "constructor", "inputs": [{ "name": "owner_", "type": "address", "internalType": "address" }, { "name": "delay_", "type": "uint48", "internalType": "uint48" }], "stateMutability": "nonpayable" },
467
+ { "type": "function", "name": "APPEND_YEAR", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
468
+ { "type": "function", "name": "GRACE", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
469
+ { "type": "function", "name": "MARK_CLOSED", "inputs": [], "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }], "stateMutability": "view" },
470
+ { "type": "function", "name": "MARK_EARLY_CLOSE", "inputs": [], "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }], "stateMutability": "view" },
471
+ { "type": "function", "name": "MARK_NONE", "inputs": [], "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }], "stateMutability": "view" },
472
+ { "type": "function", "name": "MARK_SESSION_DAY", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
473
+ { "type": "function", "name": "MAX_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
474
+ { "type": "function", "name": "MAX_RAMP_SECONDS", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
475
+ { "type": "function", "name": "MIN_ADVISORY_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
476
+ { "type": "function", "name": "MIN_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
477
+ { "type": "function", "name": "MIN_PAIR_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }], "stateMutability": "view" },
478
+ { "type": "function", "name": "TRANSFER_OWNER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
479
+ { "type": "function", "name": "UNCOVERED_AS_CLOSED", "inputs": [], "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }], "stateMutability": "view" },
480
+ { "type": "function", "name": "acceptOwnership", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
481
+ { "type": "function", "name": "afterSwap", "inputs": [{ "name": "", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }, { "name": "", "type": "int128", "internalType": "int128" }, { "name": "", "type": "int128", "internalType": "int128" }], "outputs": [{ "name": "advice", "type": "tuple", "internalType": "struct HookrTypes.Advice", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "reject", "type": "bool", "internalType": "bool" }] }], "stateMutability": "pure" },
482
+ { "type": "function", "name": "appendYear", "inputs": [{ "name": "year", "type": "uint16", "internalType": "uint16" }, { "name": "closed", "type": "uint16[]", "internalType": "uint16[]" }, { "name": "early", "type": "uint16[]", "internalType": "uint16[]" }], "outputs": [], "stateMutability": "nonpayable" },
483
+ { "type": "function", "name": "beforeAddLiquidity", "inputs": [{ "name": "", "type": "bytes32", "internalType": "PoolId" }, { "name": "", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "pure" },
484
+ { "type": "function", "name": "beforeSwap", "inputs": [{ "name": "x", "type": "tuple", "internalType": "struct HookrTypes.SwapContext", "components": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "authenticated", "type": "bool", "internalType": "bool" }, { "name": "isBuy", "type": "bool", "internalType": "bool" }, { "name": "exactInput", "type": "bool", "internalType": "bool" }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160", "internalType": "uint160" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }] }], "outputs": [{ "name": "advice", "type": "tuple", "internalType": "struct HookrTypes.Advice", "components": [{ "name": "lpFeeSurchargePips", "type": "uint24", "internalType": "uint24" }, { "name": "quoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "reject", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
485
+ { "type": "function", "name": "bind", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "pc", "type": "tuple", "internalType": "struct HookrTypes.PoolConfig", "components": [{ "name": "subject", "type": "address", "internalType": "Currency" }, { "name": "quote", "type": "address", "internalType": "Currency" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisory", "type": "address", "internalType": "address" }, { "name": "liquidityOwner", "type": "address", "internalType": "address" }, { "name": "baseLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "rulesGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryGasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "advisoryPhases", "type": "uint8", "internalType": "uint8" }, { "name": "advisoryFailOpen", "type": "bool", "internalType": "bool" }, { "name": "policyId", "type": "bytes32", "internalType": "bytes32" }] }, { "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "configHash", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
486
+ { "type": "function", "name": "bindPair", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "capPips", "type": "uint24", "internalType": "uint24" }, { "name": "gasLimit", "type": "uint32", "internalType": "uint32" }, { "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes4", "internalType": "bytes4" }], "stateMutability": "nonpayable" },
487
+ { "type": "function", "name": "cancel", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
488
+ { "type": "function", "name": "cancelNomination", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
489
+ { "type": "function", "name": "configSchemaHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "pure" },
490
+ { "type": "function", "name": "delay", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
491
+ { "type": "function", "name": "epoch", "inputs": [{ "name": "key", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
492
+ { "type": "function", "name": "expiresAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
493
+ { "type": "function", "name": "lastCoveredYear", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
494
+ { "type": "function", "name": "markSessionDay", "inputs": [{ "name": "year", "type": "uint16", "internalType": "uint16" }, { "name": "monthDay", "type": "uint16", "internalType": "uint16" }, { "name": "mark", "type": "uint8", "internalType": "uint8" }], "outputs": [], "stateMutability": "nonpayable" },
495
+ { "type": "function", "name": "operationHash", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
496
+ { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
497
+ { "type": "function", "name": "pendingOwner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
498
+ { "type": "function", "name": "queue", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
499
+ { "type": "function", "name": "readyAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
500
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
501
+ { "type": "function", "name": "schedule", "inputs": [{ "name": "binder", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrSessionAdvisory.Bound", "components": [{ "name": "regularPips", "type": "uint24", "internalType": "uint24" }, { "name": "preMarketPips", "type": "uint24", "internalType": "uint24" }, { "name": "afterHoursPips", "type": "uint24", "internalType": "uint24" }, { "name": "overnightPips", "type": "uint24", "internalType": "uint24" }, { "name": "closedPips", "type": "uint24", "internalType": "uint24" }, { "name": "openRampSeconds", "type": "uint16", "internalType": "uint16" }, { "name": "closeRampSeconds", "type": "uint16", "internalType": "uint16" }, { "name": "flags", "type": "uint8", "internalType": "uint8" }, { "name": "limit", "type": "uint24", "internalType": "uint24" }, { "name": "guardLimit", "type": "uint24", "internalType": "uint24" }, { "name": "guardEnd", "type": "uint40", "internalType": "uint40" }, { "name": "bound", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
502
+ { "type": "function", "name": "sessionAt", "inputs": [{ "name": "timestamp", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct HookrMarketCalendar.Session", "components": [{ "name": "tier", "type": "uint8", "internalType": "enum HookrMarketCalendar.Tier" }, { "name": "second", "type": "uint256", "internalType": "uint256" }, { "name": "close", "type": "uint256", "internalType": "uint256" }, { "name": "covered", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
503
+ { "type": "function", "name": "sessionDayMark", "inputs": [{ "name": "year", "type": "uint16", "internalType": "uint16" }, { "name": "monthDay", "type": "uint16", "internalType": "uint16" }], "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }], "stateMutability": "view" },
504
+ { "type": "function", "name": "surchargeAt", "inputs": [{ "name": "binder", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "timestamp", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "uint24", "internalType": "uint24" }], "stateMutability": "view" },
505
+ { "type": "function", "name": "surchargeForSwap", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "", "type": "bool", "internalType": "bool" }, { "name": "", "type": "int256", "internalType": "int256" }, { "name": "", "type": "uint160", "internalType": "uint160" }, { "name": "", "type": "bytes", "internalType": "bytes" }, { "name": "", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint24", "internalType": "uint24" }], "stateMutability": "view" },
506
+ { "type": "function", "name": "transferOwnership", "inputs": [{ "name": "next", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
507
+ { "type": "event", "name": "OperationCancelled", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
508
+ { "type": "event", "name": "OperationExecuted", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
509
+ { "type": "event", "name": "OperationQueued", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "kind", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "readyAt", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "expiresAt", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
510
+ { "type": "event", "name": "OwnershipNominationCancelled", "inputs": [{ "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
511
+ { "type": "event", "name": "OwnershipTransferStarted", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
512
+ { "type": "event", "name": "OwnershipTransferred", "inputs": [{ "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
513
+ { "type": "event", "name": "SessionBound", "inputs": [{ "name": "binder", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "schedule", "type": "tuple", "indexed": false, "internalType": "struct IHookrSessionAdvisory.Schedule", "components": [{ "name": "regularPips", "type": "uint24", "internalType": "uint24" }, { "name": "preMarketPips", "type": "uint24", "internalType": "uint24" }, { "name": "afterHoursPips", "type": "uint24", "internalType": "uint24" }, { "name": "overnightPips", "type": "uint24", "internalType": "uint24" }, { "name": "closedPips", "type": "uint24", "internalType": "uint24" }, { "name": "openRampSeconds", "type": "uint16", "internalType": "uint16" }, { "name": "closeRampSeconds", "type": "uint16", "internalType": "uint16" }, { "name": "flags", "type": "uint8", "internalType": "uint8" }] }, { "name": "limit", "type": "uint24", "indexed": false, "internalType": "uint24" }, { "name": "guardLimit", "type": "uint24", "indexed": false, "internalType": "uint24" }], "anonymous": false },
514
+ { "type": "event", "name": "SessionDayMarked", "inputs": [{ "name": "day", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "year", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "monthDay", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "mark", "type": "uint8", "indexed": false, "internalType": "uint8" }], "anonymous": false },
515
+ { "type": "event", "name": "YearAppended", "inputs": [{ "name": "year", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "closed", "type": "uint16[]", "indexed": false, "internalType": "uint16[]" }, { "name": "early", "type": "uint16[]", "indexed": false, "internalType": "uint16[]" }], "anonymous": false },
516
+ { "type": "error", "name": "AlreadyBound", "inputs": [{ "name": "binder", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
517
+ { "type": "error", "name": "AlreadyQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
518
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
519
+ { "type": "error", "name": "Expired", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "expiredAt", "type": "uint48", "internalType": "uint48" }] },
520
+ { "type": "error", "name": "InvalidAddress", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
521
+ { "type": "error", "name": "InvalidDate", "inputs": [{ "name": "monthDay", "type": "uint256", "internalType": "uint256" }] },
522
+ { "type": "error", "name": "InvalidDelay", "inputs": [{ "name": "delay", "type": "uint48", "internalType": "uint48" }] },
523
+ { "type": "error", "name": "InvalidMark", "inputs": [{ "name": "code", "type": "uint256", "internalType": "uint256" }] },
524
+ { "type": "error", "name": "InvalidPoolConfig", "inputs": [{ "name": "code", "type": "uint256", "internalType": "uint256" }] },
525
+ { "type": "error", "name": "InvalidSchedule", "inputs": [{ "name": "code", "type": "uint256", "internalType": "uint256" }] },
526
+ { "type": "error", "name": "InvalidYear", "inputs": [{ "name": "year", "type": "uint256", "internalType": "uint256" }] },
527
+ { "type": "error", "name": "NonCanonicalArguments", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
528
+ { "type": "error", "name": "NotAContract", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
529
+ { "type": "error", "name": "NotQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
530
+ { "type": "error", "name": "NotReady", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "readyAt", "type": "uint48", "internalType": "uint48" }] },
531
+ { "type": "error", "name": "Unauthorized", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
532
+ { "type": "error", "name": "UnknownOperation", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
533
+ { "type": "error", "name": "UnknownPool", "inputs": [{ "name": "binder", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
534
+ ],
535
+ HookrLiquidityVault: [
536
+ { "type": "constructor", "inputs": [{ "name": "manager", "type": "address", "internalType": "contract IPoolManager" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "owner_", "type": "address", "internalType": "address" }, { "name": "delay_", "type": "uint48", "internalType": "uint48" }, { "name": "maxSkim", "type": "uint16", "internalType": "uint16" }], "stateMutability": "nonpayable" },
537
+ { "type": "function", "name": "GRACE", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
538
+ { "type": "function", "name": "MAX_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
539
+ { "type": "function", "name": "MIN_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
540
+ { "type": "function", "name": "SET_SKIM", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
541
+ { "type": "function", "name": "SKIM_CEILING_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
542
+ { "type": "function", "name": "TRANSFER_OWNER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
543
+ { "type": "function", "name": "acceptOwnership", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
544
+ { "type": "function", "name": "account", "inputs": [{ "name": "id", "type": "uint256", "internalType": "uint256" }, { "name": "holder", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrLiquidityVault.Account", "components": [{ "name": "feesPerShare0X128", "type": "uint256", "internalType": "uint256" }, { "name": "feesPerShare1X128", "type": "uint256", "internalType": "uint256" }, { "name": "owed0", "type": "uint256", "internalType": "uint256" }, { "name": "owed1", "type": "uint256", "internalType": "uint256" }] }], "stateMutability": "view" },
545
+ { "type": "function", "name": "allowance", "inputs": [{ "name": "owner", "type": "address", "internalType": "address" }, { "name": "spender", "type": "address", "internalType": "address" }, { "name": "id", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
546
+ { "type": "function", "name": "approve", "inputs": [{ "name": "spender", "type": "address", "internalType": "address" }, { "name": "id", "type": "uint256", "internalType": "uint256" }, { "name": "amount", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "nonpayable" },
547
+ { "type": "function", "name": "balanceOf", "inputs": [{ "name": "owner", "type": "address", "internalType": "address" }, { "name": "id", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "balance", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
548
+ { "type": "function", "name": "cancel", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
549
+ { "type": "function", "name": "cancelNomination", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
550
+ { "type": "function", "name": "claim", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }, { "name": "recipient", "type": "address", "internalType": "address" }], "outputs": [{ "name": "fees0", "type": "uint256", "internalType": "uint256" }, { "name": "fees1", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
551
+ { "type": "function", "name": "claimTo", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "to", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
552
+ { "type": "function", "name": "claimable", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "claimant", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
553
+ { "type": "function", "name": "collectProtocolFees", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
554
+ { "type": "function", "name": "delay", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
555
+ { "type": "function", "name": "deposit", "inputs": [{ "name": "params", "type": "tuple", "internalType": "struct IHookrLiquidityVault.DepositParams", "components": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }, { "name": "amount0Desired", "type": "uint256", "internalType": "uint256" }, { "name": "amount1Desired", "type": "uint256", "internalType": "uint256" }, { "name": "amount0Min", "type": "uint256", "internalType": "uint256" }, { "name": "amount1Min", "type": "uint256", "internalType": "uint256" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "deadline", "type": "uint256", "internalType": "uint256" }] }], "outputs": [{ "name": "id", "type": "uint256", "internalType": "uint256" }, { "name": "liquidity", "type": "uint128", "internalType": "uint128" }, { "name": "amount0", "type": "uint256", "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "internalType": "uint256" }], "stateMutability": "payable" },
556
+ { "type": "function", "name": "epoch", "inputs": [{ "name": "key", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
557
+ { "type": "function", "name": "expiresAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
558
+ { "type": "function", "name": "isOperator", "inputs": [{ "name": "owner", "type": "address", "internalType": "address" }, { "name": "operator", "type": "address", "internalType": "address" }], "outputs": [{ "name": "isOperator", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
559
+ { "type": "function", "name": "maxSkimBps", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
560
+ { "type": "function", "name": "operationHash", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
561
+ { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
562
+ { "type": "function", "name": "pendingFees", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }, { "name": "holder", "type": "address", "internalType": "address" }], "outputs": [{ "name": "fees0", "type": "uint256", "internalType": "uint256" }, { "name": "fees1", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
563
+ { "type": "function", "name": "pendingOwner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
564
+ { "type": "function", "name": "poke", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }], "outputs": [], "stateMutability": "nonpayable" },
565
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
566
+ { "type": "function", "name": "protocolFees", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
567
+ { "type": "function", "name": "protocolRecipient", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
568
+ { "type": "function", "name": "queue", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
569
+ { "type": "function", "name": "range", "inputs": [{ "name": "id", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrLiquidityVault.Range", "components": [{ "name": "poolId", "type": "bytes32", "internalType": "PoolId" }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }, { "name": "feesPerShare0X128", "type": "uint256", "internalType": "uint256" }, { "name": "feesPerShare1X128", "type": "uint256", "internalType": "uint256" }] }], "stateMutability": "view" },
570
+ { "type": "function", "name": "rangeId", "inputs": [{ "name": "poolId", "type": "bytes32", "internalType": "PoolId" }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
571
+ { "type": "function", "name": "readyAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
572
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
573
+ { "type": "function", "name": "setOperator", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }, { "name": "approved", "type": "bool", "internalType": "bool" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "nonpayable" },
574
+ { "type": "function", "name": "setSkim", "inputs": [{ "name": "bps", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
575
+ { "type": "function", "name": "skimBps", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
576
+ { "type": "function", "name": "supportsInterface", "inputs": [{ "name": "interfaceId", "type": "bytes4", "internalType": "bytes4" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
577
+ { "type": "function", "name": "totalSupply", "inputs": [{ "name": "id", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
578
+ { "type": "function", "name": "transfer", "inputs": [{ "name": "receiver", "type": "address", "internalType": "address" }, { "name": "id", "type": "uint256", "internalType": "uint256" }, { "name": "amount", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "nonpayable" },
579
+ { "type": "function", "name": "transferFrom", "inputs": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "receiver", "type": "address", "internalType": "address" }, { "name": "id", "type": "uint256", "internalType": "uint256" }, { "name": "amount", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "nonpayable" },
580
+ { "type": "function", "name": "transferOwnership", "inputs": [{ "name": "next", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
581
+ { "type": "function", "name": "unlockCallback", "inputs": [{ "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes", "internalType": "bytes" }], "stateMutability": "nonpayable" },
582
+ { "type": "function", "name": "withdraw", "inputs": [{ "name": "params", "type": "tuple", "internalType": "struct IHookrLiquidityVault.WithdrawParams", "components": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }, { "name": "liquidity", "type": "uint128", "internalType": "uint128" }, { "name": "amount0Min", "type": "uint256", "internalType": "uint256" }, { "name": "amount1Min", "type": "uint256", "internalType": "uint256" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "deadline", "type": "uint256", "internalType": "uint256" }] }], "outputs": [{ "name": "amount0", "type": "uint256", "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "internalType": "uint256" }, { "name": "fees0", "type": "uint256", "internalType": "uint256" }, { "name": "fees1", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
583
+ { "type": "event", "name": "Approval", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "spender", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
584
+ { "type": "event", "name": "Deposit", "inputs": [{ "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "payer", "type": "address", "indexed": true, "internalType": "address" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }, { "name": "liquidity", "type": "uint128", "indexed": false, "internalType": "uint128" }, { "name": "amount0", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
585
+ { "type": "event", "name": "FeesClaimed", "inputs": [{ "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }, { "name": "fees0", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "fees1", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
586
+ { "type": "event", "name": "FeesRealized", "inputs": [{ "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "fees0", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "fees1", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "skim0", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "skim1", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
587
+ { "type": "event", "name": "OperationCancelled", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
588
+ { "type": "event", "name": "OperationExecuted", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
589
+ { "type": "event", "name": "OperationQueued", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "kind", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "readyAt", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "expiresAt", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
590
+ { "type": "event", "name": "OperatorSet", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "approved", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
591
+ { "type": "event", "name": "OwnershipNominationCancelled", "inputs": [{ "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
592
+ { "type": "event", "name": "OwnershipTransferStarted", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
593
+ { "type": "event", "name": "OwnershipTransferred", "inputs": [{ "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
594
+ { "type": "event", "name": "ProtocolFeesPaid", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
595
+ { "type": "event", "name": "RangeOpened", "inputs": [{ "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "poolId", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "tickLower", "type": "int24", "indexed": false, "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "indexed": false, "internalType": "int24" }], "anonymous": false },
596
+ { "type": "event", "name": "SkimSet", "inputs": [{ "name": "bps", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
597
+ { "type": "event", "name": "Transfer", "inputs": [{ "name": "caller", "type": "address", "indexed": false, "internalType": "address" }, { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
598
+ { "type": "event", "name": "Withdraw", "inputs": [{ "name": "id", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }, { "name": "liquidity", "type": "uint128", "indexed": false, "internalType": "uint128" }, { "name": "amount0", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
599
+ { "type": "error", "name": "AlreadyQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
600
+ { "type": "error", "name": "DeadlinePassed", "inputs": [{ "name": "deadline", "type": "uint256", "internalType": "uint256" }] },
601
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
602
+ { "type": "error", "name": "Expired", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "expiredAt", "type": "uint48", "internalType": "uint48" }] },
603
+ { "type": "error", "name": "InsufficientShares", "inputs": [{ "name": "balance", "type": "uint256", "internalType": "uint256" }, { "name": "required", "type": "uint256", "internalType": "uint256" }] },
604
+ { "type": "error", "name": "InvalidAddress", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
605
+ { "type": "error", "name": "InvalidDelay", "inputs": [{ "name": "delay", "type": "uint48", "internalType": "uint48" }] },
606
+ { "type": "error", "name": "InvalidLiquidity", "inputs": [] },
607
+ { "type": "error", "name": "InvalidRange", "inputs": [] },
608
+ { "type": "error", "name": "InvalidSkim", "inputs": [{ "name": "bps", "type": "uint16", "internalType": "uint16" }] },
609
+ { "type": "error", "name": "InvalidValue", "inputs": [] },
610
+ { "type": "error", "name": "NonCanonicalArguments", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
611
+ { "type": "error", "name": "NotAContract", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
612
+ { "type": "error", "name": "NotQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
613
+ { "type": "error", "name": "NotReady", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "readyAt", "type": "uint48", "internalType": "uint48" }] },
614
+ { "type": "error", "name": "Reentrancy", "inputs": [] },
615
+ { "type": "error", "name": "RefundFailed", "inputs": [] },
616
+ { "type": "error", "name": "Slippage", "inputs": [{ "name": "amount0", "type": "uint256", "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "internalType": "uint256" }] },
617
+ { "type": "error", "name": "TransferFailed", "inputs": [] },
618
+ { "type": "error", "name": "Unauthorized", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
619
+ { "type": "error", "name": "UnexpectedDelta", "inputs": [{ "name": "amount0", "type": "int256", "internalType": "int256" }, { "name": "amount1", "type": "int256", "internalType": "int256" }] },
620
+ { "type": "error", "name": "UnknownOperation", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
621
+ ],
622
+ HookrFamilyLock: [
623
+ { "type": "constructor", "inputs": [{ "name": "launcher_", "type": "address", "internalType": "contract HookrLauncher" }], "stateMutability": "nonpayable" },
624
+ { "type": "function", "name": "claimRecapture", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "member", "type": "uint8", "internalType": "uint8" }], "outputs": [{ "name": "moved", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
625
+ { "type": "function", "name": "collect", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "member", "type": "uint8", "internalType": "uint8" }, { "name": "claims", "type": "uint8", "internalType": "uint8" }], "outputs": [{ "name": "amount0", "type": "uint256", "internalType": "uint256" }, { "name": "amount1", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
626
+ { "type": "function", "name": "launcher", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
627
+ { "type": "function", "name": "lock", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "unlockBlock", "type": "uint64", "internalType": "uint64" }], "outputs": [], "stateMutability": "nonpayable" },
628
+ { "type": "function", "name": "lockOf", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "beneficiary", "type": "address", "internalType": "address" }, { "name": "unlockBlock", "type": "uint64", "internalType": "uint64" }], "stateMutability": "view" },
629
+ { "type": "function", "name": "release", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "newOwner", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" },
630
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
631
+ { "type": "event", "name": "FamilyLocked", "inputs": [{ "name": "familyId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "locker", "type": "address", "indexed": true, "internalType": "address" }, { "name": "beneficiary", "type": "address", "indexed": true, "internalType": "address" }, { "name": "unlockBlock", "type": "uint64", "indexed": false, "internalType": "uint64" }], "anonymous": false },
632
+ { "type": "event", "name": "FamilyReleased", "inputs": [{ "name": "familyId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "beneficiary", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "release", "type": "address", "indexed": false, "internalType": "address" }], "anonymous": false },
633
+ { "type": "error", "name": "InvalidBeneficiary", "inputs": [{ "name": "beneficiary", "type": "address", "internalType": "address" }] },
634
+ { "type": "error", "name": "InvalidNewOwner", "inputs": [{ "name": "newOwner", "type": "address", "internalType": "address" }] },
635
+ { "type": "error", "name": "InvalidUnlockBlock", "inputs": [{ "name": "unlockBlock", "type": "uint256", "internalType": "uint256" }] },
636
+ { "type": "error", "name": "NotBeneficiary", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "caller", "type": "address", "internalType": "address" }] },
637
+ { "type": "error", "name": "NotLockable", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "caller", "type": "address", "internalType": "address" }] },
638
+ { "type": "error", "name": "Reentered", "inputs": [] },
639
+ { "type": "error", "name": "StillLocked", "inputs": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "unlockBlock", "type": "uint256", "internalType": "uint256" }] },
640
+ ],
641
+ HookrFamilyRelease: [
642
+ { "type": "constructor", "inputs": [{ "name": "launcher_", "type": "address", "internalType": "contract HookrLauncher" }, { "name": "familyId_", "type": "bytes32", "internalType": "bytes32" }, { "name": "beneficiary_", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" },
643
+ { "type": "function", "name": "accept", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
644
+ { "type": "function", "name": "beneficiary", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
645
+ { "type": "function", "name": "familyId", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
646
+ { "type": "function", "name": "lock", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
647
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
648
+ { "type": "function", "name": "sweep", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
649
+ { "type": "function", "name": "transferTo", "inputs": [{ "name": "newOwner", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
650
+ { "type": "error", "name": "InvalidNewOwner", "inputs": [{ "name": "newOwner", "type": "address", "internalType": "address" }] },
651
+ { "type": "error", "name": "NotAllowed", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
652
+ ],
653
+ HookrFamilyRouter: [
654
+ { "type": "constructor", "inputs": [{ "name": "router_", "type": "address", "internalType": "contract IHookrRouter" }, { "name": "launcher_", "type": "address", "internalType": "contract IHookrLauncherView" }, { "name": "permit2_", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" },
655
+ { "type": "receive", "stateMutability": "payable" },
656
+ { "type": "function", "name": "beforeUnlock", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }, { "name": "payer", "type": "address", "internalType": "address" }, { "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "zeroForOne", "type": "bool", "internalType": "bool" }, { "name": "amountSpecified", "type": "int256", "internalType": "int256" }, { "name": "", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes4", "internalType": "bytes4" }], "stateMutability": "nonpayable" },
657
+ { "type": "function", "name": "launcher", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrLauncherView" }], "stateMutability": "view" },
658
+ { "type": "function", "name": "permit2", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
659
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
660
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
661
+ { "type": "function", "name": "router", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRouter" }], "stateMutability": "view" },
662
+ { "type": "function", "name": "sweep", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }, { "name": "to", "type": "address", "internalType": "address" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
663
+ { "type": "function", "name": "trade", "inputs": [{ "name": "request", "type": "tuple", "internalType": "struct IHookrFamilyRouter.FamilyTrade", "components": [{ "name": "familyId", "type": "bytes32", "internalType": "bytes32" }, { "name": "input", "type": "address", "internalType": "Currency" }, { "name": "output", "type": "address", "internalType": "Currency" }, { "name": "legs", "type": "tuple[]", "internalType": "struct IHookrFamilyRouter.Leg[]", "components": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "conversion", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "amountIn", "type": "uint128", "internalType": "uint128" }, { "name": "minOut", "type": "uint128", "internalType": "uint128" }, { "name": "campaigns", "type": "uint256[]", "internalType": "uint256[]" }] }, { "name": "minTotalOut", "type": "uint256", "internalType": "uint256" }, { "name": "recipient", "type": "address", "internalType": "address" }, { "name": "deadline", "type": "uint256", "internalType": "uint256" }, { "name": "engagement", "type": "address", "internalType": "address" }] }, { "name": "permit", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "amountIn", "type": "uint256", "internalType": "uint256" }, { "name": "amountOut", "type": "uint256", "internalType": "uint256" }], "stateMutability": "payable" },
664
+ { "type": "function", "name": "unlockCallback", "inputs": [{ "name": "data", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes", "internalType": "bytes" }], "stateMutability": "nonpayable" },
665
+ { "type": "event", "name": "FamilyLeg", "inputs": [{ "name": "familyId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "member", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "conversion", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "amountIn", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "amountOut", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
666
+ { "type": "event", "name": "FamilyTraded", "inputs": [{ "name": "familyId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "trader", "type": "address", "indexed": true, "internalType": "address" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }, { "name": "input", "type": "address", "indexed": false, "internalType": "Currency" }, { "name": "output", "type": "address", "indexed": false, "internalType": "Currency" }, { "name": "amountIn", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "amountOut", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
667
+ { "type": "event", "name": "Swept", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "Currency" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
668
+ { "type": "error", "name": "AddressEmptyCode", "inputs": [{ "name": "target", "type": "address", "internalType": "address" }] },
669
+ { "type": "error", "name": "AddressInsufficientBalance", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
670
+ { "type": "error", "name": "BalanceChanged", "inputs": [{ "name": "currency", "type": "address", "internalType": "Currency" }] },
671
+ { "type": "error", "name": "BalanceMismatch", "inputs": [] },
672
+ { "type": "error", "name": "DuplicatePool", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
673
+ { "type": "error", "name": "FailedInnerCall", "inputs": [] },
674
+ { "type": "error", "name": "InputNotReceived", "inputs": [{ "name": "received", "type": "uint256", "internalType": "uint256" }, { "name": "expected", "type": "uint256", "internalType": "uint256" }] },
675
+ { "type": "error", "name": "InvalidCallback", "inputs": [] },
676
+ { "type": "error", "name": "InvalidConversion", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
677
+ { "type": "error", "name": "InvalidPermit", "inputs": [] },
678
+ { "type": "error", "name": "InvalidTrade", "inputs": [] },
679
+ { "type": "error", "name": "LegBelowMinimum", "inputs": [{ "name": "leg", "type": "uint256", "internalType": "uint256" }, { "name": "amountOut", "type": "uint256", "internalType": "uint256" }, { "name": "minOut", "type": "uint256", "internalType": "uint256" }] },
680
+ { "type": "error", "name": "LegPartiallyFilled", "inputs": [{ "name": "leg", "type": "uint256", "internalType": "uint256" }, { "name": "used", "type": "uint256", "internalType": "uint256" }, { "name": "requested", "type": "uint256", "internalType": "uint256" }] },
681
+ { "type": "error", "name": "MixedCurrencies", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
682
+ { "type": "error", "name": "NativeTransferFailed", "inputs": [] },
683
+ { "type": "error", "name": "NotFamilyMember", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
684
+ { "type": "error", "name": "Reentered", "inputs": [] },
685
+ { "type": "error", "name": "SafeERC20FailedOperation", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }] },
686
+ { "type": "error", "name": "TotalBelowMinimum", "inputs": [{ "name": "amountOut", "type": "uint256", "internalType": "uint256" }, { "name": "minTotalOut", "type": "uint256", "internalType": "uint256" }] },
687
+ ],
688
+ HookrLpBoost: [
689
+ { "type": "constructor", "inputs": [{ "name": "registry_", "type": "address", "internalType": "contract IHookrRegistry" }, { "name": "launcher_", "type": "address", "internalType": "contract IHookrLauncherView" }, { "name": "positionManager_", "type": "address", "internalType": "contract IPositionManagerMinimal" }, { "name": "owner_", "type": "address", "internalType": "address" }, { "name": "delay_", "type": "uint48", "internalType": "uint48" }], "stateMutability": "nonpayable" },
690
+ { "type": "function", "name": "ACTIVATE", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
691
+ { "type": "function", "name": "ADD_REWARD_TOKEN", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
692
+ { "type": "function", "name": "CREATE_GAUGE", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
693
+ { "type": "function", "name": "GRACE", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
694
+ { "type": "function", "name": "MAX_BOOST_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
695
+ { "type": "function", "name": "MAX_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
696
+ { "type": "function", "name": "MAX_LOCK_WEEKS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
697
+ { "type": "function", "name": "MAX_PERIOD_WEEKS", "inputs": [], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
698
+ { "type": "function", "name": "MIN_DELAY", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
699
+ { "type": "function", "name": "MIN_LIQUIDITY", "inputs": [], "outputs": [{ "name": "", "type": "uint128", "internalType": "uint128" }], "stateMutability": "view" },
700
+ { "type": "function", "name": "NATIVE_SUPPLY_BOUND", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
701
+ { "type": "function", "name": "SET_SUPPLY_BOUND", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
702
+ { "type": "function", "name": "TRANSFER_OWNER", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
703
+ { "type": "function", "name": "UNPAUSE", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
704
+ { "type": "function", "name": "UNPAUSE_ALL", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
705
+ { "type": "function", "name": "WEEK", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
706
+ { "type": "function", "name": "acceptOwnership", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
707
+ { "type": "function", "name": "activate", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
708
+ { "type": "function", "name": "active", "inputs": [], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
709
+ { "type": "function", "name": "addRewardToken", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
710
+ { "type": "function", "name": "boostFor", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "lockWeeks", "type": "uint16", "internalType": "uint16" }], "outputs": [{ "name": "", "type": "uint16", "internalType": "uint16" }], "stateMutability": "view" },
711
+ { "type": "function", "name": "cancel", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" },
712
+ { "type": "function", "name": "cancelNomination", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
713
+ { "type": "function", "name": "claim", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "tokenIds", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "recipient", "type": "address", "internalType": "address" }], "outputs": [{ "name": "amount", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
714
+ { "type": "function", "name": "collectFees", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "recipient", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
715
+ { "type": "function", "name": "createGauge", "inputs": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "terms", "type": "tuple", "internalType": "struct IHookrLpBoost.Terms", "components": [{ "name": "rewardToken", "type": "address", "internalType": "address" }, { "name": "minLockWeeks", "type": "uint16", "internalType": "uint16" }, { "name": "maxLockWeeks", "type": "uint16", "internalType": "uint16" }, { "name": "maxBoostBps", "type": "uint16", "internalType": "uint16" }, { "name": "minLiquidity", "type": "uint128", "internalType": "uint128" }] }], "outputs": [], "stateMutability": "nonpayable" },
716
+ { "type": "function", "name": "delay", "inputs": [], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
717
+ { "type": "function", "name": "endingRate", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "week", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
718
+ { "type": "function", "name": "epoch", "inputs": [{ "name": "key", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
719
+ { "type": "function", "name": "expiresAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
720
+ { "type": "function", "name": "extend", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "lockWeeks", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
721
+ { "type": "function", "name": "fund", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "amount", "type": "uint256", "internalType": "uint256" }, { "name": "durationWeeks", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
722
+ { "type": "function", "name": "gauge", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrLpBoost.Gauge", "components": [{ "name": "key", "type": "tuple", "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "creator", "type": "address", "internalType": "address" }, { "name": "terms", "type": "tuple", "internalType": "struct IHookrLpBoost.Terms", "components": [{ "name": "rewardToken", "type": "address", "internalType": "address" }, { "name": "minLockWeeks", "type": "uint16", "internalType": "uint16" }, { "name": "maxLockWeeks", "type": "uint16", "internalType": "uint16" }, { "name": "maxBoostBps", "type": "uint16", "internalType": "uint16" }, { "name": "minLiquidity", "type": "uint128", "internalType": "uint128" }] }, { "name": "paused", "type": "bool", "internalType": "bool" }, { "name": "lastUpdate", "type": "uint48", "internalType": "uint48" }, { "name": "periodFinish", "type": "uint48", "internalType": "uint48" }, { "name": "lastDropWeek", "type": "uint48", "internalType": "uint48" }, { "name": "scheduled", "type": "uint128", "internalType": "uint128" }, { "name": "unassigned", "type": "uint128", "internalType": "uint128" }, { "name": "funded", "type": "uint128", "internalType": "uint128" }, { "name": "paid", "type": "uint128", "internalType": "uint128" }, { "name": "rewardRateX128", "type": "uint256", "internalType": "uint256" }, { "name": "emissionLeftX128", "type": "uint256", "internalType": "uint256" }, { "name": "totalWeight", "type": "uint256", "internalType": "uint256" }, { "name": "rewardPerWeightX128", "type": "uint256", "internalType": "uint256" }] }], "stateMutability": "view" },
723
+ { "type": "function", "name": "hookrTokenCodeHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
724
+ { "type": "function", "name": "launcher", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrLauncherView" }], "stateMutability": "view" },
725
+ { "type": "function", "name": "notify", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "amount", "type": "uint256", "internalType": "uint256" }, { "name": "durationWeeks", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
726
+ { "type": "function", "name": "operationHash", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
727
+ { "type": "function", "name": "owed", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "account", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
728
+ { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
729
+ { "type": "function", "name": "pause", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [], "stateMutability": "nonpayable" },
730
+ { "type": "function", "name": "pauseAll", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
731
+ { "type": "function", "name": "pausedAll", "inputs": [], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
732
+ { "type": "function", "name": "pendingOwner", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
733
+ { "type": "function", "name": "pendingRewards", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
734
+ { "type": "function", "name": "poke", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [], "stateMutability": "nonpayable" },
735
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
736
+ { "type": "function", "name": "positionManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPositionManagerMinimal" }], "stateMutability": "view" },
737
+ { "type": "function", "name": "positionManagerCodeHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
738
+ { "type": "function", "name": "queue", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "internalType": "bytes" }], "outputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
739
+ { "type": "function", "name": "readyAt", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view" },
740
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "view" },
741
+ { "type": "function", "name": "releaseId", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "pure" },
742
+ { "type": "function", "name": "removeRewardToken", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
743
+ { "type": "function", "name": "removeSupplyBound", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
744
+ { "type": "function", "name": "rewardTokenListed", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
745
+ { "type": "function", "name": "setSupplyBound", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }, { "name": "bound", "type": "uint256", "internalType": "uint256" }], "outputs": [], "stateMutability": "nonpayable" },
746
+ { "type": "function", "name": "stake", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "lockWeeks", "type": "uint16", "internalType": "uint16" }], "outputs": [], "stateMutability": "nonpayable" },
747
+ { "type": "function", "name": "stakeOf", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrLpBoost.Stake", "components": [{ "name": "owner", "type": "address", "internalType": "address" }, { "name": "maturity", "type": "uint48", "internalType": "uint48" }, { "name": "boostBps", "type": "uint16", "internalType": "uint16" }, { "name": "liquidity", "type": "uint128", "internalType": "uint128" }, { "name": "poolId", "type": "bytes32", "internalType": "PoolId" }, { "name": "rewardPerWeightLastX128", "type": "uint256", "internalType": "uint256" }] }], "stateMutability": "view" },
748
+ { "type": "function", "name": "supplyBound", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
749
+ { "type": "function", "name": "transferOwnership", "inputs": [{ "name": "next", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
750
+ { "type": "function", "name": "unpause", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [], "stateMutability": "nonpayable" },
751
+ { "type": "function", "name": "unpauseAll", "inputs": [], "outputs": [], "stateMutability": "nonpayable" },
752
+ { "type": "function", "name": "weekState", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }, { "name": "week", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "drop", "type": "uint256", "internalType": "uint256" }, { "name": "rewardPerWeightX128", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
753
+ { "type": "function", "name": "withdraw", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "recipient", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
754
+ { "type": "event", "name": "Activated", "inputs": [], "anonymous": false },
755
+ { "type": "event", "name": "AllPauseSet", "inputs": [{ "name": "paused", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
756
+ { "type": "event", "name": "Claimed", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
757
+ { "type": "event", "name": "Extended", "inputs": [{ "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "lockWeeks", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "maturity", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "boostBps", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
758
+ { "type": "event", "name": "FeesCollected", "inputs": [{ "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
759
+ { "type": "event", "name": "Funded", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "funder", "type": "address", "indexed": true, "internalType": "address" }, { "name": "received", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "finish", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
760
+ { "type": "event", "name": "GaugeCreated", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "creator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "rewardToken", "type": "address", "indexed": true, "internalType": "address" }, { "name": "key", "type": "tuple", "indexed": false, "internalType": "struct PoolKey", "components": [{ "name": "currency0", "type": "address", "internalType": "Currency" }, { "name": "currency1", "type": "address", "internalType": "Currency" }, { "name": "fee", "type": "uint24", "internalType": "uint24" }, { "name": "tickSpacing", "type": "int24", "internalType": "int24" }, { "name": "hooks", "type": "address", "internalType": "contract IHooks" }] }, { "name": "terms", "type": "tuple", "indexed": false, "internalType": "struct IHookrLpBoost.Terms", "components": [{ "name": "rewardToken", "type": "address", "internalType": "address" }, { "name": "minLockWeeks", "type": "uint16", "internalType": "uint16" }, { "name": "maxLockWeeks", "type": "uint16", "internalType": "uint16" }, { "name": "maxBoostBps", "type": "uint16", "internalType": "uint16" }, { "name": "minLiquidity", "type": "uint128", "internalType": "uint128" }] }], "anonymous": false },
761
+ { "type": "event", "name": "GaugePauseSet", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "paused", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
762
+ { "type": "event", "name": "Notified", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }, { "name": "received", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "finish", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
763
+ { "type": "event", "name": "OperationCancelled", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
764
+ { "type": "event", "name": "OperationExecuted", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }], "anonymous": false },
765
+ { "type": "event", "name": "OperationQueued", "inputs": [{ "name": "operation", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "kind", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "arguments", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "readyAt", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "expiresAt", "type": "uint48", "indexed": false, "internalType": "uint48" }], "anonymous": false },
766
+ { "type": "event", "name": "OwnershipNominationCancelled", "inputs": [{ "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
767
+ { "type": "event", "name": "OwnershipTransferStarted", "inputs": [{ "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "pendingOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
768
+ { "type": "event", "name": "OwnershipTransferred", "inputs": [{ "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
769
+ { "type": "event", "name": "RewardTokenSet", "inputs": [{ "name": "token", "type": "address", "indexed": true, "internalType": "address" }, { "name": "listed", "type": "bool", "indexed": false, "internalType": "bool" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
770
+ { "type": "event", "name": "RewardsAccrued", "inputs": [{ "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
771
+ { "type": "event", "name": "Staked", "inputs": [{ "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "liquidity", "type": "uint128", "indexed": false, "internalType": "uint128" }, { "name": "lockWeeks", "type": "uint16", "indexed": false, "internalType": "uint16" }, { "name": "maturity", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "boostBps", "type": "uint16", "indexed": false, "internalType": "uint16" }], "anonymous": false },
772
+ { "type": "event", "name": "SupplyBoundSet", "inputs": [{ "name": "currency", "type": "address", "indexed": true, "internalType": "address" }, { "name": "bound", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "by", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
773
+ { "type": "event", "name": "Unassigned", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "amount", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
774
+ { "type": "event", "name": "WeekClosed", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "week", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "drop", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "rateDropX128", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "rewardPerWeightX128", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
775
+ { "type": "event", "name": "Withdrawn", "inputs": [{ "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "recipient", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
776
+ { "type": "error", "name": "AddressEmptyCode", "inputs": [{ "name": "target", "type": "address", "internalType": "address" }] },
777
+ { "type": "error", "name": "AddressInsufficientBalance", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
778
+ { "type": "error", "name": "AllPaused", "inputs": [] },
779
+ { "type": "error", "name": "AlreadyActive", "inputs": [] },
780
+ { "type": "error", "name": "AlreadyListed", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }] },
781
+ { "type": "error", "name": "AlreadyQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
782
+ { "type": "error", "name": "AlreadyStaked", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }] },
783
+ { "type": "error", "name": "DelegatedAccount", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
784
+ { "type": "error", "name": "Expired", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "expiredAt", "type": "uint48", "internalType": "uint48" }] },
785
+ { "type": "error", "name": "FailedInnerCall", "inputs": [] },
786
+ { "type": "error", "name": "FundingOverflow", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
787
+ { "type": "error", "name": "GaugeExists", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
788
+ { "type": "error", "name": "GaugeIsPaused", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
789
+ { "type": "error", "name": "GaugeNotPaused", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
790
+ { "type": "error", "name": "HasSubscriber", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }] },
791
+ { "type": "error", "name": "Inactive", "inputs": [] },
792
+ { "type": "error", "name": "InvalidAddress", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
793
+ { "type": "error", "name": "InvalidDelay", "inputs": [{ "name": "delay", "type": "uint48", "internalType": "uint48" }] },
794
+ { "type": "error", "name": "InvalidDuration", "inputs": [{ "name": "durationWeeks", "type": "uint16", "internalType": "uint16" }] },
795
+ { "type": "error", "name": "InvalidLock", "inputs": [{ "name": "lockWeeks", "type": "uint16", "internalType": "uint16" }] },
796
+ { "type": "error", "name": "InvalidPool", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
797
+ { "type": "error", "name": "InvalidRecipient", "inputs": [{ "name": "recipient", "type": "address", "internalType": "address" }] },
798
+ { "type": "error", "name": "InvalidRewardToken", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }] },
799
+ { "type": "error", "name": "InvalidSupplyBound", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }, { "name": "bound", "type": "uint256", "internalType": "uint256" }] },
800
+ { "type": "error", "name": "InvalidTerms", "inputs": [] },
801
+ { "type": "error", "name": "InvalidWiring", "inputs": [] },
802
+ { "type": "error", "name": "LiquidityMismatch", "inputs": [{ "name": "reported", "type": "uint128", "internalType": "uint128" }, { "name": "actual", "type": "uint128", "internalType": "uint128" }] },
803
+ { "type": "error", "name": "LiquidityTooLow", "inputs": [{ "name": "liquidity", "type": "uint128", "internalType": "uint128" }, { "name": "minLiquidity", "type": "uint128", "internalType": "uint128" }] },
804
+ { "type": "error", "name": "Locked", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "maturity", "type": "uint48", "internalType": "uint48" }] },
805
+ { "type": "error", "name": "MaturityNotLater", "inputs": [{ "name": "maturity", "type": "uint48", "internalType": "uint48" }, { "name": "current", "type": "uint48", "internalType": "uint48" }] },
806
+ { "type": "error", "name": "MinLiquidityTooHigh", "inputs": [{ "name": "minLiquidity", "type": "uint128", "internalType": "uint128" }] },
807
+ { "type": "error", "name": "MinLiquidityTooLow", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }, { "name": "atEdge", "type": "uint256", "internalType": "uint256" }, { "name": "supplyBound", "type": "uint256", "internalType": "uint256" }] },
808
+ { "type": "error", "name": "NoSupplyBound", "inputs": [{ "name": "currency", "type": "address", "internalType": "address" }] },
809
+ { "type": "error", "name": "NonCanonicalArguments", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
810
+ { "type": "error", "name": "NotAContract", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] },
811
+ { "type": "error", "name": "NotAllPaused", "inputs": [] },
812
+ { "type": "error", "name": "NotFamilyOwner", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
813
+ { "type": "error", "name": "NotFullRange", "inputs": [{ "name": "tickLower", "type": "int24", "internalType": "int24" }, { "name": "tickUpper", "type": "int24", "internalType": "int24" }] },
814
+ { "type": "error", "name": "NotGaugeCreator", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
815
+ { "type": "error", "name": "NotPositionOwner", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "caller", "type": "address", "internalType": "address" }] },
816
+ { "type": "error", "name": "NotQueued", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }] },
817
+ { "type": "error", "name": "NotReady", "inputs": [{ "name": "operation", "type": "bytes32", "internalType": "bytes32" }, { "name": "readyAt", "type": "uint48", "internalType": "uint48" }] },
818
+ { "type": "error", "name": "NotStaked", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }] },
819
+ { "type": "error", "name": "NotStaker", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "caller", "type": "address", "internalType": "address" }] },
820
+ { "type": "error", "name": "NothingReceived", "inputs": [] },
821
+ { "type": "error", "name": "OtherGauge", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
822
+ { "type": "error", "name": "PoolMismatch", "inputs": [{ "name": "tokenId", "type": "uint256", "internalType": "uint256" }] },
823
+ { "type": "error", "name": "PositionManagerChanged", "inputs": [] },
824
+ { "type": "error", "name": "Reentrancy", "inputs": [] },
825
+ { "type": "error", "name": "RewardTokenNotListed", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }] },
826
+ { "type": "error", "name": "SafeERC20FailedOperation", "inputs": [{ "name": "token", "type": "address", "internalType": "address" }] },
827
+ { "type": "error", "name": "Unauthorized", "inputs": [{ "name": "caller", "type": "address", "internalType": "address" }] },
828
+ { "type": "error", "name": "UnknownGauge", "inputs": [{ "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
829
+ { "type": "error", "name": "UnknownOperation", "inputs": [{ "name": "kind", "type": "bytes32", "internalType": "bytes32" }] },
830
+ { "type": "error", "name": "ZeroAmount", "inputs": [] },
831
+ ],
832
+ HookrOwnedProfiles: [
833
+ { "type": "constructor", "inputs": [{ "name": "registry_", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "nonpayable" },
834
+ { "type": "function", "name": "MAX_PROFILE_ADVISORIES", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
835
+ { "type": "function", "name": "MAX_PROFILE_GATES", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
836
+ { "type": "function", "name": "adoptPool", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [], "stateMutability": "nonpayable" },
837
+ { "type": "function", "name": "adoption", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrOwnedProfiles.Adoption", "components": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "version", "type": "uint32", "internalType": "uint32" }] }], "stateMutability": "view" },
838
+ { "type": "function", "name": "dropAdoption", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [], "stateMutability": "nonpayable" },
839
+ { "type": "function", "name": "profile", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrOwnedProfiles.Profile", "components": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisories", "type": "address[]", "internalType": "address[]" }, { "name": "gates", "type": "address[]", "internalType": "address[]" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "laneEnabled", "type": "bool", "internalType": "bool" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }, { "name": "version", "type": "uint32", "internalType": "uint32" }] }], "stateMutability": "view" },
840
+ { "type": "function", "name": "profileAt", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "version", "type": "uint32", "internalType": "uint32" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrOwnedProfiles.Profile", "components": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisories", "type": "address[]", "internalType": "address[]" }, { "name": "gates", "type": "address[]", "internalType": "address[]" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "laneEnabled", "type": "bool", "internalType": "bool" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }, { "name": "version", "type": "uint32", "internalType": "uint32" }] }], "stateMutability": "view" },
841
+ { "type": "function", "name": "profileConforms", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
842
+ { "type": "function", "name": "profileIdOf", "inputs": [{ "name": "writer", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
843
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "view" },
844
+ { "type": "function", "name": "writeProfile", "inputs": [{ "name": "salt", "type": "bytes32", "internalType": "bytes32" }, { "name": "p", "type": "tuple", "internalType": "struct IHookrOwnedProfiles.Profile", "components": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisories", "type": "address[]", "internalType": "address[]" }, { "name": "gates", "type": "address[]", "internalType": "address[]" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "laneEnabled", "type": "bool", "internalType": "bool" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }, { "name": "version", "type": "uint32", "internalType": "uint32" }] }], "outputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "nonpayable" },
845
+ { "type": "event", "name": "AdoptionDropped", "inputs": [{ "name": "profileId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "version", "type": "uint32", "indexed": false, "internalType": "uint32" }, { "name": "by", "type": "address", "indexed": false, "internalType": "address" }], "anonymous": false },
846
+ { "type": "event", "name": "PoolAdopted", "inputs": [{ "name": "profileId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "id", "type": "bytes32", "indexed": true, "internalType": "PoolId" }, { "name": "version", "type": "uint32", "indexed": false, "internalType": "uint32" }], "anonymous": false },
847
+ { "type": "event", "name": "ProfileWritten", "inputs": [{ "name": "profileId", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "version", "type": "uint32", "indexed": false, "internalType": "uint32" }, { "name": "terms", "type": "tuple", "indexed": false, "internalType": "struct IHookrOwnedProfiles.Profile", "components": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisories", "type": "address[]", "internalType": "address[]" }, { "name": "gates", "type": "address[]", "internalType": "address[]" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "laneEnabled", "type": "bool", "internalType": "bool" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }, { "name": "version", "type": "uint32", "internalType": "uint32" }] }], "anonymous": false },
848
+ { "type": "error", "name": "AlreadyAdopted", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
849
+ { "type": "error", "name": "InvalidProfile", "inputs": [] },
850
+ { "type": "error", "name": "InvalidRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }] },
851
+ { "type": "error", "name": "NotAdopted", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }] },
852
+ { "type": "error", "name": "NotProfileOwner", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "caller", "type": "address", "internalType": "address" }] },
853
+ { "type": "error", "name": "OutsideProfile", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }] },
854
+ { "type": "error", "name": "UnknownProfile", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }] },
855
+ ],
856
+ HookrOwnedRootsLens: [
857
+ { "type": "constructor", "inputs": [{ "name": "familyRouter_", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" },
858
+ { "type": "function", "name": "ALL_FEATURES", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
859
+ { "type": "function", "name": "PUBLIC_REQUIRED_FEATURES", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
860
+ { "type": "function", "name": "defaultProfile", "inputs": [{ "name": "book", "type": "address", "internalType": "contract IHookrOwnedProfiles" }, { "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "owner", "type": "address", "internalType": "address" }], "outputs": [{ "name": "p", "type": "tuple", "internalType": "struct IHookrOwnedProfiles.Profile", "components": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "advisories", "type": "address[]", "internalType": "address[]" }, { "name": "gates", "type": "address[]", "internalType": "address[]" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "laneEnabled", "type": "bool", "internalType": "bool" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }, { "name": "version", "type": "uint32", "internalType": "uint32" }] }], "stateMutability": "view" },
861
+ { "type": "function", "name": "defaultSelections", "inputs": [{ "name": "factory", "type": "address", "internalType": "contract IHookrOwnedRootFactory" }, { "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "deployer", "type": "address", "internalType": "address" }], "outputs": [{ "name": "s", "type": "tuple", "internalType": "struct IHookrOwnedRootFactory.RootSelections", "components": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "profileVersion", "type": "uint32", "internalType": "uint32" }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }] }], "stateMutability": "view" },
862
+ { "type": "function", "name": "familyRouter", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
863
+ { "type": "function", "name": "profileBounds", "inputs": [{ "name": "book", "type": "address", "internalType": "contract IHookrOwnedProfiles" }, { "name": "root", "type": "address", "internalType": "address" }, { "name": "rules", "type": "address", "internalType": "address" }], "outputs": [{ "name": "maxCaps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "maxRuleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "maxAdvisories", "type": "uint256", "internalType": "uint256" }, { "name": "maxGates", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
864
+ { "type": "function", "name": "selectionBounds", "inputs": [{ "name": "factory", "type": "address", "internalType": "contract IHookrOwnedRootFactory" }, { "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "deployer", "type": "address", "internalType": "address" }], "outputs": [{ "name": "b", "type": "tuple", "internalType": "struct IHookrOwnedRootsLens.SelectionBounds", "components": [{ "name": "profileVersion", "type": "uint32", "internalType": "uint32" }, { "name": "maxRuleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "publicRequiredMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "publicAllowed", "type": "bool", "internalType": "bool" }, { "name": "deployerAllowed", "type": "bool", "internalType": "bool" }, { "name": "caps", "type": "tuple", "internalType": "struct HookrTypes.Caps", "components": [{ "name": "maxLpFeePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxQuoteTakePips", "type": "uint24", "internalType": "uint24" }, { "name": "maxSubjectTakeBps", "type": "uint16", "internalType": "uint16" }] }, { "name": "laneCopied", "type": "bool", "internalType": "bool" }, { "name": "fee", "type": "uint256", "internalType": "uint256" }, { "name": "deployable", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" },
865
+ ],
866
+ HookrOwnedRootFactory: [
867
+ { "type": "constructor", "inputs": [{ "name": "registry_", "type": "address", "internalType": "contract IHookrRegistry" }, { "name": "profiles_", "type": "address", "internalType": "contract IHookrOwnedProfiles" }, { "name": "template_", "type": "address", "internalType": "address" }, { "name": "templateRules_", "type": "address", "internalType": "address" }, { "name": "treasury_", "type": "address", "internalType": "address" }, { "name": "rootCodeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "rulesCodeHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "maxDeployments_", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable" },
868
+ { "type": "function", "name": "DEFAULT_MAX_DEPLOYMENTS", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
869
+ { "type": "function", "name": "FEE_FORWARD_GAS", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
870
+ { "type": "function", "name": "MAX_MAX_DEPLOYMENTS", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
871
+ { "type": "function", "name": "MIN_MAX_DEPLOYMENTS", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
872
+ { "type": "function", "name": "acceptRootOwnership", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
873
+ { "type": "function", "name": "allDeployments", "inputs": [{ "name": "index", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
874
+ { "type": "function", "name": "allDeploymentsLength", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
875
+ { "type": "function", "name": "computeAddress", "inputs": [{ "name": "deployer", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
876
+ { "type": "function", "name": "creationCodeHashOf", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
877
+ { "type": "function", "name": "curatedRouter", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
878
+ { "type": "function", "name": "deploy", "inputs": [{ "name": "rootCreationCode", "type": "bytes", "internalType": "bytes" }, { "name": "rulesCreationCode", "type": "bytes", "internalType": "bytes" }, { "name": "selections", "type": "tuple", "internalType": "struct IHookrOwnedRootFactory.RootSelections", "components": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "profileVersion", "type": "uint32", "internalType": "uint32" }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }] }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "root", "type": "address", "internalType": "address" }], "stateMutability": "payable" },
879
+ { "type": "function", "name": "deployFee", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
880
+ { "type": "function", "name": "isAllowedCreationCode", "inputs": [{ "name": "creationCodeHash", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
881
+ { "type": "function", "name": "isFromFactory", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
882
+ { "type": "function", "name": "maxDeployments", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" },
883
+ { "type": "function", "name": "mayOpen", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "opener", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
884
+ { "type": "function", "name": "ownedRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IHookrOwnedRootFactory.OwnedRoot", "components": [{ "name": "owner", "type": "address", "internalType": "address" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "paused", "type": "bool", "internalType": "bool" }, { "name": "laneAllowed", "type": "bool", "internalType": "bool" }, { "name": "profileVersion", "type": "uint32", "internalType": "uint32" }, { "name": "rules", "type": "address", "internalType": "address" }, { "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }] }], "stateMutability": "view" },
885
+ { "type": "function", "name": "ownedRootConforms", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "id", "type": "bytes32", "internalType": "PoolId" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
886
+ { "type": "function", "name": "pendingRootOwner", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
887
+ { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IPoolManager" }], "stateMutability": "view" },
888
+ { "type": "function", "name": "profiles", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrOwnedProfiles" }], "stateMutability": "view" },
889
+ { "type": "function", "name": "quoter", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
890
+ { "type": "function", "name": "registry", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IHookrRegistry" }], "stateMutability": "view" },
891
+ { "type": "function", "name": "rootClassFlags", "inputs": [], "outputs": [{ "name": "", "type": "uint160", "internalType": "uint160" }], "stateMutability": "view" },
892
+ { "type": "function", "name": "rootCreationCodeHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
893
+ { "type": "function", "name": "router", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
894
+ { "type": "function", "name": "rulesCreationCodeHash", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" },
895
+ { "type": "function", "name": "rulesOf", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
896
+ { "type": "function", "name": "runtimeMatchesTemplate", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
897
+ { "type": "function", "name": "saltUsed", "inputs": [{ "name": "deployer", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" },
898
+ { "type": "function", "name": "setPaused", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "paused", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" },
899
+ { "type": "function", "name": "template", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
900
+ { "type": "function", "name": "templateRules", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
901
+ { "type": "function", "name": "transferRootOwnership", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "nominee", "type": "address", "internalType": "address" }], "outputs": [], "stateMutability": "nonpayable" },
902
+ { "type": "function", "name": "treasury", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" },
903
+ { "type": "event", "name": "DeployFeePaid", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "target", "type": "address", "indexed": true, "internalType": "address" }, { "name": "fee", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false },
904
+ { "type": "event", "name": "Deployed", "inputs": [{ "name": "deployed", "type": "address", "indexed": true, "internalType": "address" }, { "name": "creationCodeHash", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "deployer", "type": "address", "indexed": true, "internalType": "address" }, { "name": "constructorArgs", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "salt", "type": "bytes32", "indexed": false, "internalType": "bytes32" }], "anonymous": false },
905
+ { "type": "event", "name": "RootDeployed", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "deployer", "type": "address", "indexed": true, "internalType": "address" }, { "name": "rules", "type": "address", "indexed": true, "internalType": "address" }, { "name": "selections", "type": "tuple", "indexed": false, "internalType": "struct IHookrOwnedRootFactory.RootSelections", "components": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "profileVersion", "type": "uint32", "internalType": "uint32" }, { "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }, { "name": "publicOpening", "type": "bool", "internalType": "bool" }, { "name": "owner", "type": "address", "internalType": "address" }] }], "anonymous": false },
906
+ { "type": "event", "name": "RootOwnershipTransferStarted", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "nominee", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
907
+ { "type": "event", "name": "RootOwnershipTransferred", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false },
908
+ { "type": "event", "name": "RootPaused", "inputs": [{ "name": "root", "type": "address", "indexed": true, "internalType": "address" }, { "name": "paused", "type": "bool", "indexed": false, "internalType": "bool" }], "anonymous": false },
909
+ { "type": "error", "name": "CompanionNotDeployed", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }] },
910
+ { "type": "error", "name": "CreationCodeNotAllowed", "inputs": [{ "name": "creationCodeHash", "type": "bytes32", "internalType": "bytes32" }] },
911
+ { "type": "error", "name": "FactoryFull", "inputs": [{ "name": "cap", "type": "uint256", "internalType": "uint256" }] },
912
+ { "type": "error", "name": "FeeNotForwarded", "inputs": [{ "name": "target", "type": "address", "internalType": "address" }] },
913
+ { "type": "error", "name": "HookAddressNotValid", "inputs": [{ "name": "hooks", "type": "address", "internalType": "address" }] },
914
+ { "type": "error", "name": "InvalidOwner", "inputs": [] },
915
+ { "type": "error", "name": "InvalidTemplate", "inputs": [{ "name": "template", "type": "address", "internalType": "address" }] },
916
+ { "type": "error", "name": "InvalidWiring", "inputs": [] },
917
+ { "type": "error", "name": "NotOwnedRoot", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }] },
918
+ { "type": "error", "name": "NotProfileOwner", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "deployer", "type": "address", "internalType": "address" }] },
919
+ { "type": "error", "name": "NotRootOwner", "inputs": [{ "name": "root", "type": "address", "internalType": "address" }, { "name": "caller", "type": "address", "internalType": "address" }] },
920
+ { "type": "error", "name": "OutsideProfile", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }] },
921
+ { "type": "error", "name": "ProfileVersionMismatch", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }, { "name": "selected", "type": "uint32", "internalType": "uint32" }, { "name": "current", "type": "uint32", "internalType": "uint32" }] },
922
+ { "type": "error", "name": "Reentrancy", "inputs": [] },
923
+ { "type": "error", "name": "SaltUsed", "inputs": [{ "name": "deployer", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }] },
924
+ { "type": "error", "name": "SoftMaskNeedsOwnerOnly", "inputs": [{ "name": "ruleMask", "type": "bytes32", "internalType": "bytes32" }] },
925
+ { "type": "error", "name": "UnknownProfile", "inputs": [{ "name": "profileId", "type": "bytes32", "internalType": "bytes32" }] },
926
+ { "type": "error", "name": "WrongFee", "inputs": [{ "name": "sent", "type": "uint256", "internalType": "uint256" }, { "name": "fee", "type": "uint256", "internalType": "uint256" }] },
927
+ ],
928
+ };
929
+ /** ABI components of bind-data structs, parsed from the Solidity source. */
930
+ export const STRUCT_COMPONENTS = {
931
+ RulesConfig: [{ "name": "guardEndBlock", "type": "uint40" }, { "name": "maxFeePips", "type": "uint24" }, { "name": "snipeTaxPips", "type": "uint24" }, { "name": "snipeFloorPips", "type": "uint24" }, { "name": "snipeDecaySeconds", "type": "uint16" }, { "name": "dynamicFeeSens", "type": "uint16" }, { "name": "burnBps", "type": "uint16" }, { "name": "lpBps", "type": "uint16" }, { "name": "potBps", "type": "uint16" }, { "name": "royaltyBps", "type": "uint16" }, { "name": "protocolShareBps", "type": "uint16" }, { "name": "potEveryNBuys", "type": "uint32" }, { "name": "maxBuyQuoteAmount", "type": "uint128" }, { "name": "potMinBuyQuote", "type": "uint128" }, { "name": "royaltyTo", "type": "address" }, { "name": "integrator", "type": "address" }],
932
+ RecaptureConfig: [{ "name": "on", "type": "bool" }, { "name": "traderBps", "type": "uint16" }, { "name": "lpBps", "type": "uint16" }, { "name": "period", "type": "uint32" }, { "name": "maxPrizeBps", "type": "uint16" }, { "name": "potReleaseBps", "type": "uint16" }, { "name": "minBuyQuote", "type": "uint128" }, { "name": "releaseBlocks", "type": "uint32" }],
933
+ RulesKnobs: [{ "name": "minDynamicFeeLiquidity", "type": "uint96" }, { "name": "windowSeconds", "type": "uint16" }, { "name": "resetSeconds", "type": "uint16" }, { "name": "carryBps", "type": "uint16" }, { "name": "moveTicks", "type": "uint24" }, { "name": "snipeCurve", "type": "uint8" }],
934
+ MemberKnobs: [{ "name": "subjectWeightBps", "type": "uint16" }, { "name": "dynamicFeeLiquidityDivisor", "type": "uint16" }, { "name": "lockEndBlock", "type": "uint64" }, { "name": "windowSeconds", "type": "uint16" }, { "name": "resetSeconds", "type": "uint16" }, { "name": "carryBps", "type": "uint16" }, { "name": "moveTicks", "type": "uint24" }, { "name": "snipeCurve", "type": "uint8" }],
935
+ DevBuy: [{ "name": "member", "type": "uint8" }, { "name": "quoteIn", "type": "uint128" }, { "name": "minSubjectOut", "type": "uint128" }, { "name": "lockBlocks", "type": "uint32" }],
936
+ FeeAdvisoryConfig: [{ "name": "cap", "type": "uint24" }, { "name": "surcharge", "type": "uint24" }, { "name": "premium0", "type": "uint24" }, { "name": "premium1", "type": "uint24" }, { "name": "maxStep", "type": "uint24" }, { "name": "minInterval", "type": "uint32" }, { "name": "maxTtl", "type": "uint32" }],
937
+ SessionSchedule: [{ "name": "regularPips", "type": "uint24" }, { "name": "preMarketPips", "type": "uint24" }, { "name": "afterHoursPips", "type": "uint24" }, { "name": "overnightPips", "type": "uint24" }, { "name": "closedPips", "type": "uint24" }, { "name": "openRampSeconds", "type": "uint16" }, { "name": "closeRampSeconds", "type": "uint16" }, { "name": "flags", "type": "uint8" }],
938
+ SessionTiers: [{ "name": "regularPips", "type": "uint24" }, { "name": "preMarketPips", "type": "uint24" }, { "name": "afterHoursPips", "type": "uint24" }, { "name": "overnightPips", "type": "uint24" }, { "name": "closedPips", "type": "uint24" }, { "name": "openRampSeconds", "type": "uint16" }, { "name": "closeRampSeconds", "type": "uint16" }, { "name": "flags", "type": "uint8" }],
939
+ };
940
+ /** Release constants, evaluated from the Solidity source. */
941
+ export const RELEASE_CONSTANTS = {
942
+ REGISTRY_RULES_MIN_GAS_LIMIT: 2000000,
943
+ REGISTRY_MIN_DELAY: 1800,
944
+ REGISTRY_MAX_DELAY: 2592000,
945
+ REGISTRY_GRACE_PERIOD: 1209600,
946
+ SET_LAUNCHER: "0xe7b649f0a5954dd52b32cb4a311b19e75d4d9b6905ddd069104dbb7e77b00a92",
947
+ REGISTER_ROOT: "0x88342d8bbbce0714328f486a924ee562e53af99e15a770fa65f27f71c042d7d5",
948
+ RETIRE_ROOT: "0x120a2c6dc7881feb3774e338f4f92986d40eca44217453a4263afffc5c14bd1b",
949
+ ADMIT: "0xfa57b067e22ca90ebefba4f2b5ba93cd4ddf78c26c3d6c514cf13d764dbd502b",
950
+ TRANSFER_OWNER: "0xaef31d095519b113d9f9a81dd4f638b047031aedf32f54d1f31ba1230e3d49ad",
951
+ SET_GUARDIAN: "0x0003a4acf361a851da881fa16138e4bb3b2f033d3f19a3a2d2f71fe310d180df",
952
+ SET_QUOTE: "0xa1e361aaf3e563ffd91c1eb4aeb486a47f7af239811950b269d8a5599ecdfea5",
953
+ RESUME_NEW_MARKETS: "0x68c3ff22899913b3192fa7a18ad578c03386fe10e08e6d5a06191480a9b724b9",
954
+ REOPEN_ROOT: "0x599c4d29cc4afc5fbd8e1fb0ee66d94290bd3bf69aefe954a4d00a9f6d660b24",
955
+ SET_ROOT_FACTORY: "0x54dc712cdc9fc5518d3b91f59b555464b45be828550c4784fbeedc81d757fe16",
956
+ RECORD_EXTERNAL_HOOK: "0x593786d960d8a4636980b897df1d83892ee707c002d584b6ae06888d06f7d4e8",
957
+ SET_ADMISSION_BOND: "0x4cc776e2654bea49b2f602c51829664487d4c03d44028e97cf361c885d7f64df",
958
+ ROOT_PERMISSION_FLAGS: 10956,
959
+ RULES_MAX_SNIPE_DECAY_SECONDS: 3600,
960
+ RULES_DYNAMIC_FEE_WINDOW: 30,
961
+ RULES_DYNAMIC_FEE_RESET: 120,
962
+ RULES_DYNAMIC_FEE_CARRY_BPS: 7500,
963
+ RULES_DYNAMIC_FEE_MOVE_TICKS: 200,
964
+ RULES_MIN_WINDOW_SECONDS: 12,
965
+ RULES_MAX_WINDOW_SECONDS: 300,
966
+ RULES_MIN_RESET_SECONDS: 30,
967
+ RULES_MAX_RESET_SECONDS: 1800,
968
+ RULES_RESET_STEP_SECONDS: 15,
969
+ RULES_MAX_CARRY_BPS: 9500,
970
+ RULES_CARRY_STEP_BPS: 125,
971
+ RULES_MIN_MOVE_TICKS: 50,
972
+ RULES_MAX_MOVE_TICKS: 2000,
973
+ RULES_SNIPE_CURVE_LINEAR: 0,
974
+ RULES_SNIPE_CURVE_FRONT_LOADED: 1,
975
+ RULES_SNIPE_CURVE_STEP: 2,
976
+ RULES_PARENT_BLOCK_SECONDS: 12,
977
+ DYNAMIC_FEE_MAX_REACH: 7200000,
978
+ DYNAMIC_FEE_MAX_RESERVE: 230000000,
979
+ DYNAMIC_FEE_RESERVE_SCALE: 432,
980
+ RECAPTURE_MIN_RELEASE_BLOCKS: 1200,
981
+ RECAPTURE_DEFAULT_RELEASE_BLOCKS: 36000,
982
+ RECAPTURE_MAX_RELEASE_BLOCKS: 864000,
983
+ RECAPTURE_L2_PER_SECOND: 10,
984
+ RECAPTURE_PROTOCOL_BPS: 2500,
985
+ MAX_LANE_PARTNER_BPS: 2500,
986
+ RECAPTURE_PRIZE_SHARE_OF_FEE_BPS: 5000,
987
+ RULES_MAX_INTEGRATOR_BPS: 5000,
988
+ LAUNCHER_DYNAMIC_FEE_LIQUIDITY_DIVISOR: 100,
989
+ LAUNCHER_MAX_DEV_BUY_BPS: 500,
990
+ LAUNCHER_MAX_DEV_BUY_LOCK_BLOCKS: 2628000,
991
+ LAUNCH_MIN_DYNAMIC_FEE_LIQUIDITY_DIVISOR: 2,
992
+ LAUNCH_MAX_DYNAMIC_FEE_LIQUIDITY_DIVISOR: 10000,
993
+ LAUNCH_MAX_OPENING_TOLERANCE_BPS: 1000,
994
+ LAUNCH_MAX_LOCK_END_BLOCKS: 100000,
995
+ LAUNCH_MAX_LAUNCH_FEE: 10000000000000000n,
996
+ LAUNCH_FEE_GRACE: 1209600,
997
+ TOKEN_MAX_TAGLINE_BYTES: 160,
998
+ TOKEN_MAX_LOGO_URI_BYTES: 300,
999
+ GOVERNED_MIN_DELAY: 1800,
1000
+ GOVERNED_MAX_DELAY: 2592000,
1001
+ GOVERNED_GRACE: 1209600,
1002
+ TREASURY_TARGET_DELAY: 1800,
1003
+ TREASURY_TERMS_DELAY: 1800,
1004
+ TREASURY_TERMS_GRACE: 1209600,
1005
+ TREASURY_MAX_RULE_SHARE_FLOOR_BPS: 5000,
1006
+ TREASURY_MAX_INTEGRATOR_BPS: 5000,
1007
+ TREASURY_DEFAULT_INTEGRATOR_BPS: 5000,
1008
+ TREASURY_MAX_MIN_FEE_PIPS: 10000,
1009
+ TREASURY_DEFAULT_MIN_FEE_PIPS: 1000,
1010
+ TREASURY_NO_MIN_FEE_OVERRIDE: 65535,
1011
+ RULES_MAX_MIN_FEE_PIPS: 10000,
1012
+ TREASURY_OWNED_ROOT_FEE_UNIT: 100000000000000,
1013
+ TREASURY_MAX_OWNED_ROOT_FEE: 1000000000000000000n,
1014
+ TREASURY_DEFAULT_OWNED_ROOT_FEE: 10000000000000000n,
1015
+ PROGRAMS_BUX_APPROVAL_DELAY: 1800,
1016
+ PROGRAMS_BUX_APPROVAL_GRACE: 1209600,
1017
+ PROGRAMS_MIN_REVIEW_DELAY: 518400,
1018
+ PROGRAMS_MAX_REVIEW_DELAY: 2592000,
1019
+ CAMPAIGN_MIN_REVIEW_DELAY: 518400,
1020
+ CAMPAIGN_MAX_REVIEW_DELAY: 2592000,
1021
+ CAMPAIGN_VETO_GRACE: 432000,
1022
+ FACTORY_PERMISSION_FLAGS: 8320,
1023
+ PAIR_ROOT_PERMISSION_FLAGS: 8320,
1024
+ PAIR_ROOT_MAX_LP_FEE_PIPS: 600000,
1025
+ PAIR_ROOT_MAX_ADVISORY_GAS: 500000,
1026
+ FEE_ADVISORY_MAX_TTL: 259200,
1027
+ FEE_ADVISORY_MAX_MIN_INTERVAL: 86400,
1028
+ FEE_ADVISORY_MIN_ADVISORY_GAS: 30000,
1029
+ FEE_ADVISORY_MIN_PAIR_GAS: 10000,
1030
+ FEE_ADVISORY_MIN_TIERED_GAS: 60000,
1031
+ SESSION_TIERS_ENCODED_SIZE: 256,
1032
+ SESSION_TIERS_MAX_RAMP_SECONDS: 12600,
1033
+ SESSION_TIERS_UNCOVERED_AS_CLOSED: 1,
1034
+ ADD_KEEPER: "0x85e327db57312d18f9d00968c417092fdcd803525a522992697e17ca07093687",
1035
+ SESSION_ADVISORY_MIN_ADVISORY_GAS: 150000,
1036
+ SESSION_ADVISORY_MIN_PAIR_GAS: 60000,
1037
+ SESSION_ADVISORY_MAX_RAMP_SECONDS: 12600,
1038
+ SESSION_UNCOVERED_AS_CLOSED: 1,
1039
+ APPEND_YEAR: "0x5385a4b769ff1aaaf8662b2c156326108baad1ddca67ea2f6fb08eda94d88a38",
1040
+ SET_SKIM: "0xe6eed9c704344f302def071e28e88cca76163c11db5d3c083a3b9159e3c0d722",
1041
+ VAULT_SKIM_CEILING_BPS: 2000,
1042
+ FEE_ADVISORY_RULES_SCHEMA: "0xbe72934002485e217f97611d2746dbe69af14656b7f29321b249799f290b6379",
1043
+ SESSION_ADVISORY_RULES_SCHEMA: "0xbe72934002485e217f97611d2746dbe69af14656b7f29321b249799f290b6379",
1044
+ LP_BOOST_ACTIVATE: "0x92de14aefacad220bb2090f938253bcc8dcd013bca59e1e4989ee4284f8fd066",
1045
+ LP_BOOST_ADD_REWARD_TOKEN: "0x838acf0643d9e6f331830d125af7221680db5aef1dcac1f906c6f912f5d65309",
1046
+ LP_BOOST_SET_SUPPLY_BOUND: "0xebaf958000390ab535090eef3b67a374bc941c8c5cd91d49ea80a0cca81675da",
1047
+ LP_BOOST_CREATE_GAUGE: "0x0f3ea05a4dcba1d7647a749609fb48ed8bc3d34b5b2de58bc7ac82c80ebc0437",
1048
+ LP_BOOST_UNPAUSE: "0xe7276a2a84d8de556657ec9cf93a55a7d66f096e529d0582ed08e9e2208b92b5",
1049
+ LP_BOOST_UNPAUSE_ALL: "0xff1a8bd240cf131103adc6f67b0d16e5bccb1a487454fe8ee3f7b5b81c95e31f",
1050
+ LP_BOOST_WEEK: 604800,
1051
+ LP_BOOST_MAX_LOCK_WEEKS: 104,
1052
+ LP_BOOST_MAX_BOOST_BPS: 30000,
1053
+ LP_BOOST_MAX_PERIOD_WEEKS: 52,
1054
+ LP_BOOST_MIN_LIQUIDITY: 1000000,
1055
+ PAIR_ROOT_REFUSED_PREFIX: 145,
1056
+ HOOKR_TOKEN_RUNTIME_KECCAK256: "0x2ac0989170f11b4f7bc16e90018f8b1db30b3149b2fc3aceee712135617f33d0",
1057
+ RULES_CONFIG_SCHEMA_HASH: "0xbe72934002485e217f97611d2746dbe69af14656b7f29321b249799f290b6379",
1058
+ };