UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

150 lines (149 loc) 5.14 kB
{ "contractName": "DoubleExponentInterestSetter", "abi": [ { "inputs": [ { "components": [ { "internalType": "uint128", "name": "maxAPR", "type": "uint128" }, { "internalType": "uint128", "name": "coefficients", "type": "uint128" } ], "internalType": "struct DoubleExponentInterestSetter.PolyStorage", "name": "params", "type": "tuple" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "borrowWei", "type": "uint256" }, { "internalType": "uint256", "name": "supplyWei", "type": "uint256" } ], "name": "getInterestRate", "outputs": [ { "components": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "internalType": "struct Interest.Rate", "name": "", "type": "tuple" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getMaxAPR", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getCoefficients", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "networks": { "1": { "links": {}, "address": "0x23543d84cD9886aBe74671351e6712625cB29E4b", "transactionHash": "0x80ce9ee9d8d12cc4f8505838974a3d473db8c0c4b08c845e90841a26c8641845" }, "196": { "links": {}, "address": "0xd55AFc5eE5fFdAd3d44829b22E2C2B10a484D33e", "transactionHash": "0x4015286da00beac4e5b342ad11c9427d58bc8bc8555fd6f45c4927449736d4f6" }, "1101": { "links": {}, "address": "0xfC280671D79B02086Dd59C89f69632040D366EA8", "transactionHash": "0x74cc38f7d40ba78532f5daf79e9d2ff5e7f365d677c0aa53264081e4d3b22e07" }, "3637": { "links": {}, "address": "0x23543d84cD9886aBe74671351e6712625cB29E4b", "transactionHash": "0x1753f7fa7e487c1a071d01f6d940951983031be8a36dee7fdee9bb685c4d5f8a" }, "5000": { "links": {}, "address": "0xDb70D853618BDABd6742bEF2a03DA7D704aa687C", "transactionHash": "0xafdce78da5f891b66b4312f59c3c93c5daaee689c9420b533adf56df6dd3b9d8" }, "5330": { "links": {}, "address": "0x23543d84cD9886aBe74671351e6712625cB29E4b", "transactionHash": "0xd3cb7c3ca52362be73455450f0f8f80c20116e69f8789514dd1578de7f60be3f" }, "8453": { "links": {}, "address": "0x23543d84cD9886aBe74671351e6712625cB29E4b", "transactionHash": "0x8703337bd83d9890011f173f1bf9387a95ad26d81fc077eb2844349d9da8142a" }, "42161": { "links": {}, "address": "0xf74FDC3e515F05bd0c5f89FBF03F59A02CFdB37b", "transactionHash": "0xeebe64fdaf362085a52da39c6b069d9334d66eec6e1701c310e52caa8c2ccb12" }, "57073": { "links": {}, "address": "0x23543d84cD9886aBe74671351e6712625cB29E4b", "transactionHash": "0x185ba2f016f188012d303c176df4def3545599f6eb357bb56ba43de8f64d47b7" }, "80094": { "links": {}, "address": "0x23543d84cD9886aBe74671351e6712625cB29E4b", "transactionHash": "0x60bc434316614589005cfb538a8e4efa89169be0db9bae992817e8dd34511173" } } }