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,351 +0,0 @@
1
- {
2
- "contractName": "IBDeployer",
3
- "abi": [
4
- {
5
- "constant": false,
6
- "inputs": [
7
- {
8
- "internalType": "address",
9
- "name": "uniswapV2Pair",
10
- "type": "address"
11
- },
12
- {
13
- "internalType": "uint8",
14
- "name": "index",
15
- "type": "uint8"
16
- }
17
- ],
18
- "name": "deployBorrowable",
19
- "outputs": [
20
- {
21
- "internalType": "address",
22
- "name": "borrowable",
23
- "type": "address"
24
- }
25
- ],
26
- "payable": false,
27
- "stateMutability": "nonpayable",
28
- "type": "function"
29
- }
30
- ],
31
- "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"uniswapV2Pair\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"index\",\"type\":\"uint8\"}],\"name\":\"deployBorrowable\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"borrowable\",\"type\":\"address\"}],\"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/IBDeployer.sol\":\"IBDeployer\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBDeployer.sol\":{\"keccak256\":\"0x355a390f6ae04754647499879c85e4c7ef044e57b8cf7e1abd7fe3151b137941\",\"urls\":[\"bzz-raw://f9c26d8987afac1db2b0885af8012ee9690e372e31ab5c1584ec2cbf7b26e915\",\"dweb:/ipfs/QmNyjWKPymsDrYNptQ1D6PQwVWmWW5rp4m73QsUocnnym3\"]}},\"version\":1}",
32
- "bytecode": "0x",
33
- "deployedBytecode": "0x",
34
- "sourceMap": "",
35
- "deployedSourceMap": "",
36
- "source": "pragma solidity >=0.5.0;\r\n\r\ninterface IBDeployer {\r\n\tfunction deployBorrowable(address uniswapV2Pair, uint8 index) external returns (address borrowable);\r\n}",
37
- "sourcePath": "C:\\Users\\simor\\Desktop\\impermax-x-uniswapv2-periphery\\test\\Contracts\\imx-univ2-core\\interfaces\\IBDeployer.sol",
38
- "ast": {
39
- "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBDeployer.sol",
40
- "exportedSymbols": {
41
- "IBDeployer": [
42
- 4932
43
- ]
44
- },
45
- "id": 4933,
46
- "nodeType": "SourceUnit",
47
- "nodes": [
48
- {
49
- "id": 4922,
50
- "literals": [
51
- "solidity",
52
- ">=",
53
- "0.5",
54
- ".0"
55
- ],
56
- "nodeType": "PragmaDirective",
57
- "src": "0:24:17"
58
- },
59
- {
60
- "baseContracts": [],
61
- "contractDependencies": [],
62
- "contractKind": "interface",
63
- "documentation": null,
64
- "fullyImplemented": false,
65
- "id": 4932,
66
- "linearizedBaseContracts": [
67
- 4932
68
- ],
69
- "name": "IBDeployer",
70
- "nodeType": "ContractDefinition",
71
- "nodes": [
72
- {
73
- "body": null,
74
- "documentation": null,
75
- "id": 4931,
76
- "implemented": false,
77
- "kind": "function",
78
- "modifiers": [],
79
- "name": "deployBorrowable",
80
- "nodeType": "FunctionDefinition",
81
- "parameters": {
82
- "id": 4927,
83
- "nodeType": "ParameterList",
84
- "parameters": [
85
- {
86
- "constant": false,
87
- "id": 4924,
88
- "name": "uniswapV2Pair",
89
- "nodeType": "VariableDeclaration",
90
- "scope": 4931,
91
- "src": "79:21:17",
92
- "stateVariable": false,
93
- "storageLocation": "default",
94
- "typeDescriptions": {
95
- "typeIdentifier": "t_address",
96
- "typeString": "address"
97
- },
98
- "typeName": {
99
- "id": 4923,
100
- "name": "address",
101
- "nodeType": "ElementaryTypeName",
102
- "src": "79:7:17",
103
- "stateMutability": "nonpayable",
104
- "typeDescriptions": {
105
- "typeIdentifier": "t_address",
106
- "typeString": "address"
107
- }
108
- },
109
- "value": null,
110
- "visibility": "internal"
111
- },
112
- {
113
- "constant": false,
114
- "id": 4926,
115
- "name": "index",
116
- "nodeType": "VariableDeclaration",
117
- "scope": 4931,
118
- "src": "102:11:17",
119
- "stateVariable": false,
120
- "storageLocation": "default",
121
- "typeDescriptions": {
122
- "typeIdentifier": "t_uint8",
123
- "typeString": "uint8"
124
- },
125
- "typeName": {
126
- "id": 4925,
127
- "name": "uint8",
128
- "nodeType": "ElementaryTypeName",
129
- "src": "102:5:17",
130
- "typeDescriptions": {
131
- "typeIdentifier": "t_uint8",
132
- "typeString": "uint8"
133
- }
134
- },
135
- "value": null,
136
- "visibility": "internal"
137
- }
138
- ],
139
- "src": "78:36:17"
140
- },
141
- "returnParameters": {
142
- "id": 4930,
143
- "nodeType": "ParameterList",
144
- "parameters": [
145
- {
146
- "constant": false,
147
- "id": 4929,
148
- "name": "borrowable",
149
- "nodeType": "VariableDeclaration",
150
- "scope": 4931,
151
- "src": "133:18:17",
152
- "stateVariable": false,
153
- "storageLocation": "default",
154
- "typeDescriptions": {
155
- "typeIdentifier": "t_address",
156
- "typeString": "address"
157
- },
158
- "typeName": {
159
- "id": 4928,
160
- "name": "address",
161
- "nodeType": "ElementaryTypeName",
162
- "src": "133:7:17",
163
- "stateMutability": "nonpayable",
164
- "typeDescriptions": {
165
- "typeIdentifier": "t_address",
166
- "typeString": "address"
167
- }
168
- },
169
- "value": null,
170
- "visibility": "internal"
171
- }
172
- ],
173
- "src": "132:20:17"
174
- },
175
- "scope": 4932,
176
- "src": "53:100:17",
177
- "stateMutability": "nonpayable",
178
- "superFunction": null,
179
- "visibility": "external"
180
- }
181
- ],
182
- "scope": 4933,
183
- "src": "28:128:17"
184
- }
185
- ],
186
- "src": "0:156:17"
187
- },
188
- "legacyAST": {
189
- "absolutePath": "/C/Users/simor/Desktop/impermax-x-uniswapv2-periphery/test/Contracts/imx-univ2-core/interfaces/IBDeployer.sol",
190
- "exportedSymbols": {
191
- "IBDeployer": [
192
- 4932
193
- ]
194
- },
195
- "id": 4933,
196
- "nodeType": "SourceUnit",
197
- "nodes": [
198
- {
199
- "id": 4922,
200
- "literals": [
201
- "solidity",
202
- ">=",
203
- "0.5",
204
- ".0"
205
- ],
206
- "nodeType": "PragmaDirective",
207
- "src": "0:24:17"
208
- },
209
- {
210
- "baseContracts": [],
211
- "contractDependencies": [],
212
- "contractKind": "interface",
213
- "documentation": null,
214
- "fullyImplemented": false,
215
- "id": 4932,
216
- "linearizedBaseContracts": [
217
- 4932
218
- ],
219
- "name": "IBDeployer",
220
- "nodeType": "ContractDefinition",
221
- "nodes": [
222
- {
223
- "body": null,
224
- "documentation": null,
225
- "id": 4931,
226
- "implemented": false,
227
- "kind": "function",
228
- "modifiers": [],
229
- "name": "deployBorrowable",
230
- "nodeType": "FunctionDefinition",
231
- "parameters": {
232
- "id": 4927,
233
- "nodeType": "ParameterList",
234
- "parameters": [
235
- {
236
- "constant": false,
237
- "id": 4924,
238
- "name": "uniswapV2Pair",
239
- "nodeType": "VariableDeclaration",
240
- "scope": 4931,
241
- "src": "79:21:17",
242
- "stateVariable": false,
243
- "storageLocation": "default",
244
- "typeDescriptions": {
245
- "typeIdentifier": "t_address",
246
- "typeString": "address"
247
- },
248
- "typeName": {
249
- "id": 4923,
250
- "name": "address",
251
- "nodeType": "ElementaryTypeName",
252
- "src": "79:7:17",
253
- "stateMutability": "nonpayable",
254
- "typeDescriptions": {
255
- "typeIdentifier": "t_address",
256
- "typeString": "address"
257
- }
258
- },
259
- "value": null,
260
- "visibility": "internal"
261
- },
262
- {
263
- "constant": false,
264
- "id": 4926,
265
- "name": "index",
266
- "nodeType": "VariableDeclaration",
267
- "scope": 4931,
268
- "src": "102:11:17",
269
- "stateVariable": false,
270
- "storageLocation": "default",
271
- "typeDescriptions": {
272
- "typeIdentifier": "t_uint8",
273
- "typeString": "uint8"
274
- },
275
- "typeName": {
276
- "id": 4925,
277
- "name": "uint8",
278
- "nodeType": "ElementaryTypeName",
279
- "src": "102:5:17",
280
- "typeDescriptions": {
281
- "typeIdentifier": "t_uint8",
282
- "typeString": "uint8"
283
- }
284
- },
285
- "value": null,
286
- "visibility": "internal"
287
- }
288
- ],
289
- "src": "78:36:17"
290
- },
291
- "returnParameters": {
292
- "id": 4930,
293
- "nodeType": "ParameterList",
294
- "parameters": [
295
- {
296
- "constant": false,
297
- "id": 4929,
298
- "name": "borrowable",
299
- "nodeType": "VariableDeclaration",
300
- "scope": 4931,
301
- "src": "133:18:17",
302
- "stateVariable": false,
303
- "storageLocation": "default",
304
- "typeDescriptions": {
305
- "typeIdentifier": "t_address",
306
- "typeString": "address"
307
- },
308
- "typeName": {
309
- "id": 4928,
310
- "name": "address",
311
- "nodeType": "ElementaryTypeName",
312
- "src": "133:7:17",
313
- "stateMutability": "nonpayable",
314
- "typeDescriptions": {
315
- "typeIdentifier": "t_address",
316
- "typeString": "address"
317
- }
318
- },
319
- "value": null,
320
- "visibility": "internal"
321
- }
322
- ],
323
- "src": "132:20:17"
324
- },
325
- "scope": 4932,
326
- "src": "53:100:17",
327
- "stateMutability": "nonpayable",
328
- "superFunction": null,
329
- "visibility": "external"
330
- }
331
- ],
332
- "scope": 4933,
333
- "src": "28:128:17"
334
- }
335
- ],
336
- "src": "0:156:17"
337
- },
338
- "compiler": {
339
- "name": "solc",
340
- "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
341
- },
342
- "networks": {},
343
- "schemaVersion": "3.3.2",
344
- "updatedAt": "2021-01-07T23:07:24.813Z",
345
- "devdoc": {
346
- "methods": {}
347
- },
348
- "userdoc": {
349
- "methods": {}
350
- }
351
- }