GStakingManager

Verified contract

Active on Ethereum with 1,633 txns
Deployed by via 0x0e8f58b9 at 14080801
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x41c6e7a1a7ef6b1e9e133aaeb0e242ff69920b708ec21aabfb8415c33732622d
0x2aa8e051ce8cf9197460f267f8c15becaae67985f3a935738159fbb7108be7d5
0x3df53d0187594e136b3436f87727bc3746cbd8574ab40847c13003837ea6e8e0
0xe7e8c3333d2184dfdf9de412d30b6c3e16c05188b92ba4d1bf05d8e2c17331e5
0x7eb590b4d44734c90da12e89007a9bbb617c7b15025c6ae40d7137fa014c9a11
0xd0dda19a882773ce0983ac75193dcc5d044f82d767c2965139086060e6808826
0x658cb70d73f2e59199c6640cc4a931c5a48221b2fcbdf3cb2d70b21a949ceb53
0xbbee2843309aa9788b065e8083ffea98bfb4451550c9161d55e81f7355e1a30a
0x8c798a5b03c091a3f154e988d10062bd5efaf882d4e51a679c414da6e359f70e
0x459c1e6649fb85f0e2622b95be47a8d97a85d16b3062b995493796bd90f8895e

Functions
Getter at block 21186043
BIG_GUARDIAN_ROLE(view returns (bytes32)
0x05c653944982f4fec5b037dad255d4ecd85c5b85ea2ec7654def404ae5f686ec
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOLD_PIVOT(view returns (uint256)
8640000
GUARDIAN_ROLE(view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
MAX_FAUCET(view returns (uint256)
50
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
PERCENT(view returns (uint256)
10000
SILVER_PIVOT(view returns (uint256)
4320000
USDC_THRESHOLD(view returns (uint256)
1000000000
feeTo(view returns (address)
0xc588a788c4fc3e74d800871f84dec64ae4f9ca38
firstStakingFee(view returns (uint256)
4000000000000000
gpoolRewardPercent(view returns (uint256)
5000
gpoolToken(view returns (address)
0x797de1dc0b9faf5e25c1f7efe8df9599138fa09d
oracle(view returns (address)
0x0f1f5a87f99f0918e6c81f16e59f3518698221ff
positionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
totalGpoolStaked(view returns (uint256)
101464660338135275178715601
totalNFTStaked(view returns (uint256)
0
twapPeriod(view returns (uint32)
1
uniswapFactory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
usdc(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
vault(view returns (address)
0x5f051777e4974e64592354b16ed7ca904b9f004e
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getAmountFromTokenId(uint256 tokenIdview returns (struct GStakingManagerNFTInfo)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTier(address userview returns (uint8)
getTotalStake(uint8 stakeTypeview returns (uint256)
gpoolInUSDC(uint256 gpoolAmountview returns (uint256)
hadStake(addressview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
lockTime(addressview returns (uint256)
lockingAmounts(uint256addressview returns (address rewardTokenuint256 amount)
nftRecords(addressuint256view returns (uint256)
pendingReward(uint256 pidaddress userAddressview returns (uint256)
poolInfo(uint256view returns (address rewardTokenuint256 openTimeuint256 closeTimeuint128 chainIduint8 poolType)
poolTypes(uint8uint256view returns (uint256)
rewardInfo(uint256addressview returns (uint256 pendingReward)
stakeInfo(addressview returns (uint256 amountuint256 startStakeuint256 nftInGpoolAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenInGpool(address tokenuint256 amountview returns (uint256)
State-modifying
claimAll(uint256[] pids
claimLockedReward(uint256 pidreturns (uint256)
claimReward(uint256 pidreturns (uint256)
createPool(address rewardTokenuint256 totalRewarduint256 openTimeuint256 closeTimeuint8 poolTypeuint128 chainId
grantRole(bytes32 roleaddress account
massUpdatePools(
renounceRole(bytes32 roleaddress account
requestTokens(uint256 amount
revokeRole(bytes32 roleaddress account
setDateStake(struct GStakingManagerSetDateParam[] params
setTiers(struct GStakingManagerSetTierParam[] params
setTwapPeriod(uint32 _twapPeriod
stake(uint256 amountpayable 
stakeNFT(uint256 tokenIdpayable 
transferBigGuardian(address _newGuardian
unstake(uint256 amount
unstakeNFT(uint256 tokenId
updateFirstStakingFee(uint256 _feeaddress _feeTo
updatePool(uint256 piduint8 stakeType
updatePoolReward(uint256 piduint256 amountReward
updatePoolRewardRate(uint256 _gpoolRewardPercent
updatePoolTime(uint256 piduint256 startTimeuint256 endTime
updateVaultAddress(address _vault
withdrawReward(address tokenuint256 amount
Events
ClaimLockedReward(address senderuint256 poolIduint256 amount
ClaimReward(address senderuint256 poolIduint256 amount
CreatePool(uint256 poolIduint8 poolTypeuint128 chainIdaddress rewardTokenuint256 totalRewarduint256 openTimeuint256 closeTime
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetDate(address accountuint8 tieruint256 startDate
SetTier(address accountuint8 tieruint256 startStake
Stake(address senderuint256 amountuint256 startStake
StakeNFT(address senderuint256 tokenIduint256 amountuint256 startStake
Unstake(address senderuint256 amountuint256 startStake
UnstakeNFT(address senderuint256 tokenIduint256 amountuint256 startStake
UpdateFirstStakingFee(uint256 _feeaddress _feeTo
UpdatePoolReward(uint256 poolIduint256 amountReward
UpdatePoolRewardRate(uint256 oldRateuint256 newRate
UpdatePoolTime(uint256 poolIduint256 startTimeuint256 endTime
VaultUpdated(address oldVaultaddress newVault
Constructor
constructor(address _vaultaddress _oracleaddress _gpoolTokenaddress _usdcaddress _wethaddress _positionManageraddress _uniswapFactoryaddress _feeTouint256 _firstStakingFeeaddress[] _admins
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.