NFTPool

Verified contract

Active on Base with 1,604 txns
Deployed by via 0xff76155f at 7908228
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
4 additional variables
ERC-20
Value $345.09
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x5f16963c66d0307e1f2d10402890809d73dd4fba1bec70aa110c24f8adca141b
0x7d0fd68df0bf8ccbe1c582880e4e041e59da1109d6e406f652949897ec3147cd
0xcf534672069caaae28bc22e7f0c2fac99d88f1fd75a1a633dc8ed51e655d1005
0xdca103195e0e88580f7f20ad8b152ea721614082fb709e3ab788336c15c702da
0xd9212ca220f97f448a023cd2f1ba8aa7a6d3aeb87af53579ad5b61b25fe389f1
0x54f98c38dda20dd0c30a6f8b32e1063a466ac0e4194f0c65d043b06a9f04752f
0x3872b4a6326ca6d260675221f4ee588e6bb3a4565072a149dbef9ace7a4d72ab
0x0f16837193bb5ab3de9512d1ff0f82292e45783ae7ec0d55338fc618e1aa1901
0x559a228b14e918427a068fd35c46cd409c0faba7d4beffbd873f1186d387b28a
0xe647705b2324ef559ec44436399c7295a611de6f80e4664969065155039b0c4e

Functions
Getter at block 22898867
MAX_BOOST_MULTIPLIER_LIMIT(view returns (uint256)
15000
MAX_GLOBAL_MULTIPLIER_LIMIT(view returns (uint256)
25000
MAX_LOCK_MULTIPLIER_LIMIT(view returns (uint256)
15000
baseURI(view returns (string)
emergencyUnlock(view returns (bool)
false
factory(view returns (address)
0x1d23317069d9a01b99a2b755a4bb7528450198b8
getMultiplierSettings(view returns (uint256 maxGlobalMultiplieruint256 maxLockDurationuint256 maxLockMultiplieruint256 maxBoostMultiplier)
(maxGlobalMultiplier=20000, maxLockDuration=15811200, maxLockMultiplier=10000, maxBoostMultiplier=10000)
 
getPoolInfo(view returns (address lpTokenaddress protocolTokenaddress xTokenuint256 lastRewardTimeuint256 accRewardsPerShareuint256 accRewardsPerShareWETHuint256 lpSupplyuint256 lpSupplyWithMultiplieruint256 allocPointsuint256 allocPointsWETH)
hasDeposits(view returns (bool)
true
initialized(view returns (bool)
true
isUnlocked(view returns (bool)
false
lastTokenId(view returns (uint256)
139
master(view returns (address)
0x6fc0f134a1f20976377b259687b1c15a5d422b47
name(view returns (string)
Baseswap staking position NFT
operator(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xaf1823bacd8edda3b815180a61f8741fa4abc6dd
symbol(view returns (string)
spNFT
totalSupply(view returns (uint256)
43
xTokenRewardsShare(view returns (uint256)
8000
yieldBooster(view returns (address)
0x0f5433c9f1c2e86588304ed09bc79abecc89e0de
Read-only
balanceOf(address ownerview returns (uint256)
exists(uint256 tokenIdview returns (bool)
getApproved(uint256 tokenIdview returns (address)
getMultiplierByBoostPoints(uint256 amountuint256 boostPointsview returns (uint256)
getMultiplierByLockDuration(uint256 lockDurationview returns (uint256)
getStakingPosition(uint256 tokenIdview returns (uint256 amountuint256 amountWithMultiplieruint256 startLockTimeuint256 lockDurationuint256 lockMultiplieruint256 rewardDebtuint256 rewardDebtWETHuint256 boostPointsuint256 totalMultiplier)
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
pendingRewards(uint256 tokenIdview returns (uint256 mainAmountuint256 wethAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
addToPosition(uint256 tokenIduint256 amountToAdd
approve(address touint256 tokenId
boost(uint256 tokenIduint256 amount
createPosition(uint256 amountuint256 lockDuration
emergencyWithdraw(uint256 tokenId
harvestPosition(uint256 tokenId
harvestPositionTo(uint256 tokenIdaddress to
harvestPositionsTo(uint256[] tokenIdsaddress to
initialize(address master_address tokenaddress xTokenaddress lpToken
lockPosition(uint256 tokenIduint256 lockDuration
renewLockPosition(uint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setBoostMultiplierSettings(uint256 maxGlobalMultiplieruint256 maxBoostMultiplier
setEmergencyUnlock(bool emergencyUnlock_
setLockMultiplierSettings(uint256 maxLockDurationuint256 maxLockMultiplier
setOperator(address operator_
setXTokenRewardsShare(uint256 xTokenRewardsShare_
transferFrom(address fromaddress touint256 tokenId
unboost(uint256 tokenIduint256 amount
updatePool(
withdrawFromPosition(uint256 tokenIduint256 amountToWithdraw
Events
AddToPosition(uint256 indexed tokenIdaddress useruint256 amount
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
CreatePosition(uint256 indexed tokenIduint256 amountuint256 lockDuration
EmergencyWithdraw(uint256 indexed tokenIduint256 amount
HarvestPosition(uint256 indexed tokenIdaddress touint256 pendinguint256 pendingWETH
LockPosition(uint256 indexed tokenIduint256 lockDuration
PoolUpdated(uint256 lastRewardTimeuint256 accRewardsPerShareuint256 accRewardsPerShareWETH
SetBoost(uint256 indexed tokenIduint256 boostPoints
SetBoostMultiplierSettings(uint256 maxGlobalMultiplieruint256 maxBoostMultiplier
SetEmergencyUnlock(bool emergencyUnlock
SetLockMultiplierSettings(uint256 maxLockDurationuint256 maxLockMultiplier
SetOperator(address operator
SetUnlockOperator(address operatorbool isAdded
SetXTokenRewardsShare(uint256 xTokenRewardsShare
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
WithdrawFromPosition(uint256 indexed tokenIduint256 amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.