forked from fontcommunity/FontStaking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
staking.txt
76 lines (54 loc) · 1.68 KB
/
staking.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Font staking
Fixed time.
Tax on early withdrawal
Reward for 30+ days
based on % of stake
All ERC split expect FONT
Backdoor to and pausable
Burn the tax
WETH from ETH
Full end to end Testing
Add mininum balance to withdrawal
What if people witdraw tokens by one ERC after one
make it claimable
----------------- Test Cases ----------------
stake
unstake
getStakeByID
pauseStaking
unpauseStaking
setTaxFees
setMinStakeRequired
kickStake
excludeAccount
includeAccount
NewRewardToken
EditRewardToken
burnFont
withdrawErc20
makeAdmin
revokeAdmin
getStakeByUser
getStakeidsByUser
getCurrentRewardShare
isRewardTokenExists
calculateTax
takeShapshot
DistributeRewards
claimRewards
Need test font,
test erc20s
payment erc20s
addresses
limited time schedule
====================================================================================================================================
========================================================= Fees ====================================================================
====================================================================================================================================
Tax
2% to stakers
2% to burn
====================================================================================================================================
========================================================= Font License contract ===================================================
====================================================================================================================================
4% of the license value will be rewarded as token to buyers.
able to do universal license