-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (47 loc) · 1010 Bytes
/
package.json
File metadata and controls
48 lines (47 loc) · 1010 Bytes
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
{
"id":"contract_sample",
"version":"0.0.1",
"auth":{
"name":"Theloop Dev Team",
"email":"dev@theloop.co.kr",
"org":"Theloop inc"
},
"dependencies":{},
"description":"contract_sample",
"repository":{
"type":"git",
"url":"git@github.com:theloopkr/contract_sample.git"
},
"homepage":"http://www.theloop.co.kr",
"function":{
"query":[
{
"method":"get_user_contracts",
"params":{"tx_hash":"user_id"},
"description":"Issue Certificate"
}
],
"invoke":[
{
"method":"propose",
"params":
{
"proposer": "propose_user_id" ,
"counterparties": [],
"content": "contract text",
"quorum": "(int)quorum"
}
,
"description":"new member"
},
{
"method":"approve",
"params":{
"user_id":"string" ,
"contract_id":"string"
}
}
]
},
"main":"contract_score"
}