viem 2.22.7 → 2.22.9
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/CHANGELOG.md +18 -0
- package/README.md +0 -12
- package/_cjs/account-abstraction/accounts/createWebAuthnCredential.js +11 -3
- package/_cjs/account-abstraction/accounts/createWebAuthnCredential.js.map +1 -1
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js +2 -2
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/toWebAuthnAccount.js +13 -2
- package/_cjs/account-abstraction/accounts/toWebAuthnAccount.js.map +1 -1
- package/_cjs/chains/definitions/artheraTestnet.js +28 -0
- package/_cjs/chains/definitions/artheraTestnet.js.map +1 -0
- package/_cjs/chains/definitions/citreaTestnet.js +23 -0
- package/_cjs/chains/definitions/citreaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/near.js +24 -0
- package/_cjs/chains/definitions/near.js.map +1 -0
- package/_cjs/chains/definitions/nearTestnet.js +24 -0
- package/_cjs/chains/definitions/nearTestnet.js.map +1 -0
- package/_cjs/chains/definitions/soneium.js +55 -0
- package/_cjs/chains/definitions/soneium.js.map +1 -0
- package/_cjs/chains/index.js +21 -10
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/op-stack/chains.js +3 -1
- package/_cjs/op-stack/chains.js.map +1 -1
- package/_cjs/utils/typedData.js +2 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_esm/account-abstraction/accounts/createWebAuthnCredential.js +11 -2
- package/_esm/account-abstraction/accounts/createWebAuthnCredential.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js +2 -2
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/toWebAuthnAccount.js +13 -2
- package/_esm/account-abstraction/accounts/toWebAuthnAccount.js.map +1 -1
- package/_esm/actions/public/getContractEvents.js +1 -1
- package/_esm/chains/definitions/artheraTestnet.js +25 -0
- package/_esm/chains/definitions/artheraTestnet.js.map +1 -0
- package/_esm/chains/definitions/citreaTestnet.js +20 -0
- package/_esm/chains/definitions/citreaTestnet.js.map +1 -0
- package/_esm/chains/definitions/near.js +21 -0
- package/_esm/chains/definitions/near.js.map +1 -0
- package/_esm/chains/definitions/nearTestnet.js +21 -0
- package/_esm/chains/definitions/nearTestnet.js.map +1 -0
- package/_esm/chains/definitions/soneium.js +52 -0
- package/_esm/chains/definitions/soneium.js.map +1 -0
- package/_esm/chains/index.js +5 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/op-stack/chains.js +1 -0
- package/_esm/op-stack/chains.js.map +1 -1
- package/_esm/utils/typedData.js +2 -1
- package/_esm/utils/typedData.js.map +1 -1
- package/_types/account-abstraction/accounts/createWebAuthnCredential.d.ts +10 -1
- package/_types/account-abstraction/accounts/createWebAuthnCredential.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts +2 -2
- package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/toWebAuthnAccount.d.ts +4 -3
- package/_types/account-abstraction/accounts/toWebAuthnAccount.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/types.d.ts +6 -1
- package/_types/account-abstraction/accounts/types.d.ts.map +1 -1
- package/_types/actions/public/getContractEvents.d.ts +1 -1
- package/_types/chains/definitions/artheraTestnet.d.ts +34 -0
- package/_types/chains/definitions/artheraTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/citreaTestnet.d.ts +38 -0
- package/_types/chains/definitions/citreaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/near.d.ts +37 -0
- package/_types/chains/definitions/near.d.ts.map +1 -0
- package/_types/chains/definitions/nearTestnet.d.ts +37 -0
- package/_types/chains/definitions/nearTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/soneium.d.ts +306 -0
- package/_types/chains/definitions/soneium.d.ts.map +1 -0
- package/_types/chains/index.d.ts +5 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/op-stack/chains.d.ts +1 -0
- package/_types/op-stack/chains.d.ts.map +1 -1
- package/_types/utils/typedData.d.ts.map +1 -1
- package/account-abstraction/accounts/createWebAuthnCredential.ts +27 -7
- package/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts +4 -6
- package/account-abstraction/accounts/toWebAuthnAccount.ts +16 -4
- package/account-abstraction/accounts/types.ts +8 -1
- package/actions/public/getContractEvents.ts +1 -1
- package/chains/definitions/artheraTestnet.ts +25 -0
- package/chains/definitions/citreaTestnet.ts +20 -0
- package/chains/definitions/near.ts +21 -0
- package/chains/definitions/nearTestnet.ts +21 -0
- package/chains/definitions/soneium.ts +53 -0
- package/chains/index.ts +5 -0
- package/errors/version.ts +1 -1
- package/op-stack/chains.ts +1 -0
- package/package.json +2 -3
- package/utils/typedData.ts +2 -1
@@ -1,2 +1,11 @@
|
|
1
|
-
|
1
|
+
import * as WebAuthnP256 from 'ox/WebAuthnP256';
|
2
|
+
import type { Hex } from '../../types/misc.js';
|
3
|
+
export type P256Credential = {
|
4
|
+
id: WebAuthnP256.P256Credential['id'];
|
5
|
+
publicKey: Hex;
|
6
|
+
raw: WebAuthnP256.P256Credential['raw'];
|
7
|
+
};
|
8
|
+
export type CreateWebAuthnCredentialParameters = WebAuthnP256.createCredential.Options;
|
9
|
+
export type CreateWebAuthnCredentialReturnType = P256Credential;
|
10
|
+
export declare function createWebAuthnCredential(parameters: CreateWebAuthnCredentialParameters): Promise<CreateWebAuthnCredentialReturnType>;
|
2
11
|
//# sourceMappingURL=createWebAuthnCredential.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createWebAuthnCredential.d.ts","sourceRoot":"","sources":["../../../account-abstraction/accounts/createWebAuthnCredential.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"createWebAuthnCredential.d.ts","sourceRoot":"","sources":["../../../account-abstraction/accounts/createWebAuthnCredential.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAE9C,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,YAAY,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;IACrC,SAAS,EAAE,GAAG,CAAA;IACd,GAAG,EAAE,YAAY,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,kCAAkC,GAC5C,YAAY,CAAC,gBAAgB,CAAC,OAAO,CAAA;AAEvC,MAAM,MAAM,kCAAkC,GAAG,cAAc,CAAA;AAE/D,wBAAsB,wBAAwB,CAC5C,UAAU,EAAE,kCAAkC,GAC7C,OAAO,CAAC,kCAAkC,CAAC,CAO7C"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Address } from 'abitype';
|
2
|
-
import
|
2
|
+
import type * as WebAuthnP256 from 'ox/WebAuthnP256';
|
3
3
|
import type { LocalAccount } from '../../../accounts/types.js';
|
4
4
|
import type { Client } from '../../../clients/createClient.js';
|
5
5
|
import type { Hash, Hex } from '../../../types/misc.js';
|
@@ -54,7 +54,7 @@ export declare function toReplaySafeHash({ address, chainId, hash, }: {
|
|
54
54
|
}): `0x${string}`;
|
55
55
|
/** @internal */
|
56
56
|
export declare function toWebAuthnSignature({ webauthn, signature, }: {
|
57
|
-
webauthn:
|
57
|
+
webauthn: WebAuthnP256.SignMetadata;
|
58
58
|
signature: Hex;
|
59
59
|
}): `0x${string}`;
|
60
60
|
/** @internal */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toCoinbaseSmartAccount.d.ts","sourceRoot":"","sources":["../../../../account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAa,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"toCoinbaseSmartAccount.d.ts","sourceRoot":"","sources":["../../../../account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAa,MAAM,SAAS,CAAA;AAEjD,OAAO,KAAK,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAEpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AAG9D,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAA;AAEvD,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAWtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAIzD,OAAO,KAAK,EACV,YAAY,EACZ,0BAA0B,EAC1B,eAAe,EAChB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,MAAM,EAAE,SAAS,KAAK,CAAC,YAAY,GAAG,eAAe,CAAC,EAAE,CAAA;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CACrD,YAAY,CAAC,kCAAkC,CAAC,CACjD,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,MAAM,CACrD,0BAA0B,CACxB,OAAO,eAAe,EACtB,KAAK,EACL;IAAE,GAAG,EAAE,OAAO,GAAG,CAAC;IAAC,OAAO,EAAE;QAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8XC,CAAA;AAEV,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CN,CAAA"}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import
|
1
|
+
import * as WebAuthnP256 from 'ox/WebAuthnP256';
|
2
2
|
import type { ErrorType } from '../../errors/utils.js';
|
3
|
+
import type { P256Credential } from './createWebAuthnCredential.js';
|
3
4
|
import type { WebAuthnAccount } from './types.js';
|
4
5
|
export type ToWebAuthnAccountParameters = {
|
5
6
|
/**
|
@@ -15,11 +16,11 @@ export type ToWebAuthnAccountParameters = {
|
|
15
16
|
*
|
16
17
|
* @default window.navigator.credentials.get
|
17
18
|
*/
|
18
|
-
getFn?:
|
19
|
+
getFn?: WebAuthnP256.sign.Options['getFn'] | undefined;
|
19
20
|
/**
|
20
21
|
* The relying party identifier to use.
|
21
22
|
*/
|
22
|
-
rpId?:
|
23
|
+
rpId?: WebAuthnP256.sign.Options['rpId'] | undefined;
|
23
24
|
};
|
24
25
|
export type ToWebAuthnAccountReturnType = WebAuthnAccount;
|
25
26
|
export type ToWebAuthnAccountErrorType = ErrorType;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toWebAuthnAccount.d.ts","sourceRoot":"","sources":["../../../account-abstraction/accounts/toWebAuthnAccount.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"toWebAuthnAccount.d.ts","sourceRoot":"","sources":["../../../account-abstraction/accounts/toWebAuthnAccount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,UAAU,EAAE;QACV,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;QACxB,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;KACvC,CAAA;IACD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,SAAS,CAAA;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;CACrD,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAA;AAEzD,MAAM,MAAM,0BAA0B,GAAG,SAAS,CAAA;AAElD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,2BAA2B,GACtC,eAAe,CA2BjB"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Abi, Address, TypedData } from 'abitype';
|
2
|
-
import type
|
2
|
+
import type * as WebAuthnP256 from 'ox/WebAuthnP256';
|
3
3
|
import type { Client } from '../../clients/createClient.js';
|
4
4
|
import type { Hash, Hex, SignableMessage } from '../../types/misc.js';
|
5
5
|
import type { TypedDataDefinition } from '../../types/typedData.js';
|
@@ -182,6 +182,11 @@ export type SmartAccount<implementation extends SmartAccountImplementation = Sma
|
|
182
182
|
/** Type of account. */
|
183
183
|
type: 'smart';
|
184
184
|
}>>;
|
185
|
+
export type WebAuthnSignReturnType = {
|
186
|
+
signature: Hex;
|
187
|
+
webauthn: WebAuthnP256.SignMetadata;
|
188
|
+
raw: WebAuthnP256.sign.ReturnType['raw'];
|
189
|
+
};
|
185
190
|
export type WebAuthnAccount = {
|
186
191
|
id: string;
|
187
192
|
publicKey: Hex;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../account-abstraction/accounts/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../account-abstraction/accounts/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,KAAK,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAEpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,KAAK,EACV,kCAAkC,EAClC,aAAa,EACb,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAElC,KAAK,IAAI,GAAG;IACV,EAAE,EAAE,GA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EventsErrorType = GetAbiItemErrorType | GetLogsErrorType
|
|
39
39
|
/**
|
40
40
|
* Returns a list of event logs emitted by a contract.
|
41
41
|
*
|
42
|
-
* - Docs: https://viem.sh/docs/
|
42
|
+
* - Docs: https://viem.sh/docs/contract/getContractEvents#getcontractevents
|
43
43
|
* - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)
|
44
44
|
*
|
45
45
|
* @param client - Client to use
|
@@ -0,0 +1,34 @@
|
|
1
|
+
export declare const artheraTestnet: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Arthera EVM Explorer";
|
5
|
+
readonly url: "https://explorer-test.arthera.net";
|
6
|
+
readonly apiUrl: "https://explorer-test.arthera.net/api";
|
7
|
+
};
|
8
|
+
};
|
9
|
+
contracts: {
|
10
|
+
readonly multicall3: {
|
11
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
12
|
+
readonly blockCreated: 22051;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
id: 10243;
|
16
|
+
name: "Arthera Testnet";
|
17
|
+
nativeCurrency: {
|
18
|
+
readonly name: "Arthera";
|
19
|
+
readonly symbol: "AA";
|
20
|
+
readonly decimals: 18;
|
21
|
+
};
|
22
|
+
rpcUrls: {
|
23
|
+
readonly default: {
|
24
|
+
readonly http: readonly ["https://rpc-test.arthera.net"];
|
25
|
+
};
|
26
|
+
};
|
27
|
+
sourceId?: number | undefined;
|
28
|
+
testnet?: boolean | undefined;
|
29
|
+
custom?: Record<string, unknown> | undefined;
|
30
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
31
|
+
formatters?: undefined;
|
32
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
33
|
+
};
|
34
|
+
//# sourceMappingURL=artheraTestnet.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"artheraTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/artheraTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBzB,CAAA"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
export declare const citreaTestnet: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Citrea Explorer";
|
5
|
+
readonly url: "https://explorer.testnet.citrea.xyz";
|
6
|
+
readonly apiUrl: "https://explorer.testnet.citrea.xyz/api";
|
7
|
+
};
|
8
|
+
};
|
9
|
+
contracts?: import("../index.js").Prettify<{
|
10
|
+
[key: string]: import("../../index.js").ChainContract | {
|
11
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
12
|
+
} | undefined;
|
13
|
+
} & {
|
14
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
15
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
16
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
17
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
18
|
+
}> | undefined;
|
19
|
+
id: 5115;
|
20
|
+
name: "Citrea Testnet";
|
21
|
+
nativeCurrency: {
|
22
|
+
readonly name: "cBTC";
|
23
|
+
readonly symbol: "cBTC";
|
24
|
+
readonly decimals: 18;
|
25
|
+
};
|
26
|
+
rpcUrls: {
|
27
|
+
readonly default: {
|
28
|
+
readonly http: readonly ["https://rpc.testnet.citrea.xyz"];
|
29
|
+
};
|
30
|
+
};
|
31
|
+
sourceId?: number | undefined;
|
32
|
+
testnet: true;
|
33
|
+
custom?: Record<string, unknown> | undefined;
|
34
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
35
|
+
formatters?: undefined;
|
36
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
37
|
+
};
|
38
|
+
//# sourceMappingURL=citreaTestnet.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"citreaTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/citreaTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;mBAkBi6B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADvmC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const near: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "NEAR Explorer";
|
5
|
+
readonly url: "https://eth-explorer.near.org";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 397;
|
19
|
+
name: "NEAR Protocol";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "NEAR";
|
23
|
+
readonly symbol: "NEAR";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://eth-rpc.mainnet.near.org"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: false;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=near.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"near.d.ts","sourceRoot":"","sources":["../../../chains/definitions/near.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;mBAmB++B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD5qC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const nearTestnet: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "NEAR Explorer";
|
5
|
+
readonly url: "https://eth-explorer-testnet.near.org";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 398;
|
19
|
+
name: "NEAR Protocol Testnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "NEAR";
|
23
|
+
readonly symbol: "NEAR";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://eth-rpc.testnet.near.org"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: true;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=nearTestnet.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"nearTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/nearTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;mBAmBk9B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADtpC,CAAA"}
|
@@ -0,0 +1,306 @@
|
|
1
|
+
export declare const soneium: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Blockscout";
|
5
|
+
readonly url: "https://soneium.blockscout.com";
|
6
|
+
readonly apiUrl: "https://soneium.blockscout.com/api";
|
7
|
+
};
|
8
|
+
};
|
9
|
+
contracts: {
|
10
|
+
readonly disputeGameFactory: {
|
11
|
+
readonly 1: {
|
12
|
+
readonly address: "0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0";
|
13
|
+
};
|
14
|
+
};
|
15
|
+
readonly l2OutputOracle: {
|
16
|
+
readonly 1: {
|
17
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
18
|
+
};
|
19
|
+
};
|
20
|
+
readonly portal: {
|
21
|
+
readonly 1: {
|
22
|
+
readonly address: "0x88e529a6ccd302c948689cd5156c83d4614fae92";
|
23
|
+
readonly blockCreated: 7061266;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
readonly l1StandardBridge: {
|
27
|
+
readonly 1: {
|
28
|
+
readonly address: "0xeb9bf100225c214efc3e7c651ebbadcf85177607";
|
29
|
+
readonly blockCreated: 7061266;
|
30
|
+
};
|
31
|
+
};
|
32
|
+
readonly multicall3: {
|
33
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
34
|
+
readonly blockCreated: 1;
|
35
|
+
};
|
36
|
+
readonly gasPriceOracle: {
|
37
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
38
|
+
};
|
39
|
+
readonly l1Block: {
|
40
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
41
|
+
};
|
42
|
+
readonly l2CrossDomainMessenger: {
|
43
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
44
|
+
};
|
45
|
+
readonly l2Erc721Bridge: {
|
46
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
47
|
+
};
|
48
|
+
readonly l2StandardBridge: {
|
49
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
50
|
+
};
|
51
|
+
readonly l2ToL1MessagePasser: {
|
52
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
53
|
+
};
|
54
|
+
};
|
55
|
+
id: 1868;
|
56
|
+
name: "Soneium Mainnet";
|
57
|
+
nativeCurrency: {
|
58
|
+
readonly name: "Ether";
|
59
|
+
readonly symbol: "ETH";
|
60
|
+
readonly decimals: 18;
|
61
|
+
};
|
62
|
+
rpcUrls: {
|
63
|
+
readonly default: {
|
64
|
+
readonly http: readonly ["https://rpc.soneium.org"];
|
65
|
+
};
|
66
|
+
};
|
67
|
+
sourceId: 1;
|
68
|
+
testnet?: boolean | undefined;
|
69
|
+
custom?: Record<string, unknown> | undefined;
|
70
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
71
|
+
formatters: {
|
72
|
+
readonly block: {
|
73
|
+
exclude: [] | undefined;
|
74
|
+
format: (args: import("../index.js").OpStackRpcBlock) => {
|
75
|
+
baseFeePerGas: bigint | null;
|
76
|
+
blobGasUsed: bigint;
|
77
|
+
difficulty: bigint;
|
78
|
+
excessBlobGas: bigint;
|
79
|
+
extraData: import("../../index.js").Hex;
|
80
|
+
gasLimit: bigint;
|
81
|
+
gasUsed: bigint;
|
82
|
+
hash: `0x${string}` | null;
|
83
|
+
logsBloom: `0x${string}` | null;
|
84
|
+
miner: import("abitype").Address;
|
85
|
+
mixHash: import("../../index.js").Hash;
|
86
|
+
nonce: `0x${string}` | null;
|
87
|
+
number: bigint | null;
|
88
|
+
parentBeaconBlockRoot?: import("../../index.js").Hex | undefined;
|
89
|
+
parentHash: import("../../index.js").Hash;
|
90
|
+
receiptsRoot: import("../../index.js").Hex;
|
91
|
+
sealFields: import("../../index.js").Hex[];
|
92
|
+
sha3Uncles: import("../../index.js").Hash;
|
93
|
+
size: bigint;
|
94
|
+
stateRoot: import("../../index.js").Hash;
|
95
|
+
timestamp: bigint;
|
96
|
+
totalDifficulty: bigint | null;
|
97
|
+
transactions: `0x${string}`[] | import("../index.js").OpStackTransaction<boolean>[];
|
98
|
+
transactionsRoot: import("../../index.js").Hash;
|
99
|
+
uncles: import("../../index.js").Hash[];
|
100
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
101
|
+
withdrawalsRoot?: import("../../index.js").Hex | undefined;
|
102
|
+
} & {};
|
103
|
+
type: "block";
|
104
|
+
};
|
105
|
+
readonly transaction: {
|
106
|
+
exclude: [] | undefined;
|
107
|
+
format: (args: import("../index.js").OpStackRpcTransaction) => ({
|
108
|
+
blockHash: `0x${string}` | null;
|
109
|
+
blockNumber: bigint | null;
|
110
|
+
from: import("abitype").Address;
|
111
|
+
gas: bigint;
|
112
|
+
hash: import("../../index.js").Hash;
|
113
|
+
input: import("../../index.js").Hex;
|
114
|
+
nonce: number;
|
115
|
+
r: import("../../index.js").Hex;
|
116
|
+
s: import("../../index.js").Hex;
|
117
|
+
to: import("abitype").Address | null;
|
118
|
+
transactionIndex: number | null;
|
119
|
+
typeHex: import("../../index.js").Hex | null;
|
120
|
+
v: bigint;
|
121
|
+
value: bigint;
|
122
|
+
yParity: number;
|
123
|
+
gasPrice?: undefined;
|
124
|
+
maxFeePerBlobGas?: undefined;
|
125
|
+
maxFeePerGas: bigint;
|
126
|
+
maxPriorityFeePerGas: bigint;
|
127
|
+
isSystemTx?: boolean;
|
128
|
+
mint?: bigint | undefined;
|
129
|
+
sourceHash: import("../../index.js").Hex;
|
130
|
+
type: "deposit";
|
131
|
+
} | {
|
132
|
+
r: import("../../index.js").Hex;
|
133
|
+
s: import("../../index.js").Hex;
|
134
|
+
v: bigint;
|
135
|
+
to: import("abitype").Address | null;
|
136
|
+
from: import("abitype").Address;
|
137
|
+
gas: bigint;
|
138
|
+
nonce: number;
|
139
|
+
value: bigint;
|
140
|
+
blockHash: `0x${string}` | null;
|
141
|
+
blockNumber: bigint | null;
|
142
|
+
hash: import("../../index.js").Hash;
|
143
|
+
input: import("../../index.js").Hex;
|
144
|
+
transactionIndex: number | null;
|
145
|
+
typeHex: import("../../index.js").Hex | null;
|
146
|
+
accessList?: undefined;
|
147
|
+
authorizationList?: undefined;
|
148
|
+
blobVersionedHashes?: undefined;
|
149
|
+
chainId?: number | undefined;
|
150
|
+
yParity?: undefined;
|
151
|
+
type: "legacy";
|
152
|
+
gasPrice: bigint;
|
153
|
+
maxFeePerBlobGas?: undefined;
|
154
|
+
maxFeePerGas?: undefined;
|
155
|
+
maxPriorityFeePerGas?: undefined;
|
156
|
+
isSystemTx?: undefined;
|
157
|
+
mint?: undefined;
|
158
|
+
sourceHash?: undefined;
|
159
|
+
} | {
|
160
|
+
blockHash: `0x${string}` | null;
|
161
|
+
blockNumber: bigint | null;
|
162
|
+
from: import("abitype").Address;
|
163
|
+
gas: bigint;
|
164
|
+
hash: import("../../index.js").Hash;
|
165
|
+
input: import("../../index.js").Hex;
|
166
|
+
nonce: number;
|
167
|
+
r: import("../../index.js").Hex;
|
168
|
+
s: import("../../index.js").Hex;
|
169
|
+
to: import("abitype").Address | null;
|
170
|
+
transactionIndex: number | null;
|
171
|
+
typeHex: import("../../index.js").Hex | null;
|
172
|
+
v: bigint;
|
173
|
+
value: bigint;
|
174
|
+
yParity: number;
|
175
|
+
accessList: import("../../index.js").AccessList;
|
176
|
+
authorizationList?: undefined;
|
177
|
+
blobVersionedHashes?: undefined;
|
178
|
+
chainId: number;
|
179
|
+
type: "eip2930";
|
180
|
+
gasPrice: bigint;
|
181
|
+
maxFeePerBlobGas?: undefined;
|
182
|
+
maxFeePerGas?: undefined;
|
183
|
+
maxPriorityFeePerGas?: undefined;
|
184
|
+
isSystemTx?: undefined;
|
185
|
+
mint?: undefined;
|
186
|
+
sourceHash?: undefined;
|
187
|
+
} | {
|
188
|
+
blockHash: `0x${string}` | null;
|
189
|
+
blockNumber: bigint | null;
|
190
|
+
from: import("abitype").Address;
|
191
|
+
gas: bigint;
|
192
|
+
hash: import("../../index.js").Hash;
|
193
|
+
input: import("../../index.js").Hex;
|
194
|
+
nonce: number;
|
195
|
+
r: import("../../index.js").Hex;
|
196
|
+
s: import("../../index.js").Hex;
|
197
|
+
to: import("abitype").Address | null;
|
198
|
+
transactionIndex: number | null;
|
199
|
+
typeHex: import("../../index.js").Hex | null;
|
200
|
+
v: bigint;
|
201
|
+
value: bigint;
|
202
|
+
yParity: number;
|
203
|
+
accessList: import("../../index.js").AccessList;
|
204
|
+
authorizationList?: undefined;
|
205
|
+
blobVersionedHashes?: undefined;
|
206
|
+
chainId: number;
|
207
|
+
type: "eip1559";
|
208
|
+
gasPrice?: undefined;
|
209
|
+
maxFeePerBlobGas?: undefined;
|
210
|
+
maxFeePerGas: bigint;
|
211
|
+
maxPriorityFeePerGas: bigint;
|
212
|
+
isSystemTx?: undefined;
|
213
|
+
mint?: undefined;
|
214
|
+
sourceHash?: undefined;
|
215
|
+
} | {
|
216
|
+
blockHash: `0x${string}` | null;
|
217
|
+
blockNumber: bigint | null;
|
218
|
+
from: import("abitype").Address;
|
219
|
+
gas: bigint;
|
220
|
+
hash: import("../../index.js").Hash;
|
221
|
+
input: import("../../index.js").Hex;
|
222
|
+
nonce: number;
|
223
|
+
r: import("../../index.js").Hex;
|
224
|
+
s: import("../../index.js").Hex;
|
225
|
+
to: import("abitype").Address | null;
|
226
|
+
transactionIndex: number | null;
|
227
|
+
typeHex: import("../../index.js").Hex | null;
|
228
|
+
v: bigint;
|
229
|
+
value: bigint;
|
230
|
+
yParity: number;
|
231
|
+
accessList: import("../../index.js").AccessList;
|
232
|
+
authorizationList?: undefined;
|
233
|
+
blobVersionedHashes: readonly import("../../index.js").Hex[];
|
234
|
+
chainId: number;
|
235
|
+
type: "eip4844";
|
236
|
+
gasPrice?: undefined;
|
237
|
+
maxFeePerBlobGas: bigint;
|
238
|
+
maxFeePerGas: bigint;
|
239
|
+
maxPriorityFeePerGas: bigint;
|
240
|
+
isSystemTx?: undefined;
|
241
|
+
mint?: undefined;
|
242
|
+
sourceHash?: undefined;
|
243
|
+
} | {
|
244
|
+
blockHash: `0x${string}` | null;
|
245
|
+
blockNumber: bigint | null;
|
246
|
+
from: import("abitype").Address;
|
247
|
+
gas: bigint;
|
248
|
+
hash: import("../../index.js").Hash;
|
249
|
+
input: import("../../index.js").Hex;
|
250
|
+
nonce: number;
|
251
|
+
r: import("../../index.js").Hex;
|
252
|
+
s: import("../../index.js").Hex;
|
253
|
+
to: import("abitype").Address | null;
|
254
|
+
transactionIndex: number | null;
|
255
|
+
typeHex: import("../../index.js").Hex | null;
|
256
|
+
v: bigint;
|
257
|
+
value: bigint;
|
258
|
+
yParity: number;
|
259
|
+
accessList: import("../../index.js").AccessList;
|
260
|
+
authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
|
261
|
+
blobVersionedHashes?: undefined;
|
262
|
+
chainId: number;
|
263
|
+
type: "eip7702";
|
264
|
+
gasPrice?: undefined;
|
265
|
+
maxFeePerBlobGas?: undefined;
|
266
|
+
maxFeePerGas: bigint;
|
267
|
+
maxPriorityFeePerGas: bigint;
|
268
|
+
isSystemTx?: undefined;
|
269
|
+
mint?: undefined;
|
270
|
+
sourceHash?: undefined;
|
271
|
+
}) & {};
|
272
|
+
type: "transaction";
|
273
|
+
};
|
274
|
+
readonly transactionReceipt: {
|
275
|
+
exclude: [] | undefined;
|
276
|
+
format: (args: import("../index.js").OpStackRpcTransactionReceipt) => {
|
277
|
+
blobGasPrice?: bigint | undefined;
|
278
|
+
blobGasUsed?: bigint | undefined;
|
279
|
+
blockHash: import("../../index.js").Hash;
|
280
|
+
blockNumber: bigint;
|
281
|
+
contractAddress: import("abitype").Address | null | undefined;
|
282
|
+
cumulativeGasUsed: bigint;
|
283
|
+
effectiveGasPrice: bigint;
|
284
|
+
from: import("abitype").Address;
|
285
|
+
gasUsed: bigint;
|
286
|
+
logs: import("../../index.js").Log<bigint, number, false>[];
|
287
|
+
logsBloom: import("../../index.js").Hex;
|
288
|
+
root?: import("../../index.js").Hash | undefined;
|
289
|
+
status: "success" | "reverted";
|
290
|
+
to: import("abitype").Address | null;
|
291
|
+
transactionHash: import("../../index.js").Hash;
|
292
|
+
transactionIndex: number;
|
293
|
+
type: import("../../index.js").TransactionType;
|
294
|
+
l1GasPrice: bigint | null;
|
295
|
+
l1GasUsed: bigint | null;
|
296
|
+
l1Fee: bigint | null;
|
297
|
+
l1FeeScalar: number | null;
|
298
|
+
} & {};
|
299
|
+
type: "transactionReceipt";
|
300
|
+
};
|
301
|
+
};
|
302
|
+
serializers: {
|
303
|
+
readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
|
304
|
+
};
|
305
|
+
};
|
306
|
+
//# sourceMappingURL=soneium.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"soneium.d.ts","sourceRoot":"","sources":["../../../chains/definitions/soneium.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ClB,CAAA"}
|
package/_types/chains/index.d.ts
CHANGED
@@ -21,6 +21,7 @@ export { areonNetwork } from './definitions/areonNetwork.js';
|
|
21
21
|
export { areonNetworkTestnet } from './definitions/areonNetworkTestnet.js';
|
22
22
|
export { artelaTestnet } from './definitions/artelaTestnet.js';
|
23
23
|
export { arthera } from './definitions/arthera.js';
|
24
|
+
export { artheraTestnet } from './definitions/artheraTestnet.js';
|
24
25
|
export { assetChain } from './definitions/assetChain.js';
|
25
26
|
export { assetChainTestnet } from './definitions/assetChainTestnet.js';
|
26
27
|
export { astar } from './definitions/astar.js';
|
@@ -82,6 +83,7 @@ export { celoAlfajores } from './definitions/celoAlfajores.js';
|
|
82
83
|
export { chang } from './definitions/chang.js';
|
83
84
|
export { chiliz } from './definitions/chiliz.js';
|
84
85
|
export { chips } from './definitions/chips.js';
|
86
|
+
export { citreaTestnet } from './definitions/citreaTestnet.js';
|
85
87
|
export { classic } from './definitions/classic.js';
|
86
88
|
export { coinbit } from './definitions/coinbit.js';
|
87
89
|
export { coinex } from './definitions/coinex.js';
|
@@ -297,6 +299,8 @@ export { morphHolesky } from './definitions/morphHolesky.js';
|
|
297
299
|
export { morphSepolia } from './definitions/morphSepolia.js';
|
298
300
|
export { nahmii } from './definitions/nahmii.js';
|
299
301
|
export { nautilus } from './definitions/nautilus.js';
|
302
|
+
export { near } from './definitions/near.js';
|
303
|
+
export { nearTestnet } from './definitions/nearTestnet.js';
|
300
304
|
export { neonDevnet } from './definitions/neonDevnet.js';
|
301
305
|
export { neonMainnet } from './definitions/neonMainnet.js';
|
302
306
|
export { neoxMainnet } from './definitions/neoxMainnet.js';
|
@@ -403,6 +407,7 @@ export { skaleTitanTestnet } from './definitions/skale/titanTestnet.js';
|
|
403
407
|
export { sketchpad } from './definitions/sketchpad.js';
|
404
408
|
export { snax } from './definitions/snax.js';
|
405
409
|
export { snaxTestnet } from './definitions/snaxTestnet.js';
|
410
|
+
export { soneium } from './definitions/soneium.js';
|
406
411
|
export { soneiumMinato } from './definitions/soneiumMinato.js';
|
407
412
|
export { sonic } from './definitions/sonic.js';
|
408
413
|
export { sonicTestnet } from './definitions/sonicTestnet.js';
|