@0xtorch/evm 0.0.11 → 0.0.12

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 (410) hide show
  1. package/.DS_Store +0 -0
  2. package/_cjs/analyzer/analyze.js.map +1 -1
  3. package/_cjs/analyzer/axieMarketplace/analyze.js +37 -130
  4. package/_cjs/analyzer/axieMarketplace/analyze.js.map +1 -1
  5. package/_cjs/analyzer/gasFee/analyze.js +22 -21
  6. package/_cjs/analyzer/gasFee/analyze.js.map +1 -1
  7. package/_cjs/analyzer/index.js +2 -1
  8. package/_cjs/analyzer/index.js.map +1 -1
  9. package/_cjs/analyzer/json/analyze.js +21 -29
  10. package/_cjs/analyzer/json/analyze.js.map +1 -1
  11. package/_cjs/analyzer/json/components/comment.js +47 -0
  12. package/_cjs/analyzer/json/components/comment.js.map +1 -0
  13. package/_cjs/analyzer/json/components/erc1155.js +93 -0
  14. package/_cjs/analyzer/json/components/erc1155.js.map +1 -0
  15. package/_cjs/analyzer/json/components/erc1155Raw.js +31 -0
  16. package/_cjs/analyzer/json/components/erc1155Raw.js.map +1 -0
  17. package/_cjs/analyzer/json/components/erc20.js +90 -0
  18. package/_cjs/analyzer/json/components/erc20.js.map +1 -0
  19. package/_cjs/analyzer/json/components/erc20Raw.js +28 -0
  20. package/_cjs/analyzer/json/components/erc20Raw.js.map +1 -0
  21. package/_cjs/analyzer/json/components/erc721.js +78 -0
  22. package/_cjs/analyzer/json/components/erc721.js.map +1 -0
  23. package/_cjs/analyzer/json/components/erc721Raw.js +29 -0
  24. package/_cjs/analyzer/json/components/erc721Raw.js.map +1 -0
  25. package/_cjs/analyzer/json/components/id.js +47 -0
  26. package/_cjs/analyzer/json/components/id.js.map +1 -0
  27. package/_cjs/analyzer/json/components/internal.js +78 -0
  28. package/_cjs/analyzer/json/components/internal.js.map +1 -0
  29. package/_cjs/analyzer/json/components/internalRaw.js +26 -0
  30. package/_cjs/analyzer/json/components/internalRaw.js.map +1 -0
  31. package/_cjs/analyzer/json/components/logArgument.js +67 -0
  32. package/_cjs/analyzer/json/components/logArgument.js.map +1 -0
  33. package/_cjs/analyzer/json/components/logArgumentRaw.js +41 -0
  34. package/_cjs/analyzer/json/components/logArgumentRaw.js.map +1 -0
  35. package/_cjs/analyzer/json/components/transfer.js +435 -0
  36. package/_cjs/analyzer/json/components/transfer.js.map +1 -0
  37. package/_cjs/analyzer/json/condition/address.js +106 -0
  38. package/_cjs/analyzer/json/condition/address.js.map +1 -0
  39. package/_cjs/analyzer/json/condition/argumentValue.js +31 -0
  40. package/_cjs/analyzer/json/condition/argumentValue.js.map +1 -0
  41. package/_cjs/analyzer/json/condition/index.js +10 -0
  42. package/_cjs/analyzer/json/condition/index.js.map +1 -0
  43. package/_cjs/analyzer/json/condition/value.js +65 -0
  44. package/_cjs/analyzer/json/condition/value.js.map +1 -0
  45. package/_cjs/analyzer/json/generator.js +774 -0
  46. package/_cjs/analyzer/json/generator.js.map +1 -0
  47. package/_cjs/analyzer/json/index.js +3 -1
  48. package/_cjs/analyzer/json/index.js.map +1 -1
  49. package/_cjs/analyzer/json/schemas/generator.js +279 -0
  50. package/_cjs/analyzer/json/schemas/generator.js.map +1 -0
  51. package/_cjs/analyzer/json/schemas/index.js +303 -0
  52. package/_cjs/analyzer/json/schemas/index.js.map +1 -0
  53. package/_cjs/analyzer/json/schemas/utils.js +14 -0
  54. package/_cjs/analyzer/json/schemas/utils.js.map +1 -0
  55. package/_cjs/analyzer/parsers/transfer.js +149 -0
  56. package/_cjs/analyzer/parsers/transfer.js.map +1 -0
  57. package/_cjs/analyzer/seaport/analyze.js +165 -157
  58. package/_cjs/analyzer/seaport/analyze.js.map +1 -1
  59. package/_cjs/analyzer/spam/analyze.js +61 -90
  60. package/_cjs/analyzer/spam/analyze.js.map +1 -1
  61. package/_cjs/analyzer/swap/analyze.js +50 -75
  62. package/_cjs/analyzer/swap/analyze.js.map +1 -1
  63. package/_cjs/analyzer/transfer/analyze.js +37 -84
  64. package/_cjs/analyzer/transfer/analyze.js.map +1 -1
  65. package/_cjs/index.js +3 -2
  66. package/_cjs/index.js.map +1 -1
  67. package/_cjs/utils/create.js +28 -0
  68. package/_cjs/utils/create.js.map +1 -0
  69. package/_cjs/utils/index.js +3 -1
  70. package/_cjs/utils/index.js.map +1 -1
  71. package/_esm/analyzer/analyze.js.map +1 -1
  72. package/_esm/analyzer/axieMarketplace/analyze.js +37 -130
  73. package/_esm/analyzer/axieMarketplace/analyze.js.map +1 -1
  74. package/_esm/analyzer/gasFee/analyze.js +23 -21
  75. package/_esm/analyzer/gasFee/analyze.js.map +1 -1
  76. package/_esm/analyzer/index.js +1 -1
  77. package/_esm/analyzer/index.js.map +1 -1
  78. package/_esm/analyzer/json/analyze.js +22 -29
  79. package/_esm/analyzer/json/analyze.js.map +1 -1
  80. package/_esm/analyzer/json/components/comment.js +43 -0
  81. package/_esm/analyzer/json/components/comment.js.map +1 -0
  82. package/_esm/analyzer/json/components/erc1155.js +88 -0
  83. package/_esm/analyzer/json/components/erc1155.js.map +1 -0
  84. package/_esm/analyzer/json/components/erc1155Raw.js +27 -0
  85. package/_esm/analyzer/json/components/erc1155Raw.js.map +1 -0
  86. package/_esm/analyzer/json/components/erc20.js +85 -0
  87. package/_esm/analyzer/json/components/erc20.js.map +1 -0
  88. package/_esm/analyzer/json/components/erc20Raw.js +24 -0
  89. package/_esm/analyzer/json/components/erc20Raw.js.map +1 -0
  90. package/_esm/analyzer/json/components/erc721.js +73 -0
  91. package/_esm/analyzer/json/components/erc721.js.map +1 -0
  92. package/_esm/analyzer/json/components/erc721Raw.js +25 -0
  93. package/_esm/analyzer/json/components/erc721Raw.js.map +1 -0
  94. package/_esm/analyzer/json/components/id.js +43 -0
  95. package/_esm/analyzer/json/components/id.js.map +1 -0
  96. package/_esm/analyzer/json/components/internal.js +73 -0
  97. package/_esm/analyzer/json/components/internal.js.map +1 -0
  98. package/_esm/analyzer/json/components/internalRaw.js +22 -0
  99. package/_esm/analyzer/json/components/internalRaw.js.map +1 -0
  100. package/_esm/analyzer/json/components/logArgument.js +62 -0
  101. package/_esm/analyzer/json/components/logArgument.js.map +1 -0
  102. package/_esm/analyzer/json/components/logArgumentRaw.js +37 -0
  103. package/_esm/analyzer/json/components/logArgumentRaw.js.map +1 -0
  104. package/_esm/analyzer/json/components/transfer.js +431 -0
  105. package/_esm/analyzer/json/components/transfer.js.map +1 -0
  106. package/_esm/analyzer/json/condition/address.js +102 -0
  107. package/_esm/analyzer/json/condition/address.js.map +1 -0
  108. package/_esm/analyzer/json/condition/argumentValue.js +27 -0
  109. package/_esm/analyzer/json/condition/argumentValue.js.map +1 -0
  110. package/_esm/analyzer/json/condition/index.js +4 -0
  111. package/_esm/analyzer/json/condition/index.js.map +1 -0
  112. package/_esm/analyzer/json/condition/value.js +61 -0
  113. package/_esm/analyzer/json/condition/value.js.map +1 -0
  114. package/_esm/analyzer/json/generator.js +825 -0
  115. package/_esm/analyzer/json/generator.js.map +1 -0
  116. package/_esm/analyzer/json/index.js +1 -0
  117. package/_esm/analyzer/json/index.js.map +1 -1
  118. package/_esm/analyzer/json/schemas/generator.js +340 -0
  119. package/_esm/analyzer/json/schemas/generator.js.map +1 -0
  120. package/_esm/analyzer/json/schemas/index.js +299 -0
  121. package/_esm/analyzer/json/schemas/index.js.map +1 -0
  122. package/_esm/analyzer/json/schemas/utils.js +11 -0
  123. package/_esm/analyzer/json/schemas/utils.js.map +1 -0
  124. package/_esm/analyzer/parsers/transfer.js +129 -0
  125. package/_esm/analyzer/parsers/transfer.js.map +1 -0
  126. package/_esm/analyzer/seaport/analyze.js +166 -157
  127. package/_esm/analyzer/seaport/analyze.js.map +1 -1
  128. package/_esm/analyzer/spam/analyze.js +62 -92
  129. package/_esm/analyzer/spam/analyze.js.map +1 -1
  130. package/_esm/analyzer/swap/analyze.js +51 -75
  131. package/_esm/analyzer/swap/analyze.js.map +1 -1
  132. package/_esm/analyzer/transfer/analyze.js +38 -86
  133. package/_esm/analyzer/transfer/analyze.js.map +1 -1
  134. package/_esm/index.js +1 -1
  135. package/_esm/index.js.map +1 -1
  136. package/_esm/utils/create.js +21 -0
  137. package/_esm/utils/create.js.map +1 -0
  138. package/_esm/utils/index.js +1 -0
  139. package/_esm/utils/index.js.map +1 -1
  140. package/_types/analyzer/analyze.d.ts +11 -16
  141. package/_types/analyzer/analyze.d.ts.map +1 -1
  142. package/_types/analyzer/analyzer.d.ts +9 -1
  143. package/_types/analyzer/analyzer.d.ts.map +1 -1
  144. package/_types/analyzer/axieMarketplace/analyze.d.ts +9 -2
  145. package/_types/analyzer/axieMarketplace/analyze.d.ts.map +1 -1
  146. package/_types/analyzer/gasFee/analyze.d.ts +9 -2
  147. package/_types/analyzer/gasFee/analyze.d.ts.map +1 -1
  148. package/_types/analyzer/index.d.ts +1 -1
  149. package/_types/analyzer/index.d.ts.map +1 -1
  150. package/_types/analyzer/json/analyze.d.ts +9 -2
  151. package/_types/analyzer/json/analyze.d.ts.map +1 -1
  152. package/_types/analyzer/json/components/comment.d.ts +20 -0
  153. package/_types/analyzer/json/components/comment.d.ts.map +1 -0
  154. package/_types/analyzer/json/components/erc1155.d.ts +32 -0
  155. package/_types/analyzer/json/components/erc1155.d.ts.map +1 -0
  156. package/_types/analyzer/json/components/erc1155Raw.d.ts +18 -0
  157. package/_types/analyzer/json/components/erc1155Raw.d.ts.map +1 -0
  158. package/_types/analyzer/json/components/erc20.d.ts +32 -0
  159. package/_types/analyzer/json/components/erc20.d.ts.map +1 -0
  160. package/_types/analyzer/json/components/erc20Raw.d.ts +18 -0
  161. package/_types/analyzer/json/components/erc20Raw.d.ts.map +1 -0
  162. package/_types/analyzer/json/components/erc721.d.ts +32 -0
  163. package/_types/analyzer/json/components/erc721.d.ts.map +1 -0
  164. package/_types/analyzer/json/components/erc721Raw.d.ts +18 -0
  165. package/_types/analyzer/json/components/erc721Raw.d.ts.map +1 -0
  166. package/_types/analyzer/json/components/id.d.ts +20 -0
  167. package/_types/analyzer/json/components/id.d.ts.map +1 -0
  168. package/_types/analyzer/json/components/internal.d.ts +32 -0
  169. package/_types/analyzer/json/components/internal.d.ts.map +1 -0
  170. package/_types/analyzer/json/components/internalRaw.d.ts +18 -0
  171. package/_types/analyzer/json/components/internalRaw.d.ts.map +1 -0
  172. package/_types/analyzer/json/components/logArgument.d.ts +32 -0
  173. package/_types/analyzer/json/components/logArgument.d.ts.map +1 -0
  174. package/_types/analyzer/json/components/logArgumentRaw.d.ts +18 -0
  175. package/_types/analyzer/json/components/logArgumentRaw.d.ts.map +1 -0
  176. package/_types/analyzer/json/components/transfer.d.ts +20 -0
  177. package/_types/analyzer/json/components/transfer.d.ts.map +1 -0
  178. package/_types/analyzer/json/condition/address.d.ts +18 -0
  179. package/_types/analyzer/json/condition/address.d.ts.map +1 -0
  180. package/_types/analyzer/json/condition/argumentValue.d.ts +18 -0
  181. package/_types/analyzer/json/condition/argumentValue.d.ts.map +1 -0
  182. package/_types/analyzer/json/condition/index.d.ts +4 -0
  183. package/_types/analyzer/json/condition/index.d.ts.map +1 -0
  184. package/_types/analyzer/json/condition/value.d.ts +18 -0
  185. package/_types/analyzer/json/condition/value.d.ts.map +1 -0
  186. package/_types/analyzer/json/generator.d.ts +20 -0
  187. package/_types/analyzer/json/generator.d.ts.map +1 -0
  188. package/_types/analyzer/json/index.d.ts +1 -0
  189. package/_types/analyzer/json/index.d.ts.map +1 -1
  190. package/_types/analyzer/json/schemas/generator.d.ts +56942 -0
  191. package/_types/analyzer/json/schemas/generator.d.ts.map +1 -0
  192. package/_types/analyzer/json/schemas/index.d.ts +1348 -0
  193. package/_types/analyzer/json/schemas/index.d.ts.map +1 -0
  194. package/_types/analyzer/json/schemas/utils.d.ts +4 -0
  195. package/_types/analyzer/json/schemas/utils.d.ts.map +1 -0
  196. package/_types/analyzer/json/types.d.ts +42 -172
  197. package/_types/analyzer/json/types.d.ts.map +1 -1
  198. package/_types/analyzer/parsers/transfer.d.ts +46 -0
  199. package/_types/analyzer/parsers/transfer.d.ts.map +1 -0
  200. package/_types/analyzer/seaport/analyze.d.ts +9 -2
  201. package/_types/analyzer/seaport/analyze.d.ts.map +1 -1
  202. package/_types/analyzer/seaport/orderFulfilled.d.ts +8 -8
  203. package/_types/analyzer/spam/analyze.d.ts +9 -2
  204. package/_types/analyzer/spam/analyze.d.ts.map +1 -1
  205. package/_types/analyzer/swap/analyze.d.ts +9 -2
  206. package/_types/analyzer/swap/analyze.d.ts.map +1 -1
  207. package/_types/analyzer/transfer/analyze.d.ts +9 -2
  208. package/_types/analyzer/transfer/analyze.d.ts.map +1 -1
  209. package/_types/analyzer/types.d.ts +6 -6
  210. package/_types/analyzer/types.d.ts.map +1 -1
  211. package/_types/decoder/tests.d.ts +2 -2
  212. package/_types/explorers/definitions/blockscout.d.ts +60 -4
  213. package/_types/explorers/definitions/blockscout.d.ts.map +1 -1
  214. package/_types/explorers/definitions/etherscan.d.ts +60 -4
  215. package/_types/explorers/definitions/etherscan.d.ts.map +1 -1
  216. package/_types/explorers/definitions/roninExplorer.d.ts +60 -4
  217. package/_types/explorers/definitions/roninExplorer.d.ts.map +1 -1
  218. package/_types/explorers/externals/blockscout/getInternalTransactionsByAddress.d.ts +2 -2
  219. package/_types/getAccountsTransactionFulls/getAccountsTransactionFulls.d.ts +9 -1
  220. package/_types/getAccountsTransactionFulls/getAccountsTransactionFulls.d.ts.map +1 -1
  221. package/_types/getTransactionFull/getTransactionFull.d.ts +9 -1
  222. package/_types/getTransactionFull/getTransactionFull.d.ts.map +1 -1
  223. package/_types/index.d.ts +1 -1
  224. package/_types/index.d.ts.map +1 -1
  225. package/_types/types/log.d.ts +6 -6
  226. package/_types/types/transaction.d.ts +3 -4
  227. package/_types/types/transaction.d.ts.map +1 -1
  228. package/_types/utils/create.d.ts +23 -0
  229. package/_types/utils/create.d.ts.map +1 -0
  230. package/_types/utils/index.d.ts +1 -0
  231. package/_types/utils/index.d.ts.map +1 -1
  232. package/analyzer/analyze.ts +6 -30
  233. package/analyzer/axieMarketplace/analyze.ts +67 -150
  234. package/analyzer/gasFee/analyze.ts +29 -36
  235. package/analyzer/index.ts +1 -1
  236. package/analyzer/json/analyze.ts +32 -53
  237. package/analyzer/json/components/comment.ts +62 -0
  238. package/analyzer/json/components/erc1155.ts +132 -0
  239. package/analyzer/json/components/erc1155Raw.ts +46 -0
  240. package/analyzer/json/components/erc20.ts +129 -0
  241. package/analyzer/json/components/erc20Raw.ts +43 -0
  242. package/analyzer/json/components/erc721.ts +117 -0
  243. package/analyzer/json/components/erc721Raw.ts +46 -0
  244. package/analyzer/json/components/id.ts +62 -0
  245. package/analyzer/json/components/internal.ts +117 -0
  246. package/analyzer/json/components/internalRaw.ts +39 -0
  247. package/analyzer/json/components/logArgument.ts +99 -0
  248. package/analyzer/json/components/logArgumentRaw.ts +57 -0
  249. package/analyzer/json/components/transfer.ts +531 -0
  250. package/analyzer/json/condition/address.ts +124 -0
  251. package/analyzer/json/condition/argumentValue.ts +43 -0
  252. package/analyzer/json/condition/index.ts +3 -0
  253. package/analyzer/json/condition/value.ts +76 -0
  254. package/analyzer/json/generator.ts +1166 -0
  255. package/analyzer/json/index.ts +1 -0
  256. package/analyzer/json/schemas/generator.ts +387 -0
  257. package/analyzer/json/schemas/index.ts +363 -0
  258. package/analyzer/json/schemas/utils.ts +12 -0
  259. package/analyzer/json/types.ts +111 -207
  260. package/analyzer/parsers/transfer.ts +301 -0
  261. package/analyzer/seaport/analyze.ts +228 -195
  262. package/analyzer/spam/analyze.ts +79 -112
  263. package/analyzer/swap/analyze.ts +67 -101
  264. package/analyzer/transfer/analyze.ts +54 -100
  265. package/analyzer/types.ts +5 -21
  266. package/index.ts +1 -0
  267. package/package.json +2 -2
  268. package/types/transaction.ts +2 -14
  269. package/utils/create.ts +57 -0
  270. package/utils/index.ts +1 -0
  271. package/_cjs/analyzer/createAccountActionByAction/addLiquidity.js +0 -28
  272. package/_cjs/analyzer/createAccountActionByAction/addLiquidity.js.map +0 -1
  273. package/_cjs/analyzer/createAccountActionByAction/atomicArbitrage.js +0 -79
  274. package/_cjs/analyzer/createAccountActionByAction/atomicArbitrage.js.map +0 -1
  275. package/_cjs/analyzer/createAccountActionByAction/bridgeFrom.js +0 -38
  276. package/_cjs/analyzer/createAccountActionByAction/bridgeFrom.js.map +0 -1
  277. package/_cjs/analyzer/createAccountActionByAction/bridgeTo.js +0 -38
  278. package/_cjs/analyzer/createAccountActionByAction/bridgeTo.js.map +0 -1
  279. package/_cjs/analyzer/createAccountActionByAction/buyNft.js +0 -59
  280. package/_cjs/analyzer/createAccountActionByAction/buyNft.js.map +0 -1
  281. package/_cjs/analyzer/createAccountActionByAction/createAccountActionByAction.js +0 -69
  282. package/_cjs/analyzer/createAccountActionByAction/createAccountActionByAction.js.map +0 -1
  283. package/_cjs/analyzer/createAccountActionByAction/deposit.js +0 -41
  284. package/_cjs/analyzer/createAccountActionByAction/deposit.js.map +0 -1
  285. package/_cjs/analyzer/createAccountActionByAction/depositWithBond.js +0 -28
  286. package/_cjs/analyzer/createAccountActionByAction/depositWithBond.js.map +0 -1
  287. package/_cjs/analyzer/createAccountActionByAction/freeMintNft.js +0 -32
  288. package/_cjs/analyzer/createAccountActionByAction/freeMintNft.js.map +0 -1
  289. package/_cjs/analyzer/createAccountActionByAction/index.js +0 -6
  290. package/_cjs/analyzer/createAccountActionByAction/index.js.map +0 -1
  291. package/_cjs/analyzer/createAccountActionByAction/removeLiquidity.js +0 -28
  292. package/_cjs/analyzer/createAccountActionByAction/removeLiquidity.js.map +0 -1
  293. package/_cjs/analyzer/createAccountActionByAction/spam.js +0 -58
  294. package/_cjs/analyzer/createAccountActionByAction/spam.js.map +0 -1
  295. package/_cjs/analyzer/createAccountActionByAction/trade.js +0 -59
  296. package/_cjs/analyzer/createAccountActionByAction/trade.js.map +0 -1
  297. package/_cjs/analyzer/createAccountActionByAction/transactionFee.js +0 -29
  298. package/_cjs/analyzer/createAccountActionByAction/transactionFee.js.map +0 -1
  299. package/_cjs/analyzer/createAccountActionByAction/transfer.js +0 -74
  300. package/_cjs/analyzer/createAccountActionByAction/transfer.js.map +0 -1
  301. package/_cjs/analyzer/createAccountActionByAction/withdraw.js +0 -38
  302. package/_cjs/analyzer/createAccountActionByAction/withdraw.js.map +0 -1
  303. package/_cjs/analyzer/createAccountActionByAction/withdrawWithBond.js +0 -28
  304. package/_cjs/analyzer/createAccountActionByAction/withdrawWithBond.js.map +0 -1
  305. package/_cjs/analyzer/json/generatorAnyLog.js +0 -163
  306. package/_cjs/analyzer/json/generatorAnyLog.js.map +0 -1
  307. package/_cjs/analyzer/json/generatorAnyTokenTransfer.js +0 -102
  308. package/_cjs/analyzer/json/generatorAnyTokenTransfer.js.map +0 -1
  309. package/_cjs/analyzer/json/generatorSpecificTokenTransfer.js +0 -343
  310. package/_cjs/analyzer/json/generatorSpecificTokenTransfer.js.map +0 -1
  311. package/_esm/analyzer/createAccountActionByAction/addLiquidity.js +0 -24
  312. package/_esm/analyzer/createAccountActionByAction/addLiquidity.js.map +0 -1
  313. package/_esm/analyzer/createAccountActionByAction/atomicArbitrage.js +0 -79
  314. package/_esm/analyzer/createAccountActionByAction/atomicArbitrage.js.map +0 -1
  315. package/_esm/analyzer/createAccountActionByAction/bridgeFrom.js +0 -34
  316. package/_esm/analyzer/createAccountActionByAction/bridgeFrom.js.map +0 -1
  317. package/_esm/analyzer/createAccountActionByAction/bridgeTo.js +0 -34
  318. package/_esm/analyzer/createAccountActionByAction/bridgeTo.js.map +0 -1
  319. package/_esm/analyzer/createAccountActionByAction/buyNft.js +0 -59
  320. package/_esm/analyzer/createAccountActionByAction/buyNft.js.map +0 -1
  321. package/_esm/analyzer/createAccountActionByAction/createAccountActionByAction.js +0 -80
  322. package/_esm/analyzer/createAccountActionByAction/createAccountActionByAction.js.map +0 -1
  323. package/_esm/analyzer/createAccountActionByAction/deposit.js +0 -38
  324. package/_esm/analyzer/createAccountActionByAction/deposit.js.map +0 -1
  325. package/_esm/analyzer/createAccountActionByAction/depositWithBond.js +0 -24
  326. package/_esm/analyzer/createAccountActionByAction/depositWithBond.js.map +0 -1
  327. package/_esm/analyzer/createAccountActionByAction/freeMintNft.js +0 -28
  328. package/_esm/analyzer/createAccountActionByAction/freeMintNft.js.map +0 -1
  329. package/_esm/analyzer/createAccountActionByAction/index.js +0 -2
  330. package/_esm/analyzer/createAccountActionByAction/index.js.map +0 -1
  331. package/_esm/analyzer/createAccountActionByAction/removeLiquidity.js +0 -24
  332. package/_esm/analyzer/createAccountActionByAction/removeLiquidity.js.map +0 -1
  333. package/_esm/analyzer/createAccountActionByAction/spam.js +0 -54
  334. package/_esm/analyzer/createAccountActionByAction/spam.js.map +0 -1
  335. package/_esm/analyzer/createAccountActionByAction/trade.js +0 -59
  336. package/_esm/analyzer/createAccountActionByAction/trade.js.map +0 -1
  337. package/_esm/analyzer/createAccountActionByAction/transactionFee.js +0 -25
  338. package/_esm/analyzer/createAccountActionByAction/transactionFee.js.map +0 -1
  339. package/_esm/analyzer/createAccountActionByAction/transfer.js +0 -70
  340. package/_esm/analyzer/createAccountActionByAction/transfer.js.map +0 -1
  341. package/_esm/analyzer/createAccountActionByAction/withdraw.js +0 -34
  342. package/_esm/analyzer/createAccountActionByAction/withdraw.js.map +0 -1
  343. package/_esm/analyzer/createAccountActionByAction/withdrawWithBond.js +0 -24
  344. package/_esm/analyzer/createAccountActionByAction/withdrawWithBond.js.map +0 -1
  345. package/_esm/analyzer/json/generatorAnyLog.js +0 -159
  346. package/_esm/analyzer/json/generatorAnyLog.js.map +0 -1
  347. package/_esm/analyzer/json/generatorAnyTokenTransfer.js +0 -98
  348. package/_esm/analyzer/json/generatorAnyTokenTransfer.js.map +0 -1
  349. package/_esm/analyzer/json/generatorSpecificTokenTransfer.js +0 -339
  350. package/_esm/analyzer/json/generatorSpecificTokenTransfer.js.map +0 -1
  351. package/_types/analyzer/createAccountActionByAction/addLiquidity.d.ts +0 -59
  352. package/_types/analyzer/createAccountActionByAction/addLiquidity.d.ts.map +0 -1
  353. package/_types/analyzer/createAccountActionByAction/atomicArbitrage.d.ts +0 -59
  354. package/_types/analyzer/createAccountActionByAction/atomicArbitrage.d.ts.map +0 -1
  355. package/_types/analyzer/createAccountActionByAction/bridgeFrom.d.ts +0 -59
  356. package/_types/analyzer/createAccountActionByAction/bridgeFrom.d.ts.map +0 -1
  357. package/_types/analyzer/createAccountActionByAction/bridgeTo.d.ts +0 -59
  358. package/_types/analyzer/createAccountActionByAction/bridgeTo.d.ts.map +0 -1
  359. package/_types/analyzer/createAccountActionByAction/buyNft.d.ts +0 -59
  360. package/_types/analyzer/createAccountActionByAction/buyNft.d.ts.map +0 -1
  361. package/_types/analyzer/createAccountActionByAction/createAccountActionByAction.d.ts +0 -59
  362. package/_types/analyzer/createAccountActionByAction/createAccountActionByAction.d.ts.map +0 -1
  363. package/_types/analyzer/createAccountActionByAction/deposit.d.ts +0 -59
  364. package/_types/analyzer/createAccountActionByAction/deposit.d.ts.map +0 -1
  365. package/_types/analyzer/createAccountActionByAction/depositWithBond.d.ts +0 -59
  366. package/_types/analyzer/createAccountActionByAction/depositWithBond.d.ts.map +0 -1
  367. package/_types/analyzer/createAccountActionByAction/freeMintNft.d.ts +0 -53
  368. package/_types/analyzer/createAccountActionByAction/freeMintNft.d.ts.map +0 -1
  369. package/_types/analyzer/createAccountActionByAction/index.d.ts +0 -2
  370. package/_types/analyzer/createAccountActionByAction/index.d.ts.map +0 -1
  371. package/_types/analyzer/createAccountActionByAction/removeLiquidity.d.ts +0 -59
  372. package/_types/analyzer/createAccountActionByAction/removeLiquidity.d.ts.map +0 -1
  373. package/_types/analyzer/createAccountActionByAction/spam.d.ts +0 -59
  374. package/_types/analyzer/createAccountActionByAction/spam.d.ts.map +0 -1
  375. package/_types/analyzer/createAccountActionByAction/trade.d.ts +0 -59
  376. package/_types/analyzer/createAccountActionByAction/trade.d.ts.map +0 -1
  377. package/_types/analyzer/createAccountActionByAction/transactionFee.d.ts +0 -59
  378. package/_types/analyzer/createAccountActionByAction/transactionFee.d.ts.map +0 -1
  379. package/_types/analyzer/createAccountActionByAction/transfer.d.ts +0 -59
  380. package/_types/analyzer/createAccountActionByAction/transfer.d.ts.map +0 -1
  381. package/_types/analyzer/createAccountActionByAction/withdraw.d.ts +0 -59
  382. package/_types/analyzer/createAccountActionByAction/withdraw.d.ts.map +0 -1
  383. package/_types/analyzer/createAccountActionByAction/withdrawWithBond.d.ts +0 -59
  384. package/_types/analyzer/createAccountActionByAction/withdrawWithBond.d.ts.map +0 -1
  385. package/_types/analyzer/json/generatorAnyLog.d.ts +0 -55
  386. package/_types/analyzer/json/generatorAnyLog.d.ts.map +0 -1
  387. package/_types/analyzer/json/generatorAnyTokenTransfer.d.ts +0 -54
  388. package/_types/analyzer/json/generatorAnyTokenTransfer.d.ts.map +0 -1
  389. package/_types/analyzer/json/generatorSpecificTokenTransfer.d.ts +0 -55
  390. package/_types/analyzer/json/generatorSpecificTokenTransfer.d.ts.map +0 -1
  391. package/analyzer/createAccountActionByAction/addLiquidity.ts +0 -60
  392. package/analyzer/createAccountActionByAction/atomicArbitrage.ts +0 -115
  393. package/analyzer/createAccountActionByAction/bridgeFrom.ts +0 -61
  394. package/analyzer/createAccountActionByAction/bridgeTo.ts +0 -61
  395. package/analyzer/createAccountActionByAction/buyNft.ts +0 -106
  396. package/analyzer/createAccountActionByAction/createAccountActionByAction.ts +0 -181
  397. package/analyzer/createAccountActionByAction/deposit.ts +0 -64
  398. package/analyzer/createAccountActionByAction/depositWithBond.ts +0 -60
  399. package/analyzer/createAccountActionByAction/freeMintNft.ts +0 -54
  400. package/analyzer/createAccountActionByAction/index.ts +0 -1
  401. package/analyzer/createAccountActionByAction/removeLiquidity.ts +0 -60
  402. package/analyzer/createAccountActionByAction/spam.ts +0 -79
  403. package/analyzer/createAccountActionByAction/trade.ts +0 -105
  404. package/analyzer/createAccountActionByAction/transactionFee.ts +0 -51
  405. package/analyzer/createAccountActionByAction/transfer.ts +0 -95
  406. package/analyzer/createAccountActionByAction/withdraw.ts +0 -61
  407. package/analyzer/createAccountActionByAction/withdrawWithBond.ts +0 -60
  408. package/analyzer/json/generatorAnyLog.ts +0 -207
  409. package/analyzer/json/generatorAnyTokenTransfer.ts +0 -118
  410. package/analyzer/json/generatorSpecificTokenTransfer.ts +0 -425
