UNPKG

@mstable/protocol

Version:
86 lines (85 loc) 1.53 kB
[ { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "creditBalances", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "depositInterest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "depositSavings", "outputs": [ { "internalType": "uint256", "name": "creditsIssued", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "exchangeRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "redeem", "outputs": [ { "internalType": "uint256", "name": "massetReturned", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]