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
8aeea9e9
Commit
8aeea9e9
authored
Sep 02, 2019
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
4d9f49bd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
23 additions
and
27 deletions
+23
-27
autonomy.go
plugin/dapp/autonomy/executor/autonomy.go
+4
-4
boardaction.go
plugin/dapp/autonomy/executor/boardaction.go
+0
-1
boardaction_test.go
plugin/dapp/autonomy/executor/boardaction_test.go
+2
-2
changeaction.go
plugin/dapp/autonomy/executor/changeaction.go
+2
-2
changeaction_test.go
plugin/dapp/autonomy/executor/changeaction_test.go
+2
-2
projectaction.go
plugin/dapp/autonomy/executor/projectaction.go
+1
-2
projectaction_test.go
plugin/dapp/autonomy/executor/projectaction_test.go
+9
-10
ruleaction.go
plugin/dapp/autonomy/executor/ruleaction.go
+0
-1
ruleaction_test.go
plugin/dapp/autonomy/executor/ruleaction_test.go
+2
-2
autonomy.pb.go
plugin/dapp/autonomy/types/autonomy.pb.go
+0
-0
board.pb.go
plugin/dapp/autonomy/types/board.pb.go
+0
-0
change.pb.go
plugin/dapp/autonomy/types/change.pb.go
+0
-0
lcommon.pb.go
plugin/dapp/autonomy/types/lcommon.pb.go
+0
-0
project.pb.go
plugin/dapp/autonomy/types/project.pb.go
+0
-0
rule.pb.go
plugin/dapp/autonomy/types/rule.pb.go
+0
-0
ticket.go
plugin/dapp/ticket/types/ticket.go
+1
-1
No files found.
plugin/dapp/autonomy/executor/autonomy.go
View file @
8aeea9e9
...
@@ -18,10 +18,10 @@ type subConfig struct {
...
@@ -18,10 +18,10 @@ type subConfig struct {
}
}
var
(
var
(
alog
=
log
.
New
(
"module"
,
"execs.autonomy"
)
alog
=
log
.
New
(
"module"
,
"execs.autonomy"
)
driverName
=
auty
.
AutonomyX
driverName
=
auty
.
AutonomyX
autonomyAddr
=
address
.
ExecAddress
(
"autonomy"
)
autonomyAddr
=
address
.
ExecAddress
(
"autonomy"
)
cfg
subConfig
cfg
subConfig
)
)
func
init
()
{
func
init
()
{
...
...
plugin/dapp/autonomy/executor/boardaction.go
View file @
8aeea9e9
...
@@ -255,7 +255,6 @@ func (a *action) votePropBoard(voteProb *auty.VoteProposalBoard) (*types.Receipt
...
@@ -255,7 +255,6 @@ func (a *action) votePropBoard(voteProb *auty.VoteProposalBoard) (*types.Receipt
var
logs
[]
*
types
.
ReceiptLog
var
logs
[]
*
types
.
ReceiptLog
var
kv
[]
*
types
.
KeyValue
var
kv
[]
*
types
.
KeyValue
if
cur
.
VoteResult
.
TotalVotes
!=
0
&&
if
cur
.
VoteResult
.
TotalVotes
!=
0
&&
cur
.
VoteResult
.
ApproveVotes
+
cur
.
VoteResult
.
OpposeVotes
!=
0
&&
cur
.
VoteResult
.
ApproveVotes
+
cur
.
VoteResult
.
OpposeVotes
!=
0
&&
float32
(
cur
.
VoteResult
.
ApproveVotes
+
cur
.
VoteResult
.
OpposeVotes
)
/
float32
(
cur
.
VoteResult
.
TotalVotes
)
>
float32
(
pubAttendRatio
)
/
100.0
&&
float32
(
cur
.
VoteResult
.
ApproveVotes
+
cur
.
VoteResult
.
OpposeVotes
)
/
float32
(
cur
.
VoteResult
.
TotalVotes
)
>
float32
(
pubAttendRatio
)
/
100.0
&&
...
...
plugin/dapp/autonomy/executor/boardaction_test.go
View file @
8aeea9e9
...
@@ -408,7 +408,7 @@ func voteProposalBoard(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB
...
@@ -408,7 +408,7 @@ func voteProposalBoard(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
// status
// status
...
@@ -485,7 +485,7 @@ func terminateProposalBoard(t *testing.T, env *ExecEnv, exec drivers.Driver, sta
...
@@ -485,7 +485,7 @@ func terminateProposalBoard(t *testing.T, env *ExecEnv, exec drivers.Driver, sta
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
}
}
...
...
plugin/dapp/autonomy/executor/changeaction.go
View file @
8aeea9e9
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
package
executor
package
executor
import
(
import
(
"sort"
"github.com/33cn/chain33/common"
"github.com/33cn/chain33/common"
"github.com/33cn/chain33/types"
"github.com/33cn/chain33/types"
auty
"github.com/33cn/plugin/plugin/dapp/autonomy/types"
auty
"github.com/33cn/plugin/plugin/dapp/autonomy/types"
"sort"
)
)
func
(
a
*
action
)
propChange
(
prob
*
auty
.
ProposalChange
)
(
*
types
.
Receipt
,
error
)
{
func
(
a
*
action
)
propChange
(
prob
*
auty
.
ProposalChange
)
(
*
types
.
Receipt
,
error
)
{
...
@@ -177,7 +178,6 @@ func (a *action) votePropChange(voteProb *auty.VoteProposalChange) (*types.Recei
...
@@ -177,7 +178,6 @@ func (a *action) votePropChange(voteProb *auty.VoteProposalChange) (*types.Recei
var
logs
[]
*
types
.
ReceiptLog
var
logs
[]
*
types
.
ReceiptLog
var
kv
[]
*
types
.
KeyValue
var
kv
[]
*
types
.
KeyValue
if
cur
.
VoteResult
.
TotalVotes
!=
0
&&
if
cur
.
VoteResult
.
TotalVotes
!=
0
&&
float32
(
cur
.
VoteResult
.
ApproveVotes
)
/
float32
(
cur
.
VoteResult
.
TotalVotes
)
>
float32
(
cur
.
CurRule
.
BoardApproveRatio
)
/
100.0
{
float32
(
cur
.
VoteResult
.
ApproveVotes
)
/
float32
(
cur
.
VoteResult
.
TotalVotes
)
>
float32
(
cur
.
CurRule
.
BoardApproveRatio
)
/
100.0
{
cur
.
VoteResult
.
Pass
=
true
cur
.
VoteResult
.
Pass
=
true
...
...
plugin/dapp/autonomy/executor/changeaction_test.go
View file @
8aeea9e9
...
@@ -263,7 +263,7 @@ func voteProposalChange(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB
...
@@ -263,7 +263,7 @@ func voteProposalChange(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
// status
// status
...
@@ -348,7 +348,7 @@ func terminateProposalChange(t *testing.T, env *ExecEnv, exec drivers.Driver, st
...
@@ -348,7 +348,7 @@ func terminateProposalChange(t *testing.T, env *ExecEnv, exec drivers.Driver, st
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
}
}
...
...
plugin/dapp/autonomy/executor/projectaction.go
View file @
8aeea9e9
...
@@ -56,7 +56,7 @@ func (a *action) propProject(prob *auty.ProposalProject) (*types.Receipt, error)
...
@@ -56,7 +56,7 @@ func (a *action) propProject(prob *auty.ProposalProject) (*types.Receipt, error)
alog
.
Error
(
"propProject "
,
"addr"
,
a
.
fromaddr
,
"execaddr"
,
a
.
execaddr
,
"getActiveRule failed"
,
err
)
alog
.
Error
(
"propProject "
,
"addr"
,
a
.
fromaddr
,
"execaddr"
,
a
.
execaddr
,
"getActiveRule failed"
,
err
)
return
nil
,
err
return
nil
,
err
}
}
// 判断基金中是否有足够资金
// 判断基金中是否有足够资金
account
:=
a
.
coinsAccount
.
LoadAccount
(
a
.
execaddr
)
account
:=
a
.
coinsAccount
.
LoadAccount
(
a
.
execaddr
)
if
account
==
nil
||
account
.
Balance
<
prob
.
Amount
{
if
account
==
nil
||
account
.
Balance
<
prob
.
Amount
{
...
@@ -77,7 +77,6 @@ func (a *action) propProject(prob *auty.ProposalProject) (*types.Receipt, error)
...
@@ -77,7 +77,6 @@ func (a *action) propProject(prob *auty.ProposalProject) (*types.Receipt, error)
logs
=
append
(
logs
,
receipt
.
Logs
...
)
logs
=
append
(
logs
,
receipt
.
Logs
...
)
kv
=
append
(
kv
,
receipt
.
KV
...
)
kv
=
append
(
kv
,
receipt
.
KV
...
)
var
isPubVote
bool
var
isPubVote
bool
if
prob
.
Amount
>=
rule
.
LargeProjectAmount
{
if
prob
.
Amount
>=
rule
.
LargeProjectAmount
{
isPubVote
=
true
isPubVote
=
true
...
...
plugin/dapp/autonomy/executor/projectaction_test.go
View file @
8aeea9e9
...
@@ -20,9 +20,8 @@ import (
...
@@ -20,9 +20,8 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/mock"
)
)
const
(
const
(
testProjectAmount
int64
=
types
.
Coin
*
100
// 工程需要资金
testProjectAmount
int64
=
types
.
Coin
*
100
// 工程需要资金
testFundAmount
int64
=
types
.
Coin
*
1000
// 工程需要资金
testFundAmount
int64
=
types
.
Coin
*
1000
// 工程需要资金
)
)
...
@@ -256,7 +255,7 @@ func testPropProject(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB db
...
@@ -256,7 +255,7 @@ func testPropProject(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB db
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
:=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
+
testFundAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
+
testFundAmount
,
account
.
Balance
)
}
}
func
propProjectTx
(
parm
*
auty
.
ProposalProject
)
(
*
types
.
Transaction
,
error
)
{
func
propProjectTx
(
parm
*
auty
.
ProposalProject
)
(
*
types
.
Transaction
,
error
)
{
...
@@ -448,11 +447,11 @@ func checkVoteProposalProjectResult(t *testing.T, stateDB dbm.KV, proposalID str
...
@@ -448,11 +447,11 @@ func checkVoteProposalProjectResult(t *testing.T, stateDB dbm.KV, proposalID str
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
AddrD
)
account
=
accCoin
.
LoadAccount
(
AddrD
)
assert
.
Equal
(
t
,
total
+
testProjectAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
+
testProjectAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
testFundAmount
+
proposalAmount
-
testProjectAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
testFundAmount
+
proposalAmount
-
testProjectAmount
,
account
.
Balance
)
// 更新董事会累计审批金
// 更新董事会累计审批金
value
,
err
=
stateDB
.
Get
(
activeBoardID
())
value
,
err
=
stateDB
.
Get
(
activeBoardID
())
assert
.
NoError
(
t
,
err
)
assert
.
NoError
(
t
,
err
)
...
@@ -565,11 +564,11 @@ func checkPubVoteProposalProjectResult(t *testing.T, stateDB dbm.KV, proposalID
...
@@ -565,11 +564,11 @@ func checkPubVoteProposalProjectResult(t *testing.T, stateDB dbm.KV, proposalID
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
AddrD
)
account
=
accCoin
.
LoadAccount
(
AddrD
)
assert
.
Equal
(
t
,
total
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
testFundAmount
+
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
testFundAmount
+
proposalAmount
,
account
.
Balance
)
// 更新董事会累计审批金
// 更新董事会累计审批金
value
,
err
=
stateDB
.
Get
(
activeBoardID
())
value
,
err
=
stateDB
.
Get
(
activeBoardID
())
...
@@ -643,9 +642,9 @@ func terminateProposalProject(t *testing.T, env *ExecEnv, exec drivers.Driver, s
...
@@ -643,9 +642,9 @@ func terminateProposalProject(t *testing.T, env *ExecEnv, exec drivers.Driver, s
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
testFundAmount
+
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
testFundAmount
+
proposalAmount
,
account
.
Balance
)
// check Project
// check Project
au
:=
&
Autonomy
{
au
:=
&
Autonomy
{
...
...
plugin/dapp/autonomy/executor/ruleaction.go
View file @
8aeea9e9
...
@@ -319,7 +319,6 @@ func (a *action) tmintPropRule(tmintProb *auty.TerminateProposalRule) (*types.Re
...
@@ -319,7 +319,6 @@ func (a *action) tmintPropRule(tmintProb *auty.TerminateProposalRule) (*types.Re
var
logs
[]
*
types
.
ReceiptLog
var
logs
[]
*
types
.
ReceiptLog
var
kv
[]
*
types
.
KeyValue
var
kv
[]
*
types
.
KeyValue
cur
.
Status
=
auty
.
AutonomyStatusTmintPropRule
cur
.
Status
=
auty
.
AutonomyStatusTmintPropRule
kv
=
append
(
kv
,
&
types
.
KeyValue
{
Key
:
propRuleID
(
tmintProb
.
ProposalID
),
Value
:
types
.
Encode
(
cur
)})
kv
=
append
(
kv
,
&
types
.
KeyValue
{
Key
:
propRuleID
(
tmintProb
.
ProposalID
),
Value
:
types
.
Encode
(
cur
)})
...
...
plugin/dapp/autonomy/executor/ruleaction_test.go
View file @
8aeea9e9
...
@@ -357,7 +357,7 @@ func voteProposalRule(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB d
...
@@ -357,7 +357,7 @@ func voteProposalRule(t *testing.T, env *ExecEnv, exec drivers.Driver, stateDB d
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
// status
// status
...
@@ -448,7 +448,7 @@ func terminateProposalRule(t *testing.T, env *ExecEnv, exec drivers.Driver, stat
...
@@ -448,7 +448,7 @@ func terminateProposalRule(t *testing.T, env *ExecEnv, exec drivers.Driver, stat
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
:=
account
.
NewCoinsAccount
()
accCoin
.
SetDB
(
stateDB
)
accCoin
.
SetDB
(
stateDB
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
account
:=
accCoin
.
LoadAccount
(
AddrA
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
total
-
proposalAmount
,
account
.
Balance
)
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
account
=
accCoin
.
LoadAccount
(
address
.
ExecAddress
(
auty
.
AutonomyX
))
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
assert
.
Equal
(
t
,
proposalAmount
,
account
.
Balance
)
...
...
plugin/dapp/autonomy/types/autonomy.pb.go
View file @
8aeea9e9
This diff is collapsed.
Click to expand it.
plugin/dapp/autonomy/types/board.pb.go
View file @
8aeea9e9
This diff is collapsed.
Click to expand it.
plugin/dapp/autonomy/types/change.pb.go
View file @
8aeea9e9
This diff is collapsed.
Click to expand it.
plugin/dapp/autonomy/types/lcommon.pb.go
View file @
8aeea9e9
This diff is collapsed.
Click to expand it.
plugin/dapp/autonomy/types/project.pb.go
View file @
8aeea9e9
This diff is collapsed.
Click to expand it.
plugin/dapp/autonomy/types/rule.pb.go
View file @
8aeea9e9
This diff is collapsed.
Click to expand it.
plugin/dapp/ticket/types/ticket.go
View file @
8aeea9e9
...
@@ -61,7 +61,7 @@ func init() {
...
@@ -61,7 +61,7 @@ func init() {
types
.
RegisterDappFork
(
TicketX
,
"Enable"
,
0
)
types
.
RegisterDappFork
(
TicketX
,
"Enable"
,
0
)
types
.
RegisterDappFork
(
TicketX
,
"ForkTicketId"
,
1062000
)
types
.
RegisterDappFork
(
TicketX
,
"ForkTicketId"
,
1062000
)
types
.
RegisterDappFork
(
TicketX
,
"ForkTicketVrf"
,
1770000
)
types
.
RegisterDappFork
(
TicketX
,
"ForkTicketVrf"
,
1770000
)
types
.
RegisterDappFork
(
TicketX
,
"ForkTicketFundAddrV1"
,
500
*
10000
)
types
.
RegisterDappFork
(
TicketX
,
"ForkTicketFundAddrV1"
,
500
*
10000
)
}
}
// TicketType ticket exec type
// TicketType ticket exec type
...
...
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