tx · De6EZtKxuXWVCYGRaFHuHV1gehVJ6BXPx6LJihchLPvb

3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar:  -1.00000000 Waves

2020.09.03 14:35 [1161158] smart asset 3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar > SELF 0.00000000 Test200

{ "type": 15, "id": "De6EZtKxuXWVCYGRaFHuHV1gehVJ6BXPx6LJihchLPvb", "fee": 100000000, "feeAssetId": null, "timestamp": 1599132948978, "version": 1, "sender": "3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar", "senderPublicKey": "BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS", "proofs": [ "rLYBES3GWZ2YSRrm4B8kbxDigYvYDy8RD5n4YSiMQoqbsbt4m97oTpKuMtpCNRfg8LJtMPAhHXJ3nsDunU9D2LH" ], "assetId": "ELifKEtwTDt6TVLYYWJKNoCKuNJxzFTDcR5YC8YBWh2e", "script": "base64:AwQAAAALZEFwcEFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNeWdRYXdHMmdQam9lajh3WDJjcWt4bWc3S1hBUFA2eGFyBAAAAAN0aW0IBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wBAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAACdHgAAAAGc2VuZGVyBQAAAAtkQXBwQWRkcmVzcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAGYAAAACAAAAAAAAAAAFAAAAAAAAAAAHCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAAZnZ2dnZyAJAAGkAAAAAQUAAAADdGltAgAAAAUgcnJycgkAAAIAAAABAgAAABZzb21ldGhpbmcgYmFkIGhhcHBlbmVkB9FQkXo=", "chainId": 84, "height": 1161158, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BnvCDH2eu98my9xsbFahFutdQUA4aovdyE3AQieFBGvy Next: 8LVFmRtGkLhyZpB5Cn6rfikgaL5biiKvwNFPHsFVPVXW Full:
OldNewDifferences
1-{-# STDLIB_VERSION 1 #-}
1+{-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let dAppAddress = addressFromString("3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar")
4-let adminPK = base58'BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS'
5-let ADKAR = base58'6KSoKoXkT1HQP9sd3Z17bjzHX83C3EhAUpfdUpvzgKDv'
6-let USNON = base58'66b9Fkc7VXSHhqngV3Pc4YQTQs38eZkstvFaYjLmZTTN'
7-let USTOT = base58'HntC3EW8FA17D4doh8kJng7uS8gQFDzKFdA22cgo5GAv'
4+let tim = lastBlock.timestamp
85 match tx {
9- case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
6+ case tx: MassTransferTransaction|BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
107 (tx.sender == dAppAddress)
11- case tx: TransferTransaction|MassTransferTransaction =>
8+ case tx: TransferTransaction =>
129 true
1310 case e: ExchangeTransaction =>
14- if (if ((e.sellOrder.assetPair.priceAsset == ADKAR))
15- then true
16- else (e.sellOrder.assetPair.amountAsset == ADKAR))
17- then true
18- else if (if ((e.sellOrder.assetPair.priceAsset == USNON))
19- then true
20- else (e.sellOrder.assetPair.amountAsset == USNON))
21- then true
22- else if (if ((e.sellOrder.assetPair.priceAsset == USTOT))
23- then true
24- else (e.sellOrder.assetPair.amountAsset == USTOT))
25- then true
26- else {
27- let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
28- let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)
29- let admin = (e.sellOrder.sender == addressFromPublicKey(adminPK))
30- if (admin)
31- then true
32- else if (isDefined(e.sellOrder.assetPair.priceAsset))
33- then throw("WAVESghh")
34- else if (sell)
35- then if ((94999999 > e.sellOrder.price))
36- then throw("ggggg")
37- else true
38- else if (buy)
39- then if ((49999999 > e.sellOrder.price))
40- then throw("WAVESffgg")
41- else true
42- else throw("Something bad happened")
43- }
11+ if ((5 > 7))
12+ then throw((("ggggg " + toString(tim)) + " rrrr"))
13+ else throw("something bad happened")
4414 case _ =>
4515 false
4616 }

github/deemru/w8io/169f3d6 
27.66 ms