@dolomite-exchange/dolomite-margin
Version:
Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol
201 lines (200 loc) • 6.97 kB
JSON
{
"contractName": "LiquidatorProxyV1",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_chainId",
"type": "uint256"
},
{
"internalType": "address",
"name": "_liquidatorAssetRegistry",
"type": "address"
},
{
"internalType": "address",
"name": "_dolomiteMargin",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"constant": true,
"inputs": [],
"name": "DOLOMITE_MARGIN",
"outputs": [
{
"internalType": "contract IDolomiteMargin",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "LIQUIDATOR_ASSET_REGISTRY",
"outputs": [
{
"internalType": "contract ILiquidatorAssetRegistry",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "chainId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "uint256",
"name": "number",
"type": "uint256"
}
],
"internalType": "struct Account.Info",
"name": "_solidAccount",
"type": "tuple"
},
{
"components": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "uint256",
"name": "number",
"type": "uint256"
}
],
"internalType": "struct Account.Info",
"name": "_liquidAccount",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"internalType": "struct Decimal.D256",
"name": "_minLiquidatorRatio",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "_minValueLiquidated",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "_owedPreferences",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "_heldPreferences",
"type": "uint256[]"
}
],
"name": "liquidate",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"networks": {
"1": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0xaac6cf058cc5033b44e9a8b7948e0113905a584948c5fceaca88256aa2429ca2"
},
"56": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0x07b06608f3650970c7910f1e3288e4455620dde9ac12ce578ccb2973e27e1999"
},
"196": {
"links": {},
"address": "0xD4480794D7b2bacbcB749462dD5e6f4C555036f3",
"transactionHash": "0x6685509dad0e5f8a8f239669b264f9976a631ec3f583e582a7385eef5ad6f07f"
},
"1101": {
"links": {},
"address": "0xf0C0Db8E4e01BD9A8e01860ef83077405a53f781",
"transactionHash": "0x33afe72372da2fb5f60a678dedcde6e852ba31afdb283473b5232668eca340f0"
},
"3637": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0x1a29a93aeca507e004a0ae38253dc4fd9cd016aca4877ce63cbdd1a57da999c6"
},
"5000": {
"links": {},
"address": "0x8e6B0e3Ad57A9637Ab27C1480600d45177073a71",
"transactionHash": "0xf3555cc3fbc1d7f73ea46a002f68e59f694b8792e0cda0c8612ecbbf5e819449"
},
"5330": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0xd18694d2328710b1fe350caef921ede8104495dcdc00d69ec9b08e21baa0d81a"
},
"8453": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0x74219b6c77318a627e963d19201bb038cec00fd0621132347c8dc835b0741cde"
},
"42161": {
"links": {},
"address": "0x8c6e337dA1bD534548c5A9b6aC3d9e4D15Fa715A",
"transactionHash": "0x25ec230f87adde64b081eaec616428a472b806a1da20aecdf64075b778b97c6e"
},
"57073": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0x83dd020e5f520a622ad058d81da289427e6d82853b93fed52fe992b606d039d2"
},
"80094": {
"links": {},
"address": "0xDB168cd1BcB63304991Fc6E2013D0D87DDbF99D3",
"transactionHash": "0xcdfe12fe0b21af8a4b2ba7a9a84ab4d325c75682d5225b5d406cb21f8f30d069"
}
}
}