SubscriptionAndPledge

Verified contract

Active on Ethereum with 110 txns
Deployed by via 0x68fffa4d at 14903914
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 1 additional slot
-
variable spans 2 additional slots
3 additional variables
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0x754e34c3d49ac0595110459a7d93bbb88630fd461c8543cab385ad07820bf1a5
0xd182864d8b4481100d3f3e7b736669d0d5baa92cdf22dcab408884a8625cc3f5
0x6d2575da8f50c4ec122dc25f8b1a57a89d3d9c91c05c33673ce71ff12238990e
0xd8a147a9b9ffc5f0c815fdadb7a289d8d4cc4f18e876ec78903c5d7fcbc8ba7d
0xbc6cdb7310c8f7c7aba73861beb8db37c49115c6fb5d8beca5e7df915b38aba2
0xc044232a5d2460a9fa18eba4715513dc1a548d749d8d2ee34575f6ee9121f340
0xf9aadb7da06289094ca78f17be588f847271a687e63c6c5ce997705890e2b09d
0xc2a89388d1d89440716070b8c332718a6d548a44a9921c8339ff94f043cbad11
0x496bfaa5f4399b305fc53f7bdddd57adde92f7dc822bf3baac4bfe83e9076838
0x730621f90fe35bf60f00679b0fcb16e7e9933c4ba259b9c5a56a0648c4b8eeec

Functions
Getter at block 21187958
_baseToken(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_pool(view returns (address)
0x0a33aa6b33f109099d78f75e4afb94243d2b0f66
_quoteToken(view returns (address)
0xaac62c7816bd274dd1587540bdb5bef84e096152
_wethToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
daoNFT(view returns (address)
0x8e22d541dee9ccf303a6870f775c3a5d4a2d8a7d
getDaoDiscount(view returns (uint256uint256uint256)
(90, 95, 98)
getDaoNFT(view returns (address)
0x8e22d541dee9ccf303a6870f775c3a5d4a2d8a7d
getLpRates(view returns (uint8[4])
[9, 12, 15, 20]
lockinfo(view returns (uint256 totalRewarduint256 daoStartDay)
(totalReward=200000000000000, daoStartDay=1654356919)
owner(view returns (address)
0x314dfa1e0b1261316a36becb4a4e1f591e468524
totalBondAmount(view returns (uint256)
696497343904
totalSupply(view returns (uint256[4])
[0, 1114200000000, 4159989247298, 23199762800717]
uniSwapNft(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
uniswapV3Factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
Read-only
balanceOf(address accountuint8 _lockTypeview returns (uint256)
exchange(uint32 _periodaddress _inTokenuint128 _inAmountaddress _outTokenview returns (uint256)
generalExchange(uint32 _periodaddress _inTokenuint128 _inAmountaddress _outTokenview returns (uint256)
getAmountsForLiquidity(address token0address token1uint24 feeint24 tickLowerint24 tickUpperuint128 liquidityview returns (uint256 amount0uint256 amount1)
getAmountsForLiquidityNew(uint256 tokenIdview returns (uint256 amount0uint256 amount1)
getBonds(address _holderview returns (struct BondInfo)
getBondsReward(address _holderview returns (uint256 unlockAmountuint256 leftAmountuint256 takedAmountuint256 origAmountuint256 discountuint256 startDaybool isLP)
getFeesForLiquidity(uint256 tokenIdview returns (uint256 fee0uint256 fee1)
getLiquidty(uint256 tokenIdview returns (addressaddressuint24int24int24uint128)
getLpInfos(address _holderuint8 _lockTypeview returns (struct LpStakeInfo[])
getLpLineReward(address _holderuint8 _lockTypeview returns (uint256[4] stakedAmountuint256[4] realRewardAmountuint256[4] targetRewardAmountuint256 startDayuint8 lockType)
queryLpByTokenId(uint256 _tokenIdview returns (uint256uint256)
quote2usdc(uint128 _inAmountview returns (uint256)
usdc2quote(uint128 _inAmountview returns (uint256)
weth2usdc(uint128 _inAmountview returns (uint256)
State-modifying
bonds(uint128 _amountreturns (bool)
bondsLP(uint128 _amountreturns (bool)
notifyRewardAmount(uint256 _rewardaddress _pool1
onERC721Received(address operatoraddress fromuint256 tokenIdbytes datareturns (bytes4)
renounceOwnership(
setBenefitAmount(uint256 _amount
setBondAmount(uint256 _minuint256 _high
setMaxStakeAmount(uint256 _amount
stakeLP(uint256 _tokenIduint8 _lockTypereturns (bool)
stakeSingle(uint256 _amountuint8 _lockTypereturns (bool)
transferOwnership(address newOwner
updateDaoDiscount(uint256 _dis1uint256 _dis2uint256 _dis3
updateLpRate(uint8 _r1uint8 _r2uint8 _r3uint8 _r4
updateNFT(address _nft
updateQuote(address _quote
updateUsdc(address _usdc
withdrawBonds(returns (bool)
withdrawFunds(uint256 _amount
withdrawLP(uint8 _lockTypereturns (bool)
withdrawLPandLP(uint8 _lockTypereturns (bool)
Events
Bonded(address indexed _fromuint256 _amount
EthBonded(address indexed _fromuint256 _amount
LpStaked(address indexed _fromuint256 _tokenIduint8 _perioduint256 _amount1uint256 _amount2
OnNFTTokenReceived(address indexed _operatoraddress indexed _fromuint256 _tokenIdbytes _data
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TokenSingleStaked(address indexed _fromuint256 _amountuint16 _period
WithdrawAllLP(address indexed _fromuint256 _amount
WithdrawAndLP(address indexed _fromuint256 _amount
WithdrawBond(address indexed _fromuint256 _amount
Constructor
constructor(address _quoteaddress _base
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.