@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,563 +0,0 @@
1
- export const honeyAbi = [
2
- { inputs: [], stateMutability: "nonpayable", type: "constructor" },
3
- { inputs: [], name: "AccessControlBadConfirmation", type: "error" },
4
- {
5
- inputs: [
6
- { internalType: "address", name: "account", type: "address" },
7
- { internalType: "bytes32", name: "neededRole", type: "bytes32" },
8
- ],
9
- name: "AccessControlUnauthorizedAccount",
10
- type: "error",
11
- },
12
- {
13
- inputs: [{ internalType: "address", name: "target", type: "address" }],
14
- name: "AddressEmptyCode",
15
- type: "error",
16
- },
17
- { inputs: [], name: "AllowanceOverflow", type: "error" },
18
- { inputs: [], name: "AllowanceUnderflow", type: "error" },
19
- { inputs: [], name: "AmountOutOfRange", type: "error" },
20
- {
21
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
22
- name: "AssetIsBadCollateral",
23
- type: "error",
24
- },
25
- {
26
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
27
- name: "AssetIsNotBadCollateral",
28
- type: "error",
29
- },
30
- {
31
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
32
- name: "AssetNotRegistered",
33
- type: "error",
34
- },
35
- { inputs: [], name: "BlacklistedWallet", type: "error" },
36
- { inputs: [], name: "CapCanCauseDenialOfService", type: "error" },
37
- {
38
- inputs: [
39
- { internalType: "address", name: "implementation", type: "address" },
40
- ],
41
- name: "ERC1967InvalidImplementation",
42
- type: "error",
43
- },
44
- { inputs: [], name: "ERC1967NonPayable", type: "error" },
45
- { inputs: [], name: "EnforcedPause", type: "error" },
46
- { inputs: [], name: "ExceedGlobalCap", type: "error" },
47
- { inputs: [], name: "ExceedRelativeCap", type: "error" },
48
- { inputs: [], name: "ExpectedPause", type: "error" },
49
- { inputs: [], name: "FailedCall", type: "error" },
50
- { inputs: [], name: "InsufficientAllowance", type: "error" },
51
- {
52
- inputs: [
53
- { internalType: "uint256", name: "assets", type: "uint256" },
54
- { internalType: "uint256", name: "shares", type: "uint256" },
55
- ],
56
- name: "InsufficientAssets",
57
- type: "error",
58
- },
59
- { inputs: [], name: "InsufficientBalance", type: "error" },
60
- { inputs: [], name: "InsufficientBalanceToPayPythFee", type: "error" },
61
- {
62
- inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
63
- name: "InsufficientRecapitalizeAmount",
64
- type: "error",
65
- },
66
- { inputs: [], name: "InvalidCustodyInfoInput", type: "error" },
67
- { inputs: [], name: "InvalidInitialization", type: "error" },
68
- { inputs: [], name: "InvalidPermit", type: "error" },
69
- { inputs: [], name: "LiquidationDisabled", type: "error" },
70
- { inputs: [], name: "LiquidationWithReferenceCollateral", type: "error" },
71
- {
72
- inputs: [
73
- { internalType: "address", name: "owner", type: "address" },
74
- { internalType: "address", name: "expectedOwner", type: "address" },
75
- ],
76
- name: "MismatchedOwner",
77
- type: "error",
78
- },
79
- { inputs: [], name: "NotFactory", type: "error" },
80
- { inputs: [], name: "NotInitializing", type: "error" },
81
- {
82
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
83
- name: "NotPegged",
84
- type: "error",
85
- },
86
- {
87
- inputs: [{ internalType: "uint256", name: "rate", type: "uint256" }],
88
- name: "OverOneHundredPercentRate",
89
- type: "error",
90
- },
91
- { inputs: [], name: "Permit2AllowanceIsFixedAtInfinity", type: "error" },
92
- { inputs: [], name: "PermitExpired", type: "error" },
93
- {
94
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
95
- name: "RecapitalizeNotNeeded",
96
- type: "error",
97
- },
98
- { inputs: [], name: "TotalSupplyOverflow", type: "error" },
99
- { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" },
100
- {
101
- inputs: [{ internalType: "bytes32", name: "slot", type: "bytes32" }],
102
- name: "UUPSUnsupportedProxiableUUID",
103
- type: "error",
104
- },
105
- {
106
- inputs: [
107
- { internalType: "address", name: "caller", type: "address" },
108
- { internalType: "address", name: "expectedCaller", type: "address" },
109
- ],
110
- name: "UnauthorizedCaller",
111
- type: "error",
112
- },
113
- {
114
- inputs: [{ internalType: "uint256", name: "rate", type: "uint256" }],
115
- name: "UnderNinetyEightPercentRate",
116
- type: "error",
117
- },
118
- { inputs: [], name: "UnexpectedBasketModeStatus", type: "error" },
119
- {
120
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
121
- name: "VaultAlreadyRegistered",
122
- type: "error",
123
- },
124
- { inputs: [], name: "VaultPaused", type: "error" },
125
- { inputs: [], name: "ZeroAddress", type: "error" },
126
- { inputs: [], name: "ZeroAmount", type: "error" },
127
- {
128
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
129
- name: "ZeroWeight",
130
- type: "error",
131
- },
132
- {
133
- anonymous: false,
134
- inputs: [
135
- {
136
- indexed: true,
137
- internalType: "address",
138
- name: "owner",
139
- type: "address",
140
- },
141
- {
142
- indexed: true,
143
- internalType: "address",
144
- name: "spender",
145
- type: "address",
146
- },
147
- {
148
- indexed: false,
149
- internalType: "uint256",
150
- name: "amount",
151
- type: "uint256",
152
- },
153
- ],
154
- name: "Approval",
155
- type: "event",
156
- },
157
- {
158
- anonymous: false,
159
- inputs: [
160
- {
161
- indexed: false,
162
- internalType: "address",
163
- name: "wallet",
164
- type: "address",
165
- },
166
- { indexed: false, internalType: "bool", name: "status", type: "bool" },
167
- ],
168
- name: "BlacklistedStatusChanged",
169
- type: "event",
170
- },
171
- {
172
- anonymous: false,
173
- inputs: [
174
- {
175
- indexed: false,
176
- internalType: "uint64",
177
- name: "version",
178
- type: "uint64",
179
- },
180
- ],
181
- name: "Initialized",
182
- type: "event",
183
- },
184
- {
185
- anonymous: false,
186
- inputs: [
187
- {
188
- indexed: false,
189
- internalType: "address",
190
- name: "account",
191
- type: "address",
192
- },
193
- ],
194
- name: "Paused",
195
- type: "event",
196
- },
197
- {
198
- anonymous: false,
199
- inputs: [
200
- { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
201
- {
202
- indexed: true,
203
- internalType: "bytes32",
204
- name: "previousAdminRole",
205
- type: "bytes32",
206
- },
207
- {
208
- indexed: true,
209
- internalType: "bytes32",
210
- name: "newAdminRole",
211
- type: "bytes32",
212
- },
213
- ],
214
- name: "RoleAdminChanged",
215
- type: "event",
216
- },
217
- {
218
- anonymous: false,
219
- inputs: [
220
- { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
221
- {
222
- indexed: true,
223
- internalType: "address",
224
- name: "account",
225
- type: "address",
226
- },
227
- {
228
- indexed: true,
229
- internalType: "address",
230
- name: "sender",
231
- type: "address",
232
- },
233
- ],
234
- name: "RoleGranted",
235
- type: "event",
236
- },
237
- {
238
- anonymous: false,
239
- inputs: [
240
- { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
241
- {
242
- indexed: true,
243
- internalType: "address",
244
- name: "account",
245
- type: "address",
246
- },
247
- {
248
- indexed: true,
249
- internalType: "address",
250
- name: "sender",
251
- type: "address",
252
- },
253
- ],
254
- name: "RoleRevoked",
255
- type: "event",
256
- },
257
- {
258
- anonymous: false,
259
- inputs: [
260
- { indexed: true, internalType: "address", name: "from", type: "address" },
261
- { indexed: true, internalType: "address", name: "to", type: "address" },
262
- {
263
- indexed: false,
264
- internalType: "uint256",
265
- name: "amount",
266
- type: "uint256",
267
- },
268
- ],
269
- name: "Transfer",
270
- type: "event",
271
- },
272
- {
273
- anonymous: false,
274
- inputs: [
275
- {
276
- indexed: false,
277
- internalType: "address",
278
- name: "account",
279
- type: "address",
280
- },
281
- ],
282
- name: "Unpaused",
283
- type: "event",
284
- },
285
- {
286
- anonymous: false,
287
- inputs: [
288
- {
289
- indexed: true,
290
- internalType: "address",
291
- name: "implementation",
292
- type: "address",
293
- },
294
- ],
295
- name: "Upgraded",
296
- type: "event",
297
- },
298
- {
299
- inputs: [],
300
- name: "DEFAULT_ADMIN_ROLE",
301
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
302
- stateMutability: "view",
303
- type: "function",
304
- },
305
- {
306
- inputs: [],
307
- name: "DOMAIN_SEPARATOR",
308
- outputs: [{ internalType: "bytes32", name: "result", type: "bytes32" }],
309
- stateMutability: "view",
310
- type: "function",
311
- },
312
- {
313
- inputs: [],
314
- name: "UPGRADE_INTERFACE_VERSION",
315
- outputs: [{ internalType: "string", name: "", type: "string" }],
316
- stateMutability: "view",
317
- type: "function",
318
- },
319
- {
320
- inputs: [
321
- { internalType: "address", name: "owner", type: "address" },
322
- { internalType: "address", name: "spender", type: "address" },
323
- ],
324
- name: "allowance",
325
- outputs: [{ internalType: "uint256", name: "result", type: "uint256" }],
326
- stateMutability: "view",
327
- type: "function",
328
- },
329
- {
330
- inputs: [
331
- { internalType: "address", name: "spender", type: "address" },
332
- { internalType: "uint256", name: "amount", type: "uint256" },
333
- ],
334
- name: "approve",
335
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
336
- stateMutability: "nonpayable",
337
- type: "function",
338
- },
339
- {
340
- inputs: [{ internalType: "address", name: "owner", type: "address" }],
341
- name: "balanceOf",
342
- outputs: [{ internalType: "uint256", name: "result", type: "uint256" }],
343
- stateMutability: "view",
344
- type: "function",
345
- },
346
- {
347
- inputs: [
348
- { internalType: "address", name: "from", type: "address" },
349
- { internalType: "uint256", name: "amount", type: "uint256" },
350
- ],
351
- name: "burn",
352
- outputs: [],
353
- stateMutability: "nonpayable",
354
- type: "function",
355
- },
356
- {
357
- inputs: [],
358
- name: "decimals",
359
- outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
360
- stateMutability: "view",
361
- type: "function",
362
- },
363
- {
364
- inputs: [],
365
- name: "factory",
366
- outputs: [{ internalType: "address", name: "", type: "address" }],
367
- stateMutability: "view",
368
- type: "function",
369
- },
370
- {
371
- inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
372
- name: "getRoleAdmin",
373
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
374
- stateMutability: "view",
375
- type: "function",
376
- },
377
- {
378
- inputs: [
379
- { internalType: "bytes32", name: "role", type: "bytes32" },
380
- { internalType: "address", name: "account", type: "address" },
381
- ],
382
- name: "grantRole",
383
- outputs: [],
384
- stateMutability: "nonpayable",
385
- type: "function",
386
- },
387
- {
388
- inputs: [
389
- { internalType: "bytes32", name: "role", type: "bytes32" },
390
- { internalType: "address", name: "account", type: "address" },
391
- ],
392
- name: "hasRole",
393
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
394
- stateMutability: "view",
395
- type: "function",
396
- },
397
- {
398
- inputs: [
399
- { internalType: "address", name: "_governance", type: "address" },
400
- { internalType: "address", name: "_factory", type: "address" },
401
- ],
402
- name: "initialize",
403
- outputs: [],
404
- stateMutability: "nonpayable",
405
- type: "function",
406
- },
407
- {
408
- inputs: [],
409
- name: "initializeV1Update",
410
- outputs: [],
411
- stateMutability: "nonpayable",
412
- type: "function",
413
- },
414
- {
415
- inputs: [{ internalType: "address", name: "wallet", type: "address" }],
416
- name: "isBlacklistedWallet",
417
- outputs: [{ internalType: "bool", name: "blacklisted", type: "bool" }],
418
- stateMutability: "view",
419
- type: "function",
420
- },
421
- {
422
- inputs: [
423
- { internalType: "address", name: "to", type: "address" },
424
- { internalType: "uint256", name: "amount", type: "uint256" },
425
- ],
426
- name: "mint",
427
- outputs: [],
428
- stateMutability: "nonpayable",
429
- type: "function",
430
- },
431
- {
432
- inputs: [],
433
- name: "name",
434
- outputs: [{ internalType: "string", name: "", type: "string" }],
435
- stateMutability: "pure",
436
- type: "function",
437
- },
438
- {
439
- inputs: [{ internalType: "address", name: "owner", type: "address" }],
440
- name: "nonces",
441
- outputs: [{ internalType: "uint256", name: "result", type: "uint256" }],
442
- stateMutability: "view",
443
- type: "function",
444
- },
445
- {
446
- inputs: [],
447
- name: "paused",
448
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
449
- stateMutability: "view",
450
- type: "function",
451
- },
452
- {
453
- inputs: [
454
- { internalType: "address", name: "owner", type: "address" },
455
- { internalType: "address", name: "spender", type: "address" },
456
- { internalType: "uint256", name: "value", type: "uint256" },
457
- { internalType: "uint256", name: "deadline", type: "uint256" },
458
- { internalType: "uint8", name: "v", type: "uint8" },
459
- { internalType: "bytes32", name: "r", type: "bytes32" },
460
- { internalType: "bytes32", name: "s", type: "bytes32" },
461
- ],
462
- name: "permit",
463
- outputs: [],
464
- stateMutability: "nonpayable",
465
- type: "function",
466
- },
467
- {
468
- inputs: [],
469
- name: "proxiableUUID",
470
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
471
- stateMutability: "view",
472
- type: "function",
473
- },
474
- {
475
- inputs: [
476
- { internalType: "bytes32", name: "role", type: "bytes32" },
477
- { internalType: "address", name: "callerConfirmation", type: "address" },
478
- ],
479
- name: "renounceRole",
480
- outputs: [],
481
- stateMutability: "nonpayable",
482
- type: "function",
483
- },
484
- {
485
- inputs: [
486
- { internalType: "bytes32", name: "role", type: "bytes32" },
487
- { internalType: "address", name: "account", type: "address" },
488
- ],
489
- name: "revokeRole",
490
- outputs: [],
491
- stateMutability: "nonpayable",
492
- type: "function",
493
- },
494
- {
495
- inputs: [
496
- { internalType: "address", name: "wallet", type: "address" },
497
- { internalType: "bool", name: "status", type: "bool" },
498
- ],
499
- name: "setBlacklisted",
500
- outputs: [],
501
- stateMutability: "nonpayable",
502
- type: "function",
503
- },
504
- {
505
- inputs: [{ internalType: "bool", name: "pause", type: "bool" }],
506
- name: "setPaused",
507
- outputs: [],
508
- stateMutability: "nonpayable",
509
- type: "function",
510
- },
511
- {
512
- inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
513
- name: "supportsInterface",
514
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
515
- stateMutability: "view",
516
- type: "function",
517
- },
518
- {
519
- inputs: [],
520
- name: "symbol",
521
- outputs: [{ internalType: "string", name: "", type: "string" }],
522
- stateMutability: "pure",
523
- type: "function",
524
- },
525
- {
526
- inputs: [],
527
- name: "totalSupply",
528
- outputs: [{ internalType: "uint256", name: "result", type: "uint256" }],
529
- stateMutability: "view",
530
- type: "function",
531
- },
532
- {
533
- inputs: [
534
- { internalType: "address", name: "to", type: "address" },
535
- { internalType: "uint256", name: "amount", type: "uint256" },
536
- ],
537
- name: "transfer",
538
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
539
- stateMutability: "nonpayable",
540
- type: "function",
541
- },
542
- {
543
- inputs: [
544
- { internalType: "address", name: "from", type: "address" },
545
- { internalType: "address", name: "to", type: "address" },
546
- { internalType: "uint256", name: "amount", type: "uint256" },
547
- ],
548
- name: "transferFrom",
549
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
550
- stateMutability: "nonpayable",
551
- type: "function",
552
- },
553
- {
554
- inputs: [
555
- { internalType: "address", name: "newImplementation", type: "address" },
556
- { internalType: "bytes", name: "data", type: "bytes" },
557
- ],
558
- name: "upgradeToAndCall",
559
- outputs: [],
560
- stateMutability: "payable",
561
- type: "function",
562
- },
563
- ] as const;