impermax-sdk 1.2.112 → 2.0.0

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 (357) hide show
  1. package/lib/abis/ImpermaxABI.d.ts +2 -2
  2. package/lib/abis/ImpermaxABI.js +3 -3
  3. package/lib/abis/contracts/ClaimAggregator.json +2015 -2015
  4. package/lib/abis/contracts/IAllowanceTransfer.json +3772 -0
  5. package/lib/abis/contracts/IBorrowable.json +13207 -13207
  6. package/lib/abis/contracts/IClaimable.json +406 -406
  7. package/lib/abis/contracts/ICollateral.json +9052 -9052
  8. package/lib/abis/contracts/IERC20.json +2376 -2376
  9. package/lib/abis/contracts/IERC721.json +3515 -0
  10. package/lib/abis/contracts/IFactory.json +3660 -3660
  11. package/lib/abis/contracts/IFarmingPool.json +3584 -3584
  12. package/lib/abis/contracts/ILendingVaultV1.json +8358 -8358
  13. package/lib/abis/contracts/IMerkleDistributor.json +1134 -1134
  14. package/lib/abis/contracts/IRouter02.json +7283 -7283
  15. package/lib/abis/contracts/ISimpleUniswapOracle.json +1469 -1469
  16. package/lib/abis/contracts/IStakedLPToken.json +7309 -7309
  17. package/lib/abis/contracts/IStakingRewards.json +1036 -1036
  18. package/lib/abis/contracts/ITokenizedUniswapV2Position.json +4167 -0
  19. package/lib/abis/contracts/ITokenizedUniswapV3Position.json +5539 -0
  20. package/lib/abis/contracts/IUniswapV2Factory.json +1690 -1690
  21. package/lib/abis/contracts/IUniswapV2Pair.json +6761 -6761
  22. package/lib/abis/contracts/IUniswapV3Pool.json +6606 -0
  23. package/lib/abis/contracts/ImpermaxChef.json +20945 -20945
  24. package/lib/abis/contracts/ImpermaxConfigManager.json +31595 -31595
  25. package/lib/abis/contracts/ImpermaxV3Borrowable.json +22131 -0
  26. package/lib/abis/contracts/ImpermaxV3Collateral.json +22988 -0
  27. package/lib/abis/contracts/ImpermaxV3Factory.json +17645 -0
  28. package/lib/abis/contracts/ImpermaxV3UniV2Router01.json +32488 -0
  29. package/lib/abis/contracts/ImpermaxV3UniV3Router01.json +37742 -0
  30. package/lib/abis/contracts/LendingVaultWatcher01.json +4076 -4076
  31. package/lib/abis/contracts/PoolTokenRouter01.json +9058 -0
  32. package/lib/config/amms.d.ts +102 -104
  33. package/lib/config/amms.js +433 -436
  34. package/lib/config/chainId.d.ts +2 -0
  35. package/lib/config/chainId.js +26 -0
  36. package/lib/config/contracts/claim-aggregators.d.ts +2 -2
  37. package/lib/config/contracts/claim-aggregators.js +26 -26
  38. package/lib/config/contracts/impermax-chef.d.ts +2 -2
  39. package/lib/config/contracts/impermax-chef.js +27 -27
  40. package/lib/config/contracts/impermax-config-manager.d.ts +2 -2
  41. package/lib/config/contracts/impermax-config-manager.js +26 -26
  42. package/lib/config/contracts/impermax-factories.d.ts +4 -4
  43. package/lib/config/contracts/impermax-factories.js +87 -87
  44. package/lib/config/contracts/imxes.d.ts +2 -2
  45. package/lib/config/contracts/imxes.js +26 -26
  46. package/lib/config/contracts/lending-vault-watcher.d.ts +2 -2
  47. package/lib/config/contracts/lending-vault-watcher.js +26 -26
  48. package/lib/config/contracts/merkle-distributors.d.ts +4 -4
  49. package/lib/config/contracts/merkle-distributors.js +70 -70
  50. package/lib/config/contracts/routers.d.ts +4 -3
  51. package/lib/config/contracts/routers.js +118 -94
  52. package/lib/config/contracts/simple-uniswap-oracles.d.ts +2 -2
  53. package/lib/config/contracts/simple-uniswap-oracles.js +49 -49
  54. package/lib/config/contracts/weths.d.ts +2 -2
  55. package/lib/config/contracts/weths.js +27 -27
  56. package/lib/config/debank-ids.d.ts +2 -2
  57. package/lib/config/debank-ids.js +26 -26
  58. package/lib/config/endpoints/merkle-distributors.d.ts +4 -4
  59. package/lib/config/endpoints/merkle-distributors.js +70 -70
  60. package/lib/config/eth.d.ts +3 -3
  61. package/lib/config/eth.js +48 -48
  62. package/lib/config/factories.d.ts +7 -7
  63. package/lib/config/factories.js +31 -30
  64. package/lib/config/farms.d.ts +109 -111
  65. package/lib/config/farms.js +207 -210
  66. package/lib/config/general.d.ts +5 -5
  67. package/lib/config/general.js +8 -8
  68. package/lib/config/subgraphs.d.ts +45 -45
  69. package/lib/config/subgraphs.js +187 -187
  70. package/lib/config/types.d.ts +85 -72
  71. package/lib/config/types.js +72 -58
  72. package/lib/index.d.ts +36 -35
  73. package/lib/index.js +159 -152
  74. package/lib/offchain/account/index.d.ts +9 -7
  75. package/lib/offchain/account/index.js +43 -39
  76. package/lib/offchain/account/lendingPool/borrowable.d.ts +14 -0
  77. package/lib/offchain/account/lendingPool/borrowable.js +73 -0
  78. package/lib/offchain/account/lendingPool/collateral.d.ts +12 -0
  79. package/lib/offchain/account/lendingPool/collateral.js +42 -0
  80. package/lib/offchain/account/lendingPool/index.d.ts +6 -5
  81. package/lib/offchain/account/lendingPool/index.js +14 -12
  82. package/lib/offchain/account/lendingPool/offchainAccountBorrowable.d.ts +14 -17
  83. package/lib/offchain/account/lendingPool/offchainAccountBorrowable.js +45 -71
  84. package/lib/offchain/account/lendingPool/offchainAccountCollateral.d.ts +11 -13
  85. package/lib/offchain/account/lendingPool/offchainAccountCollateral.js +31 -43
  86. package/lib/offchain/account/lendingPool/offchainAccountLendingPool.d.ts +28 -21
  87. package/lib/offchain/account/lendingPool/offchainAccountLendingPool.js +69 -68
  88. package/lib/offchain/account/lendingPool/offchainLeveragedPosition.d.ts +25 -0
  89. package/lib/offchain/account/lendingPool/offchainLeveragedPosition.js +116 -0
  90. package/lib/offchain/account/lendingVault.d.ts +11 -0
  91. package/lib/offchain/account/lendingVault.js +38 -0
  92. package/lib/offchain/account/offchainAccount.d.ts +25 -25
  93. package/lib/offchain/account/offchainAccount.js +129 -129
  94. package/lib/offchain/account/offchainAccountLendingVault.d.ts +16 -16
  95. package/lib/offchain/account/offchainAccountLendingVault.js +64 -64
  96. package/lib/offchain/account/offchainAccountPoolToken.d.ts +7 -7
  97. package/lib/offchain/account/offchainAccountPoolToken.js +24 -24
  98. package/lib/offchain/account/offchainMultichainAccount.d.ts +34 -0
  99. package/lib/offchain/account/offchainMultichainAccount.js +66 -0
  100. package/lib/offchain/account/poolToken.d.ts +6 -0
  101. package/lib/offchain/account/poolToken.js +21 -0
  102. package/lib/offchain/account/vault/index.d.ts +3 -0
  103. package/lib/offchain/account/vault/index.js +7 -0
  104. package/lib/offchain/account/vault/offchainAccountVault.d.ts +16 -0
  105. package/lib/offchain/account/vault/offchainAccountVault.js +64 -0
  106. package/lib/offchain/configManager/index.d.ts +5 -5
  107. package/lib/offchain/configManager/index.js +12 -12
  108. package/lib/offchain/configManager/offchainConfigManager.d.ts +25 -25
  109. package/lib/offchain/configManager/offchainConfigManager.js +76 -76
  110. package/lib/offchain/configManager/offchainConfigManagerInitializer.d.ts +6 -6
  111. package/lib/offchain/configManager/offchainConfigManagerInitializer.js +53 -53
  112. package/lib/offchain/configManager/offchainPairConfig.d.ts +40 -40
  113. package/lib/offchain/configManager/offchainPairConfig.js +86 -86
  114. package/lib/offchain/configManager/offchainProposal.d.ts +17 -17
  115. package/lib/offchain/configManager/offchainProposal.js +53 -53
  116. package/lib/offchain/index.d.ts +15 -14
  117. package/lib/offchain/index.js +55 -53
  118. package/lib/offchain/initializer.d.ts +32 -0
  119. package/lib/offchain/initializer.js +627 -0
  120. package/lib/offchain/lendingPool/borrowable.d.ts +55 -0
  121. package/lib/offchain/lendingPool/borrowable.js +351 -0
  122. package/lib/offchain/lendingPool/collateral.d.ts +17 -0
  123. package/lib/offchain/lendingPool/collateral.js +72 -0
  124. package/lib/offchain/lendingPool/index.d.ts +5 -5
  125. package/lib/offchain/lendingPool/index.js +12 -12
  126. package/lib/offchain/lendingPool/offchainBorrowable.d.ts +59 -59
  127. package/lib/offchain/lendingPool/offchainBorrowable.js +366 -366
  128. package/lib/offchain/lendingPool/offchainCollateral.d.ts +20 -19
  129. package/lib/offchain/lendingPool/offchainCollateral.js +81 -75
  130. package/lib/offchain/lendingPool/offchainLendingPool.d.ts +60 -47
  131. package/lib/offchain/lendingPool/offchainLendingPool.js +277 -230
  132. package/lib/offchain/lendingVault.d.ts +22 -0
  133. package/lib/offchain/lendingVault.js +115 -0
  134. package/lib/offchain/offchain.d.ts +106 -113
  135. package/lib/offchain/offchain.js +248 -251
  136. package/lib/offchain/offchainAPRHelper.d.ts +45 -45
  137. package/lib/offchain/offchainAPRHelper.js +239 -239
  138. package/lib/offchain/offchainEndpointManager.d.ts +25 -25
  139. package/lib/offchain/offchainEndpointManager.js +126 -126
  140. package/lib/offchain/offchainInitializer.d.ts +52 -52
  141. package/lib/offchain/offchainInitializer.js +792 -792
  142. package/lib/offchain/offchainLendingVault.d.ts +25 -25
  143. package/lib/offchain/offchainLendingVault.js +114 -114
  144. package/lib/offchain/offchainMultichain.d.ts +50 -0
  145. package/lib/offchain/offchainMultichain.js +75 -0
  146. package/lib/offchain/offchainPoolToken.d.ts +21 -21
  147. package/lib/offchain/offchainPoolToken.js +128 -128
  148. package/lib/offchain/offchainPriceHelper.d.ts +22 -22
  149. package/lib/offchain/offchainPriceHelper.js +364 -364
  150. package/lib/offchain/offchainSolidexHelper.d.ts +16 -16
  151. package/lib/offchain/offchainSolidexHelper.js +58 -58
  152. package/lib/offchain/offchainTypes.d.ts +212 -212
  153. package/lib/offchain/offchainTypes.js +3 -3
  154. package/lib/offchain/poolToken.d.ts +20 -0
  155. package/lib/offchain/poolToken.js +120 -0
  156. package/lib/offchain/priceHelper.d.ts +21 -0
  157. package/lib/offchain/priceHelper.js +195 -0
  158. package/lib/offchain/queries/apis/ponder/index.d.ts +14 -14
  159. package/lib/offchain/queries/apis/ponder/index.js +281 -281
  160. package/lib/offchain/queries/apis/thegraph/index.d.ts +19 -19
  161. package/lib/offchain/queries/apis/thegraph/index.js +355 -355
  162. package/lib/offchain/queries/index.d.ts +20 -20
  163. package/lib/offchain/queries/index.js +51 -51
  164. package/lib/offchain/queries/interfaces/query-builder.d.ts +19 -19
  165. package/lib/offchain/queries/interfaces/query-builder.js +2 -2
  166. package/lib/offchain/queries/interfaces/transformers.js +9 -9
  167. package/lib/offchain/query.d.ts +15 -0
  168. package/lib/offchain/query.js +323 -0
  169. package/lib/offchain/solidexHelper.d.ts +16 -0
  170. package/lib/offchain/solidexHelper.js +58 -0
  171. package/lib/offchain/types.d.ts +150 -0
  172. package/lib/offchain/types.js +3 -0
  173. package/lib/offchain/vault/index.d.ts +6 -0
  174. package/lib/offchain/vault/index.js +14 -0
  175. package/lib/offchain/vault/offchainHedgedVault.d.ts +9 -0
  176. package/lib/offchain/vault/offchainHedgedVault.js +57 -0
  177. package/lib/offchain/vault/offchainLendingVault.d.ts +16 -0
  178. package/lib/offchain/vault/offchainLendingVault.js +73 -0
  179. package/lib/offchain/vault/offchainLeveragedVault.d.ts +9 -0
  180. package/lib/offchain/vault/offchainLeveragedVault.js +57 -0
  181. package/lib/offchain/vault/offchainVault.d.ts +34 -0
  182. package/lib/offchain/vault/offchainVault.js +130 -0
  183. package/lib/onchain/account/index.d.ts +6 -6
  184. package/lib/onchain/account/index.js +38 -38
  185. package/lib/onchain/account/interactions/index.d.ts +28 -0
  186. package/lib/onchain/account/interactions/index.js +158 -0
  187. package/lib/onchain/account/interactions/lendingPool/borrowable.d.ts +16 -0
  188. package/lib/onchain/account/interactions/lendingPool/borrowable.js +49 -0
  189. package/lib/onchain/account/interactions/lendingPool/collateral.d.ts +15 -0
  190. package/lib/onchain/account/interactions/lendingPool/collateral.js +33 -0
  191. package/lib/onchain/account/interactions/lendingPool/index.d.ts +41 -0
  192. package/lib/onchain/account/interactions/lendingPool/index.js +120 -0
  193. package/lib/onchain/account/interactions/lendingVault.d.ts +10 -0
  194. package/lib/onchain/account/interactions/lendingVault.js +12 -0
  195. package/lib/onchain/account/interactions/poolToken.d.ts +33 -0
  196. package/lib/onchain/account/interactions/poolToken.js +180 -0
  197. package/lib/onchain/account/lendingPool/borrowable.d.ts +29 -0
  198. package/lib/onchain/account/lendingPool/borrowable.js +135 -0
  199. package/lib/onchain/account/lendingPool/collateral.d.ts +15 -0
  200. package/lib/onchain/account/lendingPool/collateral.js +66 -0
  201. package/lib/onchain/account/lendingPool/index.d.ts +12 -5
  202. package/lib/onchain/account/lendingPool/index.js +49 -12
  203. package/lib/onchain/account/lendingPool/nftlp/index.d.ts +4 -0
  204. package/lib/onchain/account/lendingPool/nftlp/index.js +11 -0
  205. package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlp.d.ts +7 -0
  206. package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlp.js +12 -0
  207. package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlpUniswapV3.d.ts +4 -0
  208. package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlpUniswapV3.js +13 -0
  209. package/lib/onchain/account/lendingPool/onchainAccountBorrowable.d.ts +39 -34
  210. package/lib/onchain/account/lendingPool/onchainAccountBorrowable.js +131 -176
  211. package/lib/onchain/account/lendingPool/onchainAccountBorrowableV2.d.ts +10 -0
  212. package/lib/onchain/account/lendingPool/onchainAccountBorrowableV2.js +55 -0
  213. package/lib/onchain/account/lendingPool/onchainAccountBorrowableV3.d.ts +10 -0
  214. package/lib/onchain/account/lendingPool/onchainAccountBorrowableV3.js +28 -0
  215. package/lib/onchain/account/lendingPool/onchainAccountCollateral.d.ts +10 -23
  216. package/lib/onchain/account/lendingPool/onchainAccountCollateral.js +26 -109
  217. package/lib/onchain/account/lendingPool/onchainAccountCollateralV2.d.ts +25 -0
  218. package/lib/onchain/account/lendingPool/onchainAccountCollateralV2.js +99 -0
  219. package/lib/onchain/account/lendingPool/onchainAccountCollateralV3.d.ts +18 -0
  220. package/lib/onchain/account/lendingPool/onchainAccountCollateralV3.js +44 -0
  221. package/lib/onchain/account/lendingPool/onchainAccountLendingPool.d.ts +42 -57
  222. package/lib/onchain/account/lendingPool/onchainAccountLendingPool.js +142 -352
  223. package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV2.d.ts +44 -0
  224. package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV2.js +285 -0
  225. package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV3.d.ts +27 -0
  226. package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV3.js +32 -0
  227. package/lib/onchain/account/lendingVault.d.ts +10 -0
  228. package/lib/onchain/account/lendingVault.js +35 -0
  229. package/lib/onchain/account/onchainAccount.d.ts +32 -32
  230. package/lib/onchain/account/onchainAccount.js +166 -167
  231. package/lib/onchain/account/onchainAccountLendingVault.d.ts +19 -19
  232. package/lib/onchain/account/onchainAccountLendingVault.js +48 -48
  233. package/lib/onchain/account/onchainAccountPoolToken.d.ts +30 -30
  234. package/lib/onchain/account/onchainAccountPoolToken.js +86 -86
  235. package/lib/onchain/account/poolToken.d.ts +24 -0
  236. package/lib/onchain/account/poolToken.js +84 -0
  237. package/lib/onchain/configManager/index.d.ts +5 -5
  238. package/lib/onchain/configManager/index.js +12 -12
  239. package/lib/onchain/configManager/onchainConfigManager.d.ts +12 -12
  240. package/lib/onchain/configManager/onchainConfigManager.js +38 -38
  241. package/lib/onchain/configManager/onchainPairConfig.d.ts +38 -38
  242. package/lib/onchain/configManager/onchainPairConfig.js +85 -85
  243. package/lib/onchain/configManager/onchainProposal.d.ts +17 -17
  244. package/lib/onchain/configManager/onchainProposal.js +55 -55
  245. package/lib/onchain/contractsHelper.d.ts +29 -0
  246. package/lib/onchain/contractsHelper.js +52 -0
  247. package/lib/onchain/impermaxFactory/index.d.ts +7 -5
  248. package/lib/onchain/impermaxFactory/index.js +39 -35
  249. package/lib/onchain/impermaxFactory/lendingPool/borrowable.d.ts +36 -0
  250. package/lib/onchain/impermaxFactory/lendingPool/borrowable.js +153 -0
  251. package/lib/onchain/impermaxFactory/lendingPool/collateral.d.ts +17 -0
  252. package/lib/onchain/impermaxFactory/lendingPool/collateral.js +59 -0
  253. package/lib/onchain/impermaxFactory/lendingPool/index.d.ts +12 -5
  254. package/lib/onchain/impermaxFactory/lendingPool/index.js +50 -12
  255. package/lib/onchain/impermaxFactory/lendingPool/nftlp/index.d.ts +4 -0
  256. package/lib/onchain/impermaxFactory/lendingPool/nftlp/index.js +11 -0
  257. package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlp.d.ts +22 -0
  258. package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlp.js +19 -0
  259. package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlpUniswapV3.d.ts +24 -0
  260. package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlpUniswapV3.js +90 -0
  261. package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowable.d.ts +38 -34
  262. package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowable.js +137 -156
  263. package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV2.d.ts +9 -0
  264. package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV2.js +36 -0
  265. package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV3.d.ts +7 -0
  266. package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV3.js +23 -0
  267. package/lib/onchain/impermaxFactory/lendingPool/onchainCollateral.d.ts +8 -19
  268. package/lib/onchain/impermaxFactory/lendingPool/onchainCollateral.js +24 -61
  269. package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV2.d.ts +20 -0
  270. package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV2.js +58 -0
  271. package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV3.d.ts +13 -0
  272. package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV3.js +36 -0
  273. package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPool.d.ts +43 -58
  274. package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPool.js +81 -367
  275. package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV2.d.ts +76 -0
  276. package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV2.js +338 -0
  277. package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV3.d.ts +42 -0
  278. package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV3.js +39 -0
  279. package/lib/onchain/impermaxFactory/onchainImpermaxFactory.d.ts +26 -16
  280. package/lib/onchain/impermaxFactory/onchainImpermaxFactory.js +42 -52
  281. package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV2.d.ts +16 -0
  282. package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV2.js +81 -0
  283. package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV3.d.ts +16 -0
  284. package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV3.js +88 -0
  285. package/lib/onchain/index.d.ts +10 -10
  286. package/lib/onchain/index.js +49 -49
  287. package/lib/onchain/interactions/index.d.ts +8 -8
  288. package/lib/onchain/interactions/index.js +41 -41
  289. package/lib/onchain/interactions/lendingPool/borrowable.d.ts +14 -0
  290. package/lib/onchain/interactions/lendingPool/borrowable.js +47 -0
  291. package/lib/onchain/interactions/lendingPool/collateral.d.ts +13 -0
  292. package/lib/onchain/interactions/lendingPool/collateral.js +31 -0
  293. package/lib/onchain/interactions/lendingPool/index.d.ts +12 -5
  294. package/lib/onchain/interactions/lendingPool/index.js +49 -12
  295. package/lib/onchain/interactions/lendingPool/nftlp/index.d.ts +4 -0
  296. package/lib/onchain/interactions/lendingPool/nftlp/index.js +11 -0
  297. package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlp.d.ts +7 -0
  298. package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlp.js +12 -0
  299. package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlpUniswapV3.d.ts +4 -0
  300. package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlpUniswapV3.js +13 -0
  301. package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowable.d.ts +17 -21
  302. package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowable.js +24 -56
  303. package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV2.d.ts +15 -0
  304. package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV2.js +63 -0
  305. package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV3.d.ts +9 -0
  306. package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV3.js +14 -0
  307. package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateral.d.ts +7 -19
  308. package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateral.js +11 -43
  309. package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV2.d.ts +20 -0
  310. package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV2.js +48 -0
  311. package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV3.d.ts +13 -0
  312. package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV3.js +20 -0
  313. package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPool.d.ts +31 -46
  314. package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPool.js +53 -135
  315. package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV2.d.ts +42 -0
  316. package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV2.js +114 -0
  317. package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV3.d.ts +27 -0
  318. package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV3.js +32 -0
  319. package/lib/onchain/interactions/lendingVault.d.ts +8 -0
  320. package/lib/onchain/interactions/lendingVault.js +15 -0
  321. package/lib/onchain/interactions/onchainInteractions.d.ts +31 -31
  322. package/lib/onchain/interactions/onchainInteractions.js +136 -137
  323. package/lib/onchain/interactions/onchainInteractionsConfigManager.d.ts +17 -17
  324. package/lib/onchain/interactions/onchainInteractionsConfigManager.js +44 -44
  325. package/lib/onchain/interactions/onchainInteractionsLendingVault.d.ts +14 -14
  326. package/lib/onchain/interactions/onchainInteractionsLendingVault.js +21 -21
  327. package/lib/onchain/interactions/onchainInteractionsPoolToken.d.ts +35 -35
  328. package/lib/onchain/interactions/onchainInteractionsPoolToken.js +134 -186
  329. package/lib/onchain/interactions/poolToken.d.ts +31 -0
  330. package/lib/onchain/interactions/poolToken.js +181 -0
  331. package/lib/onchain/lendingVault.d.ts +17 -0
  332. package/lib/onchain/lendingVault.js +56 -0
  333. package/lib/onchain/onchain.d.ts +38 -35
  334. package/lib/onchain/onchain.js +78 -70
  335. package/lib/onchain/onchainContractsHelper.d.ts +42 -31
  336. package/lib/onchain/onchainContractsHelper.js +90 -56
  337. package/lib/onchain/onchainLendingVault.d.ts +22 -22
  338. package/lib/onchain/onchainLendingVault.js +69 -69
  339. package/lib/onchain/onchainPermitHelper.d.ts +21 -0
  340. package/lib/onchain/onchainPermitHelper.js +198 -0
  341. package/lib/onchain/onchainPoolToken.d.ts +35 -35
  342. package/lib/onchain/onchainPoolToken.js +129 -129
  343. package/lib/onchain/onchainTypes.d.ts +70 -64
  344. package/lib/onchain/onchainTypes.js +14 -14
  345. package/lib/onchain/poolToken.d.ts +32 -0
  346. package/lib/onchain/poolToken.js +121 -0
  347. package/lib/onchain/types.d.ts +45 -0
  348. package/lib/onchain/types.js +14 -0
  349. package/lib/utils/ether-utils.d.ts +5 -5
  350. package/lib/utils/ether-utils.js +26 -26
  351. package/lib/utils/index.d.ts +3 -3
  352. package/lib/utils/index.js +16 -16
  353. package/lib/utils/lliquidity-math.d.ts +30 -30
  354. package/lib/utils/lliquidity-math.js +139 -139
  355. package/lib/utils/price-from-reserves.d.ts +2 -0
  356. package/lib/utils/price-from-reserves.js +19 -0
  357. package/package.json +36 -36
