tx · 5pD2pDKCmJMAA8PnVQHAQzANAXNyJPzcVMFAucj9Kkmb

3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc:  -1.00000000 Waves

2019.03.14 17:21 [535896] smart asset 3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc > SELF 0.00000000 oooo

{ "type": 15, "id": "5pD2pDKCmJMAA8PnVQHAQzANAXNyJPzcVMFAucj9Kkmb", "fee": 100000000, "feeAssetId": null, "timestamp": 1552573279157, "version": 1, "sender": "3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc", "senderPublicKey": "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T", "proofs": [ "4X5HSAvTrxSxrt7g6LKft7TUP9LDHuQfsY6HE5Rmhpv6BuyBYRBseXHQ3V2vniUvLD6rrRkmBkv8JRC1C2vXcB2s" ], "assetId": "6QXK7NxXhJtzvABLDKmzYH3V9NfedLAEjSb4Cnvk43wv", "script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAILPwEAAAACnN0YXJ0UHJpY2UAAAAAAACJVEAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAADwAAAAAAAAAA+gEAAAABHBhc3MAAAAAFO51IwAEAAAAA3ZhbAAAAAAAAIlUQAQAAAAHQVNpZ25lZAIAAAArV0hGWkwyc2VEemM0Y2dIRXk1alQ3TFN0dDV4cHF6dFZmQjU4VnhoaGk4VAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABGRheXMJAABpAAAAAgkAAGUAAAACBQAAAAZoZWlnaHQFAAAAC3N0YXJ0SGVpZ2h0BQAAAAhpbnRlcnZhbAMJAAAAAAAAAgkAAlgAAAABCAUAA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JG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgcJAAACAAAAAQIAAAAqVHJhbnNhY3Rpb24gaXMgbm90IGFsbG93ZWQgYnkgdG9rZW4tc2NyaXB017bmpg==", "chainId": 84, "height": 535896, "spentComplexity": 0 } View: original | compacted Prev: 3qmWMmG8PJVK5RV9qWP5DSDvyfj7CVr1XnTeXy428B73 Next: 6xcfXsVzQif5KYdh7BriGHMduZK5bzszCmUbxWVK2XMc Diff:
OldNewDifferences
88 let val = 9000000
99 let ASigned = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
1010 match tx {
11- case t: ExchangeTransaction =>
11+ case e: ExchangeTransaction =>
1212 let days = ((height - startHeight) / interval)
13- if ((toBase58String(t.senderPublicKey) == ASigned))
13+ if ((toBase58String(e.senderPublicKey) == ASigned))
1414 then true
15- else if (if (if ((t.price >= (startPrice * (1 + (days * days)))))
16- then !(isDefined(t.sellOrder.assetPair.priceAsset))
15+ else if (if (if ((e.price >= (startPrice * (1 + (days * days)))))
16+ then !(isDefined(e.sellOrder.assetPair.priceAsset))
1717 else throw("001"))
18- then (exp >= (t.sellOrder.expiration - t.sellOrder.timestamp))
18+ then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
1919 else throw("24"))
20- then (exp >= (t.buyOrder.expiration - t.buyOrder.timestamp))
20+ then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
2121 else throw("25")
2222 case t: TransferTransaction =>
2323 if ((toBase58String(t.senderPublicKey) == ASigned))
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 t: ExchangeTransaction =>
11+ case e: ExchangeTransaction =>
1212 let days = ((height - startHeight) / interval)
13- if ((toBase58String(t.senderPublicKey) == ASigned))
13+ if ((toBase58String(e.senderPublicKey) == ASigned))
1414 then true
15- else if (if (if ((t.price >= (startPrice * (1 + (days * days)))))
16- then !(isDefined(t.sellOrder.assetPair.priceAsset))
15+ else if (if (if ((e.price >= (startPrice * (1 + (days * days)))))
16+ then !(isDefined(e.sellOrder.assetPair.priceAsset))
1717 else throw("001"))
18- then (exp >= (t.sellOrder.expiration - t.sellOrder.timestamp))
18+ then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
1919 else throw("24"))
20- then (exp >= (t.buyOrder.expiration - t.buyOrder.timestamp))
20+ then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
2121 else throw("25")
2222 case t: TransferTransaction =>
2323 if ((toBase58String(t.senderPublicKey) == ASigned))
2424 then true
2525 else false
2626 case t: ReissueTransaction =>
2727 if ((toBase58String(t.senderPublicKey) == ASigned))
2828 then true
2929 else false
3030 case t: BurnTransaction =>
3131 if ((toBase58String(t.senderPublicKey) == ASigned))
3232 then true
3333 else false
3434 case t: MassTransferTransaction =>
3535 if ((toBase58String(t.senderPublicKey) == ASigned))
3636 then true
3737 else false
3838 case t: SetAssetScriptTransaction =>
3939 if ((toBase58String(t.senderPublicKey) == ASigned))
4040 then true
4141 else false
4242 case _ =>
4343 throw("Transaction is not allowed by token-script")
4444 }

github/deemru/w8io/026f985 
21.14 ms