
#import token test addr, 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv
[[SimpleCase]]
id = "import1"
command = "account import_key -k 0xc21d38be90493512a5c2417d565269a8b23ce8152010e404ff4f75efead8183a -l token_test"


[[TokenPreCreateCase]]
id = "tokenPre"
command = "send token precreate -f 0.01 -i testToken -n testToken -s TC -a 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -t 100000 -p 1 -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
dep = ["transForPrecreate", "import1"]

[[TokenPreCreateCase]]
id = "tokenPre2"
command = "send token precreate -f 0.01 -i testToken -n testToken -s TCC -a 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -t 100000 -p 1 -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
dep = ["transForPrecreate"]


[[TokenFinishCreateCase]]
id = "tokenFinish"
command = "send token finish -a 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -f 0.01 -s TC -k 0xc34b5d9d44ac7b754806f761d3d4d2c4fe5214f6b074c19f069c4f5c2a29c8cc"
dep = ["tokenPre"]


#send to token for precreate
[[TransferCase]]
id = "transForPrecreate"
command = "send bty transfer -a 10 -t 12hpJBHybh1mSyCijQ2MQJPk7z7kZ7jnQa -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
to = "12hpJBHybh1mSyCijQ2MQJPk7z7kZ7jnQa"
amount = "10"
checkItem = ["balance"]

[[TransferCase]]
id = "transForFee"
command = "send bty transfer -a 10 -t 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
to = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
amount = "10"
checkItem = ["balance"]

[[TransferCase]]
id = "tokenTrans1"
command = "send token transfer -a 10 -s TC -t 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
to = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
amount = "10"
checkItem = ["balance"]
repeat = 10
dep = ["tokenFinish"]



[[TransferCase]]
id = "tokenTrans2"
command = "send token transfer -a 1 -s TC -t 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -k 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
from = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
to = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
amount = "1"
checkItem = ["balance"]
dep = ["tokenTrans1", "transForFee"]


[[TransferCase]]
id = "failTokenTrans"
command = "send token transfer -a 100 -s TC -t 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -k 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
from = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
to = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
amount = "100"
checkItem = ["balance"]
dep = ["tokenTrans2"]
fail = true


#diposit to trade
[[TransferCase]]
id = "tokenDiposit1"
command = "send token transfer -a 5 -s TC -t 1BXvgjmBw1aBgmGn1hjfGyRkmN3krWpFP4 -k 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
from = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
to = "1BXvgjmBw1aBgmGn1hjfGyRkmN3krWpFP4"
amount = "5"
checkItem = ["balance"]
dep = ["tokenTrans1"]


[[WithdrawCase]]
id = "tokenWithdraw"
command = "send token withdraw -a 1 -s TC -e trade -k 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
addr = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
amount = "1"
checkItem = ["balance"]
dep = ["tokenDiposit1"]
repeat = 4


[[WithdrawCase]]
id = "failTokenWithDraw"
command = "send token withdraw -a 5 -s TC -e trade -k 12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
addr = "12cjnN5D4DPdBQSwh6vjwJbtsW4EJALTMv"
amount = "5"
checkItem = ["balance"]
dep = ["tokenWithdraw"]
fail = true


#--liugui 2018.9.19-- 
[[TokenRevokeCase]]
id = "tokenRevoke"
command = "send token revoke -f 0.01 -s TCC -a 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
dep = ["tokenPre2"]