[ { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_resolver", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor", "signature": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "loanLimit", "type": "uint256" } ], "name": "AccountLoanLimitUpdated", "type": "event", "signature": "0x59822dc2d999f6f0618e8b0db5cfc8496084574c769b09609d9b5f4394a310b6" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "ratio", "type": "uint256" } ], "name": "CollateralizationRatioUpdated", "type": "event", "signature": "0xfb0ebe8c7316e6a251494c38876d13d9a3a029273fce7964c12aa2ce07869530" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "interestRate", "type": "uint256" } ], "name": "InterestRateUpdated", "type": "event", "signature": "0xa90e14be5aa57b910aa6dc16c31ff1b5cda380ae25a793b0d3f74df6131a7d74" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "issueFeeRate", "type": "uint256" } ], "name": "IssueFeeRateUpdated", "type": "event", "signature": "0xe7bd72551c54d568cd97b00dc52d2787b5c5d4f0070d3582c1e8ba25141f799c" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "issueLimit", "type": "uint256" } ], "name": "IssueLimitUpdated", "type": "event", "signature": "0xbb72ce8874020b3b98429d653df927cac6618ac1932384b1446bf04bf9a1b7e5" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "loanID", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "feesPaid", "type": "uint256" } ], "name": "LoanClosed", "type": "event", "signature": "0x3cc9f5d298758bad94536f27fa6a3033c2793e0a387a2d78e72550a3b8dacf1e" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "loanID", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LoanCreated", "type": "event", "signature": "0x58d170de3a12438e22d81380f353b2fcac86f0a708a1374deaa5c6322a95992f" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "loanID", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "liquidator", "type": "address" } ], "name": "LoanLiquidated", "type": "event", "signature": "0xde21b2a43b0a2c2109c049fb1e4bb8653fd67d0ffd74fdcb662db381f1eeab38" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bool", "name": "loanLiquidationOpen", "type": "bool" } ], "name": "LoanLiquidationOpenUpdated", "type": "event", "signature": "0xaa52cf15c1fbb778214c66f64726e141551158858d1c06ca0392c6c5869c8567" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "minLoanSize", "type": "uint256" } ], "name": "MinLoanSizeUpdated", "type": "event", "signature": "0x8640e538c9503bd8d11554fc26280efe867c12195c0eee0aeede5f4a8d528839" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldOwner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerChanged", "type": "event", "signature": "0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerNominated", "type": "event", "signature": "0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bool", "name": "isPaused", "type": "bool" } ], "name": "PauseChanged", "type": "event", "signature": "0x8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5" }, { "constant": true, "inputs": [], "name": "MAX_ADDRESSES_FROM_RESOLVER", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe3235c91" }, { "constant": false, "inputs": [], "name": "acceptOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x79ba5097" }, { "constant": true, "inputs": [], "name": "accountLoanLimit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x1474b279" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "accountOpenLoanCounter", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x089f7fb4" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "accountsSynthLoans", "outputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "collateralAmount", "type": "uint256" }, { "internalType": "uint256", "name": "loanAmount", "type": "uint256" }, { "internalType": "uint256", "name": "timeCreated", "type": "uint256" }, { "internalType": "uint256", "name": "loanID", "type": "uint256" }, { "internalType": "uint256", "name": "timeClosed", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xaa754a2a" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "_loanAmount", "type": "uint256" }, { "internalType": "uint256", "name": "_seconds", "type": "uint256" } ], "name": "accruedInterestOnLoan", "outputs": [ { "internalType": "uint256", "name": "interestAmount", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xa2e17342" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_loanID", "type": "uint256" } ], "name": "calculateMintingFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x27cff2e5" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "loanID", "type": "uint256" } ], "name": "closeLoan", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xd05951a0" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "loanAmount", "type": "uint256" } ], "name": "collateralAmountForLoan", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xf53dfb84" }, { "constant": true, "inputs": [], "name": "collateralizationRatio", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xdcaf9c44" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_loanID", "type": "uint256" } ], "name": "currentInterestOnLoan", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x89c937de" }, { "constant": true, "inputs": [], "name": "getContractInfo", "outputs": [ { "internalType": "uint256", "name": "_collateralizationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "_issuanceRatio", "type": "uint256" }, { "internalType": "uint256", "name": "_interestRate", "type": "uint256" }, { "internalType": "uint256", "name": "_interestPerSecond", "type": "uint256" }, { "internalType": "uint256", "name": "_issueFeeRate", "type": "uint256" }, { "internalType": "uint256", "name": "_issueLimit", "type": "uint256" }, { "internalType": "uint256", "name": "_minLoanSize", "type": "uint256" }, { "internalType": "uint256", "name": "_totalIssuedSynths", "type": "uint256" }, { "internalType": "uint256", "name": "_totalLoansCreated", "type": "uint256" }, { "internalType": "uint256", "name": "_totalOpenLoanCount", "type": "uint256" }, { "internalType": "uint256", "name": "_ethBalance", "type": "uint256" }, { "internalType": "uint256", "name": "_liquidationDeadline", "type": "uint256" }, { "internalType": "bool", "name": "_loanLiquidationOpen", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x7cc1f867" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_loanID", "type": "uint256" } ], "name": "getLoan", "outputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "collateralAmount", "type": "uint256" }, { "internalType": "uint256", "name": "loanAmount", "type": "uint256" }, { "internalType": "uint256", "name": "timeCreated", "type": "uint256" }, { "internalType": "uint256", "name": "loanID", "type": "uint256" }, { "internalType": "uint256", "name": "timeClosed", "type": "uint256" }, { "internalType": "uint256", "name": "interest", "type": "uint256" }, { "internalType": "uint256", "name": "totalFees", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xa1c51586" }, { "constant": true, "inputs": [], "name": "getResolverAddressesRequired", "outputs": [ { "internalType": "bytes32[24]", "name": "addressesRequired", "type": "bytes32[24]" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xab49848c" }, { "constant": true, "inputs": [], "name": "interestPerSecond", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe40108ed" }, { "constant": true, "inputs": [], "name": "interestRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x7c3a00fd" }, { "constant": true, "inputs": [ { "internalType": "contract AddressResolver", "name": "_resolver", "type": "address" } ], "name": "isResolverCached", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x631e1444" }, { "constant": true, "inputs": [], "name": "issuanceRatio", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xb410a034" }, { "constant": true, "inputs": [], "name": "issueFeeRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x361e2086" }, { "constant": true, "inputs": [], "name": "issueLimit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xeea8f5da" }, { "constant": true, "inputs": [], "name": "lastPauseTime", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x91b4ded9" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_loanCreatorsAddress", "type": "address" }, { "internalType": "uint256", "name": "_loanID", "type": "uint256" } ], "name": "liquidateUnclosedLoan", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xe220a811" }, { "constant": true, "inputs": [], "name": "liquidationDeadline", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x9f7d5688" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "collateralAmount", "type": "uint256" } ], "name": "loanAmountFromCollateral", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x8fdc8f3b" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_loanID", "type": "uint256" } ], "name": "loanLifeSpan", "outputs": [ { "internalType": "uint256", "name": "loanLifeSpanResult", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x8c463869" }, { "constant": true, "inputs": [], "name": "loanLiquidationOpen", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe3c1e58c" }, { "constant": true, "inputs": [], "name": "minLoanSize", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xcf09b4ae" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" } ], "name": "nominateNewOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x1627540c" }, { "constant": true, "inputs": [], "name": "nominatedOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x53a47bb7" }, { "constant": false, "inputs": [], "name": "openLoan", "outputs": [ { "internalType": "uint256", "name": "loanID", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function", "signature": "0x6b231938" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "openLoanIDsByAccount", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x2f2bf15b" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x8da5cb5b" }, { "constant": true, "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x5c975abb" }, { "constant": true, "inputs": [], "name": "resolver", "outputs": [ { "internalType": "contract AddressResolver", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x04f3bcec" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "resolverAddressesRequired", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xc6c9d828" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_loanLimit", "type": "uint256" } ], "name": "setAccountLoanLimit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x5d1a2229" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "ratio", "type": "uint256" } ], "name": "setCollateralizationRatio", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xe5829d20" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_interestRate", "type": "uint256" } ], "name": "setInterestRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x5f84f302" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_issueFeeRate", "type": "uint256" } ], "name": "setIssueFeeRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xa76cdfa5" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_issueLimit", "type": "uint256" } ], "name": "setIssueLimit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x4f069f66" }, { "constant": false, "inputs": [ { "internalType": "bool", "name": "_loanLiquidationOpen", "type": "bool" } ], "name": "setLoanLiquidationOpen", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xbb8c6d6c" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_minLoanSize", "type": "uint256" } ], "name": "setMinLoanSize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x50e3b2e7" }, { "constant": false, "inputs": [ { "internalType": "bool", "name": "_paused", "type": "bool" } ], "name": "setPaused", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x16c38b3c" }, { "constant": false, "inputs": [ { "internalType": "contract AddressResolver", "name": "_resolver", "type": "address" } ], "name": "setResolverAndSyncCache", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x3be99e6f" }, { "constant": true, "inputs": [], "name": "totalIssuedSynths", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xee5f3f5c" }, { "constant": true, "inputs": [], "name": "totalLoansCreated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x23aa7f0f" }, { "constant": true, "inputs": [], "name": "totalOpenLoanCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x4189bb49" } ]