@@ -1,2376 +1,2376 @@
1
- {
2
- "contractName": "IERC20",
3
- "abi": [
4
- {
5
- "anonymous": false,
6
- "inputs": [
7
- {
8
- "indexed": true,
9
- "internalType": "address",
10
- "name": "owner",
11
- "type": "address"
12
- },
13
- {
14
- "indexed": true,
15
- "internalType": "address",
16
- "name": "spender",
17
- "type": "address"
18
- },
19
- {
20
- "indexed": false,
21
- "internalType": "uint256",
22
- "name": "value",
23
- "type": "uint256"
24
- }
25
- ],
26
- "name": "Approval",
27
- "type": "event"
28
- },
29
- {
30
- "anonymous": false,
31
- "inputs": [
32
- {
33
- "indexed": true,
34
- "internalType": "address",
35
- "name": "from",
36
- "type": "address"
37
- },
38
- {
39
- "indexed": true,
40
- "internalType": "address",
41
- "name": "to",
42
- "type": "address"
43
- },
44
- {
45
- "indexed": false,
46
- "internalType": "uint256",
47
- "name": "value",
48
- "type": "uint256"
49
- }
50
- ],
51
- "name": "Transfer",
52
- "type": "event"
53
- },
54
- {
55
- "inputs": [],
56
- "name": "name",
57
- "outputs": [
58
- {
59
- "internalType": "string",
60
- "name": "",
61
- "type": "string"
62
- }
63
- ],
64
- "stateMutability": "view",
65
- "type": "function"
66
- },
67
- {
68
- "inputs": [],
69
- "name": "symbol",
70
- "outputs": [
71
- {
72
- "internalType": "string",
73
- "name": "",
74
- "type": "string"
75
- }
76
- ],
77
- "stateMutability": "view",
78
- "type": "function"
79
- },
80
- {
81
- "inputs": [],
82
- "name": "decimals",
83
- "outputs": [
84
- {
85
- "internalType": "uint8",
86
- "name": "",
87
- "type": "uint8"
88
- }
89
- ],
90
- "stateMutability": "view",
91
- "type": "function"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "totalSupply",
96
- "outputs": [
97
- {
98
- "internalType": "uint256",
99
- "name": "",
100
- "type": "uint256"
101
- }
102
- ],
103
- "stateMutability": "view",
104
- "type": "function"
105
- },
106
- {
107
- "inputs": [
108
- {
109
- "internalType": "address",
110
- "name": "owner",
111
- "type": "address"
112
- }
113
- ],
114
- "name": "balanceOf",
115
- "outputs": [
116
- {
117
- "internalType": "uint256",
118
- "name": "",
119
- "type": "uint256"
120
- }
121
- ],
122
- "stateMutability": "view",
123
- "type": "function"
124
- },
125
- {
126
- "inputs": [
127
- {
128
- "internalType": "address",
129
- "name": "owner",
130
- "type": "address"
131
- },
132
- {
133
- "internalType": "address",
134
- "name": "spender",
135
- "type": "address"
136
- }
137
- ],
138
- "name": "allowance",
139
- "outputs": [
140
- {
141
- "internalType": "uint256",
142
- "name": "",
143
- "type": "uint256"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [
151
- {
152
- "internalType": "address",
153
- "name": "spender",
154
- "type": "address"
155
- },
156
- {
157
- "internalType": "uint256",
158
- "name": "value",
159
- "type": "uint256"
160
- }
161
- ],
162
- "name": "approve",
163
- "outputs": [
164
- {
165
- "internalType": "bool",
166
- "name": "",
167
- "type": "bool"
168
- }
169
- ],
170
- "stateMutability": "nonpayable",
171
- "type": "function"
172
- },
173
- {
174
- "inputs": [
175
- {
176
- "internalType": "address",
177
- "name": "to",
178
- "type": "address"
179
- },
180
- {
181
- "internalType": "uint256",
182
- "name": "value",
183
- "type": "uint256"
184
- }
185
- ],
186
- "name": "transfer",
187
- "outputs": [
188
- {
189
- "internalType": "bool",
190
- "name": "",
191
- "type": "bool"
192
- }
193
- ],
194
- "stateMutability": "nonpayable",
195
- "type": "function"
196
- },
197
- {
198
- "inputs": [
199
- {
200
- "internalType": "address",
201
- "name": "from",
202
- "type": "address"
203
- },
204
- {
205
- "internalType": "address",
206
- "name": "to",
207
- "type": "address"
208
- },
209
- {
210
- "internalType": "uint256",
211
- "name": "value",
212
- "type": "uint256"
213
- }
214
- ],
215
- "name": "transferFrom",
216
- "outputs": [
217
- {
218
- "internalType": "bool",
219
- "name": "",
220
- "type": "bool"
221
- }
222
- ],
223
- "stateMutability": "nonpayable",
224
- "type": "function"
225
- }
226
- ],
227
- "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0x61db17aebc5d812c7002d15c1da954065e56abe49d64b14c034abe5604d70eb3\",\"urls\":[\"bzz-raw://b006685e753f9120469f10b09c159f222d4cb8b507a6c1f0c14ed50c883ebe66\",\"dweb:/ipfs/QmSyY7iTugbczPwfGK67etiyPULenYGzzRYbt8aabwwkUb\"]}},\"version\":1}",
228
- "bytecode": "0x",
229
- "deployedBytecode": "0x",
230
- "immutableReferences": {},
231
- "sourceMap": "",
232
- "deployedSourceMap": "",
233
- "source": "pragma solidity >=0.5.0;\n\ninterface IERC20 {\n event Approval(address indexed owner, address indexed spender, uint value);\n event Transfer(address indexed from, address indexed to, uint value);\n\n function name() external view returns (string memory);\n function symbol() external view returns (string memory);\n function decimals() external view returns (uint8);\n function totalSupply() external view returns (uint);\n function balanceOf(address owner) external view returns (uint);\n function allowance(address owner, address spender) external view returns (uint);\n\n function approve(address spender, uint value) external returns (bool);\n function transfer(address to, uint value) external returns (bool);\n function transferFrom(address from, address to, uint value) external returns (bool);\n}\n",
234
- "sourcePath": "C:\\Users\\simor\\Desktop\\impermax-x-uniswapv2-periphery\\contracts\\interfaces\\IERC20.sol",
235
- "ast": {
236
- "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol",
237
- "exportedSymbols": {
238
- "IERC20": [
239
- 2426
240
- ]
241
- },
242
- "id": 2427,
243
- "nodeType": "SourceUnit",
244
- "nodes": [
245
- {
246
- "id": 2344,
247
- "literals": [
248
- "solidity",
249
- ">=",
250
- "0.5",
251
- ".0"
252
- ],
253
- "nodeType": "PragmaDirective",
254
- "src": "0:24:3"
255
- },
256
- {
257
- "abstract": false,
258
- "baseContracts": [],
259
- "contractDependencies": [],
260
- "contractKind": "interface",
261
- "documentation": null,
262
- "fullyImplemented": false,
263
- "id": 2426,
264
- "linearizedBaseContracts": [
265
- 2426
266
- ],
267
- "name": "IERC20",
268
- "nodeType": "ContractDefinition",
269
- "nodes": [
270
- {
271
- "anonymous": false,
272
- "documentation": null,
273
- "id": 2352,
274
- "name": "Approval",
275
- "nodeType": "EventDefinition",
276
- "parameters": {
277
- "id": 2351,
278
- "nodeType": "ParameterList",
279
- "parameters": [
280
- {
281
- "constant": false,
282
- "id": 2346,
283
- "indexed": true,
284
- "mutability": "mutable",
285
- "name": "owner",
286
- "nodeType": "VariableDeclaration",
287
- "overrides": null,
288
- "scope": 2352,
289
- "src": "64:21:3",
290
- "stateVariable": false,
291
- "storageLocation": "default",
292
- "typeDescriptions": {
293
- "typeIdentifier": "t_address",
294
- "typeString": "address"
295
- },
296
- "typeName": {
297
- "id": 2345,
298
- "name": "address",
299
- "nodeType": "ElementaryTypeName",
300
- "src": "64:7:3",
301
- "stateMutability": "nonpayable",
302
- "typeDescriptions": {
303
- "typeIdentifier": "t_address",
304
- "typeString": "address"
305
- }
306
- },
307
- "value": null,
308
- "visibility": "internal"
309
- },
310
- {
311
- "constant": false,
312
- "id": 2348,
313
- "indexed": true,
314
- "mutability": "mutable",
315
- "name": "spender",
316
- "nodeType": "VariableDeclaration",
317
- "overrides": null,
318
- "scope": 2352,
319
- "src": "87:23:3",
320
- "stateVariable": false,
321
- "storageLocation": "default",
322
- "typeDescriptions": {
323
- "typeIdentifier": "t_address",
324
- "typeString": "address"
325
- },
326
- "typeName": {
327
- "id": 2347,
328
- "name": "address",
329
- "nodeType": "ElementaryTypeName",
330
- "src": "87:7:3",
331
- "stateMutability": "nonpayable",
332
- "typeDescriptions": {
333
- "typeIdentifier": "t_address",
334
- "typeString": "address"
335
- }
336
- },
337
- "value": null,
338
- "visibility": "internal"
339
- },
340
- {
341
- "constant": false,
342
- "id": 2350,
343
- "indexed": false,
344
- "mutability": "mutable",
345
- "name": "value",
346
- "nodeType": "VariableDeclaration",
347
- "overrides": null,
348
- "scope": 2352,
349
- "src": "112:10:3",
350
- "stateVariable": false,
351
- "storageLocation": "default",
352
- "typeDescriptions": {
353
- "typeIdentifier": "t_uint256",
354
- "typeString": "uint256"
355
- },
356
- "typeName": {
357
- "id": 2349,
358
- "name": "uint",
359
- "nodeType": "ElementaryTypeName",
360
- "src": "112:4:3",
361
- "typeDescriptions": {
362
- "typeIdentifier": "t_uint256",
363
- "typeString": "uint256"
364
- }
365
- },
366
- "value": null,
367
- "visibility": "internal"
368
- }
369
- ],
370
- "src": "63:60:3"
371
- },
372
- "src": "49:75:3"
373
- },
374
- {
375
- "anonymous": false,
376
- "documentation": null,
377
- "id": 2360,
378
- "name": "Transfer",
379
- "nodeType": "EventDefinition",
380
- "parameters": {
381
- "id": 2359,
382
- "nodeType": "ParameterList",
383
- "parameters": [
384
- {
385
- "constant": false,
386
- "id": 2354,
387
- "indexed": true,
388
- "mutability": "mutable",
389
- "name": "from",
390
- "nodeType": "VariableDeclaration",
391
- "overrides": null,
392
- "scope": 2360,
393
- "src": "144:20:3",
394
- "stateVariable": false,
395
- "storageLocation": "default",
396
- "typeDescriptions": {
397
- "typeIdentifier": "t_address",
398
- "typeString": "address"
399
- },
400
- "typeName": {
401
- "id": 2353,
402
- "name": "address",
403
- "nodeType": "ElementaryTypeName",
404
- "src": "144:7:3",
405
- "stateMutability": "nonpayable",
406
- "typeDescriptions": {
407
- "typeIdentifier": "t_address",
408
- "typeString": "address"
409
- }
410
- },
411
- "value": null,
412
- "visibility": "internal"
413
- },
414
- {
415
- "constant": false,
416
- "id": 2356,
417
- "indexed": true,
418
- "mutability": "mutable",
419
- "name": "to",
420
- "nodeType": "VariableDeclaration",
421
- "overrides": null,
422
- "scope": 2360,
423
- "src": "166:18:3",
424
- "stateVariable": false,
425
- "storageLocation": "default",
426
- "typeDescriptions": {
427
- "typeIdentifier": "t_address",
428
- "typeString": "address"
429
- },
430
- "typeName": {
431
- "id": 2355,
432
- "name": "address",
433
- "nodeType": "ElementaryTypeName",
434
- "src": "166:7:3",
435
- "stateMutability": "nonpayable",
436
- "typeDescriptions": {
437
- "typeIdentifier": "t_address",
438
- "typeString": "address"
439
- }
440
- },
441
- "value": null,
442
- "visibility": "internal"
443
- },
444
- {
445
- "constant": false,
446
- "id": 2358,
447
- "indexed": false,
448
- "mutability": "mutable",
449
- "name": "value",
450
- "nodeType": "VariableDeclaration",
451
- "overrides": null,
452
- "scope": 2360,
453
- "src": "186:10:3",
454
- "stateVariable": false,
455
- "storageLocation": "default",
456
- "typeDescriptions": {
457
- "typeIdentifier": "t_uint256",
458
- "typeString": "uint256"
459
- },
460
- "typeName": {
461
- "id": 2357,
462
- "name": "uint",
463
- "nodeType": "ElementaryTypeName",
464
- "src": "186:4:3",
465
- "typeDescriptions": {
466
- "typeIdentifier": "t_uint256",
467
- "typeString": "uint256"
468
- }
469
- },
470
- "value": null,
471
- "visibility": "internal"
472
- }
473
- ],
474
- "src": "143:54:3"
475
- },
476
- "src": "129:69:3"
477
- },
478
- {
479
- "body": null,
480
- "documentation": null,
481
- "functionSelector": "06fdde03",
482
- "id": 2365,
483
- "implemented": false,
484
- "kind": "function",
485
- "modifiers": [],
486
- "name": "name",
487
- "nodeType": "FunctionDefinition",
488
- "overrides": null,
489
- "parameters": {
490
- "id": 2361,
491
- "nodeType": "ParameterList",
492
- "parameters": [],
493
- "src": "217:2:3"
494
- },
495
- "returnParameters": {
496
- "id": 2364,
497
- "nodeType": "ParameterList",
498
- "parameters": [
499
- {
500
- "constant": false,
501
- "id": 2363,
502
- "mutability": "mutable",
503
- "name": "",
504
- "nodeType": "VariableDeclaration",
505
- "overrides": null,
506
- "scope": 2365,
507
- "src": "243:13:3",
508
- "stateVariable": false,
509
- "storageLocation": "memory",
510
- "typeDescriptions": {
511
- "typeIdentifier": "t_string_memory_ptr",
512
- "typeString": "string"
513
- },
514
- "typeName": {
515
- "id": 2362,
516
- "name": "string",
517
- "nodeType": "ElementaryTypeName",
518
- "src": "243:6:3",
519
- "typeDescriptions": {
520
- "typeIdentifier": "t_string_storage_ptr",
521
- "typeString": "string"
522
- }
523
- },
524
- "value": null,
525
- "visibility": "internal"
526
- }
527
- ],
528
- "src": "242:15:3"
529
- },
530
- "scope": 2426,
531
- "src": "204:54:3",
532
- "stateMutability": "view",
533
- "virtual": false,
534
- "visibility": "external"
535
- },
536
- {
537
- "body": null,
538
- "documentation": null,
539
- "functionSelector": "95d89b41",
540
- "id": 2370,
541
- "implemented": false,
542
- "kind": "function",
543
- "modifiers": [],
544
- "name": "symbol",
545
- "nodeType": "FunctionDefinition",
546
- "overrides": null,
547
- "parameters": {
548
- "id": 2366,
549
- "nodeType": "ParameterList",
550
- "parameters": [],
551
- "src": "278:2:3"
552
- },
553
- "returnParameters": {
554
- "id": 2369,
555
- "nodeType": "ParameterList",
556
- "parameters": [
557
- {
558
- "constant": false,
559
- "id": 2368,
560
- "mutability": "mutable",
561
- "name": "",
562
- "nodeType": "VariableDeclaration",
563
- "overrides": null,
564
- "scope": 2370,
565
- "src": "304:13:3",
566
- "stateVariable": false,
567
- "storageLocation": "memory",
568
- "typeDescriptions": {
569
- "typeIdentifier": "t_string_memory_ptr",
570
- "typeString": "string"
571
- },
572
- "typeName": {
573
- "id": 2367,
574
- "name": "string",
575
- "nodeType": "ElementaryTypeName",
576
- "src": "304:6:3",
577
- "typeDescriptions": {
578
- "typeIdentifier": "t_string_storage_ptr",
579
- "typeString": "string"
580
- }
581
- },
582
- "value": null,
583
- "visibility": "internal"
584
- }
585
- ],
586
- "src": "303:15:3"
587
- },
588
- "scope": 2426,
589
- "src": "263:56:3",
590
- "stateMutability": "view",
591
- "virtual": false,
592
- "visibility": "external"
593
- },
594
- {
595
- "body": null,
596
- "documentation": null,
597
- "functionSelector": "313ce567",
598
- "id": 2375,
599
- "implemented": false,
600
- "kind": "function",
601
- "modifiers": [],
602
- "name": "decimals",
603
- "nodeType": "FunctionDefinition",
604
- "overrides": null,
605
- "parameters": {
606
- "id": 2371,
607
- "nodeType": "ParameterList",
608
- "parameters": [],
609
- "src": "341:2:3"
610
- },
611
- "returnParameters": {
612
- "id": 2374,
613
- "nodeType": "ParameterList",
614
- "parameters": [
615
- {
616
- "constant": false,
617
- "id": 2373,
618
- "mutability": "mutable",
619
- "name": "",
620
- "nodeType": "VariableDeclaration",
621
- "overrides": null,
622
- "scope": 2375,
623
- "src": "367:5:3",
624
- "stateVariable": false,
625
- "storageLocation": "default",
626
- "typeDescriptions": {
627
- "typeIdentifier": "t_uint8",
628
- "typeString": "uint8"
629
- },
630
- "typeName": {
631
- "id": 2372,
632
- "name": "uint8",
633
- "nodeType": "ElementaryTypeName",
634
- "src": "367:5:3",
635
- "typeDescriptions": {
636
- "typeIdentifier": "t_uint8",
637
- "typeString": "uint8"
638
- }
639
- },
640
- "value": null,
641
- "visibility": "internal"
642
- }
643
- ],
644
- "src": "366:7:3"
645
- },
646
- "scope": 2426,
647
- "src": "324:50:3",
648
- "stateMutability": "view",
649
- "virtual": false,
650
- "visibility": "external"
651
- },
652
- {
653
- "body": null,
654
- "documentation": null,
655
- "functionSelector": "18160ddd",
656
- "id": 2380,
657
- "implemented": false,
658
- "kind": "function",
659
- "modifiers": [],
660
- "name": "totalSupply",
661
- "nodeType": "FunctionDefinition",
662
- "overrides": null,
663
- "parameters": {
664
- "id": 2376,
665
- "nodeType": "ParameterList",
666
- "parameters": [],
667
- "src": "399:2:3"
668
- },
669
- "returnParameters": {
670
- "id": 2379,
671
- "nodeType": "ParameterList",
672
- "parameters": [
673
- {
674
- "constant": false,
675
- "id": 2378,
676
- "mutability": "mutable",
677
- "name": "",
678
- "nodeType": "VariableDeclaration",
679
- "overrides": null,
680
- "scope": 2380,
681
- "src": "425:4:3",
682
- "stateVariable": false,
683
- "storageLocation": "default",
684
- "typeDescriptions": {
685
- "typeIdentifier": "t_uint256",
686
- "typeString": "uint256"
687
- },
688
- "typeName": {
689
- "id": 2377,
690
- "name": "uint",
691
- "nodeType": "ElementaryTypeName",
692
- "src": "425:4:3",
693
- "typeDescriptions": {
694
- "typeIdentifier": "t_uint256",
695
- "typeString": "uint256"
696
- }
697
- },
698
- "value": null,
699
- "visibility": "internal"
700
- }
701
- ],
702
- "src": "424:6:3"
703
- },
704
- "scope": 2426,
705
- "src": "379:52:3",
706
- "stateMutability": "view",
707
- "virtual": false,
708
- "visibility": "external"
709
- },
710
- {
711
- "body": null,
712
- "documentation": null,
713
- "functionSelector": "70a08231",
714
- "id": 2387,
715
- "implemented": false,
716
- "kind": "function",
717
- "modifiers": [],
718
- "name": "balanceOf",
719
- "nodeType": "FunctionDefinition",
720
- "overrides": null,
721
- "parameters": {
722
- "id": 2383,
723
- "nodeType": "ParameterList",
724
- "parameters": [
725
- {
726
- "constant": false,
727
- "id": 2382,
728
- "mutability": "mutable",
729
- "name": "owner",
730
- "nodeType": "VariableDeclaration",
731
- "overrides": null,
732
- "scope": 2387,
733
- "src": "455:13:3",
734
- "stateVariable": false,
735
- "storageLocation": "default",
736
- "typeDescriptions": {
737
- "typeIdentifier": "t_address",
738
- "typeString": "address"
739
- },
740
- "typeName": {
741
- "id": 2381,
742
- "name": "address",
743
- "nodeType": "ElementaryTypeName",
744
- "src": "455:7:3",
745
- "stateMutability": "nonpayable",
746
- "typeDescriptions": {
747
- "typeIdentifier": "t_address",
748
- "typeString": "address"
749
- }
750
- },
751
- "value": null,
752
- "visibility": "internal"
753
- }
754
- ],
755
- "src": "454:15:3"
756
- },
757
- "returnParameters": {
758
- "id": 2386,
759
- "nodeType": "ParameterList",
760
- "parameters": [
761
- {
762
- "constant": false,
763
- "id": 2385,
764
- "mutability": "mutable",
765
- "name": "",
766
- "nodeType": "VariableDeclaration",
767
- "overrides": null,
768
- "scope": 2387,
769
- "src": "493:4:3",
770
- "stateVariable": false,
771
- "storageLocation": "default",
772
- "typeDescriptions": {
773
- "typeIdentifier": "t_uint256",
774
- "typeString": "uint256"
775
- },
776
- "typeName": {
777
- "id": 2384,
778
- "name": "uint",
779
- "nodeType": "ElementaryTypeName",
780
- "src": "493:4:3",
781
- "typeDescriptions": {
782
- "typeIdentifier": "t_uint256",
783
- "typeString": "uint256"
784
- }
785
- },
786
- "value": null,
787
- "visibility": "internal"
788
- }
789
- ],
790
- "src": "492:6:3"
791
- },
792
- "scope": 2426,
793
- "src": "436:63:3",
794
- "stateMutability": "view",
795
- "virtual": false,
796
- "visibility": "external"
797
- },
798
- {
799
- "body": null,
800
- "documentation": null,
801
- "functionSelector": "dd62ed3e",
802
- "id": 2396,
803
- "implemented": false,
804
- "kind": "function",
805
- "modifiers": [],
806
- "name": "allowance",
807
- "nodeType": "FunctionDefinition",
808
- "overrides": null,
809
- "parameters": {
810
- "id": 2392,
811
- "nodeType": "ParameterList",
812
- "parameters": [
813
- {
814
- "constant": false,
815
- "id": 2389,
816
- "mutability": "mutable",
817
- "name": "owner",
818
- "nodeType": "VariableDeclaration",
819
- "overrides": null,
820
- "scope": 2396,
821
- "src": "523:13:3",
822
- "stateVariable": false,
823
- "storageLocation": "default",
824
- "typeDescriptions": {
825
- "typeIdentifier": "t_address",
826
- "typeString": "address"
827
- },
828
- "typeName": {
829
- "id": 2388,
830
- "name": "address",
831
- "nodeType": "ElementaryTypeName",
832
- "src": "523:7:3",
833
- "stateMutability": "nonpayable",
834
- "typeDescriptions": {
835
- "typeIdentifier": "t_address",
836
- "typeString": "address"
837
- }
838
- },
839
- "value": null,
840
- "visibility": "internal"
841
- },
842
- {
843
- "constant": false,
844
- "id": 2391,
845
- "mutability": "mutable",
846
- "name": "spender",
847
- "nodeType": "VariableDeclaration",
848
- "overrides": null,
849
- "scope": 2396,
850
- "src": "538:15:3",
851
- "stateVariable": false,
852
- "storageLocation": "default",
853
- "typeDescriptions": {
854
- "typeIdentifier": "t_address",
855
- "typeString": "address"
856
- },
857
- "typeName": {
858
- "id": 2390,
859
- "name": "address",
860
- "nodeType": "ElementaryTypeName",
861
- "src": "538:7:3",
862
- "stateMutability": "nonpayable",
863
- "typeDescriptions": {
864
- "typeIdentifier": "t_address",
865
- "typeString": "address"
866
- }
867
- },
868
- "value": null,
869
- "visibility": "internal"
870
- }
871
- ],
872
- "src": "522:32:3"
873
- },
874
- "returnParameters": {
875
- "id": 2395,
876
- "nodeType": "ParameterList",
877
- "parameters": [
878
- {
879
- "constant": false,
880
- "id": 2394,
881
- "mutability": "mutable",
882
- "name": "",
883
- "nodeType": "VariableDeclaration",
884
- "overrides": null,
885
- "scope": 2396,
886
- "src": "578:4:3",
887
- "stateVariable": false,
888
- "storageLocation": "default",
889
- "typeDescriptions": {
890
- "typeIdentifier": "t_uint256",
891
- "typeString": "uint256"
892
- },
893
- "typeName": {
894
- "id": 2393,
895
- "name": "uint",
896
- "nodeType": "ElementaryTypeName",
897
- "src": "578:4:3",
898
- "typeDescriptions": {
899
- "typeIdentifier": "t_uint256",
900
- "typeString": "uint256"
901
- }
902
- },
903
- "value": null,
904
- "visibility": "internal"
905
- }
906
- ],
907
- "src": "577:6:3"
908
- },
909
- "scope": 2426,
910
- "src": "504:80:3",
911
- "stateMutability": "view",
912
- "virtual": false,
913
- "visibility": "external"
914
- },
915
- {
916
- "body": null,
917
- "documentation": null,
918
- "functionSelector": "095ea7b3",
919
- "id": 2405,
920
- "implemented": false,
921
- "kind": "function",
922
- "modifiers": [],
923
- "name": "approve",
924
- "nodeType": "FunctionDefinition",
925
- "overrides": null,
926
- "parameters": {
927
- "id": 2401,
928
- "nodeType": "ParameterList",
929
- "parameters": [
930
- {
931
- "constant": false,
932
- "id": 2398,
933
- "mutability": "mutable",
934
- "name": "spender",
935
- "nodeType": "VariableDeclaration",
936
- "overrides": null,
937
- "scope": 2405,
938
- "src": "607:15:3",
939
- "stateVariable": false,
940
- "storageLocation": "default",
941
- "typeDescriptions": {
942
- "typeIdentifier": "t_address",
943
- "typeString": "address"
944
- },
945
- "typeName": {
946
- "id": 2397,
947
- "name": "address",
948
- "nodeType": "ElementaryTypeName",
949
- "src": "607:7:3",
950
- "stateMutability": "nonpayable",
951
- "typeDescriptions": {
952
- "typeIdentifier": "t_address",
953
- "typeString": "address"
954
- }
955
- },
956
- "value": null,
957
- "visibility": "internal"
958
- },
959
- {
960
- "constant": false,
961
- "id": 2400,
962
- "mutability": "mutable",
963
- "name": "value",
964
- "nodeType": "VariableDeclaration",
965
- "overrides": null,
966
- "scope": 2405,
967
- "src": "624:10:3",
968
- "stateVariable": false,
969
- "storageLocation": "default",
970
- "typeDescriptions": {
971
- "typeIdentifier": "t_uint256",
972
- "typeString": "uint256"
973
- },
974
- "typeName": {
975
- "id": 2399,
976
- "name": "uint",
977
- "nodeType": "ElementaryTypeName",
978
- "src": "624:4:3",
979
- "typeDescriptions": {
980
- "typeIdentifier": "t_uint256",
981
- "typeString": "uint256"
982
- }
983
- },
984
- "value": null,
985
- "visibility": "internal"
986
- }
987
- ],
988
- "src": "606:29:3"
989
- },
990
- "returnParameters": {
991
- "id": 2404,
992
- "nodeType": "ParameterList",
993
- "parameters": [
994
- {
995
- "constant": false,
996
- "id": 2403,
997
- "mutability": "mutable",
998
- "name": "",
999
- "nodeType": "VariableDeclaration",
1000
- "overrides": null,
1001
- "scope": 2405,
1002
- "src": "654:4:3",
1003
- "stateVariable": false,
1004
- "storageLocation": "default",
1005
- "typeDescriptions": {
1006
- "typeIdentifier": "t_bool",
1007
- "typeString": "bool"
1008
- },
1009
- "typeName": {
1010
- "id": 2402,
1011
- "name": "bool",
1012
- "nodeType": "ElementaryTypeName",
1013
- "src": "654:4:3",
1014
- "typeDescriptions": {
1015
- "typeIdentifier": "t_bool",
1016
- "typeString": "bool"
1017
- }
1018
- },
1019
- "value": null,
1020
- "visibility": "internal"
1021
- }
1022
- ],
1023
- "src": "653:6:3"
1024
- },
1025
- "scope": 2426,
1026
- "src": "590:70:3",
1027
- "stateMutability": "nonpayable",
1028
- "virtual": false,
1029
- "visibility": "external"
1030
- },
1031
- {
1032
- "body": null,
1033
- "documentation": null,
1034
- "functionSelector": "a9059cbb",
1035
- "id": 2414,
1036
- "implemented": false,
1037
- "kind": "function",
1038
- "modifiers": [],
1039
- "name": "transfer",
1040
- "nodeType": "FunctionDefinition",
1041
- "overrides": null,
1042
- "parameters": {
1043
- "id": 2410,
1044
- "nodeType": "ParameterList",
1045
- "parameters": [
1046
- {
1047
- "constant": false,
1048
- "id": 2407,
1049
- "mutability": "mutable",
1050
- "name": "to",
1051
- "nodeType": "VariableDeclaration",
1052
- "overrides": null,
1053
- "scope": 2414,
1054
- "src": "683:10:3",
1055
- "stateVariable": false,
1056
- "storageLocation": "default",
1057
- "typeDescriptions": {
1058
- "typeIdentifier": "t_address",
1059
- "typeString": "address"
1060
- },
1061
- "typeName": {
1062
- "id": 2406,
1063
- "name": "address",
1064
- "nodeType": "ElementaryTypeName",
1065
- "src": "683:7:3",
1066
- "stateMutability": "nonpayable",
1067
- "typeDescriptions": {
1068
- "typeIdentifier": "t_address",
1069
- "typeString": "address"
1070
- }
1071
- },
1072
- "value": null,
1073
- "visibility": "internal"
1074
- },
1075
- {
1076
- "constant": false,
1077
- "id": 2409,
1078
- "mutability": "mutable",
1079
- "name": "value",
1080
- "nodeType": "VariableDeclaration",
1081
- "overrides": null,
1082
- "scope": 2414,
1083
- "src": "695:10:3",
1084
- "stateVariable": false,
1085
- "storageLocation": "default",
1086
- "typeDescriptions": {
1087
- "typeIdentifier": "t_uint256",
1088
- "typeString": "uint256"
1089
- },
1090
- "typeName": {
1091
- "id": 2408,
1092
- "name": "uint",
1093
- "nodeType": "ElementaryTypeName",
1094
- "src": "695:4:3",
1095
- "typeDescriptions": {
1096
- "typeIdentifier": "t_uint256",
1097
- "typeString": "uint256"
1098
- }
1099
- },
1100
- "value": null,
1101
- "visibility": "internal"
1102
- }
1103
- ],
1104
- "src": "682:24:3"
1105
- },
1106
- "returnParameters": {
1107
- "id": 2413,
1108
- "nodeType": "ParameterList",
1109
- "parameters": [
1110
- {
1111
- "constant": false,
1112
- "id": 2412,
1113
- "mutability": "mutable",
1114
- "name": "",
1115
- "nodeType": "VariableDeclaration",
1116
- "overrides": null,
1117
- "scope": 2414,
1118
- "src": "725:4:3",
1119
- "stateVariable": false,
1120
- "storageLocation": "default",
1121
- "typeDescriptions": {
1122
- "typeIdentifier": "t_bool",
1123
- "typeString": "bool"
1124
- },
1125
- "typeName": {
1126
- "id": 2411,
1127
- "name": "bool",
1128
- "nodeType": "ElementaryTypeName",
1129
- "src": "725:4:3",
1130
- "typeDescriptions": {
1131
- "typeIdentifier": "t_bool",
1132
- "typeString": "bool"
1133
- }
1134
- },
1135
- "value": null,
1136
- "visibility": "internal"
1137
- }
1138
- ],
1139
- "src": "724:6:3"
1140
- },
1141
- "scope": 2426,
1142
- "src": "665:66:3",
1143
- "stateMutability": "nonpayable",
1144
- "virtual": false,
1145
- "visibility": "external"
1146
- },
1147
- {
1148
- "body": null,
1149
- "documentation": null,
1150
- "functionSelector": "23b872dd",
1151
- "id": 2425,
1152
- "implemented": false,
1153
- "kind": "function",
1154
- "modifiers": [],
1155
- "name": "transferFrom",
1156
- "nodeType": "FunctionDefinition",
1157
- "overrides": null,
1158
- "parameters": {
1159
- "id": 2421,
1160
- "nodeType": "ParameterList",
1161
- "parameters": [
1162
- {
1163
- "constant": false,
1164
- "id": 2416,
1165
- "mutability": "mutable",
1166
- "name": "from",
1167
- "nodeType": "VariableDeclaration",
1168
- "overrides": null,
1169
- "scope": 2425,
1170
- "src": "758:12:3",
1171
- "stateVariable": false,
1172
- "storageLocation": "default",
1173
- "typeDescriptions": {
1174
- "typeIdentifier": "t_address",
1175
- "typeString": "address"
1176
- },
1177
- "typeName": {
1178
- "id": 2415,
1179
- "name": "address",
1180
- "nodeType": "ElementaryTypeName",
1181
- "src": "758:7:3",
1182
- "stateMutability": "nonpayable",
1183
- "typeDescriptions": {
1184
- "typeIdentifier": "t_address",
1185
- "typeString": "address"
1186
- }
1187
- },
1188
- "value": null,
1189
- "visibility": "internal"
1190
- },
1191
- {
1192
- "constant": false,
1193
- "id": 2418,
1194
- "mutability": "mutable",
1195
- "name": "to",
1196
- "nodeType": "VariableDeclaration",
1197
- "overrides": null,
1198
- "scope": 2425,
1199
- "src": "772:10:3",
1200
- "stateVariable": false,
1201
- "storageLocation": "default",
1202
- "typeDescriptions": {
1203
- "typeIdentifier": "t_address",
1204
- "typeString": "address"
1205
- },
1206
- "typeName": {
1207
- "id": 2417,
1208
- "name": "address",
1209
- "nodeType": "ElementaryTypeName",
1210
- "src": "772:7:3",
1211
- "stateMutability": "nonpayable",
1212
- "typeDescriptions": {
1213
- "typeIdentifier": "t_address",
1214
- "typeString": "address"
1215
- }
1216
- },
1217
- "value": null,
1218
- "visibility": "internal"
1219
- },
1220
- {
1221
- "constant": false,
1222
- "id": 2420,
1223
- "mutability": "mutable",
1224
- "name": "value",
1225
- "nodeType": "VariableDeclaration",
1226
- "overrides": null,
1227
- "scope": 2425,
1228
- "src": "784:10:3",
1229
- "stateVariable": false,
1230
- "storageLocation": "default",
1231
- "typeDescriptions": {
1232
- "typeIdentifier": "t_uint256",
1233
- "typeString": "uint256"
1234
- },
1235
- "typeName": {
1236
- "id": 2419,
1237
- "name": "uint",
1238
- "nodeType": "ElementaryTypeName",
1239
- "src": "784:4:3",
1240
- "typeDescriptions": {
1241
- "typeIdentifier": "t_uint256",
1242
- "typeString": "uint256"
1243
- }
1244
- },
1245
- "value": null,
1246
- "visibility": "internal"
1247
- }
1248
- ],
1249
- "src": "757:38:3"
1250
- },
1251
- "returnParameters": {
1252
- "id": 2424,
1253
- "nodeType": "ParameterList",
1254
- "parameters": [
1255
- {
1256
- "constant": false,
1257
- "id": 2423,
1258
- "mutability": "mutable",
1259
- "name": "",
1260
- "nodeType": "VariableDeclaration",
1261
- "overrides": null,
1262
- "scope": 2425,
1263
- "src": "814:4:3",
1264
- "stateVariable": false,
1265
- "storageLocation": "default",
1266
- "typeDescriptions": {
1267
- "typeIdentifier": "t_bool",
1268
- "typeString": "bool"
1269
- },
1270
- "typeName": {
1271
- "id": 2422,
1272
- "name": "bool",
1273
- "nodeType": "ElementaryTypeName",
1274
- "src": "814:4:3",
1275
- "typeDescriptions": {
1276
- "typeIdentifier": "t_bool",
1277
- "typeString": "bool"
1278
- }
1279
- },
1280
- "value": null,
1281
- "visibility": "internal"
1282
- }
1283
- ],
1284
- "src": "813:6:3"
1285
- },
1286
- "scope": 2426,
1287
- "src": "736:84:3",
1288
- "stateMutability": "nonpayable",
1289
- "virtual": false,
1290
- "visibility": "external"
1291
- }
1292
- ],
1293
- "scope": 2427,
1294
- "src": "26:796:3"
1295
- }
1296
- ],
1297
- "src": "0:823:3"
1298
- },
1299
- "legacyAST": {
1300
- "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol",
1301
- "exportedSymbols": {
1302
- "IERC20": [
1303
- 2426
1304
- ]
1305
- },
1306
- "id": 2427,
1307
- "nodeType": "SourceUnit",
1308
- "nodes": [
1309
- {
1310
- "id": 2344,
1311
- "literals": [
1312
- "solidity",
1313
- ">=",
1314
- "0.5",
1315
- ".0"
1316
- ],
1317
- "nodeType": "PragmaDirective",
1318
- "src": "0:24:3"
1319
- },
1320
- {
1321
- "abstract": false,
1322
- "baseContracts": [],
1323
- "contractDependencies": [],
1324
- "contractKind": "interface",
1325
- "documentation": null,
1326
- "fullyImplemented": false,
1327
- "id": 2426,
1328
- "linearizedBaseContracts": [
1329
- 2426
1330
- ],
1331
- "name": "IERC20",
1332
- "nodeType": "ContractDefinition",
1333
- "nodes": [
1334
- {
1335
- "anonymous": false,
1336
- "documentation": null,
1337
- "id": 2352,
1338
- "name": "Approval",
1339
- "nodeType": "EventDefinition",
1340
- "parameters": {
1341
- "id": 2351,
1342
- "nodeType": "ParameterList",
1343
- "parameters": [
1344
- {
1345
- "constant": false,
1346
- "id": 2346,
1347
- "indexed": true,
1348
- "mutability": "mutable",
1349
- "name": "owner",
1350
- "nodeType": "VariableDeclaration",
1351
- "overrides": null,
1352
- "scope": 2352,
1353
- "src": "64:21:3",
1354
- "stateVariable": false,
1355
- "storageLocation": "default",
1356
- "typeDescriptions": {
1357
- "typeIdentifier": "t_address",
1358
- "typeString": "address"
1359
- },
1360
- "typeName": {
1361
- "id": 2345,
1362
- "name": "address",
1363
- "nodeType": "ElementaryTypeName",
1364
- "src": "64:7:3",
1365
- "stateMutability": "nonpayable",
1366
- "typeDescriptions": {
1367
- "typeIdentifier": "t_address",
1368
- "typeString": "address"
1369
- }
1370
- },
1371
- "value": null,
1372
- "visibility": "internal"
1373
- },
1374
- {
1375
- "constant": false,
1376
- "id": 2348,
1377
- "indexed": true,
1378
- "mutability": "mutable",
1379
- "name": "spender",
1380
- "nodeType": "VariableDeclaration",
1381
- "overrides": null,
1382
- "scope": 2352,
1383
- "src": "87:23:3",
1384
- "stateVariable": false,
1385
- "storageLocation": "default",
1386
- "typeDescriptions": {
1387
- "typeIdentifier": "t_address",
1388
- "typeString": "address"
1389
- },
1390
- "typeName": {
1391
- "id": 2347,
1392
- "name": "address",
1393
- "nodeType": "ElementaryTypeName",
1394
- "src": "87:7:3",
1395
- "stateMutability": "nonpayable",
1396
- "typeDescriptions": {
1397
- "typeIdentifier": "t_address",
1398
- "typeString": "address"
1399
- }
1400
- },
1401
- "value": null,
1402
- "visibility": "internal"
1403
- },
1404
- {
1405
- "constant": false,
1406
- "id": 2350,
1407
- "indexed": false,
1408
- "mutability": "mutable",
1409
- "name": "value",
1410
- "nodeType": "VariableDeclaration",
1411
- "overrides": null,
1412
- "scope": 2352,
1413
- "src": "112:10:3",
1414
- "stateVariable": false,
1415
- "storageLocation": "default",
1416
- "typeDescriptions": {
1417
- "typeIdentifier": "t_uint256",
1418
- "typeString": "uint256"
1419
- },
1420
- "typeName": {
1421
- "id": 2349,
1422
- "name": "uint",
1423
- "nodeType": "ElementaryTypeName",
1424
- "src": "112:4:3",
1425
- "typeDescriptions": {
1426
- "typeIdentifier": "t_uint256",
1427
- "typeString": "uint256"
1428
- }
1429
- },
1430
- "value": null,
1431
- "visibility": "internal"
1432
- }
1433
- ],
1434
- "src": "63:60:3"
1435
- },
1436
- "src": "49:75:3"
1437
- },
1438
- {
1439
- "anonymous": false,
1440
- "documentation": null,
1441
- "id": 2360,
1442
- "name": "Transfer",
1443
- "nodeType": "EventDefinition",
1444
- "parameters": {
1445
- "id": 2359,
1446
- "nodeType": "ParameterList",
1447
- "parameters": [
1448
- {
1449
- "constant": false,
1450
- "id": 2354,
1451
- "indexed": true,
1452
- "mutability": "mutable",
1453
- "name": "from",
1454
- "nodeType": "VariableDeclaration",
1455
- "overrides": null,
1456
- "scope": 2360,
1457
- "src": "144:20:3",
1458
- "stateVariable": false,
1459
- "storageLocation": "default",
1460
- "typeDescriptions": {
1461
- "typeIdentifier": "t_address",
1462
- "typeString": "address"
1463
- },
1464
- "typeName": {
1465
- "id": 2353,
1466
- "name": "address",
1467
- "nodeType": "ElementaryTypeName",
1468
- "src": "144:7:3",
1469
- "stateMutability": "nonpayable",
1470
- "typeDescriptions": {
1471
- "typeIdentifier": "t_address",
1472
- "typeString": "address"
1473
- }
1474
- },
1475
- "value": null,
1476
- "visibility": "internal"
1477
- },
1478
- {
1479
- "constant": false,
1480
- "id": 2356,
1481
- "indexed": true,
1482
- "mutability": "mutable",
1483
- "name": "to",
1484
- "nodeType": "VariableDeclaration",
1485
- "overrides": null,
1486
- "scope": 2360,
1487
- "src": "166:18:3",
1488
- "stateVariable": false,
1489
- "storageLocation": "default",
1490
- "typeDescriptions": {
1491
- "typeIdentifier": "t_address",
1492
- "typeString": "address"
1493
- },
1494
- "typeName": {
1495
- "id": 2355,
1496
- "name": "address",
1497
- "nodeType": "ElementaryTypeName",
1498
- "src": "166:7:3",
1499
- "stateMutability": "nonpayable",
1500
- "typeDescriptions": {
1501
- "typeIdentifier": "t_address",
1502
- "typeString": "address"
1503
- }
1504
- },
1505
- "value": null,
1506
- "visibility": "internal"
1507
- },
1508
- {
1509
- "constant": false,
1510
- "id": 2358,
1511
- "indexed": false,
1512
- "mutability": "mutable",
1513
- "name": "value",
1514
- "nodeType": "VariableDeclaration",
1515
- "overrides": null,
1516
- "scope": 2360,
1517
- "src": "186:10:3",
1518
- "stateVariable": false,
1519
- "storageLocation": "default",
1520
- "typeDescriptions": {
1521
- "typeIdentifier": "t_uint256",
1522
- "typeString": "uint256"
1523
- },
1524
- "typeName": {
1525
- "id": 2357,
1526
- "name": "uint",
1527
- "nodeType": "ElementaryTypeName",
1528
- "src": "186:4:3",
1529
- "typeDescriptions": {
1530
- "typeIdentifier": "t_uint256",
1531
- "typeString": "uint256"
1532
- }
1533
- },
1534
- "value": null,
1535
- "visibility": "internal"
1536
- }
1537
- ],
1538
- "src": "143:54:3"
1539
- },
1540
- "src": "129:69:3"
1541
- },
1542
- {
1543
- "body": null,
1544
- "documentation": null,
1545
- "functionSelector": "06fdde03",
1546
- "id": 2365,
1547
- "implemented": false,
1548
- "kind": "function",
1549
- "modifiers": [],
1550
- "name": "name",
1551
- "nodeType": "FunctionDefinition",
1552
- "overrides": null,
1553
- "parameters": {
1554
- "id": 2361,
1555
- "nodeType": "ParameterList",
1556
- "parameters": [],
1557
- "src": "217:2:3"
1558
- },
1559
- "returnParameters": {
1560
- "id": 2364,
1561
- "nodeType": "ParameterList",
1562
- "parameters": [
1563
- {
1564
- "constant": false,
1565
- "id": 2363,
1566
- "mutability": "mutable",
1567
- "name": "",
1568
- "nodeType": "VariableDeclaration",
1569
- "overrides": null,
1570
- "scope": 2365,
1571
- "src": "243:13:3",
1572
- "stateVariable": false,
1573
- "storageLocation": "memory",
1574
- "typeDescriptions": {
1575
- "typeIdentifier": "t_string_memory_ptr",
1576
- "typeString": "string"
1577
- },
1578
- "typeName": {
1579
- "id": 2362,
1580
- "name": "string",
1581
- "nodeType": "ElementaryTypeName",
1582
- "src": "243:6:3",
1583
- "typeDescriptions": {
1584
- "typeIdentifier": "t_string_storage_ptr",
1585
- "typeString": "string"
1586
- }
1587
- },
1588
- "value": null,
1589
- "visibility": "internal"
1590
- }
1591
- ],
1592
- "src": "242:15:3"
1593
- },
1594
- "scope": 2426,
1595
- "src": "204:54:3",
1596
- "stateMutability": "view",
1597
- "virtual": false,
1598
- "visibility": "external"
1599
- },
1600
- {
1601
- "body": null,
1602
- "documentation": null,
1603
- "functionSelector": "95d89b41",
1604
- "id": 2370,
1605
- "implemented": false,
1606
- "kind": "function",
1607
- "modifiers": [],
1608
- "name": "symbol",
1609
- "nodeType": "FunctionDefinition",
1610
- "overrides": null,
1611
- "parameters": {
1612
- "id": 2366,
1613
- "nodeType": "ParameterList",
1614
- "parameters": [],
1615
- "src": "278:2:3"
1616
- },
1617
- "returnParameters": {
1618
- "id": 2369,
1619
- "nodeType": "ParameterList",
1620
- "parameters": [
1621
- {
1622
- "constant": false,
1623
- "id": 2368,
1624
- "mutability": "mutable",
1625
- "name": "",
1626
- "nodeType": "VariableDeclaration",
1627
- "overrides": null,
1628
- "scope": 2370,
1629
- "src": "304:13:3",
1630
- "stateVariable": false,
1631
- "storageLocation": "memory",
1632
- "typeDescriptions": {
1633
- "typeIdentifier": "t_string_memory_ptr",
1634
- "typeString": "string"
1635
- },
1636
- "typeName": {
1637
- "id": 2367,
1638
- "name": "string",
1639
- "nodeType": "ElementaryTypeName",
1640
- "src": "304:6:3",
1641
- "typeDescriptions": {
1642
- "typeIdentifier": "t_string_storage_ptr",
1643
- "typeString": "string"
1644
- }
1645
- },
1646
- "value": null,
1647
- "visibility": "internal"
1648
- }
1649
- ],
1650
- "src": "303:15:3"
1651
- },
1652
- "scope": 2426,
1653
- "src": "263:56:3",
1654
- "stateMutability": "view",
1655
- "virtual": false,
1656
- "visibility": "external"
1657
- },
1658
- {
1659
- "body": null,
1660
- "documentation": null,
1661
- "functionSelector": "313ce567",
1662
- "id": 2375,
1663
- "implemented": false,
1664
- "kind": "function",
1665
- "modifiers": [],
1666
- "name": "decimals",
1667
- "nodeType": "FunctionDefinition",
1668
- "overrides": null,
1669
- "parameters": {
1670
- "id": 2371,
1671
- "nodeType": "ParameterList",
1672
- "parameters": [],
1673
- "src": "341:2:3"
1674
- },
1675
- "returnParameters": {
1676
- "id": 2374,
1677
- "nodeType": "ParameterList",
1678
- "parameters": [
1679
- {
1680
- "constant": false,
1681
- "id": 2373,
1682
- "mutability": "mutable",
1683
- "name": "",
1684
- "nodeType": "VariableDeclaration",
1685
- "overrides": null,
1686
- "scope": 2375,
1687
- "src": "367:5:3",
1688
- "stateVariable": false,
1689
- "storageLocation": "default",
1690
- "typeDescriptions": {
1691
- "typeIdentifier": "t_uint8",
1692
- "typeString": "uint8"
1693
- },
1694
- "typeName": {
1695
- "id": 2372,
1696
- "name": "uint8",
1697
- "nodeType": "ElementaryTypeName",
1698
- "src": "367:5:3",
1699
- "typeDescriptions": {
1700
- "typeIdentifier": "t_uint8",
1701
- "typeString": "uint8"
1702
- }
1703
- },
1704
- "value": null,
1705
- "visibility": "internal"
1706
- }
1707
- ],
1708
- "src": "366:7:3"
1709
- },
1710
- "scope": 2426,
1711
- "src": "324:50:3",
1712
- "stateMutability": "view",
1713
- "virtual": false,
1714
- "visibility": "external"
1715
- },
1716
- {
1717
- "body": null,
1718
- "documentation": null,
1719
- "functionSelector": "18160ddd",
1720
- "id": 2380,
1721
- "implemented": false,
1722
- "kind": "function",
1723
- "modifiers": [],
1724
- "name": "totalSupply",
1725
- "nodeType": "FunctionDefinition",
1726
- "overrides": null,
1727
- "parameters": {
1728
- "id": 2376,
1729
- "nodeType": "ParameterList",
1730
- "parameters": [],
1731
- "src": "399:2:3"
1732
- },
1733
- "returnParameters": {
1734
- "id": 2379,
1735
- "nodeType": "ParameterList",
1736
- "parameters": [
1737
- {
1738
- "constant": false,
1739
- "id": 2378,
1740
- "mutability": "mutable",
1741
- "name": "",
1742
- "nodeType": "VariableDeclaration",
1743
- "overrides": null,
1744
- "scope": 2380,
1745
- "src": "425:4:3",
1746
- "stateVariable": false,
1747
- "storageLocation": "default",
1748
- "typeDescriptions": {
1749
- "typeIdentifier": "t_uint256",
1750
- "typeString": "uint256"
1751
- },
1752
- "typeName": {
1753
- "id": 2377,
1754
- "name": "uint",
1755
- "nodeType": "ElementaryTypeName",
1756
- "src": "425:4:3",
1757
- "typeDescriptions": {
1758
- "typeIdentifier": "t_uint256",
1759
- "typeString": "uint256"
1760
- }
1761
- },
1762
- "value": null,
1763
- "visibility": "internal"
1764
- }
1765
- ],
1766
- "src": "424:6:3"
1767
- },
1768
- "scope": 2426,
1769
- "src": "379:52:3",
1770
- "stateMutability": "view",
1771
- "virtual": false,
1772
- "visibility": "external"
1773
- },
1774
- {
1775
- "body": null,
1776
- "documentation": null,
1777
- "functionSelector": "70a08231",
1778
- "id": 2387,
1779
- "implemented": false,
1780
- "kind": "function",
1781
- "modifiers": [],
1782
- "name": "balanceOf",
1783
- "nodeType": "FunctionDefinition",
1784
- "overrides": null,
1785
- "parameters": {
1786
- "id": 2383,
1787
- "nodeType": "ParameterList",
1788
- "parameters": [
1789
- {
1790
- "constant": false,
1791
- "id": 2382,
1792
- "mutability": "mutable",
1793
- "name": "owner",
1794
- "nodeType": "VariableDeclaration",
1795
- "overrides": null,
1796
- "scope": 2387,
1797
- "src": "455:13:3",
1798
- "stateVariable": false,
1799
- "storageLocation": "default",
1800
- "typeDescriptions": {
1801
- "typeIdentifier": "t_address",
1802
- "typeString": "address"
1803
- },
1804
- "typeName": {
1805
- "id": 2381,
1806
- "name": "address",
1807
- "nodeType": "ElementaryTypeName",
1808
- "src": "455:7:3",
1809
- "stateMutability": "nonpayable",
1810
- "typeDescriptions": {
1811
- "typeIdentifier": "t_address",
1812
- "typeString": "address"
1813
- }
1814
- },
1815
- "value": null,
1816
- "visibility": "internal"
1817
- }
1818
- ],
1819
- "src": "454:15:3"
1820
- },
1821
- "returnParameters": {
1822
- "id": 2386,
1823
- "nodeType": "ParameterList",
1824
- "parameters": [
1825
- {
1826
- "constant": false,
1827
- "id": 2385,
1828
- "mutability": "mutable",
1829
- "name": "",
1830
- "nodeType": "VariableDeclaration",
1831
- "overrides": null,
1832
- "scope": 2387,
1833
- "src": "493:4:3",
1834
- "stateVariable": false,
1835
- "storageLocation": "default",
1836
- "typeDescriptions": {
1837
- "typeIdentifier": "t_uint256",
1838
- "typeString": "uint256"
1839
- },
1840
- "typeName": {
1841
- "id": 2384,
1842
- "name": "uint",
1843
- "nodeType": "ElementaryTypeName",
1844
- "src": "493:4:3",
1845
- "typeDescriptions": {
1846
- "typeIdentifier": "t_uint256",
1847
- "typeString": "uint256"
1848
- }
1849
- },
1850
- "value": null,
1851
- "visibility": "internal"
1852
- }
1853
- ],
1854
- "src": "492:6:3"
1855
- },
1856
- "scope": 2426,
1857
- "src": "436:63:3",
1858
- "stateMutability": "view",
1859
- "virtual": false,
1860
- "visibility": "external"
1861
- },
1862
- {
1863
- "body": null,
1864
- "documentation": null,
1865
- "functionSelector": "dd62ed3e",
1866
- "id": 2396,
1867
- "implemented": false,
1868
- "kind": "function",
1869
- "modifiers": [],
1870
- "name": "allowance",
1871
- "nodeType": "FunctionDefinition",
1872
- "overrides": null,
1873
- "parameters": {
1874
- "id": 2392,
1875
- "nodeType": "ParameterList",
1876
- "parameters": [
1877
- {
1878
- "constant": false,
1879
- "id": 2389,
1880
- "mutability": "mutable",
1881
- "name": "owner",
1882
- "nodeType": "VariableDeclaration",
1883
- "overrides": null,
1884
- "scope": 2396,
1885
- "src": "523:13:3",
1886
- "stateVariable": false,
1887
- "storageLocation": "default",
1888
- "typeDescriptions": {
1889
- "typeIdentifier": "t_address",
1890
- "typeString": "address"
1891
- },
1892
- "typeName": {
1893
- "id": 2388,
1894
- "name": "address",
1895
- "nodeType": "ElementaryTypeName",
1896
- "src": "523:7:3",
1897
- "stateMutability": "nonpayable",
1898
- "typeDescriptions": {
1899
- "typeIdentifier": "t_address",
1900
- "typeString": "address"
1901
- }
1902
- },
1903
- "value": null,
1904
- "visibility": "internal"
1905
- },
1906
- {
1907
- "constant": false,
1908
- "id": 2391,
1909
- "mutability": "mutable",
1910
- "name": "spender",
1911
- "nodeType": "VariableDeclaration",
1912
- "overrides": null,
1913
- "scope": 2396,
1914
- "src": "538:15:3",
1915
- "stateVariable": false,
1916
- "storageLocation": "default",
1917
- "typeDescriptions": {
1918
- "typeIdentifier": "t_address",
1919
- "typeString": "address"
1920
- },
1921
- "typeName": {
1922
- "id": 2390,
1923
- "name": "address",
1924
- "nodeType": "ElementaryTypeName",
1925
- "src": "538:7:3",
1926
- "stateMutability": "nonpayable",
1927
- "typeDescriptions": {
1928
- "typeIdentifier": "t_address",
1929
- "typeString": "address"
1930
- }
1931
- },
1932
- "value": null,
1933
- "visibility": "internal"
1934
- }
1935
- ],
1936
- "src": "522:32:3"
1937
- },
1938
- "returnParameters": {
1939
- "id": 2395,
1940
- "nodeType": "ParameterList",
1941
- "parameters": [
1942
- {
1943
- "constant": false,
1944
- "id": 2394,
1945
- "mutability": "mutable",
1946
- "name": "",
1947
- "nodeType": "VariableDeclaration",
1948
- "overrides": null,
1949
- "scope": 2396,
1950
- "src": "578:4:3",
1951
- "stateVariable": false,
1952
- "storageLocation": "default",
1953
- "typeDescriptions": {
1954
- "typeIdentifier": "t_uint256",
1955
- "typeString": "uint256"
1956
- },
1957
- "typeName": {
1958
- "id": 2393,
1959
- "name": "uint",
1960
- "nodeType": "ElementaryTypeName",
1961
- "src": "578:4:3",
1962
- "typeDescriptions": {
1963
- "typeIdentifier": "t_uint256",
1964
- "typeString": "uint256"
1965
- }
1966
- },
1967
- "value": null,
1968
- "visibility": "internal"
1969
- }
1970
- ],
1971
- "src": "577:6:3"
1972
- },
1973
- "scope": 2426,
1974
- "src": "504:80:3",
1975
- "stateMutability": "view",
1976
- "virtual": false,
1977
- "visibility": "external"
1978
- },
1979
- {
1980
- "body": null,
1981
- "documentation": null,
1982
- "functionSelector": "095ea7b3",
1983
- "id": 2405,
1984
- "implemented": false,
1985
- "kind": "function",
1986
- "modifiers": [],
1987
- "name": "approve",
1988
- "nodeType": "FunctionDefinition",
1989
- "overrides": null,
1990
- "parameters": {
1991
- "id": 2401,
1992
- "nodeType": "ParameterList",
1993
- "parameters": [
1994
- {
1995
- "constant": false,
1996
- "id": 2398,
1997
- "mutability": "mutable",
1998
- "name": "spender",
1999
- "nodeType": "VariableDeclaration",
2000
- "overrides": null,
2001
- "scope": 2405,
2002
- "src": "607:15:3",
2003
- "stateVariable": false,
2004
- "storageLocation": "default",
2005
- "typeDescriptions": {
2006
- "typeIdentifier": "t_address",
2007
- "typeString": "address"
2008
- },
2009
- "typeName": {
2010
- "id": 2397,
2011
- "name": "address",
2012
- "nodeType": "ElementaryTypeName",
2013
- "src": "607:7:3",
2014
- "stateMutability": "nonpayable",
2015
- "typeDescriptions": {
2016
- "typeIdentifier": "t_address",
2017
- "typeString": "address"
2018
- }
2019
- },
2020
- "value": null,
2021
- "visibility": "internal"
2022
- },
2023
- {
2024
- "constant": false,
2025
- "id": 2400,
2026
- "mutability": "mutable",
2027
- "name": "value",
2028
- "nodeType": "VariableDeclaration",
2029
- "overrides": null,
2030
- "scope": 2405,
2031
- "src": "624:10:3",
2032
- "stateVariable": false,
2033
- "storageLocation": "default",
2034
- "typeDescriptions": {
2035
- "typeIdentifier": "t_uint256",
2036
- "typeString": "uint256"
2037
- },
2038
- "typeName": {
2039
- "id": 2399,
2040
- "name": "uint",
2041
- "nodeType": "ElementaryTypeName",
2042
- "src": "624:4:3",
2043
- "typeDescriptions": {
2044
- "typeIdentifier": "t_uint256",
2045
- "typeString": "uint256"
2046
- }
2047
- },
2048
- "value": null,
2049
- "visibility": "internal"
2050
- }
2051
- ],
2052
- "src": "606:29:3"
2053
- },
2054
- "returnParameters": {
2055
- "id": 2404,
2056
- "nodeType": "ParameterList",
2057
- "parameters": [
2058
- {
2059
- "constant": false,
2060
- "id": 2403,
2061
- "mutability": "mutable",
2062
- "name": "",
2063
- "nodeType": "VariableDeclaration",
2064
- "overrides": null,
2065
- "scope": 2405,
2066
- "src": "654:4:3",
2067
- "stateVariable": false,
2068
- "storageLocation": "default",
2069
- "typeDescriptions": {
2070
- "typeIdentifier": "t_bool",
2071
- "typeString": "bool"
2072
- },
2073
- "typeName": {
2074
- "id": 2402,
2075
- "name": "bool",
2076
- "nodeType": "ElementaryTypeName",
2077
- "src": "654:4:3",
2078
- "typeDescriptions": {
2079
- "typeIdentifier": "t_bool",
2080
- "typeString": "bool"
2081
- }
2082
- },
2083
- "value": null,
2084
- "visibility": "internal"
2085
- }
2086
- ],
2087
- "src": "653:6:3"
2088
- },
2089
- "scope": 2426,
2090
- "src": "590:70:3",
2091
- "stateMutability": "nonpayable",
2092
- "virtual": false,
2093
- "visibility": "external"
2094
- },
2095
- {
2096
- "body": null,
2097
- "documentation": null,
2098
- "functionSelector": "a9059cbb",
2099
- "id": 2414,
2100
- "implemented": false,
2101
- "kind": "function",
2102
- "modifiers": [],
2103
- "name": "transfer",
2104
- "nodeType": "FunctionDefinition",
2105
- "overrides": null,
2106
- "parameters": {
2107
- "id": 2410,
2108
- "nodeType": "ParameterList",
2109
- "parameters": [
2110
- {
2111
- "constant": false,
2112
- "id": 2407,
2113
- "mutability": "mutable",
2114
- "name": "to",
2115
- "nodeType": "VariableDeclaration",
2116
- "overrides": null,
2117
- "scope": 2414,
2118
- "src": "683:10:3",
2119
- "stateVariable": false,
2120
- "storageLocation": "default",
2121
- "typeDescriptions": {
2122
- "typeIdentifier": "t_address",
2123
- "typeString": "address"
2124
- },
2125
- "typeName": {
2126
- "id": 2406,
2127
- "name": "address",
2128
- "nodeType": "ElementaryTypeName",
2129
- "src": "683:7:3",
2130
- "stateMutability": "nonpayable",
2131
- "typeDescriptions": {
2132
- "typeIdentifier": "t_address",
2133
- "typeString": "address"
2134
- }
2135
- },
2136
- "value": null,
2137
- "visibility": "internal"
2138
- },
2139
- {
2140
- "constant": false,
2141
- "id": 2409,
2142
- "mutability": "mutable",
2143
- "name": "value",
2144
- "nodeType": "VariableDeclaration",
2145
- "overrides": null,
2146
- "scope": 2414,
2147
- "src": "695:10:3",
2148
- "stateVariable": false,
2149
- "storageLocation": "default",
2150
- "typeDescriptions": {
2151
- "typeIdentifier": "t_uint256",
2152
- "typeString": "uint256"
2153
- },
2154
- "typeName": {
2155
- "id": 2408,
2156
- "name": "uint",
2157
- "nodeType": "ElementaryTypeName",
2158
- "src": "695:4:3",
2159
- "typeDescriptions": {
2160
- "typeIdentifier": "t_uint256",
2161
- "typeString": "uint256"
2162
- }
2163
- },
2164
- "value": null,
2165
- "visibility": "internal"
2166
- }
2167
- ],
2168
- "src": "682:24:3"
2169
- },
2170
- "returnParameters": {
2171
- "id": 2413,
2172
- "nodeType": "ParameterList",
2173
- "parameters": [
2174
- {
2175
- "constant": false,
2176
- "id": 2412,
2177
- "mutability": "mutable",
2178
- "name": "",
2179
- "nodeType": "VariableDeclaration",
2180
- "overrides": null,
2181
- "scope": 2414,
2182
- "src": "725:4:3",
2183
- "stateVariable": false,
2184
- "storageLocation": "default",
2185
- "typeDescriptions": {
2186
- "typeIdentifier": "t_bool",
2187
- "typeString": "bool"
2188
- },
2189
- "typeName": {
2190
- "id": 2411,
2191
- "name": "bool",
2192
- "nodeType": "ElementaryTypeName",
2193
- "src": "725:4:3",
2194
- "typeDescriptions": {
2195
- "typeIdentifier": "t_bool",
2196
- "typeString": "bool"
2197
- }
2198
- },
2199
- "value": null,
2200
- "visibility": "internal"
2201
- }
2202
- ],
2203
- "src": "724:6:3"
2204
- },
2205
- "scope": 2426,
2206
- "src": "665:66:3",
2207
- "stateMutability": "nonpayable",
2208
- "virtual": false,
2209
- "visibility": "external"
2210
- },
2211
- {
2212
- "body": null,
2213
- "documentation": null,
2214
- "functionSelector": "23b872dd",
2215
- "id": 2425,
2216
- "implemented": false,
2217
- "kind": "function",
2218
- "modifiers": [],
2219
- "name": "transferFrom",
2220
- "nodeType": "FunctionDefinition",
2221
- "overrides": null,
2222
- "parameters": {
2223
- "id": 2421,
2224
- "nodeType": "ParameterList",
2225
- "parameters": [
2226
- {
2227
- "constant": false,
2228
- "id": 2416,
2229
- "mutability": "mutable",
2230
- "name": "from",
2231
- "nodeType": "VariableDeclaration",
2232
- "overrides": null,
2233
- "scope": 2425,
2234
- "src": "758:12:3",
2235
- "stateVariable": false,
2236
- "storageLocation": "default",
2237
- "typeDescriptions": {
2238
- "typeIdentifier": "t_address",
2239
- "typeString": "address"
2240
- },
2241
- "typeName": {
2242
- "id": 2415,
2243
- "name": "address",
2244
- "nodeType": "ElementaryTypeName",
2245
- "src": "758:7:3",
2246
- "stateMutability": "nonpayable",
2247
- "typeDescriptions": {
2248
- "typeIdentifier": "t_address",
2249
- "typeString": "address"
2250
- }
2251
- },
2252
- "value": null,
2253
- "visibility": "internal"
2254
- },
2255
- {
2256
- "constant": false,
2257
- "id": 2418,
2258
- "mutability": "mutable",
2259
- "name": "to",
2260
- "nodeType": "VariableDeclaration",
2261
- "overrides": null,
2262
- "scope": 2425,
2263
- "src": "772:10:3",
2264
- "stateVariable": false,
2265
- "storageLocation": "default",
2266
- "typeDescriptions": {
2267
- "typeIdentifier": "t_address",
2268
- "typeString": "address"
2269
- },
2270
- "typeName": {
2271
- "id": 2417,
2272
- "name": "address",
2273
- "nodeType": "ElementaryTypeName",
2274
- "src": "772:7:3",
2275
- "stateMutability": "nonpayable",
2276
- "typeDescriptions": {
2277
- "typeIdentifier": "t_address",
2278
- "typeString": "address"
2279
- }
2280
- },
2281
- "value": null,
2282
- "visibility": "internal"
2283
- },
2284
- {
2285
- "constant": false,
2286
- "id": 2420,
2287
- "mutability": "mutable",
2288
- "name": "value",
2289
- "nodeType": "VariableDeclaration",
2290
- "overrides": null,
2291
- "scope": 2425,
2292
- "src": "784:10:3",
2293
- "stateVariable": false,
2294
- "storageLocation": "default",
2295
- "typeDescriptions": {
2296
- "typeIdentifier": "t_uint256",
2297
- "typeString": "uint256"
2298
- },
2299
- "typeName": {
2300
- "id": 2419,
2301
- "name": "uint",
2302
- "nodeType": "ElementaryTypeName",
2303
- "src": "784:4:3",
2304
- "typeDescriptions": {
2305
- "typeIdentifier": "t_uint256",
2306
- "typeString": "uint256"
2307
- }
2308
- },
2309
- "value": null,
2310
- "visibility": "internal"
2311
- }
2312
- ],
2313
- "src": "757:38:3"
2314
- },
2315
- "returnParameters": {
2316
- "id": 2424,
2317
- "nodeType": "ParameterList",
2318
- "parameters": [
2319
- {
2320
- "constant": false,
2321
- "id": 2423,
2322
- "mutability": "mutable",
2323
- "name": "",
2324
- "nodeType": "VariableDeclaration",
2325
- "overrides": null,
2326
- "scope": 2425,
2327
- "src": "814:4:3",
2328
- "stateVariable": false,
2329
- "storageLocation": "default",
2330
- "typeDescriptions": {
2331
- "typeIdentifier": "t_bool",
2332
- "typeString": "bool"
2333
- },
2334
- "typeName": {
2335
- "id": 2422,
2336
- "name": "bool",
2337
- "nodeType": "ElementaryTypeName",
2338
- "src": "814:4:3",
2339
- "typeDescriptions": {
2340
- "typeIdentifier": "t_bool",
2341
- "typeString": "bool"
2342
- }
2343
- },
2344
- "value": null,
2345
- "visibility": "internal"
2346
- }
2347
- ],
2348
- "src": "813:6:3"
2349
- },
2350
- "scope": 2426,
2351
- "src": "736:84:3",
2352
- "stateMutability": "nonpayable",
2353
- "virtual": false,
2354
- "visibility": "external"
2355
- }
2356
- ],
2357
- "scope": 2427,
2358
- "src": "26:796:3"
2359
- }
2360
- ],
2361
- "src": "0:823:3"
2362
- },
2363
- "compiler": {
2364
- "name": "solc",
2365
- "version": "0.6.6+commit.6c089d02.Emscripten.clang"
2366
- },
2367
- "networks": {},
2368
- "schemaVersion": "3.3.2",
2369
- "updatedAt": "2021-01-09T21:16:28.578Z",
2370
- "devdoc": {
2371
- "methods": {}
2372
- },
2373
- "userdoc": {
2374
- "methods": {}
2375
- }
2376
- }
1
+ {
2
+ "contractName": "IERC20",
3
+ "abi": [
4
+ {
5
+ "anonymous": false,
6
+ "inputs": [
7
+ {
8
+ "indexed": true,
9
+ "internalType": "address",
10
+ "name": "owner",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "indexed": true,
15
+ "internalType": "address",
16
+ "name": "spender",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "indexed": false,
21
+ "internalType": "uint256",
22
+ "name": "value",
23
+ "type": "uint256"
24
+ }
25
+ ],
26
+ "name": "Approval",
27
+ "type": "event"
28
+ },
29
+ {
30
+ "anonymous": false,
31
+ "inputs": [
32
+ {
33
+ "indexed": true,
34
+ "internalType": "address",
35
+ "name": "from",
36
+ "type": "address"
37
+ },
38
+ {
39
+ "indexed": true,
40
+ "internalType": "address",
41
+ "name": "to",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "indexed": false,
46
+ "internalType": "uint256",
47
+ "name": "value",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "name": "Transfer",
52
+ "type": "event"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "name",
57
+ "outputs": [
58
+ {
59
+ "internalType": "string",
60
+ "name": "",
61
+ "type": "string"
62
+ }
63
+ ],
64
+ "stateMutability": "view",
65
+ "type": "function"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "symbol",
70
+ "outputs": [
71
+ {
72
+ "internalType": "string",
73
+ "name": "",
74
+ "type": "string"
75
+ }
76
+ ],
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "decimals",
83
+ "outputs": [
84
+ {
85
+ "internalType": "uint8",
86
+ "name": "",
87
+ "type": "uint8"
88
+ }
89
+ ],
90
+ "stateMutability": "view",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [],
95
+ "name": "totalSupply",
96
+ "outputs": [
97
+ {
98
+ "internalType": "uint256",
99
+ "name": "",
100
+ "type": "uint256"
101
+ }
102
+ ],
103
+ "stateMutability": "view",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [
108
+ {
109
+ "internalType": "address",
110
+ "name": "owner",
111
+ "type": "address"
112
+ }
113
+ ],
114
+ "name": "balanceOf",
115
+ "outputs": [
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "stateMutability": "view",
123
+ "type": "function"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "owner",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "internalType": "address",
134
+ "name": "spender",
135
+ "type": "address"
136
+ }
137
+ ],
138
+ "name": "allowance",
139
+ "outputs": [
140
+ {
141
+ "internalType": "uint256",
142
+ "name": "",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "address",
153
+ "name": "spender",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "internalType": "uint256",
158
+ "name": "value",
159
+ "type": "uint256"
160
+ }
161
+ ],
162
+ "name": "approve",
163
+ "outputs": [
164
+ {
165
+ "internalType": "bool",
166
+ "name": "",
167
+ "type": "bool"
168
+ }
169
+ ],
170
+ "stateMutability": "nonpayable",
171
+ "type": "function"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "address",
177
+ "name": "to",
178
+ "type": "address"
179
+ },
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "value",
183
+ "type": "uint256"
184
+ }
185
+ ],
186
+ "name": "transfer",
187
+ "outputs": [
188
+ {
189
+ "internalType": "bool",
190
+ "name": "",
191
+ "type": "bool"
192
+ }
193
+ ],
194
+ "stateMutability": "nonpayable",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "from",
202
+ "type": "address"
203
+ },
204
+ {
205
+ "internalType": "address",
206
+ "name": "to",
207
+ "type": "address"
208
+ },
209
+ {
210
+ "internalType": "uint256",
211
+ "name": "value",
212
+ "type": "uint256"
213
+ }
214
+ ],
215
+ "name": "transferFrom",
216
+ "outputs": [
217
+ {
218
+ "internalType": "bool",
219
+ "name": "",
220
+ "type": "bool"
221
+ }
222
+ ],
223
+ "stateMutability": "nonpayable",
224
+ "type": "function"
225
+ }
226
+ ],
227
+ "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0x61db17aebc5d812c7002d15c1da954065e56abe49d64b14c034abe5604d70eb3\",\"urls\":[\"bzz-raw://b006685e753f9120469f10b09c159f222d4cb8b507a6c1f0c14ed50c883ebe66\",\"dweb:/ipfs/QmSyY7iTugbczPwfGK67etiyPULenYGzzRYbt8aabwwkUb\"]}},\"version\":1}",
228
+ "bytecode": "0x",
229
+ "deployedBytecode": "0x",
230
+ "immutableReferences": {},
231
+ "sourceMap": "",
232
+ "deployedSourceMap": "",
233
+ "source": "pragma solidity >=0.5.0;\n\ninterface IERC20 {\n event Approval(address indexed owner, address indexed spender, uint value);\n event Transfer(address indexed from, address indexed to, uint value);\n\n function name() external view returns (string memory);\n function symbol() external view returns (string memory);\n function decimals() external view returns (uint8);\n function totalSupply() external view returns (uint);\n function balanceOf(address owner) external view returns (uint);\n function allowance(address owner, address spender) external view returns (uint);\n\n function approve(address spender, uint value) external returns (bool);\n function transfer(address to, uint value) external returns (bool);\n function transferFrom(address from, address to, uint value) external returns (bool);\n}\n",
234
+ "sourcePath": "C:\\Users\\simor\\Desktop\\impermax-x-uniswapv2-periphery\\contracts\\interfaces\\IERC20.sol",
235
+ "ast": {
236
+ "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol",
237
+ "exportedSymbols": {
238
+ "IERC20": [
239
+ 2426
240
+ ]
241
+ },
242
+ "id": 2427,
243
+ "nodeType": "SourceUnit",
244
+ "nodes": [
245
+ {
246
+ "id": 2344,
247
+ "literals": [
248
+ "solidity",
249
+ ">=",
250
+ "0.5",
251
+ ".0"
252
+ ],
253
+ "nodeType": "PragmaDirective",
254
+ "src": "0:24:3"
255
+ },
256
+ {
257
+ "abstract": false,
258
+ "baseContracts": [],
259
+ "contractDependencies": [],
260
+ "contractKind": "interface",
261
+ "documentation": null,
262
+ "fullyImplemented": false,
263
+ "id": 2426,
264
+ "linearizedBaseContracts": [
265
+ 2426
266
+ ],
267
+ "name": "IERC20",
268
+ "nodeType": "ContractDefinition",
269
+ "nodes": [
270
+ {
271
+ "anonymous": false,
272
+ "documentation": null,
273
+ "id": 2352,
274
+ "name": "Approval",
275
+ "nodeType": "EventDefinition",
276
+ "parameters": {
277
+ "id": 2351,
278
+ "nodeType": "ParameterList",
279
+ "parameters": [
280
+ {
281
+ "constant": false,
282
+ "id": 2346,
283
+ "indexed": true,
284
+ "mutability": "mutable",
285
+ "name": "owner",
286
+ "nodeType": "VariableDeclaration",
287
+ "overrides": null,
288
+ "scope": 2352,
289
+ "src": "64:21:3",
290
+ "stateVariable": false,
291
+ "storageLocation": "default",
292
+ "typeDescriptions": {
293
+ "typeIdentifier": "t_address",
294
+ "typeString": "address"
295
+ },
296
+ "typeName": {
297
+ "id": 2345,
298
+ "name": "address",
299
+ "nodeType": "ElementaryTypeName",
300
+ "src": "64:7:3",
301
+ "stateMutability": "nonpayable",
302
+ "typeDescriptions": {
303
+ "typeIdentifier": "t_address",
304
+ "typeString": "address"
305
+ }
306
+ },
307
+ "value": null,
308
+ "visibility": "internal"
309
+ },
310
+ {
311
+ "constant": false,
312
+ "id": 2348,
313
+ "indexed": true,
314
+ "mutability": "mutable",
315
+ "name": "spender",
316
+ "nodeType": "VariableDeclaration",
317
+ "overrides": null,
318
+ "scope": 2352,
319
+ "src": "87:23:3",
320
+ "stateVariable": false,
321
+ "storageLocation": "default",
322
+ "typeDescriptions": {
323
+ "typeIdentifier": "t_address",
324
+ "typeString": "address"
325
+ },
326
+ "typeName": {
327
+ "id": 2347,
328
+ "name": "address",
329
+ "nodeType": "ElementaryTypeName",
330
+ "src": "87:7:3",
331
+ "stateMutability": "nonpayable",
332
+ "typeDescriptions": {
333
+ "typeIdentifier": "t_address",
334
+ "typeString": "address"
335
+ }
336
+ },
337
+ "value": null,
338
+ "visibility": "internal"
339
+ },
340
+ {
341
+ "constant": false,
342
+ "id": 2350,
343
+ "indexed": false,
344
+ "mutability": "mutable",
345
+ "name": "value",
346
+ "nodeType": "VariableDeclaration",
347
+ "overrides": null,
348
+ "scope": 2352,
349
+ "src": "112:10:3",
350
+ "stateVariable": false,
351
+ "storageLocation": "default",
352
+ "typeDescriptions": {
353
+ "typeIdentifier": "t_uint256",
354
+ "typeString": "uint256"
355
+ },
356
+ "typeName": {
357
+ "id": 2349,
358
+ "name": "uint",
359
+ "nodeType": "ElementaryTypeName",
360
+ "src": "112:4:3",
361
+ "typeDescriptions": {
362
+ "typeIdentifier": "t_uint256",
363
+ "typeString": "uint256"
364
+ }
365
+ },
366
+ "value": null,
367
+ "visibility": "internal"
368
+ }
369
+ ],
370
+ "src": "63:60:3"
371
+ },
372
+ "src": "49:75:3"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "documentation": null,
377
+ "id": 2360,
378
+ "name": "Transfer",
379
+ "nodeType": "EventDefinition",
380
+ "parameters": {
381
+ "id": 2359,
382
+ "nodeType": "ParameterList",
383
+ "parameters": [
384
+ {
385
+ "constant": false,
386
+ "id": 2354,
387
+ "indexed": true,
388
+ "mutability": "mutable",
389
+ "name": "from",
390
+ "nodeType": "VariableDeclaration",
391
+ "overrides": null,
392
+ "scope": 2360,
393
+ "src": "144:20:3",
394
+ "stateVariable": false,
395
+ "storageLocation": "default",
396
+ "typeDescriptions": {
397
+ "typeIdentifier": "t_address",
398
+ "typeString": "address"
399
+ },
400
+ "typeName": {
401
+ "id": 2353,
402
+ "name": "address",
403
+ "nodeType": "ElementaryTypeName",
404
+ "src": "144:7:3",
405
+ "stateMutability": "nonpayable",
406
+ "typeDescriptions": {
407
+ "typeIdentifier": "t_address",
408
+ "typeString": "address"
409
+ }
410
+ },
411
+ "value": null,
412
+ "visibility": "internal"
413
+ },
414
+ {
415
+ "constant": false,
416
+ "id": 2356,
417
+ "indexed": true,
418
+ "mutability": "mutable",
419
+ "name": "to",
420
+ "nodeType": "VariableDeclaration",
421
+ "overrides": null,
422
+ "scope": 2360,
423
+ "src": "166:18:3",
424
+ "stateVariable": false,
425
+ "storageLocation": "default",
426
+ "typeDescriptions": {
427
+ "typeIdentifier": "t_address",
428
+ "typeString": "address"
429
+ },
430
+ "typeName": {
431
+ "id": 2355,
432
+ "name": "address",
433
+ "nodeType": "ElementaryTypeName",
434
+ "src": "166:7:3",
435
+ "stateMutability": "nonpayable",
436
+ "typeDescriptions": {
437
+ "typeIdentifier": "t_address",
438
+ "typeString": "address"
439
+ }
440
+ },
441
+ "value": null,
442
+ "visibility": "internal"
443
+ },
444
+ {
445
+ "constant": false,
446
+ "id": 2358,
447
+ "indexed": false,
448
+ "mutability": "mutable",
449
+ "name": "value",
450
+ "nodeType": "VariableDeclaration",
451
+ "overrides": null,
452
+ "scope": 2360,
453
+ "src": "186:10:3",
454
+ "stateVariable": false,
455
+ "storageLocation": "default",
456
+ "typeDescriptions": {
457
+ "typeIdentifier": "t_uint256",
458
+ "typeString": "uint256"
459
+ },
460
+ "typeName": {
461
+ "id": 2357,
462
+ "name": "uint",
463
+ "nodeType": "ElementaryTypeName",
464
+ "src": "186:4:3",
465
+ "typeDescriptions": {
466
+ "typeIdentifier": "t_uint256",
467
+ "typeString": "uint256"
468
+ }
469
+ },
470
+ "value": null,
471
+ "visibility": "internal"
472
+ }
473
+ ],
474
+ "src": "143:54:3"
475
+ },
476
+ "src": "129:69:3"
477
+ },
478
+ {
479
+ "body": null,
480
+ "documentation": null,
481
+ "functionSelector": "06fdde03",
482
+ "id": 2365,
483
+ "implemented": false,
484
+ "kind": "function",
485
+ "modifiers": [],
486
+ "name": "name",
487
+ "nodeType": "FunctionDefinition",
488
+ "overrides": null,
489
+ "parameters": {
490
+ "id": 2361,
491
+ "nodeType": "ParameterList",
492
+ "parameters": [],
493
+ "src": "217:2:3"
494
+ },
495
+ "returnParameters": {
496
+ "id": 2364,
497
+ "nodeType": "ParameterList",
498
+ "parameters": [
499
+ {
500
+ "constant": false,
501
+ "id": 2363,
502
+ "mutability": "mutable",
503
+ "name": "",
504
+ "nodeType": "VariableDeclaration",
505
+ "overrides": null,
506
+ "scope": 2365,
507
+ "src": "243:13:3",
508
+ "stateVariable": false,
509
+ "storageLocation": "memory",
510
+ "typeDescriptions": {
511
+ "typeIdentifier": "t_string_memory_ptr",
512
+ "typeString": "string"
513
+ },
514
+ "typeName": {
515
+ "id": 2362,
516
+ "name": "string",
517
+ "nodeType": "ElementaryTypeName",
518
+ "src": "243:6:3",
519
+ "typeDescriptions": {
520
+ "typeIdentifier": "t_string_storage_ptr",
521
+ "typeString": "string"
522
+ }
523
+ },
524
+ "value": null,
525
+ "visibility": "internal"
526
+ }
527
+ ],
528
+ "src": "242:15:3"
529
+ },
530
+ "scope": 2426,
531
+ "src": "204:54:3",
532
+ "stateMutability": "view",
533
+ "virtual": false,
534
+ "visibility": "external"
535
+ },
536
+ {
537
+ "body": null,
538
+ "documentation": null,
539
+ "functionSelector": "95d89b41",
540
+ "id": 2370,
541
+ "implemented": false,
542
+ "kind": "function",
543
+ "modifiers": [],
544
+ "name": "symbol",
545
+ "nodeType": "FunctionDefinition",
546
+ "overrides": null,
547
+ "parameters": {
548
+ "id": 2366,
549
+ "nodeType": "ParameterList",
550
+ "parameters": [],
551
+ "src": "278:2:3"
552
+ },
553
+ "returnParameters": {
554
+ "id": 2369,
555
+ "nodeType": "ParameterList",
556
+ "parameters": [
557
+ {
558
+ "constant": false,
559
+ "id": 2368,
560
+ "mutability": "mutable",
561
+ "name": "",
562
+ "nodeType": "VariableDeclaration",
563
+ "overrides": null,
564
+ "scope": 2370,
565
+ "src": "304:13:3",
566
+ "stateVariable": false,
567
+ "storageLocation": "memory",
568
+ "typeDescriptions": {
569
+ "typeIdentifier": "t_string_memory_ptr",
570
+ "typeString": "string"
571
+ },
572
+ "typeName": {
573
+ "id": 2367,
574
+ "name": "string",
575
+ "nodeType": "ElementaryTypeName",
576
+ "src": "304:6:3",
577
+ "typeDescriptions": {
578
+ "typeIdentifier": "t_string_storage_ptr",
579
+ "typeString": "string"
580
+ }
581
+ },
582
+ "value": null,
583
+ "visibility": "internal"
584
+ }
585
+ ],
586
+ "src": "303:15:3"
587
+ },
588
+ "scope": 2426,
589
+ "src": "263:56:3",
590
+ "stateMutability": "view",
591
+ "virtual": false,
592
+ "visibility": "external"
593
+ },
594
+ {
595
+ "body": null,
596
+ "documentation": null,
597
+ "functionSelector": "313ce567",
598
+ "id": 2375,
599
+ "implemented": false,
600
+ "kind": "function",
601
+ "modifiers": [],
602
+ "name": "decimals",
603
+ "nodeType": "FunctionDefinition",
604
+ "overrides": null,
605
+ "parameters": {
606
+ "id": 2371,
607
+ "nodeType": "ParameterList",
608
+ "parameters": [],
609
+ "src": "341:2:3"
610
+ },
611
+ "returnParameters": {
612
+ "id": 2374,
613
+ "nodeType": "ParameterList",
614
+ "parameters": [
615
+ {
616
+ "constant": false,
617
+ "id": 2373,
618
+ "mutability": "mutable",
619
+ "name": "",
620
+ "nodeType": "VariableDeclaration",
621
+ "overrides": null,
622
+ "scope": 2375,
623
+ "src": "367:5:3",
624
+ "stateVariable": false,
625
+ "storageLocation": "default",
626
+ "typeDescriptions": {
627
+ "typeIdentifier": "t_uint8",
628
+ "typeString": "uint8"
629
+ },
630
+ "typeName": {
631
+ "id": 2372,
632
+ "name": "uint8",
633
+ "nodeType": "ElementaryTypeName",
634
+ "src": "367:5:3",
635
+ "typeDescriptions": {
636
+ "typeIdentifier": "t_uint8",
637
+ "typeString": "uint8"
638
+ }
639
+ },
640
+ "value": null,
641
+ "visibility": "internal"
642
+ }
643
+ ],
644
+ "src": "366:7:3"
645
+ },
646
+ "scope": 2426,
647
+ "src": "324:50:3",
648
+ "stateMutability": "view",
649
+ "virtual": false,
650
+ "visibility": "external"
651
+ },
652
+ {
653
+ "body": null,
654
+ "documentation": null,
655
+ "functionSelector": "18160ddd",
656
+ "id": 2380,
657
+ "implemented": false,
658
+ "kind": "function",
659
+ "modifiers": [],
660
+ "name": "totalSupply",
661
+ "nodeType": "FunctionDefinition",
662
+ "overrides": null,
663
+ "parameters": {
664
+ "id": 2376,
665
+ "nodeType": "ParameterList",
666
+ "parameters": [],
667
+ "src": "399:2:3"
668
+ },
669
+ "returnParameters": {
670
+ "id": 2379,
671
+ "nodeType": "ParameterList",
672
+ "parameters": [
673
+ {
674
+ "constant": false,
675
+ "id": 2378,
676
+ "mutability": "mutable",
677
+ "name": "",
678
+ "nodeType": "VariableDeclaration",
679
+ "overrides": null,
680
+ "scope": 2380,
681
+ "src": "425:4:3",
682
+ "stateVariable": false,
683
+ "storageLocation": "default",
684
+ "typeDescriptions": {
685
+ "typeIdentifier": "t_uint256",
686
+ "typeString": "uint256"
687
+ },
688
+ "typeName": {
689
+ "id": 2377,
690
+ "name": "uint",
691
+ "nodeType": "ElementaryTypeName",
692
+ "src": "425:4:3",
693
+ "typeDescriptions": {
694
+ "typeIdentifier": "t_uint256",
695
+ "typeString": "uint256"
696
+ }
697
+ },
698
+ "value": null,
699
+ "visibility": "internal"
700
+ }
701
+ ],
702
+ "src": "424:6:3"
703
+ },
704
+ "scope": 2426,
705
+ "src": "379:52:3",
706
+ "stateMutability": "view",
707
+ "virtual": false,
708
+ "visibility": "external"
709
+ },
710
+ {
711
+ "body": null,
712
+ "documentation": null,
713
+ "functionSelector": "70a08231",
714
+ "id": 2387,
715
+ "implemented": false,
716
+ "kind": "function",
717
+ "modifiers": [],
718
+ "name": "balanceOf",
719
+ "nodeType": "FunctionDefinition",
720
+ "overrides": null,
721
+ "parameters": {
722
+ "id": 2383,
723
+ "nodeType": "ParameterList",
724
+ "parameters": [
725
+ {
726
+ "constant": false,
727
+ "id": 2382,
728
+ "mutability": "mutable",
729
+ "name": "owner",
730
+ "nodeType": "VariableDeclaration",
731
+ "overrides": null,
732
+ "scope": 2387,
733
+ "src": "455:13:3",
734
+ "stateVariable": false,
735
+ "storageLocation": "default",
736
+ "typeDescriptions": {
737
+ "typeIdentifier": "t_address",
738
+ "typeString": "address"
739
+ },
740
+ "typeName": {
741
+ "id": 2381,
742
+ "name": "address",
743
+ "nodeType": "ElementaryTypeName",
744
+ "src": "455:7:3",
745
+ "stateMutability": "nonpayable",
746
+ "typeDescriptions": {
747
+ "typeIdentifier": "t_address",
748
+ "typeString": "address"
749
+ }
750
+ },
751
+ "value": null,
752
+ "visibility": "internal"
753
+ }
754
+ ],
755
+ "src": "454:15:3"
756
+ },
757
+ "returnParameters": {
758
+ "id": 2386,
759
+ "nodeType": "ParameterList",
760
+ "parameters": [
761
+ {
762
+ "constant": false,
763
+ "id": 2385,
764
+ "mutability": "mutable",
765
+ "name": "",
766
+ "nodeType": "VariableDeclaration",
767
+ "overrides": null,
768
+ "scope": 2387,
769
+ "src": "493:4:3",
770
+ "stateVariable": false,
771
+ "storageLocation": "default",
772
+ "typeDescriptions": {
773
+ "typeIdentifier": "t_uint256",
774
+ "typeString": "uint256"
775
+ },
776
+ "typeName": {
777
+ "id": 2384,
778
+ "name": "uint",
779
+ "nodeType": "ElementaryTypeName",
780
+ "src": "493:4:3",
781
+ "typeDescriptions": {
782
+ "typeIdentifier": "t_uint256",
783
+ "typeString": "uint256"
784
+ }
785
+ },
786
+ "value": null,
787
+ "visibility": "internal"
788
+ }
789
+ ],
790
+ "src": "492:6:3"
791
+ },
792
+ "scope": 2426,
793
+ "src": "436:63:3",
794
+ "stateMutability": "view",
795
+ "virtual": false,
796
+ "visibility": "external"
797
+ },
798
+ {
799
+ "body": null,
800
+ "documentation": null,
801
+ "functionSelector": "dd62ed3e",
802
+ "id": 2396,
803
+ "implemented": false,
804
+ "kind": "function",
805
+ "modifiers": [],
806
+ "name": "allowance",
807
+ "nodeType": "FunctionDefinition",
808
+ "overrides": null,
809
+ "parameters": {
810
+ "id": 2392,
811
+ "nodeType": "ParameterList",
812
+ "parameters": [
813
+ {
814
+ "constant": false,
815
+ "id": 2389,
816
+ "mutability": "mutable",
817
+ "name": "owner",
818
+ "nodeType": "VariableDeclaration",
819
+ "overrides": null,
820
+ "scope": 2396,
821
+ "src": "523:13:3",
822
+ "stateVariable": false,
823
+ "storageLocation": "default",
824
+ "typeDescriptions": {
825
+ "typeIdentifier": "t_address",
826
+ "typeString": "address"
827
+ },
828
+ "typeName": {
829
+ "id": 2388,
830
+ "name": "address",
831
+ "nodeType": "ElementaryTypeName",
832
+ "src": "523:7:3",
833
+ "stateMutability": "nonpayable",
834
+ "typeDescriptions": {
835
+ "typeIdentifier": "t_address",
836
+ "typeString": "address"
837
+ }
838
+ },
839
+ "value": null,
840
+ "visibility": "internal"
841
+ },
842
+ {
843
+ "constant": false,
844
+ "id": 2391,
845
+ "mutability": "mutable",
846
+ "name": "spender",
847
+ "nodeType": "VariableDeclaration",
848
+ "overrides": null,
849
+ "scope": 2396,
850
+ "src": "538:15:3",
851
+ "stateVariable": false,
852
+ "storageLocation": "default",
853
+ "typeDescriptions": {
854
+ "typeIdentifier": "t_address",
855
+ "typeString": "address"
856
+ },
857
+ "typeName": {
858
+ "id": 2390,
859
+ "name": "address",
860
+ "nodeType": "ElementaryTypeName",
861
+ "src": "538:7:3",
862
+ "stateMutability": "nonpayable",
863
+ "typeDescriptions": {
864
+ "typeIdentifier": "t_address",
865
+ "typeString": "address"
866
+ }
867
+ },
868
+ "value": null,
869
+ "visibility": "internal"
870
+ }
871
+ ],
872
+ "src": "522:32:3"
873
+ },
874
+ "returnParameters": {
875
+ "id": 2395,
876
+ "nodeType": "ParameterList",
877
+ "parameters": [
878
+ {
879
+ "constant": false,
880
+ "id": 2394,
881
+ "mutability": "mutable",
882
+ "name": "",
883
+ "nodeType": "VariableDeclaration",
884
+ "overrides": null,
885
+ "scope": 2396,
886
+ "src": "578:4:3",
887
+ "stateVariable": false,
888
+ "storageLocation": "default",
889
+ "typeDescriptions": {
890
+ "typeIdentifier": "t_uint256",
891
+ "typeString": "uint256"
892
+ },
893
+ "typeName": {
894
+ "id": 2393,
895
+ "name": "uint",
896
+ "nodeType": "ElementaryTypeName",
897
+ "src": "578:4:3",
898
+ "typeDescriptions": {
899
+ "typeIdentifier": "t_uint256",
900
+ "typeString": "uint256"
901
+ }
902
+ },
903
+ "value": null,
904
+ "visibility": "internal"
905
+ }
906
+ ],
907
+ "src": "577:6:3"
908
+ },
909
+ "scope": 2426,
910
+ "src": "504:80:3",
911
+ "stateMutability": "view",
912
+ "virtual": false,
913
+ "visibility": "external"
914
+ },
915
+ {
916
+ "body": null,
917
+ "documentation": null,
918
+ "functionSelector": "095ea7b3",
919
+ "id": 2405,
920
+ "implemented": false,
921
+ "kind": "function",
922
+ "modifiers": [],
923
+ "name": "approve",
924
+ "nodeType": "FunctionDefinition",
925
+ "overrides": null,
926
+ "parameters": {
927
+ "id": 2401,
928
+ "nodeType": "ParameterList",
929
+ "parameters": [
930
+ {
931
+ "constant": false,
932
+ "id": 2398,
933
+ "mutability": "mutable",
934
+ "name": "spender",
935
+ "nodeType": "VariableDeclaration",
936
+ "overrides": null,
937
+ "scope": 2405,
938
+ "src": "607:15:3",
939
+ "stateVariable": false,
940
+ "storageLocation": "default",
941
+ "typeDescriptions": {
942
+ "typeIdentifier": "t_address",
943
+ "typeString": "address"
944
+ },
945
+ "typeName": {
946
+ "id": 2397,
947
+ "name": "address",
948
+ "nodeType": "ElementaryTypeName",
949
+ "src": "607:7:3",
950
+ "stateMutability": "nonpayable",
951
+ "typeDescriptions": {
952
+ "typeIdentifier": "t_address",
953
+ "typeString": "address"
954
+ }
955
+ },
956
+ "value": null,
957
+ "visibility": "internal"
958
+ },
959
+ {
960
+ "constant": false,
961
+ "id": 2400,
962
+ "mutability": "mutable",
963
+ "name": "value",
964
+ "nodeType": "VariableDeclaration",
965
+ "overrides": null,
966
+ "scope": 2405,
967
+ "src": "624:10:3",
968
+ "stateVariable": false,
969
+ "storageLocation": "default",
970
+ "typeDescriptions": {
971
+ "typeIdentifier": "t_uint256",
972
+ "typeString": "uint256"
973
+ },
974
+ "typeName": {
975
+ "id": 2399,
976
+ "name": "uint",
977
+ "nodeType": "ElementaryTypeName",
978
+ "src": "624:4:3",
979
+ "typeDescriptions": {
980
+ "typeIdentifier": "t_uint256",
981
+ "typeString": "uint256"
982
+ }
983
+ },
984
+ "value": null,
985
+ "visibility": "internal"
986
+ }
987
+ ],
988
+ "src": "606:29:3"
989
+ },
990
+ "returnParameters": {
991
+ "id": 2404,
992
+ "nodeType": "ParameterList",
993
+ "parameters": [
994
+ {
995
+ "constant": false,
996
+ "id": 2403,
997
+ "mutability": "mutable",
998
+ "name": "",
999
+ "nodeType": "VariableDeclaration",
1000
+ "overrides": null,
1001
+ "scope": 2405,
1002
+ "src": "654:4:3",
1003
+ "stateVariable": false,
1004
+ "storageLocation": "default",
1005
+ "typeDescriptions": {
1006
+ "typeIdentifier": "t_bool",
1007
+ "typeString": "bool"
1008
+ },
1009
+ "typeName": {
1010
+ "id": 2402,
1011
+ "name": "bool",
1012
+ "nodeType": "ElementaryTypeName",
1013
+ "src": "654:4:3",
1014
+ "typeDescriptions": {
1015
+ "typeIdentifier": "t_bool",
1016
+ "typeString": "bool"
1017
+ }
1018
+ },
1019
+ "value": null,
1020
+ "visibility": "internal"
1021
+ }
1022
+ ],
1023
+ "src": "653:6:3"
1024
+ },
1025
+ "scope": 2426,
1026
+ "src": "590:70:3",
1027
+ "stateMutability": "nonpayable",
1028
+ "virtual": false,
1029
+ "visibility": "external"
1030
+ },
1031
+ {
1032
+ "body": null,
1033
+ "documentation": null,
1034
+ "functionSelector": "a9059cbb",
1035
+ "id": 2414,
1036
+ "implemented": false,
1037
+ "kind": "function",
1038
+ "modifiers": [],
1039
+ "name": "transfer",
1040
+ "nodeType": "FunctionDefinition",
1041
+ "overrides": null,
1042
+ "parameters": {
1043
+ "id": 2410,
1044
+ "nodeType": "ParameterList",
1045
+ "parameters": [
1046
+ {
1047
+ "constant": false,
1048
+ "id": 2407,
1049
+ "mutability": "mutable",
1050
+ "name": "to",
1051
+ "nodeType": "VariableDeclaration",
1052
+ "overrides": null,
1053
+ "scope": 2414,
1054
+ "src": "683:10:3",
1055
+ "stateVariable": false,
1056
+ "storageLocation": "default",
1057
+ "typeDescriptions": {
1058
+ "typeIdentifier": "t_address",
1059
+ "typeString": "address"
1060
+ },
1061
+ "typeName": {
1062
+ "id": 2406,
1063
+ "name": "address",
1064
+ "nodeType": "ElementaryTypeName",
1065
+ "src": "683:7:3",
1066
+ "stateMutability": "nonpayable",
1067
+ "typeDescriptions": {
1068
+ "typeIdentifier": "t_address",
1069
+ "typeString": "address"
1070
+ }
1071
+ },
1072
+ "value": null,
1073
+ "visibility": "internal"
1074
+ },
1075
+ {
1076
+ "constant": false,
1077
+ "id": 2409,
1078
+ "mutability": "mutable",
1079
+ "name": "value",
1080
+ "nodeType": "VariableDeclaration",
1081
+ "overrides": null,
1082
+ "scope": 2414,
1083
+ "src": "695:10:3",
1084
+ "stateVariable": false,
1085
+ "storageLocation": "default",
1086
+ "typeDescriptions": {
1087
+ "typeIdentifier": "t_uint256",
1088
+ "typeString": "uint256"
1089
+ },
1090
+ "typeName": {
1091
+ "id": 2408,
1092
+ "name": "uint",
1093
+ "nodeType": "ElementaryTypeName",
1094
+ "src": "695:4:3",
1095
+ "typeDescriptions": {
1096
+ "typeIdentifier": "t_uint256",
1097
+ "typeString": "uint256"
1098
+ }
1099
+ },
1100
+ "value": null,
1101
+ "visibility": "internal"
1102
+ }
1103
+ ],
1104
+ "src": "682:24:3"
1105
+ },
1106
+ "returnParameters": {
1107
+ "id": 2413,
1108
+ "nodeType": "ParameterList",
1109
+ "parameters": [
1110
+ {
1111
+ "constant": false,
1112
+ "id": 2412,
1113
+ "mutability": "mutable",
1114
+ "name": "",
1115
+ "nodeType": "VariableDeclaration",
1116
+ "overrides": null,
1117
+ "scope": 2414,
1118
+ "src": "725:4:3",
1119
+ "stateVariable": false,
1120
+ "storageLocation": "default",
1121
+ "typeDescriptions": {
1122
+ "typeIdentifier": "t_bool",
1123
+ "typeString": "bool"
1124
+ },
1125
+ "typeName": {
1126
+ "id": 2411,
1127
+ "name": "bool",
1128
+ "nodeType": "ElementaryTypeName",
1129
+ "src": "725:4:3",
1130
+ "typeDescriptions": {
1131
+ "typeIdentifier": "t_bool",
1132
+ "typeString": "bool"
1133
+ }
1134
+ },
1135
+ "value": null,
1136
+ "visibility": "internal"
1137
+ }
1138
+ ],
1139
+ "src": "724:6:3"
1140
+ },
1141
+ "scope": 2426,
1142
+ "src": "665:66:3",
1143
+ "stateMutability": "nonpayable",
1144
+ "virtual": false,
1145
+ "visibility": "external"
1146
+ },
1147
+ {
1148
+ "body": null,
1149
+ "documentation": null,
1150
+ "functionSelector": "23b872dd",
1151
+ "id": 2425,
1152
+ "implemented": false,
1153
+ "kind": "function",
1154
+ "modifiers": [],
1155
+ "name": "transferFrom",
1156
+ "nodeType": "FunctionDefinition",
1157
+ "overrides": null,
1158
+ "parameters": {
1159
+ "id": 2421,
1160
+ "nodeType": "ParameterList",
1161
+ "parameters": [
1162
+ {
1163
+ "constant": false,
1164
+ "id": 2416,
1165
+ "mutability": "mutable",
1166
+ "name": "from",
1167
+ "nodeType": "VariableDeclaration",
1168
+ "overrides": null,
1169
+ "scope": 2425,
1170
+ "src": "758:12:3",
1171
+ "stateVariable": false,
1172
+ "storageLocation": "default",
1173
+ "typeDescriptions": {
1174
+ "typeIdentifier": "t_address",
1175
+ "typeString": "address"
1176
+ },
1177
+ "typeName": {
1178
+ "id": 2415,
1179
+ "name": "address",
1180
+ "nodeType": "ElementaryTypeName",
1181
+ "src": "758:7:3",
1182
+ "stateMutability": "nonpayable",
1183
+ "typeDescriptions": {
1184
+ "typeIdentifier": "t_address",
1185
+ "typeString": "address"
1186
+ }
1187
+ },
1188
+ "value": null,
1189
+ "visibility": "internal"
1190
+ },
1191
+ {
1192
+ "constant": false,
1193
+ "id": 2418,
1194
+ "mutability": "mutable",
1195
+ "name": "to",
1196
+ "nodeType": "VariableDeclaration",
1197
+ "overrides": null,
1198
+ "scope": 2425,
1199
+ "src": "772:10:3",
1200
+ "stateVariable": false,
1201
+ "storageLocation": "default",
1202
+ "typeDescriptions": {
1203
+ "typeIdentifier": "t_address",
1204
+ "typeString": "address"
1205
+ },
1206
+ "typeName": {
1207
+ "id": 2417,
1208
+ "name": "address",
1209
+ "nodeType": "ElementaryTypeName",
1210
+ "src": "772:7:3",
1211
+ "stateMutability": "nonpayable",
1212
+ "typeDescriptions": {
1213
+ "typeIdentifier": "t_address",
1214
+ "typeString": "address"
1215
+ }
1216
+ },
1217
+ "value": null,
1218
+ "visibility": "internal"
1219
+ },
1220
+ {
1221
+ "constant": false,
1222
+ "id": 2420,
1223
+ "mutability": "mutable",
1224
+ "name": "value",
1225
+ "nodeType": "VariableDeclaration",
1226
+ "overrides": null,
1227
+ "scope": 2425,
1228
+ "src": "784:10:3",
1229
+ "stateVariable": false,
1230
+ "storageLocation": "default",
1231
+ "typeDescriptions": {
1232
+ "typeIdentifier": "t_uint256",
1233
+ "typeString": "uint256"
1234
+ },
1235
+ "typeName": {
1236
+ "id": 2419,
1237
+ "name": "uint",
1238
+ "nodeType": "ElementaryTypeName",
1239
+ "src": "784:4:3",
1240
+ "typeDescriptions": {
1241
+ "typeIdentifier": "t_uint256",
1242
+ "typeString": "uint256"
1243
+ }
1244
+ },
1245
+ "value": null,
1246
+ "visibility": "internal"
1247
+ }
1248
+ ],
1249
+ "src": "757:38:3"
1250
+ },
1251
+ "returnParameters": {
1252
+ "id": 2424,
1253
+ "nodeType": "ParameterList",
1254
+ "parameters": [
1255
+ {
1256
+ "constant": false,
1257
+ "id": 2423,
1258
+ "mutability": "mutable",
1259
+ "name": "",
1260
+ "nodeType": "VariableDeclaration",
1261
+ "overrides": null,
1262
+ "scope": 2425,
1263
+ "src": "814:4:3",
1264
+ "stateVariable": false,
1265
+ "storageLocation": "default",
1266
+ "typeDescriptions": {
1267
+ "typeIdentifier": "t_bool",
1268
+ "typeString": "bool"
1269
+ },
1270
+ "typeName": {
1271
+ "id": 2422,
1272
+ "name": "bool",
1273
+ "nodeType": "ElementaryTypeName",
1274
+ "src": "814:4:3",
1275
+ "typeDescriptions": {
1276
+ "typeIdentifier": "t_bool",
1277
+ "typeString": "bool"
1278
+ }
1279
+ },
1280
+ "value": null,
1281
+ "visibility": "internal"
1282
+ }
1283
+ ],
1284
+ "src": "813:6:3"
1285
+ },
1286
+ "scope": 2426,
1287
+ "src": "736:84:3",
1288
+ "stateMutability": "nonpayable",
1289
+ "virtual": false,
1290
+ "visibility": "external"
1291
+ }
1292
+ ],
1293
+ "scope": 2427,
1294
+ "src": "26:796:3"
1295
+ }
1296
+ ],
1297
+ "src": "0:823:3"
1298
+ },
1299
+ "legacyAST": {
1300
+ "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/contracts/interfaces/IERC20.sol",
1301
+ "exportedSymbols": {
1302
+ "IERC20": [
1303
+ 2426
1304
+ ]
1305
+ },
1306
+ "id": 2427,
1307
+ "nodeType": "SourceUnit",
1308
+ "nodes": [
1309
+ {
1310
+ "id": 2344,
1311
+ "literals": [
1312
+ "solidity",
1313
+ ">=",
1314
+ "0.5",
1315
+ ".0"
1316
+ ],
1317
+ "nodeType": "PragmaDirective",
1318
+ "src": "0:24:3"
1319
+ },
1320
+ {
1321
+ "abstract": false,
1322
+ "baseContracts": [],
1323
+ "contractDependencies": [],
1324
+ "contractKind": "interface",
1325
+ "documentation": null,
1326
+ "fullyImplemented": false,
1327
+ "id": 2426,
1328
+ "linearizedBaseContracts": [
1329
+ 2426
1330
+ ],
1331
+ "name": "IERC20",
1332
+ "nodeType": "ContractDefinition",
1333
+ "nodes": [
1334
+ {
1335
+ "anonymous": false,
1336
+ "documentation": null,
1337
+ "id": 2352,
1338
+ "name": "Approval",
1339
+ "nodeType": "EventDefinition",
1340
+ "parameters": {
1341
+ "id": 2351,
1342
+ "nodeType": "ParameterList",
1343
+ "parameters": [
1344
+ {
1345
+ "constant": false,
1346
+ "id": 2346,
1347
+ "indexed": true,
1348
+ "mutability": "mutable",
1349
+ "name": "owner",
1350
+ "nodeType": "VariableDeclaration",
1351
+ "overrides": null,
1352
+ "scope": 2352,
1353
+ "src": "64:21:3",
1354
+ "stateVariable": false,
1355
+ "storageLocation": "default",
1356
+ "typeDescriptions": {
1357
+ "typeIdentifier": "t_address",
1358
+ "typeString": "address"
1359
+ },
1360
+ "typeName": {
1361
+ "id": 2345,
1362
+ "name": "address",
1363
+ "nodeType": "ElementaryTypeName",
1364
+ "src": "64:7:3",
1365
+ "stateMutability": "nonpayable",
1366
+ "typeDescriptions": {
1367
+ "typeIdentifier": "t_address",
1368
+ "typeString": "address"
1369
+ }
1370
+ },
1371
+ "value": null,
1372
+ "visibility": "internal"
1373
+ },
1374
+ {
1375
+ "constant": false,
1376
+ "id": 2348,
1377
+ "indexed": true,
1378
+ "mutability": "mutable",
1379
+ "name": "spender",
1380
+ "nodeType": "VariableDeclaration",
1381
+ "overrides": null,
1382
+ "scope": 2352,
1383
+ "src": "87:23:3",
1384
+ "stateVariable": false,
1385
+ "storageLocation": "default",
1386
+ "typeDescriptions": {
1387
+ "typeIdentifier": "t_address",
1388
+ "typeString": "address"
1389
+ },
1390
+ "typeName": {
1391
+ "id": 2347,
1392
+ "name": "address",
1393
+ "nodeType": "ElementaryTypeName",
1394
+ "src": "87:7:3",
1395
+ "stateMutability": "nonpayable",
1396
+ "typeDescriptions": {
1397
+ "typeIdentifier": "t_address",
1398
+ "typeString": "address"
1399
+ }
1400
+ },
1401
+ "value": null,
1402
+ "visibility": "internal"
1403
+ },
1404
+ {
1405
+ "constant": false,
1406
+ "id": 2350,
1407
+ "indexed": false,
1408
+ "mutability": "mutable",
1409
+ "name": "value",
1410
+ "nodeType": "VariableDeclaration",
1411
+ "overrides": null,
1412
+ "scope": 2352,
1413
+ "src": "112:10:3",
1414
+ "stateVariable": false,
1415
+ "storageLocation": "default",
1416
+ "typeDescriptions": {
1417
+ "typeIdentifier": "t_uint256",
1418
+ "typeString": "uint256"
1419
+ },
1420
+ "typeName": {
1421
+ "id": 2349,
1422
+ "name": "uint",
1423
+ "nodeType": "ElementaryTypeName",
1424
+ "src": "112:4:3",
1425
+ "typeDescriptions": {
1426
+ "typeIdentifier": "t_uint256",
1427
+ "typeString": "uint256"
1428
+ }
1429
+ },
1430
+ "value": null,
1431
+ "visibility": "internal"
1432
+ }
1433
+ ],
1434
+ "src": "63:60:3"
1435
+ },
1436
+ "src": "49:75:3"
1437
+ },
1438
+ {
1439
+ "anonymous": false,
1440
+ "documentation": null,
1441
+ "id": 2360,
1442
+ "name": "Transfer",
1443
+ "nodeType": "EventDefinition",
1444
+ "parameters": {
1445
+ "id": 2359,
1446
+ "nodeType": "ParameterList",
1447
+ "parameters": [
1448
+ {
1449
+ "constant": false,
1450
+ "id": 2354,
1451
+ "indexed": true,
1452
+ "mutability": "mutable",
1453
+ "name": "from",
1454
+ "nodeType": "VariableDeclaration",
1455
+ "overrides": null,
1456
+ "scope": 2360,
1457
+ "src": "144:20:3",
1458
+ "stateVariable": false,
1459
+ "storageLocation": "default",
1460
+ "typeDescriptions": {
1461
+ "typeIdentifier": "t_address",
1462
+ "typeString": "address"
1463
+ },
1464
+ "typeName": {
1465
+ "id": 2353,
1466
+ "name": "address",
1467
+ "nodeType": "ElementaryTypeName",
1468
+ "src": "144:7:3",
1469
+ "stateMutability": "nonpayable",
1470
+ "typeDescriptions": {
1471
+ "typeIdentifier": "t_address",
1472
+ "typeString": "address"
1473
+ }
1474
+ },
1475
+ "value": null,
1476
+ "visibility": "internal"
1477
+ },
1478
+ {
1479
+ "constant": false,
1480
+ "id": 2356,
1481
+ "indexed": true,
1482
+ "mutability": "mutable",
1483
+ "name": "to",
1484
+ "nodeType": "VariableDeclaration",
1485
+ "overrides": null,
1486
+ "scope": 2360,
1487
+ "src": "166:18:3",
1488
+ "stateVariable": false,
1489
+ "storageLocation": "default",
1490
+ "typeDescriptions": {
1491
+ "typeIdentifier": "t_address",
1492
+ "typeString": "address"
1493
+ },
1494
+ "typeName": {
1495
+ "id": 2355,
1496
+ "name": "address",
1497
+ "nodeType": "ElementaryTypeName",
1498
+ "src": "166:7:3",
1499
+ "stateMutability": "nonpayable",
1500
+ "typeDescriptions": {
1501
+ "typeIdentifier": "t_address",
1502
+ "typeString": "address"
1503
+ }
1504
+ },
1505
+ "value": null,
1506
+ "visibility": "internal"
1507
+ },
1508
+ {
1509
+ "constant": false,
1510
+ "id": 2358,
1511
+ "indexed": false,
1512
+ "mutability": "mutable",
1513
+ "name": "value",
1514
+ "nodeType": "VariableDeclaration",
1515
+ "overrides": null,
1516
+ "scope": 2360,
1517
+ "src": "186:10:3",
1518
+ "stateVariable": false,
1519
+ "storageLocation": "default",
1520
+ "typeDescriptions": {
1521
+ "typeIdentifier": "t_uint256",
1522
+ "typeString": "uint256"
1523
+ },
1524
+ "typeName": {
1525
+ "id": 2357,
1526
+ "name": "uint",
1527
+ "nodeType": "ElementaryTypeName",
1528
+ "src": "186:4:3",
1529
+ "typeDescriptions": {
1530
+ "typeIdentifier": "t_uint256",
1531
+ "typeString": "uint256"
1532
+ }
1533
+ },
1534
+ "value": null,
1535
+ "visibility": "internal"
1536
+ }
1537
+ ],
1538
+ "src": "143:54:3"
1539
+ },
1540
+ "src": "129:69:3"
1541
+ },
1542
+ {
1543
+ "body": null,
1544
+ "documentation": null,
1545
+ "functionSelector": "06fdde03",
1546
+ "id": 2365,
1547
+ "implemented": false,
1548
+ "kind": "function",
1549
+ "modifiers": [],
1550
+ "name": "name",
1551
+ "nodeType": "FunctionDefinition",
1552
+ "overrides": null,
1553
+ "parameters": {
1554
+ "id": 2361,
1555
+ "nodeType": "ParameterList",
1556
+ "parameters": [],
1557
+ "src": "217:2:3"
1558
+ },
1559
+ "returnParameters": {
1560
+ "id": 2364,
1561
+ "nodeType": "ParameterList",
1562
+ "parameters": [
1563
+ {
1564
+ "constant": false,
1565
+ "id": 2363,
1566
+ "mutability": "mutable",
1567
+ "name": "",
1568
+ "nodeType": "VariableDeclaration",
1569
+ "overrides": null,
1570
+ "scope": 2365,
1571
+ "src": "243:13:3",
1572
+ "stateVariable": false,
1573
+ "storageLocation": "memory",
1574
+ "typeDescriptions": {
1575
+ "typeIdentifier": "t_string_memory_ptr",
1576
+ "typeString": "string"
1577
+ },
1578
+ "typeName": {
1579
+ "id": 2362,
1580
+ "name": "string",
1581
+ "nodeType": "ElementaryTypeName",
1582
+ "src": "243:6:3",
1583
+ "typeDescriptions": {
1584
+ "typeIdentifier": "t_string_storage_ptr",
1585
+ "typeString": "string"
1586
+ }
1587
+ },
1588
+ "value": null,
1589
+ "visibility": "internal"
1590
+ }
1591
+ ],
1592
+ "src": "242:15:3"
1593
+ },
1594
+ "scope": 2426,
1595
+ "src": "204:54:3",
1596
+ "stateMutability": "view",
1597
+ "virtual": false,
1598
+ "visibility": "external"
1599
+ },
1600
+ {
1601
+ "body": null,
1602
+ "documentation": null,
1603
+ "functionSelector": "95d89b41",
1604
+ "id": 2370,
1605
+ "implemented": false,
1606
+ "kind": "function",
1607
+ "modifiers": [],
1608
+ "name": "symbol",
1609
+ "nodeType": "FunctionDefinition",
1610
+ "overrides": null,
1611
+ "parameters": {
1612
+ "id": 2366,
1613
+ "nodeType": "ParameterList",
1614
+ "parameters": [],
1615
+ "src": "278:2:3"
1616
+ },
1617
+ "returnParameters": {
1618
+ "id": 2369,
1619
+ "nodeType": "ParameterList",
1620
+ "parameters": [
1621
+ {
1622
+ "constant": false,
1623
+ "id": 2368,
1624
+ "mutability": "mutable",
1625
+ "name": "",
1626
+ "nodeType": "VariableDeclaration",
1627
+ "overrides": null,
1628
+ "scope": 2370,
1629
+ "src": "304:13:3",
1630
+ "stateVariable": false,
1631
+ "storageLocation": "memory",
1632
+ "typeDescriptions": {
1633
+ "typeIdentifier": "t_string_memory_ptr",
1634
+ "typeString": "string"
1635
+ },
1636
+ "typeName": {
1637
+ "id": 2367,
1638
+ "name": "string",
1639
+ "nodeType": "ElementaryTypeName",
1640
+ "src": "304:6:3",
1641
+ "typeDescriptions": {
1642
+ "typeIdentifier": "t_string_storage_ptr",
1643
+ "typeString": "string"
1644
+ }
1645
+ },
1646
+ "value": null,
1647
+ "visibility": "internal"
1648
+ }
1649
+ ],
1650
+ "src": "303:15:3"
1651
+ },
1652
+ "scope": 2426,
1653
+ "src": "263:56:3",
1654
+ "stateMutability": "view",
1655
+ "virtual": false,
1656
+ "visibility": "external"
1657
+ },
1658
+ {
1659
+ "body": null,
1660
+ "documentation": null,
1661
+ "functionSelector": "313ce567",
1662
+ "id": 2375,
1663
+ "implemented": false,
1664
+ "kind": "function",
1665
+ "modifiers": [],
1666
+ "name": "decimals",
1667
+ "nodeType": "FunctionDefinition",
1668
+ "overrides": null,
1669
+ "parameters": {
1670
+ "id": 2371,
1671
+ "nodeType": "ParameterList",
1672
+ "parameters": [],
1673
+ "src": "341:2:3"
1674
+ },
1675
+ "returnParameters": {
1676
+ "id": 2374,
1677
+ "nodeType": "ParameterList",
1678
+ "parameters": [
1679
+ {
1680
+ "constant": false,
1681
+ "id": 2373,
1682
+ "mutability": "mutable",
1683
+ "name": "",
1684
+ "nodeType": "VariableDeclaration",
1685
+ "overrides": null,
1686
+ "scope": 2375,
1687
+ "src": "367:5:3",
1688
+ "stateVariable": false,
1689
+ "storageLocation": "default",
1690
+ "typeDescriptions": {
1691
+ "typeIdentifier": "t_uint8",
1692
+ "typeString": "uint8"
1693
+ },
1694
+ "typeName": {
1695
+ "id": 2372,
1696
+ "name": "uint8",
1697
+ "nodeType": "ElementaryTypeName",
1698
+ "src": "367:5:3",
1699
+ "typeDescriptions": {
1700
+ "typeIdentifier": "t_uint8",
1701
+ "typeString": "uint8"
1702
+ }
1703
+ },
1704
+ "value": null,
1705
+ "visibility": "internal"
1706
+ }
1707
+ ],
1708
+ "src": "366:7:3"
1709
+ },
1710
+ "scope": 2426,
1711
+ "src": "324:50:3",
1712
+ "stateMutability": "view",
1713
+ "virtual": false,
1714
+ "visibility": "external"
1715
+ },
1716
+ {
1717
+ "body": null,
1718
+ "documentation": null,
1719
+ "functionSelector": "18160ddd",
1720
+ "id": 2380,
1721
+ "implemented": false,
1722
+ "kind": "function",
1723
+ "modifiers": [],
1724
+ "name": "totalSupply",
1725
+ "nodeType": "FunctionDefinition",
1726
+ "overrides": null,
1727
+ "parameters": {
1728
+ "id": 2376,
1729
+ "nodeType": "ParameterList",
1730
+ "parameters": [],
1731
+ "src": "399:2:3"
1732
+ },
1733
+ "returnParameters": {
1734
+ "id": 2379,
1735
+ "nodeType": "ParameterList",
1736
+ "parameters": [
1737
+ {
1738
+ "constant": false,
1739
+ "id": 2378,
1740
+ "mutability": "mutable",
1741
+ "name": "",
1742
+ "nodeType": "VariableDeclaration",
1743
+ "overrides": null,
1744
+ "scope": 2380,
1745
+ "src": "425:4:3",
1746
+ "stateVariable": false,
1747
+ "storageLocation": "default",
1748
+ "typeDescriptions": {
1749
+ "typeIdentifier": "t_uint256",
1750
+ "typeString": "uint256"
1751
+ },
1752
+ "typeName": {
1753
+ "id": 2377,
1754
+ "name": "uint",
1755
+ "nodeType": "ElementaryTypeName",
1756
+ "src": "425:4:3",
1757
+ "typeDescriptions": {
1758
+ "typeIdentifier": "t_uint256",
1759
+ "typeString": "uint256"
1760
+ }
1761
+ },
1762
+ "value": null,
1763
+ "visibility": "internal"
1764
+ }
1765
+ ],
1766
+ "src": "424:6:3"
1767
+ },
1768
+ "scope": 2426,
1769
+ "src": "379:52:3",
1770
+ "stateMutability": "view",
1771
+ "virtual": false,
1772
+ "visibility": "external"
1773
+ },
1774
+ {
1775
+ "body": null,
1776
+ "documentation": null,
1777
+ "functionSelector": "70a08231",
1778
+ "id": 2387,
1779
+ "implemented": false,
1780
+ "kind": "function",
1781
+ "modifiers": [],
1782
+ "name": "balanceOf",
1783
+ "nodeType": "FunctionDefinition",
1784
+ "overrides": null,
1785
+ "parameters": {
1786
+ "id": 2383,
1787
+ "nodeType": "ParameterList",
1788
+ "parameters": [
1789
+ {
1790
+ "constant": false,
1791
+ "id": 2382,
1792
+ "mutability": "mutable",
1793
+ "name": "owner",
1794
+ "nodeType": "VariableDeclaration",
1795
+ "overrides": null,
1796
+ "scope": 2387,
1797
+ "src": "455:13:3",
1798
+ "stateVariable": false,
1799
+ "storageLocation": "default",
1800
+ "typeDescriptions": {
1801
+ "typeIdentifier": "t_address",
1802
+ "typeString": "address"
1803
+ },
1804
+ "typeName": {
1805
+ "id": 2381,
1806
+ "name": "address",
1807
+ "nodeType": "ElementaryTypeName",
1808
+ "src": "455:7:3",
1809
+ "stateMutability": "nonpayable",
1810
+ "typeDescriptions": {
1811
+ "typeIdentifier": "t_address",
1812
+ "typeString": "address"
1813
+ }
1814
+ },
1815
+ "value": null,
1816
+ "visibility": "internal"
1817
+ }
1818
+ ],
1819
+ "src": "454:15:3"
1820
+ },
1821
+ "returnParameters": {
1822
+ "id": 2386,
1823
+ "nodeType": "ParameterList",
1824
+ "parameters": [
1825
+ {
1826
+ "constant": false,
1827
+ "id": 2385,
1828
+ "mutability": "mutable",
1829
+ "name": "",
1830
+ "nodeType": "VariableDeclaration",
1831
+ "overrides": null,
1832
+ "scope": 2387,
1833
+ "src": "493:4:3",
1834
+ "stateVariable": false,
1835
+ "storageLocation": "default",
1836
+ "typeDescriptions": {
1837
+ "typeIdentifier": "t_uint256",
1838
+ "typeString": "uint256"
1839
+ },
1840
+ "typeName": {
1841
+ "id": 2384,
1842
+ "name": "uint",
1843
+ "nodeType": "ElementaryTypeName",
1844
+ "src": "493:4:3",
1845
+ "typeDescriptions": {
1846
+ "typeIdentifier": "t_uint256",
1847
+ "typeString": "uint256"
1848
+ }
1849
+ },
1850
+ "value": null,
1851
+ "visibility": "internal"
1852
+ }
1853
+ ],
1854
+ "src": "492:6:3"
1855
+ },
1856
+ "scope": 2426,
1857
+ "src": "436:63:3",
1858
+ "stateMutability": "view",
1859
+ "virtual": false,
1860
+ "visibility": "external"
1861
+ },
1862
+ {
1863
+ "body": null,
1864
+ "documentation": null,
1865
+ "functionSelector": "dd62ed3e",
1866
+ "id": 2396,
1867
+ "implemented": false,
1868
+ "kind": "function",
1869
+ "modifiers": [],
1870
+ "name": "allowance",
1871
+ "nodeType": "FunctionDefinition",
1872
+ "overrides": null,
1873
+ "parameters": {
1874
+ "id": 2392,
1875
+ "nodeType": "ParameterList",
1876
+ "parameters": [
1877
+ {
1878
+ "constant": false,
1879
+ "id": 2389,
1880
+ "mutability": "mutable",
1881
+ "name": "owner",
1882
+ "nodeType": "VariableDeclaration",
1883
+ "overrides": null,
1884
+ "scope": 2396,
1885
+ "src": "523:13:3",
1886
+ "stateVariable": false,
1887
+ "storageLocation": "default",
1888
+ "typeDescriptions": {
1889
+ "typeIdentifier": "t_address",
1890
+ "typeString": "address"
1891
+ },
1892
+ "typeName": {
1893
+ "id": 2388,
1894
+ "name": "address",
1895
+ "nodeType": "ElementaryTypeName",
1896
+ "src": "523:7:3",
1897
+ "stateMutability": "nonpayable",
1898
+ "typeDescriptions": {
1899
+ "typeIdentifier": "t_address",
1900
+ "typeString": "address"
1901
+ }
1902
+ },
1903
+ "value": null,
1904
+ "visibility": "internal"
1905
+ },
1906
+ {
1907
+ "constant": false,
1908
+ "id": 2391,
1909
+ "mutability": "mutable",
1910
+ "name": "spender",
1911
+ "nodeType": "VariableDeclaration",
1912
+ "overrides": null,
1913
+ "scope": 2396,
1914
+ "src": "538:15:3",
1915
+ "stateVariable": false,
1916
+ "storageLocation": "default",
1917
+ "typeDescriptions": {
1918
+ "typeIdentifier": "t_address",
1919
+ "typeString": "address"
1920
+ },
1921
+ "typeName": {
1922
+ "id": 2390,
1923
+ "name": "address",
1924
+ "nodeType": "ElementaryTypeName",
1925
+ "src": "538:7:3",
1926
+ "stateMutability": "nonpayable",
1927
+ "typeDescriptions": {
1928
+ "typeIdentifier": "t_address",
1929
+ "typeString": "address"
1930
+ }
1931
+ },
1932
+ "value": null,
1933
+ "visibility": "internal"
1934
+ }
1935
+ ],
1936
+ "src": "522:32:3"
1937
+ },
1938
+ "returnParameters": {
1939
+ "id": 2395,
1940
+ "nodeType": "ParameterList",
1941
+ "parameters": [
1942
+ {
1943
+ "constant": false,
1944
+ "id": 2394,
1945
+ "mutability": "mutable",
1946
+ "name": "",
1947
+ "nodeType": "VariableDeclaration",
1948
+ "overrides": null,
1949
+ "scope": 2396,
1950
+ "src": "578:4:3",
1951
+ "stateVariable": false,
1952
+ "storageLocation": "default",
1953
+ "typeDescriptions": {
1954
+ "typeIdentifier": "t_uint256",
1955
+ "typeString": "uint256"
1956
+ },
1957
+ "typeName": {
1958
+ "id": 2393,
1959
+ "name": "uint",
1960
+ "nodeType": "ElementaryTypeName",
1961
+ "src": "578:4:3",
1962
+ "typeDescriptions": {
1963
+ "typeIdentifier": "t_uint256",
1964
+ "typeString": "uint256"
1965
+ }
1966
+ },
1967
+ "value": null,
1968
+ "visibility": "internal"
1969
+ }
1970
+ ],
1971
+ "src": "577:6:3"
1972
+ },
1973
+ "scope": 2426,
1974
+ "src": "504:80:3",
1975
+ "stateMutability": "view",
1976
+ "virtual": false,
1977
+ "visibility": "external"
1978
+ },
1979
+ {
1980
+ "body": null,
1981
+ "documentation": null,
1982
+ "functionSelector": "095ea7b3",
1983
+ "id": 2405,
1984
+ "implemented": false,
1985
+ "kind": "function",
1986
+ "modifiers": [],
1987
+ "name": "approve",
1988
+ "nodeType": "FunctionDefinition",
1989
+ "overrides": null,
1990
+ "parameters": {
1991
+ "id": 2401,
1992
+ "nodeType": "ParameterList",
1993
+ "parameters": [
1994
+ {
1995
+ "constant": false,
1996
+ "id": 2398,
1997
+ "mutability": "mutable",
1998
+ "name": "spender",
1999
+ "nodeType": "VariableDeclaration",
2000
+ "overrides": null,
2001
+ "scope": 2405,
2002
+ "src": "607:15:3",
2003
+ "stateVariable": false,
2004
+ "storageLocation": "default",
2005
+ "typeDescriptions": {
2006
+ "typeIdentifier": "t_address",
2007
+ "typeString": "address"
2008
+ },
2009
+ "typeName": {
2010
+ "id": 2397,
2011
+ "name": "address",
2012
+ "nodeType": "ElementaryTypeName",
2013
+ "src": "607:7:3",
2014
+ "stateMutability": "nonpayable",
2015
+ "typeDescriptions": {
2016
+ "typeIdentifier": "t_address",
2017
+ "typeString": "address"
2018
+ }
2019
+ },
2020
+ "value": null,
2021
+ "visibility": "internal"
2022
+ },
2023
+ {
2024
+ "constant": false,
2025
+ "id": 2400,
2026
+ "mutability": "mutable",
2027
+ "name": "value",
2028
+ "nodeType": "VariableDeclaration",
2029
+ "overrides": null,
2030
+ "scope": 2405,
2031
+ "src": "624:10:3",
2032
+ "stateVariable": false,
2033
+ "storageLocation": "default",
2034
+ "typeDescriptions": {
2035
+ "typeIdentifier": "t_uint256",
2036
+ "typeString": "uint256"
2037
+ },
2038
+ "typeName": {
2039
+ "id": 2399,
2040
+ "name": "uint",
2041
+ "nodeType": "ElementaryTypeName",
2042
+ "src": "624:4:3",
2043
+ "typeDescriptions": {
2044
+ "typeIdentifier": "t_uint256",
2045
+ "typeString": "uint256"
2046
+ }
2047
+ },
2048
+ "value": null,
2049
+ "visibility": "internal"
2050
+ }
2051
+ ],
2052
+ "src": "606:29:3"
2053
+ },
2054
+ "returnParameters": {
2055
+ "id": 2404,
2056
+ "nodeType": "ParameterList",
2057
+ "parameters": [
2058
+ {
2059
+ "constant": false,
2060
+ "id": 2403,
2061
+ "mutability": "mutable",
2062
+ "name": "",
2063
+ "nodeType": "VariableDeclaration",
2064
+ "overrides": null,
2065
+ "scope": 2405,
2066
+ "src": "654:4:3",
2067
+ "stateVariable": false,
2068
+ "storageLocation": "default",
2069
+ "typeDescriptions": {
2070
+ "typeIdentifier": "t_bool",
2071
+ "typeString": "bool"
2072
+ },
2073
+ "typeName": {
2074
+ "id": 2402,
2075
+ "name": "bool",
2076
+ "nodeType": "ElementaryTypeName",
2077
+ "src": "654:4:3",
2078
+ "typeDescriptions": {
2079
+ "typeIdentifier": "t_bool",
2080
+ "typeString": "bool"
2081
+ }
2082
+ },
2083
+ "value": null,
2084
+ "visibility": "internal"
2085
+ }
2086
+ ],
2087
+ "src": "653:6:3"
2088
+ },
2089
+ "scope": 2426,
2090
+ "src": "590:70:3",
2091
+ "stateMutability": "nonpayable",
2092
+ "virtual": false,
2093
+ "visibility": "external"
2094
+ },
2095
+ {
2096
+ "body": null,
2097
+ "documentation": null,
2098
+ "functionSelector": "a9059cbb",
2099
+ "id": 2414,
2100
+ "implemented": false,
2101
+ "kind": "function",
2102
+ "modifiers": [],
2103
+ "name": "transfer",
2104
+ "nodeType": "FunctionDefinition",
2105
+ "overrides": null,
2106
+ "parameters": {
2107
+ "id": 2410,
2108
+ "nodeType": "ParameterList",
2109
+ "parameters": [
2110
+ {
2111
+ "constant": false,
2112
+ "id": 2407,
2113
+ "mutability": "mutable",
2114
+ "name": "to",
2115
+ "nodeType": "VariableDeclaration",
2116
+ "overrides": null,
2117
+ "scope": 2414,
2118
+ "src": "683:10:3",
2119
+ "stateVariable": false,
2120
+ "storageLocation": "default",
2121
+ "typeDescriptions": {
2122
+ "typeIdentifier": "t_address",
2123
+ "typeString": "address"
2124
+ },
2125
+ "typeName": {
2126
+ "id": 2406,
2127
+ "name": "address",
2128
+ "nodeType": "ElementaryTypeName",
2129
+ "src": "683:7:3",
2130
+ "stateMutability": "nonpayable",
2131
+ "typeDescriptions": {
2132
+ "typeIdentifier": "t_address",
2133
+ "typeString": "address"
2134
+ }
2135
+ },
2136
+ "value": null,
2137
+ "visibility": "internal"
2138
+ },
2139
+ {
2140
+ "constant": false,
2141
+ "id": 2409,
2142
+ "mutability": "mutable",
2143
+ "name": "value",
2144
+ "nodeType": "VariableDeclaration",
2145
+ "overrides": null,
2146
+ "scope": 2414,
2147
+ "src": "695:10:3",
2148
+ "stateVariable": false,
2149
+ "storageLocation": "default",
2150
+ "typeDescriptions": {
2151
+ "typeIdentifier": "t_uint256",
2152
+ "typeString": "uint256"
2153
+ },
2154
+ "typeName": {
2155
+ "id": 2408,
2156
+ "name": "uint",
2157
+ "nodeType": "ElementaryTypeName",
2158
+ "src": "695:4:3",
2159
+ "typeDescriptions": {
2160
+ "typeIdentifier": "t_uint256",
2161
+ "typeString": "uint256"
2162
+ }
2163
+ },
2164
+ "value": null,
2165
+ "visibility": "internal"
2166
+ }
2167
+ ],
2168
+ "src": "682:24:3"
2169
+ },
2170
+ "returnParameters": {
2171
+ "id": 2413,
2172
+ "nodeType": "ParameterList",
2173
+ "parameters": [
2174
+ {
2175
+ "constant": false,
2176
+ "id": 2412,
2177
+ "mutability": "mutable",
2178
+ "name": "",
2179
+ "nodeType": "VariableDeclaration",
2180
+ "overrides": null,
2181
+ "scope": 2414,
2182
+ "src": "725:4:3",
2183
+ "stateVariable": false,
2184
+ "storageLocation": "default",
2185
+ "typeDescriptions": {
2186
+ "typeIdentifier": "t_bool",
2187
+ "typeString": "bool"
2188
+ },
2189
+ "typeName": {
2190
+ "id": 2411,
2191
+ "name": "bool",
2192
+ "nodeType": "ElementaryTypeName",
2193
+ "src": "725:4:3",
2194
+ "typeDescriptions": {
2195
+ "typeIdentifier": "t_bool",
2196
+ "typeString": "bool"
2197
+ }
2198
+ },
2199
+ "value": null,
2200
+ "visibility": "internal"
2201
+ }
2202
+ ],
2203
+ "src": "724:6:3"
2204
+ },
2205
+ "scope": 2426,
2206
+ "src": "665:66:3",
2207
+ "stateMutability": "nonpayable",
2208
+ "virtual": false,
2209
+ "visibility": "external"
2210
+ },
2211
+ {
2212
+ "body": null,
2213
+ "documentation": null,
2214
+ "functionSelector": "23b872dd",
2215
+ "id": 2425,
2216
+ "implemented": false,
2217
+ "kind": "function",
2218
+ "modifiers": [],
2219
+ "name": "transferFrom",
2220
+ "nodeType": "FunctionDefinition",
2221
+ "overrides": null,
2222
+ "parameters": {
2223
+ "id": 2421,
2224
+ "nodeType": "ParameterList",
2225
+ "parameters": [
2226
+ {
2227
+ "constant": false,
2228
+ "id": 2416,
2229
+ "mutability": "mutable",
2230
+ "name": "from",
2231
+ "nodeType": "VariableDeclaration",
2232
+ "overrides": null,
2233
+ "scope": 2425,
2234
+ "src": "758:12:3",
2235
+ "stateVariable": false,
2236
+ "storageLocation": "default",
2237
+ "typeDescriptions": {
2238
+ "typeIdentifier": "t_address",
2239
+ "typeString": "address"
2240
+ },
2241
+ "typeName": {
2242
+ "id": 2415,
2243
+ "name": "address",
2244
+ "nodeType": "ElementaryTypeName",
2245
+ "src": "758:7:3",
2246
+ "stateMutability": "nonpayable",
2247
+ "typeDescriptions": {
2248
+ "typeIdentifier": "t_address",
2249
+ "typeString": "address"
2250
+ }
2251
+ },
2252
+ "value": null,
2253
+ "visibility": "internal"
2254
+ },
2255
+ {
2256
+ "constant": false,
2257
+ "id": 2418,
2258
+ "mutability": "mutable",
2259
+ "name": "to",
2260
+ "nodeType": "VariableDeclaration",
2261
+ "overrides": null,
2262
+ "scope": 2425,
2263
+ "src": "772:10:3",
2264
+ "stateVariable": false,
2265
+ "storageLocation": "default",
2266
+ "typeDescriptions": {
2267
+ "typeIdentifier": "t_address",
2268
+ "typeString": "address"
2269
+ },
2270
+ "typeName": {
2271
+ "id": 2417,
2272
+ "name": "address",
2273
+ "nodeType": "ElementaryTypeName",
2274
+ "src": "772:7:3",
2275
+ "stateMutability": "nonpayable",
2276
+ "typeDescriptions": {
2277
+ "typeIdentifier": "t_address",
2278
+ "typeString": "address"
2279
+ }
2280
+ },
2281
+ "value": null,
2282
+ "visibility": "internal"
2283
+ },
2284
+ {
2285
+ "constant": false,
2286
+ "id": 2420,
2287
+ "mutability": "mutable",
2288
+ "name": "value",
2289
+ "nodeType": "VariableDeclaration",
2290
+ "overrides": null,
2291
+ "scope": 2425,
2292
+ "src": "784:10:3",
2293
+ "stateVariable": false,
2294
+ "storageLocation": "default",
2295
+ "typeDescriptions": {
2296
+ "typeIdentifier": "t_uint256",
2297
+ "typeString": "uint256"
2298
+ },
2299
+ "typeName": {
2300
+ "id": 2419,
2301
+ "name": "uint",
2302
+ "nodeType": "ElementaryTypeName",
2303
+ "src": "784:4:3",
2304
+ "typeDescriptions": {
2305
+ "typeIdentifier": "t_uint256",
2306
+ "typeString": "uint256"
2307
+ }
2308
+ },
2309
+ "value": null,
2310
+ "visibility": "internal"
2311
+ }
2312
+ ],
2313
+ "src": "757:38:3"
2314
+ },
2315
+ "returnParameters": {
2316
+ "id": 2424,
2317
+ "nodeType": "ParameterList",
2318
+ "parameters": [
2319
+ {
2320
+ "constant": false,
2321
+ "id": 2423,
2322
+ "mutability": "mutable",
2323
+ "name": "",
2324
+ "nodeType": "VariableDeclaration",
2325
+ "overrides": null,
2326
+ "scope": 2425,
2327
+ "src": "814:4:3",
2328
+ "stateVariable": false,
2329
+ "storageLocation": "default",
2330
+ "typeDescriptions": {
2331
+ "typeIdentifier": "t_bool",
2332
+ "typeString": "bool"
2333
+ },
2334
+ "typeName": {
2335
+ "id": 2422,
2336
+ "name": "bool",
2337
+ "nodeType": "ElementaryTypeName",
2338
+ "src": "814:4:3",
2339
+ "typeDescriptions": {
2340
+ "typeIdentifier": "t_bool",
2341
+ "typeString": "bool"
2342
+ }
2343
+ },
2344
+ "value": null,
2345
+ "visibility": "internal"
2346
+ }
2347
+ ],
2348
+ "src": "813:6:3"
2349
+ },
2350
+ "scope": 2426,
2351
+ "src": "736:84:3",
2352
+ "stateMutability": "nonpayable",
2353
+ "virtual": false,
2354
+ "visibility": "external"
2355
+ }
2356
+ ],
2357
+ "scope": 2427,
2358
+ "src": "26:796:3"
2359
+ }
2360
+ ],
2361
+ "src": "0:823:3"
2362
+ },
2363
+ "compiler": {
2364
+ "name": "solc",
2365
+ "version": "0.6.6+commit.6c089d02.Emscripten.clang"
2366
+ },
2367
+ "networks": {},
2368
+ "schemaVersion": "3.3.2",
2369
+ "updatedAt": "2021-01-09T21:16:28.578Z",
2370
+ "devdoc": {
2371
+ "methods": {}
2372
+ },
2373
+ "userdoc": {
2374
+ "methods": {}
2375
+ }
2376
+ }