impermax-sdk 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/lib/esm/abis/ImpermaxABI.d.ts +2 -0
  2. package/lib/esm/abis/ImpermaxABI.js +3 -0
  3. package/lib/esm/abis/contracts/ClaimAggregator.json +2015 -0
  4. package/lib/esm/abis/contracts/IBorrowable.json +13207 -0
  5. package/lib/esm/abis/contracts/IClaimable.json +406 -0
  6. package/lib/esm/abis/contracts/ICollateral.json +8952 -0
  7. package/lib/esm/abis/contracts/IERC20.json +2376 -0
  8. package/lib/esm/abis/contracts/IFactory.json +3660 -0
  9. package/lib/esm/abis/contracts/IFarmingPool.json +3584 -0
  10. package/lib/esm/abis/contracts/IMerkleDistributor.json +1134 -0
  11. package/lib/esm/abis/contracts/IRouter02.json +7283 -0
  12. package/lib/esm/abis/contracts/ISimpleUniswapOracle.json +1469 -0
  13. package/lib/esm/abis/contracts/IStakedLPToken.json +7309 -0
  14. package/lib/esm/abis/contracts/IStakingRewards.json +1036 -0
  15. package/lib/esm/abis/contracts/IUniswapV2Factory.json +1690 -0
  16. package/lib/esm/abis/contracts/IUniswapV2Pair.json +6761 -0
  17. package/lib/esm/abis/contracts/ImpermaxChef.json +20945 -0
  18. package/lib/esm/config/amms.d.ts +25 -0
  19. package/lib/esm/config/amms.js +196 -0
  20. package/lib/esm/config/contracts/claim-aggregators.d.ts +2 -0
  21. package/lib/esm/config/contracts/claim-aggregators.js +18 -0
  22. package/lib/esm/config/contracts/impermax-chef.d.ts +2 -0
  23. package/lib/esm/config/contracts/impermax-chef.js +18 -0
  24. package/lib/esm/config/contracts/imxes.d.ts +2 -0
  25. package/lib/esm/config/contracts/imxes.js +18 -0
  26. package/lib/esm/config/contracts/merkle-distributors.d.ts +4 -0
  27. package/lib/esm/config/contracts/merkle-distributors.js +13 -0
  28. package/lib/esm/config/contracts/routers.d.ts +2 -0
  29. package/lib/esm/config/contracts/routers.js +38 -0
  30. package/lib/esm/config/contracts/simple-uniswap-oracles.d.ts +2 -0
  31. package/lib/esm/config/contracts/simple-uniswap-oracles.js +35 -0
  32. package/lib/esm/config/contracts/weths.d.ts +2 -0
  33. package/lib/esm/config/contracts/weths.js +19 -0
  34. package/lib/esm/config/debank-ids.d.ts +2 -0
  35. package/lib/esm/config/debank-ids.js +17 -0
  36. package/lib/esm/config/endpoints/merkle-distributors.d.ts +4 -0
  37. package/lib/esm/config/endpoints/merkle-distributors.js +13 -0
  38. package/lib/esm/config/eth.d.ts +3 -0
  39. package/lib/esm/config/eth.js +32 -0
  40. package/lib/esm/config/factories.d.ts +6 -0
  41. package/lib/esm/config/factories.js +24 -0
  42. package/lib/esm/config/farms.d.ts +59 -0
  43. package/lib/esm/config/farms.js +114 -0
  44. package/lib/esm/config/general.d.ts +3 -0
  45. package/lib/esm/config/general.js +8 -0
  46. package/lib/esm/config/subgraphs.d.ts +5 -0
  47. package/lib/esm/config/subgraphs.js +68 -0
  48. package/lib/esm/config/types.d.ts +67 -0
  49. package/lib/esm/config/types.js +54 -0
  50. package/lib/esm/impermax-router/Account.d.ts +31 -0
  51. package/lib/esm/impermax-router/Account.js +154 -0
  52. package/lib/esm/impermax-router/AccountBorrowable.d.ts +22 -0
  53. package/lib/esm/impermax-router/AccountBorrowable.js +141 -0
  54. package/lib/esm/impermax-router/AccountCollateral.d.ts +11 -0
  55. package/lib/esm/impermax-router/AccountCollateral.js +63 -0
  56. package/lib/esm/impermax-router/AccountLendingPool.d.ts +57 -0
  57. package/lib/esm/impermax-router/AccountLendingPool.js +266 -0
  58. package/lib/esm/impermax-router/AccountPoolToken.d.ts +29 -0
  59. package/lib/esm/impermax-router/AccountPoolToken.js +89 -0
  60. package/lib/esm/impermax-router/Borrowable.d.ts +27 -0
  61. package/lib/esm/impermax-router/Borrowable.js +128 -0
  62. package/lib/esm/impermax-router/Collateral.d.ts +9 -0
  63. package/lib/esm/impermax-router/Collateral.js +45 -0
  64. package/lib/esm/impermax-router/ContractsHelper.d.ts +28 -0
  65. package/lib/esm/impermax-router/ContractsHelper.js +50 -0
  66. package/lib/esm/impermax-router/ImpermaxFactory.d.ts +15 -0
  67. package/lib/esm/impermax-router/ImpermaxFactory.js +42 -0
  68. package/lib/esm/impermax-router/Interactions.d.ts +16 -0
  69. package/lib/esm/impermax-router/Interactions.js +105 -0
  70. package/lib/esm/impermax-router/InteractionsLendingPool.d.ts +43 -0
  71. package/lib/esm/impermax-router/InteractionsLendingPool.js +124 -0
  72. package/lib/esm/impermax-router/InteractionsPoolToken.d.ts +23 -0
  73. package/lib/esm/impermax-router/InteractionsPoolToken.js +194 -0
  74. package/lib/esm/impermax-router/LendingPool.d.ts +69 -0
  75. package/lib/esm/impermax-router/LendingPool.js +291 -0
  76. package/lib/esm/impermax-router/PoolToken.d.ts +36 -0
  77. package/lib/esm/impermax-router/PoolToken.js +140 -0
  78. package/lib/esm/impermax-router/index.d.ts +20 -0
  79. package/lib/esm/impermax-router/index.js +34 -0
  80. package/lib/esm/impermax-router/interfaces.d.ts +218 -0
  81. package/lib/esm/impermax-router/interfaces.js +15 -0
  82. package/{index.ts → lib/esm/index.d.ts} +1 -3
  83. package/lib/esm/index.js +10 -0
  84. package/lib/esm/subgraph/Account.d.ts +18 -0
  85. package/lib/esm/subgraph/Account.js +111 -0
  86. package/lib/esm/subgraph/AccountLendingPool.d.ts +19 -0
  87. package/lib/esm/subgraph/AccountLendingPool.js +71 -0
  88. package/lib/esm/subgraph/AccountPoolToken.d.ts +14 -0
  89. package/lib/esm/subgraph/AccountPoolToken.js +75 -0
  90. package/lib/esm/subgraph/LendingPool.d.ts +38 -0
  91. package/lib/esm/subgraph/LendingPool.js +204 -0
  92. package/lib/esm/subgraph/PoolToken.d.ts +64 -0
  93. package/lib/esm/subgraph/PoolToken.js +462 -0
  94. package/lib/esm/subgraph/PriceHelper.d.ts +21 -0
  95. package/lib/esm/subgraph/PriceHelper.js +166 -0
  96. package/lib/esm/subgraph/SolidexHelper.d.ts +16 -0
  97. package/lib/esm/subgraph/SolidexHelper.js +58 -0
  98. package/lib/esm/subgraph/index.d.ts +73 -0
  99. package/lib/esm/subgraph/index.js +185 -0
  100. package/lib/esm/subgraph/initializer.d.ts +34 -0
  101. package/lib/esm/subgraph/initializer.js +517 -0
  102. package/lib/esm/subgraph/query.d.ts +10 -0
  103. package/lib/esm/subgraph/query.js +229 -0
  104. package/lib/esm/utils/ether-utils.d.ts +5 -0
  105. package/lib/esm/utils/ether-utils.js +26 -0
  106. package/lib/esm/utils/index.d.ts +3 -0
  107. package/lib/esm/utils/index.js +16 -0
  108. package/package.json +9 -3
  109. package/.idea/impermax-sdk.iml +0 -12
  110. package/.idea/misc.xml +0 -6
  111. package/.idea/modules.xml +0 -8
  112. package/.idea/workspace.xml +0 -642
  113. package/abis/ImpermaxABI.ts +0 -3
  114. package/abis/contracts/BAllowance.json +0 -4735
  115. package/abis/contracts/BDeployer.json +0 -1195
  116. package/abis/contracts/BInterestRateModel.json +0 -10796
  117. package/abis/contracts/BSetter.json +0 -6219
  118. package/abis/contracts/BStorage.json +0 -2613
  119. package/abis/contracts/Borrowable.json +0 -19937
  120. package/abis/contracts/CDeployer.json +0 -1104
  121. package/abis/contracts/CSetter.json +0 -5094
  122. package/abis/contracts/CStorage.json +0 -516
  123. package/abis/contracts/ClaimAggregator.json +0 -2015
  124. package/abis/contracts/Collateral.json +0 -21615
  125. package/abis/contracts/ERC20.json +0 -819
  126. package/abis/contracts/Factory.json +0 -21986
  127. package/abis/contracts/FarmingPool.json +0 -8601
  128. package/abis/contracts/IBDeployer.json +0 -351
  129. package/abis/contracts/IBorrowTracker.json +0 -346
  130. package/abis/contracts/IBorrowable.json +0 -13207
  131. package/abis/contracts/ICDeployer.json +0 -294
  132. package/abis/contracts/IClaimable.json +0 -406
  133. package/abis/contracts/ICollateral.json +0 -8952
  134. package/abis/contracts/IERC20.json +0 -2376
  135. package/abis/contracts/IFactory.json +0 -3660
  136. package/abis/contracts/IFarmingPool.json +0 -3584
  137. package/abis/contracts/IImpermaxCallee.json +0 -679
  138. package/abis/contracts/IMerkleDistributor.json +0 -1134
  139. package/abis/contracts/IPoolToken.json +0 -5343
  140. package/abis/contracts/IRouter01.json +0 -6891
  141. package/abis/contracts/IRouter02.json +0 -7283
  142. package/abis/contracts/ISimpleUniswapOracle.json +0 -1469
  143. package/abis/contracts/IStakedLPToken.json +0 -7309
  144. package/abis/contracts/IStakingRewards.json +0 -1036
  145. package/abis/contracts/IUniswapV2Callee.json +0 -403
  146. package/abis/contracts/IUniswapV2ERC20.json +0 -3155
  147. package/abis/contracts/IUniswapV2Factory.json +0 -1690
  148. package/abis/contracts/IUniswapV2Pair.json +0 -6761
  149. package/abis/contracts/IWETH.json +0 -561
  150. package/abis/contracts/ImpermaxChef.json +0 -20945
  151. package/abis/contracts/ImpermaxERC20.json +0 -12095
  152. package/abis/contracts/Math.json +0 -1966
  153. package/abis/contracts/MockERC20.json +0 -8884
  154. package/abis/contracts/PoolToken.json +0 -10784
  155. package/abis/contracts/Router01.json +0 -43963
  156. package/abis/contracts/SafeMath.json +0 -6828
  157. package/abis/contracts/SimpleUniswapOracle.json +0 -9640
  158. package/abis/contracts/TransferHelper.json +0 -4875
  159. package/abis/contracts/UQ112x112.json +0 -1201
  160. package/abis/contracts/UniswapV2ERC20.json +0 -10969
  161. package/abis/contracts/UniswapV2Factory.json +0 -5521
  162. package/abis/contracts/UniswapV2Library.json +0 -13789
  163. package/abis/contracts/UniswapV2Pair.json +0 -30782
  164. package/abis/contracts/WETH9.json +0 -6613
  165. package/config/amms.ts +0 -199
  166. package/config/contracts/claim-aggregators.ts +0 -16
  167. package/config/contracts/impermax-chef.ts +0 -16
  168. package/config/contracts/imxes.ts +0 -16
  169. package/config/contracts/merkle-distributors.ts +0 -13
  170. package/config/contracts/routers.ts +0 -36
  171. package/config/contracts/simple-uniswap-oracles.ts +0 -33
  172. package/config/contracts/weths.ts +0 -18
  173. package/config/debank-ids.ts +0 -15
  174. package/config/endpoints/merkle-distributors.ts +0 -13
  175. package/config/eth.ts +0 -32
  176. package/config/factories.ts +0 -26
  177. package/config/farms.ts +0 -119
  178. package/config/general.ts +0 -8
  179. package/config/subgraphs.ts +0 -69
  180. package/config/types.ts +0 -81
  181. package/impermax-router/Account.ts +0 -123
  182. package/impermax-router/AccountBorrowable.ts +0 -110
  183. package/impermax-router/AccountCollateral.ts +0 -40
  184. package/impermax-router/AccountLendingPool.ts +0 -231
  185. package/impermax-router/AccountPoolToken.ts +0 -76
  186. package/impermax-router/Borrowable.ts +0 -86
  187. package/impermax-router/Collateral.ts +0 -26
  188. package/impermax-router/ContractsHelper.ts +0 -64
  189. package/impermax-router/ImpermaxFactory.ts +0 -47
  190. package/impermax-router/Interactions.ts +0 -94
  191. package/impermax-router/InteractionsLendingPool.ts +0 -129
  192. package/impermax-router/InteractionsPoolToken.ts +0 -187
  193. package/impermax-router/LendingPool.ts +0 -256
  194. package/impermax-router/PoolToken.ts +0 -112
  195. package/impermax-router/index.ts +0 -49
  196. package/impermax-router/interfaces.ts +0 -233
  197. package/subgraph/Account.ts +0 -93
  198. package/subgraph/AccountLendingPool.ts +0 -60
  199. package/subgraph/AccountPoolToken.ts +0 -60
  200. package/subgraph/LendingPool.ts +0 -179
  201. package/subgraph/PoolToken.ts +0 -381
  202. package/subgraph/PriceHelper.ts +0 -150
  203. package/subgraph/SolidexHelper.ts +0 -54
  204. package/subgraph/index.ts +0 -166
  205. package/subgraph/initializer.ts +0 -509
  206. package/subgraph/query.ts +0 -224
  207. package/tsconfig.json +0 -16
  208. package/utils/ether-utils.ts +0 -22
  209. package/utils/index.ts +0 -12
