@berachain/berajs 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/.claude/skills/berajs/SKILL.md +222 -0
  2. package/.claude/skills/berajs/references/dex.md +235 -0
  3. package/.claude/skills/berajs/references/pol.md +194 -0
  4. package/.claude/skills/berajs/references/staking.md +198 -0
  5. package/.claude/skills/berajs/references/tokens.md +170 -0
  6. package/dist/{BexStatusProvider-nS3NcdxI.d.cts → BexStatusProvider-DRymVlQf.d.cts} +1 -1
  7. package/dist/{BexStatusProvider-nS3NcdxI.d.ts → BexStatusProvider-DRymVlQf.d.ts} +1 -1
  8. package/dist/{HoneyConfigProvider-CK6mOKFH.d.ts → HoneyConfigProvider-DVP_9KZn.d.ts} +1 -1
  9. package/dist/{HoneyConfigProvider-Ca3ouozs.d.cts → HoneyConfigProvider-DfkjmzEf.d.cts} +1 -1
  10. package/dist/abi/exports.cjs +1 -1
  11. package/dist/abi/exports.cjs.map +1 -1
  12. package/dist/abi/exports.d.cts +1893 -25347
  13. package/dist/abi/exports.d.ts +1893 -25347
  14. package/dist/abi/exports.mjs +1 -1
  15. package/dist/abi/exports.mjs.map +1 -1
  16. package/dist/actions/exports.cjs +1 -1
  17. package/dist/actions/exports.cjs.map +1 -1
  18. package/dist/actions/exports.d.cts +10 -9
  19. package/dist/actions/exports.d.ts +10 -9
  20. package/dist/actions/exports.mjs +1 -1
  21. package/dist/actions/exports.mjs.map +1 -1
  22. package/dist/chunk-4GU2O2OW.cjs +4 -0
  23. package/dist/chunk-4GU2O2OW.cjs.map +1 -0
  24. package/dist/chunk-5XWELBWR.mjs +2 -0
  25. package/dist/chunk-5XWELBWR.mjs.map +1 -0
  26. package/dist/chunk-BS6K7HGH.cjs +2 -0
  27. package/dist/chunk-BS6K7HGH.cjs.map +1 -0
  28. package/dist/chunk-NLVWRMGD.mjs +2 -0
  29. package/dist/chunk-NLVWRMGD.mjs.map +1 -0
  30. package/dist/chunk-OUD27MU7.cjs +2 -0
  31. package/dist/chunk-OUD27MU7.cjs.map +1 -0
  32. package/dist/chunk-RW3JFPED.mjs +4 -0
  33. package/dist/chunk-RW3JFPED.mjs.map +1 -0
  34. package/dist/chunk-S3EAKCVM.cjs +2 -0
  35. package/dist/{chunk-PKXAW6MO.cjs.map → chunk-S3EAKCVM.cjs.map} +1 -1
  36. package/dist/chunk-YNO7BCCM.mjs +2 -0
  37. package/dist/{chunk-3YXSUBA5.mjs.map → chunk-YNO7BCCM.mjs.map} +1 -1
  38. package/dist/contexts/exports.d.cts +3 -3
  39. package/dist/contexts/exports.d.ts +3 -3
  40. package/dist/enum/exports.d.cts +1 -1
  41. package/dist/enum/exports.d.ts +1 -1
  42. package/dist/errors/exports.d.cts +1 -1
  43. package/dist/errors/exports.d.ts +1 -1
  44. package/dist/{getValidatorQueuedOperatorAddress-NrjpnEn8.d.ts → getValidatorQueuedOperatorAddress-CqR6cyqC.d.ts} +3 -3
  45. package/dist/{getValidatorQueuedOperatorAddress-D_LEt3vv.d.cts → getValidatorQueuedOperatorAddress-DZgrPmZ2.d.cts} +3 -3
  46. package/dist/{global.d-X3cqpCEB.d.ts → global.d-BeYWDreg.d.ts} +4 -4
  47. package/dist/{global.d-DLRtrPG5.d.cts → global.d-DghRxpHd.d.cts} +4 -4
  48. package/dist/hooks/exports.cjs +3 -3
  49. package/dist/hooks/exports.cjs.map +1 -1
  50. package/dist/hooks/exports.d.cts +40 -38
  51. package/dist/hooks/exports.d.ts +40 -38
  52. package/dist/hooks/exports.mjs +3 -3
  53. package/dist/hooks/exports.mjs.map +1 -1
  54. package/dist/{txnEnum-BlBYhNRl.d.cts → txnEnum-DxPRHSJt.d.cts} +1 -1
  55. package/dist/{txnEnum-BlBYhNRl.d.ts → txnEnum-DxPRHSJt.d.ts} +1 -1
  56. package/dist/types/exports.d.cts +3 -3
  57. package/dist/types/exports.d.ts +3 -3
  58. package/dist/{useHoneySwapState-D1DKG_Of.d.ts → useHoneySwapState-B494PQDl.d.ts} +1 -1
  59. package/dist/{useHoneySwapState-B-vmIP1b.d.cts → useHoneySwapState-D6vpv19r.d.cts} +1 -1
  60. package/dist/utils/exports.cjs +1 -1
  61. package/dist/utils/exports.cjs.map +1 -1
  62. package/dist/utils/exports.d.cts +2 -2
  63. package/dist/utils/exports.d.ts +2 -2
  64. package/dist/utils/exports.mjs +1 -1
  65. package/dist/utils/exports.mjs.map +1 -1
  66. package/package.json +8 -9
  67. package/src/abi/exports.ts +0 -27
  68. package/src/actions/bend/getConvertToAssets.ts +1 -1
  69. package/src/actions/bend/getMaxDeposit.ts +1 -1
  70. package/src/actions/dex/aggregators/bex.ts +2 -1
  71. package/src/actions/dex/aggregators/enso/enso.ts +3 -2
  72. package/src/actions/dex/aggregators/enso/ensoErc4626.debug.test.ts +2 -3
  73. package/src/actions/dex/aggregators/erc4626.ts +2 -1
  74. package/src/actions/dex/aggregators/fly.ts +2 -1
  75. package/src/actions/dex/aggregators/haiku.ts +2 -1
  76. package/src/actions/dex/aggregators/kyberswap.ts +2 -2
  77. package/src/actions/dex/aggregators/oogabooga.ts +2 -1
  78. package/src/actions/dex/aggregators/openOcean.ts +2 -1
  79. package/src/actions/dex/aggregators/wbera.ts +2 -1
  80. package/src/actions/dex/getVaultPausedState.ts +2 -1
  81. package/src/actions/enso/getEnsoUserTokensWithBalances.debug.test.ts +1 -1
  82. package/src/actions/governance/__tests__/checkProposalField.unit.test.ts +2 -1
  83. package/src/actions/governance/__tests__/getDecodedFunctionData.integration.test.ts +66 -78
  84. package/src/actions/governance/__tests__/getQuorum.integration.test.ts +6 -7
  85. package/src/actions/governance/getDecodedFunctionData.ts +2 -2
  86. package/src/actions/governance/getProposalFromTx.ts +2 -1
  87. package/src/actions/governance/getProposalParams.ts +3 -2
  88. package/src/actions/governance/getQuorum.ts +2 -1
  89. package/src/actions/honey/getCollateralWeights.ts +2 -1
  90. package/src/actions/honey/getGlobalCapLimit.ts +2 -1
  91. package/src/actions/honey/getHoneyCollaterals.ts +2 -1
  92. package/src/actions/honey/getHoneyFees.ts +2 -1
  93. package/src/actions/honey/getHoneyPausedState.ts +2 -1
  94. package/src/actions/honey/getHoneyPreview.ts +2 -1
  95. package/src/actions/honey/getHoneyPythPriceOracle.ts +1 -1
  96. package/src/actions/honey/getHoneyRootPriceOracle.ts +2 -1
  97. package/src/actions/honey/getHoneyVaultsBalance.ts +3 -2
  98. package/src/actions/honey/getRelativeCapLimit.ts +2 -1
  99. package/src/actions/honey/getSharesWithoutFees.ts +3 -2
  100. package/src/actions/honey/getSwapPayload.ts +3 -2
  101. package/src/actions/honey/isBadCollateralAsset.ts +3 -2
  102. package/src/actions/honey/isBasketModeEnabled.ts +3 -2
  103. package/src/actions/pol/getBgtTokenTotalBoosts.ts +2 -1
  104. package/src/actions/pol/getLSTStakeConfig.ts +2 -1
  105. package/src/actions/pol/getRewardTokenToBeraRate.ts +2 -1
  106. package/src/actions/pol/getRewardVaultBeaconImplementation.ts +2 -1
  107. package/src/actions/pol/getRewardVaultDurationConstants.ts +2 -1
  108. package/src/actions/pol/getRewardVaultFromToken.ts +2 -1
  109. package/src/actions/pol/getRewardVaultIncentives.ts +2 -1
  110. package/src/actions/pol/getRewardVaultRewards.ts +2 -1
  111. package/src/actions/pol/getRewardVaultStakingToken.ts +1 -1
  112. package/src/actions/pol/getRewardVaults.ts +2 -1
  113. package/src/actions/pol/getSWBeraVaultMetadata.ts +2 -1
  114. package/src/actions/pol/getSWBeraWithdrawal.ts +2 -1
  115. package/src/actions/pol/getStakeWithdrawalCooldown.ts +1 -1
  116. package/src/actions/pol/getTotalStakedAmount.ts +2 -1
  117. package/src/actions/pol/getUserVaults.ts +2 -1
  118. package/src/actions/pol/getUserVaultsBalance.ts +2 -1
  119. package/src/actions/pol/getUserVaultsReward.ts +1 -1
  120. package/src/actions/pol/getVaultsSupply.ts +1 -1
  121. package/src/actions/pyth/getHoneyPythFeeds.ts +2 -1
  122. package/src/actions/transactions/beraWriteContract.integration.test.ts +48 -51
  123. package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.ts +3 -2
  124. package/src/actions/validators/getBaselineRewardAllocation.ts +2 -1
  125. package/src/actions/validators/getDefaultRewardAllocation.ts +2 -1
  126. package/src/actions/validators/getUserBoostsOnValidator.ts +2 -1
  127. package/src/actions/validators/getValidatorCommission.ts +2 -1
  128. package/src/actions/validators/getValidatorOperatorAddress.ts +2 -1
  129. package/src/actions/validators/getValidatorQueuedCommission.ts +2 -1
  130. package/src/actions/validators/getValidatorQueuedOperatorAddress.ts +2 -1
  131. package/src/actions/validators/getValidatorQueuedRewardAllocation.ts +2 -1
  132. package/src/actions/validators/getValidatorRewardAllocation.ts +2 -1
  133. package/src/actions/validators/getValidatorRewardAllocatorAddress.ts +2 -1
  134. package/src/actions/validators/utils/__tests__/validatorUtils.integration.test.ts +10 -11
  135. package/src/errors/getRevertReason.integration.test.ts +115 -107
  136. package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -1
  137. package/src/hooks/dex/useCreatePool.ts +2 -1
  138. package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +2 -1
  139. package/src/hooks/governance/useGetPastVotes.ts +2 -1
  140. package/src/hooks/governance/useHasVoted.ts +2 -1
  141. package/src/hooks/governance/useIsCanceller.ts +2 -1
  142. package/src/hooks/governance/usePollProposalThreshold.ts +2 -1
  143. package/src/hooks/governance/usePollUserDelegates.ts +2 -1
  144. package/src/hooks/governance/useProposalSnapshot.ts +2 -1
  145. package/src/hooks/governance/useProposalState.ts +2 -1
  146. package/src/hooks/governance/useProposalTimelockState.ts +5 -4
  147. package/src/hooks/pol/useBgtUnstakedBalance.ts +2 -1
  148. package/src/hooks/pol/useOnChainRewardVault.ts +2 -1
  149. package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +2 -1
  150. package/src/hooks/pol/useRewardVaultFromToken.ts +2 -1
  151. package/src/hooks/validators/useOnChainValidator.ts +4 -3
  152. package/dist/chunk-3YXSUBA5.mjs +0 -2
  153. package/dist/chunk-A4UDYSB6.mjs +0 -4
  154. package/dist/chunk-A4UDYSB6.mjs.map +0 -1
  155. package/dist/chunk-CYKCYPFR.cjs +0 -2
  156. package/dist/chunk-CYKCYPFR.cjs.map +0 -1
  157. package/dist/chunk-ECRMUMTA.mjs +0 -2
  158. package/dist/chunk-ECRMUMTA.mjs.map +0 -1
  159. package/dist/chunk-F4BKSBEM.mjs +0 -2
  160. package/dist/chunk-F4BKSBEM.mjs.map +0 -1
  161. package/dist/chunk-FL2N3XHK.cjs +0 -2
  162. package/dist/chunk-FL2N3XHK.cjs.map +0 -1
  163. package/dist/chunk-MUCEYO3E.cjs +0 -4
  164. package/dist/chunk-MUCEYO3E.cjs.map +0 -1
  165. package/dist/chunk-P2Q7CMUD.cjs +0 -2
  166. package/dist/chunk-P2Q7CMUD.cjs.map +0 -1
  167. package/dist/chunk-PKXAW6MO.cjs +0 -2
  168. package/dist/chunk-Q3SCM6WL.mjs +0 -2
  169. package/dist/chunk-Q3SCM6WL.mjs.map +0 -1
  170. package/dist/chunk-TEBJWAVU.mjs +0 -2
  171. package/dist/chunk-TEBJWAVU.mjs.map +0 -1
  172. package/dist/chunk-VP7XUOSI.cjs +0 -2
  173. package/dist/chunk-VP7XUOSI.cjs.map +0 -1
  174. package/dist/pythWrapper-CBjsmmsK.d.cts +0 -1958
  175. package/dist/pythWrapper-CBjsmmsK.d.ts +0 -1958
  176. package/src/abi/bend/metaMorpho.ts +0 -2584
  177. package/src/abi/bend/morpho.ts +0 -444
  178. package/src/abi/bex/aggregatorsRouter.ts +0 -492
  179. package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +0 -283
  180. package/src/abi/bex/balancerPoolCreationHelper.ts +0 -267
  181. package/src/abi/bex/balancerVault.ts +0 -757
  182. package/src/abi/governance/governance.ts +0 -1016
  183. package/src/abi/governance/governanceTimelock.ts +0 -589
  184. package/src/abi/honey/collateralVault.ts +0 -1144
  185. package/src/abi/honey/honey.ts +0 -563
  186. package/src/abi/honey/honeyFactory.ts +0 -1270
  187. package/src/abi/honey/honeyFactoryReader.ts +0 -894
  188. package/src/abi/honey/honeyRootOracle.ts +0 -492
  189. package/src/abi/honey/pythPriceOracle.ts +0 -619
  190. package/src/abi/honey/pythWrapper.ts +0 -446
  191. package/src/abi/pol/LSTStakerVault.ts +0 -2032
  192. package/src/abi/pol/beaconDeposit.ts +0 -595
  193. package/src/abi/pol/beraChef.ts +0 -1019
  194. package/src/abi/pol/bgt.ts +0 -1008
  195. package/src/abi/pol/bgtIncentiveDistributor.ts +0 -640
  196. package/src/abi/pol/bgtStaker.ts +0 -1034
  197. package/src/abi/pol/rewardAllocationFactory.ts +0 -408
  198. package/src/abi/pol/rewardVault.ts +0 -1928
  199. package/src/abi/pol/rewardVaultFactory.ts +0 -586
  200. package/src/abi/pol/rewardVaultHelper.ts +0 -882
  201. package/src/abi/pol/stakeBeraVault.ts +0 -1116
  202. package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +0 -618
  203. package/src/abi/pol/wbera.ts +0 -366
