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
@@ -0,0 +1,3515 @@
1
+ {
2
+ "contractName": "IERC721",
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": "approved",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "indexed": true,
21
+ "internalType": "uint256",
22
+ "name": "tokenId",
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": "owner",
36
+ "type": "address"
37
+ },
38
+ {
39
+ "indexed": true,
40
+ "internalType": "address",
41
+ "name": "operator",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "indexed": false,
46
+ "internalType": "bool",
47
+ "name": "approved",
48
+ "type": "bool"
49
+ }
50
+ ],
51
+ "name": "ApprovalForAll",
52
+ "type": "event"
53
+ },
54
+ {
55
+ "anonymous": false,
56
+ "inputs": [
57
+ {
58
+ "indexed": true,
59
+ "internalType": "address",
60
+ "name": "from",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "indexed": true,
65
+ "internalType": "address",
66
+ "name": "to",
67
+ "type": "address"
68
+ },
69
+ {
70
+ "indexed": true,
71
+ "internalType": "uint256",
72
+ "name": "tokenId",
73
+ "type": "uint256"
74
+ }
75
+ ],
76
+ "name": "Transfer",
77
+ "type": "event"
78
+ },
79
+ {
80
+ "constant": true,
81
+ "inputs": [],
82
+ "name": "name",
83
+ "outputs": [
84
+ {
85
+ "internalType": "string",
86
+ "name": "",
87
+ "type": "string"
88
+ }
89
+ ],
90
+ "payable": false,
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "constant": true,
96
+ "inputs": [],
97
+ "name": "symbol",
98
+ "outputs": [
99
+ {
100
+ "internalType": "string",
101
+ "name": "",
102
+ "type": "string"
103
+ }
104
+ ],
105
+ "payable": false,
106
+ "stateMutability": "view",
107
+ "type": "function"
108
+ },
109
+ {
110
+ "constant": true,
111
+ "inputs": [
112
+ {
113
+ "internalType": "address",
114
+ "name": "owner",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "name": "balanceOf",
119
+ "outputs": [
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "balance",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "payable": false,
127
+ "stateMutability": "view",
128
+ "type": "function"
129
+ },
130
+ {
131
+ "constant": true,
132
+ "inputs": [
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "tokenId",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "name": "ownerOf",
140
+ "outputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "owner",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "payable": false,
148
+ "stateMutability": "view",
149
+ "type": "function"
150
+ },
151
+ {
152
+ "constant": true,
153
+ "inputs": [
154
+ {
155
+ "internalType": "uint256",
156
+ "name": "tokenId",
157
+ "type": "uint256"
158
+ }
159
+ ],
160
+ "name": "getApproved",
161
+ "outputs": [
162
+ {
163
+ "internalType": "address",
164
+ "name": "operator",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "payable": false,
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "constant": true,
174
+ "inputs": [
175
+ {
176
+ "internalType": "address",
177
+ "name": "owner",
178
+ "type": "address"
179
+ },
180
+ {
181
+ "internalType": "address",
182
+ "name": "operator",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "isApprovedForAll",
187
+ "outputs": [
188
+ {
189
+ "internalType": "bool",
190
+ "name": "",
191
+ "type": "bool"
192
+ }
193
+ ],
194
+ "payable": false,
195
+ "stateMutability": "view",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "constant": false,
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "from",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "address",
208
+ "name": "to",
209
+ "type": "address"
210
+ },
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "tokenId",
214
+ "type": "uint256"
215
+ }
216
+ ],
217
+ "name": "safeTransferFrom",
218
+ "outputs": [],
219
+ "payable": false,
220
+ "stateMutability": "nonpayable",
221
+ "type": "function"
222
+ },
223
+ {
224
+ "constant": false,
225
+ "inputs": [
226
+ {
227
+ "internalType": "address",
228
+ "name": "from",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "internalType": "address",
233
+ "name": "to",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "tokenId",
239
+ "type": "uint256"
240
+ },
241
+ {
242
+ "internalType": "bytes",
243
+ "name": "data",
244
+ "type": "bytes"
245
+ }
246
+ ],
247
+ "name": "safeTransferFrom",
248
+ "outputs": [],
249
+ "payable": false,
250
+ "stateMutability": "nonpayable",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "constant": false,
255
+ "inputs": [
256
+ {
257
+ "internalType": "address",
258
+ "name": "from",
259
+ "type": "address"
260
+ },
261
+ {
262
+ "internalType": "address",
263
+ "name": "to",
264
+ "type": "address"
265
+ },
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "tokenId",
269
+ "type": "uint256"
270
+ }
271
+ ],
272
+ "name": "transferFrom",
273
+ "outputs": [],
274
+ "payable": false,
275
+ "stateMutability": "nonpayable",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "constant": false,
280
+ "inputs": [
281
+ {
282
+ "internalType": "address",
283
+ "name": "to",
284
+ "type": "address"
285
+ },
286
+ {
287
+ "internalType": "uint256",
288
+ "name": "tokenId",
289
+ "type": "uint256"
290
+ }
291
+ ],
292
+ "name": "approve",
293
+ "outputs": [],
294
+ "payable": false,
295
+ "stateMutability": "nonpayable",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "constant": false,
300
+ "inputs": [
301
+ {
302
+ "internalType": "address",
303
+ "name": "operator",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "internalType": "bool",
308
+ "name": "approved",
309
+ "type": "bool"
310
+ }
311
+ ],
312
+ "name": "setApprovalForAll",
313
+ "outputs": [],
314
+ "payable": false,
315
+ "stateMutability": "nonpayable",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "constant": false,
320
+ "inputs": [
321
+ {
322
+ "internalType": "address",
323
+ "name": "spender",
324
+ "type": "address"
325
+ },
326
+ {
327
+ "internalType": "uint256",
328
+ "name": "tokenId",
329
+ "type": "uint256"
330
+ },
331
+ {
332
+ "internalType": "uint256",
333
+ "name": "deadline",
334
+ "type": "uint256"
335
+ },
336
+ {
337
+ "internalType": "uint8",
338
+ "name": "v",
339
+ "type": "uint8"
340
+ },
341
+ {
342
+ "internalType": "bytes32",
343
+ "name": "r",
344
+ "type": "bytes32"
345
+ },
346
+ {
347
+ "internalType": "bytes32",
348
+ "name": "s",
349
+ "type": "bytes32"
350
+ }
351
+ ],
352
+ "name": "permit",
353
+ "outputs": [],
354
+ "payable": false,
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ }
358
+ ],
359
+ "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IERC721.sol\":\"IERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0x2da851a52d4d8456411fb6436ec74b400959a74bd6713c302cf08b678c8819f5\",\"urls\":[\"bzz-raw://c8b385d9f2de95caf19951eef9b7a1423360c41d37d8a593f59a897a30a6e416\",\"dweb:/ipfs/QmUrm4nuLiQZ3Ky6AjhbzZtBYeXCz7NQQXUBSH8LxL3Fd3\"]}},\"version\":1}",
360
+ "bytecode": "0x",
361
+ "deployedBytecode": "0x",
362
+ "sourceMap": "",
363
+ "deployedSourceMap": "",
364
+ "source": "pragma solidity >=0.5.0;\n\ninterface IERC721 {\n\tevent Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\tevent Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\tevent ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\t\n\tfunction name() external view returns (string memory);\n\tfunction symbol() external view returns (string memory);\n\tfunction balanceOf(address owner) external view returns (uint256 balance);\n\tfunction ownerOf(uint256 tokenId) external view returns (address owner);\n\tfunction getApproved(uint256 tokenId) external view returns (address operator);\n\tfunction isApprovedForAll(address owner, address operator) external view returns (bool);\n\t\n\tfunction safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\tfunction safeTransferFrom(address from, address to, uint256 tokenId) external;\n\tfunction transferFrom(address from, address to, uint256 tokenId) external;\n\tfunction approve(address to, uint256 tokenId) external;\n\tfunction setApprovalForAll(address operator, bool approved) external;\n\tfunction permit(address spender, uint tokenId, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\n}",
365
+ "sourcePath": "C:\\Users\\Simone\\Desktop\\impermax-v3-core\\contracts\\interfaces\\IERC721.sol",
366
+ "ast": {
367
+ "absolutePath": "project:/contracts/interfaces/IERC721.sol",
368
+ "exportedSymbols": {
369
+ "IERC721": [
370
+ 10288
371
+ ]
372
+ },
373
+ "id": 10289,
374
+ "nodeType": "SourceUnit",
375
+ "nodes": [
376
+ {
377
+ "id": 10165,
378
+ "literals": [
379
+ "solidity",
380
+ ">=",
381
+ "0.5",
382
+ ".0"
383
+ ],
384
+ "nodeType": "PragmaDirective",
385
+ "src": "0:24:43"
386
+ },
387
+ {
388
+ "baseContracts": [],
389
+ "contractDependencies": [],
390
+ "contractKind": "interface",
391
+ "documentation": null,
392
+ "fullyImplemented": false,
393
+ "id": 10288,
394
+ "linearizedBaseContracts": [
395
+ 10288
396
+ ],
397
+ "name": "IERC721",
398
+ "nodeType": "ContractDefinition",
399
+ "nodes": [
400
+ {
401
+ "anonymous": false,
402
+ "documentation": null,
403
+ "id": 10173,
404
+ "name": "Transfer",
405
+ "nodeType": "EventDefinition",
406
+ "parameters": {
407
+ "id": 10172,
408
+ "nodeType": "ParameterList",
409
+ "parameters": [
410
+ {
411
+ "constant": false,
412
+ "id": 10167,
413
+ "indexed": true,
414
+ "name": "from",
415
+ "nodeType": "VariableDeclaration",
416
+ "scope": 10173,
417
+ "src": "62:20:43",
418
+ "stateVariable": false,
419
+ "storageLocation": "default",
420
+ "typeDescriptions": {
421
+ "typeIdentifier": "t_address",
422
+ "typeString": "address"
423
+ },
424
+ "typeName": {
425
+ "id": 10166,
426
+ "name": "address",
427
+ "nodeType": "ElementaryTypeName",
428
+ "src": "62:7:43",
429
+ "stateMutability": "nonpayable",
430
+ "typeDescriptions": {
431
+ "typeIdentifier": "t_address",
432
+ "typeString": "address"
433
+ }
434
+ },
435
+ "value": null,
436
+ "visibility": "internal"
437
+ },
438
+ {
439
+ "constant": false,
440
+ "id": 10169,
441
+ "indexed": true,
442
+ "name": "to",
443
+ "nodeType": "VariableDeclaration",
444
+ "scope": 10173,
445
+ "src": "84:18:43",
446
+ "stateVariable": false,
447
+ "storageLocation": "default",
448
+ "typeDescriptions": {
449
+ "typeIdentifier": "t_address",
450
+ "typeString": "address"
451
+ },
452
+ "typeName": {
453
+ "id": 10168,
454
+ "name": "address",
455
+ "nodeType": "ElementaryTypeName",
456
+ "src": "84:7:43",
457
+ "stateMutability": "nonpayable",
458
+ "typeDescriptions": {
459
+ "typeIdentifier": "t_address",
460
+ "typeString": "address"
461
+ }
462
+ },
463
+ "value": null,
464
+ "visibility": "internal"
465
+ },
466
+ {
467
+ "constant": false,
468
+ "id": 10171,
469
+ "indexed": true,
470
+ "name": "tokenId",
471
+ "nodeType": "VariableDeclaration",
472
+ "scope": 10173,
473
+ "src": "104:23:43",
474
+ "stateVariable": false,
475
+ "storageLocation": "default",
476
+ "typeDescriptions": {
477
+ "typeIdentifier": "t_uint256",
478
+ "typeString": "uint256"
479
+ },
480
+ "typeName": {
481
+ "id": 10170,
482
+ "name": "uint256",
483
+ "nodeType": "ElementaryTypeName",
484
+ "src": "104:7:43",
485
+ "typeDescriptions": {
486
+ "typeIdentifier": "t_uint256",
487
+ "typeString": "uint256"
488
+ }
489
+ },
490
+ "value": null,
491
+ "visibility": "internal"
492
+ }
493
+ ],
494
+ "src": "61:67:43"
495
+ },
496
+ "src": "47:82:43"
497
+ },
498
+ {
499
+ "anonymous": false,
500
+ "documentation": null,
501
+ "id": 10181,
502
+ "name": "Approval",
503
+ "nodeType": "EventDefinition",
504
+ "parameters": {
505
+ "id": 10180,
506
+ "nodeType": "ParameterList",
507
+ "parameters": [
508
+ {
509
+ "constant": false,
510
+ "id": 10175,
511
+ "indexed": true,
512
+ "name": "owner",
513
+ "nodeType": "VariableDeclaration",
514
+ "scope": 10181,
515
+ "src": "146:21:43",
516
+ "stateVariable": false,
517
+ "storageLocation": "default",
518
+ "typeDescriptions": {
519
+ "typeIdentifier": "t_address",
520
+ "typeString": "address"
521
+ },
522
+ "typeName": {
523
+ "id": 10174,
524
+ "name": "address",
525
+ "nodeType": "ElementaryTypeName",
526
+ "src": "146:7:43",
527
+ "stateMutability": "nonpayable",
528
+ "typeDescriptions": {
529
+ "typeIdentifier": "t_address",
530
+ "typeString": "address"
531
+ }
532
+ },
533
+ "value": null,
534
+ "visibility": "internal"
535
+ },
536
+ {
537
+ "constant": false,
538
+ "id": 10177,
539
+ "indexed": true,
540
+ "name": "approved",
541
+ "nodeType": "VariableDeclaration",
542
+ "scope": 10181,
543
+ "src": "169:24:43",
544
+ "stateVariable": false,
545
+ "storageLocation": "default",
546
+ "typeDescriptions": {
547
+ "typeIdentifier": "t_address",
548
+ "typeString": "address"
549
+ },
550
+ "typeName": {
551
+ "id": 10176,
552
+ "name": "address",
553
+ "nodeType": "ElementaryTypeName",
554
+ "src": "169:7:43",
555
+ "stateMutability": "nonpayable",
556
+ "typeDescriptions": {
557
+ "typeIdentifier": "t_address",
558
+ "typeString": "address"
559
+ }
560
+ },
561
+ "value": null,
562
+ "visibility": "internal"
563
+ },
564
+ {
565
+ "constant": false,
566
+ "id": 10179,
567
+ "indexed": true,
568
+ "name": "tokenId",
569
+ "nodeType": "VariableDeclaration",
570
+ "scope": 10181,
571
+ "src": "195:23:43",
572
+ "stateVariable": false,
573
+ "storageLocation": "default",
574
+ "typeDescriptions": {
575
+ "typeIdentifier": "t_uint256",
576
+ "typeString": "uint256"
577
+ },
578
+ "typeName": {
579
+ "id": 10178,
580
+ "name": "uint256",
581
+ "nodeType": "ElementaryTypeName",
582
+ "src": "195:7:43",
583
+ "typeDescriptions": {
584
+ "typeIdentifier": "t_uint256",
585
+ "typeString": "uint256"
586
+ }
587
+ },
588
+ "value": null,
589
+ "visibility": "internal"
590
+ }
591
+ ],
592
+ "src": "145:74:43"
593
+ },
594
+ "src": "131:89:43"
595
+ },
596
+ {
597
+ "anonymous": false,
598
+ "documentation": null,
599
+ "id": 10189,
600
+ "name": "ApprovalForAll",
601
+ "nodeType": "EventDefinition",
602
+ "parameters": {
603
+ "id": 10188,
604
+ "nodeType": "ParameterList",
605
+ "parameters": [
606
+ {
607
+ "constant": false,
608
+ "id": 10183,
609
+ "indexed": true,
610
+ "name": "owner",
611
+ "nodeType": "VariableDeclaration",
612
+ "scope": 10189,
613
+ "src": "243:21:43",
614
+ "stateVariable": false,
615
+ "storageLocation": "default",
616
+ "typeDescriptions": {
617
+ "typeIdentifier": "t_address",
618
+ "typeString": "address"
619
+ },
620
+ "typeName": {
621
+ "id": 10182,
622
+ "name": "address",
623
+ "nodeType": "ElementaryTypeName",
624
+ "src": "243:7:43",
625
+ "stateMutability": "nonpayable",
626
+ "typeDescriptions": {
627
+ "typeIdentifier": "t_address",
628
+ "typeString": "address"
629
+ }
630
+ },
631
+ "value": null,
632
+ "visibility": "internal"
633
+ },
634
+ {
635
+ "constant": false,
636
+ "id": 10185,
637
+ "indexed": true,
638
+ "name": "operator",
639
+ "nodeType": "VariableDeclaration",
640
+ "scope": 10189,
641
+ "src": "266:24:43",
642
+ "stateVariable": false,
643
+ "storageLocation": "default",
644
+ "typeDescriptions": {
645
+ "typeIdentifier": "t_address",
646
+ "typeString": "address"
647
+ },
648
+ "typeName": {
649
+ "id": 10184,
650
+ "name": "address",
651
+ "nodeType": "ElementaryTypeName",
652
+ "src": "266:7:43",
653
+ "stateMutability": "nonpayable",
654
+ "typeDescriptions": {
655
+ "typeIdentifier": "t_address",
656
+ "typeString": "address"
657
+ }
658
+ },
659
+ "value": null,
660
+ "visibility": "internal"
661
+ },
662
+ {
663
+ "constant": false,
664
+ "id": 10187,
665
+ "indexed": false,
666
+ "name": "approved",
667
+ "nodeType": "VariableDeclaration",
668
+ "scope": 10189,
669
+ "src": "292:13:43",
670
+ "stateVariable": false,
671
+ "storageLocation": "default",
672
+ "typeDescriptions": {
673
+ "typeIdentifier": "t_bool",
674
+ "typeString": "bool"
675
+ },
676
+ "typeName": {
677
+ "id": 10186,
678
+ "name": "bool",
679
+ "nodeType": "ElementaryTypeName",
680
+ "src": "292:4:43",
681
+ "typeDescriptions": {
682
+ "typeIdentifier": "t_bool",
683
+ "typeString": "bool"
684
+ }
685
+ },
686
+ "value": null,
687
+ "visibility": "internal"
688
+ }
689
+ ],
690
+ "src": "242:64:43"
691
+ },
692
+ "src": "222:85:43"
693
+ },
694
+ {
695
+ "body": null,
696
+ "documentation": null,
697
+ "id": 10194,
698
+ "implemented": false,
699
+ "kind": "function",
700
+ "modifiers": [],
701
+ "name": "name",
702
+ "nodeType": "FunctionDefinition",
703
+ "parameters": {
704
+ "id": 10190,
705
+ "nodeType": "ParameterList",
706
+ "parameters": [],
707
+ "src": "324:2:43"
708
+ },
709
+ "returnParameters": {
710
+ "id": 10193,
711
+ "nodeType": "ParameterList",
712
+ "parameters": [
713
+ {
714
+ "constant": false,
715
+ "id": 10192,
716
+ "name": "",
717
+ "nodeType": "VariableDeclaration",
718
+ "scope": 10194,
719
+ "src": "350:13:43",
720
+ "stateVariable": false,
721
+ "storageLocation": "memory",
722
+ "typeDescriptions": {
723
+ "typeIdentifier": "t_string_memory_ptr",
724
+ "typeString": "string"
725
+ },
726
+ "typeName": {
727
+ "id": 10191,
728
+ "name": "string",
729
+ "nodeType": "ElementaryTypeName",
730
+ "src": "350:6:43",
731
+ "typeDescriptions": {
732
+ "typeIdentifier": "t_string_storage_ptr",
733
+ "typeString": "string"
734
+ }
735
+ },
736
+ "value": null,
737
+ "visibility": "internal"
738
+ }
739
+ ],
740
+ "src": "349:15:43"
741
+ },
742
+ "scope": 10288,
743
+ "src": "311:54:43",
744
+ "stateMutability": "view",
745
+ "superFunction": 9771,
746
+ "visibility": "external"
747
+ },
748
+ {
749
+ "body": null,
750
+ "documentation": null,
751
+ "id": 10199,
752
+ "implemented": false,
753
+ "kind": "function",
754
+ "modifiers": [],
755
+ "name": "symbol",
756
+ "nodeType": "FunctionDefinition",
757
+ "parameters": {
758
+ "id": 10195,
759
+ "nodeType": "ParameterList",
760
+ "parameters": [],
761
+ "src": "382:2:43"
762
+ },
763
+ "returnParameters": {
764
+ "id": 10198,
765
+ "nodeType": "ParameterList",
766
+ "parameters": [
767
+ {
768
+ "constant": false,
769
+ "id": 10197,
770
+ "name": "",
771
+ "nodeType": "VariableDeclaration",
772
+ "scope": 10199,
773
+ "src": "408:13:43",
774
+ "stateVariable": false,
775
+ "storageLocation": "memory",
776
+ "typeDescriptions": {
777
+ "typeIdentifier": "t_string_memory_ptr",
778
+ "typeString": "string"
779
+ },
780
+ "typeName": {
781
+ "id": 10196,
782
+ "name": "string",
783
+ "nodeType": "ElementaryTypeName",
784
+ "src": "408:6:43",
785
+ "typeDescriptions": {
786
+ "typeIdentifier": "t_string_storage_ptr",
787
+ "typeString": "string"
788
+ }
789
+ },
790
+ "value": null,
791
+ "visibility": "internal"
792
+ }
793
+ ],
794
+ "src": "407:15:43"
795
+ },
796
+ "scope": 10288,
797
+ "src": "367:56:43",
798
+ "stateMutability": "view",
799
+ "superFunction": 9776,
800
+ "visibility": "external"
801
+ },
802
+ {
803
+ "body": null,
804
+ "documentation": null,
805
+ "id": 10206,
806
+ "implemented": false,
807
+ "kind": "function",
808
+ "modifiers": [],
809
+ "name": "balanceOf",
810
+ "nodeType": "FunctionDefinition",
811
+ "parameters": {
812
+ "id": 10202,
813
+ "nodeType": "ParameterList",
814
+ "parameters": [
815
+ {
816
+ "constant": false,
817
+ "id": 10201,
818
+ "name": "owner",
819
+ "nodeType": "VariableDeclaration",
820
+ "scope": 10206,
821
+ "src": "444:13:43",
822
+ "stateVariable": false,
823
+ "storageLocation": "default",
824
+ "typeDescriptions": {
825
+ "typeIdentifier": "t_address",
826
+ "typeString": "address"
827
+ },
828
+ "typeName": {
829
+ "id": 10200,
830
+ "name": "address",
831
+ "nodeType": "ElementaryTypeName",
832
+ "src": "444:7:43",
833
+ "stateMutability": "nonpayable",
834
+ "typeDescriptions": {
835
+ "typeIdentifier": "t_address",
836
+ "typeString": "address"
837
+ }
838
+ },
839
+ "value": null,
840
+ "visibility": "internal"
841
+ }
842
+ ],
843
+ "src": "443:15:43"
844
+ },
845
+ "returnParameters": {
846
+ "id": 10205,
847
+ "nodeType": "ParameterList",
848
+ "parameters": [
849
+ {
850
+ "constant": false,
851
+ "id": 10204,
852
+ "name": "balance",
853
+ "nodeType": "VariableDeclaration",
854
+ "scope": 10206,
855
+ "src": "482:15:43",
856
+ "stateVariable": false,
857
+ "storageLocation": "default",
858
+ "typeDescriptions": {
859
+ "typeIdentifier": "t_uint256",
860
+ "typeString": "uint256"
861
+ },
862
+ "typeName": {
863
+ "id": 10203,
864
+ "name": "uint256",
865
+ "nodeType": "ElementaryTypeName",
866
+ "src": "482:7:43",
867
+ "typeDescriptions": {
868
+ "typeIdentifier": "t_uint256",
869
+ "typeString": "uint256"
870
+ }
871
+ },
872
+ "value": null,
873
+ "visibility": "internal"
874
+ }
875
+ ],
876
+ "src": "481:17:43"
877
+ },
878
+ "scope": 10288,
879
+ "src": "425:74:43",
880
+ "stateMutability": "view",
881
+ "superFunction": 9783,
882
+ "visibility": "external"
883
+ },
884
+ {
885
+ "body": null,
886
+ "documentation": null,
887
+ "id": 10213,
888
+ "implemented": false,
889
+ "kind": "function",
890
+ "modifiers": [],
891
+ "name": "ownerOf",
892
+ "nodeType": "FunctionDefinition",
893
+ "parameters": {
894
+ "id": 10209,
895
+ "nodeType": "ParameterList",
896
+ "parameters": [
897
+ {
898
+ "constant": false,
899
+ "id": 10208,
900
+ "name": "tokenId",
901
+ "nodeType": "VariableDeclaration",
902
+ "scope": 10213,
903
+ "src": "518:15:43",
904
+ "stateVariable": false,
905
+ "storageLocation": "default",
906
+ "typeDescriptions": {
907
+ "typeIdentifier": "t_uint256",
908
+ "typeString": "uint256"
909
+ },
910
+ "typeName": {
911
+ "id": 10207,
912
+ "name": "uint256",
913
+ "nodeType": "ElementaryTypeName",
914
+ "src": "518:7:43",
915
+ "typeDescriptions": {
916
+ "typeIdentifier": "t_uint256",
917
+ "typeString": "uint256"
918
+ }
919
+ },
920
+ "value": null,
921
+ "visibility": "internal"
922
+ }
923
+ ],
924
+ "src": "517:17:43"
925
+ },
926
+ "returnParameters": {
927
+ "id": 10212,
928
+ "nodeType": "ParameterList",
929
+ "parameters": [
930
+ {
931
+ "constant": false,
932
+ "id": 10211,
933
+ "name": "owner",
934
+ "nodeType": "VariableDeclaration",
935
+ "scope": 10213,
936
+ "src": "558:13:43",
937
+ "stateVariable": false,
938
+ "storageLocation": "default",
939
+ "typeDescriptions": {
940
+ "typeIdentifier": "t_address",
941
+ "typeString": "address"
942
+ },
943
+ "typeName": {
944
+ "id": 10210,
945
+ "name": "address",
946
+ "nodeType": "ElementaryTypeName",
947
+ "src": "558:7:43",
948
+ "stateMutability": "nonpayable",
949
+ "typeDescriptions": {
950
+ "typeIdentifier": "t_address",
951
+ "typeString": "address"
952
+ }
953
+ },
954
+ "value": null,
955
+ "visibility": "internal"
956
+ }
957
+ ],
958
+ "src": "557:15:43"
959
+ },
960
+ "scope": 10288,
961
+ "src": "501:72:43",
962
+ "stateMutability": "view",
963
+ "superFunction": 9790,
964
+ "visibility": "external"
965
+ },
966
+ {
967
+ "body": null,
968
+ "documentation": null,
969
+ "id": 10220,
970
+ "implemented": false,
971
+ "kind": "function",
972
+ "modifiers": [],
973
+ "name": "getApproved",
974
+ "nodeType": "FunctionDefinition",
975
+ "parameters": {
976
+ "id": 10216,
977
+ "nodeType": "ParameterList",
978
+ "parameters": [
979
+ {
980
+ "constant": false,
981
+ "id": 10215,
982
+ "name": "tokenId",
983
+ "nodeType": "VariableDeclaration",
984
+ "scope": 10220,
985
+ "src": "596:15:43",
986
+ "stateVariable": false,
987
+ "storageLocation": "default",
988
+ "typeDescriptions": {
989
+ "typeIdentifier": "t_uint256",
990
+ "typeString": "uint256"
991
+ },
992
+ "typeName": {
993
+ "id": 10214,
994
+ "name": "uint256",
995
+ "nodeType": "ElementaryTypeName",
996
+ "src": "596:7:43",
997
+ "typeDescriptions": {
998
+ "typeIdentifier": "t_uint256",
999
+ "typeString": "uint256"
1000
+ }
1001
+ },
1002
+ "value": null,
1003
+ "visibility": "internal"
1004
+ }
1005
+ ],
1006
+ "src": "595:17:43"
1007
+ },
1008
+ "returnParameters": {
1009
+ "id": 10219,
1010
+ "nodeType": "ParameterList",
1011
+ "parameters": [
1012
+ {
1013
+ "constant": false,
1014
+ "id": 10218,
1015
+ "name": "operator",
1016
+ "nodeType": "VariableDeclaration",
1017
+ "scope": 10220,
1018
+ "src": "636:16:43",
1019
+ "stateVariable": false,
1020
+ "storageLocation": "default",
1021
+ "typeDescriptions": {
1022
+ "typeIdentifier": "t_address",
1023
+ "typeString": "address"
1024
+ },
1025
+ "typeName": {
1026
+ "id": 10217,
1027
+ "name": "address",
1028
+ "nodeType": "ElementaryTypeName",
1029
+ "src": "636:7:43",
1030
+ "stateMutability": "nonpayable",
1031
+ "typeDescriptions": {
1032
+ "typeIdentifier": "t_address",
1033
+ "typeString": "address"
1034
+ }
1035
+ },
1036
+ "value": null,
1037
+ "visibility": "internal"
1038
+ }
1039
+ ],
1040
+ "src": "635:18:43"
1041
+ },
1042
+ "scope": 10288,
1043
+ "src": "575:79:43",
1044
+ "stateMutability": "view",
1045
+ "superFunction": 9797,
1046
+ "visibility": "external"
1047
+ },
1048
+ {
1049
+ "body": null,
1050
+ "documentation": null,
1051
+ "id": 10229,
1052
+ "implemented": false,
1053
+ "kind": "function",
1054
+ "modifiers": [],
1055
+ "name": "isApprovedForAll",
1056
+ "nodeType": "FunctionDefinition",
1057
+ "parameters": {
1058
+ "id": 10225,
1059
+ "nodeType": "ParameterList",
1060
+ "parameters": [
1061
+ {
1062
+ "constant": false,
1063
+ "id": 10222,
1064
+ "name": "owner",
1065
+ "nodeType": "VariableDeclaration",
1066
+ "scope": 10229,
1067
+ "src": "682:13:43",
1068
+ "stateVariable": false,
1069
+ "storageLocation": "default",
1070
+ "typeDescriptions": {
1071
+ "typeIdentifier": "t_address",
1072
+ "typeString": "address"
1073
+ },
1074
+ "typeName": {
1075
+ "id": 10221,
1076
+ "name": "address",
1077
+ "nodeType": "ElementaryTypeName",
1078
+ "src": "682:7:43",
1079
+ "stateMutability": "nonpayable",
1080
+ "typeDescriptions": {
1081
+ "typeIdentifier": "t_address",
1082
+ "typeString": "address"
1083
+ }
1084
+ },
1085
+ "value": null,
1086
+ "visibility": "internal"
1087
+ },
1088
+ {
1089
+ "constant": false,
1090
+ "id": 10224,
1091
+ "name": "operator",
1092
+ "nodeType": "VariableDeclaration",
1093
+ "scope": 10229,
1094
+ "src": "697:16:43",
1095
+ "stateVariable": false,
1096
+ "storageLocation": "default",
1097
+ "typeDescriptions": {
1098
+ "typeIdentifier": "t_address",
1099
+ "typeString": "address"
1100
+ },
1101
+ "typeName": {
1102
+ "id": 10223,
1103
+ "name": "address",
1104
+ "nodeType": "ElementaryTypeName",
1105
+ "src": "697:7:43",
1106
+ "stateMutability": "nonpayable",
1107
+ "typeDescriptions": {
1108
+ "typeIdentifier": "t_address",
1109
+ "typeString": "address"
1110
+ }
1111
+ },
1112
+ "value": null,
1113
+ "visibility": "internal"
1114
+ }
1115
+ ],
1116
+ "src": "681:33:43"
1117
+ },
1118
+ "returnParameters": {
1119
+ "id": 10228,
1120
+ "nodeType": "ParameterList",
1121
+ "parameters": [
1122
+ {
1123
+ "constant": false,
1124
+ "id": 10227,
1125
+ "name": "",
1126
+ "nodeType": "VariableDeclaration",
1127
+ "scope": 10229,
1128
+ "src": "738:4:43",
1129
+ "stateVariable": false,
1130
+ "storageLocation": "default",
1131
+ "typeDescriptions": {
1132
+ "typeIdentifier": "t_bool",
1133
+ "typeString": "bool"
1134
+ },
1135
+ "typeName": {
1136
+ "id": 10226,
1137
+ "name": "bool",
1138
+ "nodeType": "ElementaryTypeName",
1139
+ "src": "738:4:43",
1140
+ "typeDescriptions": {
1141
+ "typeIdentifier": "t_bool",
1142
+ "typeString": "bool"
1143
+ }
1144
+ },
1145
+ "value": null,
1146
+ "visibility": "internal"
1147
+ }
1148
+ ],
1149
+ "src": "737:6:43"
1150
+ },
1151
+ "scope": 10288,
1152
+ "src": "656:88:43",
1153
+ "stateMutability": "view",
1154
+ "superFunction": 9806,
1155
+ "visibility": "external"
1156
+ },
1157
+ {
1158
+ "body": null,
1159
+ "documentation": null,
1160
+ "id": 10240,
1161
+ "implemented": false,
1162
+ "kind": "function",
1163
+ "modifiers": [],
1164
+ "name": "safeTransferFrom",
1165
+ "nodeType": "FunctionDefinition",
1166
+ "parameters": {
1167
+ "id": 10238,
1168
+ "nodeType": "ParameterList",
1169
+ "parameters": [
1170
+ {
1171
+ "constant": false,
1172
+ "id": 10231,
1173
+ "name": "from",
1174
+ "nodeType": "VariableDeclaration",
1175
+ "scope": 10240,
1176
+ "src": "774:12:43",
1177
+ "stateVariable": false,
1178
+ "storageLocation": "default",
1179
+ "typeDescriptions": {
1180
+ "typeIdentifier": "t_address",
1181
+ "typeString": "address"
1182
+ },
1183
+ "typeName": {
1184
+ "id": 10230,
1185
+ "name": "address",
1186
+ "nodeType": "ElementaryTypeName",
1187
+ "src": "774:7:43",
1188
+ "stateMutability": "nonpayable",
1189
+ "typeDescriptions": {
1190
+ "typeIdentifier": "t_address",
1191
+ "typeString": "address"
1192
+ }
1193
+ },
1194
+ "value": null,
1195
+ "visibility": "internal"
1196
+ },
1197
+ {
1198
+ "constant": false,
1199
+ "id": 10233,
1200
+ "name": "to",
1201
+ "nodeType": "VariableDeclaration",
1202
+ "scope": 10240,
1203
+ "src": "788:10:43",
1204
+ "stateVariable": false,
1205
+ "storageLocation": "default",
1206
+ "typeDescriptions": {
1207
+ "typeIdentifier": "t_address",
1208
+ "typeString": "address"
1209
+ },
1210
+ "typeName": {
1211
+ "id": 10232,
1212
+ "name": "address",
1213
+ "nodeType": "ElementaryTypeName",
1214
+ "src": "788:7:43",
1215
+ "stateMutability": "nonpayable",
1216
+ "typeDescriptions": {
1217
+ "typeIdentifier": "t_address",
1218
+ "typeString": "address"
1219
+ }
1220
+ },
1221
+ "value": null,
1222
+ "visibility": "internal"
1223
+ },
1224
+ {
1225
+ "constant": false,
1226
+ "id": 10235,
1227
+ "name": "tokenId",
1228
+ "nodeType": "VariableDeclaration",
1229
+ "scope": 10240,
1230
+ "src": "800:15:43",
1231
+ "stateVariable": false,
1232
+ "storageLocation": "default",
1233
+ "typeDescriptions": {
1234
+ "typeIdentifier": "t_uint256",
1235
+ "typeString": "uint256"
1236
+ },
1237
+ "typeName": {
1238
+ "id": 10234,
1239
+ "name": "uint256",
1240
+ "nodeType": "ElementaryTypeName",
1241
+ "src": "800:7:43",
1242
+ "typeDescriptions": {
1243
+ "typeIdentifier": "t_uint256",
1244
+ "typeString": "uint256"
1245
+ }
1246
+ },
1247
+ "value": null,
1248
+ "visibility": "internal"
1249
+ },
1250
+ {
1251
+ "constant": false,
1252
+ "id": 10237,
1253
+ "name": "data",
1254
+ "nodeType": "VariableDeclaration",
1255
+ "scope": 10240,
1256
+ "src": "817:19:43",
1257
+ "stateVariable": false,
1258
+ "storageLocation": "calldata",
1259
+ "typeDescriptions": {
1260
+ "typeIdentifier": "t_bytes_calldata_ptr",
1261
+ "typeString": "bytes"
1262
+ },
1263
+ "typeName": {
1264
+ "id": 10236,
1265
+ "name": "bytes",
1266
+ "nodeType": "ElementaryTypeName",
1267
+ "src": "817:5:43",
1268
+ "typeDescriptions": {
1269
+ "typeIdentifier": "t_bytes_storage_ptr",
1270
+ "typeString": "bytes"
1271
+ }
1272
+ },
1273
+ "value": null,
1274
+ "visibility": "internal"
1275
+ }
1276
+ ],
1277
+ "src": "773:64:43"
1278
+ },
1279
+ "returnParameters": {
1280
+ "id": 10239,
1281
+ "nodeType": "ParameterList",
1282
+ "parameters": [],
1283
+ "src": "846:0:43"
1284
+ },
1285
+ "scope": 10288,
1286
+ "src": "748:99:43",
1287
+ "stateMutability": "nonpayable",
1288
+ "superFunction": 9817,
1289
+ "visibility": "external"
1290
+ },
1291
+ {
1292
+ "body": null,
1293
+ "documentation": null,
1294
+ "id": 10249,
1295
+ "implemented": false,
1296
+ "kind": "function",
1297
+ "modifiers": [],
1298
+ "name": "safeTransferFrom",
1299
+ "nodeType": "FunctionDefinition",
1300
+ "parameters": {
1301
+ "id": 10247,
1302
+ "nodeType": "ParameterList",
1303
+ "parameters": [
1304
+ {
1305
+ "constant": false,
1306
+ "id": 10242,
1307
+ "name": "from",
1308
+ "nodeType": "VariableDeclaration",
1309
+ "scope": 10249,
1310
+ "src": "875:12:43",
1311
+ "stateVariable": false,
1312
+ "storageLocation": "default",
1313
+ "typeDescriptions": {
1314
+ "typeIdentifier": "t_address",
1315
+ "typeString": "address"
1316
+ },
1317
+ "typeName": {
1318
+ "id": 10241,
1319
+ "name": "address",
1320
+ "nodeType": "ElementaryTypeName",
1321
+ "src": "875:7:43",
1322
+ "stateMutability": "nonpayable",
1323
+ "typeDescriptions": {
1324
+ "typeIdentifier": "t_address",
1325
+ "typeString": "address"
1326
+ }
1327
+ },
1328
+ "value": null,
1329
+ "visibility": "internal"
1330
+ },
1331
+ {
1332
+ "constant": false,
1333
+ "id": 10244,
1334
+ "name": "to",
1335
+ "nodeType": "VariableDeclaration",
1336
+ "scope": 10249,
1337
+ "src": "889:10:43",
1338
+ "stateVariable": false,
1339
+ "storageLocation": "default",
1340
+ "typeDescriptions": {
1341
+ "typeIdentifier": "t_address",
1342
+ "typeString": "address"
1343
+ },
1344
+ "typeName": {
1345
+ "id": 10243,
1346
+ "name": "address",
1347
+ "nodeType": "ElementaryTypeName",
1348
+ "src": "889:7:43",
1349
+ "stateMutability": "nonpayable",
1350
+ "typeDescriptions": {
1351
+ "typeIdentifier": "t_address",
1352
+ "typeString": "address"
1353
+ }
1354
+ },
1355
+ "value": null,
1356
+ "visibility": "internal"
1357
+ },
1358
+ {
1359
+ "constant": false,
1360
+ "id": 10246,
1361
+ "name": "tokenId",
1362
+ "nodeType": "VariableDeclaration",
1363
+ "scope": 10249,
1364
+ "src": "901:15:43",
1365
+ "stateVariable": false,
1366
+ "storageLocation": "default",
1367
+ "typeDescriptions": {
1368
+ "typeIdentifier": "t_uint256",
1369
+ "typeString": "uint256"
1370
+ },
1371
+ "typeName": {
1372
+ "id": 10245,
1373
+ "name": "uint256",
1374
+ "nodeType": "ElementaryTypeName",
1375
+ "src": "901:7:43",
1376
+ "typeDescriptions": {
1377
+ "typeIdentifier": "t_uint256",
1378
+ "typeString": "uint256"
1379
+ }
1380
+ },
1381
+ "value": null,
1382
+ "visibility": "internal"
1383
+ }
1384
+ ],
1385
+ "src": "874:43:43"
1386
+ },
1387
+ "returnParameters": {
1388
+ "id": 10248,
1389
+ "nodeType": "ParameterList",
1390
+ "parameters": [],
1391
+ "src": "926:0:43"
1392
+ },
1393
+ "scope": 10288,
1394
+ "src": "849:78:43",
1395
+ "stateMutability": "nonpayable",
1396
+ "superFunction": 9826,
1397
+ "visibility": "external"
1398
+ },
1399
+ {
1400
+ "body": null,
1401
+ "documentation": null,
1402
+ "id": 10258,
1403
+ "implemented": false,
1404
+ "kind": "function",
1405
+ "modifiers": [],
1406
+ "name": "transferFrom",
1407
+ "nodeType": "FunctionDefinition",
1408
+ "parameters": {
1409
+ "id": 10256,
1410
+ "nodeType": "ParameterList",
1411
+ "parameters": [
1412
+ {
1413
+ "constant": false,
1414
+ "id": 10251,
1415
+ "name": "from",
1416
+ "nodeType": "VariableDeclaration",
1417
+ "scope": 10258,
1418
+ "src": "951:12:43",
1419
+ "stateVariable": false,
1420
+ "storageLocation": "default",
1421
+ "typeDescriptions": {
1422
+ "typeIdentifier": "t_address",
1423
+ "typeString": "address"
1424
+ },
1425
+ "typeName": {
1426
+ "id": 10250,
1427
+ "name": "address",
1428
+ "nodeType": "ElementaryTypeName",
1429
+ "src": "951:7:43",
1430
+ "stateMutability": "nonpayable",
1431
+ "typeDescriptions": {
1432
+ "typeIdentifier": "t_address",
1433
+ "typeString": "address"
1434
+ }
1435
+ },
1436
+ "value": null,
1437
+ "visibility": "internal"
1438
+ },
1439
+ {
1440
+ "constant": false,
1441
+ "id": 10253,
1442
+ "name": "to",
1443
+ "nodeType": "VariableDeclaration",
1444
+ "scope": 10258,
1445
+ "src": "965:10:43",
1446
+ "stateVariable": false,
1447
+ "storageLocation": "default",
1448
+ "typeDescriptions": {
1449
+ "typeIdentifier": "t_address",
1450
+ "typeString": "address"
1451
+ },
1452
+ "typeName": {
1453
+ "id": 10252,
1454
+ "name": "address",
1455
+ "nodeType": "ElementaryTypeName",
1456
+ "src": "965:7:43",
1457
+ "stateMutability": "nonpayable",
1458
+ "typeDescriptions": {
1459
+ "typeIdentifier": "t_address",
1460
+ "typeString": "address"
1461
+ }
1462
+ },
1463
+ "value": null,
1464
+ "visibility": "internal"
1465
+ },
1466
+ {
1467
+ "constant": false,
1468
+ "id": 10255,
1469
+ "name": "tokenId",
1470
+ "nodeType": "VariableDeclaration",
1471
+ "scope": 10258,
1472
+ "src": "977:15:43",
1473
+ "stateVariable": false,
1474
+ "storageLocation": "default",
1475
+ "typeDescriptions": {
1476
+ "typeIdentifier": "t_uint256",
1477
+ "typeString": "uint256"
1478
+ },
1479
+ "typeName": {
1480
+ "id": 10254,
1481
+ "name": "uint256",
1482
+ "nodeType": "ElementaryTypeName",
1483
+ "src": "977:7:43",
1484
+ "typeDescriptions": {
1485
+ "typeIdentifier": "t_uint256",
1486
+ "typeString": "uint256"
1487
+ }
1488
+ },
1489
+ "value": null,
1490
+ "visibility": "internal"
1491
+ }
1492
+ ],
1493
+ "src": "950:43:43"
1494
+ },
1495
+ "returnParameters": {
1496
+ "id": 10257,
1497
+ "nodeType": "ParameterList",
1498
+ "parameters": [],
1499
+ "src": "1002:0:43"
1500
+ },
1501
+ "scope": 10288,
1502
+ "src": "929:74:43",
1503
+ "stateMutability": "nonpayable",
1504
+ "superFunction": 9835,
1505
+ "visibility": "external"
1506
+ },
1507
+ {
1508
+ "body": null,
1509
+ "documentation": null,
1510
+ "id": 10265,
1511
+ "implemented": false,
1512
+ "kind": "function",
1513
+ "modifiers": [],
1514
+ "name": "approve",
1515
+ "nodeType": "FunctionDefinition",
1516
+ "parameters": {
1517
+ "id": 10263,
1518
+ "nodeType": "ParameterList",
1519
+ "parameters": [
1520
+ {
1521
+ "constant": false,
1522
+ "id": 10260,
1523
+ "name": "to",
1524
+ "nodeType": "VariableDeclaration",
1525
+ "scope": 10265,
1526
+ "src": "1022:10:43",
1527
+ "stateVariable": false,
1528
+ "storageLocation": "default",
1529
+ "typeDescriptions": {
1530
+ "typeIdentifier": "t_address",
1531
+ "typeString": "address"
1532
+ },
1533
+ "typeName": {
1534
+ "id": 10259,
1535
+ "name": "address",
1536
+ "nodeType": "ElementaryTypeName",
1537
+ "src": "1022:7:43",
1538
+ "stateMutability": "nonpayable",
1539
+ "typeDescriptions": {
1540
+ "typeIdentifier": "t_address",
1541
+ "typeString": "address"
1542
+ }
1543
+ },
1544
+ "value": null,
1545
+ "visibility": "internal"
1546
+ },
1547
+ {
1548
+ "constant": false,
1549
+ "id": 10262,
1550
+ "name": "tokenId",
1551
+ "nodeType": "VariableDeclaration",
1552
+ "scope": 10265,
1553
+ "src": "1034:15:43",
1554
+ "stateVariable": false,
1555
+ "storageLocation": "default",
1556
+ "typeDescriptions": {
1557
+ "typeIdentifier": "t_uint256",
1558
+ "typeString": "uint256"
1559
+ },
1560
+ "typeName": {
1561
+ "id": 10261,
1562
+ "name": "uint256",
1563
+ "nodeType": "ElementaryTypeName",
1564
+ "src": "1034:7:43",
1565
+ "typeDescriptions": {
1566
+ "typeIdentifier": "t_uint256",
1567
+ "typeString": "uint256"
1568
+ }
1569
+ },
1570
+ "value": null,
1571
+ "visibility": "internal"
1572
+ }
1573
+ ],
1574
+ "src": "1021:29:43"
1575
+ },
1576
+ "returnParameters": {
1577
+ "id": 10264,
1578
+ "nodeType": "ParameterList",
1579
+ "parameters": [],
1580
+ "src": "1059:0:43"
1581
+ },
1582
+ "scope": 10288,
1583
+ "src": "1005:55:43",
1584
+ "stateMutability": "nonpayable",
1585
+ "superFunction": 9842,
1586
+ "visibility": "external"
1587
+ },
1588
+ {
1589
+ "body": null,
1590
+ "documentation": null,
1591
+ "id": 10272,
1592
+ "implemented": false,
1593
+ "kind": "function",
1594
+ "modifiers": [],
1595
+ "name": "setApprovalForAll",
1596
+ "nodeType": "FunctionDefinition",
1597
+ "parameters": {
1598
+ "id": 10270,
1599
+ "nodeType": "ParameterList",
1600
+ "parameters": [
1601
+ {
1602
+ "constant": false,
1603
+ "id": 10267,
1604
+ "name": "operator",
1605
+ "nodeType": "VariableDeclaration",
1606
+ "scope": 10272,
1607
+ "src": "1089:16:43",
1608
+ "stateVariable": false,
1609
+ "storageLocation": "default",
1610
+ "typeDescriptions": {
1611
+ "typeIdentifier": "t_address",
1612
+ "typeString": "address"
1613
+ },
1614
+ "typeName": {
1615
+ "id": 10266,
1616
+ "name": "address",
1617
+ "nodeType": "ElementaryTypeName",
1618
+ "src": "1089:7:43",
1619
+ "stateMutability": "nonpayable",
1620
+ "typeDescriptions": {
1621
+ "typeIdentifier": "t_address",
1622
+ "typeString": "address"
1623
+ }
1624
+ },
1625
+ "value": null,
1626
+ "visibility": "internal"
1627
+ },
1628
+ {
1629
+ "constant": false,
1630
+ "id": 10269,
1631
+ "name": "approved",
1632
+ "nodeType": "VariableDeclaration",
1633
+ "scope": 10272,
1634
+ "src": "1107:13:43",
1635
+ "stateVariable": false,
1636
+ "storageLocation": "default",
1637
+ "typeDescriptions": {
1638
+ "typeIdentifier": "t_bool",
1639
+ "typeString": "bool"
1640
+ },
1641
+ "typeName": {
1642
+ "id": 10268,
1643
+ "name": "bool",
1644
+ "nodeType": "ElementaryTypeName",
1645
+ "src": "1107:4:43",
1646
+ "typeDescriptions": {
1647
+ "typeIdentifier": "t_bool",
1648
+ "typeString": "bool"
1649
+ }
1650
+ },
1651
+ "value": null,
1652
+ "visibility": "internal"
1653
+ }
1654
+ ],
1655
+ "src": "1088:33:43"
1656
+ },
1657
+ "returnParameters": {
1658
+ "id": 10271,
1659
+ "nodeType": "ParameterList",
1660
+ "parameters": [],
1661
+ "src": "1130:0:43"
1662
+ },
1663
+ "scope": 10288,
1664
+ "src": "1062:69:43",
1665
+ "stateMutability": "nonpayable",
1666
+ "superFunction": 9849,
1667
+ "visibility": "external"
1668
+ },
1669
+ {
1670
+ "body": null,
1671
+ "documentation": null,
1672
+ "id": 10287,
1673
+ "implemented": false,
1674
+ "kind": "function",
1675
+ "modifiers": [],
1676
+ "name": "permit",
1677
+ "nodeType": "FunctionDefinition",
1678
+ "parameters": {
1679
+ "id": 10285,
1680
+ "nodeType": "ParameterList",
1681
+ "parameters": [
1682
+ {
1683
+ "constant": false,
1684
+ "id": 10274,
1685
+ "name": "spender",
1686
+ "nodeType": "VariableDeclaration",
1687
+ "scope": 10287,
1688
+ "src": "1149:15:43",
1689
+ "stateVariable": false,
1690
+ "storageLocation": "default",
1691
+ "typeDescriptions": {
1692
+ "typeIdentifier": "t_address",
1693
+ "typeString": "address"
1694
+ },
1695
+ "typeName": {
1696
+ "id": 10273,
1697
+ "name": "address",
1698
+ "nodeType": "ElementaryTypeName",
1699
+ "src": "1149:7:43",
1700
+ "stateMutability": "nonpayable",
1701
+ "typeDescriptions": {
1702
+ "typeIdentifier": "t_address",
1703
+ "typeString": "address"
1704
+ }
1705
+ },
1706
+ "value": null,
1707
+ "visibility": "internal"
1708
+ },
1709
+ {
1710
+ "constant": false,
1711
+ "id": 10276,
1712
+ "name": "tokenId",
1713
+ "nodeType": "VariableDeclaration",
1714
+ "scope": 10287,
1715
+ "src": "1166:12:43",
1716
+ "stateVariable": false,
1717
+ "storageLocation": "default",
1718
+ "typeDescriptions": {
1719
+ "typeIdentifier": "t_uint256",
1720
+ "typeString": "uint256"
1721
+ },
1722
+ "typeName": {
1723
+ "id": 10275,
1724
+ "name": "uint",
1725
+ "nodeType": "ElementaryTypeName",
1726
+ "src": "1166:4:43",
1727
+ "typeDescriptions": {
1728
+ "typeIdentifier": "t_uint256",
1729
+ "typeString": "uint256"
1730
+ }
1731
+ },
1732
+ "value": null,
1733
+ "visibility": "internal"
1734
+ },
1735
+ {
1736
+ "constant": false,
1737
+ "id": 10278,
1738
+ "name": "deadline",
1739
+ "nodeType": "VariableDeclaration",
1740
+ "scope": 10287,
1741
+ "src": "1180:13:43",
1742
+ "stateVariable": false,
1743
+ "storageLocation": "default",
1744
+ "typeDescriptions": {
1745
+ "typeIdentifier": "t_uint256",
1746
+ "typeString": "uint256"
1747
+ },
1748
+ "typeName": {
1749
+ "id": 10277,
1750
+ "name": "uint",
1751
+ "nodeType": "ElementaryTypeName",
1752
+ "src": "1180:4:43",
1753
+ "typeDescriptions": {
1754
+ "typeIdentifier": "t_uint256",
1755
+ "typeString": "uint256"
1756
+ }
1757
+ },
1758
+ "value": null,
1759
+ "visibility": "internal"
1760
+ },
1761
+ {
1762
+ "constant": false,
1763
+ "id": 10280,
1764
+ "name": "v",
1765
+ "nodeType": "VariableDeclaration",
1766
+ "scope": 10287,
1767
+ "src": "1195:7:43",
1768
+ "stateVariable": false,
1769
+ "storageLocation": "default",
1770
+ "typeDescriptions": {
1771
+ "typeIdentifier": "t_uint8",
1772
+ "typeString": "uint8"
1773
+ },
1774
+ "typeName": {
1775
+ "id": 10279,
1776
+ "name": "uint8",
1777
+ "nodeType": "ElementaryTypeName",
1778
+ "src": "1195:5:43",
1779
+ "typeDescriptions": {
1780
+ "typeIdentifier": "t_uint8",
1781
+ "typeString": "uint8"
1782
+ }
1783
+ },
1784
+ "value": null,
1785
+ "visibility": "internal"
1786
+ },
1787
+ {
1788
+ "constant": false,
1789
+ "id": 10282,
1790
+ "name": "r",
1791
+ "nodeType": "VariableDeclaration",
1792
+ "scope": 10287,
1793
+ "src": "1204:9:43",
1794
+ "stateVariable": false,
1795
+ "storageLocation": "default",
1796
+ "typeDescriptions": {
1797
+ "typeIdentifier": "t_bytes32",
1798
+ "typeString": "bytes32"
1799
+ },
1800
+ "typeName": {
1801
+ "id": 10281,
1802
+ "name": "bytes32",
1803
+ "nodeType": "ElementaryTypeName",
1804
+ "src": "1204:7:43",
1805
+ "typeDescriptions": {
1806
+ "typeIdentifier": "t_bytes32",
1807
+ "typeString": "bytes32"
1808
+ }
1809
+ },
1810
+ "value": null,
1811
+ "visibility": "internal"
1812
+ },
1813
+ {
1814
+ "constant": false,
1815
+ "id": 10284,
1816
+ "name": "s",
1817
+ "nodeType": "VariableDeclaration",
1818
+ "scope": 10287,
1819
+ "src": "1215:9:43",
1820
+ "stateVariable": false,
1821
+ "storageLocation": "default",
1822
+ "typeDescriptions": {
1823
+ "typeIdentifier": "t_bytes32",
1824
+ "typeString": "bytes32"
1825
+ },
1826
+ "typeName": {
1827
+ "id": 10283,
1828
+ "name": "bytes32",
1829
+ "nodeType": "ElementaryTypeName",
1830
+ "src": "1215:7:43",
1831
+ "typeDescriptions": {
1832
+ "typeIdentifier": "t_bytes32",
1833
+ "typeString": "bytes32"
1834
+ }
1835
+ },
1836
+ "value": null,
1837
+ "visibility": "internal"
1838
+ }
1839
+ ],
1840
+ "src": "1148:77:43"
1841
+ },
1842
+ "returnParameters": {
1843
+ "id": 10286,
1844
+ "nodeType": "ParameterList",
1845
+ "parameters": [],
1846
+ "src": "1234:0:43"
1847
+ },
1848
+ "scope": 10288,
1849
+ "src": "1133:102:43",
1850
+ "stateMutability": "nonpayable",
1851
+ "superFunction": 9864,
1852
+ "visibility": "external"
1853
+ }
1854
+ ],
1855
+ "scope": 10289,
1856
+ "src": "26:1211:43"
1857
+ }
1858
+ ],
1859
+ "src": "0:1237:43"
1860
+ },
1861
+ "legacyAST": {
1862
+ "attributes": {
1863
+ "absolutePath": "project:/contracts/interfaces/IERC721.sol",
1864
+ "exportedSymbols": {
1865
+ "IERC721": [
1866
+ 10288
1867
+ ]
1868
+ }
1869
+ },
1870
+ "children": [
1871
+ {
1872
+ "attributes": {
1873
+ "literals": [
1874
+ "solidity",
1875
+ ">=",
1876
+ "0.5",
1877
+ ".0"
1878
+ ]
1879
+ },
1880
+ "id": 10165,
1881
+ "name": "PragmaDirective",
1882
+ "src": "0:24:43"
1883
+ },
1884
+ {
1885
+ "attributes": {
1886
+ "baseContracts": [
1887
+ null
1888
+ ],
1889
+ "contractDependencies": [
1890
+ null
1891
+ ],
1892
+ "contractKind": "interface",
1893
+ "documentation": null,
1894
+ "fullyImplemented": false,
1895
+ "linearizedBaseContracts": [
1896
+ 10288
1897
+ ],
1898
+ "name": "IERC721",
1899
+ "scope": 10289
1900
+ },
1901
+ "children": [
1902
+ {
1903
+ "attributes": {
1904
+ "anonymous": false,
1905
+ "documentation": null,
1906
+ "name": "Transfer"
1907
+ },
1908
+ "children": [
1909
+ {
1910
+ "children": [
1911
+ {
1912
+ "attributes": {
1913
+ "constant": false,
1914
+ "indexed": true,
1915
+ "name": "from",
1916
+ "scope": 10173,
1917
+ "stateVariable": false,
1918
+ "storageLocation": "default",
1919
+ "type": "address",
1920
+ "value": null,
1921
+ "visibility": "internal"
1922
+ },
1923
+ "children": [
1924
+ {
1925
+ "attributes": {
1926
+ "name": "address",
1927
+ "stateMutability": "nonpayable",
1928
+ "type": "address"
1929
+ },
1930
+ "id": 10166,
1931
+ "name": "ElementaryTypeName",
1932
+ "src": "62:7:43"
1933
+ }
1934
+ ],
1935
+ "id": 10167,
1936
+ "name": "VariableDeclaration",
1937
+ "src": "62:20:43"
1938
+ },
1939
+ {
1940
+ "attributes": {
1941
+ "constant": false,
1942
+ "indexed": true,
1943
+ "name": "to",
1944
+ "scope": 10173,
1945
+ "stateVariable": false,
1946
+ "storageLocation": "default",
1947
+ "type": "address",
1948
+ "value": null,
1949
+ "visibility": "internal"
1950
+ },
1951
+ "children": [
1952
+ {
1953
+ "attributes": {
1954
+ "name": "address",
1955
+ "stateMutability": "nonpayable",
1956
+ "type": "address"
1957
+ },
1958
+ "id": 10168,
1959
+ "name": "ElementaryTypeName",
1960
+ "src": "84:7:43"
1961
+ }
1962
+ ],
1963
+ "id": 10169,
1964
+ "name": "VariableDeclaration",
1965
+ "src": "84:18:43"
1966
+ },
1967
+ {
1968
+ "attributes": {
1969
+ "constant": false,
1970
+ "indexed": true,
1971
+ "name": "tokenId",
1972
+ "scope": 10173,
1973
+ "stateVariable": false,
1974
+ "storageLocation": "default",
1975
+ "type": "uint256",
1976
+ "value": null,
1977
+ "visibility": "internal"
1978
+ },
1979
+ "children": [
1980
+ {
1981
+ "attributes": {
1982
+ "name": "uint256",
1983
+ "type": "uint256"
1984
+ },
1985
+ "id": 10170,
1986
+ "name": "ElementaryTypeName",
1987
+ "src": "104:7:43"
1988
+ }
1989
+ ],
1990
+ "id": 10171,
1991
+ "name": "VariableDeclaration",
1992
+ "src": "104:23:43"
1993
+ }
1994
+ ],
1995
+ "id": 10172,
1996
+ "name": "ParameterList",
1997
+ "src": "61:67:43"
1998
+ }
1999
+ ],
2000
+ "id": 10173,
2001
+ "name": "EventDefinition",
2002
+ "src": "47:82:43"
2003
+ },
2004
+ {
2005
+ "attributes": {
2006
+ "anonymous": false,
2007
+ "documentation": null,
2008
+ "name": "Approval"
2009
+ },
2010
+ "children": [
2011
+ {
2012
+ "children": [
2013
+ {
2014
+ "attributes": {
2015
+ "constant": false,
2016
+ "indexed": true,
2017
+ "name": "owner",
2018
+ "scope": 10181,
2019
+ "stateVariable": false,
2020
+ "storageLocation": "default",
2021
+ "type": "address",
2022
+ "value": null,
2023
+ "visibility": "internal"
2024
+ },
2025
+ "children": [
2026
+ {
2027
+ "attributes": {
2028
+ "name": "address",
2029
+ "stateMutability": "nonpayable",
2030
+ "type": "address"
2031
+ },
2032
+ "id": 10174,
2033
+ "name": "ElementaryTypeName",
2034
+ "src": "146:7:43"
2035
+ }
2036
+ ],
2037
+ "id": 10175,
2038
+ "name": "VariableDeclaration",
2039
+ "src": "146:21:43"
2040
+ },
2041
+ {
2042
+ "attributes": {
2043
+ "constant": false,
2044
+ "indexed": true,
2045
+ "name": "approved",
2046
+ "scope": 10181,
2047
+ "stateVariable": false,
2048
+ "storageLocation": "default",
2049
+ "type": "address",
2050
+ "value": null,
2051
+ "visibility": "internal"
2052
+ },
2053
+ "children": [
2054
+ {
2055
+ "attributes": {
2056
+ "name": "address",
2057
+ "stateMutability": "nonpayable",
2058
+ "type": "address"
2059
+ },
2060
+ "id": 10176,
2061
+ "name": "ElementaryTypeName",
2062
+ "src": "169:7:43"
2063
+ }
2064
+ ],
2065
+ "id": 10177,
2066
+ "name": "VariableDeclaration",
2067
+ "src": "169:24:43"
2068
+ },
2069
+ {
2070
+ "attributes": {
2071
+ "constant": false,
2072
+ "indexed": true,
2073
+ "name": "tokenId",
2074
+ "scope": 10181,
2075
+ "stateVariable": false,
2076
+ "storageLocation": "default",
2077
+ "type": "uint256",
2078
+ "value": null,
2079
+ "visibility": "internal"
2080
+ },
2081
+ "children": [
2082
+ {
2083
+ "attributes": {
2084
+ "name": "uint256",
2085
+ "type": "uint256"
2086
+ },
2087
+ "id": 10178,
2088
+ "name": "ElementaryTypeName",
2089
+ "src": "195:7:43"
2090
+ }
2091
+ ],
2092
+ "id": 10179,
2093
+ "name": "VariableDeclaration",
2094
+ "src": "195:23:43"
2095
+ }
2096
+ ],
2097
+ "id": 10180,
2098
+ "name": "ParameterList",
2099
+ "src": "145:74:43"
2100
+ }
2101
+ ],
2102
+ "id": 10181,
2103
+ "name": "EventDefinition",
2104
+ "src": "131:89:43"
2105
+ },
2106
+ {
2107
+ "attributes": {
2108
+ "anonymous": false,
2109
+ "documentation": null,
2110
+ "name": "ApprovalForAll"
2111
+ },
2112
+ "children": [
2113
+ {
2114
+ "children": [
2115
+ {
2116
+ "attributes": {
2117
+ "constant": false,
2118
+ "indexed": true,
2119
+ "name": "owner",
2120
+ "scope": 10189,
2121
+ "stateVariable": false,
2122
+ "storageLocation": "default",
2123
+ "type": "address",
2124
+ "value": null,
2125
+ "visibility": "internal"
2126
+ },
2127
+ "children": [
2128
+ {
2129
+ "attributes": {
2130
+ "name": "address",
2131
+ "stateMutability": "nonpayable",
2132
+ "type": "address"
2133
+ },
2134
+ "id": 10182,
2135
+ "name": "ElementaryTypeName",
2136
+ "src": "243:7:43"
2137
+ }
2138
+ ],
2139
+ "id": 10183,
2140
+ "name": "VariableDeclaration",
2141
+ "src": "243:21:43"
2142
+ },
2143
+ {
2144
+ "attributes": {
2145
+ "constant": false,
2146
+ "indexed": true,
2147
+ "name": "operator",
2148
+ "scope": 10189,
2149
+ "stateVariable": false,
2150
+ "storageLocation": "default",
2151
+ "type": "address",
2152
+ "value": null,
2153
+ "visibility": "internal"
2154
+ },
2155
+ "children": [
2156
+ {
2157
+ "attributes": {
2158
+ "name": "address",
2159
+ "stateMutability": "nonpayable",
2160
+ "type": "address"
2161
+ },
2162
+ "id": 10184,
2163
+ "name": "ElementaryTypeName",
2164
+ "src": "266:7:43"
2165
+ }
2166
+ ],
2167
+ "id": 10185,
2168
+ "name": "VariableDeclaration",
2169
+ "src": "266:24:43"
2170
+ },
2171
+ {
2172
+ "attributes": {
2173
+ "constant": false,
2174
+ "indexed": false,
2175
+ "name": "approved",
2176
+ "scope": 10189,
2177
+ "stateVariable": false,
2178
+ "storageLocation": "default",
2179
+ "type": "bool",
2180
+ "value": null,
2181
+ "visibility": "internal"
2182
+ },
2183
+ "children": [
2184
+ {
2185
+ "attributes": {
2186
+ "name": "bool",
2187
+ "type": "bool"
2188
+ },
2189
+ "id": 10186,
2190
+ "name": "ElementaryTypeName",
2191
+ "src": "292:4:43"
2192
+ }
2193
+ ],
2194
+ "id": 10187,
2195
+ "name": "VariableDeclaration",
2196
+ "src": "292:13:43"
2197
+ }
2198
+ ],
2199
+ "id": 10188,
2200
+ "name": "ParameterList",
2201
+ "src": "242:64:43"
2202
+ }
2203
+ ],
2204
+ "id": 10189,
2205
+ "name": "EventDefinition",
2206
+ "src": "222:85:43"
2207
+ },
2208
+ {
2209
+ "attributes": {
2210
+ "body": null,
2211
+ "documentation": null,
2212
+ "implemented": false,
2213
+ "isConstructor": false,
2214
+ "kind": "function",
2215
+ "modifiers": [
2216
+ null
2217
+ ],
2218
+ "name": "name",
2219
+ "scope": 10288,
2220
+ "stateMutability": "view",
2221
+ "superFunction": 9771,
2222
+ "visibility": "external"
2223
+ },
2224
+ "children": [
2225
+ {
2226
+ "attributes": {
2227
+ "parameters": [
2228
+ null
2229
+ ]
2230
+ },
2231
+ "children": [],
2232
+ "id": 10190,
2233
+ "name": "ParameterList",
2234
+ "src": "324:2:43"
2235
+ },
2236
+ {
2237
+ "children": [
2238
+ {
2239
+ "attributes": {
2240
+ "constant": false,
2241
+ "name": "",
2242
+ "scope": 10194,
2243
+ "stateVariable": false,
2244
+ "storageLocation": "memory",
2245
+ "type": "string",
2246
+ "value": null,
2247
+ "visibility": "internal"
2248
+ },
2249
+ "children": [
2250
+ {
2251
+ "attributes": {
2252
+ "name": "string",
2253
+ "type": "string"
2254
+ },
2255
+ "id": 10191,
2256
+ "name": "ElementaryTypeName",
2257
+ "src": "350:6:43"
2258
+ }
2259
+ ],
2260
+ "id": 10192,
2261
+ "name": "VariableDeclaration",
2262
+ "src": "350:13:43"
2263
+ }
2264
+ ],
2265
+ "id": 10193,
2266
+ "name": "ParameterList",
2267
+ "src": "349:15:43"
2268
+ }
2269
+ ],
2270
+ "id": 10194,
2271
+ "name": "FunctionDefinition",
2272
+ "src": "311:54:43"
2273
+ },
2274
+ {
2275
+ "attributes": {
2276
+ "body": null,
2277
+ "documentation": null,
2278
+ "implemented": false,
2279
+ "isConstructor": false,
2280
+ "kind": "function",
2281
+ "modifiers": [
2282
+ null
2283
+ ],
2284
+ "name": "symbol",
2285
+ "scope": 10288,
2286
+ "stateMutability": "view",
2287
+ "superFunction": 9776,
2288
+ "visibility": "external"
2289
+ },
2290
+ "children": [
2291
+ {
2292
+ "attributes": {
2293
+ "parameters": [
2294
+ null
2295
+ ]
2296
+ },
2297
+ "children": [],
2298
+ "id": 10195,
2299
+ "name": "ParameterList",
2300
+ "src": "382:2:43"
2301
+ },
2302
+ {
2303
+ "children": [
2304
+ {
2305
+ "attributes": {
2306
+ "constant": false,
2307
+ "name": "",
2308
+ "scope": 10199,
2309
+ "stateVariable": false,
2310
+ "storageLocation": "memory",
2311
+ "type": "string",
2312
+ "value": null,
2313
+ "visibility": "internal"
2314
+ },
2315
+ "children": [
2316
+ {
2317
+ "attributes": {
2318
+ "name": "string",
2319
+ "type": "string"
2320
+ },
2321
+ "id": 10196,
2322
+ "name": "ElementaryTypeName",
2323
+ "src": "408:6:43"
2324
+ }
2325
+ ],
2326
+ "id": 10197,
2327
+ "name": "VariableDeclaration",
2328
+ "src": "408:13:43"
2329
+ }
2330
+ ],
2331
+ "id": 10198,
2332
+ "name": "ParameterList",
2333
+ "src": "407:15:43"
2334
+ }
2335
+ ],
2336
+ "id": 10199,
2337
+ "name": "FunctionDefinition",
2338
+ "src": "367:56:43"
2339
+ },
2340
+ {
2341
+ "attributes": {
2342
+ "body": null,
2343
+ "documentation": null,
2344
+ "implemented": false,
2345
+ "isConstructor": false,
2346
+ "kind": "function",
2347
+ "modifiers": [
2348
+ null
2349
+ ],
2350
+ "name": "balanceOf",
2351
+ "scope": 10288,
2352
+ "stateMutability": "view",
2353
+ "superFunction": 9783,
2354
+ "visibility": "external"
2355
+ },
2356
+ "children": [
2357
+ {
2358
+ "children": [
2359
+ {
2360
+ "attributes": {
2361
+ "constant": false,
2362
+ "name": "owner",
2363
+ "scope": 10206,
2364
+ "stateVariable": false,
2365
+ "storageLocation": "default",
2366
+ "type": "address",
2367
+ "value": null,
2368
+ "visibility": "internal"
2369
+ },
2370
+ "children": [
2371
+ {
2372
+ "attributes": {
2373
+ "name": "address",
2374
+ "stateMutability": "nonpayable",
2375
+ "type": "address"
2376
+ },
2377
+ "id": 10200,
2378
+ "name": "ElementaryTypeName",
2379
+ "src": "444:7:43"
2380
+ }
2381
+ ],
2382
+ "id": 10201,
2383
+ "name": "VariableDeclaration",
2384
+ "src": "444:13:43"
2385
+ }
2386
+ ],
2387
+ "id": 10202,
2388
+ "name": "ParameterList",
2389
+ "src": "443:15:43"
2390
+ },
2391
+ {
2392
+ "children": [
2393
+ {
2394
+ "attributes": {
2395
+ "constant": false,
2396
+ "name": "balance",
2397
+ "scope": 10206,
2398
+ "stateVariable": false,
2399
+ "storageLocation": "default",
2400
+ "type": "uint256",
2401
+ "value": null,
2402
+ "visibility": "internal"
2403
+ },
2404
+ "children": [
2405
+ {
2406
+ "attributes": {
2407
+ "name": "uint256",
2408
+ "type": "uint256"
2409
+ },
2410
+ "id": 10203,
2411
+ "name": "ElementaryTypeName",
2412
+ "src": "482:7:43"
2413
+ }
2414
+ ],
2415
+ "id": 10204,
2416
+ "name": "VariableDeclaration",
2417
+ "src": "482:15:43"
2418
+ }
2419
+ ],
2420
+ "id": 10205,
2421
+ "name": "ParameterList",
2422
+ "src": "481:17:43"
2423
+ }
2424
+ ],
2425
+ "id": 10206,
2426
+ "name": "FunctionDefinition",
2427
+ "src": "425:74:43"
2428
+ },
2429
+ {
2430
+ "attributes": {
2431
+ "body": null,
2432
+ "documentation": null,
2433
+ "implemented": false,
2434
+ "isConstructor": false,
2435
+ "kind": "function",
2436
+ "modifiers": [
2437
+ null
2438
+ ],
2439
+ "name": "ownerOf",
2440
+ "scope": 10288,
2441
+ "stateMutability": "view",
2442
+ "superFunction": 9790,
2443
+ "visibility": "external"
2444
+ },
2445
+ "children": [
2446
+ {
2447
+ "children": [
2448
+ {
2449
+ "attributes": {
2450
+ "constant": false,
2451
+ "name": "tokenId",
2452
+ "scope": 10213,
2453
+ "stateVariable": false,
2454
+ "storageLocation": "default",
2455
+ "type": "uint256",
2456
+ "value": null,
2457
+ "visibility": "internal"
2458
+ },
2459
+ "children": [
2460
+ {
2461
+ "attributes": {
2462
+ "name": "uint256",
2463
+ "type": "uint256"
2464
+ },
2465
+ "id": 10207,
2466
+ "name": "ElementaryTypeName",
2467
+ "src": "518:7:43"
2468
+ }
2469
+ ],
2470
+ "id": 10208,
2471
+ "name": "VariableDeclaration",
2472
+ "src": "518:15:43"
2473
+ }
2474
+ ],
2475
+ "id": 10209,
2476
+ "name": "ParameterList",
2477
+ "src": "517:17:43"
2478
+ },
2479
+ {
2480
+ "children": [
2481
+ {
2482
+ "attributes": {
2483
+ "constant": false,
2484
+ "name": "owner",
2485
+ "scope": 10213,
2486
+ "stateVariable": false,
2487
+ "storageLocation": "default",
2488
+ "type": "address",
2489
+ "value": null,
2490
+ "visibility": "internal"
2491
+ },
2492
+ "children": [
2493
+ {
2494
+ "attributes": {
2495
+ "name": "address",
2496
+ "stateMutability": "nonpayable",
2497
+ "type": "address"
2498
+ },
2499
+ "id": 10210,
2500
+ "name": "ElementaryTypeName",
2501
+ "src": "558:7:43"
2502
+ }
2503
+ ],
2504
+ "id": 10211,
2505
+ "name": "VariableDeclaration",
2506
+ "src": "558:13:43"
2507
+ }
2508
+ ],
2509
+ "id": 10212,
2510
+ "name": "ParameterList",
2511
+ "src": "557:15:43"
2512
+ }
2513
+ ],
2514
+ "id": 10213,
2515
+ "name": "FunctionDefinition",
2516
+ "src": "501:72:43"
2517
+ },
2518
+ {
2519
+ "attributes": {
2520
+ "body": null,
2521
+ "documentation": null,
2522
+ "implemented": false,
2523
+ "isConstructor": false,
2524
+ "kind": "function",
2525
+ "modifiers": [
2526
+ null
2527
+ ],
2528
+ "name": "getApproved",
2529
+ "scope": 10288,
2530
+ "stateMutability": "view",
2531
+ "superFunction": 9797,
2532
+ "visibility": "external"
2533
+ },
2534
+ "children": [
2535
+ {
2536
+ "children": [
2537
+ {
2538
+ "attributes": {
2539
+ "constant": false,
2540
+ "name": "tokenId",
2541
+ "scope": 10220,
2542
+ "stateVariable": false,
2543
+ "storageLocation": "default",
2544
+ "type": "uint256",
2545
+ "value": null,
2546
+ "visibility": "internal"
2547
+ },
2548
+ "children": [
2549
+ {
2550
+ "attributes": {
2551
+ "name": "uint256",
2552
+ "type": "uint256"
2553
+ },
2554
+ "id": 10214,
2555
+ "name": "ElementaryTypeName",
2556
+ "src": "596:7:43"
2557
+ }
2558
+ ],
2559
+ "id": 10215,
2560
+ "name": "VariableDeclaration",
2561
+ "src": "596:15:43"
2562
+ }
2563
+ ],
2564
+ "id": 10216,
2565
+ "name": "ParameterList",
2566
+ "src": "595:17:43"
2567
+ },
2568
+ {
2569
+ "children": [
2570
+ {
2571
+ "attributes": {
2572
+ "constant": false,
2573
+ "name": "operator",
2574
+ "scope": 10220,
2575
+ "stateVariable": false,
2576
+ "storageLocation": "default",
2577
+ "type": "address",
2578
+ "value": null,
2579
+ "visibility": "internal"
2580
+ },
2581
+ "children": [
2582
+ {
2583
+ "attributes": {
2584
+ "name": "address",
2585
+ "stateMutability": "nonpayable",
2586
+ "type": "address"
2587
+ },
2588
+ "id": 10217,
2589
+ "name": "ElementaryTypeName",
2590
+ "src": "636:7:43"
2591
+ }
2592
+ ],
2593
+ "id": 10218,
2594
+ "name": "VariableDeclaration",
2595
+ "src": "636:16:43"
2596
+ }
2597
+ ],
2598
+ "id": 10219,
2599
+ "name": "ParameterList",
2600
+ "src": "635:18:43"
2601
+ }
2602
+ ],
2603
+ "id": 10220,
2604
+ "name": "FunctionDefinition",
2605
+ "src": "575:79:43"
2606
+ },
2607
+ {
2608
+ "attributes": {
2609
+ "body": null,
2610
+ "documentation": null,
2611
+ "implemented": false,
2612
+ "isConstructor": false,
2613
+ "kind": "function",
2614
+ "modifiers": [
2615
+ null
2616
+ ],
2617
+ "name": "isApprovedForAll",
2618
+ "scope": 10288,
2619
+ "stateMutability": "view",
2620
+ "superFunction": 9806,
2621
+ "visibility": "external"
2622
+ },
2623
+ "children": [
2624
+ {
2625
+ "children": [
2626
+ {
2627
+ "attributes": {
2628
+ "constant": false,
2629
+ "name": "owner",
2630
+ "scope": 10229,
2631
+ "stateVariable": false,
2632
+ "storageLocation": "default",
2633
+ "type": "address",
2634
+ "value": null,
2635
+ "visibility": "internal"
2636
+ },
2637
+ "children": [
2638
+ {
2639
+ "attributes": {
2640
+ "name": "address",
2641
+ "stateMutability": "nonpayable",
2642
+ "type": "address"
2643
+ },
2644
+ "id": 10221,
2645
+ "name": "ElementaryTypeName",
2646
+ "src": "682:7:43"
2647
+ }
2648
+ ],
2649
+ "id": 10222,
2650
+ "name": "VariableDeclaration",
2651
+ "src": "682:13:43"
2652
+ },
2653
+ {
2654
+ "attributes": {
2655
+ "constant": false,
2656
+ "name": "operator",
2657
+ "scope": 10229,
2658
+ "stateVariable": false,
2659
+ "storageLocation": "default",
2660
+ "type": "address",
2661
+ "value": null,
2662
+ "visibility": "internal"
2663
+ },
2664
+ "children": [
2665
+ {
2666
+ "attributes": {
2667
+ "name": "address",
2668
+ "stateMutability": "nonpayable",
2669
+ "type": "address"
2670
+ },
2671
+ "id": 10223,
2672
+ "name": "ElementaryTypeName",
2673
+ "src": "697:7:43"
2674
+ }
2675
+ ],
2676
+ "id": 10224,
2677
+ "name": "VariableDeclaration",
2678
+ "src": "697:16:43"
2679
+ }
2680
+ ],
2681
+ "id": 10225,
2682
+ "name": "ParameterList",
2683
+ "src": "681:33:43"
2684
+ },
2685
+ {
2686
+ "children": [
2687
+ {
2688
+ "attributes": {
2689
+ "constant": false,
2690
+ "name": "",
2691
+ "scope": 10229,
2692
+ "stateVariable": false,
2693
+ "storageLocation": "default",
2694
+ "type": "bool",
2695
+ "value": null,
2696
+ "visibility": "internal"
2697
+ },
2698
+ "children": [
2699
+ {
2700
+ "attributes": {
2701
+ "name": "bool",
2702
+ "type": "bool"
2703
+ },
2704
+ "id": 10226,
2705
+ "name": "ElementaryTypeName",
2706
+ "src": "738:4:43"
2707
+ }
2708
+ ],
2709
+ "id": 10227,
2710
+ "name": "VariableDeclaration",
2711
+ "src": "738:4:43"
2712
+ }
2713
+ ],
2714
+ "id": 10228,
2715
+ "name": "ParameterList",
2716
+ "src": "737:6:43"
2717
+ }
2718
+ ],
2719
+ "id": 10229,
2720
+ "name": "FunctionDefinition",
2721
+ "src": "656:88:43"
2722
+ },
2723
+ {
2724
+ "attributes": {
2725
+ "body": null,
2726
+ "documentation": null,
2727
+ "implemented": false,
2728
+ "isConstructor": false,
2729
+ "kind": "function",
2730
+ "modifiers": [
2731
+ null
2732
+ ],
2733
+ "name": "safeTransferFrom",
2734
+ "scope": 10288,
2735
+ "stateMutability": "nonpayable",
2736
+ "superFunction": 9817,
2737
+ "visibility": "external"
2738
+ },
2739
+ "children": [
2740
+ {
2741
+ "children": [
2742
+ {
2743
+ "attributes": {
2744
+ "constant": false,
2745
+ "name": "from",
2746
+ "scope": 10240,
2747
+ "stateVariable": false,
2748
+ "storageLocation": "default",
2749
+ "type": "address",
2750
+ "value": null,
2751
+ "visibility": "internal"
2752
+ },
2753
+ "children": [
2754
+ {
2755
+ "attributes": {
2756
+ "name": "address",
2757
+ "stateMutability": "nonpayable",
2758
+ "type": "address"
2759
+ },
2760
+ "id": 10230,
2761
+ "name": "ElementaryTypeName",
2762
+ "src": "774:7:43"
2763
+ }
2764
+ ],
2765
+ "id": 10231,
2766
+ "name": "VariableDeclaration",
2767
+ "src": "774:12:43"
2768
+ },
2769
+ {
2770
+ "attributes": {
2771
+ "constant": false,
2772
+ "name": "to",
2773
+ "scope": 10240,
2774
+ "stateVariable": false,
2775
+ "storageLocation": "default",
2776
+ "type": "address",
2777
+ "value": null,
2778
+ "visibility": "internal"
2779
+ },
2780
+ "children": [
2781
+ {
2782
+ "attributes": {
2783
+ "name": "address",
2784
+ "stateMutability": "nonpayable",
2785
+ "type": "address"
2786
+ },
2787
+ "id": 10232,
2788
+ "name": "ElementaryTypeName",
2789
+ "src": "788:7:43"
2790
+ }
2791
+ ],
2792
+ "id": 10233,
2793
+ "name": "VariableDeclaration",
2794
+ "src": "788:10:43"
2795
+ },
2796
+ {
2797
+ "attributes": {
2798
+ "constant": false,
2799
+ "name": "tokenId",
2800
+ "scope": 10240,
2801
+ "stateVariable": false,
2802
+ "storageLocation": "default",
2803
+ "type": "uint256",
2804
+ "value": null,
2805
+ "visibility": "internal"
2806
+ },
2807
+ "children": [
2808
+ {
2809
+ "attributes": {
2810
+ "name": "uint256",
2811
+ "type": "uint256"
2812
+ },
2813
+ "id": 10234,
2814
+ "name": "ElementaryTypeName",
2815
+ "src": "800:7:43"
2816
+ }
2817
+ ],
2818
+ "id": 10235,
2819
+ "name": "VariableDeclaration",
2820
+ "src": "800:15:43"
2821
+ },
2822
+ {
2823
+ "attributes": {
2824
+ "constant": false,
2825
+ "name": "data",
2826
+ "scope": 10240,
2827
+ "stateVariable": false,
2828
+ "storageLocation": "calldata",
2829
+ "type": "bytes",
2830
+ "value": null,
2831
+ "visibility": "internal"
2832
+ },
2833
+ "children": [
2834
+ {
2835
+ "attributes": {
2836
+ "name": "bytes",
2837
+ "type": "bytes"
2838
+ },
2839
+ "id": 10236,
2840
+ "name": "ElementaryTypeName",
2841
+ "src": "817:5:43"
2842
+ }
2843
+ ],
2844
+ "id": 10237,
2845
+ "name": "VariableDeclaration",
2846
+ "src": "817:19:43"
2847
+ }
2848
+ ],
2849
+ "id": 10238,
2850
+ "name": "ParameterList",
2851
+ "src": "773:64:43"
2852
+ },
2853
+ {
2854
+ "attributes": {
2855
+ "parameters": [
2856
+ null
2857
+ ]
2858
+ },
2859
+ "children": [],
2860
+ "id": 10239,
2861
+ "name": "ParameterList",
2862
+ "src": "846:0:43"
2863
+ }
2864
+ ],
2865
+ "id": 10240,
2866
+ "name": "FunctionDefinition",
2867
+ "src": "748:99:43"
2868
+ },
2869
+ {
2870
+ "attributes": {
2871
+ "body": null,
2872
+ "documentation": null,
2873
+ "implemented": false,
2874
+ "isConstructor": false,
2875
+ "kind": "function",
2876
+ "modifiers": [
2877
+ null
2878
+ ],
2879
+ "name": "safeTransferFrom",
2880
+ "scope": 10288,
2881
+ "stateMutability": "nonpayable",
2882
+ "superFunction": 9826,
2883
+ "visibility": "external"
2884
+ },
2885
+ "children": [
2886
+ {
2887
+ "children": [
2888
+ {
2889
+ "attributes": {
2890
+ "constant": false,
2891
+ "name": "from",
2892
+ "scope": 10249,
2893
+ "stateVariable": false,
2894
+ "storageLocation": "default",
2895
+ "type": "address",
2896
+ "value": null,
2897
+ "visibility": "internal"
2898
+ },
2899
+ "children": [
2900
+ {
2901
+ "attributes": {
2902
+ "name": "address",
2903
+ "stateMutability": "nonpayable",
2904
+ "type": "address"
2905
+ },
2906
+ "id": 10241,
2907
+ "name": "ElementaryTypeName",
2908
+ "src": "875:7:43"
2909
+ }
2910
+ ],
2911
+ "id": 10242,
2912
+ "name": "VariableDeclaration",
2913
+ "src": "875:12:43"
2914
+ },
2915
+ {
2916
+ "attributes": {
2917
+ "constant": false,
2918
+ "name": "to",
2919
+ "scope": 10249,
2920
+ "stateVariable": false,
2921
+ "storageLocation": "default",
2922
+ "type": "address",
2923
+ "value": null,
2924
+ "visibility": "internal"
2925
+ },
2926
+ "children": [
2927
+ {
2928
+ "attributes": {
2929
+ "name": "address",
2930
+ "stateMutability": "nonpayable",
2931
+ "type": "address"
2932
+ },
2933
+ "id": 10243,
2934
+ "name": "ElementaryTypeName",
2935
+ "src": "889:7:43"
2936
+ }
2937
+ ],
2938
+ "id": 10244,
2939
+ "name": "VariableDeclaration",
2940
+ "src": "889:10:43"
2941
+ },
2942
+ {
2943
+ "attributes": {
2944
+ "constant": false,
2945
+ "name": "tokenId",
2946
+ "scope": 10249,
2947
+ "stateVariable": false,
2948
+ "storageLocation": "default",
2949
+ "type": "uint256",
2950
+ "value": null,
2951
+ "visibility": "internal"
2952
+ },
2953
+ "children": [
2954
+ {
2955
+ "attributes": {
2956
+ "name": "uint256",
2957
+ "type": "uint256"
2958
+ },
2959
+ "id": 10245,
2960
+ "name": "ElementaryTypeName",
2961
+ "src": "901:7:43"
2962
+ }
2963
+ ],
2964
+ "id": 10246,
2965
+ "name": "VariableDeclaration",
2966
+ "src": "901:15:43"
2967
+ }
2968
+ ],
2969
+ "id": 10247,
2970
+ "name": "ParameterList",
2971
+ "src": "874:43:43"
2972
+ },
2973
+ {
2974
+ "attributes": {
2975
+ "parameters": [
2976
+ null
2977
+ ]
2978
+ },
2979
+ "children": [],
2980
+ "id": 10248,
2981
+ "name": "ParameterList",
2982
+ "src": "926:0:43"
2983
+ }
2984
+ ],
2985
+ "id": 10249,
2986
+ "name": "FunctionDefinition",
2987
+ "src": "849:78:43"
2988
+ },
2989
+ {
2990
+ "attributes": {
2991
+ "body": null,
2992
+ "documentation": null,
2993
+ "implemented": false,
2994
+ "isConstructor": false,
2995
+ "kind": "function",
2996
+ "modifiers": [
2997
+ null
2998
+ ],
2999
+ "name": "transferFrom",
3000
+ "scope": 10288,
3001
+ "stateMutability": "nonpayable",
3002
+ "superFunction": 9835,
3003
+ "visibility": "external"
3004
+ },
3005
+ "children": [
3006
+ {
3007
+ "children": [
3008
+ {
3009
+ "attributes": {
3010
+ "constant": false,
3011
+ "name": "from",
3012
+ "scope": 10258,
3013
+ "stateVariable": false,
3014
+ "storageLocation": "default",
3015
+ "type": "address",
3016
+ "value": null,
3017
+ "visibility": "internal"
3018
+ },
3019
+ "children": [
3020
+ {
3021
+ "attributes": {
3022
+ "name": "address",
3023
+ "stateMutability": "nonpayable",
3024
+ "type": "address"
3025
+ },
3026
+ "id": 10250,
3027
+ "name": "ElementaryTypeName",
3028
+ "src": "951:7:43"
3029
+ }
3030
+ ],
3031
+ "id": 10251,
3032
+ "name": "VariableDeclaration",
3033
+ "src": "951:12:43"
3034
+ },
3035
+ {
3036
+ "attributes": {
3037
+ "constant": false,
3038
+ "name": "to",
3039
+ "scope": 10258,
3040
+ "stateVariable": false,
3041
+ "storageLocation": "default",
3042
+ "type": "address",
3043
+ "value": null,
3044
+ "visibility": "internal"
3045
+ },
3046
+ "children": [
3047
+ {
3048
+ "attributes": {
3049
+ "name": "address",
3050
+ "stateMutability": "nonpayable",
3051
+ "type": "address"
3052
+ },
3053
+ "id": 10252,
3054
+ "name": "ElementaryTypeName",
3055
+ "src": "965:7:43"
3056
+ }
3057
+ ],
3058
+ "id": 10253,
3059
+ "name": "VariableDeclaration",
3060
+ "src": "965:10:43"
3061
+ },
3062
+ {
3063
+ "attributes": {
3064
+ "constant": false,
3065
+ "name": "tokenId",
3066
+ "scope": 10258,
3067
+ "stateVariable": false,
3068
+ "storageLocation": "default",
3069
+ "type": "uint256",
3070
+ "value": null,
3071
+ "visibility": "internal"
3072
+ },
3073
+ "children": [
3074
+ {
3075
+ "attributes": {
3076
+ "name": "uint256",
3077
+ "type": "uint256"
3078
+ },
3079
+ "id": 10254,
3080
+ "name": "ElementaryTypeName",
3081
+ "src": "977:7:43"
3082
+ }
3083
+ ],
3084
+ "id": 10255,
3085
+ "name": "VariableDeclaration",
3086
+ "src": "977:15:43"
3087
+ }
3088
+ ],
3089
+ "id": 10256,
3090
+ "name": "ParameterList",
3091
+ "src": "950:43:43"
3092
+ },
3093
+ {
3094
+ "attributes": {
3095
+ "parameters": [
3096
+ null
3097
+ ]
3098
+ },
3099
+ "children": [],
3100
+ "id": 10257,
3101
+ "name": "ParameterList",
3102
+ "src": "1002:0:43"
3103
+ }
3104
+ ],
3105
+ "id": 10258,
3106
+ "name": "FunctionDefinition",
3107
+ "src": "929:74:43"
3108
+ },
3109
+ {
3110
+ "attributes": {
3111
+ "body": null,
3112
+ "documentation": null,
3113
+ "implemented": false,
3114
+ "isConstructor": false,
3115
+ "kind": "function",
3116
+ "modifiers": [
3117
+ null
3118
+ ],
3119
+ "name": "approve",
3120
+ "scope": 10288,
3121
+ "stateMutability": "nonpayable",
3122
+ "superFunction": 9842,
3123
+ "visibility": "external"
3124
+ },
3125
+ "children": [
3126
+ {
3127
+ "children": [
3128
+ {
3129
+ "attributes": {
3130
+ "constant": false,
3131
+ "name": "to",
3132
+ "scope": 10265,
3133
+ "stateVariable": false,
3134
+ "storageLocation": "default",
3135
+ "type": "address",
3136
+ "value": null,
3137
+ "visibility": "internal"
3138
+ },
3139
+ "children": [
3140
+ {
3141
+ "attributes": {
3142
+ "name": "address",
3143
+ "stateMutability": "nonpayable",
3144
+ "type": "address"
3145
+ },
3146
+ "id": 10259,
3147
+ "name": "ElementaryTypeName",
3148
+ "src": "1022:7:43"
3149
+ }
3150
+ ],
3151
+ "id": 10260,
3152
+ "name": "VariableDeclaration",
3153
+ "src": "1022:10:43"
3154
+ },
3155
+ {
3156
+ "attributes": {
3157
+ "constant": false,
3158
+ "name": "tokenId",
3159
+ "scope": 10265,
3160
+ "stateVariable": false,
3161
+ "storageLocation": "default",
3162
+ "type": "uint256",
3163
+ "value": null,
3164
+ "visibility": "internal"
3165
+ },
3166
+ "children": [
3167
+ {
3168
+ "attributes": {
3169
+ "name": "uint256",
3170
+ "type": "uint256"
3171
+ },
3172
+ "id": 10261,
3173
+ "name": "ElementaryTypeName",
3174
+ "src": "1034:7:43"
3175
+ }
3176
+ ],
3177
+ "id": 10262,
3178
+ "name": "VariableDeclaration",
3179
+ "src": "1034:15:43"
3180
+ }
3181
+ ],
3182
+ "id": 10263,
3183
+ "name": "ParameterList",
3184
+ "src": "1021:29:43"
3185
+ },
3186
+ {
3187
+ "attributes": {
3188
+ "parameters": [
3189
+ null
3190
+ ]
3191
+ },
3192
+ "children": [],
3193
+ "id": 10264,
3194
+ "name": "ParameterList",
3195
+ "src": "1059:0:43"
3196
+ }
3197
+ ],
3198
+ "id": 10265,
3199
+ "name": "FunctionDefinition",
3200
+ "src": "1005:55:43"
3201
+ },
3202
+ {
3203
+ "attributes": {
3204
+ "body": null,
3205
+ "documentation": null,
3206
+ "implemented": false,
3207
+ "isConstructor": false,
3208
+ "kind": "function",
3209
+ "modifiers": [
3210
+ null
3211
+ ],
3212
+ "name": "setApprovalForAll",
3213
+ "scope": 10288,
3214
+ "stateMutability": "nonpayable",
3215
+ "superFunction": 9849,
3216
+ "visibility": "external"
3217
+ },
3218
+ "children": [
3219
+ {
3220
+ "children": [
3221
+ {
3222
+ "attributes": {
3223
+ "constant": false,
3224
+ "name": "operator",
3225
+ "scope": 10272,
3226
+ "stateVariable": false,
3227
+ "storageLocation": "default",
3228
+ "type": "address",
3229
+ "value": null,
3230
+ "visibility": "internal"
3231
+ },
3232
+ "children": [
3233
+ {
3234
+ "attributes": {
3235
+ "name": "address",
3236
+ "stateMutability": "nonpayable",
3237
+ "type": "address"
3238
+ },
3239
+ "id": 10266,
3240
+ "name": "ElementaryTypeName",
3241
+ "src": "1089:7:43"
3242
+ }
3243
+ ],
3244
+ "id": 10267,
3245
+ "name": "VariableDeclaration",
3246
+ "src": "1089:16:43"
3247
+ },
3248
+ {
3249
+ "attributes": {
3250
+ "constant": false,
3251
+ "name": "approved",
3252
+ "scope": 10272,
3253
+ "stateVariable": false,
3254
+ "storageLocation": "default",
3255
+ "type": "bool",
3256
+ "value": null,
3257
+ "visibility": "internal"
3258
+ },
3259
+ "children": [
3260
+ {
3261
+ "attributes": {
3262
+ "name": "bool",
3263
+ "type": "bool"
3264
+ },
3265
+ "id": 10268,
3266
+ "name": "ElementaryTypeName",
3267
+ "src": "1107:4:43"
3268
+ }
3269
+ ],
3270
+ "id": 10269,
3271
+ "name": "VariableDeclaration",
3272
+ "src": "1107:13:43"
3273
+ }
3274
+ ],
3275
+ "id": 10270,
3276
+ "name": "ParameterList",
3277
+ "src": "1088:33:43"
3278
+ },
3279
+ {
3280
+ "attributes": {
3281
+ "parameters": [
3282
+ null
3283
+ ]
3284
+ },
3285
+ "children": [],
3286
+ "id": 10271,
3287
+ "name": "ParameterList",
3288
+ "src": "1130:0:43"
3289
+ }
3290
+ ],
3291
+ "id": 10272,
3292
+ "name": "FunctionDefinition",
3293
+ "src": "1062:69:43"
3294
+ },
3295
+ {
3296
+ "attributes": {
3297
+ "body": null,
3298
+ "documentation": null,
3299
+ "implemented": false,
3300
+ "isConstructor": false,
3301
+ "kind": "function",
3302
+ "modifiers": [
3303
+ null
3304
+ ],
3305
+ "name": "permit",
3306
+ "scope": 10288,
3307
+ "stateMutability": "nonpayable",
3308
+ "superFunction": 9864,
3309
+ "visibility": "external"
3310
+ },
3311
+ "children": [
3312
+ {
3313
+ "children": [
3314
+ {
3315
+ "attributes": {
3316
+ "constant": false,
3317
+ "name": "spender",
3318
+ "scope": 10287,
3319
+ "stateVariable": false,
3320
+ "storageLocation": "default",
3321
+ "type": "address",
3322
+ "value": null,
3323
+ "visibility": "internal"
3324
+ },
3325
+ "children": [
3326
+ {
3327
+ "attributes": {
3328
+ "name": "address",
3329
+ "stateMutability": "nonpayable",
3330
+ "type": "address"
3331
+ },
3332
+ "id": 10273,
3333
+ "name": "ElementaryTypeName",
3334
+ "src": "1149:7:43"
3335
+ }
3336
+ ],
3337
+ "id": 10274,
3338
+ "name": "VariableDeclaration",
3339
+ "src": "1149:15:43"
3340
+ },
3341
+ {
3342
+ "attributes": {
3343
+ "constant": false,
3344
+ "name": "tokenId",
3345
+ "scope": 10287,
3346
+ "stateVariable": false,
3347
+ "storageLocation": "default",
3348
+ "type": "uint256",
3349
+ "value": null,
3350
+ "visibility": "internal"
3351
+ },
3352
+ "children": [
3353
+ {
3354
+ "attributes": {
3355
+ "name": "uint",
3356
+ "type": "uint256"
3357
+ },
3358
+ "id": 10275,
3359
+ "name": "ElementaryTypeName",
3360
+ "src": "1166:4:43"
3361
+ }
3362
+ ],
3363
+ "id": 10276,
3364
+ "name": "VariableDeclaration",
3365
+ "src": "1166:12:43"
3366
+ },
3367
+ {
3368
+ "attributes": {
3369
+ "constant": false,
3370
+ "name": "deadline",
3371
+ "scope": 10287,
3372
+ "stateVariable": false,
3373
+ "storageLocation": "default",
3374
+ "type": "uint256",
3375
+ "value": null,
3376
+ "visibility": "internal"
3377
+ },
3378
+ "children": [
3379
+ {
3380
+ "attributes": {
3381
+ "name": "uint",
3382
+ "type": "uint256"
3383
+ },
3384
+ "id": 10277,
3385
+ "name": "ElementaryTypeName",
3386
+ "src": "1180:4:43"
3387
+ }
3388
+ ],
3389
+ "id": 10278,
3390
+ "name": "VariableDeclaration",
3391
+ "src": "1180:13:43"
3392
+ },
3393
+ {
3394
+ "attributes": {
3395
+ "constant": false,
3396
+ "name": "v",
3397
+ "scope": 10287,
3398
+ "stateVariable": false,
3399
+ "storageLocation": "default",
3400
+ "type": "uint8",
3401
+ "value": null,
3402
+ "visibility": "internal"
3403
+ },
3404
+ "children": [
3405
+ {
3406
+ "attributes": {
3407
+ "name": "uint8",
3408
+ "type": "uint8"
3409
+ },
3410
+ "id": 10279,
3411
+ "name": "ElementaryTypeName",
3412
+ "src": "1195:5:43"
3413
+ }
3414
+ ],
3415
+ "id": 10280,
3416
+ "name": "VariableDeclaration",
3417
+ "src": "1195:7:43"
3418
+ },
3419
+ {
3420
+ "attributes": {
3421
+ "constant": false,
3422
+ "name": "r",
3423
+ "scope": 10287,
3424
+ "stateVariable": false,
3425
+ "storageLocation": "default",
3426
+ "type": "bytes32",
3427
+ "value": null,
3428
+ "visibility": "internal"
3429
+ },
3430
+ "children": [
3431
+ {
3432
+ "attributes": {
3433
+ "name": "bytes32",
3434
+ "type": "bytes32"
3435
+ },
3436
+ "id": 10281,
3437
+ "name": "ElementaryTypeName",
3438
+ "src": "1204:7:43"
3439
+ }
3440
+ ],
3441
+ "id": 10282,
3442
+ "name": "VariableDeclaration",
3443
+ "src": "1204:9:43"
3444
+ },
3445
+ {
3446
+ "attributes": {
3447
+ "constant": false,
3448
+ "name": "s",
3449
+ "scope": 10287,
3450
+ "stateVariable": false,
3451
+ "storageLocation": "default",
3452
+ "type": "bytes32",
3453
+ "value": null,
3454
+ "visibility": "internal"
3455
+ },
3456
+ "children": [
3457
+ {
3458
+ "attributes": {
3459
+ "name": "bytes32",
3460
+ "type": "bytes32"
3461
+ },
3462
+ "id": 10283,
3463
+ "name": "ElementaryTypeName",
3464
+ "src": "1215:7:43"
3465
+ }
3466
+ ],
3467
+ "id": 10284,
3468
+ "name": "VariableDeclaration",
3469
+ "src": "1215:9:43"
3470
+ }
3471
+ ],
3472
+ "id": 10285,
3473
+ "name": "ParameterList",
3474
+ "src": "1148:77:43"
3475
+ },
3476
+ {
3477
+ "attributes": {
3478
+ "parameters": [
3479
+ null
3480
+ ]
3481
+ },
3482
+ "children": [],
3483
+ "id": 10286,
3484
+ "name": "ParameterList",
3485
+ "src": "1234:0:43"
3486
+ }
3487
+ ],
3488
+ "id": 10287,
3489
+ "name": "FunctionDefinition",
3490
+ "src": "1133:102:43"
3491
+ }
3492
+ ],
3493
+ "id": 10288,
3494
+ "name": "ContractDefinition",
3495
+ "src": "26:1211:43"
3496
+ }
3497
+ ],
3498
+ "id": 10289,
3499
+ "name": "SourceUnit",
3500
+ "src": "0:1237:43"
3501
+ },
3502
+ "compiler": {
3503
+ "name": "solc",
3504
+ "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
3505
+ },
3506
+ "networks": {},
3507
+ "schemaVersion": "3.4.16",
3508
+ "updatedAt": "2024-11-20T18:22:20.712Z",
3509
+ "devdoc": {
3510
+ "methods": {}
3511
+ },
3512
+ "userdoc": {
3513
+ "methods": {}
3514
+ }
3515
+ }