github.com/status-im/status-go@v1.1.0/contracts/gas-price-oracle/gaspriceoracle.abi (about) 1 [ 2 { 3 "inputs": [], 4 "stateMutability": "nonpayable", 5 "type": "constructor" 6 }, 7 { 8 "anonymous": false, 9 "inputs": [ 10 { 11 "indexed": false, 12 "internalType": "uint256", 13 "name": "", 14 "type": "uint256" 15 } 16 ], 17 "name": "DecimalsUpdated", 18 "type": "event" 19 }, 20 { 21 "anonymous": false, 22 "inputs": [ 23 { 24 "indexed": false, 25 "internalType": "uint256", 26 "name": "", 27 "type": "uint256" 28 } 29 ], 30 "name": "GasPriceUpdated", 31 "type": "event" 32 }, 33 { 34 "anonymous": false, 35 "inputs": [ 36 { 37 "indexed": false, 38 "internalType": "uint256", 39 "name": "", 40 "type": "uint256" 41 } 42 ], 43 "name": "L1BaseFeeUpdated", 44 "type": "event" 45 }, 46 { 47 "anonymous": false, 48 "inputs": [ 49 { 50 "indexed": false, 51 "internalType": "uint256", 52 "name": "", 53 "type": "uint256" 54 } 55 ], 56 "name": "OverheadUpdated", 57 "type": "event" 58 }, 59 { 60 "anonymous": false, 61 "inputs": [ 62 { 63 "indexed": false, 64 "internalType": "uint256", 65 "name": "", 66 "type": "uint256" 67 } 68 ], 69 "name": "ScalarUpdated", 70 "type": "event" 71 }, 72 { 73 "inputs": [], 74 "name": "admin", 75 "outputs": [ 76 { 77 "internalType": "address", 78 "name": "", 79 "type": "address" 80 } 81 ], 82 "stateMutability": "view", 83 "type": "function" 84 }, 85 { 86 "inputs": [ 87 { 88 "internalType": "address", 89 "name": "target", 90 "type": "address" 91 }, 92 { 93 "internalType": "bytes", 94 "name": "data", 95 "type": "bytes" 96 } 97 ], 98 "name": "adminCall", 99 "outputs": [], 100 "stateMutability": "payable", 101 "type": "function" 102 }, 103 { 104 "inputs": [], 105 "name": "decimals", 106 "outputs": [ 107 { 108 "internalType": "uint256", 109 "name": "", 110 "type": "uint256" 111 } 112 ], 113 "stateMutability": "view", 114 "type": "function" 115 }, 116 { 117 "inputs": [], 118 "name": "gasPrice", 119 "outputs": [ 120 { 121 "internalType": "uint256", 122 "name": "", 123 "type": "uint256" 124 } 125 ], 126 "stateMutability": "view", 127 "type": "function" 128 }, 129 { 130 "inputs": [], 131 "name": "getAdmin", 132 "outputs": [ 133 { 134 "internalType": "address", 135 "name": "adminAddress", 136 "type": "address" 137 } 138 ], 139 "stateMutability": "view", 140 "type": "function" 141 }, 142 { 143 "inputs": [ 144 { 145 "internalType": "bytes", 146 "name": "_data", 147 "type": "bytes" 148 } 149 ], 150 "name": "getL1Fee", 151 "outputs": [ 152 { 153 "internalType": "uint256", 154 "name": "", 155 "type": "uint256" 156 } 157 ], 158 "stateMutability": "view", 159 "type": "function" 160 }, 161 { 162 "inputs": [ 163 { 164 "internalType": "bytes", 165 "name": "_data", 166 "type": "bytes" 167 } 168 ], 169 "name": "getL1GasUsed", 170 "outputs": [ 171 { 172 "internalType": "uint256", 173 "name": "", 174 "type": "uint256" 175 } 176 ], 177 "stateMutability": "view", 178 "type": "function" 179 }, 180 { 181 "inputs": [ 182 { 183 "internalType": "bytes", 184 "name": "initPayload", 185 "type": "bytes" 186 } 187 ], 188 "name": "init", 189 "outputs": [ 190 { 191 "internalType": "bytes4", 192 "name": "", 193 "type": "bytes4" 194 } 195 ], 196 "stateMutability": "nonpayable", 197 "type": "function" 198 }, 199 { 200 "inputs": [], 201 "name": "l1BaseFee", 202 "outputs": [ 203 { 204 "internalType": "uint256", 205 "name": "", 206 "type": "uint256" 207 } 208 ], 209 "stateMutability": "view", 210 "type": "function" 211 }, 212 { 213 "inputs": [], 214 "name": "overhead", 215 "outputs": [ 216 { 217 "internalType": "uint256", 218 "name": "", 219 "type": "uint256" 220 } 221 ], 222 "stateMutability": "view", 223 "type": "function" 224 }, 225 { 226 "inputs": [], 227 "name": "scalar", 228 "outputs": [ 229 { 230 "internalType": "uint256", 231 "name": "", 232 "type": "uint256" 233 } 234 ], 235 "stateMutability": "view", 236 "type": "function" 237 }, 238 { 239 "inputs": [ 240 { 241 "internalType": "address", 242 "name": "adminAddress", 243 "type": "address" 244 } 245 ], 246 "name": "setAdmin", 247 "outputs": [], 248 "stateMutability": "nonpayable", 249 "type": "function" 250 }, 251 { 252 "inputs": [ 253 { 254 "internalType": "uint256", 255 "name": "_decimals", 256 "type": "uint256" 257 } 258 ], 259 "name": "setDecimals", 260 "outputs": [], 261 "stateMutability": "nonpayable", 262 "type": "function" 263 }, 264 { 265 "inputs": [ 266 { 267 "internalType": "uint256", 268 "name": "_gasPrice", 269 "type": "uint256" 270 } 271 ], 272 "name": "setGasPrice", 273 "outputs": [], 274 "stateMutability": "nonpayable", 275 "type": "function" 276 }, 277 { 278 "inputs": [ 279 { 280 "internalType": "uint256", 281 "name": "_baseFee", 282 "type": "uint256" 283 } 284 ], 285 "name": "setL1BaseFee", 286 "outputs": [], 287 "stateMutability": "nonpayable", 288 "type": "function" 289 }, 290 { 291 "inputs": [ 292 { 293 "internalType": "uint256", 294 "name": "_overhead", 295 "type": "uint256" 296 } 297 ], 298 "name": "setOverhead", 299 "outputs": [], 300 "stateMutability": "nonpayable", 301 "type": "function" 302 }, 303 { 304 "inputs": [ 305 { 306 "internalType": "uint256", 307 "name": "_scalar", 308 "type": "uint256" 309 } 310 ], 311 "name": "setScalar", 312 "outputs": [], 313 "stateMutability": "nonpayable", 314 "type": "function" 315 } 316 ]