@venusprotocol/governance-contracts
Version:
181 lines (180 loc) • 4.57 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IRiskSteward",
"sourceName": "contracts/RiskSteward/Interfaces/IRiskSteward.sol",
"abi": [
{
"inputs": [],
"name": "RISK_STEWARD_RECEIVER",
"outputs": [
{
"internalType": "contract IRiskStewardReceiver",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "string",
"name": "referenceId",
"type": "string"
},
{
"internalType": "uint256",
"name": "updateId",
"type": "uint256"
},
{
"internalType": "address",
"name": "market",
"type": "address"
},
{
"internalType": "string",
"name": "updateType",
"type": "string"
},
{
"internalType": "bytes32",
"name": "updateTypeKey",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "newValue",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "previousValue",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"internalType": "address",
"name": "publisher",
"type": "address"
},
{
"internalType": "uint96",
"name": "poolId",
"type": "uint96"
},
{
"internalType": "uint32",
"name": "destLzEid",
"type": "uint32"
},
{
"internalType": "bytes",
"name": "additionalData",
"type": "bytes"
}
],
"internalType": "struct RiskParameterUpdate",
"name": "update",
"type": "tuple"
}
],
"name": "applyUpdate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "string",
"name": "referenceId",
"type": "string"
},
{
"internalType": "uint256",
"name": "updateId",
"type": "uint256"
},
{
"internalType": "address",
"name": "market",
"type": "address"
},
{
"internalType": "string",
"name": "updateType",
"type": "string"
},
{
"internalType": "bytes32",
"name": "updateTypeKey",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "newValue",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "previousValue",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"internalType": "address",
"name": "publisher",
"type": "address"
},
{
"internalType": "uint96",
"name": "poolId",
"type": "uint96"
},
{
"internalType": "uint32",
"name": "destLzEid",
"type": "uint32"
},
{
"internalType": "bytes",
"name": "additionalData",
"type": "bytes"
}
],
"internalType": "struct RiskParameterUpdate",
"name": "update",
"type": "tuple"
}
],
"name": "isSafeForDirectExecution",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}