@sudobility/heavymath_ui 0.0.3

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 (201) hide show
  1. package/dist/components/dealer/DealerNFTList.d.ts +6 -0
  2. package/dist/components/dealer/DealerNFTList.d.ts.map +1 -0
  3. package/dist/components/dealer/DealerNFTList.js +46 -0
  4. package/dist/components/dealer/DealerNFTList.js.map +1 -0
  5. package/dist/components/dealer/DealerNFTSelector.d.ts +8 -0
  6. package/dist/components/dealer/DealerNFTSelector.d.ts.map +1 -0
  7. package/dist/components/dealer/DealerNFTSelector.js +10 -0
  8. package/dist/components/dealer/DealerNFTSelector.js.map +1 -0
  9. package/dist/components/dealer/UpcomingGamesWidget.d.ts +8 -0
  10. package/dist/components/dealer/UpcomingGamesWidget.d.ts.map +1 -0
  11. package/dist/components/dealer/UpcomingGamesWidget.js +68 -0
  12. package/dist/components/dealer/UpcomingGamesWidget.js.map +1 -0
  13. package/dist/components/icons/index.d.ts +2 -0
  14. package/dist/components/icons/index.d.ts.map +1 -0
  15. package/dist/components/icons/index.js +2 -0
  16. package/dist/components/icons/index.js.map +1 -0
  17. package/dist/components/market/GameMarketsSection.d.ts +16 -0
  18. package/dist/components/market/GameMarketsSection.d.ts.map +1 -0
  19. package/dist/components/market/GameMarketsSection.js +18 -0
  20. package/dist/components/market/GameMarketsSection.js.map +1 -0
  21. package/dist/components/market/InlineCreateMarketForm.d.ts +17 -0
  22. package/dist/components/market/InlineCreateMarketForm.d.ts.map +1 -0
  23. package/dist/components/market/InlineCreateMarketForm.js +274 -0
  24. package/dist/components/market/InlineCreateMarketForm.js.map +1 -0
  25. package/dist/components/market/LeagueMarketsSection.d.ts +16 -0
  26. package/dist/components/market/LeagueMarketsSection.d.ts.map +1 -0
  27. package/dist/components/market/LeagueMarketsSection.js +15 -0
  28. package/dist/components/market/LeagueMarketsSection.js.map +1 -0
  29. package/dist/components/market/MarketCard.d.ts +8 -0
  30. package/dist/components/market/MarketCard.d.ts.map +1 -0
  31. package/dist/components/market/MarketCard.js +30 -0
  32. package/dist/components/market/MarketCard.js.map +1 -0
  33. package/dist/components/market/MarketList.d.ts +9 -0
  34. package/dist/components/market/MarketList.d.ts.map +1 -0
  35. package/dist/components/market/MarketList.js +17 -0
  36. package/dist/components/market/MarketList.js.map +1 -0
  37. package/dist/components/market/MarketStatusBadge.d.ts +8 -0
  38. package/dist/components/market/MarketStatusBadge.d.ts.map +1 -0
  39. package/dist/components/market/MarketStatusBadge.js +31 -0
  40. package/dist/components/market/MarketStatusBadge.js.map +1 -0
  41. package/dist/components/market/PredictionSlider.d.ts +11 -0
  42. package/dist/components/market/PredictionSlider.d.ts.map +1 -0
  43. package/dist/components/market/PredictionSlider.js +55 -0
  44. package/dist/components/market/PredictionSlider.js.map +1 -0
  45. package/dist/components/market/SportPredictionCard.d.ts +15 -0
  46. package/dist/components/market/SportPredictionCard.d.ts.map +1 -0
  47. package/dist/components/market/SportPredictionCard.js +92 -0
  48. package/dist/components/market/SportPredictionCard.js.map +1 -0
  49. package/dist/components/market/TeamMarketsSection.d.ts +17 -0
  50. package/dist/components/market/TeamMarketsSection.d.ts.map +1 -0
  51. package/dist/components/market/TeamMarketsSection.js +8 -0
  52. package/dist/components/market/TeamMarketsSection.js.map +1 -0
  53. package/dist/components/market/TeamTournamentMarketForm.d.ts +19 -0
  54. package/dist/components/market/TeamTournamentMarketForm.d.ts.map +1 -0
  55. package/dist/components/market/TeamTournamentMarketForm.js +92 -0
  56. package/dist/components/market/TeamTournamentMarketForm.js.map +1 -0
  57. package/dist/components/market/TournamentMarketForm.d.ts +19 -0
  58. package/dist/components/market/TournamentMarketForm.d.ts.map +1 -0
  59. package/dist/components/market/TournamentMarketForm.js +86 -0
  60. package/dist/components/market/TournamentMarketForm.js.map +1 -0
  61. package/dist/components/market/index.d.ts +12 -0
  62. package/dist/components/market/index.d.ts.map +1 -0
  63. package/dist/components/market/index.js +12 -0
  64. package/dist/components/market/index.js.map +1 -0
  65. package/dist/components/sports/SeasonSelector.d.ts +10 -0
  66. package/dist/components/sports/SeasonSelector.d.ts.map +1 -0
  67. package/dist/components/sports/SeasonSelector.js +13 -0
  68. package/dist/components/sports/SeasonSelector.js.map +1 -0
  69. package/dist/components/ui/AnimatedCollapse.d.ts +9 -0
  70. package/dist/components/ui/AnimatedCollapse.d.ts.map +1 -0
  71. package/dist/components/ui/AnimatedCollapse.js +8 -0
  72. package/dist/components/ui/AnimatedCollapse.js.map +1 -0
  73. package/dist/components/ui/FavoriteStar.d.ts +13 -0
  74. package/dist/components/ui/FavoriteStar.d.ts.map +1 -0
  75. package/dist/components/ui/FavoriteStar.js +47 -0
  76. package/dist/components/ui/FavoriteStar.js.map +1 -0
  77. package/dist/components/wallet/ConnectedWalletMenu.d.ts +16 -0
  78. package/dist/components/wallet/ConnectedWalletMenu.d.ts.map +1 -0
  79. package/dist/components/wallet/ConnectedWalletMenu.js +131 -0
  80. package/dist/components/wallet/ConnectedWalletMenu.js.map +1 -0
  81. package/dist/components/wallet/DealerRoute.d.ts +6 -0
  82. package/dist/components/wallet/DealerRoute.d.ts.map +1 -0
  83. package/dist/components/wallet/DealerRoute.js +20 -0
  84. package/dist/components/wallet/DealerRoute.js.map +1 -0
  85. package/dist/components/wallet/ProtectedRoute.d.ts +8 -0
  86. package/dist/components/wallet/ProtectedRoute.d.ts.map +1 -0
  87. package/dist/components/wallet/ProtectedRoute.js +17 -0
  88. package/dist/components/wallet/ProtectedRoute.js.map +1 -0
  89. package/dist/components/wallet/WalletConnectionModal.d.ts +7 -0
  90. package/dist/components/wallet/WalletConnectionModal.d.ts.map +1 -0
  91. package/dist/components/wallet/WalletConnectionModal.js +334 -0
  92. package/dist/components/wallet/WalletConnectionModal.js.map +1 -0
  93. package/dist/config/app.d.ts +24 -0
  94. package/dist/config/app.d.ts.map +1 -0
  95. package/dist/config/app.js +18 -0
  96. package/dist/config/app.js.map +1 -0
  97. package/dist/config/chains.d.ts +1070 -0
  98. package/dist/config/chains.d.ts.map +1 -0
  99. package/dist/config/chains.js +28 -0
  100. package/dist/config/chains.js.map +1 -0
  101. package/dist/config/contracts.d.ts +15 -0
  102. package/dist/config/contracts.d.ts.map +1 -0
  103. package/dist/config/contracts.js +62 -0
  104. package/dist/config/contracts.js.map +1 -0
  105. package/dist/config/sportCodes.d.ts +58 -0
  106. package/dist/config/sportCodes.d.ts.map +1 -0
  107. package/dist/config/sportCodes.js +78 -0
  108. package/dist/config/sportCodes.js.map +1 -0
  109. package/dist/context/IndexerContext.d.ts +34 -0
  110. package/dist/context/IndexerContext.d.ts.map +1 -0
  111. package/dist/context/IndexerContext.js +40 -0
  112. package/dist/context/IndexerContext.js.map +1 -0
  113. package/dist/context/WalletAuthContext.d.ts +26 -0
  114. package/dist/context/WalletAuthContext.d.ts.map +1 -0
  115. package/dist/context/WalletAuthContext.js +148 -0
  116. package/dist/context/WalletAuthContext.js.map +1 -0
  117. package/dist/hooks/index.d.ts +13 -0
  118. package/dist/hooks/index.d.ts.map +1 -0
  119. package/dist/hooks/index.js +13 -0
  120. package/dist/hooks/index.js.map +1 -0
  121. package/dist/hooks/useContractWithToast.d.ts +1348 -0
  122. package/dist/hooks/useContractWithToast.d.ts.map +1 -0
  123. package/dist/hooks/useContractWithToast.js +395 -0
  124. package/dist/hooks/useContractWithToast.js.map +1 -0
  125. package/dist/hooks/useDealerNFT.d.ts +71 -0
  126. package/dist/hooks/useDealerNFT.d.ts.map +1 -0
  127. package/dist/hooks/useDealerNFT.js +127 -0
  128. package/dist/hooks/useDealerNFT.js.map +1 -0
  129. package/dist/hooks/useDealerPermission.d.ts +11 -0
  130. package/dist/hooks/useDealerPermission.d.ts.map +1 -0
  131. package/dist/hooks/useDealerPermission.js +48 -0
  132. package/dist/hooks/useDealerPermission.js.map +1 -0
  133. package/dist/hooks/useFilteredSportsData.d.ts +20 -0
  134. package/dist/hooks/useFilteredSportsData.d.ts.map +1 -0
  135. package/dist/hooks/useFilteredSportsData.js +52 -0
  136. package/dist/hooks/useFilteredSportsData.js.map +1 -0
  137. package/dist/hooks/useGameMarkets.d.ts +23 -0
  138. package/dist/hooks/useGameMarkets.d.ts.map +1 -0
  139. package/dist/hooks/useGameMarkets.js +50 -0
  140. package/dist/hooks/useGameMarkets.js.map +1 -0
  141. package/dist/hooks/useLeagueMarkets.d.ts +11 -0
  142. package/dist/hooks/useLeagueMarkets.d.ts.map +1 -0
  143. package/dist/hooks/useLeagueMarkets.js +38 -0
  144. package/dist/hooks/useLeagueMarkets.js.map +1 -0
  145. package/dist/hooks/useMarketContract.d.ts +219 -0
  146. package/dist/hooks/useMarketContract.d.ts.map +1 -0
  147. package/dist/hooks/useMarketContract.js +790 -0
  148. package/dist/hooks/useMarketContract.js.map +1 -0
  149. package/dist/hooks/useToastActions.d.ts +13 -0
  150. package/dist/hooks/useToastActions.d.ts.map +1 -0
  151. package/dist/hooks/useToastActions.js +40 -0
  152. package/dist/hooks/useToastActions.js.map +1 -0
  153. package/dist/index.d.ts +43 -0
  154. package/dist/index.d.ts.map +1 -0
  155. package/dist/index.js +47 -0
  156. package/dist/index.js.map +1 -0
  157. package/dist/lib/evmClient.d.ts +299 -0
  158. package/dist/lib/evmClient.d.ts.map +1 -0
  159. package/dist/lib/evmClient.js +691 -0
  160. package/dist/lib/evmClient.js.map +1 -0
  161. package/dist/types/auth.d.ts +44 -0
  162. package/dist/types/auth.d.ts.map +1 -0
  163. package/dist/types/auth.js +17 -0
  164. package/dist/types/auth.js.map +1 -0
  165. package/dist/types/dealer.d.ts +59 -0
  166. package/dist/types/dealer.d.ts.map +1 -0
  167. package/dist/types/dealer.js +31 -0
  168. package/dist/types/dealer.js.map +1 -0
  169. package/dist/types/market.d.ts +79 -0
  170. package/dist/types/market.d.ts.map +1 -0
  171. package/dist/types/market.js +47 -0
  172. package/dist/types/market.js.map +1 -0
  173. package/dist/utils/conditionData.d.ts +8 -0
  174. package/dist/utils/conditionData.d.ts.map +1 -0
  175. package/dist/utils/conditionData.js +7 -0
  176. package/dist/utils/conditionData.js.map +1 -0
  177. package/dist/utils/datetime.d.ts +3 -0
  178. package/dist/utils/datetime.d.ts.map +1 -0
  179. package/dist/utils/datetime.js +13 -0
  180. package/dist/utils/datetime.js.map +1 -0
  181. package/dist/utils/format.d.ts +79 -0
  182. package/dist/utils/format.d.ts.map +1 -0
  183. package/dist/utils/format.js +144 -0
  184. package/dist/utils/format.js.map +1 -0
  185. package/dist/utils/marketDisplay.d.ts +28 -0
  186. package/dist/utils/marketDisplay.d.ts.map +1 -0
  187. package/dist/utils/marketDisplay.js +45 -0
  188. package/dist/utils/marketDisplay.js.map +1 -0
  189. package/dist/utils/marketId.d.ts +8 -0
  190. package/dist/utils/marketId.d.ts.map +1 -0
  191. package/dist/utils/marketId.js +12 -0
  192. package/dist/utils/marketId.js.map +1 -0
  193. package/dist/utils/oracleId.d.ts +33 -0
  194. package/dist/utils/oracleId.d.ts.map +1 -0
  195. package/dist/utils/oracleId.js +62 -0
  196. package/dist/utils/oracleId.js.map +1 -0
  197. package/dist/utils/sportsSeason.d.ts +10 -0
  198. package/dist/utils/sportsSeason.d.ts.map +1 -0
  199. package/dist/utils/sportsSeason.js +39 -0
  200. package/dist/utils/sportsSeason.js.map +1 -0
  201. package/package.json +85 -0
