viem 1.18.9 → 1.19.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 +16 -0
- package/README.md +1 -1
- package/_cjs/actions/test/dumpState.js +10 -0
- package/_cjs/actions/test/dumpState.js.map +1 -0
- package/_cjs/actions/test/loadState.js +11 -0
- package/_cjs/actions/test/loadState.js.map +1 -0
- package/_cjs/chains/definitions/lukso.js +31 -0
- package/_cjs/chains/definitions/lukso.js.map +1 -0
- package/_cjs/chains/index.js +5 -3
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/decorators/test.js +4 -0
- package/_cjs/clients/decorators/test.js.map +1 -1
- package/_cjs/constants/bytes.js +5 -0
- package/_cjs/constants/bytes.js.map +1 -0
- package/_cjs/constants/strings.js +5 -0
- package/_cjs/constants/strings.js.map +1 -0
- package/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/index.js +10 -6
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js +14 -0
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/signature/hashMessage.js +2 -1
- package/_cjs/utils/signature/hashMessage.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +20 -4
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/actions/test/dumpState.js +26 -0
- package/_esm/actions/test/dumpState.js.map +1 -0
- package/_esm/actions/test/loadState.js +27 -0
- package/_esm/actions/test/loadState.js.map +1 -0
- package/_esm/chains/definitions/lukso.js +28 -0
- package/_esm/chains/definitions/lukso.js.map +1 -0
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/clients/decorators/test.js +4 -0
- package/_esm/clients/decorators/test.js.map +1 -1
- package/_esm/constants/bytes.js +2 -0
- package/_esm/constants/bytes.js.map +1 -0
- package/_esm/constants/strings.js +2 -0
- package/_esm/constants/strings.js.map +1 -0
- package/_esm/errors/node.js +22 -11
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +36 -18
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/index.js +2 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/formatters/transaction.js +16 -0
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/signature/hashMessage.js +2 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +20 -6
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.d.ts.map +1 -0
- package/_types/actions/test/loadState.d.ts +34 -0
- package/_types/actions/test/loadState.d.ts.map +1 -0
- package/_types/chains/celo/formatters.d.ts +24 -13
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +18 -10
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +18 -10
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +18 -10
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +24 -13
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +24 -13
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +24 -13
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/lukso.d.ts +27 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +18 -10
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +18 -10
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +18 -10
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +11 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +11 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +18 -10
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +18 -10
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +18 -10
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/optimism/formatters.d.ts +18 -10
- package/_types/chains/optimism/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +11 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/clients/decorators/test.d.ts +41 -0
- package/_types/clients/decorators/test.d.ts.map +1 -1
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/index.d.ts +2 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +16 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +2 -2
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +10 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +8 -0
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/actions/test/dumpState.ts +44 -0
- package/actions/test/loadState.ts +47 -0
- package/chains/definitions/lukso.ts +28 -0
- package/chains/index.ts +1 -0
- package/clients/decorators/test.ts +50 -0
- package/constants/bytes.ts +2 -0
- package/constants/strings.ts +1 -0
- package/index.ts +2 -0
- package/package.json +1 -1
- package/types/eip1193.ts +16 -0
- package/types/rpc.ts +15 -6
- package/types/transaction.ts +10 -1
- package/types/utils.ts +11 -0
- package/utils/formatters/transaction.ts +17 -2
- package/utils/signature/hashMessage.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +18 -12
@@ -0,0 +1,31 @@
|
|
1
|
+
import type { TestClient, TestClientMode } from '../../clients/createTestClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { ErrorType } from '../../errors/utils.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { Hex } from '../../types/misc.js';
|
7
|
+
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
8
|
+
export type DumpStateReturnType = Hex;
|
9
|
+
export type DumpStateErrorType = RequestErrorType | ErrorType;
|
10
|
+
/**
|
11
|
+
* Serializes the current state (including contracts code, contract's storage,
|
12
|
+
* accounts properties, etc.) into a savable data blob.
|
13
|
+
*
|
14
|
+
* - Docs: https://viem.sh/docs/actions/test/dumpState.html
|
15
|
+
*
|
16
|
+
* @param client - Client to use
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* import { createTestClient, http } from 'viem'
|
20
|
+
* import { foundry } from 'viem/chains'
|
21
|
+
* import { dumpState } from 'viem/test'
|
22
|
+
*
|
23
|
+
* const client = createTestClient({
|
24
|
+
* mode: 'anvil',
|
25
|
+
* chain: 'foundry',
|
26
|
+
* transport: http(),
|
27
|
+
* })
|
28
|
+
* await dumpState(client)
|
29
|
+
*/
|
30
|
+
export declare function dumpState<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: TestClient<TestClientMode, Transport, TChain, TAccount, false>): Promise<DumpStateReturnType>;
|
31
|
+
//# sourceMappingURL=dumpState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dumpState.d.ts","sourceRoot":"","sources":["../../../actions/test/dumpState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACf,MAAM,mCAAmC,CAAA;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAA;AACrC,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,SAAS,CAC7B,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,UAAU,CAAC,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,GACrE,OAAO,CAAC,mBAAmB,CAAC,CAI9B"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import type { TestClient, TestClientMode } from '../../clients/createTestClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { ErrorType } from '../../errors/utils.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { Hex } from '../../types/misc.js';
|
7
|
+
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
8
|
+
export type LoadStateParameters = {
|
9
|
+
state: Hex;
|
10
|
+
};
|
11
|
+
export type LoadStateReturnType = void;
|
12
|
+
export type LoadStateErrorType = RequestErrorType | ErrorType;
|
13
|
+
/**
|
14
|
+
* Adds state previously dumped with `dumpState` to the current chain.
|
15
|
+
*
|
16
|
+
* - Docs: https://viem.sh/docs/actions/test/loadState.html
|
17
|
+
*
|
18
|
+
* @param client - Client to use
|
19
|
+
* @param parameters - {@link LoadStateParameters}
|
20
|
+
*
|
21
|
+
* @example
|
22
|
+
* import { createTestClient, http } from 'viem'
|
23
|
+
* import { foundry } from 'viem/chains'
|
24
|
+
* import { loadState } from 'viem/test'
|
25
|
+
*
|
26
|
+
* const client = createTestClient({
|
27
|
+
* mode: 'anvil',
|
28
|
+
* chain: 'foundry',
|
29
|
+
* transport: http(),
|
30
|
+
* })
|
31
|
+
* await loadState(client, { state: '0x...' })
|
32
|
+
*/
|
33
|
+
export declare function loadState<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: TestClient<TestClientMode, Transport, TChain, TAccount, false>, { state }: LoadStateParameters): Promise<LoadStateReturnType>;
|
34
|
+
//# sourceMappingURL=loadState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"loadState.d.ts","sourceRoot":"","sources":["../../../actions/test/loadState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACf,MAAM,mCAAmC,CAAA;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,MAAM,MAAM,mBAAmB,GAAG;IAAE,KAAK,EAAE,GAAG,CAAA;CAAE,CAAA;AAChD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAA;AACtC,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,SAAS,CAC7B,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,UAAU,CAAC,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,EACtE,EAAE,KAAK,EAAE,EAAE,mBAAmB,GAC7B,OAAO,CAAC,mBAAmB,CAAC,CAK9B"}
|
@@ -45,56 +45,56 @@ export declare const formattersCelo: {
|
|
45
45
|
};
|
46
46
|
readonly transaction: {
|
47
47
|
exclude: [] | undefined;
|
48
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
48
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
49
49
|
feeCurrency: `0x${string}` | null;
|
50
50
|
gatewayFee: `0x${string}` | null;
|
51
51
|
gatewayFeeRecipient: `0x${string}` | null;
|
52
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
52
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
53
53
|
feeCurrency: `0x${string}` | null;
|
54
54
|
gatewayFee: `0x${string}` | null;
|
55
55
|
gatewayFeeRecipient: `0x${string}` | null;
|
56
56
|
type: "0x7c";
|
57
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
57
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
58
58
|
feeCurrency: `0x${string}` | null;
|
59
59
|
type: "0x7b";
|
60
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
60
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
61
61
|
feeCurrency: `0x${string}` | null;
|
62
62
|
gatewayFee: `0x${string}` | null;
|
63
63
|
gatewayFeeRecipient: `0x${string}` | null;
|
64
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
64
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
65
65
|
feeCurrency: `0x${string}` | null;
|
66
66
|
gatewayFee: `0x${string}` | null;
|
67
67
|
gatewayFeeRecipient: `0x${string}` | null;
|
68
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
68
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
69
69
|
feeCurrency: `0x${string}` | null;
|
70
70
|
gatewayFee: `0x${string}` | null;
|
71
71
|
gatewayFeeRecipient: `0x${string}` | null;
|
72
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
72
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
73
73
|
feeCurrency: `0x${string}` | null;
|
74
74
|
gatewayFee: `0x${string}` | null;
|
75
75
|
gatewayFeeRecipient: `0x${string}` | null;
|
76
76
|
type: "0x7c";
|
77
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
77
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
78
78
|
feeCurrency: `0x${string}` | null;
|
79
79
|
type: "0x7b";
|
80
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
80
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
81
81
|
feeCurrency: `0x${string}` | null;
|
82
82
|
gatewayFee: `0x${string}` | null;
|
83
83
|
gatewayFeeRecipient: `0x${string}` | null;
|
84
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
84
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
85
85
|
feeCurrency: `0x${string}` | null;
|
86
86
|
gatewayFee: `0x${string}` | null;
|
87
87
|
gatewayFeeRecipient: `0x${string}` | null;
|
88
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
88
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
89
89
|
feeCurrency: `0x${string}` | null;
|
90
90
|
gatewayFee: `0x${string}` | null;
|
91
91
|
gatewayFeeRecipient: `0x${string}` | null;
|
92
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
92
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
93
93
|
feeCurrency: `0x${string}` | null;
|
94
94
|
gatewayFee: `0x${string}` | null;
|
95
95
|
gatewayFeeRecipient: `0x${string}` | null;
|
96
96
|
type: "0x7c";
|
97
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
97
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
98
98
|
feeCurrency: `0x${string}` | null;
|
99
99
|
type: "0x7b";
|
100
100
|
})) => ({
|
@@ -117,6 +117,7 @@ export declare const formattersCelo: {
|
|
117
117
|
maxPriorityFeePerGas?: undefined;
|
118
118
|
accessList?: undefined;
|
119
119
|
chainId?: number | undefined;
|
120
|
+
yParity?: undefined;
|
120
121
|
type: "legacy";
|
121
122
|
feeCurrency: `0x${string}` | null;
|
122
123
|
gatewayFee: bigint | null;
|
@@ -141,6 +142,7 @@ export declare const formattersCelo: {
|
|
141
142
|
maxPriorityFeePerGas: bigint;
|
142
143
|
accessList?: undefined;
|
143
144
|
chainId?: number | undefined;
|
145
|
+
yParity: number;
|
144
146
|
type: "cip42";
|
145
147
|
feeCurrency: `0x${string}` | null;
|
146
148
|
gatewayFee: bigint | null;
|
@@ -165,6 +167,7 @@ export declare const formattersCelo: {
|
|
165
167
|
maxPriorityFeePerGas: bigint;
|
166
168
|
accessList?: undefined;
|
167
169
|
chainId?: number | undefined;
|
170
|
+
yParity: number;
|
168
171
|
type: "cip64";
|
169
172
|
feeCurrency: `0x${string}` | null;
|
170
173
|
gatewayFee?: undefined;
|
@@ -184,6 +187,7 @@ export declare const formattersCelo: {
|
|
184
187
|
typeHex: `0x${string}` | null;
|
185
188
|
v: bigint;
|
186
189
|
value: bigint;
|
190
|
+
yParity: number;
|
187
191
|
gasPrice: bigint;
|
188
192
|
maxFeePerGas?: undefined;
|
189
193
|
maxPriorityFeePerGas?: undefined;
|
@@ -208,6 +212,7 @@ export declare const formattersCelo: {
|
|
208
212
|
typeHex: `0x${string}` | null;
|
209
213
|
v: bigint;
|
210
214
|
value: bigint;
|
215
|
+
yParity: number;
|
211
216
|
gasPrice: undefined;
|
212
217
|
maxFeePerGas: bigint;
|
213
218
|
maxPriorityFeePerGas: bigint;
|
@@ -232,6 +237,7 @@ export declare const formattersCelo: {
|
|
232
237
|
typeHex: `0x${string}` | null;
|
233
238
|
v: bigint;
|
234
239
|
value: bigint;
|
240
|
+
yParity: number;
|
235
241
|
gasPrice: undefined;
|
236
242
|
maxFeePerGas: bigint;
|
237
243
|
maxPriorityFeePerGas: bigint;
|
@@ -256,6 +262,7 @@ export declare const formattersCelo: {
|
|
256
262
|
typeHex: `0x${string}` | null;
|
257
263
|
v: bigint;
|
258
264
|
value: bigint;
|
265
|
+
yParity: number;
|
259
266
|
gasPrice: undefined;
|
260
267
|
maxFeePerGas: bigint;
|
261
268
|
maxPriorityFeePerGas: bigint;
|
@@ -280,6 +287,7 @@ export declare const formattersCelo: {
|
|
280
287
|
typeHex: `0x${string}` | null;
|
281
288
|
v: bigint;
|
282
289
|
value: bigint;
|
290
|
+
yParity: number;
|
283
291
|
gasPrice: bigint;
|
284
292
|
maxFeePerGas: undefined;
|
285
293
|
maxPriorityFeePerGas: undefined;
|
@@ -304,6 +312,7 @@ export declare const formattersCelo: {
|
|
304
312
|
typeHex: `0x${string}` | null;
|
305
313
|
v: bigint;
|
306
314
|
value: bigint;
|
315
|
+
yParity: number;
|
307
316
|
gasPrice?: undefined;
|
308
317
|
maxFeePerGas: bigint;
|
309
318
|
maxPriorityFeePerGas: bigint;
|
@@ -328,6 +337,7 @@ export declare const formattersCelo: {
|
|
328
337
|
typeHex: `0x${string}` | null;
|
329
338
|
v: bigint;
|
330
339
|
value: bigint;
|
340
|
+
yParity: number;
|
331
341
|
gasPrice?: undefined;
|
332
342
|
maxFeePerGas: bigint;
|
333
343
|
maxPriorityFeePerGas: bigint;
|
@@ -352,6 +362,7 @@ export declare const formattersCelo: {
|
|
352
362
|
typeHex: `0x${string}` | null;
|
353
363
|
v: bigint;
|
354
364
|
value: bigint;
|
365
|
+
yParity: number;
|
355
366
|
gasPrice?: undefined;
|
356
367
|
maxFeePerGas: bigint;
|
357
368
|
maxPriorityFeePerGas: bigint;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/celo/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAW/C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,kCAAkC,EAElC,eAAe,EAEf,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,cAAc;;;;0BAKL,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/celo/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAW/C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,kCAAkC,EAElC,eAAe,EAEf,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,cAAc;;;;0BAKL,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEV,CAAA"}
|
@@ -78,45 +78,45 @@ export declare const base: 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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
81
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
82
82
|
isSystemTx?: undefined;
|
83
83
|
mint?: undefined;
|
84
84
|
sourceHash?: undefined;
|
85
|
-
}) | (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}`> & {
|
85
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
86
86
|
isSystemTx?: boolean | undefined;
|
87
87
|
mint?: `0x${string}` | undefined;
|
88
88
|
sourceHash: `0x${string}`;
|
89
89
|
type: "0x7e";
|
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").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
90
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
94
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
95
95
|
isSystemTx?: undefined;
|
96
96
|
mint?: undefined;
|
97
97
|
sourceHash?: undefined;
|
98
|
-
}) | (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"> & {
|
98
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
99
99
|
isSystemTx?: undefined;
|
100
100
|
mint?: undefined;
|
101
101
|
sourceHash?: undefined;
|
102
|
-
}) | (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}`> & {
|
102
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
103
103
|
isSystemTx?: boolean | undefined;
|
104
104
|
mint?: `0x${string}` | undefined;
|
105
105
|
sourceHash: `0x${string}`;
|
106
106
|
type: "0x7e";
|
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").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
107
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
111
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
112
112
|
isSystemTx?: undefined;
|
113
113
|
mint?: undefined;
|
114
114
|
sourceHash?: undefined;
|
115
|
-
}) | (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"> & {
|
115
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
116
116
|
isSystemTx?: undefined;
|
117
117
|
mint?: undefined;
|
118
118
|
sourceHash?: undefined;
|
119
|
-
}) | (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}`> & {
|
119
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
120
120
|
isSystemTx?: boolean | undefined;
|
121
121
|
mint?: `0x${string}` | undefined;
|
122
122
|
sourceHash: `0x${string}`;
|
@@ -141,6 +141,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
141
141
|
maxPriorityFeePerGas?: undefined;
|
142
142
|
accessList?: undefined;
|
143
143
|
chainId?: number | undefined;
|
144
|
+
yParity?: undefined;
|
144
145
|
type: "legacy";
|
145
146
|
isSystemTx?: undefined;
|
146
147
|
mint?: undefined;
|
@@ -165,6 +166,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
165
166
|
maxPriorityFeePerGas: bigint;
|
166
167
|
accessList?: undefined;
|
167
168
|
chainId?: number | undefined;
|
169
|
+
yParity: number;
|
168
170
|
type: "deposit";
|
169
171
|
isSystemTx?: boolean | undefined;
|
170
172
|
mint?: bigint | undefined;
|
@@ -184,6 +186,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
184
186
|
typeHex: `0x${string}` | null;
|
185
187
|
v: bigint;
|
186
188
|
value: bigint;
|
189
|
+
yParity: number;
|
187
190
|
gasPrice: bigint;
|
188
191
|
maxFeePerGas?: undefined;
|
189
192
|
maxPriorityFeePerGas?: undefined;
|
@@ -208,6 +211,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
208
211
|
typeHex: `0x${string}` | null;
|
209
212
|
v: bigint;
|
210
213
|
value: bigint;
|
214
|
+
yParity: number;
|
211
215
|
gasPrice: undefined;
|
212
216
|
maxFeePerGas: bigint;
|
213
217
|
maxPriorityFeePerGas: bigint;
|
@@ -232,6 +236,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
232
236
|
typeHex: `0x${string}` | null;
|
233
237
|
v: bigint;
|
234
238
|
value: bigint;
|
239
|
+
yParity: number;
|
235
240
|
gasPrice: undefined;
|
236
241
|
maxFeePerGas: bigint;
|
237
242
|
maxPriorityFeePerGas: bigint;
|
@@ -256,6 +261,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
256
261
|
typeHex: `0x${string}` | null;
|
257
262
|
v: bigint;
|
258
263
|
value: bigint;
|
264
|
+
yParity: number;
|
259
265
|
gasPrice: bigint;
|
260
266
|
maxFeePerGas: undefined;
|
261
267
|
maxPriorityFeePerGas: undefined;
|
@@ -280,6 +286,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
280
286
|
typeHex: `0x${string}` | null;
|
281
287
|
v: bigint;
|
282
288
|
value: bigint;
|
289
|
+
yParity: number;
|
283
290
|
gasPrice?: undefined;
|
284
291
|
maxFeePerGas: bigint;
|
285
292
|
maxPriorityFeePerGas: bigint;
|
@@ -304,6 +311,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
304
311
|
typeHex: `0x${string}` | null;
|
305
312
|
v: bigint;
|
306
313
|
value: bigint;
|
314
|
+
yParity: number;
|
307
315
|
gasPrice?: undefined;
|
308
316
|
maxFeePerGas: bigint;
|
309
317
|
maxPriorityFeePerGas: bigint;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8ChB,CAAA"}
|
@@ -72,45 +72,45 @@ export declare const baseGoerli: 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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
75
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
79
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
84
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
88
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
92
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
96
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
101
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
105
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
109
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "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("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
113
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "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}`;
|
@@ -135,6 +135,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
135
135
|
maxPriorityFeePerGas?: undefined;
|
136
136
|
accessList?: undefined;
|
137
137
|
chainId?: number | undefined;
|
138
|
+
yParity?: undefined;
|
138
139
|
type: "legacy";
|
139
140
|
isSystemTx?: undefined;
|
140
141
|
mint?: undefined;
|
@@ -159,6 +160,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
159
160
|
maxPriorityFeePerGas: bigint;
|
160
161
|
accessList?: undefined;
|
161
162
|
chainId?: number | undefined;
|
163
|
+
yParity: number;
|
162
164
|
type: "deposit";
|
163
165
|
isSystemTx?: boolean | undefined;
|
164
166
|
mint?: bigint | undefined;
|
@@ -178,6 +180,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
178
180
|
typeHex: `0x${string}` | null;
|
179
181
|
v: bigint;
|
180
182
|
value: bigint;
|
183
|
+
yParity: number;
|
181
184
|
gasPrice: bigint;
|
182
185
|
maxFeePerGas?: undefined;
|
183
186
|
maxPriorityFeePerGas?: undefined;
|
@@ -202,6 +205,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
202
205
|
typeHex: `0x${string}` | null;
|
203
206
|
v: bigint;
|
204
207
|
value: bigint;
|
208
|
+
yParity: number;
|
205
209
|
gasPrice: undefined;
|
206
210
|
maxFeePerGas: bigint;
|
207
211
|
maxPriorityFeePerGas: bigint;
|
@@ -226,6 +230,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
226
230
|
typeHex: `0x${string}` | null;
|
227
231
|
v: bigint;
|
228
232
|
value: bigint;
|
233
|
+
yParity: number;
|
229
234
|
gasPrice: undefined;
|
230
235
|
maxFeePerGas: bigint;
|
231
236
|
maxPriorityFeePerGas: bigint;
|
@@ -250,6 +255,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
250
255
|
typeHex: `0x${string}` | null;
|
251
256
|
v: bigint;
|
252
257
|
value: bigint;
|
258
|
+
yParity: number;
|
253
259
|
gasPrice: bigint;
|
254
260
|
maxFeePerGas: undefined;
|
255
261
|
maxPriorityFeePerGas: undefined;
|
@@ -274,6 +280,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
274
280
|
typeHex: `0x${string}` | null;
|
275
281
|
v: bigint;
|
276
282
|
value: bigint;
|
283
|
+
yParity: number;
|
277
284
|
gasPrice?: undefined;
|
278
285
|
maxFeePerGas: bigint;
|
279
286
|
maxPriorityFeePerGas: bigint;
|
@@ -298,6 +305,7 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
298
305
|
typeHex: `0x${string}` | null;
|
299
306
|
v: bigint;
|
300
307
|
value: bigint;
|
308
|
+
yParity: number;
|
301
309
|
gasPrice?: undefined;
|
302
310
|
maxFeePerGas: bigint;
|
303
311
|
maxPriorityFeePerGas: bigint;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseGoerli.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
1
|
+
{"version":3,"file":"baseGoerli.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCtB,CAAA"}
|