@sentio/sdk 1.13.0 → 1.13.2

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 (355) hide show
  1. package/lib/cli/commands/run-create.js +2 -0
  2. package/lib/cli/commands/run-create.js.map +1 -1
  3. package/lib/test/index.d.ts +1 -0
  4. package/lib/test/index.js +5 -1
  5. package/lib/test/index.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/cli/commands/run-create.ts +3 -0
  8. package/src/test/index.ts +1 -0
  9. package/template/package.json +2 -3
  10. package/template/src/processor.test.ts +1 -1
  11. package/template/src/processor.ts +20 -16
  12. package/template/node_modules/@sentio/sdk/lib/base-processor-template.d.ts +0 -27
  13. package/template/node_modules/@sentio/sdk/lib/base-processor-template.js +0 -80
  14. package/template/node_modules/@sentio/sdk/lib/base-processor-template.js.map +0 -1
  15. package/template/node_modules/@sentio/sdk/lib/base-processor.d.ts +0 -30
  16. package/template/node_modules/@sentio/sdk/lib/base-processor.js +0 -148
  17. package/template/node_modules/@sentio/sdk/lib/base-processor.js.map +0 -1
  18. package/template/node_modules/@sentio/sdk/lib/bind-options.d.ts +0 -21
  19. package/template/node_modules/@sentio/sdk/lib/bind-options.js +0 -42
  20. package/template/node_modules/@sentio/sdk/lib/bind-options.js.map +0 -1
  21. package/template/node_modules/@sentio/sdk/lib/binds.d.ts +0 -10
  22. package/template/node_modules/@sentio/sdk/lib/binds.js +0 -59
  23. package/template/node_modules/@sentio/sdk/lib/binds.js.map +0 -1
  24. package/template/node_modules/@sentio/sdk/lib/builtin/erc20/index.d.ts +0 -2
  25. package/template/node_modules/@sentio/sdk/lib/builtin/erc20/index.js +0 -22
  26. package/template/node_modules/@sentio/sdk/lib/builtin/erc20/index.js.map +0 -1
  27. package/template/node_modules/@sentio/sdk/lib/builtin/erc20/test-utils.d.ts +0 -5
  28. package/template/node_modules/@sentio/sdk/lib/builtin/erc20/test-utils.js +0 -46
  29. package/template/node_modules/@sentio/sdk/lib/builtin/erc20/test-utils.js.map +0 -1
  30. package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/index.d.ts +0 -2
  31. package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/index.js +0 -22
  32. package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/index.js.map +0 -1
  33. package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/test-utils.d.ts +0 -4
  34. package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/test-utils.js +0 -35
  35. package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/test-utils.js.map +0 -1
  36. package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20.d.ts +0 -307
  37. package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20.js +0 -3
  38. package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20.js.map +0 -1
  39. package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20Bytes.d.ts +0 -166
  40. package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20Bytes.js +0 -3
  41. package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20Bytes.js.map +0 -1
  42. package/template/node_modules/@sentio/sdk/lib/builtin/internal/WETH9.d.ts +0 -221
  43. package/template/node_modules/@sentio/sdk/lib/builtin/internal/WETH9.js +0 -3
  44. package/template/node_modules/@sentio/sdk/lib/builtin/internal/WETH9.js.map +0 -1
  45. package/template/node_modules/@sentio/sdk/lib/builtin/internal/common.d.ts +0 -22
  46. package/template/node_modules/@sentio/sdk/lib/builtin/internal/common.js +0 -3
  47. package/template/node_modules/@sentio/sdk/lib/builtin/internal/common.js.map +0 -1
  48. package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20_processor.d.ts +0 -184
  49. package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20_processor.js +0 -453
  50. package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20_processor.js.map +0 -1
  51. package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20bytes_processor.d.ts +0 -110
  52. package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20bytes_processor.js +0 -325
  53. package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20bytes_processor.js.map +0 -1
  54. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20Bytes__factory.d.ts +0 -48
  55. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20Bytes__factory.js +0 -254
  56. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20Bytes__factory.js.map +0 -1
  57. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20__factory.d.ts +0 -42
  58. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20__factory.js +0 -404
  59. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20__factory.js.map +0 -1
  60. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.d.ts +0 -45
  61. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.js +0 -297
  62. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.js.map +0 -1
  63. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/index.d.ts +0 -3
  64. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/index.js +0 -13
  65. package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/index.js.map +0 -1
  66. package/template/node_modules/@sentio/sdk/lib/builtin/internal/index.d.ts +0 -7
  67. package/template/node_modules/@sentio/sdk/lib/builtin/internal/index.js +0 -34
  68. package/template/node_modules/@sentio/sdk/lib/builtin/internal/index.js.map +0 -1
  69. package/template/node_modules/@sentio/sdk/lib/builtin/internal/weth9_processor.d.ts +0 -126
  70. package/template/node_modules/@sentio/sdk/lib/builtin/internal/weth9_processor.js +0 -361
  71. package/template/node_modules/@sentio/sdk/lib/builtin/internal/weth9_processor.js.map +0 -1
  72. package/template/node_modules/@sentio/sdk/lib/builtin/weth9/index.d.ts +0 -2
  73. package/template/node_modules/@sentio/sdk/lib/builtin/weth9/index.js +0 -22
  74. package/template/node_modules/@sentio/sdk/lib/builtin/weth9/index.js.map +0 -1
  75. package/template/node_modules/@sentio/sdk/lib/builtin/weth9/test-utils.d.ts +0 -6
  76. package/template/node_modules/@sentio/sdk/lib/builtin/weth9/test-utils.js +0 -57
  77. package/template/node_modules/@sentio/sdk/lib/builtin/weth9/test-utils.js.map +0 -1
  78. package/template/node_modules/@sentio/sdk/lib/chain-config.d.ts +0 -6
  79. package/template/node_modules/@sentio/sdk/lib/chain-config.js +0 -3
  80. package/template/node_modules/@sentio/sdk/lib/chain-config.js.map +0 -1
  81. package/template/node_modules/@sentio/sdk/lib/cli/build.d.ts +0 -4
  82. package/template/node_modules/@sentio/sdk/lib/cli/build.js +0 -178
  83. package/template/node_modules/@sentio/sdk/lib/cli/build.js.map +0 -1
  84. package/template/node_modules/@sentio/sdk/lib/cli/cli.d.ts +0 -2
  85. package/template/node_modules/@sentio/sdk/lib/cli/cli.js +0 -163
  86. package/template/node_modules/@sentio/sdk/lib/cli/cli.js.map +0 -1
  87. package/template/node_modules/@sentio/sdk/lib/cli/commands/run-create.d.ts +0 -1
  88. package/template/node_modules/@sentio/sdk/lib/cli/commands/run-create.js +0 -43
  89. package/template/node_modules/@sentio/sdk/lib/cli/commands/run-create.js.map +0 -1
  90. package/template/node_modules/@sentio/sdk/lib/cli/commands/run-login.d.ts +0 -1
  91. package/template/node_modules/@sentio/sdk/lib/cli/commands/run-login.js +0 -77
  92. package/template/node_modules/@sentio/sdk/lib/cli/commands/run-login.js.map +0 -1
  93. package/template/node_modules/@sentio/sdk/lib/cli/config.d.ts +0 -16
  94. package/template/node_modules/@sentio/sdk/lib/cli/config.js +0 -36
  95. package/template/node_modules/@sentio/sdk/lib/cli/config.js.map +0 -1
  96. package/template/node_modules/@sentio/sdk/lib/cli/key.d.ts +0 -2
  97. package/template/node_modules/@sentio/sdk/lib/cli/key.js +0 -44
  98. package/template/node_modules/@sentio/sdk/lib/cli/key.js.map +0 -1
  99. package/template/node_modules/@sentio/sdk/lib/cli/solana-code-gen.d.ts +0 -2
  100. package/template/node_modules/@sentio/sdk/lib/cli/solana-code-gen.js +0 -19
  101. package/template/node_modules/@sentio/sdk/lib/cli/solana-code-gen.js.map +0 -1
  102. package/template/node_modules/@sentio/sdk/lib/cli/upload.d.ts +0 -2
  103. package/template/node_modules/@sentio/sdk/lib/cli/upload.js +0 -85
  104. package/template/node_modules/@sentio/sdk/lib/cli/upload.js.map +0 -1
  105. package/template/node_modules/@sentio/sdk/lib/cli/webpack.config.js +0 -42
  106. package/template/node_modules/@sentio/sdk/lib/context.d.ts +0 -49
  107. package/template/node_modules/@sentio/sdk/lib/context.js +0 -93
  108. package/template/node_modules/@sentio/sdk/lib/context.js.map +0 -1
  109. package/template/node_modules/@sentio/sdk/lib/contract-namer.d.ts +0 -6
  110. package/template/node_modules/@sentio/sdk/lib/contract-namer.js +0 -20
  111. package/template/node_modules/@sentio/sdk/lib/contract-namer.js.map +0 -1
  112. package/template/node_modules/@sentio/sdk/lib/error.d.ts +0 -7
  113. package/template/node_modules/@sentio/sdk/lib/error.js +0 -43
  114. package/template/node_modules/@sentio/sdk/lib/error.js.map +0 -1
  115. package/template/node_modules/@sentio/sdk/lib/gen/builtin.d.ts +0 -6
  116. package/template/node_modules/@sentio/sdk/lib/gen/builtin.js +0 -3
  117. package/template/node_modules/@sentio/sdk/lib/gen/builtin.js.map +0 -1
  118. package/template/node_modules/@sentio/sdk/lib/gen/google/protobuf/empty.d.ts +0 -16
  119. package/template/node_modules/@sentio/sdk/lib/gen/google/protobuf/empty.js +0 -47
  120. package/template/node_modules/@sentio/sdk/lib/gen/google/protobuf/empty.js.map +0 -1
  121. package/template/node_modules/@sentio/sdk/lib/gen/processor/protos/processor.d.ts +0 -666
  122. package/template/node_modules/@sentio/sdk/lib/gen/processor/protos/processor.js +0 -2837
  123. package/template/node_modules/@sentio/sdk/lib/gen/processor/protos/processor.js.map +0 -1
  124. package/template/node_modules/@sentio/sdk/lib/generic-processor.d.ts +0 -10
  125. package/template/node_modules/@sentio/sdk/lib/generic-processor.js +0 -32
  126. package/template/node_modules/@sentio/sdk/lib/generic-processor.js.map +0 -1
  127. package/template/node_modules/@sentio/sdk/lib/index.d.ts +0 -18
  128. package/template/node_modules/@sentio/sdk/lib/index.js +0 -63
  129. package/template/node_modules/@sentio/sdk/lib/index.js.map +0 -1
  130. package/template/node_modules/@sentio/sdk/lib/loader.d.ts +0 -5
  131. package/template/node_modules/@sentio/sdk/lib/loader.js +0 -30
  132. package/template/node_modules/@sentio/sdk/lib/loader.js.map +0 -1
  133. package/template/node_modules/@sentio/sdk/lib/meter.d.ts +0 -26
  134. package/template/node_modules/@sentio/sdk/lib/meter.js +0 -131
  135. package/template/node_modules/@sentio/sdk/lib/meter.js.map +0 -1
  136. package/template/node_modules/@sentio/sdk/lib/meter.test.d.ts +0 -1
  137. package/template/node_modules/@sentio/sdk/lib/meter.test.js +0 -16
  138. package/template/node_modules/@sentio/sdk/lib/meter.test.js.map +0 -1
  139. package/template/node_modules/@sentio/sdk/lib/numberish.d.ts +0 -6
  140. package/template/node_modules/@sentio/sdk/lib/numberish.js +0 -96
  141. package/template/node_modules/@sentio/sdk/lib/numberish.js.map +0 -1
  142. package/template/node_modules/@sentio/sdk/lib/numberish.test.d.ts +0 -1
  143. package/template/node_modules/@sentio/sdk/lib/numberish.test.js +0 -70
  144. package/template/node_modules/@sentio/sdk/lib/numberish.test.js.map +0 -1
  145. package/template/node_modules/@sentio/sdk/lib/processor-runner.d.ts +0 -2
  146. package/template/node_modules/@sentio/sdk/lib/processor-runner.js +0 -40
  147. package/template/node_modules/@sentio/sdk/lib/processor-runner.js.map +0 -1
  148. package/template/node_modules/@sentio/sdk/lib/processor-state.d.ts +0 -16
  149. package/template/node_modules/@sentio/sdk/lib/processor-state.js +0 -20
  150. package/template/node_modules/@sentio/sdk/lib/processor-state.js.map +0 -1
  151. package/template/node_modules/@sentio/sdk/lib/promise-or-void.d.ts +0 -1
  152. package/template/node_modules/@sentio/sdk/lib/promise-or-void.js +0 -3
  153. package/template/node_modules/@sentio/sdk/lib/promise-or-void.js.map +0 -1
  154. package/template/node_modules/@sentio/sdk/lib/provider.d.ts +0 -6
  155. package/template/node_modules/@sentio/sdk/lib/provider.js +0 -66
  156. package/template/node_modules/@sentio/sdk/lib/provider.js.map +0 -1
  157. package/template/node_modules/@sentio/sdk/lib/release.config.js +0 -31
  158. package/template/node_modules/@sentio/sdk/lib/service.d.ts +0 -25
  159. package/template/node_modules/@sentio/sdk/lib/service.js +0 -406
  160. package/template/node_modules/@sentio/sdk/lib/service.js.map +0 -1
  161. package/template/node_modules/@sentio/sdk/lib/solana/builtin/index.d.ts +0 -2
  162. package/template/node_modules/@sentio/sdk/lib/solana/builtin/index.js +0 -19
  163. package/template/node_modules/@sentio/sdk/lib/solana/builtin/index.js.map +0 -1
  164. package/template/node_modules/@sentio/sdk/lib/solana/builtin/spl-token-processor.d.ts +0 -26
  165. package/template/node_modules/@sentio/sdk/lib/solana/builtin/spl-token-processor.js +0 -138
  166. package/template/node_modules/@sentio/sdk/lib/solana/builtin/spl-token-processor.js.map +0 -1
  167. package/template/node_modules/@sentio/sdk/lib/solana/builtin/types.d.ts +0 -330
  168. package/template/node_modules/@sentio/sdk/lib/solana/builtin/types.js +0 -203
  169. package/template/node_modules/@sentio/sdk/lib/solana/builtin/types.js.map +0 -1
  170. package/template/node_modules/@sentio/sdk/lib/solana/builtin/wormhole-processor.d.ts +0 -18
  171. package/template/node_modules/@sentio/sdk/lib/solana/builtin/wormhole-processor.js +0 -192
  172. package/template/node_modules/@sentio/sdk/lib/solana/builtin/wormhole-processor.js.map +0 -1
  173. package/template/node_modules/@sentio/sdk/lib/solana-processor.d.ts +0 -34
  174. package/template/node_modules/@sentio/sdk/lib/solana-processor.js +0 -95
  175. package/template/node_modules/@sentio/sdk/lib/solana-processor.js.map +0 -1
  176. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/codegen.d.ts +0 -4
  177. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/codegen.js +0 -292
  178. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/codegen.js.map +0 -1
  179. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/functions.d.ts +0 -3
  180. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/functions.js +0 -61
  181. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/functions.js.map +0 -1
  182. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/index.d.ts +0 -6
  183. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/index.js +0 -51
  184. package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/index.js.map +0 -1
  185. package/template/node_modules/@sentio/sdk/lib/test/codegen.test.d.ts +0 -1
  186. package/template/node_modules/@sentio/sdk/lib/test/codegen.test.js +0 -49
  187. package/template/node_modules/@sentio/sdk/lib/test/codegen.test.js.map +0 -1
  188. package/template/node_modules/@sentio/sdk/lib/test/erc20-template.d.ts +0 -1
  189. package/template/node_modules/@sentio/sdk/lib/test/erc20-template.js +0 -23
  190. package/template/node_modules/@sentio/sdk/lib/test/erc20-template.js.map +0 -1
  191. package/template/node_modules/@sentio/sdk/lib/test/erc20-template.test.d.ts +0 -1
  192. package/template/node_modules/@sentio/sdk/lib/test/erc20-template.test.js +0 -37
  193. package/template/node_modules/@sentio/sdk/lib/test/erc20-template.test.js.map +0 -1
  194. package/template/node_modules/@sentio/sdk/lib/test/erc20.d.ts +0 -1
  195. package/template/node_modules/@sentio/sdk/lib/test/erc20.js +0 -44
  196. package/template/node_modules/@sentio/sdk/lib/test/erc20.js.map +0 -1
  197. package/template/node_modules/@sentio/sdk/lib/test/erc20.test.d.ts +0 -1
  198. package/template/node_modules/@sentio/sdk/lib/test/erc20.test.js +0 -96
  199. package/template/node_modules/@sentio/sdk/lib/test/erc20.test.js.map +0 -1
  200. package/template/node_modules/@sentio/sdk/lib/test/generic-processor.test.d.ts +0 -1
  201. package/template/node_modules/@sentio/sdk/lib/test/generic-processor.test.js +0 -59
  202. package/template/node_modules/@sentio/sdk/lib/test/generic-processor.test.js.map +0 -1
  203. package/template/node_modules/@sentio/sdk/lib/test/index.d.ts +0 -2
  204. package/template/node_modules/@sentio/sdk/lib/test/index.js +0 -8
  205. package/template/node_modules/@sentio/sdk/lib/test/index.js.map +0 -1
  206. package/template/node_modules/@sentio/sdk/lib/test/metric-utils.d.ts +0 -6
  207. package/template/node_modules/@sentio/sdk/lib/test/metric-utils.js +0 -50
  208. package/template/node_modules/@sentio/sdk/lib/test/metric-utils.js.map +0 -1
  209. package/template/node_modules/@sentio/sdk/lib/test/mirrorworld.d.ts +0 -1
  210. package/template/node_modules/@sentio/sdk/lib/test/mirrorworld.js +0 -42
  211. package/template/node_modules/@sentio/sdk/lib/test/mirrorworld.js.map +0 -1
  212. package/template/node_modules/@sentio/sdk/lib/test/solana.test.d.ts +0 -1
  213. package/template/node_modules/@sentio/sdk/lib/test/solana.test.js +0 -90
  214. package/template/node_modules/@sentio/sdk/lib/test/solana.test.js.map +0 -1
  215. package/template/node_modules/@sentio/sdk/lib/test/test-processor-server.d.ts +0 -34
  216. package/template/node_modules/@sentio/sdk/lib/test/test-processor-server.js +0 -205
  217. package/template/node_modules/@sentio/sdk/lib/test/test-processor-server.js.map +0 -1
  218. package/template/node_modules/@sentio/sdk/lib/test/test-provider.d.ts +0 -1
  219. package/template/node_modules/@sentio/sdk/lib/test/test-provider.js +0 -25
  220. package/template/node_modules/@sentio/sdk/lib/test/test-provider.js.map +0 -1
  221. package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet.d.ts +0 -45
  222. package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet.js +0 -1396
  223. package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet.js.map +0 -1
  224. package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet_processor.d.ts +0 -107
  225. package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet_processor.js +0 -105
  226. package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet_processor.js.map +0 -1
  227. package/template/node_modules/@sentio/sdk/lib/test/wormhole-token-bridge.d.ts +0 -1
  228. package/template/node_modules/@sentio/sdk/lib/test/wormhole-token-bridge.js +0 -22
  229. package/template/node_modules/@sentio/sdk/lib/test/wormhole-token-bridge.js.map +0 -1
  230. package/template/node_modules/@sentio/sdk/lib/trace.d.ts +0 -35
  231. package/template/node_modules/@sentio/sdk/lib/trace.js +0 -43
  232. package/template/node_modules/@sentio/sdk/lib/trace.js.map +0 -1
  233. package/template/node_modules/@sentio/sdk/lib/utils/chainmap.d.ts +0 -2
  234. package/template/node_modules/@sentio/sdk/lib/utils/chainmap.js +0 -98
  235. package/template/node_modules/@sentio/sdk/lib/utils/chainmap.js.map +0 -1
  236. package/template/node_modules/@sentio/sdk/lib/utils/convert.d.ts +0 -5
  237. package/template/node_modules/@sentio/sdk/lib/utils/convert.js +0 -27
  238. package/template/node_modules/@sentio/sdk/lib/utils/convert.js.map +0 -1
  239. package/template/node_modules/@sentio/sdk/lib/utils/erc20.d.ts +0 -14
  240. package/template/node_modules/@sentio/sdk/lib/utils/erc20.js +0 -62
  241. package/template/node_modules/@sentio/sdk/lib/utils/erc20.js.map +0 -1
  242. package/template/node_modules/@sentio/sdk/lib/utils/erc20.test.d.ts +0 -1
  243. package/template/node_modules/@sentio/sdk/lib/utils/erc20.test.js +0 -23
  244. package/template/node_modules/@sentio/sdk/lib/utils/erc20.test.js.map +0 -1
  245. package/template/node_modules/@sentio/sdk/lib/utils/index.d.ts +0 -3
  246. package/template/node_modules/@sentio/sdk/lib/utils/index.js +0 -14
  247. package/template/node_modules/@sentio/sdk/lib/utils/index.js.map +0 -1
  248. package/template/node_modules/@sentio/sdk/package.json +0 -78
  249. package/template/node_modules/@sentio/sdk/src/abis/ERC20.json +0 -174
  250. package/template/node_modules/@sentio/sdk/src/abis/ERC20Bytes.json +0 -236
  251. package/template/node_modules/@sentio/sdk/src/abis/WETH9.json +0 -153
  252. package/template/node_modules/@sentio/sdk/src/base-processor-template.ts +0 -105
  253. package/template/node_modules/@sentio/sdk/src/base-processor.ts +0 -172
  254. package/template/node_modules/@sentio/sdk/src/bind-options.ts +0 -41
  255. package/template/node_modules/@sentio/sdk/src/binds.ts +0 -73
  256. package/template/node_modules/@sentio/sdk/src/builtin/erc20/index.ts +0 -6
  257. package/template/node_modules/@sentio/sdk/src/builtin/erc20/test-utils.ts +0 -71
  258. package/template/node_modules/@sentio/sdk/src/builtin/erc20bytes/index.ts +0 -6
  259. package/template/node_modules/@sentio/sdk/src/builtin/erc20bytes/test-utils.ts +0 -53
  260. package/template/node_modules/@sentio/sdk/src/builtin/internal/ERC20.ts +0 -679
  261. package/template/node_modules/@sentio/sdk/src/builtin/internal/ERC20Bytes.ts +0 -384
  262. package/template/node_modules/@sentio/sdk/src/builtin/internal/WETH9.ts +0 -480
  263. package/template/node_modules/@sentio/sdk/src/builtin/internal/common.ts +0 -46
  264. package/template/node_modules/@sentio/sdk/src/builtin/internal/erc20_processor.ts +0 -762
  265. package/template/node_modules/@sentio/sdk/src/builtin/internal/erc20bytes_processor.ts +0 -531
  266. package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/ERC20Bytes__factory.ts +0 -257
  267. package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/ERC20__factory.ts +0 -404
  268. package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/WETH9__factory.ts +0 -297
  269. package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/index.ts +0 -6
  270. package/template/node_modules/@sentio/sdk/src/builtin/internal/index.ts +0 -10
  271. package/template/node_modules/@sentio/sdk/src/builtin/internal/weth9_processor.ts +0 -589
  272. package/template/node_modules/@sentio/sdk/src/builtin/weth9/index.ts +0 -6
  273. package/template/node_modules/@sentio/sdk/src/builtin/weth9/test-utils.ts +0 -89
  274. package/template/node_modules/@sentio/sdk/src/chain-config.ts +0 -6
  275. package/template/node_modules/@sentio/sdk/src/cli/build.ts +0 -196
  276. package/template/node_modules/@sentio/sdk/src/cli/cli.ts +0 -160
  277. package/template/node_modules/@sentio/sdk/src/cli/commands/run-create.ts +0 -36
  278. package/template/node_modules/@sentio/sdk/src/cli/commands/run-login.ts +0 -70
  279. package/template/node_modules/@sentio/sdk/src/cli/config.ts +0 -45
  280. package/template/node_modules/@sentio/sdk/src/cli/key.ts +0 -43
  281. package/template/node_modules/@sentio/sdk/src/cli/solana-code-gen.ts +0 -16
  282. package/template/node_modules/@sentio/sdk/src/cli/upload.ts +0 -88
  283. package/template/node_modules/@sentio/sdk/src/cli/webpack.config.js +0 -42
  284. package/template/node_modules/@sentio/sdk/src/context.ts +0 -103
  285. package/template/node_modules/@sentio/sdk/src/contract-namer.ts +0 -17
  286. package/template/node_modules/@sentio/sdk/src/error.ts +0 -45
  287. package/template/node_modules/@sentio/sdk/src/gen/builtin.ts +0 -22
  288. package/template/node_modules/@sentio/sdk/src/gen/google/protobuf/empty.ts +0 -70
  289. package/template/node_modules/@sentio/sdk/src/gen/processor/protos/processor.ts +0 -3626
  290. package/template/node_modules/@sentio/sdk/src/generic-processor.ts +0 -35
  291. package/template/node_modules/@sentio/sdk/src/index.ts +0 -21
  292. package/template/node_modules/@sentio/sdk/src/loader.ts +0 -24
  293. package/template/node_modules/@sentio/sdk/src/meter.test.ts +0 -16
  294. package/template/node_modules/@sentio/sdk/src/meter.ts +0 -140
  295. package/template/node_modules/@sentio/sdk/src/numberish.test.ts +0 -82
  296. package/template/node_modules/@sentio/sdk/src/numberish.ts +0 -100
  297. package/template/node_modules/@sentio/sdk/src/processor-runner.ts +0 -46
  298. package/template/node_modules/@sentio/sdk/src/processor-state.ts +0 -24
  299. package/template/node_modules/@sentio/sdk/src/promise-or-void.ts +0 -1
  300. package/template/node_modules/@sentio/sdk/src/provider.ts +0 -74
  301. package/template/node_modules/@sentio/sdk/src/service.ts +0 -491
  302. package/template/node_modules/@sentio/sdk/src/solana/builtin/index.ts +0 -2
  303. package/template/node_modules/@sentio/sdk/src/solana/builtin/spl-token-processor.ts +0 -164
  304. package/template/node_modules/@sentio/sdk/src/solana/builtin/types.ts +0 -268
  305. package/template/node_modules/@sentio/sdk/src/solana/builtin/wormhole-processor.ts +0 -178
  306. package/template/node_modules/@sentio/sdk/src/solana-processor.ts +0 -106
  307. package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/codegen.ts +0 -315
  308. package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/functions.ts +0 -68
  309. package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/index.ts +0 -50
  310. package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/tsconfig.json +0 -9
  311. package/template/node_modules/@sentio/sdk/src/test/abis/evm/CommitmentPool.json +0 -1034
  312. package/template/node_modules/@sentio/sdk/src/test/abis/evm/anyswapRouter.json +0 -490
  313. package/template/node_modules/@sentio/sdk/src/test/abis/solana/mirrorworld.json +0 -1392
  314. package/template/node_modules/@sentio/sdk/src/test/codegen.test.ts +0 -29
  315. package/template/node_modules/@sentio/sdk/src/test/erc20-template.test.ts +0 -37
  316. package/template/node_modules/@sentio/sdk/src/test/erc20-template.ts +0 -25
  317. package/template/node_modules/@sentio/sdk/src/test/erc20.test.ts +0 -117
  318. package/template/node_modules/@sentio/sdk/src/test/erc20.ts +0 -50
  319. package/template/node_modules/@sentio/sdk/src/test/generic-processor.test.ts +0 -70
  320. package/template/node_modules/@sentio/sdk/src/test/index.ts +0 -2
  321. package/template/node_modules/@sentio/sdk/src/test/metric-utils.ts +0 -49
  322. package/template/node_modules/@sentio/sdk/src/test/mirrorworld.ts +0 -40
  323. package/template/node_modules/@sentio/sdk/src/test/sentio.yaml +0 -4
  324. package/template/node_modules/@sentio/sdk/src/test/solana.test.ts +0 -93
  325. package/template/node_modules/@sentio/sdk/src/test/test-processor-server.ts +0 -258
  326. package/template/node_modules/@sentio/sdk/src/test/test-provider.ts +0 -25
  327. package/template/node_modules/@sentio/sdk/src/test/types/game_wallet.ts +0 -1392
  328. package/template/node_modules/@sentio/sdk/src/test/types/game_wallet_processor.ts +0 -113
  329. package/template/node_modules/@sentio/sdk/src/test/wormhole-token-bridge.ts +0 -21
  330. package/template/node_modules/@sentio/sdk/src/trace.ts +0 -86
  331. package/template/node_modules/@sentio/sdk/src/types/global.d.ts +0 -17
  332. package/template/node_modules/@sentio/sdk/src/utils/chainmap.ts +0 -95
  333. package/template/node_modules/@sentio/sdk/src/utils/convert.ts +0 -26
  334. package/template/node_modules/@sentio/sdk/src/utils/erc20.test.ts +0 -26
  335. package/template/node_modules/@sentio/sdk/src/utils/erc20.ts +0 -66
  336. package/template/node_modules/@sentio/sdk/src/utils/index.ts +0 -3
  337. package/template/node_modules/base-x/LICENSE.md +0 -22
  338. package/template/node_modules/base-x/README.md +0 -73
  339. package/template/node_modules/base-x/package.json +0 -46
  340. package/template/node_modules/base-x/src/index.d.ts +0 -9
  341. package/template/node_modules/base-x/src/index.js +0 -121
  342. package/template/node_modules/bs58/CHANGELOG.md +0 -65
  343. package/template/node_modules/bs58/LICENSE +0 -21
  344. package/template/node_modules/bs58/README.md +0 -91
  345. package/template/node_modules/bs58/index.d.ts +0 -5
  346. package/template/node_modules/bs58/index.js +0 -4
  347. package/template/node_modules/bs58/package.json +0 -39
  348. package/template/src/types/internal/X2y2.ts +0 -684
  349. package/template/src/types/internal/common.ts +0 -46
  350. package/template/src/types/internal/factories/X2y2__factory.ts +0 -436
  351. package/template/src/types/internal/factories/index.ts +0 -4
  352. package/template/src/types/internal/index.ts +0 -6
  353. package/template/src/types/internal/x2y2_processor.ts +0 -1004
  354. package/template/src/types/x2y2/index.ts +0 -6
  355. package/template/src/types/x2y2/test-utils.ts +0 -89
