@skalenetwork/fair-manager-types
Version:
TypeScript typings for SKALE Fair Manager smart contracts
156 lines • 3.01 kB
JSON
[
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "RequestDoesNotExist",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
},
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "RequestDoesNotExistForUser",
"type": "error"
},
{
"inputs": [
{
"internalType": "Timestamp",
"name": "currentTime",
"type": "uint256"
},
{
"internalType": "Timestamp",
"name": "releaseTime",
"type": "uint256"
}
],
"name": "RequestIsStillLocked",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UserDoesNotHaveRequestAt",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
},
{
"internalType": "uint256",
"name": "startIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "endIndex",
"type": "uint256"
}
],
"name": "ZeroUnlockedRequests",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "Fair",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "Timestamp",
"name": "claimDate",
"type": "uint256"
}
],
"name": "RequestClaimed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "Fair",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "Timestamp",
"name": "unlockDate",
"type": "uint256"
}
],
"name": "RequestCreated",
"type": "event"
}
]