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