|
| 1 | +module.exports = { |
| 2 | + allLendingPools: { |
| 3 | + constant: true, |
| 4 | + inputs: [ |
| 5 | + { |
| 6 | + internalType: 'uint256', |
| 7 | + name: '', |
| 8 | + type: 'uint256', |
| 9 | + }, |
| 10 | + ], |
| 11 | + name: 'allLendingPools', |
| 12 | + outputs: [ |
| 13 | + { |
| 14 | + internalType: 'address', |
| 15 | + name: '', |
| 16 | + type: 'address', |
| 17 | + }, |
| 18 | + ], |
| 19 | + payable: false, |
| 20 | + stateMutability: 'view', |
| 21 | + type: 'function', |
| 22 | + }, |
| 23 | + allLendingPoolsLength: { |
| 24 | + constant: true, |
| 25 | + inputs: [], |
| 26 | + name: 'allLendingPoolsLength', |
| 27 | + outputs: [ |
| 28 | + { |
| 29 | + internalType: 'uint256', |
| 30 | + name: '', |
| 31 | + type: 'uint256', |
| 32 | + }, |
| 33 | + ], |
| 34 | + payable: false, |
| 35 | + stateMutability: 'view', |
| 36 | + type: 'function', |
| 37 | + }, |
| 38 | + getLendingPool: { |
| 39 | + constant: true, |
| 40 | + inputs: [ |
| 41 | + { |
| 42 | + internalType: 'address', |
| 43 | + name: '', |
| 44 | + type: 'address', |
| 45 | + }, |
| 46 | + ], |
| 47 | + name: 'getLendingPool', |
| 48 | + outputs: [ |
| 49 | + { |
| 50 | + internalType: 'bool', |
| 51 | + name: 'initialized', |
| 52 | + type: 'bool', |
| 53 | + }, |
| 54 | + { |
| 55 | + internalType: 'uint24', |
| 56 | + name: 'lendingPoolId', |
| 57 | + type: 'uint24', |
| 58 | + }, |
| 59 | + { |
| 60 | + internalType: 'address', |
| 61 | + name: 'collateral', |
| 62 | + type: 'address', |
| 63 | + }, |
| 64 | + { |
| 65 | + internalType: 'address', |
| 66 | + name: 'borrowable0', |
| 67 | + type: 'address', |
| 68 | + }, |
| 69 | + { |
| 70 | + internalType: 'address', |
| 71 | + name: 'borrowable1', |
| 72 | + type: 'address', |
| 73 | + }, |
| 74 | + ], |
| 75 | + payable: false, |
| 76 | + stateMutability: 'view', |
| 77 | + type: 'function', |
| 78 | + }, |
| 79 | + underlying: { |
| 80 | + constant: true, |
| 81 | + inputs: [], |
| 82 | + name: 'underlying', |
| 83 | + outputs: [ |
| 84 | + { |
| 85 | + internalType: 'address', |
| 86 | + name: '', |
| 87 | + type: 'address', |
| 88 | + }, |
| 89 | + ], |
| 90 | + payable: false, |
| 91 | + stateMutability: 'view', |
| 92 | + type: 'function', |
| 93 | + }, |
| 94 | + totalBorrows: { |
| 95 | + constant: true, |
| 96 | + inputs: [], |
| 97 | + name: 'totalBorrows', |
| 98 | + outputs: [{ internalType: 'uint112', name: '', type: 'uint112' }], |
| 99 | + payable: false, |
| 100 | + stateMutability: 'view', |
| 101 | + type: 'function', |
| 102 | + }, |
| 103 | + underlying: { |
| 104 | + constant: true, |
| 105 | + inputs: [], |
| 106 | + name: 'underlying', |
| 107 | + outputs: [{ internalType: 'address', name: '', type: 'address' }], |
| 108 | + payable: false, |
| 109 | + stateMutability: 'view', |
| 110 | + type: 'function', |
| 111 | + }, |
| 112 | + symbol: { |
| 113 | + inputs: [], |
| 114 | + name: 'symbol', |
| 115 | + outputs: [{ internalType: 'string', name: '', type: 'string' }], |
| 116 | + stateMutability: 'view', |
| 117 | + type: 'function', |
| 118 | + }, |
| 119 | + getReserves: { |
| 120 | + constant: true, |
| 121 | + inputs: [], |
| 122 | + name: 'getReserves', |
| 123 | + outputs: [ |
| 124 | + { internalType: 'uint112', name: 'reserve0', type: 'uint112' }, |
| 125 | + { internalType: 'uint112', name: 'reserve1', type: 'uint112' }, |
| 126 | + { internalType: 'uint32', name: 'blockTimestampLast', type: 'uint32' }, |
| 127 | + ], |
| 128 | + payable: false, |
| 129 | + stateMutability: 'view', |
| 130 | + type: 'function', |
| 131 | + }, |
| 132 | + token0: { |
| 133 | + constant: true, |
| 134 | + inputs: [], |
| 135 | + name: 'token0', |
| 136 | + outputs: [{ internalType: 'address', name: '', type: 'address' }], |
| 137 | + payable: false, |
| 138 | + stateMutability: 'view', |
| 139 | + type: 'function', |
| 140 | + }, |
| 141 | + token1: { |
| 142 | + constant: true, |
| 143 | + inputs: [], |
| 144 | + name: 'token1', |
| 145 | + outputs: [{ internalType: 'address', name: '', type: 'address' }], |
| 146 | + payable: false, |
| 147 | + stateMutability: 'view', |
| 148 | + type: 'function', |
| 149 | + }, |
| 150 | + decimals: { |
| 151 | + constant: true, |
| 152 | + inputs: [], |
| 153 | + name: 'decimals', |
| 154 | + outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }], |
| 155 | + payable: false, |
| 156 | + stateMutability: 'view', |
| 157 | + type: 'function', |
| 158 | + }, |
| 159 | + reserveFactor: { |
| 160 | + constant: true, |
| 161 | + inputs: [], |
| 162 | + name: 'reserveFactor', |
| 163 | + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], |
| 164 | + payable: false, |
| 165 | + stateMutability: 'view', |
| 166 | + type: 'function', |
| 167 | + }, |
| 168 | + borrowRate: { |
| 169 | + constant: true, |
| 170 | + inputs: [], |
| 171 | + name: 'borrowRate', |
| 172 | + outputs: [{ internalType: 'uint48', name: '', type: 'uint48' }], |
| 173 | + payable: false, |
| 174 | + stateMutability: 'view', |
| 175 | + type: 'function', |
| 176 | + }, |
| 177 | + factory: { |
| 178 | + inputs: [], |
| 179 | + name: 'factory', |
| 180 | + outputs: [{ internalType: 'address', name: '', type: 'address' }], |
| 181 | + stateMutability: 'view', |
| 182 | + type: 'function', |
| 183 | + }, |
| 184 | + totalSupply: { |
| 185 | + constant: true, |
| 186 | + inputs: [], |
| 187 | + name: 'totalSupply', |
| 188 | + outputs: [{ internalType:'uint256', name: '', 'type': 'uint256'}], |
| 189 | + payable: false, |
| 190 | + stateMutability:'view', |
| 191 | + type: 'function' |
| 192 | + }, |
| 193 | + safetyMarginSqrt: { |
| 194 | + constant: true, |
| 195 | + inputs: [], |
| 196 | + name: 'safetyMarginSqrt', |
| 197 | + outputs: [{ internalType:'uint256', name: '', 'type': 'uint256'}], |
| 198 | + payable: false, |
| 199 | + stateMutability:'view', |
| 200 | + type: 'function' |
| 201 | + }, |
| 202 | + liquidationPenalty: { |
| 203 | + constant: true, |
| 204 | + inputs: [], |
| 205 | + name: 'liquidationPenalty', |
| 206 | + outputs: [{ internalType:'uint256', name: '', 'type': 'uint256'}], |
| 207 | + payable: false, |
| 208 | + stateMutability:'view', |
| 209 | + type: 'function' |
| 210 | + }, |
| 211 | + liquidationIncentive: { |
| 212 | + constant: true, |
| 213 | + inputs: [], |
| 214 | + name: 'liquidationIncentive', |
| 215 | + outputs: [{ internalType:'uint256', name: '', 'type': 'uint256'}], |
| 216 | + payable: false, |
| 217 | + stateMutability:'view', |
| 218 | + type: 'function' |
| 219 | + }, |
| 220 | +}; |
0 commit comments