@dolomite-exchange/dolomite-margin
Version:
Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol
138 lines (137 loc) • 3.86 kB
JSON
{
"contractName": "ChainlinkOracleSentinel",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_gracePeriod",
"type": "uint256"
},
{
"internalType": "address",
"name": "_sequencerUptimeFeed",
"type": "address"
},
{
"internalType": "address",
"name": "_dolomiteMargin",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "gracePeriod",
"type": "uint256"
}
],
"name": "GracePeriodSet",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "DOLOMITE_MARGIN",
"outputs": [
{
"internalType": "contract IDolomiteMargin",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "SEQUENCER_UPTIME_FEED",
"outputs": [
{
"internalType": "contract IChainlinkAggregator",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "gracePeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint256",
"name": "_gracePeriod",
"type": "uint256"
}
],
"name": "ownerSetGracePeriod",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isBorrowAllowed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isLiquidationAllowed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"networks": {
"8453": {
"links": {},
"address": "0xD7224EdAFE566CEF9BA345Bf7b836B691f053Bbc",
"transactionHash": "0xdd5e5354ed49534db06a12ee4f73b6016124420427296de7ba39bc4f62908fb5"
}
}
}