@folks-finance/xchain-sdk 0.0.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.
Files changed (346) hide show
  1. package/README.md +1 -0
  2. package/dist/chains/evm/common/constants/abi/ccip-data-adapter-abi.d.ts +796 -0
  3. package/dist/chains/evm/common/constants/abi/ccip-data-adapter-abi.js +614 -0
  4. package/dist/chains/evm/common/constants/abi/ccip-data-adapter-abi.js.map +1 -0
  5. package/dist/chains/evm/common/constants/abi/erc-20-abi.d.ts +235 -0
  6. package/dist/chains/evm/common/constants/abi/erc-20-abi.js +157 -0
  7. package/dist/chains/evm/common/constants/abi/erc-20-abi.js.map +1 -0
  8. package/dist/chains/evm/common/constants/abi/wormhole-data-adapter-abi.d.ts +807 -0
  9. package/dist/chains/evm/common/constants/abi/wormhole-data-adapter-abi.js +621 -0
  10. package/dist/chains/evm/common/constants/abi/wormhole-data-adapter-abi.js.map +1 -0
  11. package/dist/chains/evm/common/constants/chain.d.ts +2349 -0
  12. package/dist/chains/evm/common/constants/chain.js +45 -0
  13. package/dist/chains/evm/common/constants/chain.js.map +1 -0
  14. package/dist/chains/evm/common/constants/contract.d.ts +2 -0
  15. package/dist/chains/evm/common/constants/contract.js +6 -0
  16. package/dist/chains/evm/common/constants/contract.js.map +1 -0
  17. package/dist/chains/evm/common/constants/tokens.d.ts +6 -0
  18. package/dist/chains/evm/common/constants/tokens.js +33 -0
  19. package/dist/chains/evm/common/constants/tokens.js.map +1 -0
  20. package/dist/chains/evm/common/types/chain.d.ts +10 -0
  21. package/dist/chains/evm/common/types/chain.js +2 -0
  22. package/dist/chains/evm/common/types/chain.js.map +1 -0
  23. package/dist/chains/evm/common/types/contract.d.ts +8 -0
  24. package/dist/chains/evm/common/types/contract.js +2 -0
  25. package/dist/chains/evm/common/types/contract.js.map +1 -0
  26. package/dist/chains/evm/common/types/gmp.d.ts +14 -0
  27. package/dist/chains/evm/common/types/gmp.js +2 -0
  28. package/dist/chains/evm/common/types/gmp.js.map +1 -0
  29. package/dist/chains/evm/common/types/index.d.ts +3 -0
  30. package/dist/chains/evm/common/types/index.js +4 -0
  31. package/dist/chains/evm/common/types/index.js.map +1 -0
  32. package/dist/chains/evm/common/types/module.d.ts +66 -0
  33. package/dist/chains/evm/common/types/module.js +2 -0
  34. package/dist/chains/evm/common/types/module.js.map +1 -0
  35. package/dist/chains/evm/common/types/tokens.d.ts +28 -0
  36. package/dist/chains/evm/common/types/tokens.js +2 -0
  37. package/dist/chains/evm/common/types/tokens.js.map +1 -0
  38. package/dist/chains/evm/common/utils/chain.d.ts +6 -0
  39. package/dist/chains/evm/common/utils/chain.js +16 -0
  40. package/dist/chains/evm/common/utils/chain.js.map +1 -0
  41. package/dist/chains/evm/common/utils/contract.d.ts +6006 -0
  42. package/dist/chains/evm/common/utils/contract.js +54 -0
  43. package/dist/chains/evm/common/utils/contract.js.map +1 -0
  44. package/dist/chains/evm/common/utils/gmp.d.ts +4 -0
  45. package/dist/chains/evm/common/utils/gmp.js +13 -0
  46. package/dist/chains/evm/common/utils/gmp.js.map +1 -0
  47. package/dist/chains/evm/common/utils/message.d.ts +22 -0
  48. package/dist/chains/evm/common/utils/message.js +398 -0
  49. package/dist/chains/evm/common/utils/message.js.map +1 -0
  50. package/dist/chains/evm/common/utils/provider.d.ts +5 -0
  51. package/dist/chains/evm/common/utils/provider.js +24 -0
  52. package/dist/chains/evm/common/utils/provider.js.map +1 -0
  53. package/dist/chains/evm/common/utils/tokens.d.ts +10 -0
  54. package/dist/chains/evm/common/utils/tokens.js +37 -0
  55. package/dist/chains/evm/common/utils/tokens.js.map +1 -0
  56. package/dist/chains/evm/hub/constants/abi/account-manager-abi.d.ts +907 -0
  57. package/dist/chains/evm/hub/constants/abi/account-manager-abi.js +686 -0
  58. package/dist/chains/evm/hub/constants/abi/account-manager-abi.js.map +1 -0
  59. package/dist/chains/evm/hub/constants/abi/bridge-router-hub-abi.d.ts +969 -0
  60. package/dist/chains/evm/hub/constants/abi/bridge-router-hub-abi.js +764 -0
  61. package/dist/chains/evm/hub/constants/abi/bridge-router-hub-abi.js.map +1 -0
  62. package/dist/chains/evm/hub/constants/abi/hub-abi.d.ts +285 -0
  63. package/dist/chains/evm/hub/constants/abi/hub-abi.js +187 -0
  64. package/dist/chains/evm/hub/constants/abi/hub-abi.js.map +1 -0
  65. package/dist/chains/evm/hub/constants/abi/hub-pool-abi.d.ts +1742 -0
  66. package/dist/chains/evm/hub/constants/abi/hub-pool-abi.js +1346 -0
  67. package/dist/chains/evm/hub/constants/abi/hub-pool-abi.js.map +1 -0
  68. package/dist/chains/evm/hub/constants/abi/loan-manager-abi.d.ts +1559 -0
  69. package/dist/chains/evm/hub/constants/abi/loan-manager-abi.js +1040 -0
  70. package/dist/chains/evm/hub/constants/abi/loan-manager-abi.js.map +1 -0
  71. package/dist/chains/evm/hub/constants/abi/oracle-manager-abi.d.ts +495 -0
  72. package/dist/chains/evm/hub/constants/abi/oracle-manager-abi.js +389 -0
  73. package/dist/chains/evm/hub/constants/abi/oracle-manager-abi.js.map +1 -0
  74. package/dist/chains/evm/hub/constants/chain.d.ts +3 -0
  75. package/dist/chains/evm/hub/constants/chain.js +96 -0
  76. package/dist/chains/evm/hub/constants/chain.js.map +1 -0
  77. package/dist/chains/evm/hub/modules/folks-hub-account.d.ts +15 -0
  78. package/dist/chains/evm/hub/modules/folks-hub-account.js +98 -0
  79. package/dist/chains/evm/hub/modules/folks-hub-account.js.map +1 -0
  80. package/dist/chains/evm/hub/modules/folks-hub-gmp.d.ts +14 -0
  81. package/dist/chains/evm/hub/modules/folks-hub-gmp.js +57 -0
  82. package/dist/chains/evm/hub/modules/folks-hub-gmp.js.map +1 -0
  83. package/dist/chains/evm/hub/modules/folks-hub-loan.d.ts +25 -0
  84. package/dist/chains/evm/hub/modules/folks-hub-loan.js +397 -0
  85. package/dist/chains/evm/hub/modules/folks-hub-loan.js.map +1 -0
  86. package/dist/chains/evm/hub/modules/folks-hub-oracle.d.ts +5 -0
  87. package/dist/chains/evm/hub/modules/folks-hub-oracle.js +24 -0
  88. package/dist/chains/evm/hub/modules/folks-hub-oracle.js.map +1 -0
  89. package/dist/chains/evm/hub/modules/folks-hub-pool.d.ts +5 -0
  90. package/dist/chains/evm/hub/modules/folks-hub-pool.js +114 -0
  91. package/dist/chains/evm/hub/modules/folks-hub-pool.js.map +1 -0
  92. package/dist/chains/evm/hub/modules/index.d.ts +5 -0
  93. package/dist/chains/evm/hub/modules/index.js +6 -0
  94. package/dist/chains/evm/hub/modules/index.js.map +1 -0
  95. package/dist/chains/evm/hub/types/account.d.ts +23 -0
  96. package/dist/chains/evm/hub/types/account.js +2 -0
  97. package/dist/chains/evm/hub/types/account.js.map +1 -0
  98. package/dist/chains/evm/hub/types/chain.d.ts +15 -0
  99. package/dist/chains/evm/hub/types/chain.js +2 -0
  100. package/dist/chains/evm/hub/types/chain.js.map +1 -0
  101. package/dist/chains/evm/hub/types/loan.d.ts +126 -0
  102. package/dist/chains/evm/hub/types/loan.js +9 -0
  103. package/dist/chains/evm/hub/types/loan.js.map +1 -0
  104. package/dist/chains/evm/hub/types/oracle.d.ts +4 -0
  105. package/dist/chains/evm/hub/types/oracle.js +2 -0
  106. package/dist/chains/evm/hub/types/oracle.js.map +1 -0
  107. package/dist/chains/evm/hub/types/pool.d.ts +60 -0
  108. package/dist/chains/evm/hub/types/pool.js +2 -0
  109. package/dist/chains/evm/hub/types/pool.js.map +1 -0
  110. package/dist/chains/evm/hub/types/token.d.ts +9 -0
  111. package/dist/chains/evm/hub/types/token.js +2 -0
  112. package/dist/chains/evm/hub/types/token.js.map +1 -0
  113. package/dist/chains/evm/hub/utils/chain.d.ts +13 -0
  114. package/dist/chains/evm/hub/utils/chain.js +29 -0
  115. package/dist/chains/evm/hub/utils/chain.js.map +1 -0
  116. package/dist/chains/evm/hub/utils/contract.d.ts +17 -0
  117. package/dist/chains/evm/hub/utils/contract.js +52 -0
  118. package/dist/chains/evm/hub/utils/contract.js.map +1 -0
  119. package/dist/chains/evm/hub/utils/events.d.ts +24 -0
  120. package/dist/chains/evm/hub/utils/events.js +97 -0
  121. package/dist/chains/evm/hub/utils/events.js.map +1 -0
  122. package/dist/chains/evm/hub/utils/loan.d.ts +4 -0
  123. package/dist/chains/evm/hub/utils/loan.js +36 -0
  124. package/dist/chains/evm/hub/utils/loan.js.map +1 -0
  125. package/dist/chains/evm/spoke/constants/abi/bridge-router-spoke-abi.d.ts +951 -0
  126. package/dist/chains/evm/spoke/constants/abi/bridge-router-spoke-abi.js +754 -0
  127. package/dist/chains/evm/spoke/constants/abi/bridge-router-spoke-abi.js.map +1 -0
  128. package/dist/chains/evm/spoke/constants/abi/spoke-common-abi.d.ts +1101 -0
  129. package/dist/chains/evm/spoke/constants/abi/spoke-common-abi.js +710 -0
  130. package/dist/chains/evm/spoke/constants/abi/spoke-common-abi.js.map +1 -0
  131. package/dist/chains/evm/spoke/constants/abi/spoke-token-abi.d.ts +882 -0
  132. package/dist/chains/evm/spoke/constants/abi/spoke-token-abi.js +643 -0
  133. package/dist/chains/evm/spoke/constants/abi/spoke-token-abi.js.map +1 -0
  134. package/dist/chains/evm/spoke/modules/folks-evm-account.d.ts +18 -0
  135. package/dist/chains/evm/spoke/modules/folks-evm-account.js +119 -0
  136. package/dist/chains/evm/spoke/modules/folks-evm-account.js.map +1 -0
  137. package/dist/chains/evm/spoke/modules/folks-evm-gmp.d.ts +14 -0
  138. package/dist/chains/evm/spoke/modules/folks-evm-gmp.js +57 -0
  139. package/dist/chains/evm/spoke/modules/folks-evm-gmp.js.map +1 -0
  140. package/dist/chains/evm/spoke/modules/folks-evm-loan.d.ts +39 -0
  141. package/dist/chains/evm/spoke/modules/folks-evm-loan.js +396 -0
  142. package/dist/chains/evm/spoke/modules/folks-evm-loan.js.map +1 -0
  143. package/dist/chains/evm/spoke/modules/index.d.ts +3 -0
  144. package/dist/chains/evm/spoke/modules/index.js +4 -0
  145. package/dist/chains/evm/spoke/modules/index.js.map +1 -0
  146. package/dist/chains/evm/spoke/types/pool.d.ts +7 -0
  147. package/dist/chains/evm/spoke/types/pool.js +2 -0
  148. package/dist/chains/evm/spoke/types/pool.js.map +1 -0
  149. package/dist/chains/evm/spoke/utils/contract.d.ts +12 -0
  150. package/dist/chains/evm/spoke/utils/contract.js +28 -0
  151. package/dist/chains/evm/spoke/utils/contract.js.map +1 -0
  152. package/dist/common/constants/adapter.d.ts +4 -0
  153. package/dist/common/constants/adapter.js +5 -0
  154. package/dist/common/constants/adapter.js.map +1 -0
  155. package/dist/common/constants/bytes.d.ts +5 -0
  156. package/dist/common/constants/bytes.js +6 -0
  157. package/dist/common/constants/bytes.js.map +1 -0
  158. package/dist/common/constants/chain.d.ts +15 -0
  159. package/dist/common/constants/chain.js +152 -0
  160. package/dist/common/constants/chain.js.map +1 -0
  161. package/dist/common/constants/gmp.d.ts +4 -0
  162. package/dist/common/constants/gmp.js +32 -0
  163. package/dist/common/constants/gmp.js.map +1 -0
  164. package/dist/common/constants/lending.d.ts +1 -0
  165. package/dist/common/constants/lending.js +3 -0
  166. package/dist/common/constants/lending.js.map +1 -0
  167. package/dist/common/constants/message.d.ts +4 -0
  168. package/dist/common/constants/message.js +5 -0
  169. package/dist/common/constants/message.js.map +1 -0
  170. package/dist/common/constants/pool.d.ts +8 -0
  171. package/dist/common/constants/pool.js +10 -0
  172. package/dist/common/constants/pool.js.map +1 -0
  173. package/dist/common/constants/token.d.ts +2 -0
  174. package/dist/common/constants/token.js +3 -0
  175. package/dist/common/constants/token.js.map +1 -0
  176. package/dist/common/types/adapter.d.ts +30 -0
  177. package/dist/common/types/adapter.js +7 -0
  178. package/dist/common/types/adapter.js.map +1 -0
  179. package/dist/common/types/address.d.ts +9 -0
  180. package/dist/common/types/address.js +2 -0
  181. package/dist/common/types/address.js.map +1 -0
  182. package/dist/common/types/brand.d.ts +6 -0
  183. package/dist/common/types/brand.js +2 -0
  184. package/dist/common/types/brand.js.map +1 -0
  185. package/dist/common/types/chain.d.ts +29 -0
  186. package/dist/common/types/chain.js +10 -0
  187. package/dist/common/types/chain.js.map +1 -0
  188. package/dist/common/types/core.d.ts +28 -0
  189. package/dist/common/types/core.js +2 -0
  190. package/dist/common/types/core.js.map +1 -0
  191. package/dist/common/types/gmp.d.ts +17 -0
  192. package/dist/common/types/gmp.js +6 -0
  193. package/dist/common/types/gmp.js.map +1 -0
  194. package/dist/common/types/lending.d.ts +4 -0
  195. package/dist/common/types/lending.js +2 -0
  196. package/dist/common/types/lending.js.map +1 -0
  197. package/dist/common/types/message.d.ts +239 -0
  198. package/dist/common/types/message.js +33 -0
  199. package/dist/common/types/message.js.map +1 -0
  200. package/dist/common/types/module.d.ts +21 -0
  201. package/dist/common/types/module.js +6 -0
  202. package/dist/common/types/module.js.map +1 -0
  203. package/dist/common/types/token.d.ts +42 -0
  204. package/dist/common/types/token.js +15 -0
  205. package/dist/common/types/token.js.map +1 -0
  206. package/dist/common/utils/adapter.d.ts +11 -0
  207. package/dist/common/utils/adapter.js +63 -0
  208. package/dist/common/utils/adapter.js.map +1 -0
  209. package/dist/common/utils/address.d.ts +8 -0
  210. package/dist/common/utils/address.js +35 -0
  211. package/dist/common/utils/address.js.map +1 -0
  212. package/dist/common/utils/bytes.d.ts +9 -0
  213. package/dist/common/utils/bytes.js +34 -0
  214. package/dist/common/utils/bytes.js.map +1 -0
  215. package/dist/common/utils/chain.d.ts +19 -0
  216. package/dist/common/utils/chain.js +74 -0
  217. package/dist/common/utils/chain.js.map +1 -0
  218. package/dist/common/utils/formulae.d.ts +15 -0
  219. package/dist/common/utils/formulae.js +77 -0
  220. package/dist/common/utils/formulae.js.map +1 -0
  221. package/dist/common/utils/gmp.d.ts +4 -0
  222. package/dist/common/utils/gmp.js +14 -0
  223. package/dist/common/utils/gmp.js.map +1 -0
  224. package/dist/common/utils/math-lib.d.ts +9 -0
  225. package/dist/common/utils/math-lib.js +38 -0
  226. package/dist/common/utils/math-lib.js.map +1 -0
  227. package/dist/common/utils/messages.d.ts +7 -0
  228. package/dist/common/utils/messages.js +93 -0
  229. package/dist/common/utils/messages.js.map +1 -0
  230. package/dist/common/utils/token.d.ts +2 -0
  231. package/dist/common/utils/token.js +5 -0
  232. package/dist/common/utils/token.js.map +1 -0
  233. package/dist/index.d.ts +30 -0
  234. package/dist/index.js +38 -0
  235. package/dist/index.js.map +1 -0
  236. package/dist/utils/exhaustive-check.d.ts +1 -0
  237. package/dist/utils/exhaustive-check.js +4 -0
  238. package/dist/utils/exhaustive-check.js.map +1 -0
  239. package/dist/xchain/core/folks-core.d.ts +24 -0
  240. package/dist/xchain/core/folks-core.js +100 -0
  241. package/dist/xchain/core/folks-core.js.map +1 -0
  242. package/dist/xchain/modules/folks-account.d.ts +30 -0
  243. package/dist/xchain/modules/folks-account.js +205 -0
  244. package/dist/xchain/modules/folks-account.js.map +1 -0
  245. package/dist/xchain/modules/folks-gmp.d.ts +12 -0
  246. package/dist/xchain/modules/folks-gmp.js +53 -0
  247. package/dist/xchain/modules/folks-gmp.js.map +1 -0
  248. package/dist/xchain/modules/folks-loan.d.ts +68 -0
  249. package/dist/xchain/modules/folks-loan.js +598 -0
  250. package/dist/xchain/modules/folks-loan.js.map +1 -0
  251. package/dist/xchain/modules/folks-oracle.d.ts +4 -0
  252. package/dist/xchain/modules/folks-oracle.js +11 -0
  253. package/dist/xchain/modules/folks-oracle.js.map +1 -0
  254. package/dist/xchain/modules/folks-pool.d.ts +5 -0
  255. package/dist/xchain/modules/folks-pool.js +8 -0
  256. package/dist/xchain/modules/folks-pool.js.map +1 -0
  257. package/dist/xchain/modules/index.d.ts +5 -0
  258. package/dist/xchain/modules/index.js +6 -0
  259. package/dist/xchain/modules/index.js.map +1 -0
  260. package/package.json +79 -0
  261. package/src/chains/evm/common/constants/abi/ccip-data-adapter-abi.ts +613 -0
  262. package/src/chains/evm/common/constants/abi/erc-20-abi.ts +156 -0
  263. package/src/chains/evm/common/constants/abi/wormhole-data-adapter-abi.ts +620 -0
  264. package/src/chains/evm/common/constants/chain.ts +56 -0
  265. package/src/chains/evm/common/constants/contract.ts +7 -0
  266. package/src/chains/evm/common/constants/tokens.ts +39 -0
  267. package/src/chains/evm/common/types/chain.ts +23 -0
  268. package/src/chains/evm/common/types/contract.ts +7 -0
  269. package/src/chains/evm/common/types/gmp.ts +15 -0
  270. package/src/chains/evm/common/types/index.ts +3 -0
  271. package/src/chains/evm/common/types/module.ts +85 -0
  272. package/src/chains/evm/common/types/tokens.ts +31 -0
  273. package/src/chains/evm/common/utils/chain.ts +20 -0
  274. package/src/chains/evm/common/utils/contract.ts +84 -0
  275. package/src/chains/evm/common/utils/gmp.ts +24 -0
  276. package/src/chains/evm/common/utils/message.ts +496 -0
  277. package/src/chains/evm/common/utils/provider.ts +32 -0
  278. package/src/chains/evm/common/utils/tokens.ts +52 -0
  279. package/src/chains/evm/hub/constants/abi/account-manager-abi.ts +685 -0
  280. package/src/chains/evm/hub/constants/abi/bridge-router-hub-abi.ts +763 -0
  281. package/src/chains/evm/hub/constants/abi/hub-abi.ts +186 -0
  282. package/src/chains/evm/hub/constants/abi/hub-pool-abi.ts +1345 -0
  283. package/src/chains/evm/hub/constants/abi/loan-manager-abi.ts +1039 -0
  284. package/src/chains/evm/hub/constants/abi/oracle-manager-abi.ts +388 -0
  285. package/src/chains/evm/hub/constants/chain.ts +130 -0
  286. package/src/chains/evm/hub/modules/folks-hub-account.ts +137 -0
  287. package/src/chains/evm/hub/modules/folks-hub-gmp.ts +105 -0
  288. package/src/chains/evm/hub/modules/folks-hub-loan.ts +603 -0
  289. package/src/chains/evm/hub/modules/folks-hub-oracle.ts +38 -0
  290. package/src/chains/evm/hub/modules/folks-hub-pool.ts +171 -0
  291. package/src/chains/evm/hub/modules/index.ts +5 -0
  292. package/src/chains/evm/hub/types/account.ts +27 -0
  293. package/src/chains/evm/hub/types/chain.ts +16 -0
  294. package/src/chains/evm/hub/types/loan.ts +147 -0
  295. package/src/chains/evm/hub/types/oracle.ts +6 -0
  296. package/src/chains/evm/hub/types/pool.ts +66 -0
  297. package/src/chains/evm/hub/types/token.ts +10 -0
  298. package/src/chains/evm/hub/utils/chain.ts +41 -0
  299. package/src/chains/evm/hub/utils/contract.ts +98 -0
  300. package/src/chains/evm/hub/utils/events.ts +112 -0
  301. package/src/chains/evm/hub/utils/loan.ts +60 -0
  302. package/src/chains/evm/spoke/constants/abi/bridge-router-spoke-abi.ts +753 -0
  303. package/src/chains/evm/spoke/constants/abi/spoke-common-abi.ts +709 -0
  304. package/src/chains/evm/spoke/constants/abi/spoke-token-abi.ts +642 -0
  305. package/src/chains/evm/spoke/modules/folks-evm-account.ts +228 -0
  306. package/src/chains/evm/spoke/modules/folks-evm-gmp.ts +105 -0
  307. package/src/chains/evm/spoke/modules/folks-evm-loan.ts +721 -0
  308. package/src/chains/evm/spoke/modules/index.ts +3 -0
  309. package/src/chains/evm/spoke/types/pool.ts +7 -0
  310. package/src/chains/evm/spoke/utils/contract.ts +74 -0
  311. package/src/common/constants/adapter.ts +5 -0
  312. package/src/common/constants/bytes.ts +6 -0
  313. package/src/common/constants/chain.ts +227 -0
  314. package/src/common/constants/gmp.ts +38 -0
  315. package/src/common/constants/lending.ts +3 -0
  316. package/src/common/constants/message.ts +4 -0
  317. package/src/common/constants/pool.ts +11 -0
  318. package/src/common/constants/token.ts +3 -0
  319. package/src/common/types/adapter.ts +38 -0
  320. package/src/common/types/address.ts +11 -0
  321. package/src/common/types/brand.ts +3 -0
  322. package/src/common/types/chain.ts +35 -0
  323. package/src/common/types/core.ts +31 -0
  324. package/src/common/types/gmp.ts +22 -0
  325. package/src/common/types/lending.ts +5 -0
  326. package/src/common/types/message.ts +330 -0
  327. package/src/common/types/module.ts +42 -0
  328. package/src/common/types/token.ts +50 -0
  329. package/src/common/utils/adapter.ts +75 -0
  330. package/src/common/utils/address.ts +49 -0
  331. package/src/common/utils/bytes.ts +46 -0
  332. package/src/common/utils/chain.ts +103 -0
  333. package/src/common/utils/formulae.ts +124 -0
  334. package/src/common/utils/gmp.ts +16 -0
  335. package/src/common/utils/math-lib.ts +46 -0
  336. package/src/common/utils/messages.ts +192 -0
  337. package/src/common/utils/token.ts +7 -0
  338. package/src/index.ts +47 -0
  339. package/src/utils/exhaustive-check.ts +3 -0
  340. package/src/xchain/core/folks-core.ts +128 -0
  341. package/src/xchain/modules/folks-account.ts +385 -0
  342. package/src/xchain/modules/folks-gmp.ts +129 -0
  343. package/src/xchain/modules/folks-loan.ts +1175 -0
  344. package/src/xchain/modules/folks-oracle.ts +15 -0
  345. package/src/xchain/modules/folks-pool.ts +11 -0
  346. package/src/xchain/modules/index.ts +5 -0
