@chainlink/contracts
Version:
Chainlink smart contracts
72 lines (71 loc) • 1.5 kB
JSON
[
{
"inputs": [
{
"internalType": "GameType",
"name": "_gameType",
"type": "uint32"
},
{
"internalType": "uint256",
"name": "_start",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_n",
"type": "uint256"
}
],
"name": "findLatestGames",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"internalType": "GameId",
"name": "metadata",
"type": "bytes32"
},
{
"internalType": "Timestamp",
"name": "timestamp",
"type": "uint64"
},
{
"internalType": "Claim",
"name": "rootClaim",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "extraData",
"type": "bytes"
}
],
"internalType": "struct IOptimismDisputeGameFactory.GameSearchResult[]",
"name": "games_",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "gameCount",
"outputs": [
{
"internalType": "uint256",
"name": "gameCount_",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]