viem 0.0.0-main.20230913T050526 → 0.0.0-main.20230913T210225

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.
Files changed (133) hide show
  1. package/_cjs/{abi.js → abi/index.js} +9 -9
  2. package/_cjs/abi/index.js.map +1 -0
  3. package/_cjs/chains/{utils.js → utils/index.js} +5 -5
  4. package/_cjs/chains/utils/index.js.map +1 -0
  5. package/_cjs/{contract.js → contract/index.js} +25 -25
  6. package/_cjs/contract/index.js.map +1 -0
  7. package/_cjs/{ens.js → ens/index.js} +9 -9
  8. package/_cjs/ens/index.js.map +1 -0
  9. package/_cjs/errors/node.js +11 -11
  10. package/_cjs/errors/node.js.map +1 -1
  11. package/_cjs/errors/rpc.js +18 -18
  12. package/_cjs/errors/rpc.js.map +1 -1
  13. package/_cjs/errors/version.js +1 -1
  14. package/_cjs/{public.js → public/index.js} +29 -29
  15. package/_cjs/public/index.js.map +1 -0
  16. package/_cjs/{test.js → test/index.js} +29 -29
  17. package/_cjs/test/index.js.map +1 -0
  18. package/_cjs/{wallet.js → wallet/index.js} +11 -11
  19. package/_cjs/wallet/index.js.map +1 -0
  20. package/_cjs/{window.js → window/window.js} +1 -1
  21. package/_cjs/window/window.js.map +1 -0
  22. package/_esm/abi/index.js +7 -0
  23. package/_esm/abi/index.js.map +1 -0
  24. package/_esm/chains/utils/index.js +5 -0
  25. package/_esm/chains/utils/index.js.map +1 -0
  26. package/_esm/contract/index.js +26 -0
  27. package/_esm/contract/index.js.map +1 -0
  28. package/_esm/ens/index.js +9 -0
  29. package/_esm/ens/index.js.map +1 -0
  30. package/_esm/errors/node.js +22 -11
  31. package/_esm/errors/node.js.map +1 -1
  32. package/_esm/errors/rpc.js +36 -18
  33. package/_esm/errors/rpc.js.map +1 -1
  34. package/_esm/errors/version.js +1 -1
  35. package/_esm/public/index.js +30 -0
  36. package/_esm/public/index.js.map +1 -0
  37. package/_esm/test/index.js +30 -0
  38. package/_esm/test/index.js.map +1 -0
  39. package/_esm/wallet/index.js +12 -0
  40. package/_esm/wallet/index.js.map +1 -0
  41. package/_esm/window/window.js +2 -0
  42. package/_esm/window/window.js.map +1 -0
  43. package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
  44. package/_types/abi/index.d.ts.map +1 -0
  45. package/_types/chains/definitions/base.d.ts +14 -14
  46. package/_types/chains/definitions/baseGoerli.d.ts +14 -14
  47. package/_types/chains/definitions/celo.d.ts +15 -15
  48. package/_types/chains/definitions/celoAlfajores.d.ts +15 -15
  49. package/_types/chains/definitions/celoCannoli.d.ts +15 -15
  50. package/_types/chains/definitions/optimism.d.ts +14 -14
  51. package/_types/chains/definitions/optimismGoerli.d.ts +14 -14
  52. package/_types/chains/definitions/zora.d.ts +14 -14
  53. package/_types/chains/definitions/zoraTestnet.d.ts +14 -14
  54. package/_types/chains/{utils.d.ts → utils/index.d.ts} +7 -7
  55. package/_types/chains/utils/index.d.ts.map +1 -0
  56. package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
  57. package/_types/contract/index.d.ts.map +1 -0
  58. package/_types/ens/index.d.ts +9 -0
  59. package/_types/ens/index.d.ts.map +1 -0
  60. package/_types/errors/version.d.ts +1 -1
  61. package/_types/public/index.d.ts +33 -0
  62. package/_types/public/index.d.ts.map +1 -0
  63. package/_types/test/index.d.ts +29 -0
  64. package/_types/test/index.d.ts.map +1 -0
  65. package/_types/utils/formatters/transaction.d.ts +1 -1
  66. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  67. package/_types/wallet/index.d.ts +11 -0
  68. package/_types/wallet/index.d.ts.map +1 -0
  69. package/_types/window/window.d.ts +2 -0
  70. package/_types/window/window.d.ts.map +1 -0
  71. package/{abi.ts → abi/index.ts} +15 -13
  72. package/abi/package.json +6 -0
  73. package/accounts/package.json +6 -0
  74. package/actions/package.json +6 -0
  75. package/chains/package.json +6 -0
  76. package/chains/{utils.ts → utils/index.ts} +6 -6
  77. package/chains/utils/package.json +6 -0
  78. package/clients/package.json +6 -0
  79. package/{contract.ts → contract/index.ts} +27 -25
  80. package/contract/package.json +6 -0
  81. package/{ens.ts → ens/index.ts} +8 -8
  82. package/ens/package.json +6 -0
  83. package/errors/version.ts +1 -1
  84. package/package.json +25 -25
  85. package/{public.ts → public/index.ts} +30 -28
  86. package/public/package.json +6 -0
  87. package/test/index.ts +85 -0
  88. package/test/package.json +6 -0
  89. package/utils/package.json +6 -0
  90. package/{wallet.ts → wallet/index.ts} +15 -10
  91. package/wallet/package.json +6 -0
  92. package/window/package.json +6 -0
  93. package/window/window.ts +1 -0
  94. package/CHANGELOG.md +0 -9
  95. package/_cjs/abi.js.map +0 -1
  96. package/_cjs/chains/utils.js.map +0 -1
  97. package/_cjs/contract.js.map +0 -1
  98. package/_cjs/ens.js.map +0 -1
  99. package/_cjs/public.js.map +0 -1
  100. package/_cjs/test.js.map +0 -1
  101. package/_cjs/wallet.js.map +0 -1
  102. package/_cjs/window.js.map +0 -1
  103. package/_esm/abi.js +0 -6
  104. package/_esm/abi.js.map +0 -1
  105. package/_esm/chains/utils.js +0 -5
  106. package/_esm/chains/utils.js.map +0 -1
  107. package/_esm/contract.js +0 -25
  108. package/_esm/contract.js.map +0 -1
  109. package/_esm/ens.js +0 -9
  110. package/_esm/ens.js.map +0 -1
  111. package/_esm/public.js +0 -29
  112. package/_esm/public.js.map +0 -1
  113. package/_esm/test.js +0 -29
  114. package/_esm/test.js.map +0 -1
  115. package/_esm/wallet.js +0 -11
  116. package/_esm/wallet.js.map +0 -1
  117. package/_esm/window.js +0 -2
  118. package/_esm/window.js.map +0 -1
  119. package/_types/abi.d.ts.map +0 -1
  120. package/_types/chains/utils.d.ts.map +0 -1
  121. package/_types/contract.d.ts.map +0 -1
  122. package/_types/ens.d.ts +0 -9
  123. package/_types/ens.d.ts.map +0 -1
  124. package/_types/public.d.ts +0 -33
  125. package/_types/public.d.ts.map +0 -1
  126. package/_types/test.d.ts +0 -29
  127. package/_types/test.d.ts.map +0 -1
  128. package/_types/wallet.d.ts +0 -11
  129. package/_types/wallet.d.ts.map +0 -1
  130. package/_types/window.d.ts +0 -2
  131. package/_types/window.d.ts.map +0 -1
  132. package/test.ts +0 -83
  133. package/window.ts +0 -1
