@skalenetwork/fair-manager-types
Version:
TypeScript typings for SKALE Fair Manager smart contracts
100 lines • 1.7 kB
JSON
[
{
"inputs": [
{
"internalType": "Fair",
"name": "earnedFee",
"type": "uint256"
}
],
"name": "NotEnoughFee",
"type": "error"
},
{
"inputs": [
{
"internalType": "Fair",
"name": "staked",
"type": "uint256"
}
],
"name": "NotEnoughStaked",
"type": "error"
},
{
"inputs": [
{
"internalType": "Fair",
"name": "roundingError",
"type": "uint256"
}
],
"name": "RoundingErrorTooHigh",
"type": "error"
},
{
"inputs": [],
"name": "CREDIT_PRECISION",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "FEE_RATE_PRECISION",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "NULL",
"outputs": [
{
"internalType": "Holder",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "ZERO_CREDIT",
"outputs": [
{
"internalType": "Credit",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "ZERO_FAIR",
"outputs": [
{
"internalType": "Fair",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]