test-contracts-sovryn
Version:
Smart contracts for the Sovryn protocol and external integrations.
111 lines (110 loc) • 2.68 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "ProtocolSettingsLike",
"sourceName": "contracts/connectors/loantoken/interfaces/ProtocolSettingsLike.sol",
"abi": [
{
"constant": false,
"inputs": [
{
"internalType": "bytes32[]",
"name": "loanParamsIdList",
"type": "bytes32[]"
}
],
"name": "disableLoanParams",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "bytes32",
"name": "loanParamsId",
"type": "bytes32"
}
],
"name": "minInitialMargin",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"components": [
{
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
},
{
"internalType": "bool",
"name": "active",
"type": "bool"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "loanToken",
"type": "address"
},
{
"internalType": "address",
"name": "collateralToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "minInitialMargin",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maintenanceMargin",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxLoanTerm",
"type": "uint256"
}
],
"internalType": "struct LoanParamsStruct.LoanParams[]",
"name": "loanParamsList",
"type": "tuple[]"
}
],
"name": "setupLoanParams",
"outputs": [
{
"internalType": "bytes32[]",
"name": "loanParamsIdList",
"type": "bytes32[]"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}