@@ -0,0 +1,1348 @@
1
+ import { z } from 'zod';
2
+ import { actionGeneratorSchema } from './generator';
3
+ import { methodIdSchema, premitiveAddressSchema } from './utils';
4
+ export { actionGeneratorSchema } from './generator';
5
+ declare const logsPatternSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
6
+ matchType: z.ZodLiteral<"partial">;
7
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
8
+ indexedCount: z.ZodNumber;
9
+ logCount: z.ZodOptional<z.ZodNumber>;
10
+ args: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ type: z.ZodLiteral<"to-lower-string-value">;
12
+ index: z.ZodNumber;
13
+ value: z.ZodEffects<z.ZodString, string, string>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ value: string;
16
+ type: "to-lower-string-value";
17
+ index: number;
18
+ }, {
19
+ value: string;
20
+ type: "to-lower-string-value";
21
+ index: number;
22
+ }>, "many">>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ signature: `0x${Lowercase<string>}`;
25
+ indexedCount: number;
26
+ matchType: "partial";
27
+ logCount?: number | undefined;
28
+ args?: {
29
+ value: string;
30
+ type: "to-lower-string-value";
31
+ index: number;
32
+ }[] | undefined;
33
+ }, {
34
+ signature: string;
35
+ indexedCount: number;
36
+ matchType: "partial";
37
+ logCount?: number | undefined;
38
+ args?: {
39
+ value: string;
40
+ type: "to-lower-string-value";
41
+ index: number;
42
+ }[] | undefined;
43
+ }>, {
44
+ logCount: number | undefined;
45
+ args: {
46
+ value: string;
47
+ type: "to-lower-string-value";
48
+ index: number;
49
+ }[] | undefined;
50
+ signature: `0x${Lowercase<string>}`;
51
+ indexedCount: number;
52
+ matchType: "partial";
53
+ }, {
54
+ signature: string;
55
+ indexedCount: number;
56
+ matchType: "partial";
57
+ logCount?: number | undefined;
58
+ args?: {
59
+ value: string;
60
+ type: "to-lower-string-value";
61
+ index: number;
62
+ }[] | undefined;
63
+ }>, z.ZodObject<{
64
+ matchType: z.ZodLiteral<"exact">;
65
+ items: z.ZodArray<z.ZodEffects<z.ZodObject<{
66
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
67
+ indexedCount: z.ZodNumber;
68
+ args: z.ZodOptional<z.ZodArray<z.ZodObject<{
69
+ type: z.ZodLiteral<"to-lower-string-value">;
70
+ index: z.ZodNumber;
71
+ value: z.ZodEffects<z.ZodString, string, string>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ value: string;
74
+ type: "to-lower-string-value";
75
+ index: number;
76
+ }, {
77
+ value: string;
78
+ type: "to-lower-string-value";
79
+ index: number;
80
+ }>, "many">>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ signature: `0x${Lowercase<string>}`;
83
+ indexedCount: number;
84
+ args?: {
85
+ value: string;
86
+ type: "to-lower-string-value";
87
+ index: number;
88
+ }[] | undefined;
89
+ }, {
90
+ signature: string;
91
+ indexedCount: number;
92
+ args?: {
93
+ value: string;
94
+ type: "to-lower-string-value";
95
+ index: number;
96
+ }[] | undefined;
97
+ }>, {
98
+ args: {
99
+ value: string;
100
+ type: "to-lower-string-value";
101
+ index: number;
102
+ }[] | undefined;
103
+ signature: `0x${Lowercase<string>}`;
104
+ indexedCount: number;
105
+ }, {
106
+ signature: string;
107
+ indexedCount: number;
108
+ args?: {
109
+ value: string;
110
+ type: "to-lower-string-value";
111
+ index: number;
112
+ }[] | undefined;
113
+ }>, "many">;
114
+ }, "strip", z.ZodTypeAny, {
115
+ matchType: "exact";
116
+ items: {
117
+ args: {
118
+ value: string;
119
+ type: "to-lower-string-value";
120
+ index: number;
121
+ }[] | undefined;
122
+ signature: `0x${Lowercase<string>}`;
123
+ indexedCount: number;
124
+ }[];
125
+ }, {
126
+ matchType: "exact";
127
+ items: {
128
+ signature: string;
129
+ indexedCount: number;
130
+ args?: {
131
+ value: string;
132
+ type: "to-lower-string-value";
133
+ index: number;
134
+ }[] | undefined;
135
+ }[];
136
+ }>]>;
137
+ declare const internalsPatternSchema: z.ZodEffects<z.ZodObject<{
138
+ type: z.ZodLiteral<"partial">;
139
+ from: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
140
+ to: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
141
+ value: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"plus">, z.ZodLiteral<"zero">]>>;
142
+ count: z.ZodOptional<z.ZodNumber>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ type: "partial";
145
+ from?: `0x${Lowercase<string>}` | undefined;
146
+ to?: `0x${Lowercase<string>}` | undefined;
147
+ value?: "plus" | "zero" | undefined;
148
+ count?: number | undefined;
149
+ }, {
150
+ type: "partial";
151
+ from?: string | undefined;
152
+ to?: string | undefined;
153
+ value?: "plus" | "zero" | undefined;
154
+ count?: number | undefined;
155
+ }>, {
156
+ from: `0x${Lowercase<string>}` | undefined;
157
+ to: `0x${Lowercase<string>}` | undefined;
158
+ value: "plus" | "zero" | undefined;
159
+ count: number | undefined;
160
+ type: "partial";
161
+ }, {
162
+ type: "partial";
163
+ from?: string | undefined;
164
+ to?: string | undefined;
165
+ value?: "plus" | "zero" | undefined;
166
+ count?: number | undefined;
167
+ }>;
168
+ export declare const parameterSchema: z.ZodUnion<[z.ZodObject<{
169
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: "value" | "from" | "to";
172
+ }, {
173
+ type: "value" | "from" | "to";
174
+ }>, z.ZodObject<{
175
+ type: z.ZodLiteral<"function">;
176
+ argIndex: z.ZodNumber;
177
+ }, "strip", z.ZodTypeAny, {
178
+ type: "function";
179
+ argIndex: number;
180
+ }, {
181
+ type: "function";
182
+ argIndex: number;
183
+ }>, z.ZodObject<{
184
+ type: z.ZodLiteral<"log">;
185
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
186
+ indexedCount: z.ZodNumber;
187
+ index: z.ZodUnion<[z.ZodLiteral<"some">, z.ZodLiteral<"every">, z.ZodNumber]>;
188
+ argIndex: z.ZodNumber;
189
+ }, "strip", z.ZodTypeAny, {
190
+ type: "log";
191
+ signature: `0x${Lowercase<string>}`;
192
+ index: number | "every" | "some";
193
+ indexedCount: number;
194
+ argIndex: number;
195
+ }, {
196
+ type: "log";
197
+ signature: string;
198
+ index: number | "every" | "some";
199
+ indexedCount: number;
200
+ argIndex: number;
201
+ }>, z.ZodObject<{
202
+ type: z.ZodLiteral<"internal">;
203
+ index: z.ZodUnion<[z.ZodLiteral<"some">, z.ZodLiteral<"every">, z.ZodNumber]>;
204
+ key: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ type: "internal";
207
+ key: "value" | "from" | "to";
208
+ index: number | "every" | "some";
209
+ }, {
210
+ type: "internal";
211
+ key: "value" | "from" | "to";
212
+ index: number | "every" | "some";
213
+ }>]>;
214
+ export declare const parameterBaseSchema: z.ZodUnion<[z.ZodObject<{
215
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: "value" | "from" | "to";
218
+ }, {
219
+ type: "value" | "from" | "to";
220
+ }>, z.ZodObject<{
221
+ type: z.ZodLiteral<"function">;
222
+ argIndex: z.ZodNumber;
223
+ }, "strip", z.ZodTypeAny, {
224
+ type: "function";
225
+ argIndex: number;
226
+ }, {
227
+ type: "function";
228
+ argIndex: number;
229
+ }>, z.ZodObject<{
230
+ type: z.ZodLiteral<"log">;
231
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
232
+ indexedCount: z.ZodNumber;
233
+ index: z.ZodNumber;
234
+ argIndex: z.ZodNumber;
235
+ }, "strip", z.ZodTypeAny, {
236
+ type: "log";
237
+ signature: `0x${Lowercase<string>}`;
238
+ index: number;
239
+ indexedCount: number;
240
+ argIndex: number;
241
+ }, {
242
+ type: "log";
243
+ signature: string;
244
+ index: number;
245
+ indexedCount: number;
246
+ argIndex: number;
247
+ }>, z.ZodObject<{
248
+ type: z.ZodLiteral<"internal">;
249
+ index: z.ZodNumber;
250
+ key: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ type: "internal";
253
+ key: "value" | "from" | "to";
254
+ index: number;
255
+ }, {
256
+ type: "internal";
257
+ key: "value" | "from" | "to";
258
+ index: number;
259
+ }>]>;
260
+ declare const parameterMatchPatternSchema: z.ZodObject<{
261
+ base: z.ZodUnion<[z.ZodObject<{
262
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ type: "value" | "from" | "to";
265
+ }, {
266
+ type: "value" | "from" | "to";
267
+ }>, z.ZodObject<{
268
+ type: z.ZodLiteral<"function">;
269
+ argIndex: z.ZodNumber;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: "function";
272
+ argIndex: number;
273
+ }, {
274
+ type: "function";
275
+ argIndex: number;
276
+ }>, z.ZodObject<{
277
+ type: z.ZodLiteral<"log">;
278
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
279
+ indexedCount: z.ZodNumber;
280
+ index: z.ZodNumber;
281
+ argIndex: z.ZodNumber;
282
+ }, "strip", z.ZodTypeAny, {
283
+ type: "log";
284
+ signature: `0x${Lowercase<string>}`;
285
+ index: number;
286
+ indexedCount: number;
287
+ argIndex: number;
288
+ }, {
289
+ type: "log";
290
+ signature: string;
291
+ index: number;
292
+ indexedCount: number;
293
+ argIndex: number;
294
+ }>, z.ZodObject<{
295
+ type: z.ZodLiteral<"internal">;
296
+ index: z.ZodNumber;
297
+ key: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ type: "internal";
300
+ key: "value" | "from" | "to";
301
+ index: number;
302
+ }, {
303
+ type: "internal";
304
+ key: "value" | "from" | "to";
305
+ index: number;
306
+ }>]>;
307
+ compare: z.ZodUnion<[z.ZodObject<{
308
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ type: "value" | "from" | "to";
311
+ }, {
312
+ type: "value" | "from" | "to";
313
+ }>, z.ZodObject<{
314
+ type: z.ZodLiteral<"function">;
315
+ argIndex: z.ZodNumber;
316
+ }, "strip", z.ZodTypeAny, {
317
+ type: "function";
318
+ argIndex: number;
319
+ }, {
320
+ type: "function";
321
+ argIndex: number;
322
+ }>, z.ZodObject<{
323
+ type: z.ZodLiteral<"log">;
324
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
325
+ indexedCount: z.ZodNumber;
326
+ index: z.ZodUnion<[z.ZodLiteral<"some">, z.ZodLiteral<"every">, z.ZodNumber]>;
327
+ argIndex: z.ZodNumber;
328
+ }, "strip", z.ZodTypeAny, {
329
+ type: "log";
330
+ signature: `0x${Lowercase<string>}`;
331
+ index: number | "every" | "some";
332
+ indexedCount: number;
333
+ argIndex: number;
334
+ }, {
335
+ type: "log";
336
+ signature: string;
337
+ index: number | "every" | "some";
338
+ indexedCount: number;
339
+ argIndex: number;
340
+ }>, z.ZodObject<{
341
+ type: z.ZodLiteral<"internal">;
342
+ index: z.ZodUnion<[z.ZodLiteral<"some">, z.ZodLiteral<"every">, z.ZodNumber]>;
343
+ key: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"value">]>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ type: "internal";
346
+ key: "value" | "from" | "to";
347
+ index: number | "every" | "some";
348
+ }, {
349
+ type: "internal";
350
+ key: "value" | "from" | "to";
351
+ index: number | "every" | "some";
352
+ }>]>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ base: {
355
+ type: "value" | "from" | "to";
356
+ } | {
357
+ type: "function";
358
+ argIndex: number;
359
+ } | {
360
+ type: "log";
361
+ signature: `0x${Lowercase<string>}`;
362
+ index: number;
363
+ indexedCount: number;
364
+ argIndex: number;
365
+ } | {
366
+ type: "internal";
367
+ key: "value" | "from" | "to";
368
+ index: number;
369
+ };
370
+ compare: {
371
+ type: "value" | "from" | "to";
372
+ } | {
373
+ type: "function";
374
+ argIndex: number;
375
+ } | {
376
+ type: "log";
377
+ signature: `0x${Lowercase<string>}`;
378
+ index: number | "every" | "some";
379
+ indexedCount: number;
380
+ argIndex: number;
381
+ } | {
382
+ type: "internal";
383
+ key: "value" | "from" | "to";
384
+ index: number | "every" | "some";
385
+ };
386
+ }, {
387
+ base: {
388
+ type: "value" | "from" | "to";
389
+ } | {
390
+ type: "function";
391
+ argIndex: number;
392
+ } | {
393
+ type: "log";
394
+ signature: string;
395
+ index: number;
396
+ indexedCount: number;
397
+ argIndex: number;
398
+ } | {
399
+ type: "internal";
400
+ key: "value" | "from" | "to";
401
+ index: number;
402
+ };
403
+ compare: {
404
+ type: "value" | "from" | "to";
405
+ } | {
406
+ type: "function";
407
+ argIndex: number;
408
+ } | {
409
+ type: "log";
410
+ signature: string;
411
+ index: number | "every" | "some";
412
+ indexedCount: number;
413
+ argIndex: number;
414
+ } | {
415
+ type: "internal";
416
+ key: "value" | "from" | "to";
417
+ index: number | "every" | "some";
418
+ };
419
+ }>;
420
+ export declare const actionGeneratorAnyTokenTransferSchema: z.ZodEffects<z.ZodObject<{
421
+ type: z.ZodLiteral<"any-token-transfer">;
422
+ token: z.ZodUnion<[z.ZodLiteral<"erc20">, z.ZodLiteral<"erc721">, z.ZodLiteral<"erc1155">]>;
423
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"spam">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">]>;
424
+ comment: z.ZodOptional<z.ZodString>;
425
+ target: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"none">]>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ type: "any-token-transfer";
428
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
429
+ token: "erc20" | "erc721" | "erc1155";
430
+ target: "from" | "to" | "none";
431
+ comment?: string | undefined;
432
+ }, {
433
+ type: "any-token-transfer";
434
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
435
+ token: "erc20" | "erc721" | "erc1155";
436
+ target: "from" | "to" | "none";
437
+ comment?: string | undefined;
438
+ }>, {
439
+ comment: string | undefined;
440
+ type: "any-token-transfer";
441
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
442
+ token: "erc20" | "erc721" | "erc1155";
443
+ target: "from" | "to" | "none";
444
+ }, {
445
+ type: "any-token-transfer";
446
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
447
+ token: "erc20" | "erc721" | "erc1155";
448
+ target: "from" | "to" | "none";
449
+ comment?: string | undefined;
450
+ }>;
451
+ export declare const actionGeneratorAnyLogAddressSchema: z.ZodUnion<[z.ZodObject<{
452
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ type: "from" | "to";
455
+ }, {
456
+ type: "from" | "to";
457
+ }>, z.ZodObject<{
458
+ type: z.ZodLiteral<"fix-value">;
459
+ value: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
460
+ }, "strip", z.ZodTypeAny, {
461
+ value: `0x${Lowercase<string>}`;
462
+ type: "fix-value";
463
+ }, {
464
+ value: string;
465
+ type: "fix-value";
466
+ }>, z.ZodObject<{
467
+ type: z.ZodLiteral<"target">;
468
+ argIndex: z.ZodNumber;
469
+ }, "strip", z.ZodTypeAny, {
470
+ type: "target";
471
+ argIndex: number;
472
+ }, {
473
+ type: "target";
474
+ argIndex: number;
475
+ }>, z.ZodObject<{
476
+ type: z.ZodLiteral<"log">;
477
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
478
+ indexedCount: z.ZodNumber;
479
+ index: z.ZodNumber;
480
+ argIndex: z.ZodNumber;
481
+ }, "strip", z.ZodTypeAny, {
482
+ type: "log";
483
+ signature: `0x${Lowercase<string>}`;
484
+ index: number;
485
+ indexedCount: number;
486
+ argIndex: number;
487
+ }, {
488
+ type: "log";
489
+ signature: string;
490
+ index: number;
491
+ indexedCount: number;
492
+ argIndex: number;
493
+ }>]>;
494
+ export declare const actionGeneratorAnyLogAmountSchema: z.ZodUnion<[z.ZodObject<{
495
+ type: z.ZodLiteral<"value">;
496
+ }, "strip", z.ZodTypeAny, {
497
+ type: "value";
498
+ }, {
499
+ type: "value";
500
+ }>, z.ZodObject<{
501
+ type: z.ZodLiteral<"fix-value">;
502
+ value: z.ZodEffects<z.ZodString, bigint, string>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ value: bigint;
505
+ type: "fix-value";
506
+ }, {
507
+ value: string;
508
+ type: "fix-value";
509
+ }>, z.ZodObject<{
510
+ type: z.ZodLiteral<"target">;
511
+ argIndex: z.ZodNumber;
512
+ }, "strip", z.ZodTypeAny, {
513
+ type: "target";
514
+ argIndex: number;
515
+ }, {
516
+ type: "target";
517
+ argIndex: number;
518
+ }>, z.ZodObject<{
519
+ type: z.ZodLiteral<"log">;
520
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
521
+ indexedCount: z.ZodNumber;
522
+ index: z.ZodNumber;
523
+ argIndex: z.ZodNumber;
524
+ }, "strip", z.ZodTypeAny, {
525
+ type: "log";
526
+ signature: `0x${Lowercase<string>}`;
527
+ index: number;
528
+ indexedCount: number;
529
+ argIndex: number;
530
+ }, {
531
+ type: "log";
532
+ signature: string;
533
+ index: number;
534
+ indexedCount: number;
535
+ argIndex: number;
536
+ }>]>;
537
+ export declare const actionGeneratorAnyLogSchema: z.ZodEffects<z.ZodObject<{
538
+ type: z.ZodLiteral<"any-log">;
539
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"spam">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">]>;
540
+ comment: z.ZodOptional<z.ZodString>;
541
+ target: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"none">]>;
542
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
543
+ indexedCount: z.ZodNumber;
544
+ token: z.ZodObject<{
545
+ token: z.ZodLiteral<"native">;
546
+ }, "strip", z.ZodTypeAny, {
547
+ token: "native";
548
+ }, {
549
+ token: "native";
550
+ }>;
551
+ from: z.ZodUnion<[z.ZodObject<{
552
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ type: "from" | "to";
555
+ }, {
556
+ type: "from" | "to";
557
+ }>, z.ZodObject<{
558
+ type: z.ZodLiteral<"fix-value">;
559
+ value: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ value: `0x${Lowercase<string>}`;
562
+ type: "fix-value";
563
+ }, {
564
+ value: string;
565
+ type: "fix-value";
566
+ }>, z.ZodObject<{
567
+ type: z.ZodLiteral<"target">;
568
+ argIndex: z.ZodNumber;
569
+ }, "strip", z.ZodTypeAny, {
570
+ type: "target";
571
+ argIndex: number;
572
+ }, {
573
+ type: "target";
574
+ argIndex: number;
575
+ }>, z.ZodObject<{
576
+ type: z.ZodLiteral<"log">;
577
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
578
+ indexedCount: z.ZodNumber;
579
+ index: z.ZodNumber;
580
+ argIndex: z.ZodNumber;
581
+ }, "strip", z.ZodTypeAny, {
582
+ type: "log";
583
+ signature: `0x${Lowercase<string>}`;
584
+ index: number;
585
+ indexedCount: number;
586
+ argIndex: number;
587
+ }, {
588
+ type: "log";
589
+ signature: string;
590
+ index: number;
591
+ indexedCount: number;
592
+ argIndex: number;
593
+ }>]>;
594
+ to: z.ZodUnion<[z.ZodObject<{
595
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ type: "from" | "to";
598
+ }, {
599
+ type: "from" | "to";
600
+ }>, z.ZodObject<{
601
+ type: z.ZodLiteral<"fix-value">;
602
+ value: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ value: `0x${Lowercase<string>}`;
605
+ type: "fix-value";
606
+ }, {
607
+ value: string;
608
+ type: "fix-value";
609
+ }>, z.ZodObject<{
610
+ type: z.ZodLiteral<"target">;
611
+ argIndex: z.ZodNumber;
612
+ }, "strip", z.ZodTypeAny, {
613
+ type: "target";
614
+ argIndex: number;
615
+ }, {
616
+ type: "target";
617
+ argIndex: number;
618
+ }>, z.ZodObject<{
619
+ type: z.ZodLiteral<"log">;
620
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
621
+ indexedCount: z.ZodNumber;
622
+ index: z.ZodNumber;
623
+ argIndex: z.ZodNumber;
624
+ }, "strip", z.ZodTypeAny, {
625
+ type: "log";
626
+ signature: `0x${Lowercase<string>}`;
627
+ index: number;
628
+ indexedCount: number;
629
+ argIndex: number;
630
+ }, {
631
+ type: "log";
632
+ signature: string;
633
+ index: number;
634
+ indexedCount: number;
635
+ argIndex: number;
636
+ }>]>;
637
+ amount: z.ZodUnion<[z.ZodObject<{
638
+ type: z.ZodLiteral<"value">;
639
+ }, "strip", z.ZodTypeAny, {
640
+ type: "value";
641
+ }, {
642
+ type: "value";
643
+ }>, z.ZodObject<{
644
+ type: z.ZodLiteral<"fix-value">;
645
+ value: z.ZodEffects<z.ZodString, bigint, string>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ value: bigint;
648
+ type: "fix-value";
649
+ }, {
650
+ value: string;
651
+ type: "fix-value";
652
+ }>, z.ZodObject<{
653
+ type: z.ZodLiteral<"target">;
654
+ argIndex: z.ZodNumber;
655
+ }, "strip", z.ZodTypeAny, {
656
+ type: "target";
657
+ argIndex: number;
658
+ }, {
659
+ type: "target";
660
+ argIndex: number;
661
+ }>, z.ZodObject<{
662
+ type: z.ZodLiteral<"log">;
663
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
664
+ indexedCount: z.ZodNumber;
665
+ index: z.ZodNumber;
666
+ argIndex: z.ZodNumber;
667
+ }, "strip", z.ZodTypeAny, {
668
+ type: "log";
669
+ signature: `0x${Lowercase<string>}`;
670
+ index: number;
671
+ indexedCount: number;
672
+ argIndex: number;
673
+ }, {
674
+ type: "log";
675
+ signature: string;
676
+ index: number;
677
+ indexedCount: number;
678
+ argIndex: number;
679
+ }>]>;
680
+ }, "strip", z.ZodTypeAny, {
681
+ type: "any-log";
682
+ from: {
683
+ type: "from" | "to";
684
+ } | {
685
+ value: `0x${Lowercase<string>}`;
686
+ type: "fix-value";
687
+ } | {
688
+ type: "target";
689
+ argIndex: number;
690
+ } | {
691
+ type: "log";
692
+ signature: `0x${Lowercase<string>}`;
693
+ index: number;
694
+ indexedCount: number;
695
+ argIndex: number;
696
+ };
697
+ to: {
698
+ type: "from" | "to";
699
+ } | {
700
+ value: `0x${Lowercase<string>}`;
701
+ type: "fix-value";
702
+ } | {
703
+ type: "target";
704
+ argIndex: number;
705
+ } | {
706
+ type: "log";
707
+ signature: `0x${Lowercase<string>}`;
708
+ index: number;
709
+ indexedCount: number;
710
+ argIndex: number;
711
+ };
712
+ signature: `0x${Lowercase<string>}`;
713
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
714
+ amount: {
715
+ type: "value";
716
+ } | {
717
+ value: bigint;
718
+ type: "fix-value";
719
+ } | {
720
+ type: "target";
721
+ argIndex: number;
722
+ } | {
723
+ type: "log";
724
+ signature: `0x${Lowercase<string>}`;
725
+ index: number;
726
+ indexedCount: number;
727
+ argIndex: number;
728
+ };
729
+ token: {
730
+ token: "native";
731
+ };
732
+ target: "from" | "to" | "none";
733
+ indexedCount: number;
734
+ comment?: string | undefined;
735
+ }, {
736
+ type: "any-log";
737
+ from: {
738
+ type: "from" | "to";
739
+ } | {
740
+ value: string;
741
+ type: "fix-value";
742
+ } | {
743
+ type: "target";
744
+ argIndex: number;
745
+ } | {
746
+ type: "log";
747
+ signature: string;
748
+ index: number;
749
+ indexedCount: number;
750
+ argIndex: number;
751
+ };
752
+ to: {
753
+ type: "from" | "to";
754
+ } | {
755
+ value: string;
756
+ type: "fix-value";
757
+ } | {
758
+ type: "target";
759
+ argIndex: number;
760
+ } | {
761
+ type: "log";
762
+ signature: string;
763
+ index: number;
764
+ indexedCount: number;
765
+ argIndex: number;
766
+ };
767
+ signature: string;
768
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
769
+ amount: {
770
+ type: "value";
771
+ } | {
772
+ value: string;
773
+ type: "fix-value";
774
+ } | {
775
+ type: "target";
776
+ argIndex: number;
777
+ } | {
778
+ type: "log";
779
+ signature: string;
780
+ index: number;
781
+ indexedCount: number;
782
+ argIndex: number;
783
+ };
784
+ token: {
785
+ token: "native";
786
+ };
787
+ target: "from" | "to" | "none";
788
+ indexedCount: number;
789
+ comment?: string | undefined;
790
+ }>, {
791
+ comment: string | undefined;
792
+ type: "any-log";
793
+ from: {
794
+ type: "from" | "to";
795
+ } | {
796
+ value: `0x${Lowercase<string>}`;
797
+ type: "fix-value";
798
+ } | {
799
+ type: "target";
800
+ argIndex: number;
801
+ } | {
802
+ type: "log";
803
+ signature: `0x${Lowercase<string>}`;
804
+ index: number;
805
+ indexedCount: number;
806
+ argIndex: number;
807
+ };
808
+ to: {
809
+ type: "from" | "to";
810
+ } | {
811
+ value: `0x${Lowercase<string>}`;
812
+ type: "fix-value";
813
+ } | {
814
+ type: "target";
815
+ argIndex: number;
816
+ } | {
817
+ type: "log";
818
+ signature: `0x${Lowercase<string>}`;
819
+ index: number;
820
+ indexedCount: number;
821
+ argIndex: number;
822
+ };
823
+ signature: `0x${Lowercase<string>}`;
824
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
825
+ amount: {
826
+ type: "value";
827
+ } | {
828
+ value: bigint;
829
+ type: "fix-value";
830
+ } | {
831
+ type: "target";
832
+ argIndex: number;
833
+ } | {
834
+ type: "log";
835
+ signature: `0x${Lowercase<string>}`;
836
+ index: number;
837
+ indexedCount: number;
838
+ argIndex: number;
839
+ };
840
+ token: {
841
+ token: "native";
842
+ };
843
+ target: "from" | "to" | "none";
844
+ indexedCount: number;
845
+ }, {
846
+ type: "any-log";
847
+ from: {
848
+ type: "from" | "to";
849
+ } | {
850
+ value: string;
851
+ type: "fix-value";
852
+ } | {
853
+ type: "target";
854
+ argIndex: number;
855
+ } | {
856
+ type: "log";
857
+ signature: string;
858
+ index: number;
859
+ indexedCount: number;
860
+ argIndex: number;
861
+ };
862
+ to: {
863
+ type: "from" | "to";
864
+ } | {
865
+ value: string;
866
+ type: "fix-value";
867
+ } | {
868
+ type: "target";
869
+ argIndex: number;
870
+ } | {
871
+ type: "log";
872
+ signature: string;
873
+ index: number;
874
+ indexedCount: number;
875
+ argIndex: number;
876
+ };
877
+ signature: string;
878
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
879
+ amount: {
880
+ type: "value";
881
+ } | {
882
+ value: string;
883
+ type: "fix-value";
884
+ } | {
885
+ type: "target";
886
+ argIndex: number;
887
+ } | {
888
+ type: "log";
889
+ signature: string;
890
+ index: number;
891
+ indexedCount: number;
892
+ argIndex: number;
893
+ };
894
+ token: {
895
+ token: "native";
896
+ };
897
+ target: "from" | "to" | "none";
898
+ indexedCount: number;
899
+ comment?: string | undefined;
900
+ }>;
901
+ export declare const actionTransferGeneratorFromTokenTransferSchema: z.ZodObject<{
902
+ type: z.ZodLiteral<"token-transfer">;
903
+ token: z.ZodUnion<[z.ZodLiteral<"erc20">, z.ZodLiteral<"erc721">, z.ZodLiteral<"erc1155">, z.ZodLiteral<"value">, z.ZodLiteral<"internal">]>;
904
+ transferIndex: z.ZodUnion<[z.ZodLiteral<"any">, z.ZodNumber]>;
905
+ target: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"none">]>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ type: "token-transfer";
908
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
909
+ target: "from" | "to" | "none";
910
+ transferIndex: number | "any";
911
+ }, {
912
+ type: "token-transfer";
913
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
914
+ target: "from" | "to" | "none";
915
+ transferIndex: number | "any";
916
+ }>;
917
+ export declare const tokenTransferConditionAddressSchema: z.ZodObject<{
918
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
919
+ condition: z.ZodUnion<[z.ZodObject<{
920
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ type: "from" | "to";
923
+ }, {
924
+ type: "from" | "to";
925
+ }>, z.ZodObject<{
926
+ type: z.ZodLiteral<"fix-value">;
927
+ value: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
928
+ }, "strip", z.ZodTypeAny, {
929
+ value: `0x${Lowercase<string>}`;
930
+ type: "fix-value";
931
+ }, {
932
+ value: string;
933
+ type: "fix-value";
934
+ }>, z.ZodObject<{
935
+ type: z.ZodLiteral<"log">;
936
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
937
+ indexedCount: z.ZodNumber;
938
+ index: z.ZodNumber;
939
+ argIndex: z.ZodNumber;
940
+ }, "strip", z.ZodTypeAny, {
941
+ type: "log";
942
+ signature: `0x${Lowercase<string>}`;
943
+ index: number;
944
+ indexedCount: number;
945
+ argIndex: number;
946
+ }, {
947
+ type: "log";
948
+ signature: string;
949
+ index: number;
950
+ indexedCount: number;
951
+ argIndex: number;
952
+ }>]>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ type: "from" | "to";
955
+ condition: {
956
+ type: "from" | "to";
957
+ } | {
958
+ value: `0x${Lowercase<string>}`;
959
+ type: "fix-value";
960
+ } | {
961
+ type: "log";
962
+ signature: `0x${Lowercase<string>}`;
963
+ index: number;
964
+ indexedCount: number;
965
+ argIndex: number;
966
+ };
967
+ }, {
968
+ type: "from" | "to";
969
+ condition: {
970
+ type: "from" | "to";
971
+ } | {
972
+ value: string;
973
+ type: "fix-value";
974
+ } | {
975
+ type: "log";
976
+ signature: string;
977
+ index: number;
978
+ indexedCount: number;
979
+ argIndex: number;
980
+ };
981
+ }>;
982
+ export declare const actionTransferGeneratorFromTokenTransferWithConditionSchema: z.ZodObject<{
983
+ type: z.ZodLiteral<"token-transfer-with-condition">;
984
+ token: z.ZodUnion<[z.ZodLiteral<"erc20">, z.ZodLiteral<"erc721">, z.ZodLiteral<"erc1155">, z.ZodLiteral<"internal">]>;
985
+ conditions: z.ZodArray<z.ZodObject<{
986
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
987
+ condition: z.ZodUnion<[z.ZodObject<{
988
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
989
+ }, "strip", z.ZodTypeAny, {
990
+ type: "from" | "to";
991
+ }, {
992
+ type: "from" | "to";
993
+ }>, z.ZodObject<{
994
+ type: z.ZodLiteral<"fix-value">;
995
+ value: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ value: `0x${Lowercase<string>}`;
998
+ type: "fix-value";
999
+ }, {
1000
+ value: string;
1001
+ type: "fix-value";
1002
+ }>, z.ZodObject<{
1003
+ type: z.ZodLiteral<"log">;
1004
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
1005
+ indexedCount: z.ZodNumber;
1006
+ index: z.ZodNumber;
1007
+ argIndex: z.ZodNumber;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ type: "log";
1010
+ signature: `0x${Lowercase<string>}`;
1011
+ index: number;
1012
+ indexedCount: number;
1013
+ argIndex: number;
1014
+ }, {
1015
+ type: "log";
1016
+ signature: string;
1017
+ index: number;
1018
+ indexedCount: number;
1019
+ argIndex: number;
1020
+ }>]>;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ type: "from" | "to";
1023
+ condition: {
1024
+ type: "from" | "to";
1025
+ } | {
1026
+ value: `0x${Lowercase<string>}`;
1027
+ type: "fix-value";
1028
+ } | {
1029
+ type: "log";
1030
+ signature: `0x${Lowercase<string>}`;
1031
+ index: number;
1032
+ indexedCount: number;
1033
+ argIndex: number;
1034
+ };
1035
+ }, {
1036
+ type: "from" | "to";
1037
+ condition: {
1038
+ type: "from" | "to";
1039
+ } | {
1040
+ value: string;
1041
+ type: "fix-value";
1042
+ } | {
1043
+ type: "log";
1044
+ signature: string;
1045
+ index: number;
1046
+ indexedCount: number;
1047
+ argIndex: number;
1048
+ };
1049
+ }>, "many">;
1050
+ target: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"none">]>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ type: "token-transfer-with-condition";
1053
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1054
+ target: "from" | "to" | "none";
1055
+ conditions: {
1056
+ type: "from" | "to";
1057
+ condition: {
1058
+ type: "from" | "to";
1059
+ } | {
1060
+ value: `0x${Lowercase<string>}`;
1061
+ type: "fix-value";
1062
+ } | {
1063
+ type: "log";
1064
+ signature: `0x${Lowercase<string>}`;
1065
+ index: number;
1066
+ indexedCount: number;
1067
+ argIndex: number;
1068
+ };
1069
+ }[];
1070
+ }, {
1071
+ type: "token-transfer-with-condition";
1072
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1073
+ target: "from" | "to" | "none";
1074
+ conditions: {
1075
+ type: "from" | "to";
1076
+ condition: {
1077
+ type: "from" | "to";
1078
+ } | {
1079
+ value: string;
1080
+ type: "fix-value";
1081
+ } | {
1082
+ type: "log";
1083
+ signature: string;
1084
+ index: number;
1085
+ indexedCount: number;
1086
+ argIndex: number;
1087
+ };
1088
+ }[];
1089
+ }>;
1090
+ export declare const actionGeneratorSpecificTokenTransferSchema: z.ZodEffects<z.ZodObject<{
1091
+ type: z.ZodLiteral<"specific-token-transfer">;
1092
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"spam">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">]>;
1093
+ comment: z.ZodOptional<z.ZodString>;
1094
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1095
+ type: z.ZodLiteral<"token-transfer">;
1096
+ token: z.ZodUnion<[z.ZodLiteral<"erc20">, z.ZodLiteral<"erc721">, z.ZodLiteral<"erc1155">, z.ZodLiteral<"value">, z.ZodLiteral<"internal">]>;
1097
+ transferIndex: z.ZodUnion<[z.ZodLiteral<"any">, z.ZodNumber]>;
1098
+ target: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"none">]>;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ type: "token-transfer";
1101
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
1102
+ target: "from" | "to" | "none";
1103
+ transferIndex: number | "any";
1104
+ }, {
1105
+ type: "token-transfer";
1106
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
1107
+ target: "from" | "to" | "none";
1108
+ transferIndex: number | "any";
1109
+ }>, z.ZodObject<{
1110
+ type: z.ZodLiteral<"token-transfer-with-condition">;
1111
+ token: z.ZodUnion<[z.ZodLiteral<"erc20">, z.ZodLiteral<"erc721">, z.ZodLiteral<"erc1155">, z.ZodLiteral<"internal">]>;
1112
+ conditions: z.ZodArray<z.ZodObject<{
1113
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
1114
+ condition: z.ZodUnion<[z.ZodObject<{
1115
+ type: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">]>;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ type: "from" | "to";
1118
+ }, {
1119
+ type: "from" | "to";
1120
+ }>, z.ZodObject<{
1121
+ type: z.ZodLiteral<"fix-value">;
1122
+ value: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
1123
+ }, "strip", z.ZodTypeAny, {
1124
+ value: `0x${Lowercase<string>}`;
1125
+ type: "fix-value";
1126
+ }, {
1127
+ value: string;
1128
+ type: "fix-value";
1129
+ }>, z.ZodObject<{
1130
+ type: z.ZodLiteral<"log">;
1131
+ signature: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
1132
+ indexedCount: z.ZodNumber;
1133
+ index: z.ZodNumber;
1134
+ argIndex: z.ZodNumber;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ type: "log";
1137
+ signature: `0x${Lowercase<string>}`;
1138
+ index: number;
1139
+ indexedCount: number;
1140
+ argIndex: number;
1141
+ }, {
1142
+ type: "log";
1143
+ signature: string;
1144
+ index: number;
1145
+ indexedCount: number;
1146
+ argIndex: number;
1147
+ }>]>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ type: "from" | "to";
1150
+ condition: {
1151
+ type: "from" | "to";
1152
+ } | {
1153
+ value: `0x${Lowercase<string>}`;
1154
+ type: "fix-value";
1155
+ } | {
1156
+ type: "log";
1157
+ signature: `0x${Lowercase<string>}`;
1158
+ index: number;
1159
+ indexedCount: number;
1160
+ argIndex: number;
1161
+ };
1162
+ }, {
1163
+ type: "from" | "to";
1164
+ condition: {
1165
+ type: "from" | "to";
1166
+ } | {
1167
+ value: string;
1168
+ type: "fix-value";
1169
+ } | {
1170
+ type: "log";
1171
+ signature: string;
1172
+ index: number;
1173
+ indexedCount: number;
1174
+ argIndex: number;
1175
+ };
1176
+ }>, "many">;
1177
+ target: z.ZodUnion<[z.ZodLiteral<"from">, z.ZodLiteral<"to">, z.ZodLiteral<"none">]>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ type: "token-transfer-with-condition";
1180
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1181
+ target: "from" | "to" | "none";
1182
+ conditions: {
1183
+ type: "from" | "to";
1184
+ condition: {
1185
+ type: "from" | "to";
1186
+ } | {
1187
+ value: `0x${Lowercase<string>}`;
1188
+ type: "fix-value";
1189
+ } | {
1190
+ type: "log";
1191
+ signature: `0x${Lowercase<string>}`;
1192
+ index: number;
1193
+ indexedCount: number;
1194
+ argIndex: number;
1195
+ };
1196
+ }[];
1197
+ }, {
1198
+ type: "token-transfer-with-condition";
1199
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1200
+ target: "from" | "to" | "none";
1201
+ conditions: {
1202
+ type: "from" | "to";
1203
+ condition: {
1204
+ type: "from" | "to";
1205
+ } | {
1206
+ value: string;
1207
+ type: "fix-value";
1208
+ } | {
1209
+ type: "log";
1210
+ signature: string;
1211
+ index: number;
1212
+ indexedCount: number;
1213
+ argIndex: number;
1214
+ };
1215
+ }[];
1216
+ }>]>, "many">;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ type: "specific-token-transfer";
1219
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
1220
+ transfers: ({
1221
+ type: "token-transfer";
1222
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
1223
+ target: "from" | "to" | "none";
1224
+ transferIndex: number | "any";
1225
+ } | {
1226
+ type: "token-transfer-with-condition";
1227
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1228
+ target: "from" | "to" | "none";
1229
+ conditions: {
1230
+ type: "from" | "to";
1231
+ condition: {
1232
+ type: "from" | "to";
1233
+ } | {
1234
+ value: `0x${Lowercase<string>}`;
1235
+ type: "fix-value";
1236
+ } | {
1237
+ type: "log";
1238
+ signature: `0x${Lowercase<string>}`;
1239
+ index: number;
1240
+ indexedCount: number;
1241
+ argIndex: number;
1242
+ };
1243
+ }[];
1244
+ })[];
1245
+ comment?: string | undefined;
1246
+ }, {
1247
+ type: "specific-token-transfer";
1248
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
1249
+ transfers: ({
1250
+ type: "token-transfer";
1251
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
1252
+ target: "from" | "to" | "none";
1253
+ transferIndex: number | "any";
1254
+ } | {
1255
+ type: "token-transfer-with-condition";
1256
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1257
+ target: "from" | "to" | "none";
1258
+ conditions: {
1259
+ type: "from" | "to";
1260
+ condition: {
1261
+ type: "from" | "to";
1262
+ } | {
1263
+ value: string;
1264
+ type: "fix-value";
1265
+ } | {
1266
+ type: "log";
1267
+ signature: string;
1268
+ index: number;
1269
+ indexedCount: number;
1270
+ argIndex: number;
1271
+ };
1272
+ }[];
1273
+ })[];
1274
+ comment?: string | undefined;
1275
+ }>, {
1276
+ comment: string | undefined;
1277
+ type: "specific-token-transfer";
1278
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
1279
+ transfers: ({
1280
+ type: "token-transfer";
1281
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
1282
+ target: "from" | "to" | "none";
1283
+ transferIndex: number | "any";
1284
+ } | {
1285
+ type: "token-transfer-with-condition";
1286
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1287
+ target: "from" | "to" | "none";
1288
+ conditions: {
1289
+ type: "from" | "to";
1290
+ condition: {
1291
+ type: "from" | "to";
1292
+ } | {
1293
+ value: `0x${Lowercase<string>}`;
1294
+ type: "fix-value";
1295
+ } | {
1296
+ type: "log";
1297
+ signature: `0x${Lowercase<string>}`;
1298
+ index: number;
1299
+ indexedCount: number;
1300
+ argIndex: number;
1301
+ };
1302
+ }[];
1303
+ })[];
1304
+ }, {
1305
+ type: "specific-token-transfer";
1306
+ action: "transfer" | "withdraw" | "deposit" | "trade" | "buy-nft" | "transaction-fee" | "spam" | "atomic-arbitrage" | "free-mint-nft" | "bridge-from" | "bridge-to" | "add-liquidity" | "deposit-with-bond" | "remove-liquidity" | "withdraw-with-bond";
1307
+ transfers: ({
1308
+ type: "token-transfer";
1309
+ token: "value" | "erc20" | "erc721" | "erc1155" | "internal";
1310
+ target: "from" | "to" | "none";
1311
+ transferIndex: number | "any";
1312
+ } | {
1313
+ type: "token-transfer-with-condition";
1314
+ token: "erc20" | "erc721" | "erc1155" | "internal";
1315
+ target: "from" | "to" | "none";
1316
+ conditions: {
1317
+ type: "from" | "to";
1318
+ condition: {
1319
+ type: "from" | "to";
1320
+ } | {
1321
+ value: string;
1322
+ type: "fix-value";
1323
+ } | {
1324
+ type: "log";
1325
+ signature: string;
1326
+ index: number;
1327
+ indexedCount: number;
1328
+ argIndex: number;
1329
+ };
1330
+ }[];
1331
+ })[];
1332
+ comment?: string | undefined;
1333
+ }>;
1334
+ type EvmAnalyzerSchema = z.ZodObject<{
1335
+ chainId: z.ZodOptional<z.ZodNumber>;
1336
+ from: z.ZodOptional<typeof premitiveAddressSchema>;
1337
+ to: z.ZodOptional<typeof premitiveAddressSchema>;
1338
+ value: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<'plus'>, z.ZodLiteral<'zero'>]>>;
1339
+ functionSignature: typeof methodIdSchema;
1340
+ functionInterface: z.ZodOptional<z.ZodString>;
1341
+ logsPatterns: z.ZodArray<typeof logsPatternSchema>;
1342
+ internalsPatterns: z.ZodOptional<z.ZodArray<typeof internalsPatternSchema>>;
1343
+ parameterMatchPatterns: z.ZodOptional<z.ZodArray<typeof parameterMatchPatternSchema>>;
1344
+ generators: z.ZodArray<typeof actionGeneratorSchema>;
1345
+ }>;
1346
+ export declare const evmAnalyzerSchema: EvmAnalyzerSchema;
1347
+ export declare const evmAnalyzersSchema: z.ZodArray<typeof evmAnalyzerSchema>;
1348
+ //# sourceMappingURL=index.d.ts.map