@@ -1,589 +0,0 @@
1
- export const governanceTimelockAbi = [
2
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3
- { type: "receive", stateMutability: "payable" },
4
- {
5
- type: "function",
6
- name: "CANCELLER_ROLE",
7
- inputs: [],
8
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
9
- stateMutability: "view",
10
- },
11
- {
12
- type: "function",
13
- name: "DEFAULT_ADMIN_ROLE",
14
- inputs: [],
15
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
16
- stateMutability: "view",
17
- },
18
- {
19
- type: "function",
20
- name: "EXECUTOR_ROLE",
21
- inputs: [],
22
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
23
- stateMutability: "view",
24
- },
25
- {
26
- type: "function",
27
- name: "PROPOSER_ROLE",
28
- inputs: [],
29
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
30
- stateMutability: "view",
31
- },
32
- {
33
- type: "function",
34
- name: "UPGRADE_INTERFACE_VERSION",
35
- inputs: [],
36
- outputs: [{ name: "", type: "string", internalType: "string" }],
37
- stateMutability: "view",
38
- },
39
- {
40
- type: "function",
41
- name: "cancel",
42
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
43
- outputs: [],
44
- stateMutability: "nonpayable",
45
- },
46
- {
47
- type: "function",
48
- name: "execute",
49
- inputs: [
50
- { name: "target", type: "address", internalType: "address" },
51
- { name: "value", type: "uint256", internalType: "uint256" },
52
- { name: "payload", type: "bytes", internalType: "bytes" },
53
- { name: "predecessor", type: "bytes32", internalType: "bytes32" },
54
- { name: "salt", type: "bytes32", internalType: "bytes32" },
55
- ],
56
- outputs: [],
57
- stateMutability: "payable",
58
- },
59
- {
60
- type: "function",
61
- name: "executeBatch",
62
- inputs: [
63
- { name: "targets", type: "address[]", internalType: "address[]" },
64
- { name: "values", type: "uint256[]", internalType: "uint256[]" },
65
- { name: "payloads", type: "bytes[]", internalType: "bytes[]" },
66
- { name: "predecessor", type: "bytes32", internalType: "bytes32" },
67
- { name: "salt", type: "bytes32", internalType: "bytes32" },
68
- ],
69
- outputs: [],
70
- stateMutability: "payable",
71
- },
72
- {
73
- type: "function",
74
- name: "getMinDelay",
75
- inputs: [],
76
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
77
- stateMutability: "view",
78
- },
79
- {
80
- type: "function",
81
- name: "getOperationState",
82
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
83
- outputs: [
84
- {
85
- name: "",
86
- type: "uint8",
87
- internalType: "enum TimelockControllerUpgradeable.OperationState",
88
- },
89
- ],
90
- stateMutability: "view",
91
- },
92
- {
93
- type: "function",
94
- name: "getRoleAdmin",
95
- inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
96
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
97
- stateMutability: "view",
98
- },
99
- {
100
- type: "function",
101
- name: "getTimestamp",
102
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
103
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
104
- stateMutability: "view",
105
- },
106
- {
107
- type: "function",
108
- name: "grantRole",
109
- inputs: [
110
- { name: "role", type: "bytes32", internalType: "bytes32" },
111
- { name: "account", type: "address", internalType: "address" },
112
- ],
113
- outputs: [],
114
- stateMutability: "nonpayable",
115
- },
116
- {
117
- type: "function",
118
- name: "hasRole",
119
- inputs: [
120
- { name: "role", type: "bytes32", internalType: "bytes32" },
121
- { name: "account", type: "address", internalType: "address" },
122
- ],
123
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
124
- stateMutability: "view",
125
- },
126
- {
127
- type: "function",
128
- name: "hashOperation",
129
- inputs: [
130
- { name: "target", type: "address", internalType: "address" },
131
- { name: "value", type: "uint256", internalType: "uint256" },
132
- { name: "data", type: "bytes", internalType: "bytes" },
133
- { name: "predecessor", type: "bytes32", internalType: "bytes32" },
134
- { name: "salt", type: "bytes32", internalType: "bytes32" },
135
- ],
136
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
137
- stateMutability: "pure",
138
- },
139
- {
140
- type: "function",
141
- name: "hashOperationBatch",
142
- inputs: [
143
- { name: "targets", type: "address[]", internalType: "address[]" },
144
- { name: "values", type: "uint256[]", internalType: "uint256[]" },
145
- { name: "payloads", type: "bytes[]", internalType: "bytes[]" },
146
- { name: "predecessor", type: "bytes32", internalType: "bytes32" },
147
- { name: "salt", type: "bytes32", internalType: "bytes32" },
148
- ],
149
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
150
- stateMutability: "pure",
151
- },
152
- {
153
- type: "function",
154
- name: "initialize",
155
- inputs: [
156
- { name: "minDelay", type: "uint256", internalType: "uint256" },
157
- { name: "proposers", type: "address[]", internalType: "address[]" },
158
- { name: "executors", type: "address[]", internalType: "address[]" },
159
- { name: "admin", type: "address", internalType: "address" },
160
- ],
161
- outputs: [],
162
- stateMutability: "nonpayable",
163
- },
164
- {
165
- type: "function",
166
- name: "isOperation",
167
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
168
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
169
- stateMutability: "view",
170
- },
171
- {
172
- type: "function",
173
- name: "isOperationDone",
174
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
175
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
176
- stateMutability: "view",
177
- },
178
- {
179
- type: "function",
180
- name: "isOperationPending",
181
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
182
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
183
- stateMutability: "view",
184
- },
185
- {
186
- type: "function",
187
- name: "isOperationReady",
188
- inputs: [{ name: "id", type: "bytes32", internalType: "bytes32" }],
189
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
190
- stateMutability: "view",
191
- },
192
- {
193
- type: "function",
194
- name: "onERC1155BatchReceived",
195
- inputs: [
196
- { name: "", type: "address", internalType: "address" },
197
- { name: "", type: "address", internalType: "address" },
198
- { name: "", type: "uint256[]", internalType: "uint256[]" },
199
- { name: "", type: "uint256[]", internalType: "uint256[]" },
200
- { name: "", type: "bytes", internalType: "bytes" },
201
- ],
202
- outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }],
203
- stateMutability: "nonpayable",
204
- },
205
- {
206
- type: "function",
207
- name: "onERC1155Received",
208
- inputs: [
209
- { name: "", type: "address", internalType: "address" },
210
- { name: "", type: "address", internalType: "address" },
211
- { name: "", type: "uint256", internalType: "uint256" },
212
- { name: "", type: "uint256", internalType: "uint256" },
213
- { name: "", type: "bytes", internalType: "bytes" },
214
- ],
215
- outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }],
216
- stateMutability: "nonpayable",
217
- },
218
- {
219
- type: "function",
220
- name: "onERC721Received",
221
- inputs: [
222
- { name: "", type: "address", internalType: "address" },
223
- { name: "", type: "address", internalType: "address" },
224
- { name: "", type: "uint256", internalType: "uint256" },
225
- { name: "", type: "bytes", internalType: "bytes" },
226
- ],
227
- outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }],
228
- stateMutability: "nonpayable",
229
- },
230
- {
231
- type: "function",
232
- name: "proxiableUUID",
233
- inputs: [],
234
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
235
- stateMutability: "view",
236
- },
237
- {
238
- type: "function",
239
- name: "renounceRole",
240
- inputs: [
241
- { name: "role", type: "bytes32", internalType: "bytes32" },
242
- {
243
- name: "callerConfirmation",
244
- type: "address",
245
- internalType: "address",
246
- },
247
- ],
248
- outputs: [],
249
- stateMutability: "nonpayable",
250
- },
251
- {
252
- type: "function",
253
- name: "revokeRole",
254
- inputs: [
255
- { name: "role", type: "bytes32", internalType: "bytes32" },
256
- { name: "account", type: "address", internalType: "address" },
257
- ],
258
- outputs: [],
259
- stateMutability: "nonpayable",
260
- },
261
- {
262
- type: "function",
263
- name: "schedule",
264
- inputs: [
265
- { name: "target", type: "address", internalType: "address" },
266
- { name: "value", type: "uint256", internalType: "uint256" },
267
- { name: "data", type: "bytes", internalType: "bytes" },
268
- { name: "predecessor", type: "bytes32", internalType: "bytes32" },
269
- { name: "salt", type: "bytes32", internalType: "bytes32" },
270
- { name: "delay", type: "uint256", internalType: "uint256" },
271
- ],
272
- outputs: [],
273
- stateMutability: "nonpayable",
274
- },
275
- {
276
- type: "function",
277
- name: "scheduleBatch",
278
- inputs: [
279
- { name: "targets", type: "address[]", internalType: "address[]" },
280
- { name: "values", type: "uint256[]", internalType: "uint256[]" },
281
- { name: "payloads", type: "bytes[]", internalType: "bytes[]" },
282
- { name: "predecessor", type: "bytes32", internalType: "bytes32" },
283
- { name: "salt", type: "bytes32", internalType: "bytes32" },
284
- { name: "delay", type: "uint256", internalType: "uint256" },
285
- ],
286
- outputs: [],
287
- stateMutability: "nonpayable",
288
- },
289
- {
290
- type: "function",
291
- name: "supportsInterface",
292
- inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
293
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
294
- stateMutability: "view",
295
- },
296
- {
297
- type: "function",
298
- name: "updateDelay",
299
- inputs: [{ name: "newDelay", type: "uint256", internalType: "uint256" }],
300
- outputs: [],
301
- stateMutability: "nonpayable",
302
- },
303
- {
304
- type: "function",
305
- name: "upgradeToAndCall",
306
- inputs: [
307
- { name: "newImplementation", type: "address", internalType: "address" },
308
- { name: "data", type: "bytes", internalType: "bytes" },
309
- ],
310
- outputs: [],
311
- stateMutability: "payable",
312
- },
313
- {
314
- type: "event",
315
- name: "CallExecuted",
316
- inputs: [
317
- { name: "id", type: "bytes32", indexed: true, internalType: "bytes32" },
318
- {
319
- name: "index",
320
- type: "uint256",
321
- indexed: true,
322
- internalType: "uint256",
323
- },
324
- {
325
- name: "target",
326
- type: "address",
327
- indexed: false,
328
- internalType: "address",
329
- },
330
- {
331
- name: "value",
332
- type: "uint256",
333
- indexed: false,
334
- internalType: "uint256",
335
- },
336
- { name: "data", type: "bytes", indexed: false, internalType: "bytes" },
337
- ],
338
- anonymous: false,
339
- },
340
- {
341
- type: "event",
342
- name: "CallSalt",
343
- inputs: [
344
- { name: "id", type: "bytes32", indexed: true, internalType: "bytes32" },
345
- {
346
- name: "salt",
347
- type: "bytes32",
348
- indexed: false,
349
- internalType: "bytes32",
350
- },
351
- ],
352
- anonymous: false,
353
- },
354
- {
355
- type: "event",
356
- name: "CallScheduled",
357
- inputs: [
358
- { name: "id", type: "bytes32", indexed: true, internalType: "bytes32" },
359
- {
360
- name: "index",
361
- type: "uint256",
362
- indexed: true,
363
- internalType: "uint256",
364
- },
365
- {
366
- name: "target",
367
- type: "address",
368
- indexed: false,
369
- internalType: "address",
370
- },
371
- {
372
- name: "value",
373
- type: "uint256",
374
- indexed: false,
375
- internalType: "uint256",
376
- },
377
- { name: "data", type: "bytes", indexed: false, internalType: "bytes" },
378
- {
379
- name: "predecessor",
380
- type: "bytes32",
381
- indexed: false,
382
- internalType: "bytes32",
383
- },
384
- {
385
- name: "delay",
386
- type: "uint256",
387
- indexed: false,
388
- internalType: "uint256",
389
- },
390
- ],
391
- anonymous: false,
392
- },
393
- {
394
- type: "event",
395
- name: "Cancelled",
396
- inputs: [
397
- { name: "id", type: "bytes32", indexed: true, internalType: "bytes32" },
398
- ],
399
- anonymous: false,
400
- },
401
- {
402
- type: "event",
403
- name: "Initialized",
404
- inputs: [
405
- {
406
- name: "version",
407
- type: "uint64",
408
- indexed: false,
409
- internalType: "uint64",
410
- },
411
- ],
412
- anonymous: false,
413
- },
414
- {
415
- type: "event",
416
- name: "MinDelayChange",
417
- inputs: [
418
- {
419
- name: "oldDuration",
420
- type: "uint256",
421
- indexed: false,
422
- internalType: "uint256",
423
- },
424
- {
425
- name: "newDuration",
426
- type: "uint256",
427
- indexed: false,
428
- internalType: "uint256",
429
- },
430
- ],
431
- anonymous: false,
432
- },
433
- {
434
- type: "event",
435
- name: "RoleAdminChanged",
436
- inputs: [
437
- {
438
- name: "role",
439
- type: "bytes32",
440
- indexed: true,
441
- internalType: "bytes32",
442
- },
443
- {
444
- name: "previousAdminRole",
445
- type: "bytes32",
446
- indexed: true,
447
- internalType: "bytes32",
448
- },
449
- {
450
- name: "newAdminRole",
451
- type: "bytes32",
452
- indexed: true,
453
- internalType: "bytes32",
454
- },
455
- ],
456
- anonymous: false,
457
- },
458
- {
459
- type: "event",
460
- name: "RoleGranted",
461
- inputs: [
462
- {
463
- name: "role",
464
- type: "bytes32",
465
- indexed: true,
466
- internalType: "bytes32",
467
- },
468
- {
469
- name: "account",
470
- type: "address",
471
- indexed: true,
472
- internalType: "address",
473
- },
474
- {
475
- name: "sender",
476
- type: "address",
477
- indexed: true,
478
- internalType: "address",
479
- },
480
- ],
481
- anonymous: false,
482
- },
483
- {
484
- type: "event",
485
- name: "RoleRevoked",
486
- inputs: [
487
- {
488
- name: "role",
489
- type: "bytes32",
490
- indexed: true,
491
- internalType: "bytes32",
492
- },
493
- {
494
- name: "account",
495
- type: "address",
496
- indexed: true,
497
- internalType: "address",
498
- },
499
- {
500
- name: "sender",
501
- type: "address",
502
- indexed: true,
503
- internalType: "address",
504
- },
505
- ],
506
- anonymous: false,
507
- },
508
- {
509
- type: "event",
510
- name: "Upgraded",
511
- inputs: [
512
- {
513
- name: "implementation",
514
- type: "address",
515
- indexed: true,
516
- internalType: "address",
517
- },
518
- ],
519
- anonymous: false,
520
- },
521
- { type: "error", name: "AccessControlBadConfirmation", inputs: [] },
522
- {
523
- type: "error",
524
- name: "AccessControlUnauthorizedAccount",
525
- inputs: [
526
- { name: "account", type: "address", internalType: "address" },
527
- { name: "neededRole", type: "bytes32", internalType: "bytes32" },
528
- ],
529
- },
530
- {
531
- type: "error",
532
- name: "AddressEmptyCode",
533
- inputs: [{ name: "target", type: "address", internalType: "address" }],
534
- },
535
- {
536
- type: "error",
537
- name: "ERC1967InvalidImplementation",
538
- inputs: [
539
- { name: "implementation", type: "address", internalType: "address" },
540
- ],
541
- },
542
- { type: "error", name: "ERC1967NonPayable", inputs: [] },
543
- { type: "error", name: "FailedInnerCall", inputs: [] },
544
- { type: "error", name: "InvalidInitialization", inputs: [] },
545
- { type: "error", name: "NotInitializing", inputs: [] },
546
- {
547
- type: "error",
548
- name: "TimelockInsufficientDelay",
549
- inputs: [
550
- { name: "delay", type: "uint256", internalType: "uint256" },
551
- { name: "minDelay", type: "uint256", internalType: "uint256" },
552
- ],
553
- },
554
- {
555
- type: "error",
556
- name: "TimelockInvalidOperationLength",
557
- inputs: [
558
- { name: "targets", type: "uint256", internalType: "uint256" },
559
- { name: "payloads", type: "uint256", internalType: "uint256" },
560
- { name: "values", type: "uint256", internalType: "uint256" },
561
- ],
562
- },
563
- {
564
- type: "error",
565
- name: "TimelockUnauthorizedCaller",
566
- inputs: [{ name: "caller", type: "address", internalType: "address" }],
567
- },
568
- {
569
- type: "error",
570
- name: "TimelockUnexecutedPredecessor",
571
- inputs: [
572
- { name: "predecessorId", type: "bytes32", internalType: "bytes32" },
573
- ],
574
- },
575
- {
576
- type: "error",
577
- name: "TimelockUnexpectedOperationState",
578
- inputs: [
579
- { name: "operationId", type: "bytes32", internalType: "bytes32" },
580
- { name: "expectedStates", type: "bytes32", internalType: "bytes32" },
581
- ],
582
- },
583
- { type: "error", name: "UUPSUnauthorizedCallContext", inputs: [] },
584
- {
585
- type: "error",
586
- name: "UUPSUnsupportedProxiableUUID",
587
- inputs: [{ name: "slot", type: "bytes32", internalType: "bytes32" }],
588
- },
589
- ] as const;