StrategyBaseSwap

Verified contract

Implementation

Active on Base with 258 txns
Deployed by via 0xdecc230e at 3271551
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 48 additional slots
9 additional variables
ERC-20
Value $0.07
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
 (#240)
ERC-721
--
 (#239)
ERC-721
--
 (#238)
ERC-721
--
ERC-20
--
0x4861552fbcabd160f2c49f1213b5c983d0d6075d90aa2b9afa53f790f0f371cb
0x2d3feb9b0080cd94c2d1405b59bc2ecc890e0cfde7dd513b64f5baaef6487d10
0xdb51fffc82a70937c65a71beca85f5abd4bb3c9187be1aa918ca52829867ea88
0xd88e6a7b0bb6ae47f75518365ddbbeaa80845f75b7cf6176aa15ee4308c33650
0x0ee9b91b2a7957bb1f06b9a4ecaa80d62f05282755ff4ccd4170d212a68572cc
0x54cb20a2a693ea24ec0b861f9fc4af1d6ad86589b5cc44b64c9ebb4ed7cfeabd
0x0651af4d485a5088330363c26bf7471e00cbd8bf326648ab2a91990e21c807b7
0x0bd5d43d118eede0506578a6fdcf5f8fc162946da322661c82a8dca4452911e6
0x012b2a313df71375bcfcb1dc8a057fa3c85839dda5b3a1880154f85cb8068885
0x3bfaa1ab730357f9a6843adb31dcf07811a77039aa36c27da2d062ad6d352e9e

Functions
Getter at block 23190905
WITHDRAWAL_FEE_CAP(view returns (uint256)
50
WITHDRAWAL_MAX(view returns (uint256)
10000
 
balanceOf(view returns (uint256)
balanceOfPool(view returns (uint256)
7397873692985670205
balanceOfWant(view returns (uint256)
0
beefyFeeConfig(view returns (address)
0xfc69704cc3caac545cc7577009ea4aa04f1a61eb
beefyFeeRecipient(view returns (address)
0x02ae4716b9d5d48db1445814b0ede39f5c28264b
 
callReward(view returns (uint256)
depositFee(view returns (uint256)
0
duration(view returns (uint256)
86400
escrowToken(view returns (address)
0xe4750593d1fc8e74b31549212899a72162f315fa
 
getAllFees(view returns (struct IFeeConfigAllFees)
getStratFeeId(view returns (uint256)
0
harvestOnDeposit(view returns (bool)
true
keeper(view returns (address)
0x4fed5491693007f0cd49f4614ffc38ab6a04b619
lastHarvest(view returns (uint256)
1733139889
lastVestCall(view returns (uint256)
1733139889
lockedProfit(view returns (uint256)
9261781630266
lpToken0(view returns (address)
0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22
lpToken1(view returns (address)
0x4200000000000000000000000000000000000006
native(view returns (address)
0x4200000000000000000000000000000000000006
nativeToLp0(view returns (address[])
[0x4200000000000000000000000000000000000006, 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22]
nativeToLp1(view returns (address[])
[0x4200000000000000000000000000000000000006]
nft(view returns (address)
0x858a8b8143f8a510f663f8eef31d9bf1fb4d986f
output(view returns (address)
0xd5046b976188eb40f6de40fb527f89c05b323385
outputToNative(view returns (address[])
[0xd5046B976188EB40f6DE40fB527F89c05b323385, 0x4200000000000000000000000000000000000006]
owner(view returns (address)
0x3b60f7f25b09e71356cdffc6475c222a466a2ac9
paused(view returns (bool)
false
rewardToNative(view returns (address[][])
[[[0x78a087d713Be963Bf307b18F2Ff8122EF9A63ae9, 0x4200000000000000000000000000000000000006]]]
 
rewardsAvailable(view returns (uint256)
strategist(view returns (address)
0x4cc72219fc8aef162fc0c255d9b9c3ff93b10882
tokenId(view returns (uint256)
240
totalLocked(view returns (uint256)
14514581964286
unirouter(view returns (address)
0x327df1e6de05895d2ab08513aadd9313fe505d86
vault(view returns (address)
0x6dd2abbbbbf494dd2454aed67880b9533e2b3da1
vestingLength(view returns (uint256)
1296000
vestingRewards(view returns (bool)
true
want(view returns (address)
0x07cfa5df24fb17486af0cbf6c910f24253a674d3
withdrawFee(view returns (uint256)
0
Read-only
nativeToLp0Route(uint256view returns (address)
nativeToLp1Route(uint256view returns (address)
onERC721Received(addressaddressuint256bytesview returns (bytes4)
onNFTAddToPosition(addressuint256uint256view returns (bool)
onNFTHarvest(addressaddressuint256uint256uint256uint256view returns (bool)
onNFTWithdraw(addressuint256uint256view returns (bool)
outputToNativeRoute(uint256view returns (address)
rewardToNativeRoute(uint256uint256view returns (address)
State-modifying
addRewardRoute(address[] _rewardToNativeRoute
beforeDeposit(
deposit(
harvest(
harvest(address callFeeRecipient
initialize(address _nftaddress[] _outputToNativeRouteaddress[] _nativeToLp0Routeaddress[] _nativeToLp1Routestruct StratFeeManagerInitializableCommonAddresses _commonAddresses
managerHarvest(
panic(
pause(
removeLastRewardRoute(
renounceOwnership(
retireStrat(
setBeefyFeeConfig(address _beefyFeeConfig
setBeefyFeeRecipient(address _beefyFeeRecipient
setHarvestOnDeposit(bool _harvestOnDeposit
setKeeper(address _keeper
setStratFeeId(uint256 _feeId
setStrategist(address _strategist
setUnirouter(address _unirouter
setVault(address _vault
setVestingRewards(bool _vestingRewardsuint256 _vestingLength
setWithdrawalFee(uint256 _fee
transferOwnership(address newOwner
unpause(
withdraw(uint256 _amount
Events
ChargedFees(uint256 callFeesuint256 beefyFeesuint256 strategistFees
Deposit(uint256 tvl
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
SetBeefyFeeConfig(address beefyFeeConfig
SetBeefyFeeRecipient(address beefyFeeRecipient
SetKeeper(address keeper
SetStratFeeId(uint256 feeId
SetStrategist(address strategist
SetUnirouter(address unirouter
SetVault(address vault
SetWithdrawalFee(uint256 withdrawalFee
StratHarvest(address indexed harvesteruint256 wantHarvesteduint256 tvl
Unpaused(address account
Withdraw(uint256 tvl
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.