secured-finance-watcher-ts/subgraph-build/LendingMarketOperationLogic/abis/LendingMarketOperationLogic.json
2024-05-22 15:25:36 +05:30

377 lines
7.0 KiB
JSON

[
{
"inputs": [
{
"internalType": "address",
"name": "tokenAddress",
"type": "address"
}
],
"name": "AlreadyZCTokenExists",
"type": "error"
},
{
"inputs": [],
"name": "InvalidCompoundFactor",
"type": "error"
},
{
"inputs": [],
"name": "InvalidCurrency",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
}
],
"name": "InvalidMaturity",
"type": "error"
},
{
"inputs": [],
"name": "InvalidMinDebtUnitPrice",
"type": "error"
},
{
"inputs": [],
"name": "InvalidOpeningDate",
"type": "error"
},
{
"inputs": [],
"name": "InvalidPreOpeningDate",
"type": "error"
},
{
"inputs": [],
"name": "InvalidTimestamp",
"type": "error"
},
{
"inputs": [],
"name": "LendingMarketNotInitialized",
"type": "error"
},
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"name": "MissingAddress",
"type": "error"
},
{
"inputs": [],
"name": "NotEnoughOrderBooks",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "tokenAddress",
"type": "address"
},
{
"internalType": "uint8",
"name": "decimals",
"type": "uint8"
}
],
"name": "TooManyTokenDecimals",
"type": "error"
},
{
"inputs": [],
"name": "ZcTokenIsZero",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
}
],
"name": "EmergencyTerminationExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "genesisDate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "compoundFactor",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "orderFeeRate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "circuitBreakerLimitRange",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "lendingMarket",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "futureValueVault",
"type": "address"
}
],
"name": "LendingMarketInitialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "minDebtUnitPrice",
"type": "uint256"
}
],
"name": "MinDebtUnitPriceUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint8",
"name": "orderBookId",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "openingDate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "preOpeningDate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
}
],
"name": "OrderBookCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "oldMaturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newMaturity",
"type": "uint256"
}
],
"name": "OrderBooksRotated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "ccy",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint256",
"name": "maturity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "symbol",
"type": "string"
},
{
"indexed": false,
"internalType": "uint8",
"name": "decimals",
"type": "uint8"
},
{
"indexed": false,
"internalType": "address",
"name": "tokenAddress",
"type": "address"
}
],
"name": "ZCTokenCreated",
"type": "event"
},
{
"inputs": [],
"name": "COMPOUND_FACTOR_DECIMALS",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "OBSERVATION_PERIOD",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PRE_ORDER_BASE_PERIOD",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "ZC_TOKEN_BASE_DECIMALS",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_bytes32",
"type": "bytes32"
}
],
"name": "bytes32ToString",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_timestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_period",
"type": "uint256"
}
],
"name": "calculateNextMaturity",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
}
]