-
Notifications
You must be signed in to change notification settings - Fork 0
/
dacincubator.sh
executable file
·96 lines (56 loc) · 5.39 KB
/
dacincubator.sh
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Network
# -u http://api-direct.eosasia.one
# -u https://api-kylin.eosasia.one
cleos wallet unlock --password PW5JaGpLtoM1vtD1WxiAC4RDsr82FRUczmKgocw1KJZqVahB4LZ1u
/usr/local/eosio/bin/eosiocpp -g dacincubator/dacincubator.abi dacincubator/dacincubator.cpp
/usr/local/eosio/bin/eosiocpp -o dacincubator/dacincubator.wast dacincubator/dacincubator.cpp
# Set Contract
cleos -u http://api-direct.eosasia.one set contract dacincubator dacincubator -p dacincubator@active
#
#cleos -u http://api-direct.eosasia.one get table dacincubator KBY stat
#cleos -u http://api-direct.eosasia.one get table eosio.token EOS stat
#cleos -u http://api-direct.eosasia.one get table dacincubator dacincubator pendingtx
# cleos -u https://api-kylin.eosasia.one push action dacincubator test '[""]' -p dacincubator@active
#cleos -u http://api-direct.eosasia.one push action dacincubator init '[""]' -p dacincubator@active
#cleos -u http://api-direct.eosasia.one push action dacincubator transfer '[ "crazytown.bp", "thinksaturna", "1000.0000 CTN", ""]' -p crazytown.bp@active
# cleos -u https://api-kylin.eosasia.one get table dacincubator dacincubator stats
# cleos -u http://api-direct.eosasia.one push action eosio.token transfer '[ "happyeosdice", "dacincubator", "40.0000 EOS", ""]' -p happyeosdice@active
# cleos -u https://api-kylin.eosasia.one push action dacincubator transfer '[ "minakokojima", "dacincubator", "499.9937 KBY", "sell"]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one push action dacincubator transfer '[ "minakokojima", "happyeosslot", "499.9937 KBY", "sell"]' -p minakokojima@active
#cleos -u https://api-kylin.eosasia.one push action dacincubator transfer '[ "dacincubator", "minakokojima", "499.9937 KBY", "refund"]' -p dacincubator@active
# cleos -u http://api-direct.eosasia.one get table dacincubator blockchainup accounts
# cleos -u https://api-kylin.eosasia.one get table dacincubator dacincubator market
#cleos -u http://api-direct.eosasia.one get table dacincubator chengdueosio accounts
# cleos -u https://api-kylin.eosasia.one get table happyeosslot happyeosslot accounts
#
# cleos -u http://api-direct.eosasia.one push action dacincubator test '[ "" ]' -p dacincubator@active
#eosowangfeng TPT
#cleos -u http://api-direct.eosasia.one push action sieosmainnet transfer '[ "sieosmainnet", "jacklighteos", "1.9000 EOS", "eosowangfeng TPT"]' -p sieosmainnet@active
# ask order
#cleos -u http://api-direct.eosasia.one push action eosio.token transfer '[ "minakokojima", "dacincubator", "0.0001 EOS", "ask,0.0010 HPY,happyeosslot" ]' -p minakokojima@active
# take order
# cleos -u https://api-kylin.eosasia.one push action eosio.token transfer '[ "minakokojima", "dacincubator", "0.5000 EOS", "take,1.0000 HPY,happyeosslot,0" ]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one push action happyeosslot transfer '[ "minakokojima", "dacincubator", "0.0001 HPY", "ask,0.0001 EOS,eosio.token" ]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one push action eosio.token transfer '[ "minakokojima", "dacincubator", "0.0001 EOS", "take,0.0001 HPY,happyeosslot,2" ]' -p minakokojima@active
#// take,1.0000 HPY,happyeosslot,0
# cleos -u https://api-kylin.eosasia.one push action happyeosslot transfer '[ "minakokojima", "dacincubator", "0.4999 HPY", "take,1.0000 EOS,eosio.token,1" ]' -p minakokojima@active
# Query Table
# cleos -u https://api-kylin.eosasia.one get table dacincubator dacincubator market
# cleos -u http://api-direct.eosasia.one get table dacincubator dacincubator txlog
# cleos -u https://api-kylin.eosasia.one get table dacincubator happyeosslot order
# cleos -u https://api-kylin.eosasia.one get table dacincubator eosio.token order
# /usr/local/eosio/bin/eosiocpp -g pomelo/pomelo.abi pomelo/pomelo.cpp
#
# cleos -u https://api-kylin.eosasia.one push action eosio.token transfer '[ "minakokojima", "happyeosslot", "10.0000 EOS", "buy" ]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one push action happyeosslot transfer '[ "minakokojima", "dacincubator", "1.0000 HPY", "ask,0.5000 EOS,eosio.token" ]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one set contract happyeosslot happyeosslot -p happyeosslot@active
#cleos -u https://api-kylin.eosasia.one push action happyeosslot transfer '[ "minakokojima", "dacincubator", "1.0000 HPY", "ask,2.0000 HPY,eosio.token" ]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one push action dacincubator '[]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one set contract pomelodex111 pomelo -p pomelodex111@active
# cleos -u https://api-kylin.eosasia.one set contract pomelodex111 pomelo -p pomelodex111@active
# cleos -u https://api-kylin.eosasia.one push action eosio.token transfer '[ "minakokojima", "happyeosslot", "1.0000 EOS", "buy" ]' -p minakokojima@active
# cleos -u https://api-kylin.eosasia.one push action eosio.token transfer '[ "minakokojima", "pomelodex111", "1.0000 EOS", "buy,happyeosslot,HPY,2.0000" ]' -p minakokojima@active
# /usr/local/eosio/bin/eosiocpp -g pomelo/pomelo.abi pomelo/pomelo.cpp
# cleos -u https://api-kylin.eosasia.one set contract pomelodex111 pomelo -p pomelodex111@active
# cleos -u https://api-kylin.eosasia.one system newaccount --stake-net '5.0000 EOS' --stake-cpu '1.0000 EOS' --buy-ram '20.0000 EOS' minakokojima pomelodex111 EOS5fY2dmpfXmzXN1DEJ6VfvhhCr55ZpE9MyTd9eX7Cw2EmzJcnFM EOS781pFN6TgUkuCDqmCdyxcp1cnJdtg3DYfajbAba6mvHvrFNuDy
# buy,happyeosslot,HPY,2.0000