LightMain

Verified contract

Active on Ethereum with 14,362 txns
Deployed by via 0x126d7852 at 10987722
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $4.58
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xea7bc1954e0fc5541daddcce8259a6ca5a9415e3449951c3c3c329ba03404980
0x5100400650b140694dbb521eb50993c415415cd9b178b829ea93ebba61d91f68
0x7347ebbae62582096812084ba6542a282380b04a51b85696688b9cfa7ea54d44
0x080eddf31d2228da2b39de64a1d378662cce3f44738ee2136134b97b7a7aaaea
0x396e563ffc2136802fa292bc1661dc82a2a400b11b37bc9a5c63f707070b6415
0xd03f5a9e92c59de9967157568a1f7645f9cd7e9c8830eae33e3e129a1b2816a7
0xd3465940833273ff327c0c0a817c933ae6f9458be4c80973e906f78544482fa7
0xa4ee496935d4651a00337543c800cc91dd6ea85cf5a245205560507fcfb48c9b
0xd8d1b47177e679a1778d9faa1fa3d7d49bb483db892a78fcb1940d9c565ae07f
0x5682c749c78414222c30fffe416ee7525da518621412ecc343463745da0a7417

Functions
Getter at block 21264497
MinMinters(view returns (uint256)
20
buyBackContract(view returns (address)
0x3d177f65c3019f0c906a76b7f973e8186aa5f02f
createAreaFee(view returns (uint256)
1000000000000000000
getBlockRewardNow(view returns (uint256)
0
halfPeriod(view returns (uint256)
44800
light(view returns (address)
0x0dbb4b96a23ea7943bb72a8f16cc2c248f372935
lightPerBlock(view returns (uint256)
500000000000000000
maxBlocks(view returns (uint256)
192000
maxSupply(view returns (uint256)
42000000000000000000000
migrator(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xd0fa6c55db855ed8538cffa341435edd87b0b483
poolLength(view returns (uint256)
13
slavePoolLength(view returns (uint256)
9
slaveTotalAllocPoint(view returns (uint256)
125000
startBlock(view returns (uint256)
10989800
totalAllocPoint(view returns (uint256)
100000
Read-only
areaInfo(uint256uint256view returns (address creatoruint256 creationBlockuint256 membersuint256 amountuint256 rewardDebtstring name)
areaLength(uint256 _pidview returns (uint256)
getBlockReward(uint256 numberuint8 regionview returns (uint256)
getBlockRewards(uint256 fromuint256 touint8 regionview returns (uint256)
pendingLight(uint256 _pidaddress _userview returns (uint256)
poolInfo(uint256view returns (address lpTokenuint256 allocPointuint256 lastRewardBlockuint256 accLightPerSharebool lock)
slavePendingLight(uint256 _pidaddress _userview returns (uint256)
slavePendingLightByAid(uint256 _piduint256 _aidaddress _userview returns (uint256)
slavePendingLightForCreator(uint256 _pidaddress _userview returns (uint256)
slavePendingLightForCreatorByAid(uint256 _piduint256 _aidaddress _userview returns (uint256)
slavePoolInfo(uint256view returns (address lpTokenuint256 allocPointuint256 lastRewardBlockuint256 minerAccLightPerShareuint256 creatorAccLightPerShareuint256 totalBadAreaBalanceuint256 ethForBuyBack)
slaveUserInfo(uint256addressview returns (uint256 aiduint256 amountuint256 rewardDebtuint256 accReward)
userInfo(uint256addressview returns (uint256 amountuint256 rewardDebtuint256 accReward)
State-modifying
add(uint256 _allocPointaddress _lpTokenbool _withUpdatebool _lock
addSlavePool(uint256 _allocPointaddress _lpTokenbool _withUpdate
createArea(uint256 _pidstring _namepayable 
deposit(uint256 _piduint256 _amount
emergencyWithdraw(uint256 _pid
manualBuyBack(uint256 _pid
massUpdatePools(uint8 region
migrate(uint256 _piduint8 regionuint8 platform
renounceOwnership(
set(uint256 _piduint256 _allocPointbool _withUpdate
setBuyBackContract(address _buyBackContract
setMigrator(address _migrator
setSlavePool(uint256 _piduint256 _allocPointbool _withUpdate
shareLightForCreators(uint256 _piduint256 _amount
slaveDeposit(uint256 _piduint256 _aiduint256 _amount
slaveEmergencyWithdraw(uint256 _pid
slaveWithdraw(uint256 _piduint256 _amount
transferOwnership(address newOwner
updatePool(uint256 _pid
updateSlavePool(uint256 _pid
withdraw(uint256 _piduint256 _amount
Events
Deposit(address indexed useruint256 indexed piduint256 amount
EmergencyWithdraw(address indexed useruint256 indexed piduint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SlaveDeposit(address indexed useruint256 indexed piduint256 amount
SlaveEmergencyWithdraw(address indexed useruint256 indexed piduint256 amount
SlaveWithdraw(address indexed useruint256 indexed piduint256 amount
Withdraw(address indexed useruint256 indexed piduint256 amount
Constructor
constructor(address _lightuint256 _createAreaFeeuint256 _lightPerBlockuint256 _startBlockuint256 _halfPerioduint256 _maxBlocksuint256 _maxSupply
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.