forked from OffchainLabs/nitro
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from OffchainLabs/proxy-cache-manager
Upgradeable cache manager
- Loading branch information
Showing
7 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"cacheSize()": "674a64e0", | ||
"decay()": "54fac919", | ||
"entries(uint256)": "b30906d4", | ||
"evictAll()": "5c32e943", | ||
"evictPrograms(uint256)": "cadb43e2", | ||
"getEntries()": "17be85c3", | ||
"getMinBid(address)": "32052a9b", | ||
"getMinBid(bytes32)": "c565a208", | ||
"getMinBid(uint64)": "d29b303e", | ||
"getSmallestEntries(uint256)": "e9c1bc0f", | ||
"initialize(uint64,uint64)": "20f2f345", | ||
"isPaused()": "b187bd26", | ||
"makeSpace(uint64)": "c1c013c4", | ||
"paused()": "5c975abb", | ||
"placeBid(address)": "e4940157", | ||
"queueSize()": "bae6c2ad", | ||
"setCacheSize(uint64)": "2dd4f566", | ||
"setDecayRate(uint64)": "c77ed13e", | ||
"sweepFunds()": "a8d6fe04", | ||
"unpause()": "3f4ba83a" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| Name | Type | Slot | Offset | Bytes | Contract | | ||
|---------------|-----------------------------|------|--------|-------|-----------------------------------------| | ||
| _initialized | bool | 0 | 0 | 1 | src/chain/CacheManager.sol:CacheManager | | ||
| _initializing | bool | 0 | 1 | 1 | src/chain/CacheManager.sol:CacheManager | | ||
| bids | struct MinHeapLib.Heap | 1 | 0 | 32 | src/chain/CacheManager.sol:CacheManager | | ||
| entries | struct CacheManager.Entry[] | 2 | 0 | 32 | src/chain/CacheManager.sol:CacheManager | | ||
| cacheSize | uint64 | 3 | 0 | 8 | src/chain/CacheManager.sol:CacheManager | | ||
| queueSize | uint64 | 3 | 8 | 8 | src/chain/CacheManager.sol:CacheManager | | ||
| decay | uint64 | 3 | 16 | 8 | src/chain/CacheManager.sol:CacheManager | | ||
| isPaused | bool | 3 | 24 | 1 | src/chain/CacheManager.sol:CacheManager | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters