tx · 44o2QDkvwEqoRBv9sDowAvrEGuhkYooaEZzHbP6z5pgQ

3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf:  -1.00000000 Waves

2019.06.27 17:34 [560658] smart asset 3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf > SELF 0.00000000 teste1

{ "type": 15, "id": "44o2QDkvwEqoRBv9sDowAvrEGuhkYooaEZzHbP6z5pgQ", "fee": 100000000, "feeAssetId": null, "timestamp": 1561646058980, "version": 1, "sender": "3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf", "senderPublicKey": "88G7uaEAqauYWiPX3DFqaVYbbutCc9nH2DNJcvQ6gHeH", "proofs": [ "3eXmFH7XBXtuPmVLAaVNmXxfrYRhU95EPmYPpV9jxCAzGAZXcy5BiUz8NQom1zF6TWPNxitEXx2yV1wXMNrPH6W2" ], "assetId": "G6M1QMtQ8MwtLe38r3Q3v8oS7Jz5ZJjrxxBTveGE73XK", "script": "base64:AgQAAAAFQlRDSWQBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/BAAAAAVFVEhJZAEAAAAgLiDD9uqKn4lRu7/oiBETNux+2MJCA3JlDVjNcyZCZYIEAAAABUxUQ0lkAQAAACD2HjZC05fd8lpYFSDuLA/aLUYGioA2kq5ViVmesMUsoQQAAAAFWkVDSWQBAAAAIKFSWtVJ1nG6w68fhsmSf+oPilocH5ikK3MGjsya/tVnBAAAAAZEQVNISWQBAAAAIJVTIBcyx/f4MW1SqI21WdPP6/Jz7ZRxV+WdJufOh2rgBAAAAAVYTVJJZAEAAAAgQxj0G3VSMI+7+iJkvwQoTrekocmcbhiCndEGv8vAJAIEAAAABVVTRElkAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QQAAAAFRVVSSWQBAAAAIOwWYQRfe5EhQQY7N/Pn19T489PGDqqAl/OQv9D6FbqZBAAAAAZpc3N1ZWQAAAABa5Y7WAAEAAAACmJ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AAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABUxUQ0lkBgkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAFWkVDSWQGCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAZEQVNISWQGCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVYTVJJZAYJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABVVTRElkBgkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAFRVVSSWQDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYGJoArZQ==", "chainId": 84, "height": 560658, "spentComplexity": 0 } View: original | compacted Prev: 7sPmyvYPTNTHM2qKdjaxv1egcox3ygd1oHUho9NBimV4 Next: qq3poYCzK2ppDZZ4hyYLzBKQRXJKmG6G4ku7FJCQ9UU Diff:
OldNewDifferences
88 let XMRId = base58'5WvPKSJXzVE2orvbkJ8wsQmmQKqTv9sGBPksV4adViw3'
99 let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
1010 let EURId = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
11-let issued = 1561584214000
11+let issued = 1561593600000
1212 let baseAmount = 500000
1313 let milInDay = 86400000
1414 match tx {
1515 case ex: ExchangeTransaction =>
16- if (if ((ex.buyOrder.price >= (((ex.timestamp - issued) / 60000) * baseAmount)))
16+ if (if ((ex.buyOrder.price >= (((ex.timestamp - issued) / milInDay) * baseAmount)))
1717 then (milInDay >= (ex.buyOrder.expiration - ex.buyOrder.timestamp))
1818 else false)
1919 then true
20- else if ((ex.sellOrder.price >= (baseAmount + (((ex.timestamp - issued) / 60000) * baseAmount))))
20+ else if ((ex.sellOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount))))
2121 then (milInDay >= (ex.sellOrder.expiration - ex.sellOrder.timestamp))
2222 else false
2323 case e: ExchangeTransaction =>
3737 then true
3838 else (e.sellOrder.assetPair.priceAsset == EURId)
3939 case t: BurnTransaction|MassTransferTransaction|TransferTransaction =>
40- false
40+ true
4141 case _ =>
4242 true
4343 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let BTCId = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
44 let ETHId = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
55 let LTCId = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk'
66 let ZECId = base58'BrjUWjndUanm5VsJkbUip8VRYy6LWJePtxya3FNv4TQa'
77 let DASHId = base58'B3uGHFRpSUuGEDWjqB9LWWxafQj8VTvpMucEyoxzws5H'
88 let XMRId = base58'5WvPKSJXzVE2orvbkJ8wsQmmQKqTv9sGBPksV4adViw3'
99 let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
1010 let EURId = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
11-let issued = 1561584214000
11+let issued = 1561593600000
1212 let baseAmount = 500000
1313 let milInDay = 86400000
1414 match tx {
1515 case ex: ExchangeTransaction =>
16- if (if ((ex.buyOrder.price >= (((ex.timestamp - issued) / 60000) * baseAmount)))
16+ if (if ((ex.buyOrder.price >= (((ex.timestamp - issued) / milInDay) * baseAmount)))
1717 then (milInDay >= (ex.buyOrder.expiration - ex.buyOrder.timestamp))
1818 else false)
1919 then true
20- else if ((ex.sellOrder.price >= (baseAmount + (((ex.timestamp - issued) / 60000) * baseAmount))))
20+ else if ((ex.sellOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount))))
2121 then (milInDay >= (ex.sellOrder.expiration - ex.sellOrder.timestamp))
2222 else false
2323 case e: ExchangeTransaction =>
2424 if (if (if (if (if (if (if ((e.sellOrder.assetPair.priceAsset == BTCId))
2525 then true
2626 else (e.sellOrder.assetPair.priceAsset == ETHId))
2727 then true
2828 else (e.sellOrder.assetPair.priceAsset == LTCId))
2929 then true
3030 else (e.sellOrder.assetPair.priceAsset == ZECId))
3131 then true
3232 else (e.sellOrder.assetPair.priceAsset == DASHId))
3333 then true
3434 else (e.sellOrder.assetPair.priceAsset == XMRId))
3535 then true
3636 else (e.sellOrder.assetPair.priceAsset == USDId))
3737 then true
3838 else (e.sellOrder.assetPair.priceAsset == EURId)
3939 case t: BurnTransaction|MassTransferTransaction|TransferTransaction =>
40- false
40+ true
4141 case _ =>
4242 true
4343 }

github/deemru/w8io/026f985 
38.06 ms