/
sysparameters.go
executable file
·39 lines (36 loc) · 1.55 KB
/
sysparameters.go
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
/*
*
* This file is part of go-palletone.
* go-palletone is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* go-palletone is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with go-palletone. If not, see <http://www.gnu.org/licenses/>.
* /
*
* * @author PalletOne core developer <dev@pallet.one>
* * @date 2018-2019
*
*/
package parameter
type SysParameters struct {
// TxCoinDayInterest float64 //一个币天产生多少利息
DepositDailyReward uint64 //保证金合约一天产生多少Dao的Token
GenerateUnitReward uint64 //每产生一个Unit奖励多少Dao的Token
RewardHeight uint64
UnitMaxSize uint64
ContractFeeJuryPercent float64 //合约执行的手续费中,有多少比例是分给Jury
}
var CurrentSysParameters = &SysParameters{
// TxCoinDayInterest: 0,
DepositDailyReward: 3751400000000, //按总2000W增发计算,质押增发1369.28W/Year,每天37514PTN
GenerateUnitReward: 100000000, //1年增发 630.72W
RewardHeight: 200,
ContractFeeJuryPercent: 0.6,
UnitMaxSize: 5 * 1024 * 1024, //5M
}