@matchain/matchid-sdk-react 0.1.56-alpha.6 → 0.1.56-alpha.8
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.
- package/example/package.json +1 -2
- package/example/src/pages/Wallet/index.tsx +90 -88
- package/example/yarn.lock +2251 -27
- package/package.json +7 -4
- package/dist/api.d.mts +0 -6
- package/dist/api.d.ts +0 -6
- package/dist/api.js +0 -1721
- package/dist/api.js.map +0 -1
- package/dist/api.mjs +0 -23
- package/dist/api.mjs.map +0 -1
- package/dist/assets/lottie.d.mts +0 -1
- package/dist/assets/lottie.d.ts +0 -1
- package/dist/assets/lottie.js +0 -68
- package/dist/assets/lottie.js.map +0 -1
- package/dist/assets/lottie.mjs +0 -22
- package/dist/assets/lottie.mjs.map +0 -1
- package/dist/chains.d.mts +0 -2
- package/dist/chains.d.ts +0 -2
- package/dist/chains.js +0 -94
- package/dist/chains.js.map +0 -1
- package/dist/chains.mjs +0 -11
- package/dist/chains.mjs.map +0 -1
- package/dist/chunk-3CR66BEX.mjs +0 -19
- package/dist/chunk-3CR66BEX.mjs.map +0 -1
- package/dist/chunk-GD7URBBZ.mjs +0 -1399
- package/dist/chunk-GD7URBBZ.mjs.map +0 -1
- package/dist/chunk-HBOS3RBL.mjs +0 -19
- package/dist/chunk-HBOS3RBL.mjs.map +0 -1
- package/dist/chunk-IZOOVZAD.mjs +0 -145
- package/dist/chunk-IZOOVZAD.mjs.map +0 -1
- package/dist/chunk-J5LGTIGS.mjs +0 -10
- package/dist/chunk-J5LGTIGS.mjs.map +0 -1
- package/dist/chunk-JX73EY6V.mjs +0 -67
- package/dist/chunk-JX73EY6V.mjs.map +0 -1
- package/dist/chunk-KFB23MLQ.mjs +0 -7666
- package/dist/chunk-KFB23MLQ.mjs.map +0 -1
- package/dist/chunk-NYE6DBEZ.mjs +0 -97
- package/dist/chunk-NYE6DBEZ.mjs.map +0 -1
- package/dist/chunk-UA6XHZHX.mjs +0 -17
- package/dist/chunk-UA6XHZHX.mjs.map +0 -1
- package/dist/chunk-XM6CYEXN.mjs +0 -53
- package/dist/chunk-XM6CYEXN.mjs.map +0 -1
- package/dist/components.d.mts +0 -6
- package/dist/components.d.ts +0 -6
- package/dist/components.js +0 -6494
- package/dist/components.js.map +0 -1
- package/dist/components.mjs +0 -57
- package/dist/components.mjs.map +0 -1
- package/dist/hooks.d.mts +0 -13
- package/dist/hooks.d.ts +0 -13
- package/dist/hooks.js +0 -3612
- package/dist/hooks.js.map +0 -1
- package/dist/hooks.mjs +0 -41
- package/dist/hooks.mjs.map +0 -1
- package/dist/icon.d.mts +0 -5
- package/dist/icon.d.ts +0 -5
- package/dist/icon.js +0 -1414
- package/dist/icon.js.map +0 -1
- package/dist/icon.mjs +0 -112
- package/dist/icon.mjs.map +0 -1
- package/dist/index-B50DU_xT.d.mts +0 -83
- package/dist/index-B50DU_xT.d.ts +0 -83
- package/dist/index-BcuSCgol.d.ts +0 -111
- package/dist/index-BlMLqmS2.d.mts +0 -3341
- package/dist/index-C1Nyy5zx.d.ts +0 -3341
- package/dist/index-CBcBTQyU.d.mts +0 -66
- package/dist/index-CD0dACxf.d.mts +0 -111
- package/dist/index-CER00guz.d.mts +0 -132
- package/dist/index-CHgaOUiW.d.mts +0 -52590
- package/dist/index-CHgaOUiW.d.ts +0 -52590
- package/dist/index-CjekOYJl.d.mts +0 -38
- package/dist/index-DN-jrh8-.d.ts +0 -213
- package/dist/index-DdN22cwf.d.ts +0 -38
- package/dist/index-DkIIQLbh.d.ts +0 -92
- package/dist/index-DlaCsN95.d.ts +0 -66
- package/dist/index-lh6qBAf_.d.mts +0 -92
- package/dist/index-o0WW1c5O.d.ts +0 -132
- package/dist/index-xThRnNN3.d.mts +0 -213
- package/dist/index.css +0 -2131
- package/dist/index.d.mts +0 -789
- package/dist/index.d.ts +0 -789
- package/dist/index.js +0 -9206
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -45
- package/dist/index.mjs.map +0 -1
- package/dist/request-B0CyrGFT.d.mts +0 -15
- package/dist/request-B0CyrGFT.d.ts +0 -15
- package/dist/types-CheN9vHJ.d.mts +0 -428
- package/dist/types-CheN9vHJ.d.ts +0 -428
- package/dist/types.d.mts +0 -3
- package/dist/types.d.ts +0 -3
- package/dist/types.js +0 -44
- package/dist/types.js.map +0 -1
- package/dist/types.mjs +0 -11
- package/dist/types.mjs.map +0 -1
- package/dist/ui.d.mts +0 -7
- package/dist/ui.d.ts +0 -7
- package/dist/ui.js +0 -1682
- package/dist/ui.js.map +0 -1
- package/dist/ui.mjs +0 -47
- package/dist/ui.mjs.map +0 -1
- package/dist/utils.d.mts +0 -28
- package/dist/utils.d.ts +0 -28
- package/dist/utils.js +0 -192
- package/dist/utils.js.map +0 -1
- package/dist/utils.mjs +0 -34
- package/dist/utils.mjs.map +0 -1
- package/example/package-lock.json +0 -2965
package/dist/index.d.ts
DELETED
|
@@ -1,789 +0,0 @@
|
|
|
1
|
-
import * as wagmi from 'wagmi';
|
|
2
|
-
import * as _rainbow_me_rainbowkit_dist_config_getDefaultConfig from '@rainbow-me/rainbowkit/dist/config/getDefaultConfig';
|
|
3
|
-
import * as abitype from 'abitype';
|
|
4
|
-
import * as wagmi_chains from 'wagmi/chains';
|
|
5
|
-
import * as viem from 'viem';
|
|
6
|
-
import React__default, { ReactNode } from 'react';
|
|
7
|
-
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-CheN9vHJ.js';
|
|
8
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-C1Nyy5zx.js';
|
|
9
|
-
export { i as Components } from './index-BcuSCgol.js';
|
|
10
|
-
export { i as UI } from './index-DkIIQLbh.js';
|
|
11
|
-
export { i as Api } from './index-o0WW1c5O.js';
|
|
12
|
-
export { i as Chains } from './index-B50DU_xT.js';
|
|
13
|
-
export { i as Types } from './index-DlaCsN95.js';
|
|
14
|
-
export { i as Icon } from './index-DN-jrh8-.js';
|
|
15
|
-
export { i as Lottie } from './index-CHgaOUiW.js';
|
|
16
|
-
import '@tanstack/react-query/src/types';
|
|
17
|
-
import './request-B0CyrGFT.js';
|
|
18
|
-
import 'viem/types/misc';
|
|
19
|
-
import 'react/jsx-runtime';
|
|
20
|
-
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
|
-
import 'viem/_types/utils/ccip';
|
|
22
|
-
import 'viem/chains';
|
|
23
|
-
import '@tanstack/react-query';
|
|
24
|
-
import './index-DdN22cwf.js';
|
|
25
|
-
|
|
26
|
-
declare const wagmiConfig: wagmi.Config<[{
|
|
27
|
-
blockExplorers: {
|
|
28
|
-
readonly default: {
|
|
29
|
-
readonly name: "Etherscan";
|
|
30
|
-
readonly url: "https://etherscan.io";
|
|
31
|
-
readonly apiUrl: "https://api.etherscan.io/api";
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
contracts: {
|
|
35
|
-
readonly ensRegistry: {
|
|
36
|
-
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
37
|
-
};
|
|
38
|
-
readonly ensUniversalResolver: {
|
|
39
|
-
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
|
|
40
|
-
readonly blockCreated: 19258213;
|
|
41
|
-
};
|
|
42
|
-
readonly multicall3: {
|
|
43
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
44
|
-
readonly blockCreated: 14353601;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
id: 1;
|
|
48
|
-
name: "Ethereum";
|
|
49
|
-
nativeCurrency: {
|
|
50
|
-
readonly name: "Ether";
|
|
51
|
-
readonly symbol: "ETH";
|
|
52
|
-
readonly decimals: 18;
|
|
53
|
-
};
|
|
54
|
-
rpcUrls: {
|
|
55
|
-
readonly default: {
|
|
56
|
-
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
sourceId?: number | undefined;
|
|
60
|
-
testnet?: boolean | undefined;
|
|
61
|
-
custom?: Record<string, unknown> | undefined;
|
|
62
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
63
|
-
formatters?: undefined;
|
|
64
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
blockExplorers: {
|
|
67
|
-
readonly default: {
|
|
68
|
-
readonly name: "PolygonScan";
|
|
69
|
-
readonly url: "https://polygonscan.com";
|
|
70
|
-
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
contracts: {
|
|
74
|
-
readonly multicall3: {
|
|
75
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
76
|
-
readonly blockCreated: 25770160;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
id: 137;
|
|
80
|
-
name: "Polygon";
|
|
81
|
-
nativeCurrency: {
|
|
82
|
-
readonly name: "MATIC";
|
|
83
|
-
readonly symbol: "MATIC";
|
|
84
|
-
readonly decimals: 18;
|
|
85
|
-
};
|
|
86
|
-
rpcUrls: {
|
|
87
|
-
readonly default: {
|
|
88
|
-
readonly http: readonly ["https://polygon-rpc.com"];
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
sourceId?: number | undefined;
|
|
92
|
-
testnet?: boolean | undefined;
|
|
93
|
-
custom?: Record<string, unknown> | undefined;
|
|
94
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
95
|
-
formatters?: undefined;
|
|
96
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
97
|
-
}, {
|
|
98
|
-
blockExplorers: {
|
|
99
|
-
readonly default: {
|
|
100
|
-
readonly name: "Optimism Explorer";
|
|
101
|
-
readonly url: "https://optimistic.etherscan.io";
|
|
102
|
-
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
contracts: {
|
|
106
|
-
readonly disputeGameFactory: {
|
|
107
|
-
readonly 1: {
|
|
108
|
-
readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
readonly l2OutputOracle: {
|
|
112
|
-
readonly 1: {
|
|
113
|
-
readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
readonly multicall3: {
|
|
117
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
118
|
-
readonly blockCreated: 4286263;
|
|
119
|
-
};
|
|
120
|
-
readonly portal: {
|
|
121
|
-
readonly 1: {
|
|
122
|
-
readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
readonly l1StandardBridge: {
|
|
126
|
-
readonly 1: {
|
|
127
|
-
readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
readonly gasPriceOracle: {
|
|
131
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
132
|
-
};
|
|
133
|
-
readonly l1Block: {
|
|
134
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
135
|
-
};
|
|
136
|
-
readonly l2CrossDomainMessenger: {
|
|
137
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
138
|
-
};
|
|
139
|
-
readonly l2Erc721Bridge: {
|
|
140
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
141
|
-
};
|
|
142
|
-
readonly l2StandardBridge: {
|
|
143
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
144
|
-
};
|
|
145
|
-
readonly l2ToL1MessagePasser: {
|
|
146
|
-
readonly address: "0x4200000000000000000000000000000000000016";
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
id: 10;
|
|
150
|
-
name: "OP Mainnet";
|
|
151
|
-
nativeCurrency: {
|
|
152
|
-
readonly name: "Ether";
|
|
153
|
-
readonly symbol: "ETH";
|
|
154
|
-
readonly decimals: 18;
|
|
155
|
-
};
|
|
156
|
-
rpcUrls: {
|
|
157
|
-
readonly default: {
|
|
158
|
-
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
sourceId: 1;
|
|
162
|
-
testnet?: boolean | undefined;
|
|
163
|
-
custom?: Record<string, unknown> | undefined;
|
|
164
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
165
|
-
formatters: {
|
|
166
|
-
readonly block: {
|
|
167
|
-
exclude: [] | undefined;
|
|
168
|
-
format: (args: wagmi_chains.OpStackRpcBlock) => {
|
|
169
|
-
baseFeePerGas: bigint | null;
|
|
170
|
-
blobGasUsed: bigint;
|
|
171
|
-
difficulty: bigint;
|
|
172
|
-
excessBlobGas: bigint;
|
|
173
|
-
extraData: viem.Hex;
|
|
174
|
-
gasLimit: bigint;
|
|
175
|
-
gasUsed: bigint;
|
|
176
|
-
hash: `0x${string}` | null;
|
|
177
|
-
logsBloom: `0x${string}` | null;
|
|
178
|
-
miner: abitype.Address;
|
|
179
|
-
mixHash: viem.Hash;
|
|
180
|
-
nonce: `0x${string}` | null;
|
|
181
|
-
number: bigint | null;
|
|
182
|
-
parentHash: viem.Hash;
|
|
183
|
-
receiptsRoot: viem.Hex;
|
|
184
|
-
sealFields: viem.Hex[];
|
|
185
|
-
sha3Uncles: viem.Hash;
|
|
186
|
-
size: bigint;
|
|
187
|
-
stateRoot: viem.Hash;
|
|
188
|
-
timestamp: bigint;
|
|
189
|
-
totalDifficulty: bigint | null;
|
|
190
|
-
transactions: `0x${string}`[] | wagmi_chains.OpStackTransaction<boolean>[];
|
|
191
|
-
transactionsRoot: viem.Hash;
|
|
192
|
-
uncles: viem.Hash[];
|
|
193
|
-
withdrawals?: viem.Withdrawal[] | undefined;
|
|
194
|
-
withdrawalsRoot?: viem.Hex | undefined;
|
|
195
|
-
} & {};
|
|
196
|
-
type: "block";
|
|
197
|
-
};
|
|
198
|
-
readonly transaction: {
|
|
199
|
-
exclude: [] | undefined;
|
|
200
|
-
format: (args: wagmi_chains.OpStackRpcTransaction) => ({
|
|
201
|
-
blockHash: `0x${string}` | null;
|
|
202
|
-
blockNumber: bigint | null;
|
|
203
|
-
from: abitype.Address;
|
|
204
|
-
gas: bigint;
|
|
205
|
-
hash: viem.Hash;
|
|
206
|
-
input: viem.Hex;
|
|
207
|
-
nonce: number;
|
|
208
|
-
r: viem.Hex;
|
|
209
|
-
s: viem.Hex;
|
|
210
|
-
to: abitype.Address | null;
|
|
211
|
-
transactionIndex: number | null;
|
|
212
|
-
typeHex: viem.Hex | null;
|
|
213
|
-
v: bigint;
|
|
214
|
-
value: bigint;
|
|
215
|
-
yParity: number;
|
|
216
|
-
gasPrice?: undefined;
|
|
217
|
-
maxFeePerBlobGas?: undefined;
|
|
218
|
-
maxFeePerGas: bigint;
|
|
219
|
-
maxPriorityFeePerGas: bigint;
|
|
220
|
-
isSystemTx?: boolean;
|
|
221
|
-
mint?: bigint | undefined;
|
|
222
|
-
sourceHash: viem.Hex;
|
|
223
|
-
type: "deposit";
|
|
224
|
-
} | {
|
|
225
|
-
r: viem.Hex;
|
|
226
|
-
s: viem.Hex;
|
|
227
|
-
v: bigint;
|
|
228
|
-
to: abitype.Address | null;
|
|
229
|
-
from: abitype.Address;
|
|
230
|
-
gas: bigint;
|
|
231
|
-
nonce: number;
|
|
232
|
-
value: bigint;
|
|
233
|
-
blockHash: `0x${string}` | null;
|
|
234
|
-
blockNumber: bigint | null;
|
|
235
|
-
hash: viem.Hash;
|
|
236
|
-
input: viem.Hex;
|
|
237
|
-
transactionIndex: number | null;
|
|
238
|
-
typeHex: viem.Hex | null;
|
|
239
|
-
accessList?: undefined;
|
|
240
|
-
blobVersionedHashes?: undefined;
|
|
241
|
-
chainId?: number | undefined;
|
|
242
|
-
yParity?: undefined;
|
|
243
|
-
type: "legacy";
|
|
244
|
-
gasPrice: bigint;
|
|
245
|
-
maxFeePerBlobGas?: undefined;
|
|
246
|
-
maxFeePerGas?: undefined;
|
|
247
|
-
maxPriorityFeePerGas?: undefined;
|
|
248
|
-
isSystemTx?: undefined;
|
|
249
|
-
mint?: undefined;
|
|
250
|
-
sourceHash?: undefined;
|
|
251
|
-
} | {
|
|
252
|
-
blockHash: `0x${string}` | null;
|
|
253
|
-
blockNumber: bigint | null;
|
|
254
|
-
from: abitype.Address;
|
|
255
|
-
gas: bigint;
|
|
256
|
-
hash: viem.Hash;
|
|
257
|
-
input: viem.Hex;
|
|
258
|
-
nonce: number;
|
|
259
|
-
r: viem.Hex;
|
|
260
|
-
s: viem.Hex;
|
|
261
|
-
to: abitype.Address | null;
|
|
262
|
-
transactionIndex: number | null;
|
|
263
|
-
typeHex: viem.Hex | null;
|
|
264
|
-
v: bigint;
|
|
265
|
-
value: bigint;
|
|
266
|
-
yParity: number;
|
|
267
|
-
accessList: viem.AccessList;
|
|
268
|
-
blobVersionedHashes?: undefined;
|
|
269
|
-
chainId: number;
|
|
270
|
-
type: "eip2930";
|
|
271
|
-
gasPrice: bigint;
|
|
272
|
-
maxFeePerBlobGas?: undefined;
|
|
273
|
-
maxFeePerGas?: undefined;
|
|
274
|
-
maxPriorityFeePerGas?: undefined;
|
|
275
|
-
isSystemTx?: undefined;
|
|
276
|
-
mint?: undefined;
|
|
277
|
-
sourceHash?: undefined;
|
|
278
|
-
} | {
|
|
279
|
-
blockHash: `0x${string}` | null;
|
|
280
|
-
blockNumber: bigint | null;
|
|
281
|
-
from: abitype.Address;
|
|
282
|
-
gas: bigint;
|
|
283
|
-
hash: viem.Hash;
|
|
284
|
-
input: viem.Hex;
|
|
285
|
-
nonce: number;
|
|
286
|
-
r: viem.Hex;
|
|
287
|
-
s: viem.Hex;
|
|
288
|
-
to: abitype.Address | null;
|
|
289
|
-
transactionIndex: number | null;
|
|
290
|
-
typeHex: viem.Hex | null;
|
|
291
|
-
v: bigint;
|
|
292
|
-
value: bigint;
|
|
293
|
-
yParity: number;
|
|
294
|
-
accessList: viem.AccessList;
|
|
295
|
-
blobVersionedHashes?: undefined;
|
|
296
|
-
chainId: number;
|
|
297
|
-
type: "eip1559";
|
|
298
|
-
gasPrice?: undefined;
|
|
299
|
-
maxFeePerBlobGas?: undefined;
|
|
300
|
-
maxFeePerGas: bigint;
|
|
301
|
-
maxPriorityFeePerGas: bigint;
|
|
302
|
-
isSystemTx?: undefined;
|
|
303
|
-
mint?: undefined;
|
|
304
|
-
sourceHash?: undefined;
|
|
305
|
-
} | {
|
|
306
|
-
blockHash: `0x${string}` | null;
|
|
307
|
-
blockNumber: bigint | null;
|
|
308
|
-
from: abitype.Address;
|
|
309
|
-
gas: bigint;
|
|
310
|
-
hash: viem.Hash;
|
|
311
|
-
input: viem.Hex;
|
|
312
|
-
nonce: number;
|
|
313
|
-
r: viem.Hex;
|
|
314
|
-
s: viem.Hex;
|
|
315
|
-
to: abitype.Address | null;
|
|
316
|
-
transactionIndex: number | null;
|
|
317
|
-
typeHex: viem.Hex | null;
|
|
318
|
-
v: bigint;
|
|
319
|
-
value: bigint;
|
|
320
|
-
yParity: number;
|
|
321
|
-
accessList: viem.AccessList;
|
|
322
|
-
blobVersionedHashes: readonly viem.Hex[];
|
|
323
|
-
chainId: number;
|
|
324
|
-
type: "eip4844";
|
|
325
|
-
gasPrice?: undefined;
|
|
326
|
-
maxFeePerBlobGas: bigint;
|
|
327
|
-
maxFeePerGas: bigint;
|
|
328
|
-
maxPriorityFeePerGas: bigint;
|
|
329
|
-
isSystemTx?: undefined;
|
|
330
|
-
mint?: undefined;
|
|
331
|
-
sourceHash?: undefined;
|
|
332
|
-
}) & {};
|
|
333
|
-
type: "transaction";
|
|
334
|
-
};
|
|
335
|
-
readonly transactionReceipt: {
|
|
336
|
-
exclude: [] | undefined;
|
|
337
|
-
format: (args: wagmi_chains.OpStackRpcTransactionReceipt) => {
|
|
338
|
-
blobGasPrice?: bigint | undefined;
|
|
339
|
-
blobGasUsed?: bigint | undefined;
|
|
340
|
-
blockHash: viem.Hash;
|
|
341
|
-
blockNumber: bigint;
|
|
342
|
-
contractAddress: abitype.Address | null | undefined;
|
|
343
|
-
cumulativeGasUsed: bigint;
|
|
344
|
-
effectiveGasPrice: bigint;
|
|
345
|
-
from: abitype.Address;
|
|
346
|
-
gasUsed: bigint;
|
|
347
|
-
logs: viem.Log<bigint, number, false>[];
|
|
348
|
-
logsBloom: viem.Hex;
|
|
349
|
-
root?: viem.Hash | undefined;
|
|
350
|
-
status: "success" | "reverted";
|
|
351
|
-
to: abitype.Address | null;
|
|
352
|
-
transactionHash: viem.Hash;
|
|
353
|
-
transactionIndex: number;
|
|
354
|
-
type: viem.TransactionType;
|
|
355
|
-
l1GasPrice: bigint | null;
|
|
356
|
-
l1GasUsed: bigint | null;
|
|
357
|
-
l1Fee: bigint | null;
|
|
358
|
-
l1FeeScalar: number | null;
|
|
359
|
-
} & {};
|
|
360
|
-
type: "transactionReceipt";
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
serializers: {
|
|
364
|
-
readonly transaction: typeof wagmi_chains.serializeTransactionOpStack;
|
|
365
|
-
};
|
|
366
|
-
}, {
|
|
367
|
-
blockExplorers: {
|
|
368
|
-
readonly default: {
|
|
369
|
-
readonly name: "Arbiscan";
|
|
370
|
-
readonly url: "https://arbiscan.io";
|
|
371
|
-
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
contracts: {
|
|
375
|
-
readonly multicall3: {
|
|
376
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
377
|
-
readonly blockCreated: 7654707;
|
|
378
|
-
};
|
|
379
|
-
};
|
|
380
|
-
id: 42161;
|
|
381
|
-
name: "Arbitrum One";
|
|
382
|
-
nativeCurrency: {
|
|
383
|
-
readonly name: "Ether";
|
|
384
|
-
readonly symbol: "ETH";
|
|
385
|
-
readonly decimals: 18;
|
|
386
|
-
};
|
|
387
|
-
rpcUrls: {
|
|
388
|
-
readonly default: {
|
|
389
|
-
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
sourceId?: number | undefined;
|
|
393
|
-
testnet?: boolean | undefined;
|
|
394
|
-
custom?: Record<string, unknown> | undefined;
|
|
395
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
396
|
-
formatters?: undefined;
|
|
397
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
398
|
-
}, {
|
|
399
|
-
blockExplorers: {
|
|
400
|
-
readonly default: {
|
|
401
|
-
readonly name: "Basescan";
|
|
402
|
-
readonly url: "https://basescan.org";
|
|
403
|
-
readonly apiUrl: "https://api.basescan.org/api";
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
contracts: {
|
|
407
|
-
readonly l2OutputOracle: {
|
|
408
|
-
readonly 1: {
|
|
409
|
-
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
readonly multicall3: {
|
|
413
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
414
|
-
readonly blockCreated: 5022;
|
|
415
|
-
};
|
|
416
|
-
readonly portal: {
|
|
417
|
-
readonly 1: {
|
|
418
|
-
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
419
|
-
readonly blockCreated: 17482143;
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
readonly l1StandardBridge: {
|
|
423
|
-
readonly 1: {
|
|
424
|
-
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
425
|
-
readonly blockCreated: 17482143;
|
|
426
|
-
};
|
|
427
|
-
};
|
|
428
|
-
readonly gasPriceOracle: {
|
|
429
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
430
|
-
};
|
|
431
|
-
readonly l1Block: {
|
|
432
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
433
|
-
};
|
|
434
|
-
readonly l2CrossDomainMessenger: {
|
|
435
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
436
|
-
};
|
|
437
|
-
readonly l2Erc721Bridge: {
|
|
438
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
439
|
-
};
|
|
440
|
-
readonly l2StandardBridge: {
|
|
441
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
442
|
-
};
|
|
443
|
-
readonly l2ToL1MessagePasser: {
|
|
444
|
-
readonly address: "0x4200000000000000000000000000000000000016";
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
id: 8453;
|
|
448
|
-
name: "Base";
|
|
449
|
-
nativeCurrency: {
|
|
450
|
-
readonly name: "Ether";
|
|
451
|
-
readonly symbol: "ETH";
|
|
452
|
-
readonly decimals: 18;
|
|
453
|
-
};
|
|
454
|
-
rpcUrls: {
|
|
455
|
-
readonly default: {
|
|
456
|
-
readonly http: readonly ["https://mainnet.base.org"];
|
|
457
|
-
};
|
|
458
|
-
};
|
|
459
|
-
sourceId: 1;
|
|
460
|
-
testnet?: boolean | undefined;
|
|
461
|
-
custom?: Record<string, unknown> | undefined;
|
|
462
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
463
|
-
formatters: {
|
|
464
|
-
readonly block: {
|
|
465
|
-
exclude: [] | undefined;
|
|
466
|
-
format: (args: wagmi_chains.OpStackRpcBlock) => {
|
|
467
|
-
baseFeePerGas: bigint | null;
|
|
468
|
-
blobGasUsed: bigint;
|
|
469
|
-
difficulty: bigint;
|
|
470
|
-
excessBlobGas: bigint;
|
|
471
|
-
extraData: viem.Hex;
|
|
472
|
-
gasLimit: bigint;
|
|
473
|
-
gasUsed: bigint;
|
|
474
|
-
hash: `0x${string}` | null;
|
|
475
|
-
logsBloom: `0x${string}` | null;
|
|
476
|
-
miner: abitype.Address;
|
|
477
|
-
mixHash: viem.Hash;
|
|
478
|
-
nonce: `0x${string}` | null;
|
|
479
|
-
number: bigint | null;
|
|
480
|
-
parentHash: viem.Hash;
|
|
481
|
-
receiptsRoot: viem.Hex;
|
|
482
|
-
sealFields: viem.Hex[];
|
|
483
|
-
sha3Uncles: viem.Hash;
|
|
484
|
-
size: bigint;
|
|
485
|
-
stateRoot: viem.Hash;
|
|
486
|
-
timestamp: bigint;
|
|
487
|
-
totalDifficulty: bigint | null;
|
|
488
|
-
transactions: `0x${string}`[] | wagmi_chains.OpStackTransaction<boolean>[];
|
|
489
|
-
transactionsRoot: viem.Hash;
|
|
490
|
-
uncles: viem.Hash[];
|
|
491
|
-
withdrawals?: viem.Withdrawal[] | undefined;
|
|
492
|
-
withdrawalsRoot?: viem.Hex | undefined;
|
|
493
|
-
} & {};
|
|
494
|
-
type: "block";
|
|
495
|
-
};
|
|
496
|
-
readonly transaction: {
|
|
497
|
-
exclude: [] | undefined;
|
|
498
|
-
format: (args: wagmi_chains.OpStackRpcTransaction) => ({
|
|
499
|
-
blockHash: `0x${string}` | null;
|
|
500
|
-
blockNumber: bigint | null;
|
|
501
|
-
from: abitype.Address;
|
|
502
|
-
gas: bigint;
|
|
503
|
-
hash: viem.Hash;
|
|
504
|
-
input: viem.Hex;
|
|
505
|
-
nonce: number;
|
|
506
|
-
r: viem.Hex;
|
|
507
|
-
s: viem.Hex;
|
|
508
|
-
to: abitype.Address | null;
|
|
509
|
-
transactionIndex: number | null;
|
|
510
|
-
typeHex: viem.Hex | null;
|
|
511
|
-
v: bigint;
|
|
512
|
-
value: bigint;
|
|
513
|
-
yParity: number;
|
|
514
|
-
gasPrice?: undefined;
|
|
515
|
-
maxFeePerBlobGas?: undefined;
|
|
516
|
-
maxFeePerGas: bigint;
|
|
517
|
-
maxPriorityFeePerGas: bigint;
|
|
518
|
-
isSystemTx?: boolean;
|
|
519
|
-
mint?: bigint | undefined;
|
|
520
|
-
sourceHash: viem.Hex;
|
|
521
|
-
type: "deposit";
|
|
522
|
-
} | {
|
|
523
|
-
r: viem.Hex;
|
|
524
|
-
s: viem.Hex;
|
|
525
|
-
v: bigint;
|
|
526
|
-
to: abitype.Address | null;
|
|
527
|
-
from: abitype.Address;
|
|
528
|
-
gas: bigint;
|
|
529
|
-
nonce: number;
|
|
530
|
-
value: bigint;
|
|
531
|
-
blockHash: `0x${string}` | null;
|
|
532
|
-
blockNumber: bigint | null;
|
|
533
|
-
hash: viem.Hash;
|
|
534
|
-
input: viem.Hex;
|
|
535
|
-
transactionIndex: number | null;
|
|
536
|
-
typeHex: viem.Hex | null;
|
|
537
|
-
accessList?: undefined;
|
|
538
|
-
blobVersionedHashes?: undefined;
|
|
539
|
-
chainId?: number | undefined;
|
|
540
|
-
yParity?: undefined;
|
|
541
|
-
type: "legacy";
|
|
542
|
-
gasPrice: bigint;
|
|
543
|
-
maxFeePerBlobGas?: undefined;
|
|
544
|
-
maxFeePerGas?: undefined;
|
|
545
|
-
maxPriorityFeePerGas?: undefined;
|
|
546
|
-
isSystemTx?: undefined;
|
|
547
|
-
mint?: undefined;
|
|
548
|
-
sourceHash?: undefined;
|
|
549
|
-
} | {
|
|
550
|
-
blockHash: `0x${string}` | null;
|
|
551
|
-
blockNumber: bigint | null;
|
|
552
|
-
from: abitype.Address;
|
|
553
|
-
gas: bigint;
|
|
554
|
-
hash: viem.Hash;
|
|
555
|
-
input: viem.Hex;
|
|
556
|
-
nonce: number;
|
|
557
|
-
r: viem.Hex;
|
|
558
|
-
s: viem.Hex;
|
|
559
|
-
to: abitype.Address | null;
|
|
560
|
-
transactionIndex: number | null;
|
|
561
|
-
typeHex: viem.Hex | null;
|
|
562
|
-
v: bigint;
|
|
563
|
-
value: bigint;
|
|
564
|
-
yParity: number;
|
|
565
|
-
accessList: viem.AccessList;
|
|
566
|
-
blobVersionedHashes?: undefined;
|
|
567
|
-
chainId: number;
|
|
568
|
-
type: "eip2930";
|
|
569
|
-
gasPrice: bigint;
|
|
570
|
-
maxFeePerBlobGas?: undefined;
|
|
571
|
-
maxFeePerGas?: undefined;
|
|
572
|
-
maxPriorityFeePerGas?: undefined;
|
|
573
|
-
isSystemTx?: undefined;
|
|
574
|
-
mint?: undefined;
|
|
575
|
-
sourceHash?: undefined;
|
|
576
|
-
} | {
|
|
577
|
-
blockHash: `0x${string}` | null;
|
|
578
|
-
blockNumber: bigint | null;
|
|
579
|
-
from: abitype.Address;
|
|
580
|
-
gas: bigint;
|
|
581
|
-
hash: viem.Hash;
|
|
582
|
-
input: viem.Hex;
|
|
583
|
-
nonce: number;
|
|
584
|
-
r: viem.Hex;
|
|
585
|
-
s: viem.Hex;
|
|
586
|
-
to: abitype.Address | null;
|
|
587
|
-
transactionIndex: number | null;
|
|
588
|
-
typeHex: viem.Hex | null;
|
|
589
|
-
v: bigint;
|
|
590
|
-
value: bigint;
|
|
591
|
-
yParity: number;
|
|
592
|
-
accessList: viem.AccessList;
|
|
593
|
-
blobVersionedHashes?: undefined;
|
|
594
|
-
chainId: number;
|
|
595
|
-
type: "eip1559";
|
|
596
|
-
gasPrice?: undefined;
|
|
597
|
-
maxFeePerBlobGas?: undefined;
|
|
598
|
-
maxFeePerGas: bigint;
|
|
599
|
-
maxPriorityFeePerGas: bigint;
|
|
600
|
-
isSystemTx?: undefined;
|
|
601
|
-
mint?: undefined;
|
|
602
|
-
sourceHash?: undefined;
|
|
603
|
-
} | {
|
|
604
|
-
blockHash: `0x${string}` | null;
|
|
605
|
-
blockNumber: bigint | null;
|
|
606
|
-
from: abitype.Address;
|
|
607
|
-
gas: bigint;
|
|
608
|
-
hash: viem.Hash;
|
|
609
|
-
input: viem.Hex;
|
|
610
|
-
nonce: number;
|
|
611
|
-
r: viem.Hex;
|
|
612
|
-
s: viem.Hex;
|
|
613
|
-
to: abitype.Address | null;
|
|
614
|
-
transactionIndex: number | null;
|
|
615
|
-
typeHex: viem.Hex | null;
|
|
616
|
-
v: bigint;
|
|
617
|
-
value: bigint;
|
|
618
|
-
yParity: number;
|
|
619
|
-
accessList: viem.AccessList;
|
|
620
|
-
blobVersionedHashes: readonly viem.Hex[];
|
|
621
|
-
chainId: number;
|
|
622
|
-
type: "eip4844";
|
|
623
|
-
gasPrice?: undefined;
|
|
624
|
-
maxFeePerBlobGas: bigint;
|
|
625
|
-
maxFeePerGas: bigint;
|
|
626
|
-
maxPriorityFeePerGas: bigint;
|
|
627
|
-
isSystemTx?: undefined;
|
|
628
|
-
mint?: undefined;
|
|
629
|
-
sourceHash?: undefined;
|
|
630
|
-
}) & {};
|
|
631
|
-
type: "transaction";
|
|
632
|
-
};
|
|
633
|
-
readonly transactionReceipt: {
|
|
634
|
-
exclude: [] | undefined;
|
|
635
|
-
format: (args: wagmi_chains.OpStackRpcTransactionReceipt) => {
|
|
636
|
-
blobGasPrice?: bigint | undefined;
|
|
637
|
-
blobGasUsed?: bigint | undefined;
|
|
638
|
-
blockHash: viem.Hash;
|
|
639
|
-
blockNumber: bigint;
|
|
640
|
-
contractAddress: abitype.Address | null | undefined;
|
|
641
|
-
cumulativeGasUsed: bigint;
|
|
642
|
-
effectiveGasPrice: bigint;
|
|
643
|
-
from: abitype.Address;
|
|
644
|
-
gasUsed: bigint;
|
|
645
|
-
logs: viem.Log<bigint, number, false>[];
|
|
646
|
-
logsBloom: viem.Hex;
|
|
647
|
-
root?: viem.Hash | undefined;
|
|
648
|
-
status: "success" | "reverted";
|
|
649
|
-
to: abitype.Address | null;
|
|
650
|
-
transactionHash: viem.Hash;
|
|
651
|
-
transactionIndex: number;
|
|
652
|
-
type: viem.TransactionType;
|
|
653
|
-
l1GasPrice: bigint | null;
|
|
654
|
-
l1GasUsed: bigint | null;
|
|
655
|
-
l1Fee: bigint | null;
|
|
656
|
-
l1FeeScalar: number | null;
|
|
657
|
-
} & {};
|
|
658
|
-
type: "transactionReceipt";
|
|
659
|
-
};
|
|
660
|
-
};
|
|
661
|
-
serializers: {
|
|
662
|
-
readonly transaction: typeof wagmi_chains.serializeTransactionOpStack;
|
|
663
|
-
};
|
|
664
|
-
}, {
|
|
665
|
-
blockExplorers: {
|
|
666
|
-
readonly default: {
|
|
667
|
-
readonly name: "Matchscan";
|
|
668
|
-
readonly url: "https://matchscan.io/";
|
|
669
|
-
readonly apiUrl: "https://matchscan.io/api";
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
contracts: {
|
|
673
|
-
readonly multicall3: {
|
|
674
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
id: 698;
|
|
678
|
-
name: "Matchain";
|
|
679
|
-
nativeCurrency: {
|
|
680
|
-
readonly name: "Match Coin";
|
|
681
|
-
readonly symbol: "BNB";
|
|
682
|
-
readonly decimals: 18;
|
|
683
|
-
};
|
|
684
|
-
rpcUrls: {
|
|
685
|
-
readonly default: {
|
|
686
|
-
readonly http: readonly ["https://rpc.matchain.io"];
|
|
687
|
-
};
|
|
688
|
-
};
|
|
689
|
-
sourceId?: number | undefined | undefined;
|
|
690
|
-
testnet?: boolean | undefined | undefined;
|
|
691
|
-
custom?: Record<string, unknown> | undefined;
|
|
692
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
693
|
-
formatters?: undefined;
|
|
694
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
695
|
-
readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
|
|
696
|
-
}, {
|
|
697
|
-
blockExplorers: {
|
|
698
|
-
readonly default: {
|
|
699
|
-
readonly name: "Matchscan";
|
|
700
|
-
readonly url: "https://testnet.matchscan.io/";
|
|
701
|
-
readonly apiUrl: "https://testnet.matchscan.io/api";
|
|
702
|
-
};
|
|
703
|
-
};
|
|
704
|
-
contracts: {
|
|
705
|
-
readonly multicall3: {
|
|
706
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
707
|
-
readonly blockCreated: 751532;
|
|
708
|
-
};
|
|
709
|
-
readonly ensRegistry: {
|
|
710
|
-
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
711
|
-
};
|
|
712
|
-
readonly ensUniversalResolver: {
|
|
713
|
-
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
714
|
-
readonly blockCreated: 5317080;
|
|
715
|
-
};
|
|
716
|
-
};
|
|
717
|
-
id: 699;
|
|
718
|
-
name: "MatchTest";
|
|
719
|
-
nativeCurrency: {
|
|
720
|
-
readonly name: "Match Coin";
|
|
721
|
-
readonly symbol: "BNB";
|
|
722
|
-
readonly decimals: 18;
|
|
723
|
-
};
|
|
724
|
-
rpcUrls: {
|
|
725
|
-
readonly default: {
|
|
726
|
-
readonly http: readonly ["https://testnet-rpc.matchain.io"];
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
sourceId?: number | undefined | undefined;
|
|
730
|
-
testnet?: boolean | undefined | undefined;
|
|
731
|
-
custom?: Record<string, unknown> | undefined;
|
|
732
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
733
|
-
formatters?: undefined;
|
|
734
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
735
|
-
readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
|
|
736
|
-
}, {
|
|
737
|
-
blockExplorers: {
|
|
738
|
-
readonly default: {
|
|
739
|
-
readonly name: "BscScan";
|
|
740
|
-
readonly url: "https://bscscan.com";
|
|
741
|
-
readonly apiUrl: "https://api.bscscan.com/api";
|
|
742
|
-
};
|
|
743
|
-
};
|
|
744
|
-
contracts: {
|
|
745
|
-
readonly multicall3: {
|
|
746
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
747
|
-
readonly blockCreated: 15921452;
|
|
748
|
-
};
|
|
749
|
-
};
|
|
750
|
-
id: 56;
|
|
751
|
-
name: "BNB Smart Chain";
|
|
752
|
-
nativeCurrency: {
|
|
753
|
-
readonly decimals: 18;
|
|
754
|
-
readonly name: "BNB";
|
|
755
|
-
readonly symbol: "BNB";
|
|
756
|
-
};
|
|
757
|
-
rpcUrls: {
|
|
758
|
-
readonly default: {
|
|
759
|
-
readonly http: readonly ["https://rpc.ankr.com/bsc"];
|
|
760
|
-
};
|
|
761
|
-
};
|
|
762
|
-
sourceId?: number | undefined;
|
|
763
|
-
testnet?: boolean | undefined;
|
|
764
|
-
custom?: Record<string, unknown> | undefined;
|
|
765
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
766
|
-
formatters?: undefined;
|
|
767
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
768
|
-
}], _rainbow_me_rainbowkit_dist_config_getDefaultConfig._transports, wagmi.CreateConnectorFn<unknown, Record<string, unknown>, Record<string, unknown>>[]>;
|
|
769
|
-
type MatchContextType = {
|
|
770
|
-
appid: string;
|
|
771
|
-
events?: IMatchEvents;
|
|
772
|
-
login: (data: {
|
|
773
|
-
token: string;
|
|
774
|
-
}) => Promise<void>;
|
|
775
|
-
theme: "light" | "dark";
|
|
776
|
-
locale?: LocaleType;
|
|
777
|
-
} & Partial<IEnvConfigType>;
|
|
778
|
-
declare const MatchProvider: React__default.FC<{
|
|
779
|
-
children: ReactNode;
|
|
780
|
-
appid: string;
|
|
781
|
-
events?: IMatchEvents;
|
|
782
|
-
theme?: "light" | "dark";
|
|
783
|
-
endpoints?: IEnvConfigType['endpoints'];
|
|
784
|
-
locale?: LocaleType;
|
|
785
|
-
wallet: WalletConfigType;
|
|
786
|
-
}>;
|
|
787
|
-
declare const useMatch: () => MatchContextType;
|
|
788
|
-
|
|
789
|
-
export { MatchProvider, useMatch, wagmiConfig };
|