@nadohq/shared 0.1.0-alpha.9 → 0.1.1
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/dist/abis/index.cjs +12 -12
- package/dist/abis/index.cjs.map +1 -1
- package/dist/abis/index.d.cts +6 -6
- package/dist/abis/index.d.ts +6 -6
- package/dist/abis/index.js +6 -6
- package/dist/abis/index.js.map +1 -1
- package/dist/{chunk-TUJ4HQKF.js → chunk-2GPIH63F.js} +3 -3
- package/dist/chunk-2GPIH63F.js.map +1 -0
- package/dist/consts/chainEnvToChain.cjs +2 -2
- package/dist/consts/chainEnvToChain.cjs.map +1 -1
- package/dist/consts/chainEnvToChain.d.cts +345 -56
- package/dist/consts/chainEnvToChain.d.ts +345 -56
- package/dist/consts/chainEnvToChain.js +3 -3
- package/dist/consts/chainEnvToChain.js.map +1 -1
- package/dist/consts/index.d.cts +0 -1
- package/dist/consts/index.d.ts +0 -1
- package/dist/consts/productIds.cjs +1 -1
- package/dist/consts/productIds.cjs.map +1 -1
- package/dist/consts/productIds.d.cts +1 -1
- package/dist/consts/productIds.d.ts +1 -1
- package/dist/consts/productIds.js +1 -1
- package/dist/consts/productIds.js.map +1 -1
- package/dist/deployments/core/deployment.inkMainnet.json +13 -0
- package/dist/deployments/core/deployment.inkSepolia.json +13 -0
- package/dist/deployments/index.cjs +6 -6
- package/dist/deployments/index.cjs.map +1 -1
- package/dist/deployments/index.js +5 -5
- package/dist/deployments/index.js.map +1 -1
- package/dist/eip712/eip712ValueTypes.cjs.map +1 -1
- package/dist/eip712/eip712ValueTypes.d.cts +3 -3
- package/dist/eip712/eip712ValueTypes.d.ts +3 -3
- package/dist/eip712/getNadoEIP712Domain.cjs.map +1 -1
- package/dist/eip712/getNadoEIP712Domain.js.map +1 -1
- package/dist/eip712/getNadoEIP712PrimaryType.d.cts +1 -1
- package/dist/eip712/getNadoEIP712PrimaryType.d.ts +1 -1
- package/dist/eip712/getNadoEIP712Types.d.cts +1 -1
- package/dist/eip712/getNadoEIP712Types.d.ts +1 -1
- package/dist/eip712/getNadoEIP712Values.d.cts +1 -1
- package/dist/eip712/getNadoEIP712Values.d.ts +1 -1
- package/dist/eip712/getSignedTransactionRequest.d.cts +1 -1
- package/dist/eip712/getSignedTransactionRequest.d.ts +1 -1
- package/dist/eip712/index.cjs +13 -13
- package/dist/eip712/index.cjs.map +1 -1
- package/dist/eip712/index.d.cts +9 -9
- package/dist/eip712/index.d.ts +9 -9
- package/dist/eip712/index.js +6 -6
- package/dist/eip712/index.js.map +1 -1
- package/dist/eip712/orderDigest.d.cts +1 -1
- package/dist/eip712/orderDigest.d.ts +1 -1
- package/dist/eip712/signableRequestType.d.cts +1 -1
- package/dist/eip712/signableRequestType.d.ts +1 -1
- package/dist/eip712/signatureParamTypes.cjs.map +1 -1
- package/dist/eip712/signatureParamTypes.d.cts +13 -13
- package/dist/eip712/signatureParamTypes.d.ts +13 -13
- package/dist/encoding/encoding.cjs +21 -0
- package/dist/encoding/encoding.cjs.map +1 -1
- package/dist/encoding/encoding.d.cts +28 -4
- package/dist/encoding/encoding.d.ts +28 -4
- package/dist/encoding/encoding.js +24 -1
- package/dist/encoding/encoding.js.map +1 -1
- package/dist/encoding/index.d.cts +3 -3
- package/dist/encoding/index.d.ts +3 -3
- package/dist/execute/approveDepositAllowance.cjs.map +1 -1
- package/dist/execute/approveDepositAllowance.d.cts +2 -2
- package/dist/execute/approveDepositAllowance.d.ts +2 -2
- package/dist/execute/approveDepositAllowance.js.map +1 -1
- package/dist/execute/depositCollateral.cjs.map +1 -1
- package/dist/execute/depositCollateral.d.cts +2 -2
- package/dist/execute/depositCollateral.d.ts +2 -2
- package/dist/execute/depositCollateral.js.map +1 -1
- package/dist/execute/index.d.cts +1 -1
- package/dist/execute/index.d.ts +1 -1
- package/dist/index.d.cts +36 -36
- package/dist/index.d.ts +36 -36
- package/dist/types/ChainEnv.cjs +1 -1
- package/dist/types/ChainEnv.cjs.map +1 -1
- package/dist/types/ChainEnv.d.cts +2 -2
- package/dist/types/ChainEnv.d.ts +2 -2
- package/dist/types/ChainEnv.js +1 -1
- package/dist/types/ChainEnv.js.map +1 -1
- package/dist/types/balanceTypes.cjs.map +1 -1
- package/dist/types/balanceTypes.d.cts +5 -5
- package/dist/types/balanceTypes.d.ts +5 -5
- package/dist/types/healthTypes.cjs.map +1 -1
- package/dist/types/healthTypes.d.cts +4 -4
- package/dist/types/healthTypes.d.ts +4 -4
- package/dist/types/index.cjs +7 -7
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +3 -3
- package/dist/types/index.js.map +1 -1
- package/dist/types/marketTypes.cjs.map +1 -1
- package/dist/types/marketTypes.d.cts +4 -4
- package/dist/types/marketTypes.d.ts +4 -4
- package/dist/types/orderAppendixTypes.cjs.map +1 -1
- package/dist/types/orderAppendixTypes.d.cts +27 -3
- package/dist/types/orderAppendixTypes.d.ts +27 -3
- package/dist/types/productTypes.cjs.map +1 -1
- package/dist/types/productTypes.d.cts +16 -16
- package/dist/types/productTypes.d.ts +16 -16
- package/dist/types/productTypes.js.map +1 -1
- package/dist/types/viemTypes.d.cts +1 -1
- package/dist/types/viemTypes.d.ts +1 -1
- package/dist/utils/balanceValue.cjs.map +1 -1
- package/dist/utils/balanceValue.d.cts +5 -5
- package/dist/utils/balanceValue.d.ts +5 -5
- package/dist/utils/balanceValue.js.map +1 -1
- package/dist/utils/bytes32.d.cts +1 -1
- package/dist/utils/bytes32.d.ts +1 -1
- package/dist/utils/bytes32.test.cjs +2 -2
- package/dist/utils/bytes32.test.cjs.map +1 -1
- package/dist/utils/bytes32.test.js +1 -1
- package/dist/utils/createDeterministicLinkedSignerPrivateKey.cjs.map +1 -1
- package/dist/utils/createDeterministicLinkedSignerPrivateKey.js.map +1 -1
- package/dist/utils/index.cjs +12 -12
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +22 -22
- package/dist/utils/index.d.ts +22 -22
- package/dist/utils/index.js +6 -6
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/interest.cjs +9 -9
- package/dist/utils/interest.cjs.map +1 -1
- package/dist/utils/interest.d.cts +8 -8
- package/dist/utils/interest.d.ts +8 -8
- package/dist/utils/interest.js +10 -14
- package/dist/utils/interest.js.map +1 -1
- package/dist/utils/math/{BigDecimals.cjs → BigNumbers.cjs} +13 -13
- package/dist/utils/math/BigNumbers.cjs.map +1 -0
- package/dist/utils/math/BigNumbers.d.cts +10 -0
- package/dist/utils/math/BigNumbers.d.ts +10 -0
- package/dist/utils/math/BigNumbers.js +14 -0
- package/dist/utils/math/BigNumbers.js.map +1 -0
- package/dist/utils/math/{bigDecimal.cjs → bigNumber.cjs} +12 -14
- package/dist/utils/math/bigNumber.cjs.map +1 -0
- package/dist/utils/math/bigNumber.d.cts +17 -0
- package/dist/utils/math/bigNumber.d.ts +17 -0
- package/dist/utils/math/bigNumber.js +22 -0
- package/dist/utils/math/bigNumber.js.map +1 -0
- package/dist/utils/math/clamp.cjs +3 -3
- package/dist/utils/math/clamp.cjs.map +1 -1
- package/dist/utils/math/clamp.d.cts +5 -5
- package/dist/utils/math/clamp.d.ts +5 -5
- package/dist/utils/math/clamp.js +2 -2
- package/dist/utils/math/clamp.js.map +1 -1
- package/dist/utils/math/decimalAdjustment.cjs +5 -5
- package/dist/utils/math/decimalAdjustment.cjs.map +1 -1
- package/dist/utils/math/decimalAdjustment.d.cts +6 -6
- package/dist/utils/math/decimalAdjustment.d.ts +6 -6
- package/dist/utils/math/decimalAdjustment.js +5 -5
- package/dist/utils/math/decimalAdjustment.js.map +1 -1
- package/dist/utils/math/index.cjs +10 -10
- package/dist/utils/math/index.cjs.map +1 -1
- package/dist/utils/math/index.d.cts +7 -7
- package/dist/utils/math/index.d.ts +7 -7
- package/dist/utils/math/index.js +5 -5
- package/dist/utils/math/index.js.map +1 -1
- package/dist/utils/math/{sumBigDecimalBy.cjs → sumBigNumberBy.cjs} +10 -10
- package/dist/utils/math/sumBigNumberBy.cjs.map +1 -0
- package/dist/utils/math/sumBigNumberBy.d.cts +10 -0
- package/dist/utils/math/sumBigNumberBy.d.ts +10 -0
- package/dist/utils/math/sumBigNumberBy.js +13 -0
- package/dist/utils/math/sumBigNumberBy.js.map +1 -0
- package/dist/utils/math/toBigInt.cjs.map +1 -1
- package/dist/utils/math/toBigInt.d.cts +3 -3
- package/dist/utils/math/toBigInt.d.ts +3 -3
- package/dist/utils/math/toBigInt.js.map +1 -1
- package/dist/utils/math/toIntegerString.cjs +2 -2
- package/dist/utils/math/toIntegerString.cjs.map +1 -1
- package/dist/utils/math/toIntegerString.d.cts +3 -3
- package/dist/utils/math/toIntegerString.d.ts +3 -3
- package/dist/utils/math/toIntegerString.js +2 -2
- package/dist/utils/math/toIntegerString.js.map +1 -1
- package/dist/utils/orders/appendix/appendixIsolatedValue.cjs +50 -0
- package/dist/utils/orders/appendix/appendixIsolatedValue.cjs.map +1 -0
- package/dist/utils/orders/appendix/appendixIsolatedValue.d.cts +26 -0
- package/dist/utils/orders/appendix/appendixIsolatedValue.d.ts +26 -0
- package/dist/utils/orders/appendix/appendixIsolatedValue.js +31 -0
- package/dist/utils/orders/appendix/appendixIsolatedValue.js.map +1 -0
- package/dist/utils/orders/appendix/appendixTwapValue.cjs +3 -4
- package/dist/utils/orders/appendix/appendixTwapValue.cjs.map +1 -1
- package/dist/utils/orders/appendix/appendixTwapValue.d.cts +12 -14
- package/dist/utils/orders/appendix/appendixTwapValue.d.ts +12 -14
- package/dist/utils/orders/appendix/appendixTwapValue.js +3 -4
- package/dist/utils/orders/appendix/appendixTwapValue.js.map +1 -1
- package/dist/utils/orders/appendix/index.cjs +4 -4
- package/dist/utils/orders/appendix/index.cjs.map +1 -1
- package/dist/utils/orders/appendix/index.d.cts +3 -3
- package/dist/utils/orders/appendix/index.d.ts +3 -3
- package/dist/utils/orders/appendix/index.js +2 -2
- package/dist/utils/orders/appendix/index.js.map +1 -1
- package/dist/utils/orders/appendix/orderAppendix.test.cjs +67 -14
- package/dist/utils/orders/appendix/orderAppendix.test.cjs.map +1 -1
- package/dist/utils/orders/appendix/orderAppendix.test.js +66 -13
- package/dist/utils/orders/appendix/orderAppendix.test.js.map +1 -1
- package/dist/utils/orders/appendix/packOrderAppendix.cjs +9 -5
- package/dist/utils/orders/appendix/packOrderAppendix.cjs.map +1 -1
- package/dist/utils/orders/appendix/packOrderAppendix.d.cts +1 -1
- package/dist/utils/orders/appendix/packOrderAppendix.d.ts +1 -1
- package/dist/utils/orders/appendix/packOrderAppendix.js +9 -5
- package/dist/utils/orders/appendix/packOrderAppendix.js.map +1 -1
- package/dist/utils/orders/appendix/types.cjs.map +1 -1
- package/dist/utils/orders/appendix/types.d.cts +6 -4
- package/dist/utils/orders/appendix/types.d.ts +6 -4
- package/dist/utils/orders/appendix/unpackOrderAppendix.cjs +22 -5
- package/dist/utils/orders/appendix/unpackOrderAppendix.cjs.map +1 -1
- package/dist/utils/orders/appendix/unpackOrderAppendix.d.cts +2 -2
- package/dist/utils/orders/appendix/unpackOrderAppendix.d.ts +2 -2
- package/dist/utils/orders/appendix/unpackOrderAppendix.js +22 -5
- package/dist/utils/orders/appendix/unpackOrderAppendix.js.map +1 -1
- package/dist/utils/orders/index.cjs +3 -3
- package/dist/utils/orders/index.cjs.map +1 -1
- package/dist/utils/orders/index.d.cts +5 -5
- package/dist/utils/orders/index.d.ts +5 -5
- package/dist/utils/orders/index.js +1 -1
- package/dist/utils/orders/index.js.map +1 -1
- package/dist/utils/productTypeFilter.cjs.map +1 -1
- package/dist/utils/productTypeFilter.d.cts +2 -2
- package/dist/utils/productTypeFilter.d.ts +2 -2
- package/dist/utils/productTypeFilter.js.map +1 -1
- package/dist/utils/toPrintableObject.cjs +29 -11
- package/dist/utils/toPrintableObject.cjs.map +1 -1
- package/dist/utils/toPrintableObject.d.cts +7 -2
- package/dist/utils/toPrintableObject.d.ts +7 -2
- package/dist/utils/toPrintableObject.js +19 -11
- package/dist/utils/toPrintableObject.js.map +1 -1
- package/package.json +14 -7
- package/src/abis/index.ts +6 -6
- package/src/consts/chainEnvToChain.ts +2 -2
- package/src/consts/productIds.ts +1 -1
- package/src/deployments/core/deployment.inkMainnet.json +13 -0
- package/src/deployments/core/deployment.inkSepolia.json +13 -0
- package/src/deployments/index.ts +5 -5
- package/src/eip712/eip712ValueTypes.ts +2 -2
- package/src/eip712/getNadoEIP712Domain.ts +1 -1
- package/src/eip712/index.ts +6 -6
- package/src/eip712/signatureParamTypes.ts +13 -13
- package/src/encoding/encoding.ts +43 -1
- package/src/execute/approveDepositAllowance.ts +2 -2
- package/src/execute/depositCollateral.ts +2 -2
- package/src/types/ChainEnv.ts +1 -1
- package/src/types/balanceTypes.ts +4 -4
- package/src/types/healthTypes.ts +4 -4
- package/src/types/index.ts +3 -3
- package/src/types/marketTypes.ts +4 -4
- package/src/types/orderAppendixTypes.ts +27 -2
- package/src/types/productTypes.ts +16 -16
- package/src/utils/balanceValue.ts +4 -4
- package/src/utils/createDeterministicLinkedSignerPrivateKey.ts +1 -1
- package/src/utils/index.ts +6 -6
- package/src/utils/interest.ts +26 -31
- package/src/utils/math/BigNumbers.ts +8 -0
- package/src/utils/math/bigNumber.ts +31 -0
- package/src/utils/math/clamp.ts +4 -7
- package/src/utils/math/decimalAdjustment.ts +11 -10
- package/src/utils/math/index.ts +5 -5
- package/src/utils/math/sumBigNumberBy.ts +18 -0
- package/src/utils/math/toBigInt.ts +3 -3
- package/src/utils/math/toIntegerString.ts +4 -4
- package/src/utils/orders/appendix/appendixIsolatedValue.ts +49 -0
- package/src/utils/orders/appendix/appendixTwapValue.ts +14 -19
- package/src/utils/orders/appendix/index.ts +2 -2
- package/src/utils/orders/appendix/orderAppendix.test.ts +68 -11
- package/src/utils/orders/appendix/packOrderAppendix.ts +10 -6
- package/src/utils/orders/appendix/types.ts +9 -7
- package/src/utils/orders/appendix/unpackOrderAppendix.ts +24 -7
- package/src/utils/orders/index.ts +1 -1
- package/src/utils/productTypeFilter.ts +2 -2
- package/src/utils/toPrintableObject.ts +32 -12
- package/dist/chunk-TUJ4HQKF.js.map +0 -1
- package/dist/deployments/core/deployment.InkSepolia.json +0 -13
- package/dist/deployments/core/deployment.arbitrumOne.json +0 -18
- package/dist/utils/math/BigDecimals.cjs.map +0 -1
- package/dist/utils/math/BigDecimals.d.cts +0 -8
- package/dist/utils/math/BigDecimals.d.ts +0 -8
- package/dist/utils/math/BigDecimals.js +0 -14
- package/dist/utils/math/BigDecimals.js.map +0 -1
- package/dist/utils/math/bigDecimal.cjs.map +0 -1
- package/dist/utils/math/bigDecimal.d.cts +0 -18
- package/dist/utils/math/bigDecimal.d.ts +0 -18
- package/dist/utils/math/bigDecimal.js +0 -23
- package/dist/utils/math/bigDecimal.js.map +0 -1
- package/dist/utils/math/sumBigDecimalBy.cjs.map +0 -1
- package/dist/utils/math/sumBigDecimalBy.d.cts +0 -10
- package/dist/utils/math/sumBigDecimalBy.d.ts +0 -10
- package/dist/utils/math/sumBigDecimalBy.js +0 -13
- package/dist/utils/math/sumBigDecimalBy.js.map +0 -1
- package/src/deployments/core/deployment.InkSepolia.json +0 -13
- package/src/deployments/core/deployment.arbitrumOne.json +0 -18
- package/src/utils/math/BigDecimals.ts +0 -8
- package/src/utils/math/bigDecimal.ts +0 -32
- package/src/utils/math/sumBigDecimalBy.ts +0 -18
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as abitype from 'abitype';
|
|
2
1
|
import * as viem_chains from 'viem/chains';
|
|
3
2
|
import * as viem from 'viem';
|
|
4
3
|
import { ChainEnv } from '../types/ChainEnv.cjs';
|
|
@@ -25,7 +24,7 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
25
24
|
ensRegistry?: viem.ChainContract | undefined;
|
|
26
25
|
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
27
26
|
multicall3?: viem.ChainContract | undefined;
|
|
28
|
-
|
|
27
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
29
28
|
} | undefined;
|
|
30
29
|
ensTlds?: readonly string[] | undefined;
|
|
31
30
|
id: 1337;
|
|
@@ -35,6 +34,7 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
35
34
|
readonly name: "Ether";
|
|
36
35
|
readonly symbol: "ETH";
|
|
37
36
|
};
|
|
37
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
38
38
|
rpcUrls: {
|
|
39
39
|
readonly default: {
|
|
40
40
|
readonly http: readonly ["http://127.0.0.1:8545"];
|
|
@@ -45,41 +45,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
45
45
|
custom?: Record<string, unknown> | undefined;
|
|
46
46
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
47
47
|
formatters?: undefined;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
blockTime?: number | undefined | undefined;
|
|
59
|
-
contracts: {
|
|
60
|
-
readonly multicall3: {
|
|
61
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
62
|
-
readonly blockCreated: 7654707;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
ensTlds?: readonly string[] | undefined;
|
|
66
|
-
id: 42161;
|
|
67
|
-
name: "Arbitrum One";
|
|
68
|
-
nativeCurrency: {
|
|
69
|
-
readonly name: "Ether";
|
|
70
|
-
readonly symbol: "ETH";
|
|
71
|
-
readonly decimals: 18;
|
|
72
|
-
};
|
|
73
|
-
rpcUrls: {
|
|
74
|
-
readonly default: {
|
|
75
|
-
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
sourceId?: number | undefined | undefined;
|
|
79
|
-
testnet?: boolean | undefined | undefined;
|
|
80
|
-
custom?: Record<string, unknown> | undefined;
|
|
81
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
82
|
-
formatters?: undefined;
|
|
48
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
49
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
50
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
51
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
52
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
53
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
54
|
+
}] | undefined;
|
|
83
55
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
84
56
|
};
|
|
85
57
|
readonly inkTestnet: {
|
|
@@ -138,6 +110,7 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
138
110
|
readonly symbol: "ETH";
|
|
139
111
|
readonly decimals: 18;
|
|
140
112
|
};
|
|
113
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
141
114
|
rpcUrls: {
|
|
142
115
|
readonly default: {
|
|
143
116
|
readonly http: readonly ["https://rpc-gel-sepolia.inkonchain.com"];
|
|
@@ -150,7 +123,7 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
150
123
|
formatters: {
|
|
151
124
|
readonly block: {
|
|
152
125
|
exclude: [] | undefined;
|
|
153
|
-
format: (args: viem_chains.OpStackRpcBlock) => {
|
|
126
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
154
127
|
baseFeePerGas: bigint | null;
|
|
155
128
|
blobGasUsed: bigint;
|
|
156
129
|
difficulty: bigint;
|
|
@@ -160,7 +133,7 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
160
133
|
gasUsed: bigint;
|
|
161
134
|
hash: `0x${string}` | null;
|
|
162
135
|
logsBloom: `0x${string}` | null;
|
|
163
|
-
miner:
|
|
136
|
+
miner: viem.Address;
|
|
164
137
|
mixHash: viem.Hash;
|
|
165
138
|
nonce: `0x${string}` | null;
|
|
166
139
|
number: bigint | null;
|
|
@@ -183,17 +156,17 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
183
156
|
};
|
|
184
157
|
readonly transaction: {
|
|
185
158
|
exclude: [] | undefined;
|
|
186
|
-
format: (args: viem_chains.OpStackRpcTransaction) => ({
|
|
159
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
187
160
|
blockHash: `0x${string}` | null;
|
|
188
161
|
blockNumber: bigint | null;
|
|
189
|
-
from:
|
|
162
|
+
from: viem.Address;
|
|
190
163
|
gas: bigint;
|
|
191
164
|
hash: viem.Hash;
|
|
192
165
|
input: viem.Hex;
|
|
193
166
|
nonce: number;
|
|
194
167
|
r: viem.Hex;
|
|
195
168
|
s: viem.Hex;
|
|
196
|
-
to:
|
|
169
|
+
to: viem.Address | null;
|
|
197
170
|
transactionIndex: number | null;
|
|
198
171
|
typeHex: viem.Hex | null;
|
|
199
172
|
v: bigint;
|
|
@@ -211,17 +184,326 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
211
184
|
r: viem.Hex;
|
|
212
185
|
s: viem.Hex;
|
|
213
186
|
v: bigint;
|
|
214
|
-
|
|
215
|
-
|
|
187
|
+
value: bigint;
|
|
188
|
+
gas: bigint;
|
|
189
|
+
to: viem.Address | null;
|
|
190
|
+
from: viem.Address;
|
|
191
|
+
nonce: number;
|
|
192
|
+
blockHash: `0x${string}` | null;
|
|
193
|
+
blockNumber: bigint | null;
|
|
194
|
+
transactionIndex: number | null;
|
|
195
|
+
hash: viem.Hash;
|
|
196
|
+
input: viem.Hex;
|
|
197
|
+
typeHex: viem.Hex | null;
|
|
198
|
+
accessList?: undefined | undefined;
|
|
199
|
+
authorizationList?: undefined | undefined;
|
|
200
|
+
blobVersionedHashes?: undefined | undefined;
|
|
201
|
+
chainId?: number | undefined;
|
|
202
|
+
yParity?: undefined | undefined;
|
|
203
|
+
type: "legacy";
|
|
204
|
+
gasPrice: bigint;
|
|
205
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
206
|
+
maxFeePerGas?: undefined | undefined;
|
|
207
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
208
|
+
isSystemTx?: undefined | undefined;
|
|
209
|
+
mint?: undefined | undefined;
|
|
210
|
+
sourceHash?: undefined | undefined;
|
|
211
|
+
} | {
|
|
212
|
+
blockHash: `0x${string}` | null;
|
|
213
|
+
blockNumber: bigint | null;
|
|
214
|
+
from: viem.Address;
|
|
216
215
|
gas: bigint;
|
|
216
|
+
hash: viem.Hash;
|
|
217
|
+
input: viem.Hex;
|
|
217
218
|
nonce: number;
|
|
219
|
+
r: viem.Hex;
|
|
220
|
+
s: viem.Hex;
|
|
221
|
+
to: viem.Address | null;
|
|
222
|
+
transactionIndex: number | null;
|
|
223
|
+
typeHex: viem.Hex | null;
|
|
224
|
+
v: bigint;
|
|
218
225
|
value: bigint;
|
|
226
|
+
yParity: number;
|
|
227
|
+
accessList: viem.AccessList;
|
|
228
|
+
authorizationList?: undefined | undefined;
|
|
229
|
+
blobVersionedHashes?: undefined | undefined;
|
|
230
|
+
chainId: number;
|
|
231
|
+
type: "eip2930";
|
|
232
|
+
gasPrice: bigint;
|
|
233
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
234
|
+
maxFeePerGas?: undefined | undefined;
|
|
235
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
236
|
+
isSystemTx?: undefined | undefined;
|
|
237
|
+
mint?: undefined | undefined;
|
|
238
|
+
sourceHash?: undefined | undefined;
|
|
239
|
+
} | {
|
|
219
240
|
blockHash: `0x${string}` | null;
|
|
220
241
|
blockNumber: bigint | null;
|
|
242
|
+
from: viem.Address;
|
|
243
|
+
gas: bigint;
|
|
221
244
|
hash: viem.Hash;
|
|
222
245
|
input: viem.Hex;
|
|
246
|
+
nonce: number;
|
|
247
|
+
r: viem.Hex;
|
|
248
|
+
s: viem.Hex;
|
|
249
|
+
to: viem.Address | null;
|
|
223
250
|
transactionIndex: number | null;
|
|
224
251
|
typeHex: viem.Hex | null;
|
|
252
|
+
v: bigint;
|
|
253
|
+
value: bigint;
|
|
254
|
+
yParity: number;
|
|
255
|
+
accessList: viem.AccessList;
|
|
256
|
+
authorizationList?: undefined | undefined;
|
|
257
|
+
blobVersionedHashes?: undefined | undefined;
|
|
258
|
+
chainId: number;
|
|
259
|
+
type: "eip1559";
|
|
260
|
+
gasPrice?: undefined | undefined;
|
|
261
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
262
|
+
maxFeePerGas: bigint;
|
|
263
|
+
maxPriorityFeePerGas: bigint;
|
|
264
|
+
isSystemTx?: undefined | undefined;
|
|
265
|
+
mint?: undefined | undefined;
|
|
266
|
+
sourceHash?: undefined | undefined;
|
|
267
|
+
} | {
|
|
268
|
+
blockHash: `0x${string}` | null;
|
|
269
|
+
blockNumber: bigint | null;
|
|
270
|
+
from: viem.Address;
|
|
271
|
+
gas: bigint;
|
|
272
|
+
hash: viem.Hash;
|
|
273
|
+
input: viem.Hex;
|
|
274
|
+
nonce: number;
|
|
275
|
+
r: viem.Hex;
|
|
276
|
+
s: viem.Hex;
|
|
277
|
+
to: viem.Address | null;
|
|
278
|
+
transactionIndex: number | null;
|
|
279
|
+
typeHex: viem.Hex | null;
|
|
280
|
+
v: bigint;
|
|
281
|
+
value: bigint;
|
|
282
|
+
yParity: number;
|
|
283
|
+
accessList: viem.AccessList;
|
|
284
|
+
authorizationList?: undefined | undefined;
|
|
285
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
286
|
+
chainId: number;
|
|
287
|
+
type: "eip4844";
|
|
288
|
+
gasPrice?: undefined | undefined;
|
|
289
|
+
maxFeePerBlobGas: bigint;
|
|
290
|
+
maxFeePerGas: bigint;
|
|
291
|
+
maxPriorityFeePerGas: bigint;
|
|
292
|
+
isSystemTx?: undefined | undefined;
|
|
293
|
+
mint?: undefined | undefined;
|
|
294
|
+
sourceHash?: undefined | undefined;
|
|
295
|
+
} | {
|
|
296
|
+
blockHash: `0x${string}` | null;
|
|
297
|
+
blockNumber: bigint | null;
|
|
298
|
+
from: viem.Address;
|
|
299
|
+
gas: bigint;
|
|
300
|
+
hash: viem.Hash;
|
|
301
|
+
input: viem.Hex;
|
|
302
|
+
nonce: number;
|
|
303
|
+
r: viem.Hex;
|
|
304
|
+
s: viem.Hex;
|
|
305
|
+
to: viem.Address | null;
|
|
306
|
+
transactionIndex: number | null;
|
|
307
|
+
typeHex: viem.Hex | null;
|
|
308
|
+
v: bigint;
|
|
309
|
+
value: bigint;
|
|
310
|
+
yParity: number;
|
|
311
|
+
accessList: viem.AccessList;
|
|
312
|
+
authorizationList: viem.SignedAuthorizationList;
|
|
313
|
+
blobVersionedHashes?: undefined | undefined;
|
|
314
|
+
chainId: number;
|
|
315
|
+
type: "eip7702";
|
|
316
|
+
gasPrice?: undefined | undefined;
|
|
317
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
318
|
+
maxFeePerGas: bigint;
|
|
319
|
+
maxPriorityFeePerGas: bigint;
|
|
320
|
+
isSystemTx?: undefined | undefined;
|
|
321
|
+
mint?: undefined | undefined;
|
|
322
|
+
sourceHash?: undefined | undefined;
|
|
323
|
+
}) & {};
|
|
324
|
+
type: "transaction";
|
|
325
|
+
};
|
|
326
|
+
readonly transactionReceipt: {
|
|
327
|
+
exclude: [] | undefined;
|
|
328
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
329
|
+
blobGasPrice?: bigint | undefined;
|
|
330
|
+
blobGasUsed?: bigint | undefined;
|
|
331
|
+
blockHash: viem.Hash;
|
|
332
|
+
blockNumber: bigint;
|
|
333
|
+
contractAddress: viem.Address | null | undefined;
|
|
334
|
+
cumulativeGasUsed: bigint;
|
|
335
|
+
effectiveGasPrice: bigint;
|
|
336
|
+
from: viem.Address;
|
|
337
|
+
gasUsed: bigint;
|
|
338
|
+
logs: viem.Log<bigint, number, false>[];
|
|
339
|
+
logsBloom: viem.Hex;
|
|
340
|
+
root?: `0x${string}` | undefined;
|
|
341
|
+
status: "success" | "reverted";
|
|
342
|
+
to: viem.Address | null;
|
|
343
|
+
transactionHash: viem.Hash;
|
|
344
|
+
transactionIndex: number;
|
|
345
|
+
type: viem.TransactionType;
|
|
346
|
+
l1GasPrice: bigint | null;
|
|
347
|
+
l1GasUsed: bigint | null;
|
|
348
|
+
l1Fee: bigint | null;
|
|
349
|
+
l1FeeScalar: number | null;
|
|
350
|
+
} & {};
|
|
351
|
+
type: "transactionReceipt";
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
355
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
356
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
357
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
358
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
359
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
360
|
+
}] | undefined;
|
|
361
|
+
serializers: {
|
|
362
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
readonly inkMainnet: {
|
|
366
|
+
blockExplorers: {
|
|
367
|
+
readonly default: {
|
|
368
|
+
readonly name: "Blockscout";
|
|
369
|
+
readonly url: "https://explorer.inkonchain.com";
|
|
370
|
+
readonly apiUrl: "https://explorer.inkonchain.com/api/v2";
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
blockTime: 2000;
|
|
374
|
+
contracts: {
|
|
375
|
+
readonly disputeGameFactory: {
|
|
376
|
+
readonly 1: {
|
|
377
|
+
readonly address: "0x10d7b35078d3baabb96dd45a9143b94be65b12cd";
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
readonly portal: {
|
|
381
|
+
readonly 1: {
|
|
382
|
+
readonly address: "0x5d66c1782664115999c47c9fa5cd031f495d3e4f";
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly l1StandardBridge: {
|
|
386
|
+
readonly 1: {
|
|
387
|
+
readonly address: "0x88ff1e5b602916615391f55854588efcbb7663f0";
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
readonly gasPriceOracle: {
|
|
391
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
392
|
+
};
|
|
393
|
+
readonly l1Block: {
|
|
394
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
395
|
+
};
|
|
396
|
+
readonly l2CrossDomainMessenger: {
|
|
397
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
398
|
+
};
|
|
399
|
+
readonly l2Erc721Bridge: {
|
|
400
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
401
|
+
};
|
|
402
|
+
readonly l2StandardBridge: {
|
|
403
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
404
|
+
};
|
|
405
|
+
readonly l2ToL1MessagePasser: {
|
|
406
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
407
|
+
};
|
|
408
|
+
readonly multicall3: {
|
|
409
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
410
|
+
readonly blockCreated: 0;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
ensTlds?: readonly string[] | undefined;
|
|
414
|
+
id: 57073;
|
|
415
|
+
name: "Ink";
|
|
416
|
+
nativeCurrency: {
|
|
417
|
+
readonly name: "Ether";
|
|
418
|
+
readonly symbol: "ETH";
|
|
419
|
+
readonly decimals: 18;
|
|
420
|
+
};
|
|
421
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
422
|
+
rpcUrls: {
|
|
423
|
+
readonly default: {
|
|
424
|
+
readonly http: readonly ["https://rpc-gel.inkonchain.com", "https://rpc-qnd.inkonchain.com"];
|
|
425
|
+
readonly webSocket: readonly ["wss://rpc-gel.inkonchain.com", "wss://rpc-qnd.inkonchain.com"];
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
sourceId: 1;
|
|
429
|
+
testnet: false;
|
|
430
|
+
custom?: Record<string, unknown> | undefined;
|
|
431
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
432
|
+
formatters: {
|
|
433
|
+
readonly block: {
|
|
434
|
+
exclude: [] | undefined;
|
|
435
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
436
|
+
baseFeePerGas: bigint | null;
|
|
437
|
+
blobGasUsed: bigint;
|
|
438
|
+
difficulty: bigint;
|
|
439
|
+
excessBlobGas: bigint;
|
|
440
|
+
extraData: viem.Hex;
|
|
441
|
+
gasLimit: bigint;
|
|
442
|
+
gasUsed: bigint;
|
|
443
|
+
hash: `0x${string}` | null;
|
|
444
|
+
logsBloom: `0x${string}` | null;
|
|
445
|
+
miner: viem.Address;
|
|
446
|
+
mixHash: viem.Hash;
|
|
447
|
+
nonce: `0x${string}` | null;
|
|
448
|
+
number: bigint | null;
|
|
449
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
450
|
+
parentHash: viem.Hash;
|
|
451
|
+
receiptsRoot: viem.Hex;
|
|
452
|
+
sealFields: viem.Hex[];
|
|
453
|
+
sha3Uncles: viem.Hash;
|
|
454
|
+
size: bigint;
|
|
455
|
+
stateRoot: viem.Hash;
|
|
456
|
+
timestamp: bigint;
|
|
457
|
+
totalDifficulty: bigint | null;
|
|
458
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
459
|
+
transactionsRoot: viem.Hash;
|
|
460
|
+
uncles: viem.Hash[];
|
|
461
|
+
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
462
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
463
|
+
} & {};
|
|
464
|
+
type: "block";
|
|
465
|
+
};
|
|
466
|
+
readonly transaction: {
|
|
467
|
+
exclude: [] | undefined;
|
|
468
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
469
|
+
blockHash: `0x${string}` | null;
|
|
470
|
+
blockNumber: bigint | null;
|
|
471
|
+
from: viem.Address;
|
|
472
|
+
gas: bigint;
|
|
473
|
+
hash: viem.Hash;
|
|
474
|
+
input: viem.Hex;
|
|
475
|
+
nonce: number;
|
|
476
|
+
r: viem.Hex;
|
|
477
|
+
s: viem.Hex;
|
|
478
|
+
to: viem.Address | null;
|
|
479
|
+
transactionIndex: number | null;
|
|
480
|
+
typeHex: viem.Hex | null;
|
|
481
|
+
v: bigint;
|
|
482
|
+
value: bigint;
|
|
483
|
+
yParity: number;
|
|
484
|
+
gasPrice?: undefined | undefined;
|
|
485
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
486
|
+
maxFeePerGas: bigint;
|
|
487
|
+
maxPriorityFeePerGas: bigint;
|
|
488
|
+
isSystemTx?: boolean;
|
|
489
|
+
mint?: bigint | undefined | undefined;
|
|
490
|
+
sourceHash: viem.Hex;
|
|
491
|
+
type: "deposit";
|
|
492
|
+
} | {
|
|
493
|
+
r: viem.Hex;
|
|
494
|
+
s: viem.Hex;
|
|
495
|
+
v: bigint;
|
|
496
|
+
value: bigint;
|
|
497
|
+
gas: bigint;
|
|
498
|
+
to: viem.Address | null;
|
|
499
|
+
from: viem.Address;
|
|
500
|
+
nonce: number;
|
|
501
|
+
blockHash: `0x${string}` | null;
|
|
502
|
+
blockNumber: bigint | null;
|
|
503
|
+
transactionIndex: number | null;
|
|
504
|
+
hash: viem.Hash;
|
|
505
|
+
input: viem.Hex;
|
|
506
|
+
typeHex: viem.Hex | null;
|
|
225
507
|
accessList?: undefined | undefined;
|
|
226
508
|
authorizationList?: undefined | undefined;
|
|
227
509
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -238,14 +520,14 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
238
520
|
} | {
|
|
239
521
|
blockHash: `0x${string}` | null;
|
|
240
522
|
blockNumber: bigint | null;
|
|
241
|
-
from:
|
|
523
|
+
from: viem.Address;
|
|
242
524
|
gas: bigint;
|
|
243
525
|
hash: viem.Hash;
|
|
244
526
|
input: viem.Hex;
|
|
245
527
|
nonce: number;
|
|
246
528
|
r: viem.Hex;
|
|
247
529
|
s: viem.Hex;
|
|
248
|
-
to:
|
|
530
|
+
to: viem.Address | null;
|
|
249
531
|
transactionIndex: number | null;
|
|
250
532
|
typeHex: viem.Hex | null;
|
|
251
533
|
v: bigint;
|
|
@@ -266,14 +548,14 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
266
548
|
} | {
|
|
267
549
|
blockHash: `0x${string}` | null;
|
|
268
550
|
blockNumber: bigint | null;
|
|
269
|
-
from:
|
|
551
|
+
from: viem.Address;
|
|
270
552
|
gas: bigint;
|
|
271
553
|
hash: viem.Hash;
|
|
272
554
|
input: viem.Hex;
|
|
273
555
|
nonce: number;
|
|
274
556
|
r: viem.Hex;
|
|
275
557
|
s: viem.Hex;
|
|
276
|
-
to:
|
|
558
|
+
to: viem.Address | null;
|
|
277
559
|
transactionIndex: number | null;
|
|
278
560
|
typeHex: viem.Hex | null;
|
|
279
561
|
v: bigint;
|
|
@@ -294,14 +576,14 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
294
576
|
} | {
|
|
295
577
|
blockHash: `0x${string}` | null;
|
|
296
578
|
blockNumber: bigint | null;
|
|
297
|
-
from:
|
|
579
|
+
from: viem.Address;
|
|
298
580
|
gas: bigint;
|
|
299
581
|
hash: viem.Hash;
|
|
300
582
|
input: viem.Hex;
|
|
301
583
|
nonce: number;
|
|
302
584
|
r: viem.Hex;
|
|
303
585
|
s: viem.Hex;
|
|
304
|
-
to:
|
|
586
|
+
to: viem.Address | null;
|
|
305
587
|
transactionIndex: number | null;
|
|
306
588
|
typeHex: viem.Hex | null;
|
|
307
589
|
v: bigint;
|
|
@@ -322,14 +604,14 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
322
604
|
} | {
|
|
323
605
|
blockHash: `0x${string}` | null;
|
|
324
606
|
blockNumber: bigint | null;
|
|
325
|
-
from:
|
|
607
|
+
from: viem.Address;
|
|
326
608
|
gas: bigint;
|
|
327
609
|
hash: viem.Hash;
|
|
328
610
|
input: viem.Hex;
|
|
329
611
|
nonce: number;
|
|
330
612
|
r: viem.Hex;
|
|
331
613
|
s: viem.Hex;
|
|
332
|
-
to:
|
|
614
|
+
to: viem.Address | null;
|
|
333
615
|
transactionIndex: number | null;
|
|
334
616
|
typeHex: viem.Hex | null;
|
|
335
617
|
v: bigint;
|
|
@@ -352,21 +634,21 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
352
634
|
};
|
|
353
635
|
readonly transactionReceipt: {
|
|
354
636
|
exclude: [] | undefined;
|
|
355
|
-
format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
|
|
637
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
356
638
|
blobGasPrice?: bigint | undefined;
|
|
357
639
|
blobGasUsed?: bigint | undefined;
|
|
358
640
|
blockHash: viem.Hash;
|
|
359
641
|
blockNumber: bigint;
|
|
360
|
-
contractAddress:
|
|
642
|
+
contractAddress: viem.Address | null | undefined;
|
|
361
643
|
cumulativeGasUsed: bigint;
|
|
362
644
|
effectiveGasPrice: bigint;
|
|
363
|
-
from:
|
|
645
|
+
from: viem.Address;
|
|
364
646
|
gasUsed: bigint;
|
|
365
647
|
logs: viem.Log<bigint, number, false>[];
|
|
366
648
|
logsBloom: viem.Hex;
|
|
367
649
|
root?: `0x${string}` | undefined;
|
|
368
650
|
status: "success" | "reverted";
|
|
369
|
-
to:
|
|
651
|
+
to: viem.Address | null;
|
|
370
652
|
transactionHash: viem.Hash;
|
|
371
653
|
transactionIndex: number;
|
|
372
654
|
type: viem.TransactionType;
|
|
@@ -378,6 +660,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
378
660
|
type: "transactionReceipt";
|
|
379
661
|
};
|
|
380
662
|
};
|
|
663
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
664
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
665
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
666
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
667
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
668
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
669
|
+
}] | undefined;
|
|
381
670
|
serializers: {
|
|
382
671
|
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
383
672
|
};
|