viem 0.0.0-main.20230913T065924 → 0.0.0-main.20230913T212840
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/_cjs/{abi.js → abi/index.js} +9 -9
- package/_cjs/abi/index.js.map +1 -0
- package/_cjs/chains/{utils.js → utils/index.js} +5 -5
- package/_cjs/chains/utils/index.js.map +1 -0
- package/_cjs/{contract.js → contract/index.js} +25 -25
- package/_cjs/contract/index.js.map +1 -0
- package/_cjs/{ens.js → ens/index.js} +9 -9
- package/_cjs/ens/index.js.map +1 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/{public.js → public/index.js} +29 -29
- package/_cjs/public/index.js.map +1 -0
- package/_cjs/{test.js → test/index.js} +29 -29
- package/_cjs/test/index.js.map +1 -0
- package/_cjs/{wallet.js → wallet/index.js} +11 -11
- package/_cjs/wallet/index.js.map +1 -0
- package/_cjs/{window.js → window/window.js} +1 -1
- package/_cjs/window/window.js.map +1 -0
- package/_esm/abi/index.js +7 -0
- package/_esm/abi/index.js.map +1 -0
- package/_esm/chains/utils/index.js +5 -0
- package/_esm/chains/utils/index.js.map +1 -0
- package/_esm/contract/index.js +26 -0
- package/_esm/contract/index.js.map +1 -0
- package/_esm/ens/index.js +9 -0
- package/_esm/ens/index.js.map +1 -0
- package/_esm/errors/version.js +1 -1
- package/_esm/public/index.js +30 -0
- package/_esm/public/index.js.map +1 -0
- package/_esm/test/index.js +30 -0
- package/_esm/test/index.js.map +1 -0
- package/_esm/wallet/index.js +12 -0
- package/_esm/wallet/index.js.map +1 -0
- package/_esm/window/window.js +2 -0
- package/_esm/window/window.js.map +1 -0
- package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
- package/_types/abi/index.d.ts.map +1 -0
- package/_types/chains/definitions/base.d.ts +14 -14
- package/_types/chains/definitions/baseGoerli.d.ts +14 -14
- package/_types/chains/definitions/celo.d.ts +15 -15
- package/_types/chains/definitions/celoAlfajores.d.ts +15 -15
- package/_types/chains/definitions/celoCannoli.d.ts +15 -15
- package/_types/chains/definitions/optimism.d.ts +14 -14
- package/_types/chains/definitions/optimismGoerli.d.ts +14 -14
- package/_types/chains/definitions/zora.d.ts +14 -14
- package/_types/chains/definitions/zoraTestnet.d.ts +14 -14
- package/_types/chains/{utils.d.ts → utils/index.d.ts} +7 -7
- package/_types/chains/utils/index.d.ts.map +1 -0
- package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
- package/_types/contract/index.d.ts.map +1 -0
- package/_types/ens/index.d.ts +9 -0
- package/_types/ens/index.d.ts.map +1 -0
- package/_types/errors/version.d.ts +1 -1
- package/_types/public/index.d.ts +33 -0
- package/_types/public/index.d.ts.map +1 -0
- package/_types/test/index.d.ts +29 -0
- package/_types/test/index.d.ts.map +1 -0
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/wallet/index.d.ts +11 -0
- package/_types/wallet/index.d.ts.map +1 -0
- package/_types/window/window.d.ts +2 -0
- package/_types/window/window.d.ts.map +1 -0
- package/{abi.ts → abi/index.ts} +15 -13
- package/abi/package.json +6 -0
- package/accounts/package.json +6 -0
- package/actions/package.json +6 -0
- package/chains/package.json +6 -0
- package/chains/{utils.ts → utils/index.ts} +6 -6
- package/chains/utils/package.json +6 -0
- package/clients/package.json +6 -0
- package/{contract.ts → contract/index.ts} +27 -25
- package/contract/package.json +6 -0
- package/{ens.ts → ens/index.ts} +8 -8
- package/ens/package.json +6 -0
- package/errors/version.ts +1 -1
- package/package.json +36 -33
- package/{public.ts → public/index.ts} +30 -28
- package/public/package.json +6 -0
- package/test/index.ts +85 -0
- package/test/package.json +6 -0
- package/utils/package.json +6 -0
- package/{wallet.ts → wallet/index.ts} +15 -10
- package/wallet/package.json +6 -0
- package/window/package.json +6 -0
- package/window/window.ts +1 -0
- package/_cjs/abi.js.map +0 -1
- package/_cjs/chains/utils.js.map +0 -1
- package/_cjs/contract.js.map +0 -1
- package/_cjs/ens.js.map +0 -1
- package/_cjs/public.js.map +0 -1
- package/_cjs/test.js.map +0 -1
- package/_cjs/wallet.js.map +0 -1
- package/_cjs/window.js.map +0 -1
- package/_esm/abi.js +0 -6
- package/_esm/abi.js.map +0 -1
- package/_esm/chains/utils.js +0 -5
- package/_esm/chains/utils.js.map +0 -1
- package/_esm/contract.js +0 -25
- package/_esm/contract.js.map +0 -1
- package/_esm/ens.js +0 -9
- package/_esm/ens.js.map +0 -1
- package/_esm/public.js +0 -29
- package/_esm/public.js.map +0 -1
- package/_esm/test.js +0 -29
- package/_esm/test.js.map +0 -1
- package/_esm/wallet.js +0 -11
- package/_esm/wallet.js.map +0 -1
- package/_esm/window.js +0 -2
- package/_esm/window.js.map +0 -1
- package/_types/abi.d.ts.map +0 -1
- package/_types/chains/utils.d.ts.map +0 -1
- package/_types/contract.d.ts.map +0 -1
- package/_types/ens.d.ts +0 -9
- package/_types/ens.d.ts.map +0 -1
- package/_types/public.d.ts +0 -33
- package/_types/public.d.ts.map +0 -1
- package/_types/test.d.ts +0 -29
- package/_types/test.d.ts.map +0 -1
- package/_types/wallet.d.ts +0 -11
- package/_types/wallet.d.ts.map +0 -1
- package/_types/window.d.ts +0 -2
- package/_types/window.d.ts.map +0 -1
- package/test.ts +0 -83
- package/window.ts +0 -1
@@ -0,0 +1,30 @@
|
|
1
|
+
// TODO(v2): Remove this entrypoint. Favor importing from actions entrypoint (`viem/actions`).
|
2
|
+
export { dropTransaction, } from '../actions/test/dropTransaction.js';
|
3
|
+
export { getAutomine, } from '../actions/test/getAutomine.js';
|
4
|
+
export { getTxpoolContent, } from '../actions/test/getTxpoolContent.js';
|
5
|
+
export { getTxpoolStatus, } from '../actions/test/getTxpoolStatus.js';
|
6
|
+
export { impersonateAccount, } from '../actions/test/impersonateAccount.js';
|
7
|
+
export { increaseTime, } from '../actions/test/increaseTime.js';
|
8
|
+
export { inspectTxpool, } from '../actions/test/inspectTxpool.js';
|
9
|
+
export { mine } from '../actions/test/mine.js';
|
10
|
+
export { removeBlockTimestampInterval } from '../actions/test/removeBlockTimestampInterval.js';
|
11
|
+
export { reset } from '../actions/test/reset.js';
|
12
|
+
export { revert } from '../actions/test/revert.js';
|
13
|
+
export { sendUnsignedTransaction, } from '../actions/test/sendUnsignedTransaction.js';
|
14
|
+
export { setAutomine } from '../actions/test/setAutomine.js';
|
15
|
+
export { setBalance, } from '../actions/test/setBalance.js';
|
16
|
+
export { setBlockGasLimit, } from '../actions/test/setBlockGasLimit.js';
|
17
|
+
export { setBlockTimestampInterval, } from '../actions/test/setBlockTimestampInterval.js';
|
18
|
+
export { setCode } from '../actions/test/setCode.js';
|
19
|
+
export { setCoinbase, } from '../actions/test/setCoinbase.js';
|
20
|
+
export { setIntervalMining, } from '../actions/test/setIntervalMining.js';
|
21
|
+
export { setLoggingEnabled } from '../actions/test/setLoggingEnabled.js';
|
22
|
+
export { setMinGasPrice, } from '../actions/test/setMinGasPrice.js';
|
23
|
+
export { setNextBlockBaseFeePerGas, } from '../actions/test/setNextBlockBaseFeePerGas.js';
|
24
|
+
export { setNextBlockTimestamp, } from '../actions/test/setNextBlockTimestamp.js';
|
25
|
+
export { setNonce } from '../actions/test/setNonce.js';
|
26
|
+
export { setStorageAt, } from '../actions/test/setStorageAt.js';
|
27
|
+
export { snapshot } from '../actions/test/snapshot.js';
|
28
|
+
export { setRpcUrl } from '../actions/test/setRpcUrl.js';
|
29
|
+
export { stopImpersonatingAccount, } from '../actions/test/stopImpersonatingAccount.js';
|
30
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../test/index.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAE9F,OAAO,EACL,eAAe,GAEhB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,WAAW,GAEZ,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,gBAAgB,GAEjB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,eAAe,GAEhB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,kBAAkB,GAEnB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,YAAY,GAEb,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,aAAa,GAEd,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,IAAI,EAAuB,MAAM,yBAAyB,CAAA;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAA;AAC9F,OAAO,EAAE,KAAK,EAAwB,MAAM,0BAA0B,CAAA;AACtE,OAAO,EAAE,MAAM,EAAyB,MAAM,2BAA2B,CAAA;AACzE,OAAO,EACL,uBAAuB,GAGxB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,EACL,UAAU,GAEX,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,gBAAgB,GAEjB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,yBAAyB,GAE1B,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,OAAO,EAA0B,MAAM,4BAA4B,CAAA;AAC5E,OAAO,EACL,WAAW,GAEZ,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AACxE,OAAO,EACL,cAAc,GAEf,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,yBAAyB,GAE1B,MAAM,8CAA8C,CAAA;AACrD,OAAO,EACL,qBAAqB,GAEtB,MAAM,0CAA0C,CAAA;AACjD,OAAO,EAAE,QAAQ,EAA2B,MAAM,6BAA6B,CAAA;AAC/E,OAAO,EACL,YAAY,GAEb,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EACL,wBAAwB,GAEzB,MAAM,6CAA6C,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
// TODO(v2): Remove this entrypoint. Favor importing from actions entrypoint (`viem/actions`).
|
2
|
+
export { addChain, } from '../actions/wallet/addChain.js';
|
3
|
+
export { getAddresses, } from '../actions/wallet/getAddresses.js';
|
4
|
+
export { getPermissions, } from '../actions/wallet/getPermissions.js';
|
5
|
+
export { requestAddresses, } from '../actions/wallet/requestAddresses.js';
|
6
|
+
export { requestPermissions, } from '../actions/wallet/requestPermissions.js';
|
7
|
+
export { sendTransaction, } from '../actions/wallet/sendTransaction.js';
|
8
|
+
export { signMessage, } from '../actions/wallet/signMessage.js';
|
9
|
+
export { signTypedData, } from '../actions/wallet/signTypedData.js';
|
10
|
+
export { switchChain, } from '../actions/wallet/switchChain.js';
|
11
|
+
export { watchAsset, } from '../actions/wallet/watchAsset.js';
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../wallet/index.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAE9F,OAAO,EACL,QAAQ,GAET,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,YAAY,GAEb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,cAAc,GAEf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,gBAAgB,GAEjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,eAAe,GAGhB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,WAAW,GAGZ,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,aAAa,GAGd,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,WAAW,GAEZ,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,iCAAiC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"window.js","sourceRoot":"","sources":["../../window/window.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export { type DecodeAbiParametersReturnType, decodeAbiParameters, } from './utils/abi/decodeAbiParameters.js';
|
2
|
-
export { type EncodeAbiParametersReturnType, encodeAbiParameters, } from './utils/abi/encodeAbiParameters.js';
|
3
|
-
export { type GetAbiItemParameters, getAbiItem, } from './utils/abi/getAbiItem.js';
|
4
1
|
export { type ParseAbi, type ParseAbiItem, type ParseAbiParameter, type ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters, } from 'abitype';
|
5
|
-
export {
|
6
|
-
|
2
|
+
export { type DecodeAbiParametersReturnType, decodeAbiParameters, } from '../utils/abi/decodeAbiParameters.js';
|
3
|
+
export { type EncodeAbiParametersReturnType, encodeAbiParameters, } from '../utils/abi/encodeAbiParameters.js';
|
4
|
+
export { type GetAbiItemParameters, getAbiItem, } from '../utils/abi/getAbiItem.js';
|
5
|
+
export { encodePacked } from '../utils/abi/encodePacked.js';
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../abi/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAA;AAChB,OAAO,EACL,KAAK,6BAA6B,EAClC,mBAAmB,GACpB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,6BAA6B,EAClC,mBAAmB,GACpB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA"}
|
@@ -42,8 +42,8 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
42
42
|
}, import("../../types/chain.js").ChainConfig<{
|
43
43
|
readonly block: {
|
44
44
|
exclude: [] | undefined;
|
45
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../
|
46
|
-
transactions: `0x${string}`[] | import("../
|
45
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../optimism/types.js").OptimismRpcBlockOverrides & {
|
46
|
+
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismRpcTransaction[];
|
47
47
|
}>) => {
|
48
48
|
baseFeePerGas: bigint | null;
|
49
49
|
difficulty: bigint;
|
@@ -64,7 +64,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
64
64
|
stateRoot: `0x${string}`;
|
65
65
|
timestamp: bigint;
|
66
66
|
totalDifficulty: bigint | null;
|
67
|
-
transactions: `0x${string}`[] | import("../
|
67
|
+
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
68
68
|
transactionsRoot: `0x${string}`;
|
69
69
|
uncles: `0x${string}`[];
|
70
70
|
} & {};
|
@@ -72,45 +72,45 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
72
72
|
};
|
73
73
|
readonly transaction: {
|
74
74
|
exclude: [] | undefined;
|
75
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
75
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
76
76
|
isSystemTx?: undefined;
|
77
77
|
mint?: undefined;
|
78
78
|
sourceHash?: undefined;
|
79
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
79
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
80
80
|
isSystemTx?: boolean | undefined;
|
81
81
|
mint?: `0x${string}` | undefined;
|
82
82
|
sourceHash: `0x${string}`;
|
83
83
|
type: "0x7e";
|
84
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
84
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
85
85
|
isSystemTx?: undefined;
|
86
86
|
mint?: undefined;
|
87
87
|
sourceHash?: undefined;
|
88
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
88
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
89
89
|
isSystemTx?: undefined;
|
90
90
|
mint?: undefined;
|
91
91
|
sourceHash?: undefined;
|
92
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
92
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
93
93
|
isSystemTx?: undefined;
|
94
94
|
mint?: undefined;
|
95
95
|
sourceHash?: undefined;
|
96
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
96
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
97
97
|
isSystemTx?: boolean | undefined;
|
98
98
|
mint?: `0x${string}` | undefined;
|
99
99
|
sourceHash: `0x${string}`;
|
100
100
|
type: "0x7e";
|
101
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
101
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
102
102
|
isSystemTx?: undefined;
|
103
103
|
mint?: undefined;
|
104
104
|
sourceHash?: undefined;
|
105
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
105
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
106
106
|
isSystemTx?: undefined;
|
107
107
|
mint?: undefined;
|
108
108
|
sourceHash?: undefined;
|
109
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
109
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
110
110
|
isSystemTx?: undefined;
|
111
111
|
mint?: undefined;
|
112
112
|
sourceHash?: undefined;
|
113
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
113
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
114
114
|
isSystemTx?: boolean | undefined;
|
115
115
|
mint?: `0x${string}` | undefined;
|
116
116
|
sourceHash: `0x${string}`;
|
@@ -312,7 +312,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
312
312
|
};
|
313
313
|
readonly transactionReceipt: {
|
314
314
|
exclude: [] | undefined;
|
315
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../
|
315
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
|
316
316
|
blockHash: `0x${string}`;
|
317
317
|
blockNumber: bigint;
|
318
318
|
contractAddress: `0x${string}` | null;
|
@@ -40,8 +40,8 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
40
40
|
}, import("../../types/chain.js").ChainConfig<{
|
41
41
|
readonly block: {
|
42
42
|
exclude: [] | undefined;
|
43
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../
|
44
|
-
transactions: `0x${string}`[] | import("../
|
43
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../optimism/types.js").OptimismRpcBlockOverrides & {
|
44
|
+
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismRpcTransaction[];
|
45
45
|
}>) => {
|
46
46
|
baseFeePerGas: bigint | null;
|
47
47
|
difficulty: bigint;
|
@@ -62,7 +62,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
62
62
|
stateRoot: `0x${string}`;
|
63
63
|
timestamp: bigint;
|
64
64
|
totalDifficulty: bigint | null;
|
65
|
-
transactions: `0x${string}`[] | import("../
|
65
|
+
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
66
66
|
transactionsRoot: `0x${string}`;
|
67
67
|
uncles: `0x${string}`[];
|
68
68
|
} & {};
|
@@ -70,45 +70,45 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
70
70
|
};
|
71
71
|
readonly transaction: {
|
72
72
|
exclude: [] | undefined;
|
73
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
73
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
74
74
|
isSystemTx?: undefined;
|
75
75
|
mint?: undefined;
|
76
76
|
sourceHash?: undefined;
|
77
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
77
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
78
78
|
isSystemTx?: boolean | undefined;
|
79
79
|
mint?: `0x${string}` | undefined;
|
80
80
|
sourceHash: `0x${string}`;
|
81
81
|
type: "0x7e";
|
82
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
82
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
83
83
|
isSystemTx?: undefined;
|
84
84
|
mint?: undefined;
|
85
85
|
sourceHash?: undefined;
|
86
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
86
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
87
87
|
isSystemTx?: undefined;
|
88
88
|
mint?: undefined;
|
89
89
|
sourceHash?: undefined;
|
90
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
90
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
91
91
|
isSystemTx?: undefined;
|
92
92
|
mint?: undefined;
|
93
93
|
sourceHash?: undefined;
|
94
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
94
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
95
95
|
isSystemTx?: boolean | undefined;
|
96
96
|
mint?: `0x${string}` | undefined;
|
97
97
|
sourceHash: `0x${string}`;
|
98
98
|
type: "0x7e";
|
99
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
99
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
100
100
|
isSystemTx?: undefined;
|
101
101
|
mint?: undefined;
|
102
102
|
sourceHash?: undefined;
|
103
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
103
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
104
104
|
isSystemTx?: undefined;
|
105
105
|
mint?: undefined;
|
106
106
|
sourceHash?: undefined;
|
107
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
107
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
108
108
|
isSystemTx?: undefined;
|
109
109
|
mint?: undefined;
|
110
110
|
sourceHash?: undefined;
|
111
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
111
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
112
112
|
isSystemTx?: boolean | undefined;
|
113
113
|
mint?: `0x${string}` | undefined;
|
114
114
|
sourceHash: `0x${string}`;
|
@@ -310,7 +310,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
310
310
|
};
|
311
311
|
readonly transactionReceipt: {
|
312
312
|
exclude: [] | undefined;
|
313
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../
|
313
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
|
314
314
|
blockHash: `0x${string}`;
|
315
315
|
blockNumber: bigint;
|
316
316
|
contractAddress: `0x${string}` | null;
|
@@ -38,8 +38,8 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
38
38
|
}, import("../../types/chain.js").ChainConfig<{
|
39
39
|
readonly block: {
|
40
40
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
41
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../
|
42
|
-
transactions: `0x${string}`[] | import("../
|
41
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
|
42
|
+
transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
|
43
43
|
}>) => {
|
44
44
|
baseFeePerGas: bigint | null;
|
45
45
|
difficulty: bigint;
|
@@ -60,7 +60,7 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
60
60
|
stateRoot: `0x${string}`;
|
61
61
|
timestamp: bigint;
|
62
62
|
totalDifficulty: bigint | null;
|
63
|
-
transactions: `0x${string}`[] | import("../
|
63
|
+
transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
|
64
64
|
transactionsRoot: `0x${string}`;
|
65
65
|
uncles: `0x${string}`[];
|
66
66
|
randomness: {
|
@@ -78,45 +78,45 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
78
78
|
};
|
79
79
|
readonly transaction: {
|
80
80
|
exclude: [] | undefined;
|
81
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
81
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
82
82
|
feeCurrency: `0x${string}` | null;
|
83
83
|
gatewayFee: `0x${string}` | null;
|
84
84
|
gatewayFeeRecipient: `0x${string}` | null;
|
85
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
85
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
86
86
|
feeCurrency: `0x${string}` | null;
|
87
87
|
gatewayFee: `0x${string}` | null;
|
88
88
|
gatewayFeeRecipient: `0x${string}` | null;
|
89
89
|
type: "0x7c";
|
90
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
90
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
91
91
|
feeCurrency: `0x${string}` | null;
|
92
92
|
gatewayFee: `0x${string}` | null;
|
93
93
|
gatewayFeeRecipient: `0x${string}` | null;
|
94
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
94
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
95
95
|
feeCurrency: `0x${string}` | null;
|
96
96
|
gatewayFee: `0x${string}` | null;
|
97
97
|
gatewayFeeRecipient: `0x${string}` | null;
|
98
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
98
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
99
99
|
feeCurrency: `0x${string}` | null;
|
100
100
|
gatewayFee: `0x${string}` | null;
|
101
101
|
gatewayFeeRecipient: `0x${string}` | null;
|
102
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
102
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
103
103
|
feeCurrency: `0x${string}` | null;
|
104
104
|
gatewayFee: `0x${string}` | null;
|
105
105
|
gatewayFeeRecipient: `0x${string}` | null;
|
106
106
|
type: "0x7c";
|
107
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
107
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
108
108
|
feeCurrency: `0x${string}` | null;
|
109
109
|
gatewayFee: `0x${string}` | null;
|
110
110
|
gatewayFeeRecipient: `0x${string}` | null;
|
111
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
111
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
112
112
|
feeCurrency: `0x${string}` | null;
|
113
113
|
gatewayFee: `0x${string}` | null;
|
114
114
|
gatewayFeeRecipient: `0x${string}` | null;
|
115
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
115
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
116
116
|
feeCurrency: `0x${string}` | null;
|
117
117
|
gatewayFee: `0x${string}` | null;
|
118
118
|
gatewayFeeRecipient: `0x${string}` | null;
|
119
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
119
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
120
120
|
feeCurrency: `0x${string}` | null;
|
121
121
|
gatewayFee: `0x${string}` | null;
|
122
122
|
gatewayFeeRecipient: `0x${string}` | null;
|
@@ -318,7 +318,7 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
318
318
|
};
|
319
319
|
readonly transactionReceipt: {
|
320
320
|
exclude: [] | undefined;
|
321
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../
|
321
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
322
322
|
blockHash: `0x${string}`;
|
323
323
|
blockNumber: bigint;
|
324
324
|
contractAddress: `0x${string}` | null;
|
@@ -341,7 +341,7 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
341
341
|
};
|
342
342
|
readonly transactionRequest: {
|
343
343
|
exclude: [] | undefined;
|
344
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../
|
344
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
|
345
345
|
data?: `0x${string}` | undefined;
|
346
346
|
from: `0x${string}`;
|
347
347
|
gas?: `0x${string}` | undefined;
|
@@ -38,8 +38,8 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
|
|
38
38
|
}, import("../../types/chain.js").ChainConfig<{
|
39
39
|
readonly block: {
|
40
40
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
41
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../
|
42
|
-
transactions: `0x${string}`[] | import("../
|
41
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
|
42
|
+
transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
|
43
43
|
}>) => {
|
44
44
|
baseFeePerGas: bigint | null;
|
45
45
|
difficulty: bigint;
|
@@ -60,7 +60,7 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
|
|
60
60
|
stateRoot: `0x${string}`;
|
61
61
|
timestamp: bigint;
|
62
62
|
totalDifficulty: bigint | null;
|
63
|
-
transactions: `0x${string}`[] | import("../
|
63
|
+
transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
|
64
64
|
transactionsRoot: `0x${string}`;
|
65
65
|
uncles: `0x${string}`[];
|
66
66
|
randomness: {
|
@@ -78,45 +78,45 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
|
|
78
78
|
};
|
79
79
|
readonly transaction: {
|
80
80
|
exclude: [] | undefined;
|
81
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
81
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
82
82
|
feeCurrency: `0x${string}` | null;
|
83
83
|
gatewayFee: `0x${string}` | null;
|
84
84
|
gatewayFeeRecipient: `0x${string}` | null;
|
85
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../
|
85
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
86
86
|
feeCurrency: `0x${string}` | null;
|
87
87
|
gatewayFee: `0x${string}` | null;
|
88
88
|
gatewayFeeRecipient: `0x${string}` | null;
|
89
89
|
type: "0x7c";
|
90
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
90
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
91
91
|
feeCurrency: `0x${string}` | null;
|
92
92
|
gatewayFee: `0x${string}` | null;
|
93
93
|
gatewayFeeRecipient: `0x${string}` | null;
|
94
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
94
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
95
95
|
feeCurrency: `0x${string}` | null;
|
96
96
|
gatewayFee: `0x${string}` | null;
|
97
97
|
gatewayFeeRecipient: `0x${string}` | null;
|
98
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
98
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
99
99
|
feeCurrency: `0x${string}` | null;
|
100
100
|
gatewayFee: `0x${string}` | null;
|
101
101
|
gatewayFeeRecipient: `0x${string}` | null;
|
102
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../
|
102
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
103
103
|
feeCurrency: `0x${string}` | null;
|
104
104
|
gatewayFee: `0x${string}` | null;
|
105
105
|
gatewayFeeRecipient: `0x${string}` | null;
|
106
106
|
type: "0x7c";
|
107
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
107
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
108
108
|
feeCurrency: `0x${string}` | null;
|
109
109
|
gatewayFee: `0x${string}` | null;
|
110
110
|
gatewayFeeRecipient: `0x${string}` | null;
|
111
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
111
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
112
112
|
feeCurrency: `0x${string}` | null;
|
113
113
|
gatewayFee: `0x${string}` | null;
|
114
114
|
gatewayFeeRecipient: `0x${string}` | null;
|
115
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
115
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
116
116
|
feeCurrency: `0x${string}` | null;
|
117
117
|
gatewayFee: `0x${string}` | null;
|
118
118
|
gatewayFeeRecipient: `0x${string}` | null;
|
119
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../
|
119
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
120
120
|
feeCurrency: `0x${string}` | null;
|
121
121
|
gatewayFee: `0x${string}` | null;
|
122
122
|
gatewayFeeRecipient: `0x${string}` | null;
|
@@ -318,7 +318,7 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
|
|
318
318
|
};
|
319
319
|
readonly transactionReceipt: {
|
320
320
|
exclude: [] | undefined;
|
321
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../
|
321
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
322
322
|
blockHash: `0x${string}`;
|
323
323
|
blockNumber: bigint;
|
324
324
|
contractAddress: `0x${string}` | null;
|
@@ -341,7 +341,7 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
|
|
341
341
|
};
|
342
342
|
readonly transactionRequest: {
|
343
343
|
exclude: [] | undefined;
|
344
|
-
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../
|
344
|
+
format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
|
345
345
|
data?: `0x${string}` | undefined;
|
346
346
|
from: `0x${string}`;
|
347
347
|
gas?: `0x${string}` | undefined;
|