MGHPublicOffering
Verified contract
Implementation
Active on
Ethereum with 180 txns
Storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
0x5f4e…8419
0x8765…3656
Balances ($0.00)
No balances found for "MGHPublicOffering"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13671951 | 3 years ago | | | 0.058896697 | 0.0025858000 | |
0x | 13570810 | 3 years ago | | | 0 | 0.0017967123 | |
| 13516193 | 3 years ago | | | 0.1093824 | 0.0025858000 | |
0x | 13512545 | 3 years ago | | | 0 | 0.0045685709 | |
| 13510626 | 3 years ago | | | 0.089 | 0.0025858000 | |
| 13510512 | 3 years ago | | | 0.82750202 | 0.0025858000 | |
| 13508499 | 3 years ago | | | 0.18 | 0.011666527 | |
| 13508206 | 3 years ago | | | 0.25520529 | 0.016241241 | |
| 13504494 | 3 years ago | | | 0.1 | 0.0063235000 | |
| 13500675 | 3 years ago | | | 0 | 0.016041960 |
ABI
ABI objects
Getter at block 20807043
endBlock() view returns (uint256)
13508862
getLatestEthPrice() view returns (int256)
256440040000
lpToken() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
offeringToken() view returns (address)
0x8765b1a0eb57ca49be7eacd35b24a574d0203656
owner() view returns (address)
0x2a9da28bcbf97a8c008fd211f5127b860613922d
startBlock() view returns (uint256)
13418594
viewPoolInformation() view returns (uint256, uint256, uint256)
(6000000000000000000000000, 10000000000000, 462657907985)
Read-only
viewUserAmount(address _user) view returns (uint256)
viewUserOfferingAmount(address _user) view returns (uint256)
State-modifying
Events deposit(uint256 _amount) payable
finalWithdraw(uint256 _lpAmount, uint256 _offerAmount, uint256 _weiAmount)
harvest()
initialize(address _lpToken, address _offeringToken, address _priceFeed, address _adminAddress, uint256 _offeringAmount, uint256 __price, uint256 _startBlock, uint256 _endBlock, uint256 _harvestBlock)
recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount)
renounceOwnership()
setPool(uint256 _offeringAmount, uint256 __price)
setToken(address _lpToken, address _offering)
transferOwnership(address newOwner)
updateStartAndEndBlocks(uint256 _startBlock, uint256 _endBlock, uint256 _harvestBlock)
AdminTokenRecovery(address tokenAddress, uint256 amountTokens)
AdminWithdraw(uint256 amountLP, uint256 amountOfferingToken, uint256 amountWei)
Deposit(address indexed user, uint256 amount)
Harvest(address indexed user, uint256 offeringAmount)
NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolParametersSet(uint256 offeringAmount, uint256 price)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.