tx · 9AjEnSVi7Sxu55pkVsMfWaVcEFtU5EUjR6T7iRr4daJC
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.12 16:23 [491990] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 tenpe
{
"type": 15,
"id": "9AjEnSVi7Sxu55pkVsMfWaVcEFtU5EUjR6T7iRr4daJC",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1549977774976,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"YFoHioEAuwXeqSCSujWn1ZKW6U5fPo4NToMnbvSTJxjYCbZZnu7RygNXPVTRewRoHU28Mh6jYYqGDdFnivS6zwM"
],
"assetId": "EY83fPjcXEkETodcmME3LwnTnMoVTagaiXty7gXN3y34",
"script": "base64:AQQAAAAKc3RhcnRCbG9jawAAAAAAABUmlwQAAAAFUHJpY2UAAAAAAAABhqAEAAAABm9uZWRheQAAAAAAAAAFoAQAAAAIbWlucHJpY2UAAAAAAAX14QAEAAAACG1heHByaWNlAAAAAAAANu6ABAAAAAptYXhhbW1vdW50AAAAAAA7msoABAAAAAptaW5hbW1vdW50AAAAAAAF9eEABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAEZGF5cwkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAAKc3RhcnRCbG9jawUAAAAGb25lZGF5AwkAAGYAAAACBQAAAAptaW5hbW1vdW50CAUAAAABZQAAAAZhbW91bnQHAwkAAGYAAAACCAUAAAABZQAAAAZhbW91bnQFAAAACm1heGFtbW91bnQHBgMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgezUfTz",
"chainId": 84,
"height": 491990,
"spentComplexity": 0
}
View: original | compacted
Prev: 29mpn7SasVnpaK4iLD2Cu3Y8UVVeBMSYyPi9rDozHVjJ
Next: Dh4GdsfEqJ9FUhmMyhkAJPrFWhmQXGVKFVKkLzhGaF4W
Diff:
Old | New | | Differences |
---|
11 | 11 | | case e: ExchangeTransaction => |
---|
12 | 12 | | let days = ((height - startBlock) / oneday) |
---|
13 | 13 | | if ((minammount > e.amount)) |
---|
14 | | - | then throw("Current balance is less than minimalWavesBalance") |
---|
| 14 | + | then false |
---|
15 | 15 | | else if ((e.amount > maxammount)) |
---|
16 | | - | then throw("Current balance is less than minimalWavesBalance") |
---|
| 16 | + | then false |
---|
17 | 17 | | else true |
---|
18 | 18 | | case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
19 | 19 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let startBlock = 1386135 |
---|
4 | 4 | | let Price = 100000 |
---|
5 | 5 | | let oneday = 1440 |
---|
6 | 6 | | let minprice = 100000000 |
---|
7 | 7 | | let maxprice = 3600000 |
---|
8 | 8 | | let maxammount = 1000000000 |
---|
9 | 9 | | let minammount = 100000000 |
---|
10 | 10 | | match tx { |
---|
11 | 11 | | case e: ExchangeTransaction => |
---|
12 | 12 | | let days = ((height - startBlock) / oneday) |
---|
13 | 13 | | if ((minammount > e.amount)) |
---|
14 | | - | then throw("Current balance is less than minimalWavesBalance") |
---|
| 14 | + | then false |
---|
15 | 15 | | else if ((e.amount > maxammount)) |
---|
16 | | - | then throw("Current balance is less than minimalWavesBalance") |
---|
| 16 | + | then false |
---|
17 | 17 | | else true |
---|
18 | 18 | | case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
19 | 19 | | true |
---|
20 | 20 | | case _ => |
---|
21 | 21 | | false |
---|
22 | 22 | | } |
---|