tx · CwB2eUVvTSDNhdnppHL2jnhcuFXPpqPYiLgBwQ3WBgoo

3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf:  -1.00000000 Waves

2019.06.26 05:44 [558506] smart asset 3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf > SELF 0.00000000 teste1

{ "type": 15, "id": "CwB2eUVvTSDNhdnppHL2jnhcuFXPpqPYiLgBwQ3WBgoo", "fee": 100000000, "feeAssetId": null, "timestamp": 1561517039241, "version": 1, "sender": "3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf", "senderPublicKey": "88G7uaEAqauYWiPX3DFqaVYbbutCc9nH2DNJcvQ6gHeH", "proofs": [ "5TzLMnQpbC1JWByf8xffDhyzP2U5vMXoBjCrhL7md95cqURSna29GeuwhVfjYmkRcFJXLYL3kxwen3FUNLWUr9KY" ], "assetId": "G6M1QMtQ8MwtLe38r3Q3v8oS7Jz5ZJjrxxBTveGE73XK", "script": "base64:AgQAAAAFQlRDSWQBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/BAAAAAVFVEhJZAEAAAAgLiDD9uqKn4lRu7/oiBETNux+2MJCA3JlDVjNcyZCZYIEAAAABUxUQ0lkAQAAACD2HjZC05fd8lpYFSDuLA/aLUYGioA2kq5ViVmesMUsoQQAAAAFWkVDSWQBAAAAIKFSWtVJ1nG6w68fhsmSf+oPilocH5ikK3MGjsya/tVnBAAAAAZEQVNISWQBAAAAIJVTIBcyx/f4MW1SqI21WdPP6/Jz7ZRxV+WdJufOh2rgBAAAAAVYTVJJZAEAAAAgQxj0G3VSMI+7+iJkvwQoTrekocmcbhiCndEGv8vAJAIEAAAABVVTRElkAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QQAAAAFRVVSSWQBAAAAIOwWYQRfe5EhQQY7N/Pn19T489PGDqqAl/OQv9D6FbqZBAAAAAZpc3N1ZWQAAAABa5F+TPAEAAAACmJhc2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VENJZAYJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABVpFQ0lkBgkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAGREFTSElkBgkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAFWE1SSWQGCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVVU0RJZAYJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABUVVUklkAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAHBndm3qE=", "chainId": 84, "height": 558506, "spentComplexity": 0 } View: original | compacted Prev: BpiXwMTQcf2gUrkESEskt8XT6roysbDu9FDR3AXNNi6V Next: 6PvXm5gqUZrD8pXHbpDrb2NQ1YRRkNrX1td6qVAu34jw Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3+let BTCId = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
4+let ETHId = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
5+let LTCId = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk'
6+let ZECId = base58'BrjUWjndUanm5VsJkbUip8VRYy6LWJePtxya3FNv4TQa'
7+let DASHId = base58'B3uGHFRpSUuGEDWjqB9LWWxafQj8VTvpMucEyoxzws5H'
8+let XMRId = base58'5WvPKSJXzVE2orvbkJ8wsQmmQKqTv9sGBPksV4adViw3'
9+let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
10+let EURId = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
311 let issued = 1561514102000
412 let baseAmount = 1000000
513 let milInDay = 60000
614 match tx {
715 case ex: ExchangeTransaction =>
8- if ((ex.buyOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount))))
16+ if (if ((ex.buyOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount))))
17+ then (1440 >= ex.buyOrder.expiration)
18+ else false)
919 then true
10- else (ex.sellOrder.price >= ((baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)) + 1))
20+ else if ((ex.sellOrder.price >= ((baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)) + 1)))
21+ then (1440 >= ex.sellOrder.expiration)
22+ else false
23+ case e: ExchangeTransaction =>
24+ if (if (if (if (if (if (if ((e.sellOrder.assetPair.priceAsset == BTCId))
25+ then true
26+ else (e.sellOrder.assetPair.priceAsset == ETHId))
27+ then true
28+ else (e.sellOrder.assetPair.priceAsset == LTCId))
29+ then true
30+ else (e.sellOrder.assetPair.priceAsset == ZECId))
31+ then true
32+ else (e.sellOrder.assetPair.priceAsset == DASHId))
33+ then true
34+ else (e.sellOrder.assetPair.priceAsset == XMRId))
35+ then true
36+ else (e.sellOrder.assetPair.priceAsset == USDId))
37+ then true
38+ else (e.sellOrder.assetPair.priceAsset == EURId)
1139 case t: BurnTransaction|MassTransferTransaction|TransferTransaction =>
1240 false
1341 case _ =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3+let BTCId = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
4+let ETHId = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
5+let LTCId = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk'
6+let ZECId = base58'BrjUWjndUanm5VsJkbUip8VRYy6LWJePtxya3FNv4TQa'
7+let DASHId = base58'B3uGHFRpSUuGEDWjqB9LWWxafQj8VTvpMucEyoxzws5H'
8+let XMRId = base58'5WvPKSJXzVE2orvbkJ8wsQmmQKqTv9sGBPksV4adViw3'
9+let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
10+let EURId = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
311 let issued = 1561514102000
412 let baseAmount = 1000000
513 let milInDay = 60000
614 match tx {
715 case ex: ExchangeTransaction =>
8- if ((ex.buyOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount))))
16+ if (if ((ex.buyOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount))))
17+ then (1440 >= ex.buyOrder.expiration)
18+ else false)
919 then true
10- else (ex.sellOrder.price >= ((baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)) + 1))
20+ else if ((ex.sellOrder.price >= ((baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)) + 1)))
21+ then (1440 >= ex.sellOrder.expiration)
22+ else false
23+ case e: ExchangeTransaction =>
24+ if (if (if (if (if (if (if ((e.sellOrder.assetPair.priceAsset == BTCId))
25+ then true
26+ else (e.sellOrder.assetPair.priceAsset == ETHId))
27+ then true
28+ else (e.sellOrder.assetPair.priceAsset == LTCId))
29+ then true
30+ else (e.sellOrder.assetPair.priceAsset == ZECId))
31+ then true
32+ else (e.sellOrder.assetPair.priceAsset == DASHId))
33+ then true
34+ else (e.sellOrder.assetPair.priceAsset == XMRId))
35+ then true
36+ else (e.sellOrder.assetPair.priceAsset == USDId))
37+ then true
38+ else (e.sellOrder.assetPair.priceAsset == EURId)
1139 case t: BurnTransaction|MassTransferTransaction|TransferTransaction =>
1240 false
1341 case _ =>
1442 true
1543 }

github/deemru/w8io/169f3d6 
24.70 ms