Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

Beefy - Compound base

Verified contract

Proxy

Active on Base with 14 txns
Deployed by via 0x67e30540 at 9429713
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
11 additional variables
Native
Value $7.21
ERC-20
--
0x81805c73caae0ea1231eb672f36d0190b8cd4f43975afd2a0bebccc1c4d353b3
0x04a8534961d3c6510e3f2edf326ee6c97451c1b1e914044ff0e374da230f267c
0xc478abb9be3882ae470fc7c96788c8639a7cff993ca61818c8dba7fe65b5948c
0x47cfdcded083b82053df3a77158f1189f34a0758594971df32a08d6c2ede81b3
0x76d64e26f5d64f4c2a54ca0f316a3e44d2a7696408440635f7d6e76f06e3d5f2
0xac2f7257713daef1fb78f02ba1cea3475de021818f142beb70874feb282642c6
0x88343a5b7a49116700f2a379f2ba4355fa2f792ab10064b13f8921e787a740c7
0x25ffaff75d3e0cf9667fe620da7860b15fd1d0d55bc617a6dd45362c6c899ca1
0x10c2c23d5066c067978b15bcb9967fc2836f9e2a2ad94c7175a98a3db207bec3
0x4c92b7a3139fe2baf0e3c14641dc87780d83ae0dff78c35c41d8e786c8efd650

Functions
Getter at block 23610495
BEEFY_VAULT(view returns (address)
0xd7803d3bf95517d204cfc6211678cab223ac4c48
DEFAULT_PAYLOAD_SIZE_LIMIT(view returns (uint256)
10000
DEFAULT_SLIPPAGE(view returns (uint256)
9800
MAX_BPS(view returns (uint256)
10000
SECS_PER_YEAR(view returns (uint256)
31556952
balanceOfWant(view returns (uint256)
0
currentChainId(view returns (uint16)
184
delegatedAssets(view returns (uint256)
0
emergencyExit(view returns (bool)
false
 
estimatedTotalAssets(view returns (uint256)
feeThreshold(view returns (uint256)
1000000000000000000
harvester(view returns (address)
0x3c2792d5ea8f9c03e8e73738e9ed157aeb4fecbe
lastReport(view returns (uint256)
1708347657
lzEndpoint(view returns (address)
0xb6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
managementFee(view returns (uint256)
50
name(view returns (string)
Beefy - Compound base
owner(view returns (address)
0x942f39555d430efb3230dd9e5b86939eff185f0a
performanceFee(view returns (uint256)
500
precrime(view returns (address)
0x0000000000000000000000000000000000000000
sgBridge(view returns (address)
0x0cd5cda0e120f7e22516f074284e5416949882c2
sgRouter(view returns (address)
0xecc19e177d24551aa7ed6bc6fe566eca726cc8a9
slippage(view returns (uint256)
9800
strategist(view returns (address)
0x942f39555d430efb3230dd9e5b86939eff185f0a
strategistFee(view returns (uint256)
0
strategistSignMessageHash(view returns (bytes32)
0x9cefdeb7991576891739f7e232a0d3021f23bfa02504bf621a225a1b88e65613
treasury(view returns (address)
0xf4bec3e032590347fc36ad40152c7155f8361d39
vault(view returns (address)
0x2a889e9ef10c7bd607473aadc8c806c4511eb26f
vaultChainId(view returns (uint16)
110
want(view returns (address)
0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca
wantDecimals(view returns (uint8)
6
Read-only
failedMessages(uint16bytesuint64view returns (bytes32)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getEthSignedMessageHash(bytes32 _messageHashpure returns (bytes32)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
payloadSizeLimitLookup(uint16view returns (uint256)
trustedRemoteLookup(uint16view returns (bytes)
State-modifying
adjustPosition(uint256 _debtOutstanding
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
harvest(uint256 _totalDebtuint256 _debtOutstandinguint256 _creditAvailableuint256 _debtRatiobytes _signature
initialize(address _lzEndpointaddress _strategistaddress _harvesteraddress _wantaddress _vaultuint16 _strategyStargateChainIduint16 _vaultStargateChainIdaddress _sgBridgeaddress _routerstring _namePostfix
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
migrate(address _newStrategy
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
revokeFunds(
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setCurrentChainId(uint16 _newChainId
setEmergencyExit(bool _emergencyExit
setFeeThreshold(uint256 _threshold
setHarvester(address _harvester
setLzEndpoint(address _endpoint
setManagementFee(uint256 fee
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPerformanceFee(uint256 fee
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setSgBridge(address _sgBridge
setSgRouter(address _sgRouter
setSlippage(uint256 _slippage
setStrategist(address _strategist
setStrategistFee(uint256 fee
setTreasuryAddress(address _treasury
setTrustedRemote(uint16 _srcChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
setVault(address _newVaultuint16 _newChainId
sgReceive(uint16bytes _srcAddressuint256address _tokenuint256 _amountLDbytes _payload
sweepToken(address _token
transferOwnership(address newOwner
withdraw(uint256 _amountNeededreturns (uint256 _loss)
Events
AdjustedPosition(uint256 debtOutstanding
FeeGained(uint256 indexed totalFeeuint256 indexed managementFeeuint256 indexed performanceFee
Initialized(uint8 version
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
SgReceived(address indexed tokenuint256 amountaddress sender
StrategyMigrated(address newStrategy
StrategyReported(uint256 profituint256 lossuint256 debtPaymentuint256 giveToStrategyuint256 requestFromStrategyuint256 creditAvailableuint256 totalAssets
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AlreadyWithdrawn(
BaseStrategy__UnAcceptableFee(
DebtRatioShouldBeZero(
DurationIsZero(
IncorrectMessageType(uint256 messageType
InsufficientFunds(uint256 amountuint256 balance
InvalidEndpointCaller(
InvalidSignature(
NotAVault(
OnlyHarvester(
OnlyStrategist(
OnlyStrategistOrSelf(
OnlyStrategistOrVault(
RouterOrBridgeOnly(
TooHighSlippage(
VaultAddressMismatch(
VaultChainIdMismatch(