viem 2.50.3 → 2.51.0
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 +28 -0
- package/_cjs/actions/index.js +5 -3
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/createAccessList.js +3 -0
- package/_cjs/actions/public/createAccessList.js.map +1 -1
- package/_cjs/actions/public/getBlockReceipts.js +19 -0
- package/_cjs/actions/public/getBlockReceipts.js.map +1 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/somnia.js +7 -0
- package/_cjs/chains/definitions/somnia.js.map +1 -1
- package/_cjs/chains/definitions/somniaTestnet.js +3 -2
- package/_cjs/chains/definitions/somniaTestnet.js.map +1 -1
- package/_cjs/clients/decorators/public.js +2 -0
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/op-stack/actions/buildProveWithdrawal.js +10 -2
- package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/getGame.js.map +1 -1
- package/_cjs/op-stack/actions/getGames.js +3 -1
- package/_cjs/op-stack/actions/getGames.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToProve.js +3 -3
- package/_cjs/op-stack/actions/getTimeToProve.js.map +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/op-stack/actions/waitToProve.js +4 -3
- package/_cjs/op-stack/actions/waitToProve.js.map +1 -1
- package/_cjs/op-stack/gameTypes.js +9 -0
- package/_cjs/op-stack/gameTypes.js.map +1 -0
- package/_cjs/op-stack/index.js +7 -1
- package/_cjs/op-stack/index.js.map +1 -1
- package/_cjs/op-stack/utils/getL2BlockNumberAtTimestamp.js +29 -0
- package/_cjs/op-stack/utils/getL2BlockNumberAtTimestamp.js.map +1 -0
- package/_cjs/tempo/Abis.js +477 -11
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Account.js +27 -1
- package/_cjs/tempo/Account.js.map +1 -1
- package/_cjs/tempo/Decorator.js +17 -0
- package/_cjs/tempo/Decorator.js.map +1 -1
- package/_cjs/tempo/Transaction.js +10 -2
- package/_cjs/tempo/Transaction.js.map +1 -1
- package/_cjs/tempo/actions/channel.js +377 -0
- package/_cjs/tempo/actions/channel.js.map +1 -0
- package/_cjs/tempo/actions/index.js +2 -1
- package/_cjs/tempo/actions/index.js.map +1 -1
- package/_cjs/tempo/actions/token.js +57 -27
- package/_cjs/tempo/actions/token.js.map +1 -1
- package/_cjs/tempo/index.js +2 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_esm/actions/index.js +1 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/createAccessList.js +3 -0
- package/_esm/actions/public/createAccessList.js.map +1 -1
- package/_esm/actions/public/getBlockReceipts.js +39 -0
- package/_esm/actions/public/getBlockReceipts.js.map +1 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/somnia.js +7 -0
- package/_esm/chains/definitions/somnia.js.map +1 -1
- package/_esm/chains/definitions/somniaTestnet.js +3 -2
- package/_esm/chains/definitions/somniaTestnet.js.map +1 -1
- package/_esm/clients/decorators/public.js +2 -0
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/op-stack/actions/buildProveWithdrawal.js +10 -2
- package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_esm/op-stack/actions/getGame.js.map +1 -1
- package/_esm/op-stack/actions/getGames.js +3 -1
- package/_esm/op-stack/actions/getGames.js.map +1 -1
- package/_esm/op-stack/actions/getTimeToProve.js +3 -3
- package/_esm/op-stack/actions/getTimeToProve.js.map +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_esm/op-stack/actions/waitToProve.js +4 -3
- package/_esm/op-stack/actions/waitToProve.js.map +1 -1
- package/_esm/op-stack/gameTypes.js +9 -0
- package/_esm/op-stack/gameTypes.js.map +1 -0
- package/_esm/op-stack/index.js +2 -0
- package/_esm/op-stack/index.js.map +1 -1
- package/_esm/op-stack/utils/getL2BlockNumberAtTimestamp.js +33 -0
- package/_esm/op-stack/utils/getL2BlockNumberAtTimestamp.js.map +1 -0
- package/_esm/tempo/Abis.js +476 -10
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Account.js +27 -2
- package/_esm/tempo/Account.js.map +1 -1
- package/_esm/tempo/Decorator.js +17 -0
- package/_esm/tempo/Decorator.js.map +1 -1
- package/_esm/tempo/Transaction.js +16 -11
- package/_esm/tempo/Transaction.js.map +1 -1
- package/_esm/tempo/actions/channel.js +736 -0
- package/_esm/tempo/actions/channel.js.map +1 -0
- package/_esm/tempo/actions/index.js +1 -0
- package/_esm/tempo/actions/index.js.map +1 -1
- package/_esm/tempo/actions/token.js +61 -28
- package/_esm/tempo/actions/token.js.map +1 -1
- package/_esm/tempo/index.js +1 -1
- package/_esm/tempo/index.js.map +1 -1
- package/_esm/utils/formatters/transactionRequest.js.map +1 -1
- package/_esm/utils/index.js.map +1 -1
- package/_types/actions/index.d.ts +1 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/createAccessList.d.ts +2 -1
- package/_types/actions/public/createAccessList.d.ts.map +1 -1
- package/_types/actions/public/getBlockReceipts.d.ts +53 -0
- package/_types/actions/public/getBlockReceipts.d.ts.map +1 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +4 -5
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/definitions/somnia.d.ts +7 -10
- package/_types/chains/definitions/somnia.d.ts.map +1 -1
- package/_types/chains/definitions/somniaTestnet.d.ts +3 -3
- package/_types/chains/definitions/somniaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/tempo.d.ts +8 -8
- package/_types/chains/definitions/tempoDevnet.d.ts +8 -8
- package/_types/chains/definitions/tempoLocalnet.d.ts +8 -8
- package/_types/chains/definitions/tempoModerato.d.ts +8 -8
- package/_types/chains/index.d.ts +44 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +23 -0
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +2 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts +2 -1
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
- package/_types/op-stack/actions/getGame.d.ts +7 -0
- package/_types/op-stack/actions/getGame.d.ts.map +1 -1
- package/_types/op-stack/actions/getGames.d.ts +7 -0
- package/_types/op-stack/actions/getGames.d.ts.map +1 -1
- package/_types/op-stack/actions/getTimeToProve.d.ts +4 -0
- package/_types/op-stack/actions/getTimeToProve.d.ts.map +1 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts +4 -0
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
- package/_types/op-stack/actions/waitToProve.d.ts +4 -0
- package/_types/op-stack/actions/waitToProve.d.ts.map +1 -1
- package/_types/op-stack/gameTypes.d.ts +7 -0
- package/_types/op-stack/gameTypes.d.ts.map +1 -0
- package/_types/op-stack/index.d.ts +2 -0
- package/_types/op-stack/index.d.ts.map +1 -1
- package/_types/op-stack/utils/getL2BlockNumberAtTimestamp.d.ts +21 -0
- package/_types/op-stack/utils/getL2BlockNumberAtTimestamp.d.ts.map +1 -0
- package/_types/tempo/Abis.d.ts +3784 -2271
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Account.d.ts +32 -1
- package/_types/tempo/Account.d.ts.map +1 -1
- package/_types/tempo/Decorator.d.ts +246 -1
- package/_types/tempo/Decorator.d.ts.map +1 -1
- package/_types/tempo/Transaction.d.ts.map +1 -1
- package/_types/tempo/actions/accessKey.d.ts +339 -0
- package/_types/tempo/actions/accessKey.d.ts.map +1 -1
- package/_types/tempo/actions/channel.d.ts +4390 -0
- package/_types/tempo/actions/channel.d.ts.map +1 -0
- package/_types/tempo/actions/dex.d.ts +140 -0
- package/_types/tempo/actions/dex.d.ts.map +1 -1
- package/_types/tempo/actions/fee.d.ts +0 -48
- package/_types/tempo/actions/fee.d.ts.map +1 -1
- package/_types/tempo/actions/index.d.ts +1 -0
- package/_types/tempo/actions/index.d.ts.map +1 -1
- package/_types/tempo/actions/reward.d.ts +74 -18
- package/_types/tempo/actions/reward.d.ts.map +1 -1
- package/_types/tempo/actions/token.d.ts +629 -141
- package/_types/tempo/actions/token.d.ts.map +1 -1
- package/_types/tempo/actions/virtualAddress.d.ts +11 -0
- package/_types/tempo/actions/virtualAddress.d.ts.map +1 -1
- package/_types/tempo/index.d.ts +1 -1
- package/_types/tempo/index.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +13 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +6 -1
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/index.d.ts +1 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/actions/index.ts +6 -0
- package/actions/public/createAccessList.ts +4 -0
- package/actions/public/getBlockReceipts.ts +101 -0
- package/actions/wallet/prepareTransactionRequest.ts +7 -10
- package/chains/definitions/somnia.ts +7 -0
- package/chains/definitions/somniaTestnet.ts +3 -2
- package/chains/index.ts +50 -0
- package/clients/decorators/public.ts +30 -0
- package/errors/version.ts +1 -1
- package/index.ts +6 -0
- package/op-stack/actions/buildProveWithdrawal.ts +17 -2
- package/op-stack/actions/getGame.ts +7 -0
- package/op-stack/actions/getGames.ts +10 -1
- package/op-stack/actions/getTimeToProve.ts +7 -3
- package/op-stack/actions/getWithdrawalStatus.ts +6 -1
- package/op-stack/actions/waitToProve.ts +8 -3
- package/op-stack/gameTypes.ts +9 -0
- package/op-stack/index.ts +7 -1
- package/op-stack/utils/getL2BlockNumberAtTimestamp.ts +57 -0
- package/package.json +2 -2
- package/tempo/Abis.ts +477 -10
- package/tempo/Account.ts +67 -2
- package/tempo/Decorator.ts +299 -1
- package/tempo/Transaction.ts +18 -11
- package/tempo/actions/channel.ts +1197 -0
- package/tempo/actions/index.ts +1 -0
- package/tempo/actions/token.ts +85 -26
- package/tempo/index.ts +1 -0
- package/types/eip1193.ts +13 -0
- package/utils/formatters/transactionRequest.ts +13 -1
- package/utils/index.ts +1 -0
|
@@ -13,7 +13,7 @@ import type { ExtractCapabilities } from '../../types/capabilities.js';
|
|
|
13
13
|
import type { Chain, DeriveChain, GetChainParameter } from '../../types/chain.js';
|
|
14
14
|
import type { GetTransactionRequestKzgParameter } from '../../types/kzg.js';
|
|
15
15
|
import type { ExactPartial, IsNever, Prettify, UnionOmit, UnionRequiredBy } from '../../types/utils.js';
|
|
16
|
-
import type { FormattedTransactionRequest } from '../../utils/formatters/transactionRequest.js';
|
|
16
|
+
import type { ExtractFormattedTransactionRequest, FormattedTransactionRequest } from '../../utils/formatters/transactionRequest.js';
|
|
17
17
|
import { LruMap } from '../../utils/lru.js';
|
|
18
18
|
import type { NonceManager } from '../../utils/nonceManager.js';
|
|
19
19
|
import { type AssertRequestErrorType } from '../../utils/transaction/assertRequest.js';
|
|
@@ -25,9 +25,6 @@ export declare const eip1559NetworkCache: Map<string, boolean>;
|
|
|
25
25
|
export declare const supportsFillTransaction: LruMap<boolean>;
|
|
26
26
|
export type PrepareTransactionRequestParameterType = 'blobVersionedHashes' | 'chainId' | 'fees' | 'gas' | 'nonce' | 'sidecars' | 'type';
|
|
27
27
|
type ParameterTypeToParameters<parameterType extends PrepareTransactionRequestParameterType> = parameterType extends 'fees' ? 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'gasPrice' : parameterType;
|
|
28
|
-
type ExtractTransactionRequest<transactionRequest, transactionType> = transactionRequest extends {
|
|
29
|
-
type?: infer type | undefined;
|
|
30
|
-
} ? Extract<transactionType, type> extends never ? never : transactionRequest : never;
|
|
31
28
|
export type PrepareTransactionRequestRequest<chain extends Chain | undefined = Chain | undefined, chainOverride extends Chain | undefined = Chain | undefined, _derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = UnionOmit<FormattedTransactionRequest<_derivedChain>, 'from'> & GetTransactionRequestKzgParameter & {
|
|
32
29
|
/**
|
|
33
30
|
* Nonce manager to use for the transaction request.
|
|
@@ -43,7 +40,9 @@ export type PrepareTransactionRequestRequest<chain extends Chain | undefined = C
|
|
|
43
40
|
export type PrepareTransactionRequestParameters<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, accountOverride extends Account | Address | undefined = Account | Address | undefined, request extends PrepareTransactionRequestRequest<chain, chainOverride> = PrepareTransactionRequestRequest<chain, chainOverride>> = request & GetAccountParameter<account, accountOverride, false, true> & GetChainParameter<chain, chainOverride> & GetTransactionRequestKzgParameter<request> & {
|
|
44
41
|
chainId?: number | undefined;
|
|
45
42
|
};
|
|
46
|
-
export type PrepareTransactionRequestReturnType<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, accountOverride extends Account | Address | undefined = Account | Address | undefined, request extends PrepareTransactionRequestRequest<chain, chainOverride> = PrepareTransactionRequestRequest<chain, chainOverride>, _derivedAccount extends Account | Address | undefined = DeriveAccount<account, accountOverride>, _derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>, _transactionType = request['type'] extends string | undefined ? request['type'] : GetTransactionType<request> extends 'legacy' ? unknown : GetTransactionType<request>, _transactionRequest =
|
|
43
|
+
export type PrepareTransactionRequestReturnType<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, accountOverride extends Account | Address | undefined = Account | Address | undefined, request extends PrepareTransactionRequestRequest<chain, chainOverride> = PrepareTransactionRequestRequest<chain, chainOverride>, _derivedAccount extends Account | Address | undefined = DeriveAccount<account, accountOverride>, _derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>, _transactionType = request['type'] extends string | undefined ? request['type'] : GetTransactionType<request> extends 'legacy' ? unknown : GetTransactionType<request>, _transactionRequest = ExtractFormattedTransactionRequest<_derivedChain, {
|
|
44
|
+
type?: _transactionType extends string ? _transactionType : undefined;
|
|
45
|
+
}>> = Prettify<UnionRequiredBy<Extract<UnionOmit<FormattedTransactionRequest<_derivedChain>, 'from'> & (_derivedChain extends Chain ? {
|
|
47
46
|
chain: _derivedChain;
|
|
48
47
|
} : {
|
|
49
48
|
chain?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareTransactionRequest.d.ts","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,4CAA4C,CAAA;AACnD,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAMvE,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAA;AAE3E,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,SAAS,EACT,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAK7B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"prepareTransactionRequest.d.ts","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,4CAA4C,CAAA;AACnD,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAMvE,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,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EAAE,KAAK,CAAC,CAAC,GAAG;IAE7D,aAAa,CAAC,EACV,mBAAmB,CAAC,iBAAiB,EAAE,YAAY,CAAC,GACpD,SAAS,CAAA;CACd,CACJ,CAAA;AAED,MAAM,MAAM,kCAAkC,GAC1C,wBAAwB,GACxB,sBAAsB,GACtB,qBAAqB,GACrB,iBAAiB,GACjB,4BAA4B,GAC5B,oBAAoB,GACpB,2BAA2B,CAAA;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAsB,yBAAyB,CAC7C,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,KAAK,CAAC,OAAO,SAAS,gCAAgC,CAAC,KAAK,EAAE,aAAa,CAAC,EAC5E,eAAe,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EACjE,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,IAAI,EAAE,mCAAmC,CACvC,KAAK,EACL,OAAO,EACP,aAAa,EACb,eAAe,EACf,OAAO,CACR,GACA,OAAO,CACR,mCAAmC,CACjC,KAAK,EACL,OAAO,EACP,aAAa,EACb,eAAe,EACf,OAAO,CACR,CACF,CAmXA"}
|
|
@@ -6,16 +6,13 @@ export declare const somnia: {
|
|
|
6
6
|
readonly apiUrl: "https://explorer.somnia.network/api";
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
blockTime
|
|
10
|
-
contracts
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
multicall3?: import("../../index.js").ChainContract | undefined;
|
|
17
|
-
erc6492Verifier?: import("../../index.js").ChainContract | undefined;
|
|
18
|
-
} | undefined;
|
|
9
|
+
blockTime: 100;
|
|
10
|
+
contracts: {
|
|
11
|
+
readonly multicall3: {
|
|
12
|
+
readonly address: "0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11";
|
|
13
|
+
readonly blockCreated: 38516341;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
19
16
|
ensTlds?: readonly string[] | undefined;
|
|
20
17
|
id: 5031;
|
|
21
18
|
name: "Somnia";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"somnia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/somnia.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"somnia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/somnia.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBjB,CAAA"}
|
|
@@ -2,11 +2,11 @@ export declare const somniaTestnet: {
|
|
|
2
2
|
blockExplorers: {
|
|
3
3
|
readonly default: {
|
|
4
4
|
readonly name: "Somnia Testnet Explorer";
|
|
5
|
-
readonly url: "https://shannon-explorer.somnia.network
|
|
5
|
+
readonly url: "https://shannon-explorer.somnia.network";
|
|
6
6
|
readonly apiUrl: "https://shannon-explorer.somnia.network/api";
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
blockTime
|
|
9
|
+
blockTime: 100;
|
|
10
10
|
contracts: {
|
|
11
11
|
readonly multicall3: {
|
|
12
12
|
readonly address: "0x841b8199E6d3Db3C6f264f6C2bd8848b3cA64223";
|
|
@@ -24,7 +24,7 @@ export declare const somniaTestnet: {
|
|
|
24
24
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
25
25
|
rpcUrls: {
|
|
26
26
|
readonly default: {
|
|
27
|
-
readonly http: readonly ["https://
|
|
27
|
+
readonly http: readonly ["https://api.infra.testnet.somnia.network"];
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
sourceId?: number | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"somniaTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/somniaTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"somniaTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/somniaTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAA"}
|
|
@@ -41,7 +41,7 @@ export declare const tempo: {
|
|
|
41
41
|
formatters: {
|
|
42
42
|
readonly transaction: {
|
|
43
43
|
exclude: never[] | undefined;
|
|
44
|
-
format: (args: import("
|
|
44
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
45
45
|
r: import("../../index.js").Hex;
|
|
46
46
|
s: import("../../index.js").Hex;
|
|
47
47
|
v: bigint;
|
|
@@ -255,7 +255,7 @@ export declare const tempo: {
|
|
|
255
255
|
};
|
|
256
256
|
readonly transactionReceipt: {
|
|
257
257
|
exclude: [] | undefined;
|
|
258
|
-
format: (args: import("
|
|
258
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
259
259
|
blobGasPrice?: bigint | undefined;
|
|
260
260
|
blobGasUsed?: bigint | undefined;
|
|
261
261
|
blockHash: import("../../index.js").Hash;
|
|
@@ -273,7 +273,7 @@ export declare const tempo: {
|
|
|
273
273
|
to: import("abitype").Address | null;
|
|
274
274
|
transactionHash: import("../../index.js").Hash;
|
|
275
275
|
transactionIndex: number;
|
|
276
|
-
type: import("
|
|
276
|
+
type: import("../index.js").z_TransactionType;
|
|
277
277
|
feePayer?: `0x${string}` | undefined;
|
|
278
278
|
feeToken?: `0x${string}` | undefined;
|
|
279
279
|
} & {};
|
|
@@ -281,7 +281,7 @@ export declare const tempo: {
|
|
|
281
281
|
};
|
|
282
282
|
readonly transactionRequest: {
|
|
283
283
|
exclude: [] | undefined;
|
|
284
|
-
format: (args: import("
|
|
284
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
285
285
|
data?: `0x${string}` | undefined;
|
|
286
286
|
from?: `0x${string}` | undefined;
|
|
287
287
|
gas?: `0x${string}` | undefined;
|
|
@@ -509,7 +509,7 @@ export declare const tempo: {
|
|
|
509
509
|
readonly formatters: {
|
|
510
510
|
readonly transaction: {
|
|
511
511
|
exclude: never[] | undefined;
|
|
512
|
-
format: (args: import("
|
|
512
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
513
513
|
r: import("../../index.js").Hex;
|
|
514
514
|
s: import("../../index.js").Hex;
|
|
515
515
|
v: bigint;
|
|
@@ -723,7 +723,7 @@ export declare const tempo: {
|
|
|
723
723
|
};
|
|
724
724
|
readonly transactionReceipt: {
|
|
725
725
|
exclude: [] | undefined;
|
|
726
|
-
format: (args: import("
|
|
726
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
727
727
|
blobGasPrice?: bigint | undefined;
|
|
728
728
|
blobGasUsed?: bigint | undefined;
|
|
729
729
|
blockHash: import("../../index.js").Hash;
|
|
@@ -741,7 +741,7 @@ export declare const tempo: {
|
|
|
741
741
|
to: import("abitype").Address | null;
|
|
742
742
|
transactionHash: import("../../index.js").Hash;
|
|
743
743
|
transactionIndex: number;
|
|
744
|
-
type: import("
|
|
744
|
+
type: import("../index.js").z_TransactionType;
|
|
745
745
|
feePayer?: `0x${string}` | undefined;
|
|
746
746
|
feeToken?: `0x${string}` | undefined;
|
|
747
747
|
} & {};
|
|
@@ -749,7 +749,7 @@ export declare const tempo: {
|
|
|
749
749
|
};
|
|
750
750
|
readonly transactionRequest: {
|
|
751
751
|
exclude: [] | undefined;
|
|
752
|
-
format: (args: import("
|
|
752
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
753
753
|
data?: `0x${string}` | undefined;
|
|
754
754
|
from?: `0x${string}` | undefined;
|
|
755
755
|
gas?: `0x${string}` | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const tempoDevnet: {
|
|
|
41
41
|
formatters: {
|
|
42
42
|
readonly transaction: {
|
|
43
43
|
exclude: never[] | undefined;
|
|
44
|
-
format: (args: import("
|
|
44
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
45
45
|
r: import("../../index.js").Hex;
|
|
46
46
|
s: import("../../index.js").Hex;
|
|
47
47
|
v: bigint;
|
|
@@ -255,7 +255,7 @@ export declare const tempoDevnet: {
|
|
|
255
255
|
};
|
|
256
256
|
readonly transactionReceipt: {
|
|
257
257
|
exclude: [] | undefined;
|
|
258
|
-
format: (args: import("
|
|
258
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
259
259
|
blobGasPrice?: bigint | undefined;
|
|
260
260
|
blobGasUsed?: bigint | undefined;
|
|
261
261
|
blockHash: import("../../index.js").Hash;
|
|
@@ -273,7 +273,7 @@ export declare const tempoDevnet: {
|
|
|
273
273
|
to: import("abitype").Address | null;
|
|
274
274
|
transactionHash: import("../../index.js").Hash;
|
|
275
275
|
transactionIndex: number;
|
|
276
|
-
type: import("
|
|
276
|
+
type: import("../index.js").z_TransactionType;
|
|
277
277
|
feePayer?: `0x${string}` | undefined;
|
|
278
278
|
feeToken?: `0x${string}` | undefined;
|
|
279
279
|
} & {};
|
|
@@ -281,7 +281,7 @@ export declare const tempoDevnet: {
|
|
|
281
281
|
};
|
|
282
282
|
readonly transactionRequest: {
|
|
283
283
|
exclude: [] | undefined;
|
|
284
|
-
format: (args: import("
|
|
284
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
285
285
|
data?: `0x${string}` | undefined;
|
|
286
286
|
from?: `0x${string}` | undefined;
|
|
287
287
|
gas?: `0x${string}` | undefined;
|
|
@@ -512,7 +512,7 @@ export declare const tempoDevnet: {
|
|
|
512
512
|
readonly formatters: {
|
|
513
513
|
readonly transaction: {
|
|
514
514
|
exclude: never[] | undefined;
|
|
515
|
-
format: (args: import("
|
|
515
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
516
516
|
r: import("../../index.js").Hex;
|
|
517
517
|
s: import("../../index.js").Hex;
|
|
518
518
|
v: bigint;
|
|
@@ -726,7 +726,7 @@ export declare const tempoDevnet: {
|
|
|
726
726
|
};
|
|
727
727
|
readonly transactionReceipt: {
|
|
728
728
|
exclude: [] | undefined;
|
|
729
|
-
format: (args: import("
|
|
729
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
730
730
|
blobGasPrice?: bigint | undefined;
|
|
731
731
|
blobGasUsed?: bigint | undefined;
|
|
732
732
|
blockHash: import("../../index.js").Hash;
|
|
@@ -744,7 +744,7 @@ export declare const tempoDevnet: {
|
|
|
744
744
|
to: import("abitype").Address | null;
|
|
745
745
|
transactionHash: import("../../index.js").Hash;
|
|
746
746
|
transactionIndex: number;
|
|
747
|
-
type: import("
|
|
747
|
+
type: import("../index.js").z_TransactionType;
|
|
748
748
|
feePayer?: `0x${string}` | undefined;
|
|
749
749
|
feeToken?: `0x${string}` | undefined;
|
|
750
750
|
} & {};
|
|
@@ -752,7 +752,7 @@ export declare const tempoDevnet: {
|
|
|
752
752
|
};
|
|
753
753
|
readonly transactionRequest: {
|
|
754
754
|
exclude: [] | undefined;
|
|
755
|
-
format: (args: import("
|
|
755
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
756
756
|
data?: `0x${string}` | undefined;
|
|
757
757
|
from?: `0x${string}` | undefined;
|
|
758
758
|
gas?: `0x${string}` | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const tempoLocalnet: {
|
|
|
46
46
|
formatters: {
|
|
47
47
|
readonly transaction: {
|
|
48
48
|
exclude: never[] | undefined;
|
|
49
|
-
format: (args: import("
|
|
49
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
50
50
|
r: import("../../index.js").Hex;
|
|
51
51
|
s: import("../../index.js").Hex;
|
|
52
52
|
v: bigint;
|
|
@@ -260,7 +260,7 @@ export declare const tempoLocalnet: {
|
|
|
260
260
|
};
|
|
261
261
|
readonly transactionReceipt: {
|
|
262
262
|
exclude: [] | undefined;
|
|
263
|
-
format: (args: import("
|
|
263
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
264
264
|
blobGasPrice?: bigint | undefined;
|
|
265
265
|
blobGasUsed?: bigint | undefined;
|
|
266
266
|
blockHash: import("../../index.js").Hash;
|
|
@@ -278,7 +278,7 @@ export declare const tempoLocalnet: {
|
|
|
278
278
|
to: import("abitype").Address | null;
|
|
279
279
|
transactionHash: import("../../index.js").Hash;
|
|
280
280
|
transactionIndex: number;
|
|
281
|
-
type: import("
|
|
281
|
+
type: import("../index.js").z_TransactionType;
|
|
282
282
|
feePayer?: `0x${string}` | undefined;
|
|
283
283
|
feeToken?: `0x${string}` | undefined;
|
|
284
284
|
} & {};
|
|
@@ -286,7 +286,7 @@ export declare const tempoLocalnet: {
|
|
|
286
286
|
};
|
|
287
287
|
readonly transactionRequest: {
|
|
288
288
|
exclude: [] | undefined;
|
|
289
|
-
format: (args: import("
|
|
289
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
290
290
|
data?: `0x${string}` | undefined;
|
|
291
291
|
from?: `0x${string}` | undefined;
|
|
292
292
|
gas?: `0x${string}` | undefined;
|
|
@@ -509,7 +509,7 @@ export declare const tempoLocalnet: {
|
|
|
509
509
|
readonly formatters: {
|
|
510
510
|
readonly transaction: {
|
|
511
511
|
exclude: never[] | undefined;
|
|
512
|
-
format: (args: import("
|
|
512
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
513
513
|
r: import("../../index.js").Hex;
|
|
514
514
|
s: import("../../index.js").Hex;
|
|
515
515
|
v: bigint;
|
|
@@ -723,7 +723,7 @@ export declare const tempoLocalnet: {
|
|
|
723
723
|
};
|
|
724
724
|
readonly transactionReceipt: {
|
|
725
725
|
exclude: [] | undefined;
|
|
726
|
-
format: (args: import("
|
|
726
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
727
727
|
blobGasPrice?: bigint | undefined;
|
|
728
728
|
blobGasUsed?: bigint | undefined;
|
|
729
729
|
blockHash: import("../../index.js").Hash;
|
|
@@ -741,7 +741,7 @@ export declare const tempoLocalnet: {
|
|
|
741
741
|
to: import("abitype").Address | null;
|
|
742
742
|
transactionHash: import("../../index.js").Hash;
|
|
743
743
|
transactionIndex: number;
|
|
744
|
-
type: import("
|
|
744
|
+
type: import("../index.js").z_TransactionType;
|
|
745
745
|
feePayer?: `0x${string}` | undefined;
|
|
746
746
|
feeToken?: `0x${string}` | undefined;
|
|
747
747
|
} & {};
|
|
@@ -749,7 +749,7 @@ export declare const tempoLocalnet: {
|
|
|
749
749
|
};
|
|
750
750
|
readonly transactionRequest: {
|
|
751
751
|
exclude: [] | undefined;
|
|
752
|
-
format: (args: import("
|
|
752
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
753
753
|
data?: `0x${string}` | undefined;
|
|
754
754
|
from?: `0x${string}` | undefined;
|
|
755
755
|
gas?: `0x${string}` | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const tempoModerato: {
|
|
|
41
41
|
formatters: {
|
|
42
42
|
readonly transaction: {
|
|
43
43
|
exclude: never[] | undefined;
|
|
44
|
-
format: (args: import("
|
|
44
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
45
45
|
r: import("../../index.js").Hex;
|
|
46
46
|
s: import("../../index.js").Hex;
|
|
47
47
|
v: bigint;
|
|
@@ -255,7 +255,7 @@ export declare const tempoModerato: {
|
|
|
255
255
|
};
|
|
256
256
|
readonly transactionReceipt: {
|
|
257
257
|
exclude: [] | undefined;
|
|
258
|
-
format: (args: import("
|
|
258
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
259
259
|
blobGasPrice?: bigint | undefined;
|
|
260
260
|
blobGasUsed?: bigint | undefined;
|
|
261
261
|
blockHash: import("../../index.js").Hash;
|
|
@@ -273,7 +273,7 @@ export declare const tempoModerato: {
|
|
|
273
273
|
to: import("abitype").Address | null;
|
|
274
274
|
transactionHash: import("../../index.js").Hash;
|
|
275
275
|
transactionIndex: number;
|
|
276
|
-
type: import("
|
|
276
|
+
type: import("../index.js").z_TransactionType;
|
|
277
277
|
feePayer?: `0x${string}` | undefined;
|
|
278
278
|
feeToken?: `0x${string}` | undefined;
|
|
279
279
|
} & {};
|
|
@@ -281,7 +281,7 @@ export declare const tempoModerato: {
|
|
|
281
281
|
};
|
|
282
282
|
readonly transactionRequest: {
|
|
283
283
|
exclude: [] | undefined;
|
|
284
|
-
format: (args: import("
|
|
284
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
285
285
|
data?: `0x${string}` | undefined;
|
|
286
286
|
from?: `0x${string}` | undefined;
|
|
287
287
|
gas?: `0x${string}` | undefined;
|
|
@@ -510,7 +510,7 @@ export declare const tempoModerato: {
|
|
|
510
510
|
readonly formatters: {
|
|
511
511
|
readonly transaction: {
|
|
512
512
|
exclude: never[] | undefined;
|
|
513
|
-
format: (args: import("
|
|
513
|
+
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => ({
|
|
514
514
|
r: import("../../index.js").Hex;
|
|
515
515
|
s: import("../../index.js").Hex;
|
|
516
516
|
v: bigint;
|
|
@@ -724,7 +724,7 @@ export declare const tempoModerato: {
|
|
|
724
724
|
};
|
|
725
725
|
readonly transactionReceipt: {
|
|
726
726
|
exclude: [] | undefined;
|
|
727
|
-
format: (args: import("
|
|
727
|
+
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => {
|
|
728
728
|
blobGasPrice?: bigint | undefined;
|
|
729
729
|
blobGasUsed?: bigint | undefined;
|
|
730
730
|
blockHash: import("../../index.js").Hash;
|
|
@@ -742,7 +742,7 @@ export declare const tempoModerato: {
|
|
|
742
742
|
to: import("abitype").Address | null;
|
|
743
743
|
transactionHash: import("../../index.js").Hash;
|
|
744
744
|
transactionIndex: number;
|
|
745
|
-
type: import("
|
|
745
|
+
type: import("../index.js").z_TransactionType;
|
|
746
746
|
feePayer?: `0x${string}` | undefined;
|
|
747
747
|
feeToken?: `0x${string}` | undefined;
|
|
748
748
|
} & {};
|
|
@@ -750,7 +750,7 @@ export declare const tempoModerato: {
|
|
|
750
750
|
};
|
|
751
751
|
readonly transactionRequest: {
|
|
752
752
|
exclude: [] | undefined;
|
|
753
|
-
format: (args: import("
|
|
753
|
+
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => ({
|
|
754
754
|
data?: `0x${string}` | undefined;
|
|
755
755
|
from?: `0x${string}` | undefined;
|
|
756
756
|
gas?: `0x${string}` | undefined;
|
package/_types/chains/index.d.ts
CHANGED
|
@@ -746,11 +746,55 @@ export { zkXPLATestnet } from './definitions/zkXPLATestnet.js';
|
|
|
746
746
|
export { zora } from './definitions/zora.js';
|
|
747
747
|
export { zoraSepolia } from './definitions/zoraSepolia.js';
|
|
748
748
|
export { zoraTestnet } from './definitions/zoraTestnet.js';
|
|
749
|
+
export type {
|
|
750
|
+
/** @deprecated */
|
|
751
|
+
Signed as KeyAuthorizationSigned, } from 'ox/tempo/KeyAuthorization';
|
|
752
|
+
export type {
|
|
753
|
+
/** @deprecated */
|
|
754
|
+
SignatureEnvelope,
|
|
755
|
+
/** @deprecated */
|
|
756
|
+
SignatureEnvelopeRpc, } from 'ox/tempo/SignatureEnvelope';
|
|
757
|
+
export type {
|
|
758
|
+
/** @deprecated */
|
|
759
|
+
Address as TempoAddress, } from 'ox/tempo/TempoAddress';
|
|
760
|
+
export type {
|
|
761
|
+
/** @deprecated */
|
|
762
|
+
TokenIdOrAddress, } from 'ox/tempo/TokenId';
|
|
763
|
+
export type {
|
|
764
|
+
/** @deprecated */
|
|
765
|
+
Call as TxEnvelopeTempoCall, } from 'ox/tempo/TxEnvelopeTempo';
|
|
749
766
|
export type { assertTransactionCIP42 as assertTransactionCIP42Celo, assertTransactionCIP64 as assertTransactionCIP64Celo, SerializeTransactionCIP64ReturnType, serializers as serializersCelo, serializeTransaction as serializeTransactionCelo, } from '../celo/serializers.js';
|
|
750
767
|
export type { CeloBlock, CeloRpcBlock, CeloRpcTransaction, CeloRpcTransactionRequest, CeloTransaction, CeloTransactionRequest, CeloTransactionSerializable, CeloTransactionSerialized, CeloTransactionType, RpcTransactionCIP42, RpcTransactionCIP64, RpcTransactionRequestCIP64, TransactionCIP42, TransactionCIP64, TransactionRequestCIP64, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64, } from '../celo/types.js';
|
|
751
768
|
export type { assertTransactionDeposit as assertTransactionDepositOpStack, SerializeTransactionDepositReturnType, SerializeTransactionErrorType, SerializeTransactionReturnType, serializers as serializersOpStack, serializeTransaction as serializeTransactionOpStack, } from '../op-stack/serializers.js';
|
|
752
769
|
export type { OpStackBlock, OpStackBlockOverrides, OpStackRpcBlock, OpStackRpcBlockOverrides, } from '../op-stack/types/block.js';
|
|
753
770
|
export type { OpStackDepositTransaction, OpStackRpcDepositTransaction, OpStackRpcTransaction, OpStackRpcTransactionReceipt, OpStackRpcTransactionReceiptOverrides, OpStackTransaction, OpStackTransactionReceipt, OpStackTransactionReceiptOverrides, OpStackTransactionSerializable, OpStackTransactionSerialized, OpStackTransactionType, TransactionSerializableDeposit, TransactionSerializedDeposit, } from '../op-stack/types/transaction.js';
|
|
771
|
+
export type {
|
|
772
|
+
/** @deprecated */
|
|
773
|
+
Transaction as z_Transaction,
|
|
774
|
+
/** @deprecated */
|
|
775
|
+
TransactionReceipt as z_TransactionReceipt,
|
|
776
|
+
/** @deprecated */
|
|
777
|
+
TransactionReceiptRpc as z_TransactionReceiptRpc,
|
|
778
|
+
/** @deprecated */
|
|
779
|
+
TransactionRequest as z_TransactionRequest,
|
|
780
|
+
/** @deprecated */
|
|
781
|
+
TransactionRequestRpc as z_TransactionRequestRpc,
|
|
782
|
+
/** @deprecated */
|
|
783
|
+
TransactionRequestTempo as z_TransactionRequestTempo,
|
|
784
|
+
/** @deprecated */
|
|
785
|
+
TransactionRpc as z_TransactionRpc,
|
|
786
|
+
/** @deprecated */
|
|
787
|
+
TransactionSerializable as z_TransactionSerializable,
|
|
788
|
+
/** @deprecated */
|
|
789
|
+
TransactionSerializableTempo as z_TransactionSerializableTempo,
|
|
790
|
+
/** @deprecated */
|
|
791
|
+
TransactionSerialized as z_TransactionSerialized,
|
|
792
|
+
/** @deprecated */
|
|
793
|
+
TransactionSerializedTempo as z_TransactionSerializedTempo,
|
|
794
|
+
/** @deprecated */
|
|
795
|
+
TransactionTempo as z_TransactionTempo,
|
|
796
|
+
/** @deprecated */
|
|
797
|
+
TransactionType as z_TransactionType, } from '../tempo/Transaction.js';
|
|
754
798
|
export type { Assign, Omit, PartialBy, Prettify, UnionLooseOmit, } from '../types/utils.js';
|
|
755
799
|
export type {
|
|
756
800
|
/** @deprecated Use `ZksyncBlock` instead */
|