LiquidityPool

Verified contract

Active on Base with 0 txns
Deployed by via 0x0c2e337b at 2647926
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--

No transactions found for "LiquidityPool"


Functions
Getter at block 23288494
base(view returns (address)
0x647fc2d8b7587b036a93a98d6612a9ecefd3cb88
basePerBlock(view returns (uint256)
100000000000000000000000
 
getAllPoolViews(view returns (struct LiquidityPoolPoolView[])
getAllPools(view returns (struct LiquidityPoolPoolInfo[])
[(0x708fe3bd57e6b6288cdd454a72abb9cb2cdfecf9, 50, 3352518, 35000000000266726856648972063, 1000, 1984931054, 15400000000000001911552568)]
getPairsLength(view returns (uint256)
1
getPoolLength(view returns (uint256)
1
halvingPeriod(view returns (uint256)
3952800
owner(view returns (address)
0xfe0e16e59015133bf8afde827a0f7a7b3183d6e8
startBlock(view returns (uint256)
2647786
totalAllocPoint(view returns (uint256)
50
Read-only
LpOfPid(addressview returns (uint256)
getBaseBlockReward(uint256 _lastRewardBlockview returns (uint256)
getBasePerBlock(uint256 blockNumberview returns (uint256)
getPairs(uint256 _indexview returns (address)
getPoolView(uint256 pidview returns (struct LiquidityPoolPoolView)
getPoolViewByAddress(address lpTokenview returns (struct LiquidityPoolPoolView)
getUserAsset(address _useraddress _assetview returns (uint256)
getUserAvailableAsset(address _useraddress _assetview returns (uint256)
getUserView(address lpTokenaddress accountview returns (struct LiquidityPoolUserView)
getUserViews(address accountview returns (struct LiquidityPoolUserView[])
pendingBase(uint256 _pidaddress _userview returns (uint256)
phase(uint256 blockNumberview returns (uint256)
poolInfo(uint256view returns (address lpTokenuint256 allocPointuint256 lastRewardBlockuint256 accBasePerShareuint256 totalAmountuint256 allocBaseAmountuint256 accBaseAmount)
userInfo(uint256addressview returns (uint256 amountuint256 rewardDebtuint256 accBaseAmount)
State-modifying
add(uint256 _allocPointaddress _lpTokenbool _withUpdate
approve(address _spenderaddress _assetuint256 _amountreturns (bool)
deposit(uint256 _piduint256 _amount
emergencyWithdraw(uint256 _pid
freezeAsset(address _useraddress _assetuint256 _amountreturns (bool)
harvestAll(
massUpdatePools(
renounceOwnership(
set(uint256 _piduint256 _allocPointbool _withUpdate
setBasePerBlock(uint256 _newPerBlock
setHalvingPeriod(uint256 _block
transferFrom(address _fromaddress _receiveraddress _assetuint256 _amountreturns (bool)
transferOwnership(address newOwner
unfreezeAsset(address _useraddress _assetuint256 _amountreturns (bool)
updatePool(uint256 _pid
withdraw(uint256 _piduint256 _amount
Events
Approve(address indexed _owneraddress indexed _spenderaddress indexed _assetuint256 _amount
Deposit(address indexed useruint256 indexed piduint256 amount
EmergencyWithdraw(address indexed useruint256 indexed piduint256 amount
FreezeAsset(address indexed _useraddress indexed _assetuint256 _amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TransferFrom(address indexed _fromaddress indexed _receiveraddress indexed _assetuint256 _amount
UnfreezeAsset(address indexed _useraddress indexed _assetuint256 _amount
Withdraw(address indexed useruint256 indexed piduint256 amount
Constructor
constructor(address _baseuint256 _basePerBlockuint256 _startBlock
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.