tx · 6xcfXsVzQif5KYdh7BriGHMduZK5bzszCmUbxWVK2XMc

3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc:  -1.00000000 Waves

2019.03.14 17:26 [535901] smart asset 3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc > SELF 0.00000000 oooo

{ "type": 15, "id": "6xcfXsVzQif5KYdh7BriGHMduZK5bzszCmUbxWVK2XMc", "fee": 100000000, "feeAssetId": null, "timestamp": 1552573609922, "version": 1, "sender": "3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc", "senderPublicKey": "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T", "proofs": [ "nGuzdXwZx97NfrDim4fi5LUSXw9veeVBM4g9Q4oyoVxR2PXranQY8B38XNDTvsigt4xVJrVgDeQgspvdU2cXj9C" ], "assetId": "6QXK7NxXhJtzvABLDKmzYH3V9NfedLAEjSb4Cnvk43wv", "script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAILPwEAAAACnN0YXJ0UHJpY2UAAAAAAACJVEAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAADwAAAAAAAAAA+gEAAAABHBhc3MAAAAAFO51IwAEAAAAA3ZhbAAAAAAAAIlUQAQAAAAHQVNpZ25lZAIAAAArV0hGWkwyc2VEemM0Y2dIRXk1alQ3TFN0dDV4cHF6dFZmQjU4VnhoaGk4VAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgQAAAAEZGF5cwkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAALc3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zc1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgcJAAACAAAAAQIAAAAqVHJhbnNhY3Rpb24gaXMgbm90IGFsbG93ZWQgYnkgdG9rZW4tc2NyaXB0jgbOqA==", "chainId": 84, "height": 535901, "spentComplexity": 0 } View: original | compacted Prev: 5pD2pDKCmJMAA8PnVQHAQzANAXNyJPzcVMFAucj9Kkmb Next: Hwq7uyB9wnCjsun1RJizDxuC82L8mnmYcDYAhqHXGQbj Diff:
OldNewDifferences
88 let val = 9000000
99 let ASigned = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
1010 match tx {
11- case e: ExchangeTransaction =>
12- let days = ((height - startHeight) / interval)
13- if ((toBase58String(e.senderPublicKey) == ASigned))
11+ case t: ExchangeTransaction =>
12+ if ((toBase58String(t.senderPublicKey) == ASigned))
1413 then true
15- else if (if (if ((e.price >= (startPrice * (1 + (days * days)))))
16- then !(isDefined(e.sellOrder.assetPair.priceAsset))
17- else throw("001"))
18- then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
19- else throw("24"))
20- then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
21- else throw("25")
14+ else {
15+ let days = ((height - startHeight) / interval)
16+ if (if (if ((t.price >= (startPrice * (1 + (days * days)))))
17+ then !(isDefined(t.sellOrder.assetPair.priceAsset))
18+ else throw("001"))
19+ then (exp >= (t.sellOrder.expiration - t.sellOrder.timestamp))
20+ else throw("24"))
21+ then (exp >= (t.buyOrder.expiration - t.buyOrder.timestamp))
22+ else throw("25")
23+ }
2224 case t: TransferTransaction =>
2325 if ((toBase58String(t.senderPublicKey) == ASigned))
2426 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let startHeight = 535804
44 let startPrice = 9000000
55 let interval = (24 * 60)
66 let exp = ((100 * 60) * 1000)
77 let pass = 89900000000
88 let val = 9000000
99 let ASigned = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
1010 match tx {
11- case e: ExchangeTransaction =>
12- let days = ((height - startHeight) / interval)
13- if ((toBase58String(e.senderPublicKey) == ASigned))
11+ case t: ExchangeTransaction =>
12+ if ((toBase58String(t.senderPublicKey) == ASigned))
1413 then true
15- else if (if (if ((e.price >= (startPrice * (1 + (days * days)))))
16- then !(isDefined(e.sellOrder.assetPair.priceAsset))
17- else throw("001"))
18- then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
19- else throw("24"))
20- then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
21- else throw("25")
14+ else {
15+ let days = ((height - startHeight) / interval)
16+ if (if (if ((t.price >= (startPrice * (1 + (days * days)))))
17+ then !(isDefined(t.sellOrder.assetPair.priceAsset))
18+ else throw("001"))
19+ then (exp >= (t.sellOrder.expiration - t.sellOrder.timestamp))
20+ else throw("24"))
21+ then (exp >= (t.buyOrder.expiration - t.buyOrder.timestamp))
22+ else throw("25")
23+ }
2224 case t: TransferTransaction =>
2325 if ((toBase58String(t.senderPublicKey) == ASigned))
2426 then true
2527 else false
2628 case t: ReissueTransaction =>
2729 if ((toBase58String(t.senderPublicKey) == ASigned))
2830 then true
2931 else false
3032 case t: BurnTransaction =>
3133 if ((toBase58String(t.senderPublicKey) == ASigned))
3234 then true
3335 else false
3436 case t: MassTransferTransaction =>
3537 if ((toBase58String(t.senderPublicKey) == ASigned))
3638 then true
3739 else false
3840 case t: SetAssetScriptTransaction =>
3941 if ((toBase58String(t.senderPublicKey) == ASigned))
4042 then true
4143 else false
4244 case _ =>
4345 throw("Transaction is not allowed by token-script")
4446 }

github/deemru/w8io/169f3d6 
29.11 ms