@@ -1,404 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ERC20__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- inputs: [],
11
- stateMutability: "nonpayable",
12
- type: "constructor",
13
- },
14
- {
15
- anonymous: false,
16
- inputs: [
17
- {
18
- indexed: true,
19
- internalType: "address",
20
- name: "owner",
21
- type: "address",
22
- },
23
- {
24
- indexed: true,
25
- internalType: "address",
26
- name: "spender",
27
- type: "address",
28
- },
29
- {
30
- indexed: false,
31
- internalType: "uint256",
32
- name: "value",
33
- type: "uint256",
34
- },
35
- ],
36
- name: "Approval",
37
- type: "event",
38
- },
39
- {
40
- anonymous: false,
41
- inputs: [
42
- {
43
- indexed: true,
44
- internalType: "address",
45
- name: "previousOwner",
46
- type: "address",
47
- },
48
- {
49
- indexed: true,
50
- internalType: "address",
51
- name: "newOwner",
52
- type: "address",
53
- },
54
- ],
55
- name: "OwnershipTransferred",
56
- type: "event",
57
- },
58
- {
59
- anonymous: false,
60
- inputs: [
61
- {
62
- indexed: true,
63
- internalType: "address",
64
- name: "from",
65
- type: "address",
66
- },
67
- {
68
- indexed: true,
69
- internalType: "address",
70
- name: "to",
71
- type: "address",
72
- },
73
- {
74
- indexed: false,
75
- internalType: "uint256",
76
- name: "value",
77
- type: "uint256",
78
- },
79
- ],
80
- name: "Transfer",
81
- type: "event",
82
- },
83
- {
84
- inputs: [
85
- {
86
- internalType: "address",
87
- name: "owner",
88
- type: "address",
89
- },
90
- {
91
- internalType: "address",
92
- name: "spender",
93
- type: "address",
94
- },
95
- ],
96
- name: "allowance",
97
- outputs: [
98
- {
99
- internalType: "uint256",
100
- name: "",
101
- type: "uint256",
102
- },
103
- ],
104
- stateMutability: "view",
105
- type: "function",
106
- },
107
- {
108
- inputs: [
109
- {
110
- internalType: "address",
111
- name: "spender",
112
- type: "address",
113
- },
114
- {
115
- internalType: "uint256",
116
- name: "amount",
117
- type: "uint256",
118
- },
119
- ],
120
- name: "approve",
121
- outputs: [
122
- {
123
- internalType: "bool",
124
- name: "",
125
- type: "bool",
126
- },
127
- ],
128
- stateMutability: "nonpayable",
129
- type: "function",
130
- },
131
- {
132
- inputs: [
133
- {
134
- internalType: "address",
135
- name: "account",
136
- type: "address",
137
- },
138
- ],
139
- name: "balanceOf",
140
- outputs: [
141
- {
142
- internalType: "uint256",
143
- name: "",
144
- type: "uint256",
145
- },
146
- ],
147
- stateMutability: "view",
148
- type: "function",
149
- },
150
- {
151
- inputs: [
152
- {
153
- internalType: "uint256",
154
- name: "amount",
155
- type: "uint256",
156
- },
157
- ],
158
- name: "burn",
159
- outputs: [],
160
- stateMutability: "nonpayable",
161
- type: "function",
162
- },
163
- {
164
- inputs: [
165
- {
166
- internalType: "address",
167
- name: "account",
168
- type: "address",
169
- },
170
- {
171
- internalType: "uint256",
172
- name: "amount",
173
- type: "uint256",
174
- },
175
- ],
176
- name: "burnFrom",
177
- outputs: [],
178
- stateMutability: "nonpayable",
179
- type: "function",
180
- },
181
- {
182
- inputs: [],
183
- name: "decimals",
184
- outputs: [
185
- {
186
- internalType: "uint8",
187
- name: "",
188
- type: "uint8",
189
- },
190
- ],
191
- stateMutability: "view",
192
- type: "function",
193
- },
194
- {
195
- inputs: [
196
- {
197
- internalType: "address",
198
- name: "spender",
199
- type: "address",
200
- },
201
- {
202
- internalType: "uint256",
203
- name: "subtractedValue",
204
- type: "uint256",
205
- },
206
- ],
207
- name: "decreaseAllowance",
208
- outputs: [
209
- {
210
- internalType: "bool",
211
- name: "",
212
- type: "bool",
213
- },
214
- ],
215
- stateMutability: "nonpayable",
216
- type: "function",
217
- },
218
- {
219
- inputs: [
220
- {
221
- internalType: "address",
222
- name: "spender",
223
- type: "address",
224
- },
225
- {
226
- internalType: "uint256",
227
- name: "addedValue",
228
- type: "uint256",
229
- },
230
- ],
231
- name: "increaseAllowance",
232
- outputs: [
233
- {
234
- internalType: "bool",
235
- name: "",
236
- type: "bool",
237
- },
238
- ],
239
- stateMutability: "nonpayable",
240
- type: "function",
241
- },
242
- {
243
- inputs: [],
244
- name: "locker",
245
- outputs: [
246
- {
247
- internalType: "contract ILocker",
248
- name: "",
249
- type: "address",
250
- },
251
- ],
252
- stateMutability: "view",
253
- type: "function",
254
- },
255
- {
256
- inputs: [],
257
- name: "name",
258
- outputs: [
259
- {
260
- internalType: "string",
261
- name: "",
262
- type: "string",
263
- },
264
- ],
265
- stateMutability: "view",
266
- type: "function",
267
- },
268
- {
269
- inputs: [],
270
- name: "owner",
271
- outputs: [
272
- {
273
- internalType: "address",
274
- name: "",
275
- type: "address",
276
- },
277
- ],
278
- stateMutability: "view",
279
- type: "function",
280
- },
281
- {
282
- inputs: [],
283
- name: "renounceOwnership",
284
- outputs: [],
285
- stateMutability: "nonpayable",
286
- type: "function",
287
- },
288
- {
289
- inputs: [
290
- {
291
- internalType: "address",
292
- name: "_locker",
293
- type: "address",
294
- },
295
- ],
296
- name: "setLocker",
297
- outputs: [],
298
- stateMutability: "nonpayable",
299
- type: "function",
300
- },
301
- {
302
- inputs: [],
303
- name: "symbol",
304
- outputs: [
305
- {
306
- internalType: "string",
307
- name: "",
308
- type: "string",
309
- },
310
- ],
311
- stateMutability: "view",
312
- type: "function",
313
- },
314
- {
315
- inputs: [],
316
- name: "totalSupply",
317
- outputs: [
318
- {
319
- internalType: "uint256",
320
- name: "",
321
- type: "uint256",
322
- },
323
- ],
324
- stateMutability: "view",
325
- type: "function",
326
- },
327
- {
328
- inputs: [
329
- {
330
- internalType: "address",
331
- name: "recipient",
332
- type: "address",
333
- },
334
- {
335
- internalType: "uint256",
336
- name: "amount",
337
- type: "uint256",
338
- },
339
- ],
340
- name: "transfer",
341
- outputs: [
342
- {
343
- internalType: "bool",
344
- name: "",
345
- type: "bool",
346
- },
347
- ],
348
- stateMutability: "nonpayable",
349
- type: "function",
350
- },
351
- {
352
- inputs: [
353
- {
354
- internalType: "address",
355
- name: "sender",
356
- type: "address",
357
- },
358
- {
359
- internalType: "address",
360
- name: "recipient",
361
- type: "address",
362
- },
363
- {
364
- internalType: "uint256",
365
- name: "amount",
366
- type: "uint256",
367
- },
368
- ],
369
- name: "transferFrom",
370
- outputs: [
371
- {
372
- internalType: "bool",
373
- name: "",
374
- type: "bool",
375
- },
376
- ],
377
- stateMutability: "nonpayable",
378
- type: "function",
379
- },
380
- {
381
- inputs: [
382
- {
383
- internalType: "address",
384
- name: "newOwner",
385
- type: "address",
386
- },
387
- ],
388
- name: "transferOwnership",
389
- outputs: [],
390
- stateMutability: "nonpayable",
391
- type: "function",
392
- },
393
- ];
394
- class ERC20__factory {
395
- static abi = _abi;
396
- static createInterface() {
397
- return new ethers_1.utils.Interface(_abi);
398
- }
399
- static connect(address, signerOrProvider) {
400
- return new ethers_1.Contract(address, _abi, signerOrProvider);
401
- }
402
- }
403
- exports.ERC20__factory = ERC20__factory;
404
- //# sourceMappingURL=ERC20__factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ERC20__factory.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/ERC20__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAIjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY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ACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,cAAc;IACzB,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,gBAAmC;QACjE,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAU,CAAC;IAChE,CAAC;;AAPH,wCAQC","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\n\nimport { Contract, Signer, utils } from \"ethers\";\nimport type { Provider } from \"@ethersproject/providers\";\nimport type { ERC20, ERC20Interface } from \"../ERC20\";\n\nconst _abi = [\n {\n inputs: [],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"owner\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n indexed: false,\n internalType: \"uint256\",\n name: \"value\",\n type: \"uint256\",\n },\n ],\n name: \"Approval\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"previousOwner\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"newOwner\",\n type: \"address\",\n },\n ],\n name: \"OwnershipTransferred\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"from\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"to\",\n type: \"address\",\n },\n {\n indexed: false,\n internalType: \"uint256\",\n name: \"value\",\n type: \"uint256\",\n },\n ],\n name: \"Transfer\",\n type: \"event\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"owner\",\n type: \"address\",\n },\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n ],\n name: \"allowance\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"approve\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n ],\n name: \"balanceOf\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"burn\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"burnFrom\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"decimals\",\n outputs: [\n {\n internalType: \"uint8\",\n name: \"\",\n type: \"uint8\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"subtractedValue\",\n type: \"uint256\",\n },\n ],\n name: \"decreaseAllowance\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"addedValue\",\n type: \"uint256\",\n },\n ],\n name: \"increaseAllowance\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"locker\",\n outputs: [\n {\n internalType: \"contract ILocker\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"name\",\n outputs: [\n {\n internalType: \"string\",\n name: \"\",\n type: \"string\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"owner\",\n outputs: [\n {\n internalType: \"address\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"renounceOwnership\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_locker\",\n type: \"address\",\n },\n ],\n name: \"setLocker\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"symbol\",\n outputs: [\n {\n internalType: \"string\",\n name: \"\",\n type: \"string\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"totalSupply\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"recipient\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"transfer\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"sender\",\n type: \"address\",\n },\n {\n internalType: \"address\",\n name: \"recipient\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"transferFrom\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"newOwner\",\n type: \"address\",\n },\n ],\n name: \"transferOwnership\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n];\n\nexport class ERC20__factory {\n static readonly abi = _abi;\n static createInterface(): ERC20Interface {\n return new utils.Interface(_abi) as ERC20Interface;\n }\n static connect(address: string, signerOrProvider: Signer | Provider): ERC20 {\n return new Contract(address, _abi, signerOrProvider) as ERC20;\n }\n}\n"]}
@@ -1,45 +0,0 @@
1
- import { Signer } from "ethers";
2
- import type { Provider } from "@ethersproject/providers";
3
- import type { WETH9, WETH9Interface } from "../WETH9";
4
- export declare class WETH9__factory {
5
- static readonly abi: ({
6
- constant: boolean;
7
- inputs: {
8
- name: string;
9
- type: string;
10
- }[];
11
- name: string;
12
- outputs: {
13
- name: string;
14
- type: string;
15
- }[];
16
- payable: boolean;
17
- stateMutability: string;
18
- type: string;
19
- anonymous?: undefined;
20
- } | {
21
- payable: boolean;
22
- stateMutability: string;
23
- type: string;
24
- constant?: undefined;
25
- inputs?: undefined;
26
- name?: undefined;
27
- outputs?: undefined;
28
- anonymous?: undefined;
29
- } | {
30
- anonymous: boolean;
31
- inputs: {
32
- indexed: boolean;
33
- name: string;
34
- type: string;
35
- }[];
36
- name: string;
37
- type: string;
38
- constant?: undefined;
39
- outputs?: undefined;
40
- payable?: undefined;
41
- stateMutability?: undefined;
42
- })[];
43
- static createInterface(): WETH9Interface;
44
- static connect(address: string, signerOrProvider: Signer | Provider): WETH9;
45
- }