Browse Source

batch4

etomic
jl777 8 years ago
parent
commit
bb7462060f
  1. 10
      iguana/main.c
  2. 248
      iguana/tests/KMD.batch4.importaddress
  3. 200
      iguana/tests/KMD.batch4.listunspent
  4. 33
      iguana/tests/REVS.batch4.importaddress
  5. 4
      iguana/tests/deximportaddress
  6. 2
      iguana/tests/dexlistunspent

10
iguana/main.c

@ -1575,7 +1575,7 @@ void komodo_ICO_batch(cJSON *array,int32_t batchid)
if ( (n= cJSON_GetArraySize(array)) > 0 )
{
totalKMD = totalREVS = 0;
for (iter=0; iter<1; iter++)
for (iter=2; iter<3; iter++)
for (i=0; i<n; i++)
{
item = jitem(array,i);
@ -1611,9 +1611,9 @@ void komodo_ICO_batch(cJSON *array,int32_t batchid)
printf("# %s KMD %.8f\n",coinaddr,dstr(kmdamount));
if ( (iter & 1) == 0 )
{
//printf("curl --url \"http://127.0.0.1:7778\" --data \"{\\\"agent\\\":\\\"dex\\\",\\\"method\\\":\\\"importaddress\\\",\\\"address\\\":\\\"%s\\\",\\\"symbol\\\":\\\"KMD\\\"}\" # %.8f\n",coinaddr,dstr(kmdamount));
//printf("sleep 3\n");
printf("curl --url \"http://127.0.0.1:7778\" --data \"{\\\"agent\\\":\\\"dex\\\",\\\"method\\\":\\\"listunspent\\\",\\\"address\\\":\\\"%s\\\",\\\"symbol\\\":\\\"KMD\\\"}\"\n",coinaddr);
printf("curl --url \"http://127.0.0.1:7778\" --data \"{\\\"agent\\\":\\\"dex\\\",\\\"method\\\":\\\"importaddress\\\",\\\"address\\\":\\\"%s\\\",\\\"symbol\\\":\\\"KMD\\\"}\" # %.8f\n",coinaddr,dstr(kmdamount));
printf("sleep 3\n");
//printf("curl --url \"http://127.0.0.1:7778\" --data \"{\\\"agent\\\":\\\"dex\\\",\\\"method\\\":\\\"listunspent\\\",\\\"address\\\":\\\"%s\\\",\\\"symbol\\\":\\\"KMD\\\"}\"\n",coinaddr);
}
else
{
@ -1673,7 +1673,7 @@ void iguana_main(void *arg)
else printf("ENDIAN ERROR\n");
mycalloc(0,0,0);
#ifdef __APPLE__
char *batchstr,*batchstr2; cJSON *batchjson; long batchsize; char fname[512],fname2[512]; int32_t batchid = 3;
char *batchstr,*batchstr2; cJSON *batchjson; long batchsize; char fname[512],fname2[512]; int32_t batchid = 5;
sprintf(fname,"REVS.raw"), sprintf(fname2,"REVS.rawtxids");
if ( 0 && (batchstr= OS_filestr(&batchsize,fname)) != 0 && (batchstr2= OS_filestr(&batchsize,fname2)) != 0 )
{

248
iguana/tests/KMD.batch4.importaddress

@ -0,0 +1,248 @@
# RKmeJpSRwBouZgkTXA1mre8EMNjQ7CawzH KMD 1999.45556678
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RKmeJpSRwBouZgkTXA1mre8EMNjQ7CawzH\",\"symbol\":\"KMD\"}" # 1999.45556678
sleep 3
echo "1999.45556678 <- expected amount RKmeJpSRwBouZgkTXA1mre8EMNjQ7CawzH"
# RChSVFn3Bi8kW2vRkohcaGw2QEzapdyjA7 KMD 15493.04399000
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RChSVFn3Bi8kW2vRkohcaGw2QEzapdyjA7\",\"symbol\":\"KMD\"}" # 15493.04399000
sleep 3
echo "15493.04399000 <- expected amount RChSVFn3Bi8kW2vRkohcaGw2QEzapdyjA7"
# RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB KMD 843.49707566, REVS 16.72927581
# RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB KMD 843.49707566
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB\",\"symbol\":\"KMD\"}" # 843.49707566
sleep 3
echo "843.49707566 <- expected amount RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB"
# RLiYLy1TMui1iVGMhfks6Go1y1mopSkc7T KMD 9678.31091750
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RLiYLy1TMui1iVGMhfks6Go1y1mopSkc7T\",\"symbol\":\"KMD\"}" # 9678.31091750
sleep 3
echo "9678.31091750 <- expected amount RLiYLy1TMui1iVGMhfks6Go1y1mopSkc7T"
# RRLtUwtSG5oQUL6TPk5gtWPSFa4j1eBDxQ KMD 1219.26382940
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRLtUwtSG5oQUL6TPk5gtWPSFa4j1eBDxQ\",\"symbol\":\"KMD\"}" # 1219.26382940
sleep 3
echo "1219.26382940 <- expected amount RRLtUwtSG5oQUL6TPk5gtWPSFa4j1eBDxQ"
# RVT4P7mbHcdRmRHBotapx2BsEC1MMcTCMC KMD 1841.49885836
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RVT4P7mbHcdRmRHBotapx2BsEC1MMcTCMC\",\"symbol\":\"KMD\"}" # 1841.49885836
sleep 3
echo "1841.49885836 <- expected amount RVT4P7mbHcdRmRHBotapx2BsEC1MMcTCMC"
# RNrQxuKtPSrJg6fcp665Q7j8A7WTDSbwjU KMD 681.69393556
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RNrQxuKtPSrJg6fcp665Q7j8A7WTDSbwjU\",\"symbol\":\"KMD\"}" # 681.69393556
sleep 3
echo "681.69393556 <- expected amount RNrQxuKtPSrJg6fcp665Q7j8A7WTDSbwjU"
# RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n KMD 3090.02793673, REVS 3.67077856
# RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n KMD 3090.02793673
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n\",\"symbol\":\"KMD\"}" # 3090.02793673
sleep 3
echo "3090.02793673 <- expected amount RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n"
# RU2MYeg8uicVE28k6iiBXUxbxzeZwULwKi KMD 759.15915551
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RU2MYeg8uicVE28k6iiBXUxbxzeZwULwKi\",\"symbol\":\"KMD\"}" # 759.15915551
sleep 3
echo "759.15915551 <- expected amount RU2MYeg8uicVE28k6iiBXUxbxzeZwULwKi"
# RL5Mi7TdaXCWpQNtbs4zUBdHQEurPuRYh8 KMD 158029.04869800
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RL5Mi7TdaXCWpQNtbs4zUBdHQEurPuRYh8\",\"symbol\":\"KMD\"}" # 158029.04869800
sleep 3
echo "158029.04869800 <- expected amount RL5Mi7TdaXCWpQNtbs4zUBdHQEurPuRYh8"
# RGEkGiZQxqTZjsARMzu2exjPkFegXSGT9o KMD 2298.00667939
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RGEkGiZQxqTZjsARMzu2exjPkFegXSGT9o\",\"symbol\":\"KMD\"}" # 2298.00667939
sleep 3
echo "2298.00667939 <- expected amount RGEkGiZQxqTZjsARMzu2exjPkFegXSGT9o"
# RAYp48ZaMJGmaKCJxeMLzWQXajW7Hd2Yjr KMD 2788.74791820
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RAYp48ZaMJGmaKCJxeMLzWQXajW7Hd2Yjr\",\"symbol\":\"KMD\"}" # 2788.74791820
sleep 3
echo "2788.74791820 <- expected amount RAYp48ZaMJGmaKCJxeMLzWQXajW7Hd2Yjr"
# RAryshRkyDqKp3cgavp8CD77yS9A4U5jQz KMD 710.78619077
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RAryshRkyDqKp3cgavp8CD77yS9A4U5jQz\",\"symbol\":\"KMD\"}" # 710.78619077
sleep 3
echo "710.78619077 <- expected amount RAryshRkyDqKp3cgavp8CD77yS9A4U5jQz"
# RRbLh1gaRgxRXMRVwGvNw2yESgRyNzscnd KMD 1118.59777607
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRbLh1gaRgxRXMRVwGvNw2yESgRyNzscnd\",\"symbol\":\"KMD\"}" # 1118.59777607
sleep 3
echo "1118.59777607 <- expected amount RRbLh1gaRgxRXMRVwGvNw2yESgRyNzscnd"
# RJtnDNrMY8pzcwwKyUvGLTjDot5jR74FRw KMD 8811.66876930
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RJtnDNrMY8pzcwwKyUvGLTjDot5jR74FRw\",\"symbol\":\"KMD\"}" # 8811.66876930
sleep 3
echo "8811.66876930 <- expected amount RJtnDNrMY8pzcwwKyUvGLTjDot5jR74FRw"
# RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk KMD 79613.96546024, REVS 1579.43521640
# RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk KMD 79613.96546024
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk\",\"symbol\":\"KMD\"}" # 79613.96546024
sleep 3
echo "79613.96546024 <- expected amount RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk"
# RHvVq3gKrEhXkXJSfxEzweGXRBjRMX1HwR KMD 854.63736305
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RHvVq3gKrEhXkXJSfxEzweGXRBjRMX1HwR\",\"symbol\":\"KMD\"}" # 854.63736305
sleep 3
echo "854.63736305 <- expected amount RHvVq3gKrEhXkXJSfxEzweGXRBjRMX1HwR"
# RSqXWQNJTdiiP2L6Q8Pd6nzd3DyN7TzpNF KMD 87148.37244375
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RSqXWQNJTdiiP2L6Q8Pd6nzd3DyN7TzpNF\",\"symbol\":\"KMD\"}" # 87148.37244375
sleep 3
echo "87148.37244375 <- expected amount RSqXWQNJTdiiP2L6Q8Pd6nzd3DyN7TzpNF"
# RRRWieSx6e2ANSukRrFaRSyF2ikYiqTqbH KMD 96831.52493750
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRRWieSx6e2ANSukRrFaRSyF2ikYiqTqbH\",\"symbol\":\"KMD\"}" # 96831.52493750
sleep 3
echo "96831.52493750 <- expected amount RRRWieSx6e2ANSukRrFaRSyF2ikYiqTqbH"
# RBhKUj4dmHDDd8Yhm8npoh9ii5V5ZUjtpu KMD 1935.66218350
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RBhKUj4dmHDDd8Yhm8npoh9ii5V5ZUjtpu\",\"symbol\":\"KMD\"}" # 1935.66218350
sleep 3
echo "1935.66218350 <- expected amount RBhKUj4dmHDDd8Yhm8npoh9ii5V5ZUjtpu"
# RRCvM3vVV6FPwayTevCCvkpXY2V8RxjEct KMD 50303.39904535
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRCvM3vVV6FPwayTevCCvkpXY2V8RxjEct\",\"symbol\":\"KMD\"}" # 50303.39904535
sleep 3
echo "50303.39904535 <- expected amount RRCvM3vVV6FPwayTevCCvkpXY2V8RxjEct"
# RBopZSXfCKrvi6kELKu9Cn3TYDapxpVr8d KMD 106514.67743125
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RBopZSXfCKrvi6kELKu9Cn3TYDapxpVr8d\",\"symbol\":\"KMD\"}" # 106514.67743125
sleep 3
echo "106514.67743125 <- expected amount RBopZSXfCKrvi6kELKu9Cn3TYDapxpVr8d"
# RFEHFqHrwcwnTBzvYsuEttQ4rQQZw9qQsH KMD 1526.39979262
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RFEHFqHrwcwnTBzvYsuEttQ4rQQZw9qQsH\",\"symbol\":\"KMD\"}" # 1526.39979262
sleep 3
echo "1526.39979262 <- expected amount RFEHFqHrwcwnTBzvYsuEttQ4rQQZw9qQsH"
# RJzu13gJQjtS6aQdNEaQMrv7TSL4wQBien KMD 2130.29354862
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RJzu13gJQjtS6aQdNEaQMrv7TSL4wQBien\",\"symbol\":\"KMD\"}" # 2130.29354862
sleep 3
echo "2130.29354862 <- expected amount RJzu13gJQjtS6aQdNEaQMrv7TSL4wQBien"
# RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut KMD 20106.39865075, REVS 0.09000000
# RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut KMD 20106.39865075
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut\",\"symbol\":\"KMD\"}" # 20106.39865075
sleep 3
echo "20106.39865075 <- expected amount RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut"
# RBcmNwoFVZ5kWZB8LMjgGbqvVmByD1DeTJ KMD 12526.83053462
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RBcmNwoFVZ5kWZB8LMjgGbqvVmByD1DeTJ\",\"symbol\":\"KMD\"}" # 12526.83053462
sleep 3
echo "12526.83053462 <- expected amount RBcmNwoFVZ5kWZB8LMjgGbqvVmByD1DeTJ"
# REwf8D6dyFevVSZc6wjTAwmTgntUM5KWGd KMD 273706.84143501
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"REwf8D6dyFevVSZc6wjTAwmTgntUM5KWGd\",\"symbol\":\"KMD\"}" # 273706.84143501
sleep 3
echo "273706.84143501 <- expected amount REwf8D6dyFevVSZc6wjTAwmTgntUM5KWGd"
# RJQNje5EiBV2C7f28YLcm9LEm8AvrSFtVc KMD 3880.03920424
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RJQNje5EiBV2C7f28YLcm9LEm8AvrSFtVc\",\"symbol\":\"KMD\"}" # 3880.03920424
sleep 3
echo "3880.03920424 <- expected amount RJQNje5EiBV2C7f28YLcm9LEm8AvrSFtVc"
# RBFuL5swKoyZnLUTVEPjsuwh7pvP5sAz7P KMD 116.48367000
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RBFuL5swKoyZnLUTVEPjsuwh7pvP5sAz7P\",\"symbol\":\"KMD\"}" # 116.48367000
sleep 3
echo "116.48367000 <- expected amount RBFuL5swKoyZnLUTVEPjsuwh7pvP5sAz7P"
# RJA8Qe3xtpSjXEXeBa8F54fW9HU3ETHCXd KMD 4646.98361435
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RJA8Qe3xtpSjXEXeBa8F54fW9HU3ETHCXd\",\"symbol\":\"KMD\"}" # 4646.98361435
sleep 3
echo "4646.98361435 <- expected amount RJA8Qe3xtpSjXEXeBa8F54fW9HU3ETHCXd"
# RFVp94ZGAAbFhKZG9BwuCBwEjDG9gCpY1g KMD 4893.17953483
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RFVp94ZGAAbFhKZG9BwuCBwEjDG9gCpY1g\",\"symbol\":\"KMD\"}" # 4893.17953483
sleep 3
echo "4893.17953483 <- expected amount RFVp94ZGAAbFhKZG9BwuCBwEjDG9gCpY1g"
# RJcBCXAPp8VYuv87Xz9mNuNCBGJmYCKDFw KMD 13750.07654112
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RJcBCXAPp8VYuv87Xz9mNuNCBGJmYCKDFw\",\"symbol\":\"KMD\"}" # 13750.07654112
sleep 3
echo "13750.07654112 <- expected amount RJcBCXAPp8VYuv87Xz9mNuNCBGJmYCKDFw"
# RKhFZqq9ErJBMH36bSA3sgDfd51nAMdRck KMD 6399.50717276
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RKhFZqq9ErJBMH36bSA3sgDfd51nAMdRck\",\"symbol\":\"KMD\"}" # 6399.50717276
sleep 3
echo "6399.50717276 <- expected amount RKhFZqq9ErJBMH36bSA3sgDfd51nAMdRck"
# RDEbPLoUKK5sbRmJyhouhk3kx2MzTKt6d4 KMD 740.16851028
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RDEbPLoUKK5sbRmJyhouhk3kx2MzTKt6d4\",\"symbol\":\"KMD\"}" # 740.16851028
sleep 3
echo "740.16851028 <- expected amount RDEbPLoUKK5sbRmJyhouhk3kx2MzTKt6d4"
# RAaszCNodXXu9rJL6qqVMZDykXncDecTMS KMD 693.08132289
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RAaszCNodXXu9rJL6qqVMZDykXncDecTMS\",\"symbol\":\"KMD\"}" # 693.08132289
sleep 3
echo "693.08132289 <- expected amount RAaszCNodXXu9rJL6qqVMZDykXncDecTMS"
# RHhBfhEDW88fopZfCasn6omtFr7QKa4wSk KMD 41443.89267324
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RHhBfhEDW88fopZfCasn6omtFr7QKa4wSk\",\"symbol\":\"KMD\"}" # 41443.89267324
sleep 3
echo "41443.89267324 <- expected amount RHhBfhEDW88fopZfCasn6omtFr7QKa4wSk"
# RMg5XaC6Lsj3YT2FtCtSDCAa5i715NYxrf KMD 16344.19309420
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RMg5XaC6Lsj3YT2FtCtSDCAa5i715NYxrf\",\"symbol\":\"KMD\"}" # 16344.19309420
sleep 3
echo "16344.19309420 <- expected amount RMg5XaC6Lsj3YT2FtCtSDCAa5i715NYxrf"
# RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw KMD 867960.91662544, REVS 11685.48356181
# RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw KMD 867960.91662544
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw\",\"symbol\":\"KMD\"}" # 867960.91662544
sleep 3
echo "867960.91662544 <- expected amount RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw"
# RVZEqmLd5e8FBfF9Y6uaKL5hEbdKSaRyCY KMD 1086.09863742
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RVZEqmLd5e8FBfF9Y6uaKL5hEbdKSaRyCY\",\"symbol\":\"KMD\"}" # 1086.09863742
sleep 3
echo "1086.09863742 <- expected amount RVZEqmLd5e8FBfF9Y6uaKL5hEbdKSaRyCY"
# RMHJhEJau3JWyvsuWSm7MnzxqY4QgEXXQm KMD 4319.91306129
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RMHJhEJau3JWyvsuWSm7MnzxqY4QgEXXQm\",\"symbol\":\"KMD\"}" # 4319.91306129
sleep 3
echo "4319.91306129 <- expected amount RMHJhEJau3JWyvsuWSm7MnzxqY4QgEXXQm"
# RHfwxdGyRKD1P9ZAY3wPRNErGjuokg5hgi KMD 38732.60997500
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RHfwxdGyRKD1P9ZAY3wPRNErGjuokg5hgi\",\"symbol\":\"KMD\"}" # 38732.60997500
sleep 3
echo "38732.60997500 <- expected amount RHfwxdGyRKD1P9ZAY3wPRNErGjuokg5hgi"
# RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj KMD 19695.58704144, REVS 390.89494454
# RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj KMD 19695.58704144
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj\",\"symbol\":\"KMD\"}" # 19695.58704144
sleep 3
echo "19695.58704144 <- expected amount RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj"
# RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo KMD 2981.62619009, REVS 30.35300490
# RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo KMD 2981.62619009
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo\",\"symbol\":\"KMD\"}" # 2981.62619009
sleep 3
echo "2981.62619009 <- expected amount RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo"
# RXTuSxW7zs1enAXAq3xSaimTR4NYUTQL6Q KMD 968.31524937
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RXTuSxW7zs1enAXAq3xSaimTR4NYUTQL6Q\",\"symbol\":\"KMD\"}" # 968.31524937
sleep 3
echo "968.31524937 <- expected amount RXTuSxW7zs1enAXAq3xSaimTR4NYUTQL6Q"
# RNg2LQHqauerqtv6yCVXVLug2VFAqc7JaG KMD 3205.27840587
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RNg2LQHqauerqtv6yCVXVLug2VFAqc7JaG\",\"symbol\":\"KMD\"}" # 3205.27840587
sleep 3
echo "3205.27840587 <- expected amount RNg2LQHqauerqtv6yCVXVLug2VFAqc7JaG"
# RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX KMD 40914.30625015, REVS 476.17156540
# RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX KMD 40914.30625015
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX\",\"symbol\":\"KMD\"}" # 40914.30625015
sleep 3
echo "40914.30625015 <- expected amount RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX"
# RPUoGZEYGV32m6sU1qYr375mgELoMxVEJu KMD 48415.76246875
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RPUoGZEYGV32m6sU1qYr375mgELoMxVEJu\",\"symbol\":\"KMD\"}" # 48415.76246875
sleep 3
echo "48415.76246875 <- expected amount RPUoGZEYGV32m6sU1qYr375mgELoMxVEJu"
# RGH3G91bdgu1WrmiN4aBNREpm8EZwddmvw KMD 1363.38787112
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RGH3G91bdgu1WrmiN4aBNREpm8EZwddmvw\",\"symbol\":\"KMD\"}" # 1363.38787112
sleep 3
echo "1363.38787112 <- expected amount RGH3G91bdgu1WrmiN4aBNREpm8EZwddmvw"

200
iguana/tests/KMD.batch4.listunspent

@ -0,0 +1,200 @@
# RKmeJpSRwBouZgkTXA1mre8EMNjQ7CawzH KMD 1999.45556678
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RKmeJpSRwBouZgkTXA1mre8EMNjQ7CawzH\",\"symbol\":\"KMD\"}"
echo "1999.45556678 <- expected amount RKmeJpSRwBouZgkTXA1mre8EMNjQ7CawzH"
# RChSVFn3Bi8kW2vRkohcaGw2QEzapdyjA7 KMD 15493.04399000
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RChSVFn3Bi8kW2vRkohcaGw2QEzapdyjA7\",\"symbol\":\"KMD\"}"
echo "15493.04399000 <- expected amount RChSVFn3Bi8kW2vRkohcaGw2QEzapdyjA7"
# RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB KMD 843.49707566, REVS 16.72927581
# RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB KMD 843.49707566
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB\",\"symbol\":\"KMD\"}"
echo "843.49707566 <- expected amount RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB"
# RLiYLy1TMui1iVGMhfks6Go1y1mopSkc7T KMD 9678.31091750
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RLiYLy1TMui1iVGMhfks6Go1y1mopSkc7T\",\"symbol\":\"KMD\"}"
echo "9678.31091750 <- expected amount RLiYLy1TMui1iVGMhfks6Go1y1mopSkc7T"
# RRLtUwtSG5oQUL6TPk5gtWPSFa4j1eBDxQ KMD 1219.26382940
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RRLtUwtSG5oQUL6TPk5gtWPSFa4j1eBDxQ\",\"symbol\":\"KMD\"}"
echo "1219.26382940 <- expected amount RRLtUwtSG5oQUL6TPk5gtWPSFa4j1eBDxQ"
# RVT4P7mbHcdRmRHBotapx2BsEC1MMcTCMC KMD 1841.49885836
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RVT4P7mbHcdRmRHBotapx2BsEC1MMcTCMC\",\"symbol\":\"KMD\"}"
echo "1841.49885836 <- expected amount RVT4P7mbHcdRmRHBotapx2BsEC1MMcTCMC"
# RNrQxuKtPSrJg6fcp665Q7j8A7WTDSbwjU KMD 681.69393556
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RNrQxuKtPSrJg6fcp665Q7j8A7WTDSbwjU\",\"symbol\":\"KMD\"}"
echo "681.69393556 <- expected amount RNrQxuKtPSrJg6fcp665Q7j8A7WTDSbwjU"
# RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n KMD 3090.02793673, REVS 3.67077856
# RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n KMD 3090.02793673
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n\",\"symbol\":\"KMD\"}"
echo "3090.02793673 <- expected amount RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n"
# RU2MYeg8uicVE28k6iiBXUxbxzeZwULwKi KMD 759.15915551
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RU2MYeg8uicVE28k6iiBXUxbxzeZwULwKi\",\"symbol\":\"KMD\"}"
echo "759.15915551 <- expected amount RU2MYeg8uicVE28k6iiBXUxbxzeZwULwKi"
# RL5Mi7TdaXCWpQNtbs4zUBdHQEurPuRYh8 KMD 158029.04869800
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RL5Mi7TdaXCWpQNtbs4zUBdHQEurPuRYh8\",\"symbol\":\"KMD\"}"
echo "158029.04869800 <- expected amount RL5Mi7TdaXCWpQNtbs4zUBdHQEurPuRYh8"
# RGEkGiZQxqTZjsARMzu2exjPkFegXSGT9o KMD 2298.00667939
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RGEkGiZQxqTZjsARMzu2exjPkFegXSGT9o\",\"symbol\":\"KMD\"}"
echo "2298.00667939 <- expected amount RGEkGiZQxqTZjsARMzu2exjPkFegXSGT9o"
# RAYp48ZaMJGmaKCJxeMLzWQXajW7Hd2Yjr KMD 2788.74791820
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RAYp48ZaMJGmaKCJxeMLzWQXajW7Hd2Yjr\",\"symbol\":\"KMD\"}"
echo "2788.74791820 <- expected amount RAYp48ZaMJGmaKCJxeMLzWQXajW7Hd2Yjr"
# RAryshRkyDqKp3cgavp8CD77yS9A4U5jQz KMD 710.78619077
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RAryshRkyDqKp3cgavp8CD77yS9A4U5jQz\",\"symbol\":\"KMD\"}"
echo "710.78619077 <- expected amount RAryshRkyDqKp3cgavp8CD77yS9A4U5jQz"
# RRbLh1gaRgxRXMRVwGvNw2yESgRyNzscnd KMD 1118.59777607
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RRbLh1gaRgxRXMRVwGvNw2yESgRyNzscnd\",\"symbol\":\"KMD\"}"
echo "1118.59777607 <- expected amount RRbLh1gaRgxRXMRVwGvNw2yESgRyNzscnd"
# RJtnDNrMY8pzcwwKyUvGLTjDot5jR74FRw KMD 8811.66876930
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RJtnDNrMY8pzcwwKyUvGLTjDot5jR74FRw\",\"symbol\":\"KMD\"}"
echo "8811.66876930 <- expected amount RJtnDNrMY8pzcwwKyUvGLTjDot5jR74FRw"
# RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk KMD 79613.96546024, REVS 1579.43521640
# RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk KMD 79613.96546024
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk\",\"symbol\":\"KMD\"}"
echo "79613.96546024 <- expected amount RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk"
# RHvVq3gKrEhXkXJSfxEzweGXRBjRMX1HwR KMD 854.63736305
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RHvVq3gKrEhXkXJSfxEzweGXRBjRMX1HwR\",\"symbol\":\"KMD\"}"
echo "854.63736305 <- expected amount RHvVq3gKrEhXkXJSfxEzweGXRBjRMX1HwR"
# RSqXWQNJTdiiP2L6Q8Pd6nzd3DyN7TzpNF KMD 87148.37244375
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RSqXWQNJTdiiP2L6Q8Pd6nzd3DyN7TzpNF\",\"symbol\":\"KMD\"}"
echo "87148.37244375 <- expected amount RSqXWQNJTdiiP2L6Q8Pd6nzd3DyN7TzpNF"
# RRRWieSx6e2ANSukRrFaRSyF2ikYiqTqbH KMD 96831.52493750
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RRRWieSx6e2ANSukRrFaRSyF2ikYiqTqbH\",\"symbol\":\"KMD\"}"
echo "96831.52493750 <- expected amount RRRWieSx6e2ANSukRrFaRSyF2ikYiqTqbH"
# RBhKUj4dmHDDd8Yhm8npoh9ii5V5ZUjtpu KMD 1935.66218350
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RBhKUj4dmHDDd8Yhm8npoh9ii5V5ZUjtpu\",\"symbol\":\"KMD\"}"
echo "1935.66218350 <- expected amount RBhKUj4dmHDDd8Yhm8npoh9ii5V5ZUjtpu"
# RRCvM3vVV6FPwayTevCCvkpXY2V8RxjEct KMD 50303.39904535
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RRCvM3vVV6FPwayTevCCvkpXY2V8RxjEct\",\"symbol\":\"KMD\"}"
echo "50303.39904535 <- expected amount RRCvM3vVV6FPwayTevCCvkpXY2V8RxjEct"
# RBopZSXfCKrvi6kELKu9Cn3TYDapxpVr8d KMD 106514.67743125
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RBopZSXfCKrvi6kELKu9Cn3TYDapxpVr8d\",\"symbol\":\"KMD\"}"
echo "106514.67743125 <- expected amount RBopZSXfCKrvi6kELKu9Cn3TYDapxpVr8d"
# RFEHFqHrwcwnTBzvYsuEttQ4rQQZw9qQsH KMD 1526.39979262
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RFEHFqHrwcwnTBzvYsuEttQ4rQQZw9qQsH\",\"symbol\":\"KMD\"}"
echo "1526.39979262 <- expected amount RFEHFqHrwcwnTBzvYsuEttQ4rQQZw9qQsH"
# RJzu13gJQjtS6aQdNEaQMrv7TSL4wQBien KMD 2130.29354862
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RJzu13gJQjtS6aQdNEaQMrv7TSL4wQBien\",\"symbol\":\"KMD\"}"
echo "2130.29354862 <- expected amount RJzu13gJQjtS6aQdNEaQMrv7TSL4wQBien"
# RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut KMD 20106.39865075, REVS 0.09000000
# RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut KMD 20106.39865075
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut\",\"symbol\":\"KMD\"}"
echo "20106.39865075 <- expected amount RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut"
# RBcmNwoFVZ5kWZB8LMjgGbqvVmByD1DeTJ KMD 12526.83053462
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RBcmNwoFVZ5kWZB8LMjgGbqvVmByD1DeTJ\",\"symbol\":\"KMD\"}"
echo "12526.83053462 <- expected amount RBcmNwoFVZ5kWZB8LMjgGbqvVmByD1DeTJ"
# REwf8D6dyFevVSZc6wjTAwmTgntUM5KWGd KMD 273706.84143501
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"REwf8D6dyFevVSZc6wjTAwmTgntUM5KWGd\",\"symbol\":\"KMD\"}"
echo "273706.84143501 <- expected amount REwf8D6dyFevVSZc6wjTAwmTgntUM5KWGd"
# RJQNje5EiBV2C7f28YLcm9LEm8AvrSFtVc KMD 3880.03920424
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RJQNje5EiBV2C7f28YLcm9LEm8AvrSFtVc\",\"symbol\":\"KMD\"}"
echo "3880.03920424 <- expected amount RJQNje5EiBV2C7f28YLcm9LEm8AvrSFtVc"
# RBFuL5swKoyZnLUTVEPjsuwh7pvP5sAz7P KMD 116.48367000
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RBFuL5swKoyZnLUTVEPjsuwh7pvP5sAz7P\",\"symbol\":\"KMD\"}"
echo "116.48367000 <- expected amount RBFuL5swKoyZnLUTVEPjsuwh7pvP5sAz7P"
# RJA8Qe3xtpSjXEXeBa8F54fW9HU3ETHCXd KMD 4646.98361435
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RJA8Qe3xtpSjXEXeBa8F54fW9HU3ETHCXd\",\"symbol\":\"KMD\"}"
echo "4646.98361435 <- expected amount RJA8Qe3xtpSjXEXeBa8F54fW9HU3ETHCXd"
# RFVp94ZGAAbFhKZG9BwuCBwEjDG9gCpY1g KMD 4893.17953483
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RFVp94ZGAAbFhKZG9BwuCBwEjDG9gCpY1g\",\"symbol\":\"KMD\"}"
echo "4893.17953483 <- expected amount RFVp94ZGAAbFhKZG9BwuCBwEjDG9gCpY1g"
# RJcBCXAPp8VYuv87Xz9mNuNCBGJmYCKDFw KMD 13750.07654112
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RJcBCXAPp8VYuv87Xz9mNuNCBGJmYCKDFw\",\"symbol\":\"KMD\"}"
echo "13750.07654112 <- expected amount RJcBCXAPp8VYuv87Xz9mNuNCBGJmYCKDFw"
# RKhFZqq9ErJBMH36bSA3sgDfd51nAMdRck KMD 6399.50717276
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RKhFZqq9ErJBMH36bSA3sgDfd51nAMdRck\",\"symbol\":\"KMD\"}"
echo "6399.50717276 <- expected amount RKhFZqq9ErJBMH36bSA3sgDfd51nAMdRck"
# RDEbPLoUKK5sbRmJyhouhk3kx2MzTKt6d4 KMD 740.16851028
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RDEbPLoUKK5sbRmJyhouhk3kx2MzTKt6d4\",\"symbol\":\"KMD\"}"
echo "740.16851028 <- expected amount RDEbPLoUKK5sbRmJyhouhk3kx2MzTKt6d4"
# RAaszCNodXXu9rJL6qqVMZDykXncDecTMS KMD 693.08132289
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RAaszCNodXXu9rJL6qqVMZDykXncDecTMS\",\"symbol\":\"KMD\"}"
echo "693.08132289 <- expected amount RAaszCNodXXu9rJL6qqVMZDykXncDecTMS"
# RHhBfhEDW88fopZfCasn6omtFr7QKa4wSk KMD 41443.89267324
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RHhBfhEDW88fopZfCasn6omtFr7QKa4wSk\",\"symbol\":\"KMD\"}"
echo "41443.89267324 <- expected amount RHhBfhEDW88fopZfCasn6omtFr7QKa4wSk"
# RMg5XaC6Lsj3YT2FtCtSDCAa5i715NYxrf KMD 16344.19309420
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RMg5XaC6Lsj3YT2FtCtSDCAa5i715NYxrf\",\"symbol\":\"KMD\"}"
echo "16344.19309420 <- expected amount RMg5XaC6Lsj3YT2FtCtSDCAa5i715NYxrf"
# RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw KMD 867960.91662544, REVS 11685.48356181
# RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw KMD 867960.91662544
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw\",\"symbol\":\"KMD\"}"
echo "867960.91662544 <- expected amount RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw"
# RVZEqmLd5e8FBfF9Y6uaKL5hEbdKSaRyCY KMD 1086.09863742
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RVZEqmLd5e8FBfF9Y6uaKL5hEbdKSaRyCY\",\"symbol\":\"KMD\"}"
echo "1086.09863742 <- expected amount RVZEqmLd5e8FBfF9Y6uaKL5hEbdKSaRyCY"
# RMHJhEJau3JWyvsuWSm7MnzxqY4QgEXXQm KMD 4319.91306129
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RMHJhEJau3JWyvsuWSm7MnzxqY4QgEXXQm\",\"symbol\":\"KMD\"}"
echo "4319.91306129 <- expected amount RMHJhEJau3JWyvsuWSm7MnzxqY4QgEXXQm"
# RHfwxdGyRKD1P9ZAY3wPRNErGjuokg5hgi KMD 38732.60997500
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RHfwxdGyRKD1P9ZAY3wPRNErGjuokg5hgi\",\"symbol\":\"KMD\"}"
echo "38732.60997500 <- expected amount RHfwxdGyRKD1P9ZAY3wPRNErGjuokg5hgi"
# RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj KMD 19695.58704144, REVS 390.89494454
# RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj KMD 19695.58704144
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj\",\"symbol\":\"KMD\"}"
echo "19695.58704144 <- expected amount RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj"
# RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo KMD 2981.62619009, REVS 30.35300490
# RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo KMD 2981.62619009
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo\",\"symbol\":\"KMD\"}"
echo "2981.62619009 <- expected amount RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo"
# RXTuSxW7zs1enAXAq3xSaimTR4NYUTQL6Q KMD 968.31524937
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RXTuSxW7zs1enAXAq3xSaimTR4NYUTQL6Q\",\"symbol\":\"KMD\"}"
echo "968.31524937 <- expected amount RXTuSxW7zs1enAXAq3xSaimTR4NYUTQL6Q"
# RNg2LQHqauerqtv6yCVXVLug2VFAqc7JaG KMD 3205.27840587
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RNg2LQHqauerqtv6yCVXVLug2VFAqc7JaG\",\"symbol\":\"KMD\"}"
echo "3205.27840587 <- expected amount RNg2LQHqauerqtv6yCVXVLug2VFAqc7JaG"
# RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX KMD 40914.30625015, REVS 476.17156540
# RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX KMD 40914.30625015
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX\",\"symbol\":\"KMD\"}"
echo "40914.30625015 <- expected amount RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX"
# RPUoGZEYGV32m6sU1qYr375mgELoMxVEJu KMD 48415.76246875
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RPUoGZEYGV32m6sU1qYr375mgELoMxVEJu\",\"symbol\":\"KMD\"}"
echo "48415.76246875 <- expected amount RPUoGZEYGV32m6sU1qYr375mgELoMxVEJu"
# RGH3G91bdgu1WrmiN4aBNREpm8EZwddmvw KMD 1363.38787112
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RGH3G91bdgu1WrmiN4aBNREpm8EZwddmvw\",\"symbol\":\"KMD\"}"
echo "1363.38787112 <- expected amount RGH3G91bdgu1WrmiN4aBNREpm8EZwddmvw"

33
iguana/tests/REVS.batch4.importaddress

@ -0,0 +1,33 @@
# RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB KMD 843.49707566, REVS 16.72927581
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RPYGEUfYMHizer5siX2CNpQ6xHAbjtgQuB\",\"symbol\":\"REVS\"}" # 16.72927581
sleep 3
# RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n KMD 3090.02793673, REVS 3.67077856
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RTrZWBu7SUZWf4ZdyUVddRPxsnDhZnre7n\",\"symbol\":\"REVS\"}" # 3.67077856
sleep 3
# RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk KMD 79613.96546024, REVS 1579.43521640
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRixT2CqGcr5cdPoP3G2rhrWDfSbVZR6sk\",\"symbol\":\"REVS\"}" # 1579.43521640
sleep 3
# RQgfzPR4zeCyLWaddHysGEVzoKLZa5E4Ut KMD 20106.39865075, REVS 0.09000000
sleep 1
# RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw KMD 867960.91662544, REVS 11685.48356181
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RA9G36WwA9K95bn8Cbycq5ZnoxhSzzhhBw\",\"symbol\":\"REVS\"}" # 11685.48356181
sleep 3
# RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj KMD 19695.58704144, REVS 390.89494454
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RVcSdFR5fC3Qjk3CARvQSkra5PQwC8U3uj\",\"symbol\":\"REVS\"}" # 390.89494454
sleep 3
# RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo KMD 2981.62619009, REVS 30.35300490
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RQokxkBAizLmegMeWK5TyTpSHn2vP5adjo\",\"symbol\":\"REVS\"}" # 30.35300490
sleep 3
# RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX KMD 40914.30625015, REVS 476.17156540
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RAMvDwi58oyArqfGseWZsYbR2BN3L7ghVX\",\"symbol\":\"REVS\"}" # 476.17156540
sleep 3
d7b569ab57ecd41bac23f3dc39f3844878d337e9318fc91018a7eca8bb6ba77a
bd4cfe44080e63be6fff752053231779b419fa10c579425d6f9b362359f28ae9
825ff540a2846c8ce4d25a2a51687b0506eda0a0f2bd006254c8a0c6a8ebc721
75b0586d9feda7503a7251629345a1bc9e47847abb71d976d8eb8eead54f4a2e
4df987f42b0ba6f75f89a591b1a5a5aefd0ad7094b8ff2e2ce7d6b273f8985e9
73672daeee959723e4373fb2b5252dd8d2515863cfdb397d8b9dfdc743000afe
817c83d32f325d44d95f906492b9a567909b2d9488e9f25e8eddd800dd5f3a86
64cc8779344aa739c4f4b55194c847ff0f11fd10fe226cb467eb22fc8ca4b9b5

4
iguana/tests/deximportaddress

@ -1,4 +1,2 @@
#!/bin/bash
#curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"1Hgzt5xsnbfc8UTWqWKSTLRm5bEYHYBoCE\",\"symbol\":\"BTC\"}"
#curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RRyBxbrAPRUBCUpiJgJZYrkxqrh8x5ta9Z\",\"symbol\":\"USD\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"bXQu4vm7gJcBvBXDiNU3eyAVrhW44wzCYW\",\"symbol\":\"SHARK\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"importaddress\",\"address\":\"RHSA9ocZc77tHiFvVQ2h26AJQFsionWAXK\",\"symbol\":\"KMD\"}"

2
iguana/tests/dexlistunspent

@ -1,2 +1,2 @@
#!/bin/bash
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"1En4tL4drN5qAZDtu1BCC7DThj58yrx7cX\",\"symbol\":\"BTC\"}"
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RHSA9ocZc77tHiFvVQ2h26AJQFsionWAXK\",\"symbol\":\"KMD\"}"

Loading…
Cancel
Save