@skalenetwork/fair-manager-types
Version:
TypeScript typings for SKALE Fair Manager smart contracts
171 lines (169 loc) • 3.28 kB
text/typescript
// Auto-generated file - do not edit manually
import type { Abi } from 'viem';
export const IStatusAbi = [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "Duration",
"name": "interval",
"type": "uint256"
}
],
"name": "HeartbeatIntervalChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
}
],
"name": "HeartbeatSignal",
"type": "event"
},
{
"inputs": [],
"name": "alive",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getWhitelistedNodes",
"outputs": [
{
"internalType": "NodeId[]",
"name": "nodeIds",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "initialAuthority",
"type": "address"
},
{
"internalType": "contract INodes",
"name": "nodesAddress",
"type": "address"
},
{
"internalType": "contract ICommittee",
"name": "committeeAddress",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
}
],
"name": "isHealthy",
"outputs": [
{
"internalType": "bool",
"name": "healthy",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
}
],
"name": "isWhitelisted",
"outputs": [
{
"internalType": "bool",
"name": "whitelisted",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "NodeId",
"name": "node",
"type": "uint256"
}
],
"name": "nodeRemoved",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
}
],
"name": "removeNodeFromWhitelist",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "Duration",
"name": "interval",
"type": "uint256"
}
],
"name": "setHeartbeatInterval",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "NodeId",
"name": "nodeId",
"type": "uint256"
}
],
"name": "whitelistNode",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
] as const satisfies Abi;