forked from fontcommunity/FontStaking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec.txt
131 lines (97 loc) · 4.39 KB
/
spec.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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
====================================================================================================================================
========================================================= Font NFT exchange =======================================================
====================================================================================================================================
Royality
Multichain
fees to staking contract
accepts mutiple tokens (potential partnership)
0 commision for trading in FONT (whats the value of font)
Supports fractions trade (Respect ERC1155)
commission burn
include the font mining into it exchange
rearrage the font miining in favour of buyers in terms of volume
Minting is in this contract which admin adds the whitelist stuffs
Affliate will get %
Royality works only if the trade is happening in our exchange.
Add role to kicker, snapshot, distributor
Auction? No
====================================================================================================================================
========================================================= Font fund raising =======================================================
====================================================================================================================================
1% of total raise sent to staking rewards
99% goes to fund raisers
Success full fund raisers will earn some fonts?
single contract to the specific job
after successfull fundraise, erc1155 share will be distributed to investors based on the invested ratio and listed as exclusive NFT
Create Font page in drupal
Create it as NFT in ERC1155 and move it to fund raising contract
After successfull ICO, distribute the funds to investors
Method 1
Follow ERC1155 standard to distribute the share (hard to implement)
Methor 2
Sell and distribute the profit based on share (hard in business wise )
Better use method 2 and exit the project
====================================================================================================================================
========================================================= Self Minting NFT =======================================================
====================================================================================================================================
in backend, authorize gmail, twitter and metamask
conform in email and in SMS
Save the wallet address
get the items to mint in batch
create a contract that mint nft in font nft address
that contract will get chain, id, address and it will call the main NFT contract and move the
this proxy contract will hold all the font IDs irrespective of mint or not
This will be batch run every x items .
====================================================================================================================================
========================================================= Fees ====================================================================
====================================================================================================================================
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