@@ -0,0 +1,1070 @@
1
+ export declare const supportedChains: readonly [{
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Etherscan";
5
+ readonly url: "https://etherscan.io";
6
+ readonly apiUrl: "https://api.etherscan.io/api";
7
+ };
8
+ };
9
+ blockTime: 12000;
10
+ contracts: {
11
+ readonly ensUniversalResolver: {
12
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
13
+ readonly blockCreated: 23085558;
14
+ };
15
+ readonly multicall3: {
16
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
17
+ readonly blockCreated: 14353601;
18
+ };
19
+ };
20
+ ensTlds?: readonly string[] | undefined;
21
+ id: 1;
22
+ name: "Ethereum";
23
+ nativeCurrency: {
24
+ readonly name: "Ether";
25
+ readonly symbol: "ETH";
26
+ readonly decimals: 18;
27
+ };
28
+ experimental_preconfirmationTime?: number | undefined | undefined;
29
+ rpcUrls: {
30
+ readonly default: {
31
+ readonly http: readonly ["https://eth.merkle.io"];
32
+ };
33
+ };
34
+ sourceId?: number | undefined | undefined;
35
+ testnet?: boolean | undefined | undefined;
36
+ custom?: Record<string, unknown> | undefined;
37
+ extendSchema?: Record<string, unknown> | undefined;
38
+ fees?: import("viem").ChainFees<undefined> | undefined;
39
+ formatters?: undefined;
40
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
41
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
42
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
43
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
44
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
45
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
46
+ }] | undefined;
47
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
48
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
49
+ }, {
50
+ blockExplorers: {
51
+ readonly default: {
52
+ readonly name: "Etherscan";
53
+ readonly url: "https://sepolia.etherscan.io";
54
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
55
+ };
56
+ };
57
+ blockTime?: number | undefined | undefined;
58
+ contracts: {
59
+ readonly multicall3: {
60
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
61
+ readonly blockCreated: 751532;
62
+ };
63
+ readonly ensUniversalResolver: {
64
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
65
+ readonly blockCreated: 8928790;
66
+ };
67
+ };
68
+ ensTlds?: readonly string[] | undefined;
69
+ id: 11155111;
70
+ name: "Sepolia";
71
+ nativeCurrency: {
72
+ readonly name: "Sepolia Ether";
73
+ readonly symbol: "ETH";
74
+ readonly decimals: 18;
75
+ };
76
+ experimental_preconfirmationTime?: number | undefined | undefined;
77
+ rpcUrls: {
78
+ readonly default: {
79
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
80
+ };
81
+ };
82
+ sourceId?: number | undefined | undefined;
83
+ testnet: true;
84
+ custom?: Record<string, unknown> | undefined;
85
+ extendSchema?: Record<string, unknown> | undefined;
86
+ fees?: import("viem").ChainFees<undefined> | undefined;
87
+ formatters?: undefined;
88
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
89
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
90
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
91
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
92
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
93
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
94
+ }] | undefined;
95
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
96
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
97
+ }, {
98
+ blockExplorers: {
99
+ readonly default: {
100
+ readonly name: "PolygonScan";
101
+ readonly url: "https://polygonscan.com";
102
+ readonly apiUrl: "https://api.etherscan.io/v2/api";
103
+ };
104
+ };
105
+ blockTime: 2000;
106
+ contracts: {
107
+ readonly multicall3: {
108
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
109
+ readonly blockCreated: 25770160;
110
+ };
111
+ };
112
+ ensTlds?: readonly string[] | undefined;
113
+ id: 137;
114
+ name: "Polygon";
115
+ nativeCurrency: {
116
+ readonly name: "POL";
117
+ readonly symbol: "POL";
118
+ readonly decimals: 18;
119
+ };
120
+ experimental_preconfirmationTime?: number | undefined | undefined;
121
+ rpcUrls: {
122
+ readonly default: {
123
+ readonly http: readonly ["https://polygon.drpc.org"];
124
+ };
125
+ };
126
+ sourceId?: number | undefined | undefined;
127
+ testnet?: boolean | undefined | undefined;
128
+ custom?: Record<string, unknown> | undefined;
129
+ extendSchema?: Record<string, unknown> | undefined;
130
+ fees?: import("viem").ChainFees<undefined> | undefined;
131
+ formatters?: undefined;
132
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
133
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
134
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
135
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
136
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
137
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
138
+ }] | undefined;
139
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
140
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
141
+ }, {
142
+ blockExplorers: {
143
+ readonly default: {
144
+ readonly name: "Arbiscan";
145
+ readonly url: "https://arbiscan.io";
146
+ readonly apiUrl: "https://api.arbiscan.io/api";
147
+ };
148
+ };
149
+ blockTime: 250;
150
+ contracts: {
151
+ readonly multicall3: {
152
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
153
+ readonly blockCreated: 7654707;
154
+ };
155
+ };
156
+ ensTlds?: readonly string[] | undefined;
157
+ id: 42161;
158
+ name: "Arbitrum One";
159
+ nativeCurrency: {
160
+ readonly name: "Ether";
161
+ readonly symbol: "ETH";
162
+ readonly decimals: 18;
163
+ };
164
+ experimental_preconfirmationTime?: number | undefined | undefined;
165
+ rpcUrls: {
166
+ readonly default: {
167
+ readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
168
+ };
169
+ };
170
+ sourceId?: number | undefined | undefined;
171
+ testnet?: boolean | undefined | undefined;
172
+ custom?: Record<string, unknown> | undefined;
173
+ extendSchema?: Record<string, unknown> | undefined;
174
+ fees?: import("viem").ChainFees<undefined> | undefined;
175
+ formatters?: undefined;
176
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
177
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
178
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
179
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
180
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
181
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
182
+ }] | undefined;
183
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
184
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
185
+ }, {
186
+ blockExplorers: {
187
+ readonly default: {
188
+ readonly name: "Optimism Explorer";
189
+ readonly url: "https://optimistic.etherscan.io";
190
+ readonly apiUrl: "https://api-optimistic.etherscan.io/api";
191
+ };
192
+ };
193
+ blockTime: 2000;
194
+ contracts: {
195
+ readonly disputeGameFactory: {
196
+ readonly 1: {
197
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
198
+ };
199
+ };
200
+ readonly l2OutputOracle: {
201
+ readonly 1: {
202
+ readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
203
+ };
204
+ };
205
+ readonly multicall3: {
206
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
207
+ readonly blockCreated: 4286263;
208
+ };
209
+ readonly portal: {
210
+ readonly 1: {
211
+ readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
212
+ };
213
+ };
214
+ readonly l1StandardBridge: {
215
+ readonly 1: {
216
+ readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
217
+ };
218
+ };
219
+ readonly gasPriceOracle: {
220
+ readonly address: "0x420000000000000000000000000000000000000F";
221
+ };
222
+ readonly l1Block: {
223
+ readonly address: "0x4200000000000000000000000000000000000015";
224
+ };
225
+ readonly l2CrossDomainMessenger: {
226
+ readonly address: "0x4200000000000000000000000000000000000007";
227
+ };
228
+ readonly l2Erc721Bridge: {
229
+ readonly address: "0x4200000000000000000000000000000000000014";
230
+ };
231
+ readonly l2StandardBridge: {
232
+ readonly address: "0x4200000000000000000000000000000000000010";
233
+ };
234
+ readonly l2ToL1MessagePasser: {
235
+ readonly address: "0x4200000000000000000000000000000000000016";
236
+ };
237
+ };
238
+ ensTlds?: readonly string[] | undefined;
239
+ id: 10;
240
+ name: "OP Mainnet";
241
+ nativeCurrency: {
242
+ readonly name: "Ether";
243
+ readonly symbol: "ETH";
244
+ readonly decimals: 18;
245
+ };
246
+ experimental_preconfirmationTime?: number | undefined | undefined;
247
+ rpcUrls: {
248
+ readonly default: {
249
+ readonly http: readonly ["https://mainnet.optimism.io"];
250
+ };
251
+ };
252
+ sourceId: 1;
253
+ testnet?: boolean | undefined | undefined;
254
+ custom?: Record<string, unknown> | undefined;
255
+ extendSchema?: Record<string, unknown> | undefined;
256
+ fees?: import("viem").ChainFees<undefined> | undefined;
257
+ formatters: {
258
+ readonly block: {
259
+ exclude: [] | undefined;
260
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
261
+ baseFeePerGas: bigint | null;
262
+ blobGasUsed: bigint;
263
+ difficulty: bigint;
264
+ excessBlobGas: bigint;
265
+ extraData: import("viem").Hex;
266
+ gasLimit: bigint;
267
+ gasUsed: bigint;
268
+ hash: `0x${string}` | null;
269
+ logsBloom: `0x${string}` | null;
270
+ miner: import("abitype").Address;
271
+ mixHash: import("viem").Hash;
272
+ nonce: `0x${string}` | null;
273
+ number: bigint | null;
274
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
275
+ parentHash: import("viem").Hash;
276
+ receiptsRoot: import("viem").Hex;
277
+ sealFields: import("viem").Hex[];
278
+ sha3Uncles: import("viem").Hash;
279
+ size: bigint;
280
+ stateRoot: import("viem").Hash;
281
+ timestamp: bigint;
282
+ totalDifficulty: bigint | null;
283
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
284
+ transactionsRoot: import("viem").Hash;
285
+ uncles: import("viem").Hash[];
286
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
287
+ withdrawalsRoot?: `0x${string}` | undefined;
288
+ } & {};
289
+ type: "block";
290
+ };
291
+ readonly transaction: {
292
+ exclude: [] | undefined;
293
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
294
+ blockHash: `0x${string}` | null;
295
+ blockNumber: bigint | null;
296
+ blockTimestamp?: bigint | undefined;
297
+ from: import("abitype").Address;
298
+ gas: bigint;
299
+ hash: import("viem").Hash;
300
+ input: import("viem").Hex;
301
+ nonce: number;
302
+ r: import("viem").Hex;
303
+ s: import("viem").Hex;
304
+ to: import("abitype").Address | null;
305
+ transactionIndex: number | null;
306
+ typeHex: import("viem").Hex | null;
307
+ v: bigint;
308
+ value: bigint;
309
+ yParity: number;
310
+ gasPrice?: undefined | undefined;
311
+ maxFeePerBlobGas?: undefined | undefined;
312
+ maxFeePerGas: bigint;
313
+ maxPriorityFeePerGas: bigint;
314
+ isSystemTx?: boolean;
315
+ mint?: bigint | undefined | undefined;
316
+ sourceHash: import("viem").Hex;
317
+ type: "deposit";
318
+ } | {
319
+ r: import("viem").Hex;
320
+ s: import("viem").Hex;
321
+ v: bigint;
322
+ to: import("abitype").Address | null;
323
+ from: import("abitype").Address;
324
+ gas: bigint;
325
+ nonce: number;
326
+ value: bigint;
327
+ blockHash: `0x${string}` | null;
328
+ blockNumber: bigint | null;
329
+ blockTimestamp?: bigint | undefined;
330
+ hash: import("viem").Hash;
331
+ input: import("viem").Hex;
332
+ transactionIndex: number | null;
333
+ typeHex: import("viem").Hex | null;
334
+ accessList?: undefined | undefined;
335
+ authorizationList?: undefined | undefined;
336
+ blobVersionedHashes?: undefined | undefined;
337
+ chainId?: number | undefined;
338
+ yParity?: undefined | undefined;
339
+ type: "legacy";
340
+ gasPrice: bigint;
341
+ maxFeePerBlobGas?: undefined | undefined;
342
+ maxFeePerGas?: undefined | undefined;
343
+ maxPriorityFeePerGas?: undefined | undefined;
344
+ isSystemTx?: undefined | undefined;
345
+ mint?: undefined | undefined;
346
+ sourceHash?: undefined | undefined;
347
+ } | {
348
+ blockHash: `0x${string}` | null;
349
+ blockNumber: bigint | null;
350
+ blockTimestamp?: bigint | undefined;
351
+ from: import("abitype").Address;
352
+ gas: bigint;
353
+ hash: import("viem").Hash;
354
+ input: import("viem").Hex;
355
+ nonce: number;
356
+ r: import("viem").Hex;
357
+ s: import("viem").Hex;
358
+ to: import("abitype").Address | null;
359
+ transactionIndex: number | null;
360
+ typeHex: import("viem").Hex | null;
361
+ v: bigint;
362
+ value: bigint;
363
+ yParity: number;
364
+ accessList: import("viem").AccessList;
365
+ authorizationList?: undefined | undefined;
366
+ blobVersionedHashes?: undefined | undefined;
367
+ chainId: number;
368
+ type: "eip2930";
369
+ gasPrice: bigint;
370
+ maxFeePerBlobGas?: undefined | undefined;
371
+ maxFeePerGas?: undefined | undefined;
372
+ maxPriorityFeePerGas?: undefined | undefined;
373
+ isSystemTx?: undefined | undefined;
374
+ mint?: undefined | undefined;
375
+ sourceHash?: undefined | undefined;
376
+ } | {
377
+ blockHash: `0x${string}` | null;
378
+ blockNumber: bigint | null;
379
+ blockTimestamp?: bigint | undefined;
380
+ from: import("abitype").Address;
381
+ gas: bigint;
382
+ hash: import("viem").Hash;
383
+ input: import("viem").Hex;
384
+ nonce: number;
385
+ r: import("viem").Hex;
386
+ s: import("viem").Hex;
387
+ to: import("abitype").Address | null;
388
+ transactionIndex: number | null;
389
+ typeHex: import("viem").Hex | null;
390
+ v: bigint;
391
+ value: bigint;
392
+ yParity: number;
393
+ accessList: import("viem").AccessList;
394
+ authorizationList?: undefined | undefined;
395
+ blobVersionedHashes?: undefined | undefined;
396
+ chainId: number;
397
+ type: "eip1559";
398
+ gasPrice?: undefined | undefined;
399
+ maxFeePerBlobGas?: undefined | undefined;
400
+ maxFeePerGas: bigint;
401
+ maxPriorityFeePerGas: bigint;
402
+ isSystemTx?: undefined | undefined;
403
+ mint?: undefined | undefined;
404
+ sourceHash?: undefined | undefined;
405
+ } | {
406
+ blockHash: `0x${string}` | null;
407
+ blockNumber: bigint | null;
408
+ blockTimestamp?: bigint | undefined;
409
+ from: import("abitype").Address;
410
+ gas: bigint;
411
+ hash: import("viem").Hash;
412
+ input: import("viem").Hex;
413
+ nonce: number;
414
+ r: import("viem").Hex;
415
+ s: import("viem").Hex;
416
+ to: import("abitype").Address | null;
417
+ transactionIndex: number | null;
418
+ typeHex: import("viem").Hex | null;
419
+ v: bigint;
420
+ value: bigint;
421
+ yParity: number;
422
+ accessList: import("viem").AccessList;
423
+ authorizationList?: undefined | undefined;
424
+ blobVersionedHashes: readonly import("viem").Hex[];
425
+ chainId: number;
426
+ type: "eip4844";
427
+ gasPrice?: undefined | undefined;
428
+ maxFeePerBlobGas: bigint;
429
+ maxFeePerGas: bigint;
430
+ maxPriorityFeePerGas: bigint;
431
+ isSystemTx?: undefined | undefined;
432
+ mint?: undefined | undefined;
433
+ sourceHash?: undefined | undefined;
434
+ } | {
435
+ blockHash: `0x${string}` | null;
436
+ blockNumber: bigint | null;
437
+ blockTimestamp?: bigint | undefined;
438
+ from: import("abitype").Address;
439
+ gas: bigint;
440
+ hash: import("viem").Hash;
441
+ input: import("viem").Hex;
442
+ nonce: number;
443
+ r: import("viem").Hex;
444
+ s: import("viem").Hex;
445
+ to: import("abitype").Address | null;
446
+ transactionIndex: number | null;
447
+ typeHex: import("viem").Hex | null;
448
+ v: bigint;
449
+ value: bigint;
450
+ yParity: number;
451
+ accessList: import("viem").AccessList;
452
+ authorizationList: import("viem").SignedAuthorizationList;
453
+ blobVersionedHashes?: undefined | undefined;
454
+ chainId: number;
455
+ type: "eip7702";
456
+ gasPrice?: undefined | undefined;
457
+ maxFeePerBlobGas?: undefined | undefined;
458
+ maxFeePerGas: bigint;
459
+ maxPriorityFeePerGas: bigint;
460
+ isSystemTx?: undefined | undefined;
461
+ mint?: undefined | undefined;
462
+ sourceHash?: undefined | undefined;
463
+ }) & {};
464
+ type: "transaction";
465
+ };
466
+ readonly transactionReceipt: {
467
+ exclude: [] | undefined;
468
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
469
+ blobGasPrice?: bigint | undefined;
470
+ blobGasUsed?: bigint | undefined;
471
+ blockHash: import("viem").Hash;
472
+ blockNumber: bigint;
473
+ blockTimestamp?: bigint | undefined;
474
+ contractAddress: import("abitype").Address | null | undefined;
475
+ cumulativeGasUsed: bigint;
476
+ effectiveGasPrice: bigint;
477
+ from: import("abitype").Address;
478
+ gasUsed: bigint;
479
+ logs: import("viem").Log<bigint, number, false>[];
480
+ logsBloom: import("viem").Hex;
481
+ root?: `0x${string}` | undefined;
482
+ status: "success" | "reverted";
483
+ to: import("abitype").Address | null;
484
+ transactionHash: import("viem").Hash;
485
+ transactionIndex: number;
486
+ type: import("viem").TransactionType;
487
+ l1GasPrice: bigint | null;
488
+ l1GasUsed: bigint | null;
489
+ l1Fee: bigint | null;
490
+ l1FeeScalar: number | null;
491
+ } & {};
492
+ type: "transactionReceipt";
493
+ };
494
+ };
495
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
496
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
497
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
498
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
499
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
500
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
501
+ }] | undefined;
502
+ serializers: {
503
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
504
+ };
505
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
506
+ }];
507
+ export declare const defaultChain: {
508
+ blockExplorers: {
509
+ readonly default: {
510
+ readonly name: "Etherscan";
511
+ readonly url: "https://sepolia.etherscan.io";
512
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
513
+ };
514
+ };
515
+ blockTime?: number | undefined | undefined;
516
+ contracts: {
517
+ readonly multicall3: {
518
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
519
+ readonly blockCreated: 751532;
520
+ };
521
+ readonly ensUniversalResolver: {
522
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
523
+ readonly blockCreated: 8928790;
524
+ };
525
+ };
526
+ ensTlds?: readonly string[] | undefined;
527
+ id: 11155111;
528
+ name: "Sepolia";
529
+ nativeCurrency: {
530
+ readonly name: "Sepolia Ether";
531
+ readonly symbol: "ETH";
532
+ readonly decimals: 18;
533
+ };
534
+ experimental_preconfirmationTime?: number | undefined | undefined;
535
+ rpcUrls: {
536
+ readonly default: {
537
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
538
+ };
539
+ };
540
+ sourceId?: number | undefined | undefined;
541
+ testnet: true;
542
+ custom?: Record<string, unknown> | undefined;
543
+ extendSchema?: Record<string, unknown> | undefined;
544
+ fees?: import("viem").ChainFees<undefined> | undefined;
545
+ formatters?: undefined;
546
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
547
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
548
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
549
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
550
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
551
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
552
+ }] | undefined;
553
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
554
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
555
+ };
556
+ export declare const CHAIN_IDS: {
557
+ readonly MAINNET: 1;
558
+ readonly SEPOLIA: 11155111;
559
+ readonly POLYGON: 137;
560
+ readonly ARBITRUM: 42161;
561
+ readonly OPTIMISM: 10;
562
+ };
563
+ export declare function getChainById(chainId: number): {
564
+ blockExplorers: {
565
+ readonly default: {
566
+ readonly name: "Etherscan";
567
+ readonly url: "https://etherscan.io";
568
+ readonly apiUrl: "https://api.etherscan.io/api";
569
+ };
570
+ };
571
+ blockTime: 12000;
572
+ contracts: {
573
+ readonly ensUniversalResolver: {
574
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
575
+ readonly blockCreated: 23085558;
576
+ };
577
+ readonly multicall3: {
578
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
579
+ readonly blockCreated: 14353601;
580
+ };
581
+ };
582
+ ensTlds?: readonly string[] | undefined;
583
+ id: 1;
584
+ name: "Ethereum";
585
+ nativeCurrency: {
586
+ readonly name: "Ether";
587
+ readonly symbol: "ETH";
588
+ readonly decimals: 18;
589
+ };
590
+ experimental_preconfirmationTime?: number | undefined | undefined;
591
+ rpcUrls: {
592
+ readonly default: {
593
+ readonly http: readonly ["https://eth.merkle.io"];
594
+ };
595
+ };
596
+ sourceId?: number | undefined | undefined;
597
+ testnet?: boolean | undefined | undefined;
598
+ custom?: Record<string, unknown> | undefined;
599
+ extendSchema?: Record<string, unknown> | undefined;
600
+ fees?: import("viem").ChainFees<undefined> | undefined;
601
+ formatters?: undefined;
602
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
603
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
604
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
605
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
606
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
607
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
608
+ }] | undefined;
609
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
610
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
611
+ } | {
612
+ blockExplorers: {
613
+ readonly default: {
614
+ readonly name: "Etherscan";
615
+ readonly url: "https://sepolia.etherscan.io";
616
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
617
+ };
618
+ };
619
+ blockTime?: number | undefined | undefined;
620
+ contracts: {
621
+ readonly multicall3: {
622
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
623
+ readonly blockCreated: 751532;
624
+ };
625
+ readonly ensUniversalResolver: {
626
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
627
+ readonly blockCreated: 8928790;
628
+ };
629
+ };
630
+ ensTlds?: readonly string[] | undefined;
631
+ id: 11155111;
632
+ name: "Sepolia";
633
+ nativeCurrency: {
634
+ readonly name: "Sepolia Ether";
635
+ readonly symbol: "ETH";
636
+ readonly decimals: 18;
637
+ };
638
+ experimental_preconfirmationTime?: number | undefined | undefined;
639
+ rpcUrls: {
640
+ readonly default: {
641
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
642
+ };
643
+ };
644
+ sourceId?: number | undefined | undefined;
645
+ testnet: true;
646
+ custom?: Record<string, unknown> | undefined;
647
+ extendSchema?: Record<string, unknown> | undefined;
648
+ fees?: import("viem").ChainFees<undefined> | undefined;
649
+ formatters?: undefined;
650
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
651
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
652
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
653
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
654
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
655
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
656
+ }] | undefined;
657
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
658
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
659
+ } | {
660
+ blockExplorers: {
661
+ readonly default: {
662
+ readonly name: "PolygonScan";
663
+ readonly url: "https://polygonscan.com";
664
+ readonly apiUrl: "https://api.etherscan.io/v2/api";
665
+ };
666
+ };
667
+ blockTime: 2000;
668
+ contracts: {
669
+ readonly multicall3: {
670
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
671
+ readonly blockCreated: 25770160;
672
+ };
673
+ };
674
+ ensTlds?: readonly string[] | undefined;
675
+ id: 137;
676
+ name: "Polygon";
677
+ nativeCurrency: {
678
+ readonly name: "POL";
679
+ readonly symbol: "POL";
680
+ readonly decimals: 18;
681
+ };
682
+ experimental_preconfirmationTime?: number | undefined | undefined;
683
+ rpcUrls: {
684
+ readonly default: {
685
+ readonly http: readonly ["https://polygon.drpc.org"];
686
+ };
687
+ };
688
+ sourceId?: number | undefined | undefined;
689
+ testnet?: boolean | undefined | undefined;
690
+ custom?: Record<string, unknown> | undefined;
691
+ extendSchema?: Record<string, unknown> | undefined;
692
+ fees?: import("viem").ChainFees<undefined> | undefined;
693
+ formatters?: undefined;
694
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
695
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
696
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
697
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
698
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
699
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
700
+ }] | undefined;
701
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
702
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
703
+ } | {
704
+ blockExplorers: {
705
+ readonly default: {
706
+ readonly name: "Arbiscan";
707
+ readonly url: "https://arbiscan.io";
708
+ readonly apiUrl: "https://api.arbiscan.io/api";
709
+ };
710
+ };
711
+ blockTime: 250;
712
+ contracts: {
713
+ readonly multicall3: {
714
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
715
+ readonly blockCreated: 7654707;
716
+ };
717
+ };
718
+ ensTlds?: readonly string[] | undefined;
719
+ id: 42161;
720
+ name: "Arbitrum One";
721
+ nativeCurrency: {
722
+ readonly name: "Ether";
723
+ readonly symbol: "ETH";
724
+ readonly decimals: 18;
725
+ };
726
+ experimental_preconfirmationTime?: number | undefined | undefined;
727
+ rpcUrls: {
728
+ readonly default: {
729
+ readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
730
+ };
731
+ };
732
+ sourceId?: number | undefined | undefined;
733
+ testnet?: boolean | undefined | undefined;
734
+ custom?: Record<string, unknown> | undefined;
735
+ extendSchema?: Record<string, unknown> | undefined;
736
+ fees?: import("viem").ChainFees<undefined> | undefined;
737
+ formatters?: undefined;
738
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
739
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
740
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
741
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
742
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
743
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
744
+ }] | undefined;
745
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
746
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
747
+ } | {
748
+ blockExplorers: {
749
+ readonly default: {
750
+ readonly name: "Optimism Explorer";
751
+ readonly url: "https://optimistic.etherscan.io";
752
+ readonly apiUrl: "https://api-optimistic.etherscan.io/api";
753
+ };
754
+ };
755
+ blockTime: 2000;
756
+ contracts: {
757
+ readonly disputeGameFactory: {
758
+ readonly 1: {
759
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
760
+ };
761
+ };
762
+ readonly l2OutputOracle: {
763
+ readonly 1: {
764
+ readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
765
+ };
766
+ };
767
+ readonly multicall3: {
768
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
769
+ readonly blockCreated: 4286263;
770
+ };
771
+ readonly portal: {
772
+ readonly 1: {
773
+ readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
774
+ };
775
+ };
776
+ readonly l1StandardBridge: {
777
+ readonly 1: {
778
+ readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
779
+ };
780
+ };
781
+ readonly gasPriceOracle: {
782
+ readonly address: "0x420000000000000000000000000000000000000F";
783
+ };
784
+ readonly l1Block: {
785
+ readonly address: "0x4200000000000000000000000000000000000015";
786
+ };
787
+ readonly l2CrossDomainMessenger: {
788
+ readonly address: "0x4200000000000000000000000000000000000007";
789
+ };
790
+ readonly l2Erc721Bridge: {
791
+ readonly address: "0x4200000000000000000000000000000000000014";
792
+ };
793
+ readonly l2StandardBridge: {
794
+ readonly address: "0x4200000000000000000000000000000000000010";
795
+ };
796
+ readonly l2ToL1MessagePasser: {
797
+ readonly address: "0x4200000000000000000000000000000000000016";
798
+ };
799
+ };
800
+ ensTlds?: readonly string[] | undefined;
801
+ id: 10;
802
+ name: "OP Mainnet";
803
+ nativeCurrency: {
804
+ readonly name: "Ether";
805
+ readonly symbol: "ETH";
806
+ readonly decimals: 18;
807
+ };
808
+ experimental_preconfirmationTime?: number | undefined | undefined;
809
+ rpcUrls: {
810
+ readonly default: {
811
+ readonly http: readonly ["https://mainnet.optimism.io"];
812
+ };
813
+ };
814
+ sourceId: 1;
815
+ testnet?: boolean | undefined | undefined;
816
+ custom?: Record<string, unknown> | undefined;
817
+ extendSchema?: Record<string, unknown> | undefined;
818
+ fees?: import("viem").ChainFees<undefined> | undefined;
819
+ formatters: {
820
+ readonly block: {
821
+ exclude: [] | undefined;
822
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
823
+ baseFeePerGas: bigint | null;
824
+ blobGasUsed: bigint;
825
+ difficulty: bigint;
826
+ excessBlobGas: bigint;
827
+ extraData: import("viem").Hex;
828
+ gasLimit: bigint;
829
+ gasUsed: bigint;
830
+ hash: `0x${string}` | null;
831
+ logsBloom: `0x${string}` | null;
832
+ miner: import("abitype").Address;
833
+ mixHash: import("viem").Hash;
834
+ nonce: `0x${string}` | null;
835
+ number: bigint | null;
836
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
837
+ parentHash: import("viem").Hash;
838
+ receiptsRoot: import("viem").Hex;
839
+ sealFields: import("viem").Hex[];
840
+ sha3Uncles: import("viem").Hash;
841
+ size: bigint;
842
+ stateRoot: import("viem").Hash;
843
+ timestamp: bigint;
844
+ totalDifficulty: bigint | null;
845
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
846
+ transactionsRoot: import("viem").Hash;
847
+ uncles: import("viem").Hash[];
848
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
849
+ withdrawalsRoot?: `0x${string}` | undefined;
850
+ } & {};
851
+ type: "block";
852
+ };
853
+ readonly transaction: {
854
+ exclude: [] | undefined;
855
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
856
+ blockHash: `0x${string}` | null;
857
+ blockNumber: bigint | null;
858
+ blockTimestamp?: bigint | undefined;
859
+ from: import("abitype").Address;
860
+ gas: bigint;
861
+ hash: import("viem").Hash;
862
+ input: import("viem").Hex;
863
+ nonce: number;
864
+ r: import("viem").Hex;
865
+ s: import("viem").Hex;
866
+ to: import("abitype").Address | null;
867
+ transactionIndex: number | null;
868
+ typeHex: import("viem").Hex | null;
869
+ v: bigint;
870
+ value: bigint;
871
+ yParity: number;
872
+ gasPrice?: undefined | undefined;
873
+ maxFeePerBlobGas?: undefined | undefined;
874
+ maxFeePerGas: bigint;
875
+ maxPriorityFeePerGas: bigint;
876
+ isSystemTx?: boolean;
877
+ mint?: bigint | undefined | undefined;
878
+ sourceHash: import("viem").Hex;
879
+ type: "deposit";
880
+ } | {
881
+ r: import("viem").Hex;
882
+ s: import("viem").Hex;
883
+ v: bigint;
884
+ to: import("abitype").Address | null;
885
+ from: import("abitype").Address;
886
+ gas: bigint;
887
+ nonce: number;
888
+ value: bigint;
889
+ blockHash: `0x${string}` | null;
890
+ blockNumber: bigint | null;
891
+ blockTimestamp?: bigint | undefined;
892
+ hash: import("viem").Hash;
893
+ input: import("viem").Hex;
894
+ transactionIndex: number | null;
895
+ typeHex: import("viem").Hex | null;
896
+ accessList?: undefined | undefined;
897
+ authorizationList?: undefined | undefined;
898
+ blobVersionedHashes?: undefined | undefined;
899
+ chainId?: number | undefined;
900
+ yParity?: undefined | undefined;
901
+ type: "legacy";
902
+ gasPrice: bigint;
903
+ maxFeePerBlobGas?: undefined | undefined;
904
+ maxFeePerGas?: undefined | undefined;
905
+ maxPriorityFeePerGas?: undefined | undefined;
906
+ isSystemTx?: undefined | undefined;
907
+ mint?: undefined | undefined;
908
+ sourceHash?: undefined | undefined;
909
+ } | {
910
+ blockHash: `0x${string}` | null;
911
+ blockNumber: bigint | null;
912
+ blockTimestamp?: bigint | undefined;
913
+ from: import("abitype").Address;
914
+ gas: bigint;
915
+ hash: import("viem").Hash;
916
+ input: import("viem").Hex;
917
+ nonce: number;
918
+ r: import("viem").Hex;
919
+ s: import("viem").Hex;
920
+ to: import("abitype").Address | null;
921
+ transactionIndex: number | null;
922
+ typeHex: import("viem").Hex | null;
923
+ v: bigint;
924
+ value: bigint;
925
+ yParity: number;
926
+ accessList: import("viem").AccessList;
927
+ authorizationList?: undefined | undefined;
928
+ blobVersionedHashes?: undefined | undefined;
929
+ chainId: number;
930
+ type: "eip2930";
931
+ gasPrice: bigint;
932
+ maxFeePerBlobGas?: undefined | undefined;
933
+ maxFeePerGas?: undefined | undefined;
934
+ maxPriorityFeePerGas?: undefined | undefined;
935
+ isSystemTx?: undefined | undefined;
936
+ mint?: undefined | undefined;
937
+ sourceHash?: undefined | undefined;
938
+ } | {
939
+ blockHash: `0x${string}` | null;
940
+ blockNumber: bigint | null;
941
+ blockTimestamp?: bigint | undefined;
942
+ from: import("abitype").Address;
943
+ gas: bigint;
944
+ hash: import("viem").Hash;
945
+ input: import("viem").Hex;
946
+ nonce: number;
947
+ r: import("viem").Hex;
948
+ s: import("viem").Hex;
949
+ to: import("abitype").Address | null;
950
+ transactionIndex: number | null;
951
+ typeHex: import("viem").Hex | null;
952
+ v: bigint;
953
+ value: bigint;
954
+ yParity: number;
955
+ accessList: import("viem").AccessList;
956
+ authorizationList?: undefined | undefined;
957
+ blobVersionedHashes?: undefined | undefined;
958
+ chainId: number;
959
+ type: "eip1559";
960
+ gasPrice?: undefined | undefined;
961
+ maxFeePerBlobGas?: undefined | undefined;
962
+ maxFeePerGas: bigint;
963
+ maxPriorityFeePerGas: bigint;
964
+ isSystemTx?: undefined | undefined;
965
+ mint?: undefined | undefined;
966
+ sourceHash?: undefined | undefined;
967
+ } | {
968
+ blockHash: `0x${string}` | null;
969
+ blockNumber: bigint | null;
970
+ blockTimestamp?: bigint | undefined;
971
+ from: import("abitype").Address;
972
+ gas: bigint;
973
+ hash: import("viem").Hash;
974
+ input: import("viem").Hex;
975
+ nonce: number;
976
+ r: import("viem").Hex;
977
+ s: import("viem").Hex;
978
+ to: import("abitype").Address | null;
979
+ transactionIndex: number | null;
980
+ typeHex: import("viem").Hex | null;
981
+ v: bigint;
982
+ value: bigint;
983
+ yParity: number;
984
+ accessList: import("viem").AccessList;
985
+ authorizationList?: undefined | undefined;
986
+ blobVersionedHashes: readonly import("viem").Hex[];
987
+ chainId: number;
988
+ type: "eip4844";
989
+ gasPrice?: undefined | undefined;
990
+ maxFeePerBlobGas: bigint;
991
+ maxFeePerGas: bigint;
992
+ maxPriorityFeePerGas: bigint;
993
+ isSystemTx?: undefined | undefined;
994
+ mint?: undefined | undefined;
995
+ sourceHash?: undefined | undefined;
996
+ } | {
997
+ blockHash: `0x${string}` | null;
998
+ blockNumber: bigint | null;
999
+ blockTimestamp?: bigint | undefined;
1000
+ from: import("abitype").Address;
1001
+ gas: bigint;
1002
+ hash: import("viem").Hash;
1003
+ input: import("viem").Hex;
1004
+ nonce: number;
1005
+ r: import("viem").Hex;
1006
+ s: import("viem").Hex;
1007
+ to: import("abitype").Address | null;
1008
+ transactionIndex: number | null;
1009
+ typeHex: import("viem").Hex | null;
1010
+ v: bigint;
1011
+ value: bigint;
1012
+ yParity: number;
1013
+ accessList: import("viem").AccessList;
1014
+ authorizationList: import("viem").SignedAuthorizationList;
1015
+ blobVersionedHashes?: undefined | undefined;
1016
+ chainId: number;
1017
+ type: "eip7702";
1018
+ gasPrice?: undefined | undefined;
1019
+ maxFeePerBlobGas?: undefined | undefined;
1020
+ maxFeePerGas: bigint;
1021
+ maxPriorityFeePerGas: bigint;
1022
+ isSystemTx?: undefined | undefined;
1023
+ mint?: undefined | undefined;
1024
+ sourceHash?: undefined | undefined;
1025
+ }) & {};
1026
+ type: "transaction";
1027
+ };
1028
+ readonly transactionReceipt: {
1029
+ exclude: [] | undefined;
1030
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1031
+ blobGasPrice?: bigint | undefined;
1032
+ blobGasUsed?: bigint | undefined;
1033
+ blockHash: import("viem").Hash;
1034
+ blockNumber: bigint;
1035
+ blockTimestamp?: bigint | undefined;
1036
+ contractAddress: import("abitype").Address | null | undefined;
1037
+ cumulativeGasUsed: bigint;
1038
+ effectiveGasPrice: bigint;
1039
+ from: import("abitype").Address;
1040
+ gasUsed: bigint;
1041
+ logs: import("viem").Log<bigint, number, false>[];
1042
+ logsBloom: import("viem").Hex;
1043
+ root?: `0x${string}` | undefined;
1044
+ status: "success" | "reverted";
1045
+ to: import("abitype").Address | null;
1046
+ transactionHash: import("viem").Hash;
1047
+ transactionIndex: number;
1048
+ type: import("viem").TransactionType;
1049
+ l1GasPrice: bigint | null;
1050
+ l1GasUsed: bigint | null;
1051
+ l1Fee: bigint | null;
1052
+ l1FeeScalar: number | null;
1053
+ } & {};
1054
+ type: "transactionReceipt";
1055
+ };
1056
+ };
1057
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
1058
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1059
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
1060
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1061
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
1062
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1063
+ }] | undefined;
1064
+ serializers: {
1065
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1066
+ };
1067
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
1068
+ } | undefined;
1069
+ export declare function isSupportedChain(chainId: number): boolean;
1070
+ //# sourceMappingURL=chains.d.ts.map