Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
b7939a10
Commit
b7939a10
authored
Aug 29, 2019
by
liuyuhang
Committed by
vipwzw
Aug 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify boardApproveRatio default value from 66% to 51%
parent
4daf4270
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
boardaction.go
plugin/dapp/autonomy/executor/boardaction.go
+1
-1
changeaction_test.go
plugin/dapp/autonomy/executor/changeaction_test.go
+3
-3
projectaction_test.go
plugin/dapp/autonomy/executor/projectaction_test.go
+3
-3
No files found.
plugin/dapp/autonomy/executor/boardaction.go
View file @
b7939a10
...
@@ -25,7 +25,7 @@ const (
...
@@ -25,7 +25,7 @@ const (
ticketPrice
=
types
.
Coin
*
3000
// 单张票价
ticketPrice
=
types
.
Coin
*
3000
// 单张票价
largeProjectAmount
=
types
.
Coin
*
100
*
10000
// 重大项目公示金额阈值
largeProjectAmount
=
types
.
Coin
*
100
*
10000
// 重大项目公示金额阈值
proposalAmount
=
types
.
Coin
*
500
// 创建者消耗金额
proposalAmount
=
types
.
Coin
*
500
// 创建者消耗金额
boardApproveRatio
int32
=
66
// 董事会成员赞成率,以%计,可修改
boardApproveRatio
int32
=
51
// 董事会成员赞成率,以%计,可修改
pubAttendRatio
int32
=
75
// 全体持票人参与率,以%计
pubAttendRatio
int32
=
75
// 全体持票人参与率,以%计
pubApproveRatio
int32
=
66
// 全体持票人赞成率,以%计
pubApproveRatio
int32
=
66
// 全体持票人赞成率,以%计
pubOpposeRatio
int32
=
33
// 全体持票人否决率,以%计
pubOpposeRatio
int32
=
33
// 全体持票人否决率,以%计
...
...
plugin/dapp/autonomy/executor/changeaction_test.go
View file @
b7939a10
...
@@ -201,9 +201,9 @@ func voteProposalChange(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB
...
@@ -201,9 +201,9 @@ func voteProposalChange(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB
{
PrivKeyD
,
true
},
{
PrivKeyD
,
true
},
{
PrivKey1
,
false
},
{
PrivKey1
,
false
},
{
PrivKey2
,
tru
e
},
{
PrivKey2
,
fals
e
},
{
PrivKey3
,
tru
e
},
{
PrivKey3
,
fals
e
},
{
PrivKey4
,
tru
e
},
{
PrivKey4
,
fals
e
},
{
PrivKey5
,
true
},
{
PrivKey5
,
true
},
{
PrivKey6
,
true
},
{
PrivKey6
,
true
},
{
PrivKey7
,
true
},
{
PrivKey7
,
true
},
...
...
plugin/dapp/autonomy/executor/projectaction_test.go
View file @
b7939a10
...
@@ -372,9 +372,9 @@ func voteProposalProject(t *testing.T, env *ExecEnv, exec drivers.Driver, stateD
...
@@ -372,9 +372,9 @@ func voteProposalProject(t *testing.T, env *ExecEnv, exec drivers.Driver, stateD
{
PrivKeyC
,
true
},
{
PrivKeyC
,
true
},
{
PrivKeyD
,
true
},
{
PrivKeyD
,
true
},
{
PrivKey1
,
tru
e
},
{
PrivKey1
,
fals
e
},
{
PrivKey2
,
tru
e
},
{
PrivKey2
,
fals
e
},
{
PrivKey3
,
tru
e
},
{
PrivKey3
,
fals
e
},
{
PrivKey4
,
true
},
{
PrivKey4
,
true
},
{
PrivKey5
,
true
},
{
PrivKey5
,
true
},
{
PrivKey6
,
true
},
{
PrivKey6
,
true
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment