github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/StorageSetter.json (about)

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "bytes32",
     6          "name": "_slot",
     7          "type": "bytes32"
     8        }
     9      ],
    10      "name": "getAddress",
    11      "outputs": [
    12        {
    13          "internalType": "address",
    14          "name": "addr_",
    15          "type": "address"
    16        }
    17      ],
    18      "stateMutability": "view",
    19      "type": "function"
    20    },
    21    {
    22      "inputs": [
    23        {
    24          "internalType": "bytes32",
    25          "name": "_slot",
    26          "type": "bytes32"
    27        }
    28      ],
    29      "name": "getBool",
    30      "outputs": [
    31        {
    32          "internalType": "bool",
    33          "name": "value_",
    34          "type": "bool"
    35        }
    36      ],
    37      "stateMutability": "view",
    38      "type": "function"
    39    },
    40    {
    41      "inputs": [
    42        {
    43          "internalType": "bytes32",
    44          "name": "_slot",
    45          "type": "bytes32"
    46        }
    47      ],
    48      "name": "getBytes32",
    49      "outputs": [
    50        {
    51          "internalType": "bytes32",
    52          "name": "value_",
    53          "type": "bytes32"
    54        }
    55      ],
    56      "stateMutability": "view",
    57      "type": "function"
    58    },
    59    {
    60      "inputs": [
    61        {
    62          "internalType": "bytes32",
    63          "name": "_slot",
    64          "type": "bytes32"
    65        }
    66      ],
    67      "name": "getUint",
    68      "outputs": [
    69        {
    70          "internalType": "uint256",
    71          "name": "value_",
    72          "type": "uint256"
    73        }
    74      ],
    75      "stateMutability": "view",
    76      "type": "function"
    77    },
    78    {
    79      "inputs": [
    80        {
    81          "internalType": "bytes32",
    82          "name": "_slot",
    83          "type": "bytes32"
    84        },
    85        {
    86          "internalType": "address",
    87          "name": "_address",
    88          "type": "address"
    89        }
    90      ],
    91      "name": "setAddress",
    92      "outputs": [],
    93      "stateMutability": "nonpayable",
    94      "type": "function"
    95    },
    96    {
    97      "inputs": [
    98        {
    99          "internalType": "bytes32",
   100          "name": "_slot",
   101          "type": "bytes32"
   102        },
   103        {
   104          "internalType": "bool",
   105          "name": "_value",
   106          "type": "bool"
   107        }
   108      ],
   109      "name": "setBool",
   110      "outputs": [],
   111      "stateMutability": "nonpayable",
   112      "type": "function"
   113    },
   114    {
   115      "inputs": [
   116        {
   117          "components": [
   118            {
   119              "internalType": "bytes32",
   120              "name": "key",
   121              "type": "bytes32"
   122            },
   123            {
   124              "internalType": "bytes32",
   125              "name": "value",
   126              "type": "bytes32"
   127            }
   128          ],
   129          "internalType": "struct StorageSetter.Slot[]",
   130          "name": "slots",
   131          "type": "tuple[]"
   132        }
   133      ],
   134      "name": "setBytes32",
   135      "outputs": [],
   136      "stateMutability": "nonpayable",
   137      "type": "function"
   138    },
   139    {
   140      "inputs": [
   141        {
   142          "internalType": "bytes32",
   143          "name": "_slot",
   144          "type": "bytes32"
   145        },
   146        {
   147          "internalType": "bytes32",
   148          "name": "_value",
   149          "type": "bytes32"
   150        }
   151      ],
   152      "name": "setBytes32",
   153      "outputs": [],
   154      "stateMutability": "nonpayable",
   155      "type": "function"
   156    },
   157    {
   158      "inputs": [
   159        {
   160          "internalType": "bytes32",
   161          "name": "_slot",
   162          "type": "bytes32"
   163        },
   164        {
   165          "internalType": "uint256",
   166          "name": "_value",
   167          "type": "uint256"
   168        }
   169      ],
   170      "name": "setUint",
   171      "outputs": [],
   172      "stateMutability": "nonpayable",
   173      "type": "function"
   174    },
   175    {
   176      "inputs": [],
   177      "name": "version",
   178      "outputs": [
   179        {
   180          "internalType": "string",
   181          "name": "",
   182          "type": "string"
   183        }
   184      ],
   185      "stateMutability": "view",
   186      "type": "function"
   187    }
   188  ]