@@ -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("../utils.js").CeloBlockOverrides & {
42
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
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("../utils.js").CeloTransaction[];
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
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("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
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("../utils.js").CeloTransactionRequest>) => ({
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("../utils.js").CeloBlockOverrides & {
42
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
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("../utils.js").CeloTransaction[];
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
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("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
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("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
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("../utils.js").CeloTransactionRequest>) => ({
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;
@@ -31,8 +31,8 @@ export declare const celoCannoli: import("../../types/utils.js").Assign<{
31
31
  }, import("../../types/chain.js").ChainConfig<{
32
32
  readonly block: {
33
33
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
34
- format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
35
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
34
+ format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
35
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
36
36
  }>) => {
37
37
  baseFeePerGas: bigint | null;
38
38
  difficulty: bigint;
@@ -53,7 +53,7 @@ export declare const celoCannoli: import("../../types/utils.js").Assign<{
53
53
  stateRoot: `0x${string}`;
54
54
  timestamp: bigint;
55
55
  totalDifficulty: bigint | null;
56
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
56
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
57
57
  transactionsRoot: `0x${string}`;
58
58
  uncles: `0x${string}`[];
59
59
  randomness: {
@@ -71,45 +71,45 @@ export declare const celoCannoli: import("../../types/utils.js").Assign<{
71
71
  };
72
72
  readonly transaction: {
73
73
  exclude: [] | undefined;
74
- format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
74
+ 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"> & {
75
75
  feeCurrency: `0x${string}` | null;
76
76
  gatewayFee: `0x${string}` | null;
77
77
  gatewayFeeRecipient: `0x${string}` | null;
78
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
78
+ }) | (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}`> & {
79
79
  feeCurrency: `0x${string}` | null;
80
80
  gatewayFee: `0x${string}` | null;
81
81
  gatewayFeeRecipient: `0x${string}` | null;
82
82
  type: "0x7c";
83
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
83
+ }) | (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"> & {
84
84
  feeCurrency: `0x${string}` | null;
85
85
  gatewayFee: `0x${string}` | null;
86
86
  gatewayFeeRecipient: `0x${string}` | null;
87
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
87
+ }) | (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"> & {
88
88
  feeCurrency: `0x${string}` | null;
89
89
  gatewayFee: `0x${string}` | null;
90
90
  gatewayFeeRecipient: `0x${string}` | null;
91
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
91
+ }) | (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"> & {
92
92
  feeCurrency: `0x${string}` | null;
93
93
  gatewayFee: `0x${string}` | null;
94
94
  gatewayFeeRecipient: `0x${string}` | null;
95
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
95
+ }) | (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}`> & {
96
96
  feeCurrency: `0x${string}` | null;
97
97
  gatewayFee: `0x${string}` | null;
98
98
  gatewayFeeRecipient: `0x${string}` | null;
99
99
  type: "0x7c";
100
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
100
+ }) | (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"> & {
101
101
  feeCurrency: `0x${string}` | null;
102
102
  gatewayFee: `0x${string}` | null;
103
103
  gatewayFeeRecipient: `0x${string}` | null;
104
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
104
+ }) | (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"> & {
105
105
  feeCurrency: `0x${string}` | null;
106
106
  gatewayFee: `0x${string}` | null;
107
107
  gatewayFeeRecipient: `0x${string}` | null;
108
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
108
+ }) | (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"> & {
109
109
  feeCurrency: `0x${string}` | null;
110
110
  gatewayFee: `0x${string}` | null;
111
111
  gatewayFeeRecipient: `0x${string}` | null;
112
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
112
+ }) | (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}`> & {
113
113
  feeCurrency: `0x${string}` | null;
114
114
  gatewayFee: `0x${string}` | null;
115
115
  gatewayFeeRecipient: `0x${string}` | null;
@@ -311,7 +311,7 @@ export declare const celoCannoli: import("../../types/utils.js").Assign<{
311
311
  };
312
312
  readonly transactionReceipt: {
313
313
  exclude: [] | undefined;
314
- format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
314
+ format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
315
315
  blockHash: `0x${string}`;
316
316
  blockNumber: bigint;
317
317
  contractAddress: `0x${string}` | null;
@@ -334,7 +334,7 @@ export declare const celoCannoli: import("../../types/utils.js").Assign<{
334
334
  };
335
335
  readonly transactionRequest: {
336
336
  exclude: [] | undefined;
337
- format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
337
+ format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
338
338
  data?: `0x${string}` | undefined;
339
339
  from: `0x${string}`;
340
340
  gas?: `0x${string}` | undefined;
@@ -42,8 +42,8 @@ export declare const optimism: 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("../utils.js").OptimismRpcBlockOverrides & {
46
- transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
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 optimism: import("../../types/utils.js").Assign<{
64
64
  stateRoot: `0x${string}`;
65
65
  timestamp: bigint;
66
66
  totalDifficulty: bigint | null;
67
- transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
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 optimism: 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("../utils.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("../../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("../utils.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("../../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("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
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("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
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("../utils.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("../../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("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
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("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
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("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
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("../utils.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("../../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 optimism: 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("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
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;
@@ -43,8 +43,8 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
43
43
  }, import("../../types/chain.js").ChainConfig<{
44
44
  readonly block: {
45
45
  exclude: [] | undefined;
46
- format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
47
- transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
46
+ format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../optimism/types.js").OptimismRpcBlockOverrides & {
47
+ transactions: `0x${string}`[] | import("../optimism/types.js").OptimismRpcTransaction[];
48
48
  }>) => {
49
49
  baseFeePerGas: bigint | null;
50
50
  difficulty: bigint;
@@ -65,7 +65,7 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
65
65
  stateRoot: `0x${string}`;
66
66
  timestamp: bigint;
67
67
  totalDifficulty: bigint | null;
68
- transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
68
+ transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
69
69
  transactionsRoot: `0x${string}`;
70
70
  uncles: `0x${string}`[];
71
71
  } & {};
@@ -73,45 +73,45 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
73
73
  };
74
74
  readonly transaction: {
75
75
  exclude: [] | undefined;
76
- format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
76
+ 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"> & {
77
77
  isSystemTx?: undefined;
78
78
  mint?: undefined;
79
79
  sourceHash?: undefined;
80
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
80
+ }) | (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}`> & {
81
81
  isSystemTx?: boolean | undefined;
82
82
  mint?: `0x${string}` | undefined;
83
83
  sourceHash: `0x${string}`;
84
84
  type: "0x7e";
85
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
85
+ }) | (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"> & {
86
86
  isSystemTx?: undefined;
87
87
  mint?: undefined;
88
88
  sourceHash?: undefined;
89
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
89
+ }) | (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"> & {
90
90
  isSystemTx?: undefined;
91
91
  mint?: undefined;
92
92
  sourceHash?: undefined;
93
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
93
+ }) | (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"> & {
94
94
  isSystemTx?: undefined;
95
95
  mint?: undefined;
96
96
  sourceHash?: undefined;
97
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & 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("../../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}`> & {
98
98
  isSystemTx?: boolean | undefined;
99
99
  mint?: `0x${string}` | undefined;
100
100
  sourceHash: `0x${string}`;
101
101
  type: "0x7e";
102
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
102
+ }) | (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"> & {
103
103
  isSystemTx?: undefined;
104
104
  mint?: undefined;
105
105
  sourceHash?: undefined;
106
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
106
+ }) | (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"> & {
107
107
  isSystemTx?: undefined;
108
108
  mint?: undefined;
109
109
  sourceHash?: undefined;
110
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
110
+ }) | (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"> & {
111
111
  isSystemTx?: undefined;
112
112
  mint?: undefined;
113
113
  sourceHash?: undefined;
114
- }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../utils.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
114
+ }) | (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}`> & {
115
115
  isSystemTx?: boolean | undefined;
116
116
  mint?: `0x${string}` | undefined;
117
117
  sourceHash: `0x${string}`;
@@ -313,7 +313,7 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
313
313
  };
314
314
  readonly transactionReceipt: {
315
315
  exclude: [] | undefined;
316
- format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
316
+ format: (args: import("../../types/utils.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
317
317
  blockHash: `0x${string}`;
318
318
  blockNumber: bigint;
319
319
  contractAddress: `0x${string}` | null;