@arbitrum/nitro-contracts
Version:
Layer 2 precompiles and rollup for Arbitrum Nitro
248 lines (247 loc) • 5.58 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IAssertionChain",
"sourceName": "src/challengeV2/IAssertionChain.sol",
"abi": [
{
"inputs": [],
"name": "bridge",
"outputs": [
{
"internalType": "contract IBridge",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "assertionHash",
"type": "bytes32"
}
],
"name": "getFirstChildCreationBlock",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "assertionHash",
"type": "bytes32"
}
],
"name": "getSecondChildCreationBlock",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getValidators",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "assertionHash",
"type": "bytes32"
}
],
"name": "isFirstChild",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "assertionHash",
"type": "bytes32"
}
],
"name": "isPending",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "isValidator",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "assertionHash",
"type": "bytes32"
},
{
"components": [
{
"components": [
{
"internalType": "bytes32[2]",
"name": "bytes32Vals",
"type": "bytes32[2]"
},
{
"internalType": "uint64[2]",
"name": "u64Vals",
"type": "uint64[2]"
}
],
"internalType": "struct GlobalState",
"name": "globalState",
"type": "tuple"
},
{
"internalType": "enum MachineStatus",
"name": "machineStatus",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "endHistoryRoot",
"type": "bytes32"
}
],
"internalType": "struct AssertionState",
"name": "state",
"type": "tuple"
},
{
"internalType": "bytes32",
"name": "prevAssertionHash",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "inboxAcc",
"type": "bytes32"
}
],
"name": "validateAssertionHash",
"outputs": [],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "assertionHash",
"type": "bytes32"
},
{
"components": [
{
"internalType": "bytes32",
"name": "wasmModuleRoot",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "requiredStake",
"type": "uint256"
},
{
"internalType": "address",
"name": "challengeManager",
"type": "address"
},
{
"internalType": "uint64",
"name": "confirmPeriodBlocks",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "nextInboxPosition",
"type": "uint64"
}
],
"internalType": "struct ConfigData",
"name": "configData",
"type": "tuple"
}
],
"name": "validateConfig",
"outputs": [],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "validatorWhitelistDisabled",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}