Add BASEFEE for Yul

pull/2281/head
Simone 10 months ago
parent 611150bef4
commit 0dcab3bbdd
  1. 2
      slither/core/declarations/solidity_variables.py
  2. 2
      slither/solc_parsing/yul/evm_functions.py

@ -21,7 +21,7 @@ SOLIDITY_VARIABLES = {
}
SOLIDITY_VARIABLES_COMPOSED = {
"block.basefee": "uint",
"block.basefee": "uint256",
"block.blobbasefee": "uint256",
"block.coinbase": "address",
"block.difficulty": "uint256",

@ -56,6 +56,7 @@ evm_opcodes = [
"GASLIMIT",
"CHAINID",
"SELFBALANCE",
"BASEFEE",
"BLOBHASH",
"BLOBBASEFEE",
"POP",
@ -195,6 +196,7 @@ function_args = {
"address": [0, 1],
"balance": [1, 1],
"selfbalance": [0, 1],
"basefee": [0, 1],
"blobhash": [1, 1],
"blobbasefee": [0, 1],
"caller": [0, 1],

Loading…
Cancel
Save