github.com/turingchain2020/turingchain@v1.1.21/system/dapp/coins/autotest/coins.toml (about)

     1  #exec addr
     2  #coins = "1GaHYpWmqAJsqRwrpoNcB8VvgKtSwjcHqt"
     3  #token = "12hpJBHybh1mSyCijQ2MQJPk7z7kZ7jnQa"
     4  #trade = "1BXvgjmBw1aBgmGn1hjfGyRkmN3krWpFP4"
     5  #ticket = "16htvcBNSEA7fZhAdLJphDwQRQJaHpyHTp"
     6  #privacy = "1FeyE6VDZ4FYgpK1n2okWMDAtPkwBuooQd"
     7  
     8  
     9  #import coins test addr, 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj
    10  [[SimpleCase]]
    11  id = "import1"
    12  command = "account import_key -k 0xd165c84ed37c2a427fea487470ee671b7a0495d68d82607cafbc6348bf23bec5 -l coins_test"
    13  
    14  
    15  [[TransferCase]]
    16  id = "trcTrans1"
    17  command = "send coins transfer -a 10 -t 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
    18  from = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
    19  to = "1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    20  amount = "10"
    21  checkItem = ["balance"]
    22  dep = ["import1"]
    23  
    24  
    25  [[TransferCase]]
    26  id = "trcTrans2"
    27  command = "send coins transfer -a 1 -t 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -k 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    28  from = "1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    29  to = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
    30  amount = "1"
    31  checkItem = ["balance"]
    32  repeat = 5
    33  dep = ["trcTrans1"]
    34  
    35  
    36  [[TransferCase]]
    37  id = "failTrcTrans"
    38  command = "send coins transfer -a 15 -t 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv -k 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    39  from = "1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    40  to = "12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
    41  amount = "15"
    42  checkItem = ["balance"]
    43  dep = ["trcTrans1"]
    44  fail = true
    45  
    46  
    47  [[TransferCase]]
    48  id = "trcTrans3"
    49  command = "send coins transfer -a 1 -t 1GaHYpWmqAJsqRwrpoNcB8VvgKtSwjcHqt -k 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    50  from = "1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    51  to = "1GaHYpWmqAJsqRwrpoNcB8VvgKtSwjcHqt"
    52  amount = "1"
    53  checkItem = ["balance"]
    54  dep = ["trcTrans1"]
    55  
    56  
    57  [[WithdrawCase]]
    58  id = "trcWithdraw"
    59  command = "send coins withdraw -a 0.1 -e coins -k 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    60  addr = "1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    61  amount = "0.1"
    62  checkItem = ["balance"]
    63  repeat = 5
    64  dep = ["trcTrans3"]
    65  
    66  
    67  [[WithdrawCase]]
    68  id = "failWithdraw"
    69  command = "send coins withdraw -a 1.1 -e coins -k 1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    70  addr = "1Ka7EPFRqs3v9yreXG6qA4RQbNmbPJCZPj"
    71  amount = "1.1"
    72  checkItem = ["balance"]
    73  fail = true
    74