@chainlink/contracts
Version:
Chainlink smart contracts
91 lines (90 loc) • 1.62 kB
JSON
[
{
"inputs": [
{
"internalType": "uint256",
"name": "n",
"type": "uint256"
}
],
"name": "blockHash",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "blockNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "getCurrentL1Fee",
"outputs": [
{
"internalType": "uint256",
"name": "l1Fee",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getGasOverhead",
"outputs": [
{
"internalType": "uint256",
"name": "chainModuleFixedOverhead",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "chainModulePerByteOverhead",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "getMaxL1Fee",
"outputs": [
{
"internalType": "uint256",
"name": "maxL1Fee",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]