YouswapFactoryV1

Verified contract

Active on Ethereum with 1,154 txns
Deployed by via 0xae801c29 at 12113173
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x2b2cb20e04edde09189fac0bccc0369f971f77d71564ae1d80e0ed128c8dd1f1
0x6ef93387c65cf8d8c793c6c0d593287c18f7f020e59ff7c4304118a09591e034
0x41e1ab76288195db526af1e00e175257ad8feec0c1f0fe49f975ee13bfb6058f
0x1eb7da5eab5cb866726fa6681dd56da116e3edefa1360a7324872adeddd7bb3e
0x8bd6c404d80e5118c889fdd6e2d2dbf82e58391076cea6c88a336835dda81d0c
0xedb54c7882542008eeaa50fa58dd114ad00899098a1adda906d188fc231c2bac
0x3ea073889d68ffbec0508dda02a5122aa29e56c896d068c1593b5ff8633f889e
0xec749331639c03866d696fdd5212d8bdf9d477a748f167029dc822b52a04716e
0x6efd2308533de306dc048deb79a1ffc049bf443e877a7737bccffff15728a9ed
0xa8b2fd7b4e3555c6241efb916e0f992fc3fd50778c67b4862b06ad9f8b51e034

Functions
Getter at block 20913347
deployBlock(view returns (uint256)
12113173
invite(view returns (address)
0x25310873e310b270aec5113a2d3037fa94166969
invite1Reward(view returns (uint256)
15
invite2Reward(view returns (uint256)
10
inviteSelfReward(view returns (uint256)
5
owner(view returns (address)
0x6a02a11035136fb3ca55f163ed80eae2cee0057f
poolCount(view returns (uint256)
19
rewardPerBlock(view returns (uint256)
267094
rewardTotal(view returns (uint256)
5827821304194
you(view returns (address)
0x1d32916cfa6534d261ad53e2498ab95505bd2510
Read-only
operateOwner(addressview returns (bool)
pendingReward(uint256 _pooladdress _userview returns (uint256)
pledgeAddresss(uint256uint256view returns (address)
pledgeUserInfo(uint256addressview returns (uint256 startBlockuint256 amountuint256 invitePoweruint256 pledgePoweruint256 pendingRewarduint256 inviteRewardDebtuint256 pledgeRewardDebt)
poolInfos(uint256view returns (uint256 startBlockuint256 rewardTotaluint256 rewardProvideaddress lpuint256 amountuint256 lastRewardBlockuint256 rewardPerBlockuint256 totalPoweruint256 endBlockuint256 rewardPerShare)
poolNumbers(address _lpview returns (uint256[])
poolPledgeAddresss(uint256 _poolview returns (address[])
poolViewInfos(uint256view returns (address lpstring nameuint256 multipleuint256 priority)
powerScale(uint256 _pooladdress _userview returns (uint256)
rewardContribute(address _useraddress _lowerview returns (uint256)
rewardInfos(addressview returns (uint256 receiveRewarduint256 inviteRewarduint256 pledgeReward)
selfReward(address _userview returns (uint256)
State-modifying
addPool(string _nameaddress _lpuint256 _startBlockuint256 _rewardTotalreturns (bool)
deposit(uint256 _pooluint256 _amount
setInvite(address _invite
setMultiple(uint256 _pooluint256 _multiple
setName(uint256 _poolstring _name
setOperateOwner(address _addressbool _bool
setPriority(uint256 _pooluint256 _priority
setRewardPerBlock(uint256 _pooluint256 _rewardPerBlock
setRewardTotal(uint256 _pooluint256 _rewardTotal
setYou(address _you
transferOwnership(address _owner
withdraw(uint256 _pooluint256 _amount
Events
EndPool(uint256 pooladdress indexed lp
InviteRegister(address indexed self
Mint(uint256 pooladdress indexed lpuint256 amount
Stake(uint256 pooladdress indexed lpaddress indexed fromuint256 amount
UnStake(uint256 pooladdress indexed lpaddress indexed touint256 amount
UpdatePool(bool actionuint256 pooladdress indexed lpstring nameuint256 startBlockuint256 rewardTotaluint256 rewardPerBlockuint256 multipleuint256 priority
UpdatePower(uint256 pooladdress lpuint256 totalPoweraddress indexed owneruint256 ownerInvitePoweruint256 ownerPledgePoweraddress indexed upper1uint256 upper1InvitePoweraddress indexed upper2uint256 upper2InvitePower
WithdrawReward(uint256 pooladdress indexed lpaddress indexed touint256 amount
Constructor
constructor(address _youaddress _invite
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.