Baseswap staking position NFT

Verified contract

Active on Base with 409 txns
Deployed by via 0xa5f07510 at 2788041
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 $0.3
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xb690f8e46d1435b846d22db4fb827e9a7c7e38412705b298bf3a94b874994a50
0x1939f29e8c054e0e35e0c4369631ad358d4ac78d4fea478fcd98ab529b112700
0x1330c1f706f99bf16e32e56f6fe32768f6b9cbe7268ca6668798bf5fbcc933b7
0xc0cb1de35af8ec9a5265072bab5c1e17c38d251c92eafa144cd20299e37ae5ef
0xc36c94a82459d8d132e800b269e73ec8f7a9b9006ddc82d635097e8c63e563c2
0x69baa25101ecd585a5d3ff02d509510778f6110d930aafdb25c2bb8a8d3a1002
0x7d9aef6594aca4887d6bc43615e57369da274f367d9e3955a08f84ca35f9d437
0x562aed3772bc69e406117e70a03d059d4a95ec7158f06dcb00f48a5e4d985483
0xd13d0332d1a7d595c59b0e27b5967a7e2812cab0e8f1b019bd55e60776a93bc4
0xcfaa3c3dc1445066a87bb395ba046463d6543cf3c3c10fc20fb306e4a49bdbaa

Functions
Getter at block 22775111
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)
73
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)
2
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.