@@ -1,346 +0,0 @@
1
- {
2
- "contractName": "IBorrowTracker",
3
- "abi": [
4
- {
5
- "constant": false,
6
- "inputs": [
7
- {
8
- "internalType": "address",
9
- "name": "borrower",
10
- "type": "address"
11
- },
12
- {
13
- "internalType": "uint256",
14
- "name": "borrowBalance",
15
- "type": "uint256"
16
- },
17
- {
18
- "internalType": "uint256",
19
- "name": "borrowIndex",
20
- "type": "uint256"
21
- }
22
- ],
23
- "name": "trackBorrow",
24
- "outputs": [],
25
- "payable": false,
26
- "stateMutability": "nonpayable",
27
- "type": "function"
28
- }
29
- ],
30
- "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"borrower\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrowIndex\",\"type\":\"uint256\"}],\"name\":\"trackBorrow\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBorrowTracker.sol\":\"IBorrowTracker\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBorrowTracker.sol\":{\"keccak256\":\"0xc2ddd380effc1179ff0ca88f4733113ff8ab9b7317e75483df57abc2f4dfab0b\",\"urls\":[\"bzz-raw://3bde59cee4b505dc0ed83cc67e6a26a530b08dfe02bdaf9a8da096576a630ff5\",\"dweb:/ipfs/QmNdnZBVo4eWPirmUU8AhoC5adUbS2xferbeBi1AZkaLtW\"]}},\"version\":1}",
31
- "bytecode": "0x",
32
- "deployedBytecode": "0x",
33
- "sourceMap": "",
34
- "deployedSourceMap": "",
35
- "source": "pragma solidity >=0.5.0;\r\n\r\ninterface IBorrowTracker {\r\n\tfunction trackBorrow(address borrower, uint borrowBalance, uint borrowIndex) external;\r\n}",
36
- "sourcePath": "C:\\Users\\simor\\Desktop\\impermax-x-uniswapv2-periphery\\test\\Contracts\\imx-univ2-core\\interfaces\\IBorrowTracker.sol",
37
- "ast": {
38
- "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBorrowTracker.sol",
39
- "exportedSymbols": {
40
- "IBorrowTracker": [
41
- 4944
42
- ]
43
- },
44
- "id": 4945,
45
- "nodeType": "SourceUnit",
46
- "nodes": [
47
- {
48
- "id": 4934,
49
- "literals": [
50
- "solidity",
51
- ">=",
52
- "0.5",
53
- ".0"
54
- ],
55
- "nodeType": "PragmaDirective",
56
- "src": "0:24:18"
57
- },
58
- {
59
- "baseContracts": [],
60
- "contractDependencies": [],
61
- "contractKind": "interface",
62
- "documentation": null,
63
- "fullyImplemented": false,
64
- "id": 4944,
65
- "linearizedBaseContracts": [
66
- 4944
67
- ],
68
- "name": "IBorrowTracker",
69
- "nodeType": "ContractDefinition",
70
- "nodes": [
71
- {
72
- "body": null,
73
- "documentation": null,
74
- "id": 4943,
75
- "implemented": false,
76
- "kind": "function",
77
- "modifiers": [],
78
- "name": "trackBorrow",
79
- "nodeType": "FunctionDefinition",
80
- "parameters": {
81
- "id": 4941,
82
- "nodeType": "ParameterList",
83
- "parameters": [
84
- {
85
- "constant": false,
86
- "id": 4936,
87
- "name": "borrower",
88
- "nodeType": "VariableDeclaration",
89
- "scope": 4943,
90
- "src": "78:16:18",
91
- "stateVariable": false,
92
- "storageLocation": "default",
93
- "typeDescriptions": {
94
- "typeIdentifier": "t_address",
95
- "typeString": "address"
96
- },
97
- "typeName": {
98
- "id": 4935,
99
- "name": "address",
100
- "nodeType": "ElementaryTypeName",
101
- "src": "78:7:18",
102
- "stateMutability": "nonpayable",
103
- "typeDescriptions": {
104
- "typeIdentifier": "t_address",
105
- "typeString": "address"
106
- }
107
- },
108
- "value": null,
109
- "visibility": "internal"
110
- },
111
- {
112
- "constant": false,
113
- "id": 4938,
114
- "name": "borrowBalance",
115
- "nodeType": "VariableDeclaration",
116
- "scope": 4943,
117
- "src": "96:18:18",
118
- "stateVariable": false,
119
- "storageLocation": "default",
120
- "typeDescriptions": {
121
- "typeIdentifier": "t_uint256",
122
- "typeString": "uint256"
123
- },
124
- "typeName": {
125
- "id": 4937,
126
- "name": "uint",
127
- "nodeType": "ElementaryTypeName",
128
- "src": "96:4:18",
129
- "typeDescriptions": {
130
- "typeIdentifier": "t_uint256",
131
- "typeString": "uint256"
132
- }
133
- },
134
- "value": null,
135
- "visibility": "internal"
136
- },
137
- {
138
- "constant": false,
139
- "id": 4940,
140
- "name": "borrowIndex",
141
- "nodeType": "VariableDeclaration",
142
- "scope": 4943,
143
- "src": "116:16:18",
144
- "stateVariable": false,
145
- "storageLocation": "default",
146
- "typeDescriptions": {
147
- "typeIdentifier": "t_uint256",
148
- "typeString": "uint256"
149
- },
150
- "typeName": {
151
- "id": 4939,
152
- "name": "uint",
153
- "nodeType": "ElementaryTypeName",
154
- "src": "116:4:18",
155
- "typeDescriptions": {
156
- "typeIdentifier": "t_uint256",
157
- "typeString": "uint256"
158
- }
159
- },
160
- "value": null,
161
- "visibility": "internal"
162
- }
163
- ],
164
- "src": "77:56:18"
165
- },
166
- "returnParameters": {
167
- "id": 4942,
168
- "nodeType": "ParameterList",
169
- "parameters": [],
170
- "src": "142:0:18"
171
- },
172
- "scope": 4944,
173
- "src": "57:86:18",
174
- "stateMutability": "nonpayable",
175
- "superFunction": null,
176
- "visibility": "external"
177
- }
178
- ],
179
- "scope": 4945,
180
- "src": "28:118:18"
181
- }
182
- ],
183
- "src": "0:146:18"
184
- },
185
- "legacyAST": {
186
- "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBorrowTracker.sol",
187
- "exportedSymbols": {
188
- "IBorrowTracker": [
189
- 4944
190
- ]
191
- },
192
- "id": 4945,
193
- "nodeType": "SourceUnit",
194
- "nodes": [
195
- {
196
- "id": 4934,
197
- "literals": [
198
- "solidity",
199
- ">=",
200
- "0.5",
201
- ".0"
202
- ],
203
- "nodeType": "PragmaDirective",
204
- "src": "0:24:18"
205
- },
206
- {
207
- "baseContracts": [],
208
- "contractDependencies": [],
209
- "contractKind": "interface",
210
- "documentation": null,
211
- "fullyImplemented": false,
212
- "id": 4944,
213
- "linearizedBaseContracts": [
214
- 4944
215
- ],
216
- "name": "IBorrowTracker",
217
- "nodeType": "ContractDefinition",
218
- "nodes": [
219
- {
220
- "body": null,
221
- "documentation": null,
222
- "id": 4943,
223
- "implemented": false,
224
- "kind": "function",
225
- "modifiers": [],
226
- "name": "trackBorrow",
227
- "nodeType": "FunctionDefinition",
228
- "parameters": {
229
- "id": 4941,
230
- "nodeType": "ParameterList",
231
- "parameters": [
232
- {
233
- "constant": false,
234
- "id": 4936,
235
- "name": "borrower",
236
- "nodeType": "VariableDeclaration",
237
- "scope": 4943,
238
- "src": "78:16:18",
239
- "stateVariable": false,
240
- "storageLocation": "default",
241
- "typeDescriptions": {
242
- "typeIdentifier": "t_address",
243
- "typeString": "address"
244
- },
245
- "typeName": {
246
- "id": 4935,
247
- "name": "address",
248
- "nodeType": "ElementaryTypeName",
249
- "src": "78:7:18",
250
- "stateMutability": "nonpayable",
251
- "typeDescriptions": {
252
- "typeIdentifier": "t_address",
253
- "typeString": "address"
254
- }
255
- },
256
- "value": null,
257
- "visibility": "internal"
258
- },
259
- {
260
- "constant": false,
261
- "id": 4938,
262
- "name": "borrowBalance",
263
- "nodeType": "VariableDeclaration",
264
- "scope": 4943,
265
- "src": "96:18:18",
266
- "stateVariable": false,
267
- "storageLocation": "default",
268
- "typeDescriptions": {
269
- "typeIdentifier": "t_uint256",
270
- "typeString": "uint256"
271
- },
272
- "typeName": {
273
- "id": 4937,
274
- "name": "uint",
275
- "nodeType": "ElementaryTypeName",
276
- "src": "96:4:18",
277
- "typeDescriptions": {
278
- "typeIdentifier": "t_uint256",
279
- "typeString": "uint256"
280
- }
281
- },
282
- "value": null,
283
- "visibility": "internal"
284
- },
285
- {
286
- "constant": false,
287
- "id": 4940,
288
- "name": "borrowIndex",
289
- "nodeType": "VariableDeclaration",
290
- "scope": 4943,
291
- "src": "116:16:18",
292
- "stateVariable": false,
293
- "storageLocation": "default",
294
- "typeDescriptions": {
295
- "typeIdentifier": "t_uint256",
296
- "typeString": "uint256"
297
- },
298
- "typeName": {
299
- "id": 4939,
300
- "name": "uint",
301
- "nodeType": "ElementaryTypeName",
302
- "src": "116:4:18",
303
- "typeDescriptions": {
304
- "typeIdentifier": "t_uint256",
305
- "typeString": "uint256"
306
- }
307
- },
308
- "value": null,
309
- "visibility": "internal"
310
- }
311
- ],
312
- "src": "77:56:18"
313
- },
314
- "returnParameters": {
315
- "id": 4942,
316
- "nodeType": "ParameterList",
317
- "parameters": [],
318
- "src": "142:0:18"
319
- },
320
- "scope": 4944,
321
- "src": "57:86:18",
322
- "stateMutability": "nonpayable",
323
- "superFunction": null,
324
- "visibility": "external"
325
- }
326
- ],
327
- "scope": 4945,
328
- "src": "28:118:18"
329
- }
330
- ],
331
- "src": "0:146:18"
332
- },
333
- "compiler": {
334
- "name": "solc",
335
- "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
336
- },
337
- "networks": {},
338
- "schemaVersion": "3.3.2",
339
- "updatedAt": "2021-01-07T23:07:24.814Z",
340
- "devdoc": {
341
- "methods": {}
342
- },
343
- "userdoc": {
344
- "methods": {}
345
- }
346
- }