forked from XPRNetwork/proton.contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.sh
executable file
·19 lines (14 loc) · 908 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
### Deploy
#./cleos.sh set account permission cfund.proton active --add-code -p cfund.proton@active
#./cleos.sh set contract cfund.proton ./cfund.proton -p cfund.proton
### Admins actions
#./cleos.sh push action cfund.proton reg '{"account":"cryptolions"}' -p cfund.proton@active
#./cleos.sh push action cfund.proton unreg '{"account":"cryptolions"}' -p cfund.proton@active
#./cleos.sh push action cfund.proton activate '{"account":"cryptolions", "status": 0}' -p cfund.proton@active
#./cleos.sh push action cfund.proton activate '{"account":"cryptolions", "status": 1}' -p cfund.proton@active
#./cleos.sh push action cfund.proton process '{}' -p cfund.proton@active
### Users Actions
#./cleos.sh push action cfund.proton claimreward '{"account":"cryptolions"}' -p cryptolions@active
### Tables
#./cleos.sh get table cfund.proton cfund.proton users
#./cleos.sh get table cfund.proton cfund.proton global