File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,19 @@ interface ArbWasmCache {
1919 /// @return managers the list of managers.
2020 function allCacheManagers () external view returns (address [] memory managers );
2121
22- /// @notice Caches all programs with the given codehash.
22+ /// @dev Deprecated, replaced with cacheProgram
23+ /// @notice Available in ArbOS version 30 only
24+ function cacheCodehash (
25+ bytes32 codehash
26+ ) external ;
27+
28+ /// @notice Caches all programs with a codehash equal to the given address.
2329 /// @notice Reverts if the programs have expired.
2430 /// @notice Caller must be a cache manager or chain owner.
2531 /// @notice If you're looking for how to bid for position, interact with the chain's cache manager contract.
26- /// @notice Available in ArbOS version 30.
27- function cacheCodehash (
28- bytes32 codehash
32+ /// @notice Available in ArbOS version 31 and above
33+ function cacheProgram (
34+ address addr
2935 ) external ;
3036
3137 /// @notice Evicts all programs with the given codehash.
Original file line number Diff line number Diff line change 11{
22 "name" : " @arbitrum/nitro-precompile-interfaces" ,
3- "version" : " 30 .0.0" ,
3+ "version" : " 31 .0.0" ,
44 "description" : " Solidity interfaces for Arbitrum Nitro precompiled contracts" ,
55 "author" : " Offchain Labs, Inc." ,
66 "license" : " BUSL-1.1" ,
You can’t perform that action at this time.
0 commit comments