secured-finance-watcher-ts/subgraph-build/OrderActionLogic/abis/OrderActionLogic.json

357 lines
7.3 KiB
JSON
Raw Normal View History

2024-05-21 12:04:28 +00:00
[
{
"inputs": [],
"name": "EmptyOrderBook",
"type": "error"
},
{
"inputs": [],
"name": "InvalidAmount",
"type": "error"
},
{
"inputs": [],
"name": "InvalidFutureValue",
"type": "error"
},
{
"inputs": [],
"name": "OppositeSideOrderExists",
"type": "error"
},
{
"inputs": [],
"name": "PastMaturityOrderExists",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockUnitPrice",
"type": "uint256"
}
],
"name": "BlockUnitPriceHistoryUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint48",
"name": "orderId",
"type": "uint48"
},
{
"indexed": true,
"internalType": "address",
"name": "maker",
"type": "address"
},
{
"indexed": false,
"internalType": "enum ProtocolTypes.Side",
"name": "side",
"type": "uint8"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "unitPrice",
"type": "uint256"
}
],
"name": "OrderCanceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "enum ProtocolTypes.Side",
"name": "side",
"type": "uint8"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "inputAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "inputUnitPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "filledAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "filledUnitPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "filledAmountInFV",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "feeInFV",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint48",
"name": "placedOrderId",
"type": "uint48"
},
{
"indexed": false,
"internalType": "uint256",
"name": "placedAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "placedUnitPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "isCircuitBreakerTriggered",
"type": "bool"
}
],
"name": "OrderExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint48[]",
"name": "orderIds",
"type": "uint48[]"
},
{
"indexed": true,
"internalType": "address",
"name": "maker",
"type": "address"
},
{
"indexed": false,
"internalType": "enum ProtocolTypes.Side",
"name": "side",
"type": "uint8"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "futureValue",
"type": "uint256"
}
],
"name": "OrdersCleaned",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "enum ProtocolTypes.Side",
"name": "side",
"type": "uint8"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "inputFutureValue",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "filledAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "filledUnitPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "filledAmountInFV",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "feeInFV",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "isCircuitBreakerTriggered",
"type": "bool"
}
],
"name": "PositionUnwound",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "enum ProtocolTypes.Side",
"name": "side",
"type": "uint8"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "unitPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint48",
"name": "orderId",
"type": "uint48"
}
],
"name": "PreOrderExecuted",
"type": "event"
}
]