Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
0x647f…cb88
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
BaseLP | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LiquidityPool"
ABI
ABI objects
Getter at block 23288494 getAllPoolViews() view returns (struct LiquidityPoolPoolView[])
base() view returns (address)
0x647fc2d8b7587b036a93a98d6612a9ecefd3cb88
basePerBlock() view returns (uint256)
100000000000000000000000
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(address) view returns (uint256)
getBaseBlockReward(uint256 _lastRewardBlock) view returns (uint256)
getBasePerBlock(uint256 blockNumber) view returns (uint256)
getPairs(uint256 _index) view returns (address)
getPoolView(uint256 pid) view returns (struct LiquidityPoolPoolView)
getPoolViewByAddress(address lpToken) view returns (struct LiquidityPoolPoolView)
getUserAsset(address _user, address _asset) view returns (uint256)
getUserAvailableAsset(address _user, address _asset) view returns (uint256)
getUserView(address lpToken, address account) view returns (struct LiquidityPoolUserView)
getUserViews(address account) view returns (struct LiquidityPoolUserView[])
pendingBase(uint256 _pid, address _user) view returns (uint256)
phase(uint256 blockNumber) view returns (uint256)
poolInfo(uint256) view returns (address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accBasePerShare, uint256 totalAmount, uint256 allocBaseAmount, uint256 accBaseAmount)
userInfo(uint256, address) view returns (uint256 amount, uint256 rewardDebt, uint256 accBaseAmount)
State-modifying
Events add(uint256 _allocPoint, address _lpToken, bool _withUpdate)
approve(address _spender, address _asset, uint256 _amount) returns (bool)
deposit(uint256 _pid, uint256 _amount)
emergencyWithdraw(uint256 _pid)
freezeAsset(address _user, address _asset, uint256 _amount) returns (bool)
harvestAll()
massUpdatePools()
renounceOwnership()
set(uint256 _pid, uint256 _allocPoint, bool _withUpdate)
setBasePerBlock(uint256 _newPerBlock)
setHalvingPeriod(uint256 _block)
transferFrom(address _from, address _receiver, address _asset, uint256 _amount) returns (bool)
transferOwnership(address newOwner)
unfreezeAsset(address _user, address _asset, uint256 _amount) returns (bool)
updatePool(uint256 _pid)
withdraw(uint256 _pid, uint256 _amount)
Approve(address indexed _owner, address indexed _spender, address indexed _asset, uint256 _amount)
Deposit(address indexed user, uint256 indexed pid, uint256 amount)
EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
FreezeAsset(address indexed _user, address indexed _asset, uint256 _amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
TransferFrom(address indexed _from, address indexed _receiver, address indexed _asset, uint256 _amount)
UnfreezeAsset(address indexed _user, address indexed _asset, uint256 _amount)
Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
constructor(address _base, uint256 _basePerBlock, uint256 _startBlock)
This contract contains no fallback and receive objects.
This contract contains no error objects.