@@ -0,0 +1,2349 @@
1
+ export declare const MAINNET_EVM_CHAIN_NAMES: readonly [];
2
+ export declare const TESTNET_EVM_CHAIN_NAMES: readonly ["AVALANCHE_FUJI", "ETHEREUM_SEPOLIA", "BASE_SEPOLIA"];
3
+ export declare const EVM_CHAIN_NAMES: readonly ["AVALANCHE_FUJI", "ETHEREUM_SEPOLIA", "BASE_SEPOLIA"];
4
+ export declare const MAINNET_EVM_CHAIN_ID: {};
5
+ export declare const TESTNET_EVM_CHAIN_ID: {
6
+ readonly AVALANCHE_FUJI: 43113;
7
+ readonly ETHEREUM_SEPOLIA: 11155111;
8
+ readonly BASE_SEPOLIA: 84532;
9
+ };
10
+ export declare const EVM_CHAIN_ID: {
11
+ readonly AVALANCHE_FUJI: 43113;
12
+ readonly ETHEREUM_SEPOLIA: 11155111;
13
+ readonly BASE_SEPOLIA: 84532;
14
+ };
15
+ export declare const MAINNET_EVM_FOLKS_CHAIN_ID: {};
16
+ export declare const TESTNET_EVM_FOLKS_CHAIN_ID: {
17
+ readonly AVALANCHE_FUJI: 1;
18
+ readonly ETHEREUM_SEPOLIA: 6;
19
+ readonly BASE_SEPOLIA: 7;
20
+ };
21
+ export declare const EVM_FOLKS_CHAIN_ID: {
22
+ readonly AVALANCHE_FUJI: 1;
23
+ readonly ETHEREUM_SEPOLIA: 6;
24
+ readonly BASE_SEPOLIA: 7;
25
+ };
26
+ export declare const MAINNET_CHAIN_VIEM: {};
27
+ export declare const TESTNET_CHAIN_VIEM: {
28
+ readonly 1: {
29
+ blockExplorers: {
30
+ readonly default: {
31
+ readonly name: "SnowTrace";
32
+ readonly url: "https://testnet.snowtrace.io";
33
+ readonly apiUrl: "https://api-testnet.snowtrace.io";
34
+ };
35
+ };
36
+ contracts: {
37
+ readonly multicall3: {
38
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
39
+ readonly blockCreated: 7096959;
40
+ };
41
+ };
42
+ id: 43113;
43
+ name: "Avalanche Fuji";
44
+ nativeCurrency: {
45
+ readonly decimals: 18;
46
+ readonly name: "Avalanche Fuji";
47
+ readonly symbol: "AVAX";
48
+ };
49
+ rpcUrls: {
50
+ readonly default: {
51
+ readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
52
+ };
53
+ };
54
+ sourceId?: number | undefined;
55
+ testnet: true;
56
+ custom?: Record<string, unknown> | undefined;
57
+ formatters?: undefined;
58
+ serializers?: import("viem").ChainSerializers<undefined> | undefined;
59
+ fees?: import("viem").ChainFees<undefined> | undefined;
60
+ };
61
+ readonly 6: {
62
+ blockExplorers: {
63
+ readonly default: {
64
+ readonly name: "Etherscan";
65
+ readonly url: "https://sepolia.etherscan.io";
66
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
67
+ };
68
+ };
69
+ contracts: {
70
+ readonly multicall3: {
71
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
72
+ readonly blockCreated: 751532;
73
+ };
74
+ readonly ensRegistry: {
75
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
76
+ };
77
+ readonly ensUniversalResolver: {
78
+ readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
79
+ readonly blockCreated: 5317080;
80
+ };
81
+ };
82
+ id: 11155111;
83
+ name: "Sepolia";
84
+ nativeCurrency: {
85
+ readonly name: "Sepolia Ether";
86
+ readonly symbol: "ETH";
87
+ readonly decimals: 18;
88
+ };
89
+ rpcUrls: {
90
+ readonly default: {
91
+ readonly http: readonly ["https://rpc.sepolia.org"];
92
+ };
93
+ };
94
+ sourceId?: number | undefined;
95
+ testnet: true;
96
+ custom?: Record<string, unknown> | undefined;
97
+ formatters?: undefined;
98
+ serializers?: import("viem").ChainSerializers<undefined> | undefined;
99
+ fees?: import("viem").ChainFees<undefined> | undefined;
100
+ };
101
+ readonly 7: {
102
+ blockExplorers: {
103
+ readonly default: {
104
+ readonly name: "Basescan";
105
+ readonly url: "https://sepolia.basescan.org";
106
+ readonly apiUrl: "https://api-sepolia.basescan.org/api";
107
+ };
108
+ };
109
+ contracts: {
110
+ readonly l2OutputOracle: {
111
+ readonly 11155111: {
112
+ readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
113
+ };
114
+ };
115
+ readonly portal: {
116
+ readonly 11155111: {
117
+ readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
118
+ readonly blockCreated: 4446677;
119
+ };
120
+ };
121
+ readonly l1StandardBridge: {
122
+ readonly 11155111: {
123
+ readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
124
+ readonly blockCreated: 4446677;
125
+ };
126
+ };
127
+ readonly multicall3: {
128
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
129
+ readonly blockCreated: 1059647;
130
+ };
131
+ readonly gasPriceOracle: {
132
+ readonly address: "0x420000000000000000000000000000000000000F";
133
+ };
134
+ readonly l1Block: {
135
+ readonly address: "0x4200000000000000000000000000000000000015";
136
+ };
137
+ readonly l2CrossDomainMessenger: {
138
+ readonly address: "0x4200000000000000000000000000000000000007";
139
+ };
140
+ readonly l2Erc721Bridge: {
141
+ readonly address: "0x4200000000000000000000000000000000000014";
142
+ };
143
+ readonly l2StandardBridge: {
144
+ readonly address: "0x4200000000000000000000000000000000000010";
145
+ };
146
+ readonly l2ToL1MessagePasser: {
147
+ readonly address: "0x4200000000000000000000000000000000000016";
148
+ };
149
+ };
150
+ id: 84532;
151
+ name: "Base Sepolia";
152
+ nativeCurrency: {
153
+ readonly name: "Sepolia Ether";
154
+ readonly symbol: "ETH";
155
+ readonly decimals: 18;
156
+ };
157
+ rpcUrls: {
158
+ readonly default: {
159
+ readonly http: readonly ["https://sepolia.base.org"];
160
+ };
161
+ };
162
+ sourceId: 11155111;
163
+ testnet: true;
164
+ custom?: Record<string, unknown> | undefined;
165
+ formatters: {
166
+ readonly block: {
167
+ exclude: [] | undefined;
168
+ format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>>>, import("viem/chains").OpStackRpcBlockOverrides & {
169
+ transactions: `0x${string}`[] | import("viem/chains").OpStackRpcTransaction<boolean>[];
170
+ }>) => {
171
+ baseFeePerGas: bigint | null;
172
+ blobGasUsed: bigint;
173
+ difficulty: bigint;
174
+ excessBlobGas: bigint;
175
+ extraData: `0x${string}`;
176
+ gasLimit: bigint;
177
+ gasUsed: bigint;
178
+ hash: `0x${string}` | null;
179
+ logsBloom: `0x${string}` | null;
180
+ miner: `0x${string}`;
181
+ mixHash: `0x${string}`;
182
+ nonce: `0x${string}` | null;
183
+ number: bigint | null;
184
+ parentHash: `0x${string}`;
185
+ receiptsRoot: `0x${string}`;
186
+ sealFields: `0x${string}`[];
187
+ sha3Uncles: `0x${string}`;
188
+ size: bigint;
189
+ stateRoot: `0x${string}`;
190
+ timestamp: bigint;
191
+ totalDifficulty: bigint | null;
192
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
193
+ transactionsRoot: `0x${string}`;
194
+ uncles: `0x${string}`[];
195
+ withdrawals?: import("viem").Withdrawal[] | undefined;
196
+ withdrawalsRoot?: `0x${string}` | undefined;
197
+ };
198
+ type: "block";
199
+ };
200
+ readonly transaction: {
201
+ exclude: [] | undefined;
202
+ format: (args: ({
203
+ r?: `0x${string}` | undefined;
204
+ s?: `0x${string}` | undefined;
205
+ v?: `0x${string}` | undefined;
206
+ yParity?: `0x${string}` | undefined;
207
+ gasPrice?: `0x${string}` | undefined;
208
+ maxFeePerBlobGas?: `0x${string}` | undefined;
209
+ maxFeePerGas?: `0x${string}` | undefined;
210
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
211
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
212
+ to?: `0x${string}` | null | undefined;
213
+ from?: `0x${string}` | undefined;
214
+ gas?: `0x${string}` | undefined;
215
+ nonce?: `0x${string}` | undefined;
216
+ value?: `0x${string}` | undefined;
217
+ accessList?: undefined;
218
+ blobVersionedHashes?: undefined;
219
+ blockHash?: `0x${string}` | null | undefined;
220
+ blockNumber?: `0x${string}` | null | undefined;
221
+ hash?: `0x${string}` | undefined;
222
+ input?: `0x${string}` | undefined;
223
+ transactionIndex?: `0x${string}` | null | undefined;
224
+ chainId?: `0x${string}` | undefined;
225
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
226
+ r: `0x${string}`;
227
+ s: `0x${string}`;
228
+ v: `0x${string}`;
229
+ to: `0x${string}` | null;
230
+ from: `0x${string}`;
231
+ gas: `0x${string}`;
232
+ nonce: `0x${string}`;
233
+ value: `0x${string}`;
234
+ blockHash: `0x${string}` | null;
235
+ blockNumber: `0x${string}` | null;
236
+ hash: `0x${string}`;
237
+ input: `0x${string}`;
238
+ transactionIndex: `0x${string}` | null;
239
+ typeHex: `0x${string}` | null;
240
+ gasPrice: `0x${string}`;
241
+ maxFeePerBlobGas?: undefined;
242
+ maxFeePerGas?: undefined;
243
+ maxPriorityFeePerGas?: undefined;
244
+ accessList?: undefined;
245
+ blobVersionedHashes?: undefined;
246
+ chainId?: `0x${string}` | undefined;
247
+ yParity?: undefined;
248
+ type: "0x0";
249
+ }, "yParity">, "typeHex"> & {
250
+ isSystemTx?: undefined;
251
+ mint?: undefined;
252
+ sourceHash?: undefined;
253
+ }) | ({
254
+ r?: `0x${string}` | undefined;
255
+ s?: `0x${string}` | undefined;
256
+ v?: `0x${string}` | undefined;
257
+ yParity?: `0x${string}` | undefined;
258
+ gasPrice?: `0x${string}` | undefined;
259
+ maxFeePerBlobGas?: `0x${string}` | undefined;
260
+ maxFeePerGas?: `0x${string}` | undefined;
261
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
262
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
263
+ to?: `0x${string}` | null | undefined;
264
+ from?: `0x${string}` | undefined;
265
+ gas?: `0x${string}` | undefined;
266
+ nonce?: `0x${string}` | undefined;
267
+ value?: `0x${string}` | undefined;
268
+ accessList?: undefined;
269
+ blobVersionedHashes?: undefined;
270
+ blockHash?: `0x${string}` | null | undefined;
271
+ blockNumber?: `0x${string}` | null | undefined;
272
+ hash?: `0x${string}` | undefined;
273
+ input?: `0x${string}` | undefined;
274
+ transactionIndex?: `0x${string}` | null | undefined;
275
+ chainId?: `0x${string}` | undefined;
276
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
277
+ isSystemTx?: boolean | undefined;
278
+ mint?: `0x${string}` | undefined;
279
+ sourceHash: `0x${string}`;
280
+ type: "0x7e";
281
+ }) | ({
282
+ r?: `0x${string}` | undefined;
283
+ s?: `0x${string}` | undefined;
284
+ v?: `0x${string}` | undefined;
285
+ yParity?: `0x${string}` | undefined;
286
+ gasPrice?: `0x${string}` | undefined;
287
+ maxFeePerBlobGas?: `0x${string}` | undefined;
288
+ maxFeePerGas?: `0x${string}` | undefined;
289
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
290
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
291
+ to?: `0x${string}` | null | undefined;
292
+ from?: `0x${string}` | undefined;
293
+ gas?: `0x${string}` | undefined;
294
+ nonce?: `0x${string}` | undefined;
295
+ value?: `0x${string}` | undefined;
296
+ accessList?: import("viem").AccessList | undefined;
297
+ blobVersionedHashes?: undefined;
298
+ blockHash?: `0x${string}` | null | undefined;
299
+ blockNumber?: `0x${string}` | null | undefined;
300
+ hash?: `0x${string}` | undefined;
301
+ input?: `0x${string}` | undefined;
302
+ transactionIndex?: `0x${string}` | null | undefined;
303
+ chainId?: `0x${string}` | undefined;
304
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
305
+ r: `0x${string}`;
306
+ s: `0x${string}`;
307
+ v: `0x${string}`;
308
+ to: `0x${string}` | null;
309
+ from: `0x${string}`;
310
+ gas: `0x${string}`;
311
+ nonce: `0x${string}`;
312
+ value: `0x${string}`;
313
+ blockHash: `0x${string}` | null;
314
+ blockNumber: `0x${string}` | null;
315
+ hash: `0x${string}`;
316
+ input: `0x${string}`;
317
+ transactionIndex: `0x${string}` | null;
318
+ typeHex: `0x${string}` | null;
319
+ gasPrice: `0x${string}`;
320
+ maxFeePerBlobGas?: undefined;
321
+ maxFeePerGas?: undefined;
322
+ maxPriorityFeePerGas?: undefined;
323
+ accessList?: undefined;
324
+ blobVersionedHashes?: undefined;
325
+ chainId?: `0x${string}` | undefined;
326
+ yParity?: undefined;
327
+ type: "0x0";
328
+ }, "yParity">, "typeHex"> & {
329
+ isSystemTx?: undefined;
330
+ mint?: undefined;
331
+ sourceHash?: undefined;
332
+ }) | ({
333
+ r?: `0x${string}` | undefined;
334
+ s?: `0x${string}` | undefined;
335
+ v?: `0x${string}` | undefined;
336
+ yParity?: `0x${string}` | undefined;
337
+ gasPrice?: `0x${string}` | undefined;
338
+ maxFeePerBlobGas?: `0x${string}` | undefined;
339
+ maxFeePerGas?: `0x${string}` | undefined;
340
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
341
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
342
+ to?: `0x${string}` | null | undefined;
343
+ from?: `0x${string}` | undefined;
344
+ gas?: `0x${string}` | undefined;
345
+ nonce?: `0x${string}` | undefined;
346
+ value?: `0x${string}` | undefined;
347
+ accessList?: import("viem").AccessList | undefined;
348
+ blobVersionedHashes?: undefined;
349
+ blockHash?: `0x${string}` | null | undefined;
350
+ blockNumber?: `0x${string}` | null | undefined;
351
+ hash?: `0x${string}` | undefined;
352
+ input?: `0x${string}` | undefined;
353
+ transactionIndex?: `0x${string}` | null | undefined;
354
+ chainId?: `0x${string}` | undefined;
355
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
356
+ blockHash: `0x${string}` | null;
357
+ blockNumber: `0x${string}` | null;
358
+ from: `0x${string}`;
359
+ gas: `0x${string}`;
360
+ hash: `0x${string}`;
361
+ input: `0x${string}`;
362
+ nonce: `0x${string}`;
363
+ r: `0x${string}`;
364
+ s: `0x${string}`;
365
+ to: `0x${string}` | null;
366
+ transactionIndex: `0x${string}` | null;
367
+ typeHex: `0x${string}` | null;
368
+ v: `0x${string}`;
369
+ value: `0x${string}`;
370
+ yParity: `0x${string}`;
371
+ gasPrice: `0x${string}`;
372
+ maxFeePerBlobGas?: undefined;
373
+ maxFeePerGas?: undefined;
374
+ maxPriorityFeePerGas?: undefined;
375
+ accessList: import("viem").AccessList;
376
+ blobVersionedHashes?: undefined;
377
+ chainId: `0x${string}`;
378
+ type: "0x1";
379
+ }, "yParity">, "typeHex"> & {
380
+ isSystemTx?: undefined;
381
+ mint?: undefined;
382
+ sourceHash?: undefined;
383
+ }) | ({
384
+ r?: `0x${string}` | undefined;
385
+ s?: `0x${string}` | undefined;
386
+ v?: `0x${string}` | undefined;
387
+ yParity?: `0x${string}` | undefined;
388
+ gasPrice?: `0x${string}` | undefined;
389
+ maxFeePerBlobGas?: `0x${string}` | undefined;
390
+ maxFeePerGas?: `0x${string}` | undefined;
391
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
392
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
393
+ to?: `0x${string}` | null | undefined;
394
+ from?: `0x${string}` | undefined;
395
+ gas?: `0x${string}` | undefined;
396
+ nonce?: `0x${string}` | undefined;
397
+ value?: `0x${string}` | undefined;
398
+ accessList?: import("viem").AccessList | undefined;
399
+ blobVersionedHashes?: undefined;
400
+ blockHash?: `0x${string}` | null | undefined;
401
+ blockNumber?: `0x${string}` | null | undefined;
402
+ hash?: `0x${string}` | undefined;
403
+ input?: `0x${string}` | undefined;
404
+ transactionIndex?: `0x${string}` | null | undefined;
405
+ chainId?: `0x${string}` | undefined;
406
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
407
+ blockHash: `0x${string}` | null;
408
+ blockNumber: `0x${string}` | null;
409
+ from: `0x${string}`;
410
+ gas: `0x${string}`;
411
+ hash: `0x${string}`;
412
+ input: `0x${string}`;
413
+ nonce: `0x${string}`;
414
+ r: `0x${string}`;
415
+ s: `0x${string}`;
416
+ to: `0x${string}` | null;
417
+ transactionIndex: `0x${string}` | null;
418
+ typeHex: `0x${string}` | null;
419
+ v: `0x${string}`;
420
+ value: `0x${string}`;
421
+ yParity: `0x${string}`;
422
+ gasPrice?: undefined;
423
+ maxFeePerBlobGas?: undefined;
424
+ maxFeePerGas: `0x${string}`;
425
+ maxPriorityFeePerGas: `0x${string}`;
426
+ accessList: import("viem").AccessList;
427
+ blobVersionedHashes?: undefined;
428
+ chainId: `0x${string}`;
429
+ type: "0x2";
430
+ }, "yParity">, "typeHex"> & {
431
+ isSystemTx?: undefined;
432
+ mint?: undefined;
433
+ sourceHash?: undefined;
434
+ }) | ({
435
+ r?: `0x${string}` | undefined;
436
+ s?: `0x${string}` | undefined;
437
+ v?: `0x${string}` | undefined;
438
+ yParity?: `0x${string}` | undefined;
439
+ gasPrice?: `0x${string}` | undefined;
440
+ maxFeePerBlobGas?: `0x${string}` | undefined;
441
+ maxFeePerGas?: `0x${string}` | undefined;
442
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
443
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
444
+ to?: `0x${string}` | null | undefined;
445
+ from?: `0x${string}` | undefined;
446
+ gas?: `0x${string}` | undefined;
447
+ nonce?: `0x${string}` | undefined;
448
+ value?: `0x${string}` | undefined;
449
+ accessList?: import("viem").AccessList | undefined;
450
+ blobVersionedHashes?: undefined;
451
+ blockHash?: `0x${string}` | null | undefined;
452
+ blockNumber?: `0x${string}` | null | undefined;
453
+ hash?: `0x${string}` | undefined;
454
+ input?: `0x${string}` | undefined;
455
+ transactionIndex?: `0x${string}` | null | undefined;
456
+ chainId?: `0x${string}` | undefined;
457
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
458
+ isSystemTx?: boolean | undefined;
459
+ mint?: `0x${string}` | undefined;
460
+ sourceHash: `0x${string}`;
461
+ type: "0x7e";
462
+ }) | ({
463
+ r?: `0x${string}` | undefined;
464
+ s?: `0x${string}` | undefined;
465
+ v?: `0x${string}` | undefined;
466
+ yParity?: `0x${string}` | undefined;
467
+ gasPrice?: `0x${string}` | undefined;
468
+ maxFeePerBlobGas?: `0x${string}` | undefined;
469
+ maxFeePerGas?: `0x${string}` | undefined;
470
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
471
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
472
+ to?: `0x${string}` | null | undefined;
473
+ from?: `0x${string}` | undefined;
474
+ gas?: `0x${string}` | undefined;
475
+ nonce?: `0x${string}` | undefined;
476
+ value?: `0x${string}` | undefined;
477
+ accessList?: import("viem").AccessList | undefined;
478
+ blobVersionedHashes?: undefined;
479
+ blockHash?: `0x${string}` | null | undefined;
480
+ blockNumber?: `0x${string}` | null | undefined;
481
+ hash?: `0x${string}` | undefined;
482
+ input?: `0x${string}` | undefined;
483
+ transactionIndex?: `0x${string}` | null | undefined;
484
+ chainId?: `0x${string}` | undefined;
485
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
486
+ r: `0x${string}`;
487
+ s: `0x${string}`;
488
+ v: `0x${string}`;
489
+ to: `0x${string}` | null;
490
+ from: `0x${string}`;
491
+ gas: `0x${string}`;
492
+ nonce: `0x${string}`;
493
+ value: `0x${string}`;
494
+ blockHash: `0x${string}` | null;
495
+ blockNumber: `0x${string}` | null;
496
+ hash: `0x${string}`;
497
+ input: `0x${string}`;
498
+ transactionIndex: `0x${string}` | null;
499
+ typeHex: `0x${string}` | null;
500
+ gasPrice: `0x${string}`;
501
+ maxFeePerBlobGas?: undefined;
502
+ maxFeePerGas?: undefined;
503
+ maxPriorityFeePerGas?: undefined;
504
+ accessList?: undefined;
505
+ blobVersionedHashes?: undefined;
506
+ chainId?: `0x${string}` | undefined;
507
+ yParity?: undefined;
508
+ type: "0x0";
509
+ }, "yParity">, "typeHex"> & {
510
+ isSystemTx?: undefined;
511
+ mint?: undefined;
512
+ sourceHash?: undefined;
513
+ }) | ({
514
+ r?: `0x${string}` | undefined;
515
+ s?: `0x${string}` | undefined;
516
+ v?: `0x${string}` | undefined;
517
+ yParity?: `0x${string}` | undefined;
518
+ gasPrice?: `0x${string}` | undefined;
519
+ maxFeePerBlobGas?: `0x${string}` | undefined;
520
+ maxFeePerGas?: `0x${string}` | undefined;
521
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
522
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
523
+ to?: `0x${string}` | null | undefined;
524
+ from?: `0x${string}` | undefined;
525
+ gas?: `0x${string}` | undefined;
526
+ nonce?: `0x${string}` | undefined;
527
+ value?: `0x${string}` | undefined;
528
+ accessList?: import("viem").AccessList | undefined;
529
+ blobVersionedHashes?: undefined;
530
+ blockHash?: `0x${string}` | null | undefined;
531
+ blockNumber?: `0x${string}` | null | undefined;
532
+ hash?: `0x${string}` | undefined;
533
+ input?: `0x${string}` | undefined;
534
+ transactionIndex?: `0x${string}` | null | undefined;
535
+ chainId?: `0x${string}` | undefined;
536
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
537
+ blockHash: `0x${string}` | null;
538
+ blockNumber: `0x${string}` | null;
539
+ from: `0x${string}`;
540
+ gas: `0x${string}`;
541
+ hash: `0x${string}`;
542
+ input: `0x${string}`;
543
+ nonce: `0x${string}`;
544
+ r: `0x${string}`;
545
+ s: `0x${string}`;
546
+ to: `0x${string}` | null;
547
+ transactionIndex: `0x${string}` | null;
548
+ typeHex: `0x${string}` | null;
549
+ v: `0x${string}`;
550
+ value: `0x${string}`;
551
+ yParity: `0x${string}`;
552
+ gasPrice: `0x${string}`;
553
+ maxFeePerBlobGas?: undefined;
554
+ maxFeePerGas?: undefined;
555
+ maxPriorityFeePerGas?: undefined;
556
+ accessList: import("viem").AccessList;
557
+ blobVersionedHashes?: undefined;
558
+ chainId: `0x${string}`;
559
+ type: "0x1";
560
+ }, "yParity">, "typeHex"> & {
561
+ isSystemTx?: undefined;
562
+ mint?: undefined;
563
+ sourceHash?: undefined;
564
+ }) | ({
565
+ r?: `0x${string}` | undefined;
566
+ s?: `0x${string}` | undefined;
567
+ v?: `0x${string}` | undefined;
568
+ yParity?: `0x${string}` | undefined;
569
+ gasPrice?: `0x${string}` | undefined;
570
+ maxFeePerBlobGas?: `0x${string}` | undefined;
571
+ maxFeePerGas?: `0x${string}` | undefined;
572
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
573
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
574
+ to?: `0x${string}` | null | undefined;
575
+ from?: `0x${string}` | undefined;
576
+ gas?: `0x${string}` | undefined;
577
+ nonce?: `0x${string}` | undefined;
578
+ value?: `0x${string}` | undefined;
579
+ accessList?: import("viem").AccessList | undefined;
580
+ blobVersionedHashes?: undefined;
581
+ blockHash?: `0x${string}` | null | undefined;
582
+ blockNumber?: `0x${string}` | null | undefined;
583
+ hash?: `0x${string}` | undefined;
584
+ input?: `0x${string}` | undefined;
585
+ transactionIndex?: `0x${string}` | null | undefined;
586
+ chainId?: `0x${string}` | undefined;
587
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
588
+ blockHash: `0x${string}` | null;
589
+ blockNumber: `0x${string}` | null;
590
+ from: `0x${string}`;
591
+ gas: `0x${string}`;
592
+ hash: `0x${string}`;
593
+ input: `0x${string}`;
594
+ nonce: `0x${string}`;
595
+ r: `0x${string}`;
596
+ s: `0x${string}`;
597
+ to: `0x${string}` | null;
598
+ transactionIndex: `0x${string}` | null;
599
+ typeHex: `0x${string}` | null;
600
+ v: `0x${string}`;
601
+ value: `0x${string}`;
602
+ yParity: `0x${string}`;
603
+ gasPrice?: undefined;
604
+ maxFeePerBlobGas?: undefined;
605
+ maxFeePerGas: `0x${string}`;
606
+ maxPriorityFeePerGas: `0x${string}`;
607
+ accessList: import("viem").AccessList;
608
+ blobVersionedHashes?: undefined;
609
+ chainId: `0x${string}`;
610
+ type: "0x2";
611
+ }, "yParity">, "typeHex"> & {
612
+ isSystemTx?: undefined;
613
+ mint?: undefined;
614
+ sourceHash?: undefined;
615
+ }) | ({
616
+ r?: `0x${string}` | undefined;
617
+ s?: `0x${string}` | undefined;
618
+ v?: `0x${string}` | undefined;
619
+ yParity?: `0x${string}` | undefined;
620
+ gasPrice?: `0x${string}` | undefined;
621
+ maxFeePerBlobGas?: `0x${string}` | undefined;
622
+ maxFeePerGas?: `0x${string}` | undefined;
623
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
624
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
625
+ to?: `0x${string}` | null | undefined;
626
+ from?: `0x${string}` | undefined;
627
+ gas?: `0x${string}` | undefined;
628
+ nonce?: `0x${string}` | undefined;
629
+ value?: `0x${string}` | undefined;
630
+ accessList?: import("viem").AccessList | undefined;
631
+ blobVersionedHashes?: undefined;
632
+ blockHash?: `0x${string}` | null | undefined;
633
+ blockNumber?: `0x${string}` | null | undefined;
634
+ hash?: `0x${string}` | undefined;
635
+ input?: `0x${string}` | undefined;
636
+ transactionIndex?: `0x${string}` | null | undefined;
637
+ chainId?: `0x${string}` | undefined;
638
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
639
+ isSystemTx?: boolean | undefined;
640
+ mint?: `0x${string}` | undefined;
641
+ sourceHash: `0x${string}`;
642
+ type: "0x7e";
643
+ }) | ({
644
+ r?: `0x${string}` | undefined;
645
+ s?: `0x${string}` | undefined;
646
+ v?: `0x${string}` | undefined;
647
+ yParity?: `0x${string}` | undefined;
648
+ gasPrice?: `0x${string}` | undefined;
649
+ maxFeePerBlobGas?: `0x${string}` | undefined;
650
+ maxFeePerGas?: `0x${string}` | undefined;
651
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
652
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
653
+ to?: `0x${string}` | null | undefined;
654
+ from?: `0x${string}` | undefined;
655
+ gas?: `0x${string}` | undefined;
656
+ nonce?: `0x${string}` | undefined;
657
+ value?: `0x${string}` | undefined;
658
+ accessList?: import("viem").AccessList | undefined;
659
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
660
+ blockHash?: `0x${string}` | null | undefined;
661
+ blockNumber?: `0x${string}` | null | undefined;
662
+ hash?: `0x${string}` | undefined;
663
+ input?: `0x${string}` | undefined;
664
+ transactionIndex?: `0x${string}` | null | undefined;
665
+ chainId?: `0x${string}` | undefined;
666
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
667
+ r: `0x${string}`;
668
+ s: `0x${string}`;
669
+ v: `0x${string}`;
670
+ to: `0x${string}` | null;
671
+ from: `0x${string}`;
672
+ gas: `0x${string}`;
673
+ nonce: `0x${string}`;
674
+ value: `0x${string}`;
675
+ blockHash: `0x${string}` | null;
676
+ blockNumber: `0x${string}` | null;
677
+ hash: `0x${string}`;
678
+ input: `0x${string}`;
679
+ transactionIndex: `0x${string}` | null;
680
+ typeHex: `0x${string}` | null;
681
+ gasPrice: `0x${string}`;
682
+ maxFeePerBlobGas?: undefined;
683
+ maxFeePerGas?: undefined;
684
+ maxPriorityFeePerGas?: undefined;
685
+ accessList?: undefined;
686
+ blobVersionedHashes?: undefined;
687
+ chainId?: `0x${string}` | undefined;
688
+ yParity?: undefined;
689
+ type: "0x0";
690
+ }, "yParity">, "typeHex"> & {
691
+ isSystemTx?: undefined;
692
+ mint?: undefined;
693
+ sourceHash?: undefined;
694
+ }) | ({
695
+ r?: `0x${string}` | undefined;
696
+ s?: `0x${string}` | undefined;
697
+ v?: `0x${string}` | undefined;
698
+ yParity?: `0x${string}` | undefined;
699
+ gasPrice?: `0x${string}` | undefined;
700
+ maxFeePerBlobGas?: `0x${string}` | undefined;
701
+ maxFeePerGas?: `0x${string}` | undefined;
702
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
703
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
704
+ to?: `0x${string}` | null | undefined;
705
+ from?: `0x${string}` | undefined;
706
+ gas?: `0x${string}` | undefined;
707
+ nonce?: `0x${string}` | undefined;
708
+ value?: `0x${string}` | undefined;
709
+ accessList?: import("viem").AccessList | undefined;
710
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
711
+ blockHash?: `0x${string}` | null | undefined;
712
+ blockNumber?: `0x${string}` | null | undefined;
713
+ hash?: `0x${string}` | undefined;
714
+ input?: `0x${string}` | undefined;
715
+ transactionIndex?: `0x${string}` | null | undefined;
716
+ chainId?: `0x${string}` | undefined;
717
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
718
+ blockHash: `0x${string}` | null;
719
+ blockNumber: `0x${string}` | null;
720
+ from: `0x${string}`;
721
+ gas: `0x${string}`;
722
+ hash: `0x${string}`;
723
+ input: `0x${string}`;
724
+ nonce: `0x${string}`;
725
+ r: `0x${string}`;
726
+ s: `0x${string}`;
727
+ to: `0x${string}` | null;
728
+ transactionIndex: `0x${string}` | null;
729
+ typeHex: `0x${string}` | null;
730
+ v: `0x${string}`;
731
+ value: `0x${string}`;
732
+ yParity: `0x${string}`;
733
+ gasPrice: `0x${string}`;
734
+ maxFeePerBlobGas?: undefined;
735
+ maxFeePerGas?: undefined;
736
+ maxPriorityFeePerGas?: undefined;
737
+ accessList: import("viem").AccessList;
738
+ blobVersionedHashes?: undefined;
739
+ chainId: `0x${string}`;
740
+ type: "0x1";
741
+ }, "yParity">, "typeHex"> & {
742
+ isSystemTx?: undefined;
743
+ mint?: undefined;
744
+ sourceHash?: undefined;
745
+ }) | ({
746
+ r?: `0x${string}` | undefined;
747
+ s?: `0x${string}` | undefined;
748
+ v?: `0x${string}` | undefined;
749
+ yParity?: `0x${string}` | undefined;
750
+ gasPrice?: `0x${string}` | undefined;
751
+ maxFeePerBlobGas?: `0x${string}` | undefined;
752
+ maxFeePerGas?: `0x${string}` | undefined;
753
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
754
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
755
+ to?: `0x${string}` | null | undefined;
756
+ from?: `0x${string}` | undefined;
757
+ gas?: `0x${string}` | undefined;
758
+ nonce?: `0x${string}` | undefined;
759
+ value?: `0x${string}` | undefined;
760
+ accessList?: import("viem").AccessList | undefined;
761
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
762
+ blockHash?: `0x${string}` | null | undefined;
763
+ blockNumber?: `0x${string}` | null | undefined;
764
+ hash?: `0x${string}` | undefined;
765
+ input?: `0x${string}` | undefined;
766
+ transactionIndex?: `0x${string}` | null | undefined;
767
+ chainId?: `0x${string}` | undefined;
768
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
769
+ blockHash: `0x${string}` | null;
770
+ blockNumber: `0x${string}` | null;
771
+ from: `0x${string}`;
772
+ gas: `0x${string}`;
773
+ hash: `0x${string}`;
774
+ input: `0x${string}`;
775
+ nonce: `0x${string}`;
776
+ r: `0x${string}`;
777
+ s: `0x${string}`;
778
+ to: `0x${string}` | null;
779
+ transactionIndex: `0x${string}` | null;
780
+ typeHex: `0x${string}` | null;
781
+ v: `0x${string}`;
782
+ value: `0x${string}`;
783
+ yParity: `0x${string}`;
784
+ gasPrice?: undefined;
785
+ maxFeePerBlobGas?: undefined;
786
+ maxFeePerGas: `0x${string}`;
787
+ maxPriorityFeePerGas: `0x${string}`;
788
+ accessList: import("viem").AccessList;
789
+ blobVersionedHashes?: undefined;
790
+ chainId: `0x${string}`;
791
+ type: "0x2";
792
+ }, "yParity">, "typeHex"> & {
793
+ isSystemTx?: undefined;
794
+ mint?: undefined;
795
+ sourceHash?: undefined;
796
+ }) | ({
797
+ r?: `0x${string}` | undefined;
798
+ s?: `0x${string}` | undefined;
799
+ v?: `0x${string}` | undefined;
800
+ yParity?: `0x${string}` | undefined;
801
+ gasPrice?: `0x${string}` | undefined;
802
+ maxFeePerBlobGas?: `0x${string}` | undefined;
803
+ maxFeePerGas?: `0x${string}` | undefined;
804
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
805
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
806
+ to?: `0x${string}` | null | undefined;
807
+ from?: `0x${string}` | undefined;
808
+ gas?: `0x${string}` | undefined;
809
+ nonce?: `0x${string}` | undefined;
810
+ value?: `0x${string}` | undefined;
811
+ accessList?: import("viem").AccessList | undefined;
812
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
813
+ blockHash?: `0x${string}` | null | undefined;
814
+ blockNumber?: `0x${string}` | null | undefined;
815
+ hash?: `0x${string}` | undefined;
816
+ input?: `0x${string}` | undefined;
817
+ transactionIndex?: `0x${string}` | null | undefined;
818
+ chainId?: `0x${string}` | undefined;
819
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
820
+ blockHash: `0x${string}` | null;
821
+ blockNumber: `0x${string}` | null;
822
+ from: `0x${string}`;
823
+ gas: `0x${string}`;
824
+ hash: `0x${string}`;
825
+ input: `0x${string}`;
826
+ nonce: `0x${string}`;
827
+ r: `0x${string}`;
828
+ s: `0x${string}`;
829
+ to: `0x${string}` | null;
830
+ transactionIndex: `0x${string}` | null;
831
+ typeHex: `0x${string}` | null;
832
+ v: `0x${string}`;
833
+ value: `0x${string}`;
834
+ yParity: `0x${string}`;
835
+ gasPrice?: undefined;
836
+ maxFeePerBlobGas: `0x${string}`;
837
+ maxFeePerGas: `0x${string}`;
838
+ maxPriorityFeePerGas: `0x${string}`;
839
+ accessList: import("viem").AccessList;
840
+ blobVersionedHashes: readonly `0x${string}`[];
841
+ chainId: `0x${string}`;
842
+ type: "0x3";
843
+ }, "yParity">, "typeHex"> & {
844
+ isSystemTx?: undefined;
845
+ mint?: undefined;
846
+ sourceHash?: undefined;
847
+ }) | ({
848
+ r?: `0x${string}` | undefined;
849
+ s?: `0x${string}` | undefined;
850
+ v?: `0x${string}` | undefined;
851
+ yParity?: `0x${string}` | undefined;
852
+ gasPrice?: `0x${string}` | undefined;
853
+ maxFeePerBlobGas?: `0x${string}` | undefined;
854
+ maxFeePerGas?: `0x${string}` | undefined;
855
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
856
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
857
+ to?: `0x${string}` | null | undefined;
858
+ from?: `0x${string}` | undefined;
859
+ gas?: `0x${string}` | undefined;
860
+ nonce?: `0x${string}` | undefined;
861
+ value?: `0x${string}` | undefined;
862
+ accessList?: import("viem").AccessList | undefined;
863
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
864
+ blockHash?: `0x${string}` | null | undefined;
865
+ blockNumber?: `0x${string}` | null | undefined;
866
+ hash?: `0x${string}` | undefined;
867
+ input?: `0x${string}` | undefined;
868
+ transactionIndex?: `0x${string}` | null | undefined;
869
+ chainId?: `0x${string}` | undefined;
870
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
871
+ isSystemTx?: boolean | undefined;
872
+ mint?: `0x${string}` | undefined;
873
+ sourceHash: `0x${string}`;
874
+ type: "0x7e";
875
+ })) => {
876
+ r: `0x${string}`;
877
+ s: `0x${string}`;
878
+ v: bigint;
879
+ to: `0x${string}` | null;
880
+ from: `0x${string}`;
881
+ gas: bigint;
882
+ nonce: number;
883
+ value: bigint;
884
+ blockHash: `0x${string}` | null;
885
+ blockNumber: bigint | null;
886
+ hash: `0x${string}`;
887
+ input: `0x${string}`;
888
+ transactionIndex: number | null;
889
+ typeHex: `0x${string}` | null;
890
+ gasPrice: bigint;
891
+ maxFeePerBlobGas?: undefined;
892
+ maxFeePerGas?: undefined;
893
+ maxPriorityFeePerGas?: undefined;
894
+ accessList?: undefined;
895
+ blobVersionedHashes?: undefined;
896
+ chainId?: number | undefined;
897
+ yParity?: undefined;
898
+ type: "legacy";
899
+ isSystemTx?: undefined;
900
+ mint?: undefined;
901
+ sourceHash?: undefined;
902
+ } | {
903
+ r: `0x${string}`;
904
+ s: `0x${string}`;
905
+ v: bigint;
906
+ to: `0x${string}` | null;
907
+ from: `0x${string}`;
908
+ gas: bigint;
909
+ nonce: number;
910
+ value: bigint;
911
+ blockHash: `0x${string}` | null;
912
+ blockNumber: bigint | null;
913
+ hash: `0x${string}`;
914
+ input: `0x${string}`;
915
+ transactionIndex: number | null;
916
+ typeHex: `0x${string}` | null;
917
+ gasPrice: undefined;
918
+ maxFeePerBlobGas?: undefined;
919
+ maxFeePerGas: bigint;
920
+ maxPriorityFeePerGas: bigint;
921
+ accessList?: undefined;
922
+ blobVersionedHashes?: undefined;
923
+ chainId?: number | undefined;
924
+ yParity: number;
925
+ type: "deposit";
926
+ isSystemTx?: boolean | undefined;
927
+ mint?: bigint | undefined;
928
+ sourceHash: `0x${string}`;
929
+ } | {
930
+ blockHash: `0x${string}` | null;
931
+ blockNumber: bigint | null;
932
+ from: `0x${string}`;
933
+ gas: bigint;
934
+ hash: `0x${string}`;
935
+ input: `0x${string}`;
936
+ nonce: number;
937
+ r: `0x${string}`;
938
+ s: `0x${string}`;
939
+ to: `0x${string}` | null;
940
+ transactionIndex: number | null;
941
+ typeHex: `0x${string}` | null;
942
+ v: bigint;
943
+ value: bigint;
944
+ yParity: number;
945
+ gasPrice: bigint;
946
+ maxFeePerBlobGas?: undefined;
947
+ maxFeePerGas?: undefined;
948
+ maxPriorityFeePerGas?: undefined;
949
+ accessList: import("viem").AccessList;
950
+ blobVersionedHashes?: undefined;
951
+ chainId: number;
952
+ type: "eip2930";
953
+ isSystemTx?: undefined;
954
+ mint?: undefined;
955
+ sourceHash?: undefined;
956
+ } | {
957
+ blockHash: `0x${string}` | null;
958
+ blockNumber: bigint | null;
959
+ from: `0x${string}`;
960
+ gas: bigint;
961
+ hash: `0x${string}`;
962
+ input: `0x${string}`;
963
+ nonce: number;
964
+ r: `0x${string}`;
965
+ s: `0x${string}`;
966
+ to: `0x${string}` | null;
967
+ transactionIndex: number | null;
968
+ typeHex: `0x${string}` | null;
969
+ v: bigint;
970
+ value: bigint;
971
+ yParity: number;
972
+ gasPrice: undefined;
973
+ maxFeePerBlobGas?: undefined;
974
+ maxFeePerGas: bigint;
975
+ maxPriorityFeePerGas: bigint;
976
+ accessList: import("viem").AccessList;
977
+ blobVersionedHashes?: undefined;
978
+ chainId: number;
979
+ type: "eip1559";
980
+ isSystemTx?: undefined;
981
+ mint?: undefined;
982
+ sourceHash?: undefined;
983
+ } | {
984
+ blockHash: `0x${string}` | null;
985
+ blockNumber: bigint | null;
986
+ from: `0x${string}`;
987
+ gas: bigint;
988
+ hash: `0x${string}`;
989
+ input: `0x${string}`;
990
+ nonce: number;
991
+ r: `0x${string}`;
992
+ s: `0x${string}`;
993
+ to: `0x${string}` | null;
994
+ transactionIndex: number | null;
995
+ typeHex: `0x${string}` | null;
996
+ v: bigint;
997
+ value: bigint;
998
+ yParity: number;
999
+ gasPrice: undefined;
1000
+ maxFeePerBlobGas?: undefined;
1001
+ maxFeePerGas: bigint;
1002
+ maxPriorityFeePerGas: bigint;
1003
+ accessList: import("viem").AccessList;
1004
+ blobVersionedHashes?: undefined;
1005
+ chainId: number;
1006
+ type: "deposit";
1007
+ isSystemTx?: boolean | undefined;
1008
+ mint?: bigint | undefined;
1009
+ sourceHash: `0x${string}`;
1010
+ } | {
1011
+ blockHash: `0x${string}` | null;
1012
+ blockNumber: bigint | null;
1013
+ from: `0x${string}`;
1014
+ gas: bigint;
1015
+ hash: `0x${string}`;
1016
+ input: `0x${string}`;
1017
+ nonce: number;
1018
+ r: `0x${string}`;
1019
+ s: `0x${string}`;
1020
+ to: `0x${string}` | null;
1021
+ transactionIndex: number | null;
1022
+ typeHex: `0x${string}` | null;
1023
+ v: bigint;
1024
+ value: bigint;
1025
+ yParity: number;
1026
+ gasPrice: bigint;
1027
+ maxFeePerBlobGas?: undefined;
1028
+ maxFeePerGas: undefined;
1029
+ maxPriorityFeePerGas: undefined;
1030
+ accessList: import("viem").AccessList;
1031
+ blobVersionedHashes?: undefined;
1032
+ chainId: number;
1033
+ type: "eip2930";
1034
+ isSystemTx?: undefined;
1035
+ mint?: undefined;
1036
+ sourceHash?: undefined;
1037
+ } | {
1038
+ blockHash: `0x${string}` | null;
1039
+ blockNumber: bigint | null;
1040
+ from: `0x${string}`;
1041
+ gas: bigint;
1042
+ hash: `0x${string}`;
1043
+ input: `0x${string}`;
1044
+ nonce: number;
1045
+ r: `0x${string}`;
1046
+ s: `0x${string}`;
1047
+ to: `0x${string}` | null;
1048
+ transactionIndex: number | null;
1049
+ typeHex: `0x${string}` | null;
1050
+ v: bigint;
1051
+ value: bigint;
1052
+ yParity: number;
1053
+ gasPrice?: undefined;
1054
+ maxFeePerBlobGas?: undefined;
1055
+ maxFeePerGas: bigint;
1056
+ maxPriorityFeePerGas: bigint;
1057
+ accessList: import("viem").AccessList;
1058
+ blobVersionedHashes?: undefined;
1059
+ chainId: number;
1060
+ type: "eip1559";
1061
+ isSystemTx?: undefined;
1062
+ mint?: undefined;
1063
+ sourceHash?: undefined;
1064
+ } | {
1065
+ blockHash: `0x${string}` | null;
1066
+ blockNumber: bigint | null;
1067
+ from: `0x${string}`;
1068
+ gas: bigint;
1069
+ hash: `0x${string}`;
1070
+ input: `0x${string}`;
1071
+ nonce: number;
1072
+ r: `0x${string}`;
1073
+ s: `0x${string}`;
1074
+ to: `0x${string}` | null;
1075
+ transactionIndex: number | null;
1076
+ typeHex: `0x${string}` | null;
1077
+ v: bigint;
1078
+ value: bigint;
1079
+ yParity: number;
1080
+ gasPrice?: undefined;
1081
+ maxFeePerBlobGas?: undefined;
1082
+ maxFeePerGas: bigint;
1083
+ maxPriorityFeePerGas: bigint;
1084
+ accessList: import("viem").AccessList;
1085
+ blobVersionedHashes?: undefined;
1086
+ chainId: number;
1087
+ type: "deposit";
1088
+ isSystemTx?: boolean | undefined;
1089
+ mint?: bigint | undefined;
1090
+ sourceHash: `0x${string}`;
1091
+ } | {
1092
+ blockHash: `0x${string}` | null;
1093
+ blockNumber: bigint | null;
1094
+ from: `0x${string}`;
1095
+ gas: bigint;
1096
+ hash: `0x${string}`;
1097
+ input: `0x${string}`;
1098
+ nonce: number;
1099
+ r: `0x${string}`;
1100
+ s: `0x${string}`;
1101
+ to: `0x${string}` | null;
1102
+ transactionIndex: number | null;
1103
+ typeHex: `0x${string}` | null;
1104
+ v: bigint;
1105
+ value: bigint;
1106
+ yParity: number;
1107
+ gasPrice?: undefined;
1108
+ maxFeePerBlobGas: bigint;
1109
+ maxFeePerGas: bigint;
1110
+ maxPriorityFeePerGas: bigint;
1111
+ accessList: import("viem").AccessList;
1112
+ blobVersionedHashes: readonly `0x${string}`[];
1113
+ chainId: number;
1114
+ type: "eip4844";
1115
+ isSystemTx?: undefined;
1116
+ mint?: undefined;
1117
+ sourceHash?: undefined;
1118
+ } | {
1119
+ blockHash: `0x${string}` | null;
1120
+ blockNumber: bigint | null;
1121
+ from: `0x${string}`;
1122
+ gas: bigint;
1123
+ hash: `0x${string}`;
1124
+ input: `0x${string}`;
1125
+ nonce: number;
1126
+ r: `0x${string}`;
1127
+ s: `0x${string}`;
1128
+ to: `0x${string}` | null;
1129
+ transactionIndex: number | null;
1130
+ typeHex: `0x${string}` | null;
1131
+ v: bigint;
1132
+ value: bigint;
1133
+ yParity: number;
1134
+ gasPrice?: undefined;
1135
+ maxFeePerBlobGas: undefined;
1136
+ maxFeePerGas: bigint;
1137
+ maxPriorityFeePerGas: bigint;
1138
+ accessList: import("viem").AccessList;
1139
+ blobVersionedHashes: readonly `0x${string}`[];
1140
+ chainId: number;
1141
+ type: "deposit";
1142
+ isSystemTx?: boolean | undefined;
1143
+ mint?: bigint | undefined;
1144
+ sourceHash: `0x${string}`;
1145
+ };
1146
+ type: "transaction";
1147
+ };
1148
+ readonly transactionReceipt: {
1149
+ exclude: [] | undefined;
1150
+ format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcTransactionReceipt>, import("viem/chains").OpStackRpcTransactionReceiptOverrides>) => {
1151
+ blobGasPrice?: bigint | undefined;
1152
+ blobGasUsed?: bigint | undefined;
1153
+ blockHash: `0x${string}`;
1154
+ blockNumber: bigint;
1155
+ contractAddress: `0x${string}` | null | undefined;
1156
+ cumulativeGasUsed: bigint;
1157
+ effectiveGasPrice: bigint;
1158
+ from: `0x${string}`;
1159
+ gasUsed: bigint;
1160
+ logs: import("viem").Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
1161
+ logsBloom: `0x${string}`;
1162
+ root?: `0x${string}` | undefined;
1163
+ status: "success" | "reverted";
1164
+ to: `0x${string}` | null;
1165
+ transactionHash: `0x${string}`;
1166
+ transactionIndex: number;
1167
+ type: import("viem").TransactionType;
1168
+ l1GasPrice: bigint | null;
1169
+ l1GasUsed: bigint | null;
1170
+ l1Fee: bigint | null;
1171
+ l1FeeScalar: number | null;
1172
+ };
1173
+ type: "transactionReceipt";
1174
+ };
1175
+ };
1176
+ serializers: {
1177
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1178
+ };
1179
+ fees?: import("viem").ChainFees<undefined> | undefined;
1180
+ readonly network: "base-sepolia";
1181
+ };
1182
+ };
1183
+ export declare const CHAIN_VIEM: {
1184
+ readonly 1: {
1185
+ blockExplorers: {
1186
+ readonly default: {
1187
+ readonly name: "SnowTrace";
1188
+ readonly url: "https://testnet.snowtrace.io";
1189
+ readonly apiUrl: "https://api-testnet.snowtrace.io";
1190
+ };
1191
+ };
1192
+ contracts: {
1193
+ readonly multicall3: {
1194
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1195
+ readonly blockCreated: 7096959;
1196
+ };
1197
+ };
1198
+ id: 43113;
1199
+ name: "Avalanche Fuji";
1200
+ nativeCurrency: {
1201
+ readonly decimals: 18;
1202
+ readonly name: "Avalanche Fuji";
1203
+ readonly symbol: "AVAX";
1204
+ };
1205
+ rpcUrls: {
1206
+ readonly default: {
1207
+ readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
1208
+ };
1209
+ };
1210
+ sourceId?: number | undefined;
1211
+ testnet: true;
1212
+ custom?: Record<string, unknown> | undefined;
1213
+ formatters?: undefined;
1214
+ serializers?: import("viem").ChainSerializers<undefined> | undefined;
1215
+ fees?: import("viem").ChainFees<undefined> | undefined;
1216
+ };
1217
+ readonly 6: {
1218
+ blockExplorers: {
1219
+ readonly default: {
1220
+ readonly name: "Etherscan";
1221
+ readonly url: "https://sepolia.etherscan.io";
1222
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
1223
+ };
1224
+ };
1225
+ contracts: {
1226
+ readonly multicall3: {
1227
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1228
+ readonly blockCreated: 751532;
1229
+ };
1230
+ readonly ensRegistry: {
1231
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
1232
+ };
1233
+ readonly ensUniversalResolver: {
1234
+ readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
1235
+ readonly blockCreated: 5317080;
1236
+ };
1237
+ };
1238
+ id: 11155111;
1239
+ name: "Sepolia";
1240
+ nativeCurrency: {
1241
+ readonly name: "Sepolia Ether";
1242
+ readonly symbol: "ETH";
1243
+ readonly decimals: 18;
1244
+ };
1245
+ rpcUrls: {
1246
+ readonly default: {
1247
+ readonly http: readonly ["https://rpc.sepolia.org"];
1248
+ };
1249
+ };
1250
+ sourceId?: number | undefined;
1251
+ testnet: true;
1252
+ custom?: Record<string, unknown> | undefined;
1253
+ formatters?: undefined;
1254
+ serializers?: import("viem").ChainSerializers<undefined> | undefined;
1255
+ fees?: import("viem").ChainFees<undefined> | undefined;
1256
+ };
1257
+ readonly 7: {
1258
+ blockExplorers: {
1259
+ readonly default: {
1260
+ readonly name: "Basescan";
1261
+ readonly url: "https://sepolia.basescan.org";
1262
+ readonly apiUrl: "https://api-sepolia.basescan.org/api";
1263
+ };
1264
+ };
1265
+ contracts: {
1266
+ readonly l2OutputOracle: {
1267
+ readonly 11155111: {
1268
+ readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
1269
+ };
1270
+ };
1271
+ readonly portal: {
1272
+ readonly 11155111: {
1273
+ readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
1274
+ readonly blockCreated: 4446677;
1275
+ };
1276
+ };
1277
+ readonly l1StandardBridge: {
1278
+ readonly 11155111: {
1279
+ readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
1280
+ readonly blockCreated: 4446677;
1281
+ };
1282
+ };
1283
+ readonly multicall3: {
1284
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1285
+ readonly blockCreated: 1059647;
1286
+ };
1287
+ readonly gasPriceOracle: {
1288
+ readonly address: "0x420000000000000000000000000000000000000F";
1289
+ };
1290
+ readonly l1Block: {
1291
+ readonly address: "0x4200000000000000000000000000000000000015";
1292
+ };
1293
+ readonly l2CrossDomainMessenger: {
1294
+ readonly address: "0x4200000000000000000000000000000000000007";
1295
+ };
1296
+ readonly l2Erc721Bridge: {
1297
+ readonly address: "0x4200000000000000000000000000000000000014";
1298
+ };
1299
+ readonly l2StandardBridge: {
1300
+ readonly address: "0x4200000000000000000000000000000000000010";
1301
+ };
1302
+ readonly l2ToL1MessagePasser: {
1303
+ readonly address: "0x4200000000000000000000000000000000000016";
1304
+ };
1305
+ };
1306
+ id: 84532;
1307
+ name: "Base Sepolia";
1308
+ nativeCurrency: {
1309
+ readonly name: "Sepolia Ether";
1310
+ readonly symbol: "ETH";
1311
+ readonly decimals: 18;
1312
+ };
1313
+ rpcUrls: {
1314
+ readonly default: {
1315
+ readonly http: readonly ["https://sepolia.base.org"];
1316
+ };
1317
+ };
1318
+ sourceId: 11155111;
1319
+ testnet: true;
1320
+ custom?: Record<string, unknown> | undefined;
1321
+ formatters: {
1322
+ readonly block: {
1323
+ exclude: [] | undefined;
1324
+ format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>>>, import("viem/chains").OpStackRpcBlockOverrides & {
1325
+ transactions: `0x${string}`[] | import("viem/chains").OpStackRpcTransaction<boolean>[];
1326
+ }>) => {
1327
+ baseFeePerGas: bigint | null;
1328
+ blobGasUsed: bigint;
1329
+ difficulty: bigint;
1330
+ excessBlobGas: bigint;
1331
+ extraData: `0x${string}`;
1332
+ gasLimit: bigint;
1333
+ gasUsed: bigint;
1334
+ hash: `0x${string}` | null;
1335
+ logsBloom: `0x${string}` | null;
1336
+ miner: `0x${string}`;
1337
+ mixHash: `0x${string}`;
1338
+ nonce: `0x${string}` | null;
1339
+ number: bigint | null;
1340
+ parentHash: `0x${string}`;
1341
+ receiptsRoot: `0x${string}`;
1342
+ sealFields: `0x${string}`[];
1343
+ sha3Uncles: `0x${string}`;
1344
+ size: bigint;
1345
+ stateRoot: `0x${string}`;
1346
+ timestamp: bigint;
1347
+ totalDifficulty: bigint | null;
1348
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1349
+ transactionsRoot: `0x${string}`;
1350
+ uncles: `0x${string}`[];
1351
+ withdrawals?: import("viem").Withdrawal[] | undefined;
1352
+ withdrawalsRoot?: `0x${string}` | undefined;
1353
+ };
1354
+ type: "block";
1355
+ };
1356
+ readonly transaction: {
1357
+ exclude: [] | undefined;
1358
+ format: (args: ({
1359
+ r?: `0x${string}` | undefined;
1360
+ s?: `0x${string}` | undefined;
1361
+ v?: `0x${string}` | undefined;
1362
+ yParity?: `0x${string}` | undefined;
1363
+ gasPrice?: `0x${string}` | undefined;
1364
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1365
+ maxFeePerGas?: `0x${string}` | undefined;
1366
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1367
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1368
+ to?: `0x${string}` | null | undefined;
1369
+ from?: `0x${string}` | undefined;
1370
+ gas?: `0x${string}` | undefined;
1371
+ nonce?: `0x${string}` | undefined;
1372
+ value?: `0x${string}` | undefined;
1373
+ accessList?: undefined;
1374
+ blobVersionedHashes?: undefined;
1375
+ blockHash?: `0x${string}` | null | undefined;
1376
+ blockNumber?: `0x${string}` | null | undefined;
1377
+ hash?: `0x${string}` | undefined;
1378
+ input?: `0x${string}` | undefined;
1379
+ transactionIndex?: `0x${string}` | null | undefined;
1380
+ chainId?: `0x${string}` | undefined;
1381
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1382
+ r: `0x${string}`;
1383
+ s: `0x${string}`;
1384
+ v: `0x${string}`;
1385
+ to: `0x${string}` | null;
1386
+ from: `0x${string}`;
1387
+ gas: `0x${string}`;
1388
+ nonce: `0x${string}`;
1389
+ value: `0x${string}`;
1390
+ blockHash: `0x${string}` | null;
1391
+ blockNumber: `0x${string}` | null;
1392
+ hash: `0x${string}`;
1393
+ input: `0x${string}`;
1394
+ transactionIndex: `0x${string}` | null;
1395
+ typeHex: `0x${string}` | null;
1396
+ gasPrice: `0x${string}`;
1397
+ maxFeePerBlobGas?: undefined;
1398
+ maxFeePerGas?: undefined;
1399
+ maxPriorityFeePerGas?: undefined;
1400
+ accessList?: undefined;
1401
+ blobVersionedHashes?: undefined;
1402
+ chainId?: `0x${string}` | undefined;
1403
+ yParity?: undefined;
1404
+ type: "0x0";
1405
+ }, "yParity">, "typeHex"> & {
1406
+ isSystemTx?: undefined;
1407
+ mint?: undefined;
1408
+ sourceHash?: undefined;
1409
+ }) | ({
1410
+ r?: `0x${string}` | undefined;
1411
+ s?: `0x${string}` | undefined;
1412
+ v?: `0x${string}` | undefined;
1413
+ yParity?: `0x${string}` | undefined;
1414
+ gasPrice?: `0x${string}` | undefined;
1415
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1416
+ maxFeePerGas?: `0x${string}` | undefined;
1417
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1418
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1419
+ to?: `0x${string}` | null | undefined;
1420
+ from?: `0x${string}` | undefined;
1421
+ gas?: `0x${string}` | undefined;
1422
+ nonce?: `0x${string}` | undefined;
1423
+ value?: `0x${string}` | undefined;
1424
+ accessList?: undefined;
1425
+ blobVersionedHashes?: undefined;
1426
+ blockHash?: `0x${string}` | null | undefined;
1427
+ blockNumber?: `0x${string}` | null | undefined;
1428
+ hash?: `0x${string}` | undefined;
1429
+ input?: `0x${string}` | undefined;
1430
+ transactionIndex?: `0x${string}` | null | undefined;
1431
+ chainId?: `0x${string}` | undefined;
1432
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1433
+ isSystemTx?: boolean | undefined;
1434
+ mint?: `0x${string}` | undefined;
1435
+ sourceHash: `0x${string}`;
1436
+ type: "0x7e";
1437
+ }) | ({
1438
+ r?: `0x${string}` | undefined;
1439
+ s?: `0x${string}` | undefined;
1440
+ v?: `0x${string}` | undefined;
1441
+ yParity?: `0x${string}` | undefined;
1442
+ gasPrice?: `0x${string}` | undefined;
1443
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1444
+ maxFeePerGas?: `0x${string}` | undefined;
1445
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1446
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1447
+ to?: `0x${string}` | null | undefined;
1448
+ from?: `0x${string}` | undefined;
1449
+ gas?: `0x${string}` | undefined;
1450
+ nonce?: `0x${string}` | undefined;
1451
+ value?: `0x${string}` | undefined;
1452
+ accessList?: import("viem").AccessList | undefined;
1453
+ blobVersionedHashes?: undefined;
1454
+ blockHash?: `0x${string}` | null | undefined;
1455
+ blockNumber?: `0x${string}` | null | undefined;
1456
+ hash?: `0x${string}` | undefined;
1457
+ input?: `0x${string}` | undefined;
1458
+ transactionIndex?: `0x${string}` | null | undefined;
1459
+ chainId?: `0x${string}` | undefined;
1460
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1461
+ r: `0x${string}`;
1462
+ s: `0x${string}`;
1463
+ v: `0x${string}`;
1464
+ to: `0x${string}` | null;
1465
+ from: `0x${string}`;
1466
+ gas: `0x${string}`;
1467
+ nonce: `0x${string}`;
1468
+ value: `0x${string}`;
1469
+ blockHash: `0x${string}` | null;
1470
+ blockNumber: `0x${string}` | null;
1471
+ hash: `0x${string}`;
1472
+ input: `0x${string}`;
1473
+ transactionIndex: `0x${string}` | null;
1474
+ typeHex: `0x${string}` | null;
1475
+ gasPrice: `0x${string}`;
1476
+ maxFeePerBlobGas?: undefined;
1477
+ maxFeePerGas?: undefined;
1478
+ maxPriorityFeePerGas?: undefined;
1479
+ accessList?: undefined;
1480
+ blobVersionedHashes?: undefined;
1481
+ chainId?: `0x${string}` | undefined;
1482
+ yParity?: undefined;
1483
+ type: "0x0";
1484
+ }, "yParity">, "typeHex"> & {
1485
+ isSystemTx?: undefined;
1486
+ mint?: undefined;
1487
+ sourceHash?: undefined;
1488
+ }) | ({
1489
+ r?: `0x${string}` | undefined;
1490
+ s?: `0x${string}` | undefined;
1491
+ v?: `0x${string}` | undefined;
1492
+ yParity?: `0x${string}` | undefined;
1493
+ gasPrice?: `0x${string}` | undefined;
1494
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1495
+ maxFeePerGas?: `0x${string}` | undefined;
1496
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1497
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1498
+ to?: `0x${string}` | null | undefined;
1499
+ from?: `0x${string}` | undefined;
1500
+ gas?: `0x${string}` | undefined;
1501
+ nonce?: `0x${string}` | undefined;
1502
+ value?: `0x${string}` | undefined;
1503
+ accessList?: import("viem").AccessList | undefined;
1504
+ blobVersionedHashes?: undefined;
1505
+ blockHash?: `0x${string}` | null | undefined;
1506
+ blockNumber?: `0x${string}` | null | undefined;
1507
+ hash?: `0x${string}` | undefined;
1508
+ input?: `0x${string}` | undefined;
1509
+ transactionIndex?: `0x${string}` | null | undefined;
1510
+ chainId?: `0x${string}` | undefined;
1511
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1512
+ blockHash: `0x${string}` | null;
1513
+ blockNumber: `0x${string}` | null;
1514
+ from: `0x${string}`;
1515
+ gas: `0x${string}`;
1516
+ hash: `0x${string}`;
1517
+ input: `0x${string}`;
1518
+ nonce: `0x${string}`;
1519
+ r: `0x${string}`;
1520
+ s: `0x${string}`;
1521
+ to: `0x${string}` | null;
1522
+ transactionIndex: `0x${string}` | null;
1523
+ typeHex: `0x${string}` | null;
1524
+ v: `0x${string}`;
1525
+ value: `0x${string}`;
1526
+ yParity: `0x${string}`;
1527
+ gasPrice: `0x${string}`;
1528
+ maxFeePerBlobGas?: undefined;
1529
+ maxFeePerGas?: undefined;
1530
+ maxPriorityFeePerGas?: undefined;
1531
+ accessList: import("viem").AccessList;
1532
+ blobVersionedHashes?: undefined;
1533
+ chainId: `0x${string}`;
1534
+ type: "0x1";
1535
+ }, "yParity">, "typeHex"> & {
1536
+ isSystemTx?: undefined;
1537
+ mint?: undefined;
1538
+ sourceHash?: undefined;
1539
+ }) | ({
1540
+ r?: `0x${string}` | undefined;
1541
+ s?: `0x${string}` | undefined;
1542
+ v?: `0x${string}` | undefined;
1543
+ yParity?: `0x${string}` | undefined;
1544
+ gasPrice?: `0x${string}` | undefined;
1545
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1546
+ maxFeePerGas?: `0x${string}` | undefined;
1547
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1548
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1549
+ to?: `0x${string}` | null | undefined;
1550
+ from?: `0x${string}` | undefined;
1551
+ gas?: `0x${string}` | undefined;
1552
+ nonce?: `0x${string}` | undefined;
1553
+ value?: `0x${string}` | undefined;
1554
+ accessList?: import("viem").AccessList | undefined;
1555
+ blobVersionedHashes?: undefined;
1556
+ blockHash?: `0x${string}` | null | undefined;
1557
+ blockNumber?: `0x${string}` | null | undefined;
1558
+ hash?: `0x${string}` | undefined;
1559
+ input?: `0x${string}` | undefined;
1560
+ transactionIndex?: `0x${string}` | null | undefined;
1561
+ chainId?: `0x${string}` | undefined;
1562
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1563
+ blockHash: `0x${string}` | null;
1564
+ blockNumber: `0x${string}` | null;
1565
+ from: `0x${string}`;
1566
+ gas: `0x${string}`;
1567
+ hash: `0x${string}`;
1568
+ input: `0x${string}`;
1569
+ nonce: `0x${string}`;
1570
+ r: `0x${string}`;
1571
+ s: `0x${string}`;
1572
+ to: `0x${string}` | null;
1573
+ transactionIndex: `0x${string}` | null;
1574
+ typeHex: `0x${string}` | null;
1575
+ v: `0x${string}`;
1576
+ value: `0x${string}`;
1577
+ yParity: `0x${string}`;
1578
+ gasPrice?: undefined;
1579
+ maxFeePerBlobGas?: undefined;
1580
+ maxFeePerGas: `0x${string}`;
1581
+ maxPriorityFeePerGas: `0x${string}`;
1582
+ accessList: import("viem").AccessList;
1583
+ blobVersionedHashes?: undefined;
1584
+ chainId: `0x${string}`;
1585
+ type: "0x2";
1586
+ }, "yParity">, "typeHex"> & {
1587
+ isSystemTx?: undefined;
1588
+ mint?: undefined;
1589
+ sourceHash?: undefined;
1590
+ }) | ({
1591
+ r?: `0x${string}` | undefined;
1592
+ s?: `0x${string}` | undefined;
1593
+ v?: `0x${string}` | undefined;
1594
+ yParity?: `0x${string}` | undefined;
1595
+ gasPrice?: `0x${string}` | undefined;
1596
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1597
+ maxFeePerGas?: `0x${string}` | undefined;
1598
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1599
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1600
+ to?: `0x${string}` | null | undefined;
1601
+ from?: `0x${string}` | undefined;
1602
+ gas?: `0x${string}` | undefined;
1603
+ nonce?: `0x${string}` | undefined;
1604
+ value?: `0x${string}` | undefined;
1605
+ accessList?: import("viem").AccessList | undefined;
1606
+ blobVersionedHashes?: undefined;
1607
+ blockHash?: `0x${string}` | null | undefined;
1608
+ blockNumber?: `0x${string}` | null | undefined;
1609
+ hash?: `0x${string}` | undefined;
1610
+ input?: `0x${string}` | undefined;
1611
+ transactionIndex?: `0x${string}` | null | undefined;
1612
+ chainId?: `0x${string}` | undefined;
1613
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1614
+ isSystemTx?: boolean | undefined;
1615
+ mint?: `0x${string}` | undefined;
1616
+ sourceHash: `0x${string}`;
1617
+ type: "0x7e";
1618
+ }) | ({
1619
+ r?: `0x${string}` | undefined;
1620
+ s?: `0x${string}` | undefined;
1621
+ v?: `0x${string}` | undefined;
1622
+ yParity?: `0x${string}` | undefined;
1623
+ gasPrice?: `0x${string}` | undefined;
1624
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1625
+ maxFeePerGas?: `0x${string}` | undefined;
1626
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1627
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1628
+ to?: `0x${string}` | null | undefined;
1629
+ from?: `0x${string}` | undefined;
1630
+ gas?: `0x${string}` | undefined;
1631
+ nonce?: `0x${string}` | undefined;
1632
+ value?: `0x${string}` | undefined;
1633
+ accessList?: import("viem").AccessList | undefined;
1634
+ blobVersionedHashes?: undefined;
1635
+ blockHash?: `0x${string}` | null | undefined;
1636
+ blockNumber?: `0x${string}` | null | undefined;
1637
+ hash?: `0x${string}` | undefined;
1638
+ input?: `0x${string}` | undefined;
1639
+ transactionIndex?: `0x${string}` | null | undefined;
1640
+ chainId?: `0x${string}` | undefined;
1641
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1642
+ r: `0x${string}`;
1643
+ s: `0x${string}`;
1644
+ v: `0x${string}`;
1645
+ to: `0x${string}` | null;
1646
+ from: `0x${string}`;
1647
+ gas: `0x${string}`;
1648
+ nonce: `0x${string}`;
1649
+ value: `0x${string}`;
1650
+ blockHash: `0x${string}` | null;
1651
+ blockNumber: `0x${string}` | null;
1652
+ hash: `0x${string}`;
1653
+ input: `0x${string}`;
1654
+ transactionIndex: `0x${string}` | null;
1655
+ typeHex: `0x${string}` | null;
1656
+ gasPrice: `0x${string}`;
1657
+ maxFeePerBlobGas?: undefined;
1658
+ maxFeePerGas?: undefined;
1659
+ maxPriorityFeePerGas?: undefined;
1660
+ accessList?: undefined;
1661
+ blobVersionedHashes?: undefined;
1662
+ chainId?: `0x${string}` | undefined;
1663
+ yParity?: undefined;
1664
+ type: "0x0";
1665
+ }, "yParity">, "typeHex"> & {
1666
+ isSystemTx?: undefined;
1667
+ mint?: undefined;
1668
+ sourceHash?: undefined;
1669
+ }) | ({
1670
+ r?: `0x${string}` | undefined;
1671
+ s?: `0x${string}` | undefined;
1672
+ v?: `0x${string}` | undefined;
1673
+ yParity?: `0x${string}` | undefined;
1674
+ gasPrice?: `0x${string}` | undefined;
1675
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1676
+ maxFeePerGas?: `0x${string}` | undefined;
1677
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1678
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1679
+ to?: `0x${string}` | null | undefined;
1680
+ from?: `0x${string}` | undefined;
1681
+ gas?: `0x${string}` | undefined;
1682
+ nonce?: `0x${string}` | undefined;
1683
+ value?: `0x${string}` | undefined;
1684
+ accessList?: import("viem").AccessList | undefined;
1685
+ blobVersionedHashes?: undefined;
1686
+ blockHash?: `0x${string}` | null | undefined;
1687
+ blockNumber?: `0x${string}` | null | undefined;
1688
+ hash?: `0x${string}` | undefined;
1689
+ input?: `0x${string}` | undefined;
1690
+ transactionIndex?: `0x${string}` | null | undefined;
1691
+ chainId?: `0x${string}` | undefined;
1692
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1693
+ blockHash: `0x${string}` | null;
1694
+ blockNumber: `0x${string}` | null;
1695
+ from: `0x${string}`;
1696
+ gas: `0x${string}`;
1697
+ hash: `0x${string}`;
1698
+ input: `0x${string}`;
1699
+ nonce: `0x${string}`;
1700
+ r: `0x${string}`;
1701
+ s: `0x${string}`;
1702
+ to: `0x${string}` | null;
1703
+ transactionIndex: `0x${string}` | null;
1704
+ typeHex: `0x${string}` | null;
1705
+ v: `0x${string}`;
1706
+ value: `0x${string}`;
1707
+ yParity: `0x${string}`;
1708
+ gasPrice: `0x${string}`;
1709
+ maxFeePerBlobGas?: undefined;
1710
+ maxFeePerGas?: undefined;
1711
+ maxPriorityFeePerGas?: undefined;
1712
+ accessList: import("viem").AccessList;
1713
+ blobVersionedHashes?: undefined;
1714
+ chainId: `0x${string}`;
1715
+ type: "0x1";
1716
+ }, "yParity">, "typeHex"> & {
1717
+ isSystemTx?: undefined;
1718
+ mint?: undefined;
1719
+ sourceHash?: undefined;
1720
+ }) | ({
1721
+ r?: `0x${string}` | undefined;
1722
+ s?: `0x${string}` | undefined;
1723
+ v?: `0x${string}` | undefined;
1724
+ yParity?: `0x${string}` | undefined;
1725
+ gasPrice?: `0x${string}` | undefined;
1726
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1727
+ maxFeePerGas?: `0x${string}` | undefined;
1728
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1729
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1730
+ to?: `0x${string}` | null | undefined;
1731
+ from?: `0x${string}` | undefined;
1732
+ gas?: `0x${string}` | undefined;
1733
+ nonce?: `0x${string}` | undefined;
1734
+ value?: `0x${string}` | undefined;
1735
+ accessList?: import("viem").AccessList | undefined;
1736
+ blobVersionedHashes?: undefined;
1737
+ blockHash?: `0x${string}` | null | undefined;
1738
+ blockNumber?: `0x${string}` | null | undefined;
1739
+ hash?: `0x${string}` | undefined;
1740
+ input?: `0x${string}` | undefined;
1741
+ transactionIndex?: `0x${string}` | null | undefined;
1742
+ chainId?: `0x${string}` | undefined;
1743
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1744
+ blockHash: `0x${string}` | null;
1745
+ blockNumber: `0x${string}` | null;
1746
+ from: `0x${string}`;
1747
+ gas: `0x${string}`;
1748
+ hash: `0x${string}`;
1749
+ input: `0x${string}`;
1750
+ nonce: `0x${string}`;
1751
+ r: `0x${string}`;
1752
+ s: `0x${string}`;
1753
+ to: `0x${string}` | null;
1754
+ transactionIndex: `0x${string}` | null;
1755
+ typeHex: `0x${string}` | null;
1756
+ v: `0x${string}`;
1757
+ value: `0x${string}`;
1758
+ yParity: `0x${string}`;
1759
+ gasPrice?: undefined;
1760
+ maxFeePerBlobGas?: undefined;
1761
+ maxFeePerGas: `0x${string}`;
1762
+ maxPriorityFeePerGas: `0x${string}`;
1763
+ accessList: import("viem").AccessList;
1764
+ blobVersionedHashes?: undefined;
1765
+ chainId: `0x${string}`;
1766
+ type: "0x2";
1767
+ }, "yParity">, "typeHex"> & {
1768
+ isSystemTx?: undefined;
1769
+ mint?: undefined;
1770
+ sourceHash?: undefined;
1771
+ }) | ({
1772
+ r?: `0x${string}` | undefined;
1773
+ s?: `0x${string}` | undefined;
1774
+ v?: `0x${string}` | undefined;
1775
+ yParity?: `0x${string}` | undefined;
1776
+ gasPrice?: `0x${string}` | undefined;
1777
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1778
+ maxFeePerGas?: `0x${string}` | undefined;
1779
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1780
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1781
+ to?: `0x${string}` | null | undefined;
1782
+ from?: `0x${string}` | undefined;
1783
+ gas?: `0x${string}` | undefined;
1784
+ nonce?: `0x${string}` | undefined;
1785
+ value?: `0x${string}` | undefined;
1786
+ accessList?: import("viem").AccessList | undefined;
1787
+ blobVersionedHashes?: undefined;
1788
+ blockHash?: `0x${string}` | null | undefined;
1789
+ blockNumber?: `0x${string}` | null | undefined;
1790
+ hash?: `0x${string}` | undefined;
1791
+ input?: `0x${string}` | undefined;
1792
+ transactionIndex?: `0x${string}` | null | undefined;
1793
+ chainId?: `0x${string}` | undefined;
1794
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1795
+ isSystemTx?: boolean | undefined;
1796
+ mint?: `0x${string}` | undefined;
1797
+ sourceHash: `0x${string}`;
1798
+ type: "0x7e";
1799
+ }) | ({
1800
+ r?: `0x${string}` | undefined;
1801
+ s?: `0x${string}` | undefined;
1802
+ v?: `0x${string}` | undefined;
1803
+ yParity?: `0x${string}` | undefined;
1804
+ gasPrice?: `0x${string}` | undefined;
1805
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1806
+ maxFeePerGas?: `0x${string}` | undefined;
1807
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1808
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1809
+ to?: `0x${string}` | null | undefined;
1810
+ from?: `0x${string}` | undefined;
1811
+ gas?: `0x${string}` | undefined;
1812
+ nonce?: `0x${string}` | undefined;
1813
+ value?: `0x${string}` | undefined;
1814
+ accessList?: import("viem").AccessList | undefined;
1815
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1816
+ blockHash?: `0x${string}` | null | undefined;
1817
+ blockNumber?: `0x${string}` | null | undefined;
1818
+ hash?: `0x${string}` | undefined;
1819
+ input?: `0x${string}` | undefined;
1820
+ transactionIndex?: `0x${string}` | null | undefined;
1821
+ chainId?: `0x${string}` | undefined;
1822
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1823
+ r: `0x${string}`;
1824
+ s: `0x${string}`;
1825
+ v: `0x${string}`;
1826
+ to: `0x${string}` | null;
1827
+ from: `0x${string}`;
1828
+ gas: `0x${string}`;
1829
+ nonce: `0x${string}`;
1830
+ value: `0x${string}`;
1831
+ blockHash: `0x${string}` | null;
1832
+ blockNumber: `0x${string}` | null;
1833
+ hash: `0x${string}`;
1834
+ input: `0x${string}`;
1835
+ transactionIndex: `0x${string}` | null;
1836
+ typeHex: `0x${string}` | null;
1837
+ gasPrice: `0x${string}`;
1838
+ maxFeePerBlobGas?: undefined;
1839
+ maxFeePerGas?: undefined;
1840
+ maxPriorityFeePerGas?: undefined;
1841
+ accessList?: undefined;
1842
+ blobVersionedHashes?: undefined;
1843
+ chainId?: `0x${string}` | undefined;
1844
+ yParity?: undefined;
1845
+ type: "0x0";
1846
+ }, "yParity">, "typeHex"> & {
1847
+ isSystemTx?: undefined;
1848
+ mint?: undefined;
1849
+ sourceHash?: undefined;
1850
+ }) | ({
1851
+ r?: `0x${string}` | undefined;
1852
+ s?: `0x${string}` | undefined;
1853
+ v?: `0x${string}` | undefined;
1854
+ yParity?: `0x${string}` | undefined;
1855
+ gasPrice?: `0x${string}` | undefined;
1856
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1857
+ maxFeePerGas?: `0x${string}` | undefined;
1858
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1859
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1860
+ to?: `0x${string}` | null | undefined;
1861
+ from?: `0x${string}` | undefined;
1862
+ gas?: `0x${string}` | undefined;
1863
+ nonce?: `0x${string}` | undefined;
1864
+ value?: `0x${string}` | undefined;
1865
+ accessList?: import("viem").AccessList | undefined;
1866
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1867
+ blockHash?: `0x${string}` | null | undefined;
1868
+ blockNumber?: `0x${string}` | null | undefined;
1869
+ hash?: `0x${string}` | undefined;
1870
+ input?: `0x${string}` | undefined;
1871
+ transactionIndex?: `0x${string}` | null | undefined;
1872
+ chainId?: `0x${string}` | undefined;
1873
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1874
+ blockHash: `0x${string}` | null;
1875
+ blockNumber: `0x${string}` | null;
1876
+ from: `0x${string}`;
1877
+ gas: `0x${string}`;
1878
+ hash: `0x${string}`;
1879
+ input: `0x${string}`;
1880
+ nonce: `0x${string}`;
1881
+ r: `0x${string}`;
1882
+ s: `0x${string}`;
1883
+ to: `0x${string}` | null;
1884
+ transactionIndex: `0x${string}` | null;
1885
+ typeHex: `0x${string}` | null;
1886
+ v: `0x${string}`;
1887
+ value: `0x${string}`;
1888
+ yParity: `0x${string}`;
1889
+ gasPrice: `0x${string}`;
1890
+ maxFeePerBlobGas?: undefined;
1891
+ maxFeePerGas?: undefined;
1892
+ maxPriorityFeePerGas?: undefined;
1893
+ accessList: import("viem").AccessList;
1894
+ blobVersionedHashes?: undefined;
1895
+ chainId: `0x${string}`;
1896
+ type: "0x1";
1897
+ }, "yParity">, "typeHex"> & {
1898
+ isSystemTx?: undefined;
1899
+ mint?: undefined;
1900
+ sourceHash?: undefined;
1901
+ }) | ({
1902
+ r?: `0x${string}` | undefined;
1903
+ s?: `0x${string}` | undefined;
1904
+ v?: `0x${string}` | undefined;
1905
+ yParity?: `0x${string}` | undefined;
1906
+ gasPrice?: `0x${string}` | undefined;
1907
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1908
+ maxFeePerGas?: `0x${string}` | undefined;
1909
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1910
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1911
+ to?: `0x${string}` | null | undefined;
1912
+ from?: `0x${string}` | undefined;
1913
+ gas?: `0x${string}` | undefined;
1914
+ nonce?: `0x${string}` | undefined;
1915
+ value?: `0x${string}` | undefined;
1916
+ accessList?: import("viem").AccessList | undefined;
1917
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1918
+ blockHash?: `0x${string}` | null | undefined;
1919
+ blockNumber?: `0x${string}` | null | undefined;
1920
+ hash?: `0x${string}` | undefined;
1921
+ input?: `0x${string}` | undefined;
1922
+ transactionIndex?: `0x${string}` | null | undefined;
1923
+ chainId?: `0x${string}` | undefined;
1924
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1925
+ blockHash: `0x${string}` | null;
1926
+ blockNumber: `0x${string}` | null;
1927
+ from: `0x${string}`;
1928
+ gas: `0x${string}`;
1929
+ hash: `0x${string}`;
1930
+ input: `0x${string}`;
1931
+ nonce: `0x${string}`;
1932
+ r: `0x${string}`;
1933
+ s: `0x${string}`;
1934
+ to: `0x${string}` | null;
1935
+ transactionIndex: `0x${string}` | null;
1936
+ typeHex: `0x${string}` | null;
1937
+ v: `0x${string}`;
1938
+ value: `0x${string}`;
1939
+ yParity: `0x${string}`;
1940
+ gasPrice?: undefined;
1941
+ maxFeePerBlobGas?: undefined;
1942
+ maxFeePerGas: `0x${string}`;
1943
+ maxPriorityFeePerGas: `0x${string}`;
1944
+ accessList: import("viem").AccessList;
1945
+ blobVersionedHashes?: undefined;
1946
+ chainId: `0x${string}`;
1947
+ type: "0x2";
1948
+ }, "yParity">, "typeHex"> & {
1949
+ isSystemTx?: undefined;
1950
+ mint?: undefined;
1951
+ sourceHash?: undefined;
1952
+ }) | ({
1953
+ r?: `0x${string}` | undefined;
1954
+ s?: `0x${string}` | undefined;
1955
+ v?: `0x${string}` | undefined;
1956
+ yParity?: `0x${string}` | undefined;
1957
+ gasPrice?: `0x${string}` | undefined;
1958
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1959
+ maxFeePerGas?: `0x${string}` | undefined;
1960
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1961
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
1962
+ to?: `0x${string}` | null | undefined;
1963
+ from?: `0x${string}` | undefined;
1964
+ gas?: `0x${string}` | undefined;
1965
+ nonce?: `0x${string}` | undefined;
1966
+ value?: `0x${string}` | undefined;
1967
+ accessList?: import("viem").AccessList | undefined;
1968
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1969
+ blockHash?: `0x${string}` | null | undefined;
1970
+ blockNumber?: `0x${string}` | null | undefined;
1971
+ hash?: `0x${string}` | undefined;
1972
+ input?: `0x${string}` | undefined;
1973
+ transactionIndex?: `0x${string}` | null | undefined;
1974
+ chainId?: `0x${string}` | undefined;
1975
+ } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1976
+ blockHash: `0x${string}` | null;
1977
+ blockNumber: `0x${string}` | null;
1978
+ from: `0x${string}`;
1979
+ gas: `0x${string}`;
1980
+ hash: `0x${string}`;
1981
+ input: `0x${string}`;
1982
+ nonce: `0x${string}`;
1983
+ r: `0x${string}`;
1984
+ s: `0x${string}`;
1985
+ to: `0x${string}` | null;
1986
+ transactionIndex: `0x${string}` | null;
1987
+ typeHex: `0x${string}` | null;
1988
+ v: `0x${string}`;
1989
+ value: `0x${string}`;
1990
+ yParity: `0x${string}`;
1991
+ gasPrice?: undefined;
1992
+ maxFeePerBlobGas: `0x${string}`;
1993
+ maxFeePerGas: `0x${string}`;
1994
+ maxPriorityFeePerGas: `0x${string}`;
1995
+ accessList: import("viem").AccessList;
1996
+ blobVersionedHashes: readonly `0x${string}`[];
1997
+ chainId: `0x${string}`;
1998
+ type: "0x3";
1999
+ }, "yParity">, "typeHex"> & {
2000
+ isSystemTx?: undefined;
2001
+ mint?: undefined;
2002
+ sourceHash?: undefined;
2003
+ }) | ({
2004
+ r?: `0x${string}` | undefined;
2005
+ s?: `0x${string}` | undefined;
2006
+ v?: `0x${string}` | undefined;
2007
+ yParity?: `0x${string}` | undefined;
2008
+ gasPrice?: `0x${string}` | undefined;
2009
+ maxFeePerBlobGas?: `0x${string}` | undefined;
2010
+ maxFeePerGas?: `0x${string}` | undefined;
2011
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2012
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
2013
+ to?: `0x${string}` | null | undefined;
2014
+ from?: `0x${string}` | undefined;
2015
+ gas?: `0x${string}` | undefined;
2016
+ nonce?: `0x${string}` | undefined;
2017
+ value?: `0x${string}` | undefined;
2018
+ accessList?: import("viem").AccessList | undefined;
2019
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2020
+ blockHash?: `0x${string}` | null | undefined;
2021
+ blockNumber?: `0x${string}` | null | undefined;
2022
+ hash?: `0x${string}` | undefined;
2023
+ input?: `0x${string}` | undefined;
2024
+ transactionIndex?: `0x${string}` | null | undefined;
2025
+ chainId?: `0x${string}` | undefined;
2026
+ } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
2027
+ isSystemTx?: boolean | undefined;
2028
+ mint?: `0x${string}` | undefined;
2029
+ sourceHash: `0x${string}`;
2030
+ type: "0x7e";
2031
+ })) => {
2032
+ r: `0x${string}`;
2033
+ s: `0x${string}`;
2034
+ v: bigint;
2035
+ to: `0x${string}` | null;
2036
+ from: `0x${string}`;
2037
+ gas: bigint;
2038
+ nonce: number;
2039
+ value: bigint;
2040
+ blockHash: `0x${string}` | null;
2041
+ blockNumber: bigint | null;
2042
+ hash: `0x${string}`;
2043
+ input: `0x${string}`;
2044
+ transactionIndex: number | null;
2045
+ typeHex: `0x${string}` | null;
2046
+ gasPrice: bigint;
2047
+ maxFeePerBlobGas?: undefined;
2048
+ maxFeePerGas?: undefined;
2049
+ maxPriorityFeePerGas?: undefined;
2050
+ accessList?: undefined;
2051
+ blobVersionedHashes?: undefined;
2052
+ chainId?: number | undefined;
2053
+ yParity?: undefined;
2054
+ type: "legacy";
2055
+ isSystemTx?: undefined;
2056
+ mint?: undefined;
2057
+ sourceHash?: undefined;
2058
+ } | {
2059
+ r: `0x${string}`;
2060
+ s: `0x${string}`;
2061
+ v: bigint;
2062
+ to: `0x${string}` | null;
2063
+ from: `0x${string}`;
2064
+ gas: bigint;
2065
+ nonce: number;
2066
+ value: bigint;
2067
+ blockHash: `0x${string}` | null;
2068
+ blockNumber: bigint | null;
2069
+ hash: `0x${string}`;
2070
+ input: `0x${string}`;
2071
+ transactionIndex: number | null;
2072
+ typeHex: `0x${string}` | null;
2073
+ gasPrice: undefined;
2074
+ maxFeePerBlobGas?: undefined;
2075
+ maxFeePerGas: bigint;
2076
+ maxPriorityFeePerGas: bigint;
2077
+ accessList?: undefined;
2078
+ blobVersionedHashes?: undefined;
2079
+ chainId?: number | undefined;
2080
+ yParity: number;
2081
+ type: "deposit";
2082
+ isSystemTx?: boolean | undefined;
2083
+ mint?: bigint | undefined;
2084
+ sourceHash: `0x${string}`;
2085
+ } | {
2086
+ blockHash: `0x${string}` | null;
2087
+ blockNumber: bigint | null;
2088
+ from: `0x${string}`;
2089
+ gas: bigint;
2090
+ hash: `0x${string}`;
2091
+ input: `0x${string}`;
2092
+ nonce: number;
2093
+ r: `0x${string}`;
2094
+ s: `0x${string}`;
2095
+ to: `0x${string}` | null;
2096
+ transactionIndex: number | null;
2097
+ typeHex: `0x${string}` | null;
2098
+ v: bigint;
2099
+ value: bigint;
2100
+ yParity: number;
2101
+ gasPrice: bigint;
2102
+ maxFeePerBlobGas?: undefined;
2103
+ maxFeePerGas?: undefined;
2104
+ maxPriorityFeePerGas?: undefined;
2105
+ accessList: import("viem").AccessList;
2106
+ blobVersionedHashes?: undefined;
2107
+ chainId: number;
2108
+ type: "eip2930";
2109
+ isSystemTx?: undefined;
2110
+ mint?: undefined;
2111
+ sourceHash?: undefined;
2112
+ } | {
2113
+ blockHash: `0x${string}` | null;
2114
+ blockNumber: bigint | null;
2115
+ from: `0x${string}`;
2116
+ gas: bigint;
2117
+ hash: `0x${string}`;
2118
+ input: `0x${string}`;
2119
+ nonce: number;
2120
+ r: `0x${string}`;
2121
+ s: `0x${string}`;
2122
+ to: `0x${string}` | null;
2123
+ transactionIndex: number | null;
2124
+ typeHex: `0x${string}` | null;
2125
+ v: bigint;
2126
+ value: bigint;
2127
+ yParity: number;
2128
+ gasPrice: undefined;
2129
+ maxFeePerBlobGas?: undefined;
2130
+ maxFeePerGas: bigint;
2131
+ maxPriorityFeePerGas: bigint;
2132
+ accessList: import("viem").AccessList;
2133
+ blobVersionedHashes?: undefined;
2134
+ chainId: number;
2135
+ type: "eip1559";
2136
+ isSystemTx?: undefined;
2137
+ mint?: undefined;
2138
+ sourceHash?: undefined;
2139
+ } | {
2140
+ blockHash: `0x${string}` | null;
2141
+ blockNumber: bigint | null;
2142
+ from: `0x${string}`;
2143
+ gas: bigint;
2144
+ hash: `0x${string}`;
2145
+ input: `0x${string}`;
2146
+ nonce: number;
2147
+ r: `0x${string}`;
2148
+ s: `0x${string}`;
2149
+ to: `0x${string}` | null;
2150
+ transactionIndex: number | null;
2151
+ typeHex: `0x${string}` | null;
2152
+ v: bigint;
2153
+ value: bigint;
2154
+ yParity: number;
2155
+ gasPrice: undefined;
2156
+ maxFeePerBlobGas?: undefined;
2157
+ maxFeePerGas: bigint;
2158
+ maxPriorityFeePerGas: bigint;
2159
+ accessList: import("viem").AccessList;
2160
+ blobVersionedHashes?: undefined;
2161
+ chainId: number;
2162
+ type: "deposit";
2163
+ isSystemTx?: boolean | undefined;
2164
+ mint?: bigint | undefined;
2165
+ sourceHash: `0x${string}`;
2166
+ } | {
2167
+ blockHash: `0x${string}` | null;
2168
+ blockNumber: bigint | null;
2169
+ from: `0x${string}`;
2170
+ gas: bigint;
2171
+ hash: `0x${string}`;
2172
+ input: `0x${string}`;
2173
+ nonce: number;
2174
+ r: `0x${string}`;
2175
+ s: `0x${string}`;
2176
+ to: `0x${string}` | null;
2177
+ transactionIndex: number | null;
2178
+ typeHex: `0x${string}` | null;
2179
+ v: bigint;
2180
+ value: bigint;
2181
+ yParity: number;
2182
+ gasPrice: bigint;
2183
+ maxFeePerBlobGas?: undefined;
2184
+ maxFeePerGas: undefined;
2185
+ maxPriorityFeePerGas: undefined;
2186
+ accessList: import("viem").AccessList;
2187
+ blobVersionedHashes?: undefined;
2188
+ chainId: number;
2189
+ type: "eip2930";
2190
+ isSystemTx?: undefined;
2191
+ mint?: undefined;
2192
+ sourceHash?: undefined;
2193
+ } | {
2194
+ blockHash: `0x${string}` | null;
2195
+ blockNumber: bigint | null;
2196
+ from: `0x${string}`;
2197
+ gas: bigint;
2198
+ hash: `0x${string}`;
2199
+ input: `0x${string}`;
2200
+ nonce: number;
2201
+ r: `0x${string}`;
2202
+ s: `0x${string}`;
2203
+ to: `0x${string}` | null;
2204
+ transactionIndex: number | null;
2205
+ typeHex: `0x${string}` | null;
2206
+ v: bigint;
2207
+ value: bigint;
2208
+ yParity: number;
2209
+ gasPrice?: undefined;
2210
+ maxFeePerBlobGas?: undefined;
2211
+ maxFeePerGas: bigint;
2212
+ maxPriorityFeePerGas: bigint;
2213
+ accessList: import("viem").AccessList;
2214
+ blobVersionedHashes?: undefined;
2215
+ chainId: number;
2216
+ type: "eip1559";
2217
+ isSystemTx?: undefined;
2218
+ mint?: undefined;
2219
+ sourceHash?: undefined;
2220
+ } | {
2221
+ blockHash: `0x${string}` | null;
2222
+ blockNumber: bigint | null;
2223
+ from: `0x${string}`;
2224
+ gas: bigint;
2225
+ hash: `0x${string}`;
2226
+ input: `0x${string}`;
2227
+ nonce: number;
2228
+ r: `0x${string}`;
2229
+ s: `0x${string}`;
2230
+ to: `0x${string}` | null;
2231
+ transactionIndex: number | null;
2232
+ typeHex: `0x${string}` | null;
2233
+ v: bigint;
2234
+ value: bigint;
2235
+ yParity: number;
2236
+ gasPrice?: undefined;
2237
+ maxFeePerBlobGas?: undefined;
2238
+ maxFeePerGas: bigint;
2239
+ maxPriorityFeePerGas: bigint;
2240
+ accessList: import("viem").AccessList;
2241
+ blobVersionedHashes?: undefined;
2242
+ chainId: number;
2243
+ type: "deposit";
2244
+ isSystemTx?: boolean | undefined;
2245
+ mint?: bigint | undefined;
2246
+ sourceHash: `0x${string}`;
2247
+ } | {
2248
+ blockHash: `0x${string}` | null;
2249
+ blockNumber: bigint | null;
2250
+ from: `0x${string}`;
2251
+ gas: bigint;
2252
+ hash: `0x${string}`;
2253
+ input: `0x${string}`;
2254
+ nonce: number;
2255
+ r: `0x${string}`;
2256
+ s: `0x${string}`;
2257
+ to: `0x${string}` | null;
2258
+ transactionIndex: number | null;
2259
+ typeHex: `0x${string}` | null;
2260
+ v: bigint;
2261
+ value: bigint;
2262
+ yParity: number;
2263
+ gasPrice?: undefined;
2264
+ maxFeePerBlobGas: bigint;
2265
+ maxFeePerGas: bigint;
2266
+ maxPriorityFeePerGas: bigint;
2267
+ accessList: import("viem").AccessList;
2268
+ blobVersionedHashes: readonly `0x${string}`[];
2269
+ chainId: number;
2270
+ type: "eip4844";
2271
+ isSystemTx?: undefined;
2272
+ mint?: undefined;
2273
+ sourceHash?: undefined;
2274
+ } | {
2275
+ blockHash: `0x${string}` | null;
2276
+ blockNumber: bigint | null;
2277
+ from: `0x${string}`;
2278
+ gas: bigint;
2279
+ hash: `0x${string}`;
2280
+ input: `0x${string}`;
2281
+ nonce: number;
2282
+ r: `0x${string}`;
2283
+ s: `0x${string}`;
2284
+ to: `0x${string}` | null;
2285
+ transactionIndex: number | null;
2286
+ typeHex: `0x${string}` | null;
2287
+ v: bigint;
2288
+ value: bigint;
2289
+ yParity: number;
2290
+ gasPrice?: undefined;
2291
+ maxFeePerBlobGas: undefined;
2292
+ maxFeePerGas: bigint;
2293
+ maxPriorityFeePerGas: bigint;
2294
+ accessList: import("viem").AccessList;
2295
+ blobVersionedHashes: readonly `0x${string}`[];
2296
+ chainId: number;
2297
+ type: "deposit";
2298
+ isSystemTx?: boolean | undefined;
2299
+ mint?: bigint | undefined;
2300
+ sourceHash: `0x${string}`;
2301
+ };
2302
+ type: "transaction";
2303
+ };
2304
+ readonly transactionReceipt: {
2305
+ exclude: [] | undefined;
2306
+ format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcTransactionReceipt>, import("viem/chains").OpStackRpcTransactionReceiptOverrides>) => {
2307
+ blobGasPrice?: bigint | undefined;
2308
+ blobGasUsed?: bigint | undefined;
2309
+ blockHash: `0x${string}`;
2310
+ blockNumber: bigint;
2311
+ contractAddress: `0x${string}` | null | undefined;
2312
+ cumulativeGasUsed: bigint;
2313
+ effectiveGasPrice: bigint;
2314
+ from: `0x${string}`;
2315
+ gasUsed: bigint;
2316
+ logs: import("viem").Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
2317
+ logsBloom: `0x${string}`;
2318
+ root?: `0x${string}` | undefined;
2319
+ status: "success" | "reverted";
2320
+ to: `0x${string}` | null;
2321
+ transactionHash: `0x${string}`;
2322
+ transactionIndex: number;
2323
+ type: import("viem").TransactionType;
2324
+ l1GasPrice: bigint | null;
2325
+ l1GasUsed: bigint | null;
2326
+ l1Fee: bigint | null;
2327
+ l1FeeScalar: number | null;
2328
+ };
2329
+ type: "transactionReceipt";
2330
+ };
2331
+ };
2332
+ serializers: {
2333
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
2334
+ };
2335
+ fees?: import("viem").ChainFees<undefined> | undefined;
2336
+ readonly network: "base-sepolia";
2337
+ };
2338
+ };
2339
+ export declare const MAINNET_CHAIN_NODE: {};
2340
+ export declare const TESTNET_CHAIN_NODE: {
2341
+ 1: "https://api.avax-test.network/ext/bc/C/rpc"[];
2342
+ 6: "https://rpc.sepolia.org"[];
2343
+ 7: "https://sepolia.base.org"[];
2344
+ };
2345
+ export declare const CHAIN_NODE: {
2346
+ readonly 1: "https://api.avax-test.network/ext/bc/C/rpc"[];
2347
+ readonly 6: "https://rpc.sepolia.org"[];
2348
+ readonly 7: "https://sepolia.base.org"[];
2349
+ };