Skip to content
143 changes: 143 additions & 0 deletions snapshots/abi/FeeDisburser.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAX_SYSTEM_ADDRESS_COUNT",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAWAL_MIN_GAS",
Expand All @@ -65,6 +78,24 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable[]",
"name": "systemAddresses_",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "targetBalances_",
"type": "uint256[]"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "lastDisbursementTime",
Expand All @@ -91,6 +122,44 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "systemAddresses",
"outputs": [
{
"internalType": "address payable",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "targetBalances",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",
Expand Down Expand Up @@ -148,12 +217,61 @@
"name": "FeesReceived",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "NoFeesCollected",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "systemAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "bool",
"name": "success",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "balanceNeeded",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "balanceSent",
"type": "uint256"
}
],
"name": "ProcessedFunds",
"type": "event"
},
{
"inputs": [],
"name": "ArrayLengthMismatch",
"type": "error"
},
{
"inputs": [],
"name": "FeeVaultMustWithdrawToFeeDisburser",
Expand All @@ -174,9 +292,34 @@
"name": "IntervalTooLow",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [],
"name": "ReentrantCall",
"type": "error"
},
{
"inputs": [],
"name": "TooManySystemAddresses",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddress",
"type": "error"
},
{
"inputs": [],
"name": "ZeroTargetBalance",
"type": "error"
}
]
4 changes: 2 additions & 2 deletions snapshots/semver-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"sourceCodeHash": "0xcb329746df0baddd3dc03c6c88da5d6bdc0f0a96d30e6dc78d0891bb1e935032"
},
"src/L2/FeeDisburser.sol:FeeDisburser": {
"initCodeHash": "0x1278027e3756e2989e80c0a7b513e221a5fe0d3dbd9ded108375a29b2c1f3d57",
"sourceCodeHash": "0xac49a0ecf22b8a7bb3ebef830a2d27b19050f9b08941186e8563d5113cf0ce9c"
"initCodeHash": "0xad537c451b201a39abd40d8cb3a297e88eb492e43f720886b3e11c6be5f9dffe",
"sourceCodeHash": "0x58f5e74899c9e5b954dd29f2a44c5a6c374787df3806c5a4720298aea76f0e45"
},
"src/L2/GasPriceOracle.sol:GasPriceOracle": {
"initCodeHash": "0xf72c23d9c3775afd7b645fde429d09800622d329116feb5ff9829634655123ca",
Expand Down
21 changes: 21 additions & 0 deletions snapshots/storageLayout/FeeDisburser.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,26 @@
"offset": 0,
"slot": "1",
"type": "uint256"
},
{
"bytes": "32",
"label": "_disburseFeesEntered",
"offset": 0,
"slot": "2",
"type": "uint256"
},
{
"bytes": "32",
"label": "systemAddresses",
"offset": 0,
"slot": "3",
"type": "address payable[]"
},
{
"bytes": "32",
"label": "targetBalances",
"offset": 0,
"slot": "4",
"type": "uint256[]"
}
]
Loading
Loading