tx · 5hPNLaNnxZd8RtAbuC11TniDEykLwLj7165tuFB6Nfbd

3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc:  -1.00000000 Waves

2019.03.14 16:27 [535844] smart asset 3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc > SELF 0.00000000 oooo

{ "type": 15, "id": "5hPNLaNnxZd8RtAbuC11TniDEykLwLj7165tuFB6Nfbd", "fee": 100000000, "feeAssetId": null, "timestamp": 1552570090655, "version": 1, "sender": "3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc", "senderPublicKey": "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T", "proofs": [ "3tTnWisKdirFLqEQ24pfugyKo12QUyPMmvUYcgrteSzXhvkLUXt37S2w3iHTKgVddCKxtsykhNggXgx4AV45SYrC" ], "assetId": "6QXK7NxXhJtzvABLDKmzYH3V9NfedLAEjSb4Cnvk43wv", "script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAILPwEAAAACnN0YXJ0UHJpY2UAAAAAAAABhqAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAADwAAAAAAAAAADwAAAAAAAAAA+gEAAAABHBhc3MAAAAAFO51IwAEAAAAA3ZhbAAAAAAAAIlUQAQAAAAHQVNpZ25lZAIAAAArV0hGWkwyc2VEemM0Y2dIRXk1alQ3TFN0dDV4cHF6dFZmQjU4VnhoaGk4VAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgQAAAAEc2VsbAkAAfQAAAADCAgFAAAAAXQAAAAJc2VsbE9yZGVyAAAACWJ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XkFAAAAB0FTaWduZWQGBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAAAAAAACCQACWAAAAAEIBQAAAAF0AAAAD3NlbmRlclB1YmxpY0tleQUAAAAHQVNpZ25lZAYHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5BQAAAAdBU2lnbmVkBgcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAAAAAAACCQACWAAAAAEIBQAAAAF0AAAAD3NlbmRlclB1YmxpY0tleQUAAAAHQVNpZ25lZAYHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAAAAAAACCQACWAAAAAEIBQAAAAF0AAAAD3NlbmRlclB1YmxpY0tleQUAAAAHQVNpZ25lZAYHCQAAAgAAAAECAAAAKlRyYW5zYWN0aW9uIGlzIG5vdCBhbGxvd2VkIGJ5IHRva2VuLXNjcmlwdNjl8/E=", "chainId": 84, "height": 535844, "spentComplexity": 0 } View: original | compacted Prev: GwTVHeseKkpjeNsu6W3KWVYmf1Rr7zyuvPcMJPUnw3tY Next: 5SexWB5iMJa99VKwPcqntF1bFaJadWsJm5Hk1ZAfVyDu Diff:
OldNewDifferences
1212 if ((toBase58String(t.senderPublicKey) == ASigned))
1313 then true
1414 else {
15+ let sell = sigVerify(t.sellOrder.bodyBytes, t.sellOrder.proofs[0], t.sellOrder.senderPublicKey)
16+ let buy = sigVerify(t.buyOrder.bodyBytes, t.buyOrder.proofs[0], t.buyOrder.senderPublicKey)
1517 let days = ((height - startHeight) / interval)
1618 if (if (if ((t.price >= (startPrice * (1 + (days * days)))))
1719 then !(isDefined(t.sellOrder.assetPair.priceAsset))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let startHeight = 535804
44 let startPrice = 100000
55 let interval = (24 * 60)
66 let exp = ((60 * 60) * 1000)
77 let pass = 89900000000
88 let val = 9000000
99 let ASigned = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
1010 match tx {
1111 case t: ExchangeTransaction =>
1212 if ((toBase58String(t.senderPublicKey) == ASigned))
1313 then true
1414 else {
15+ let sell = sigVerify(t.sellOrder.bodyBytes, t.sellOrder.proofs[0], t.sellOrder.senderPublicKey)
16+ let buy = sigVerify(t.buyOrder.bodyBytes, t.buyOrder.proofs[0], t.buyOrder.senderPublicKey)
1517 let days = ((height - startHeight) / interval)
1618 if (if (if ((t.price >= (startPrice * (1 + (days * days)))))
1719 then !(isDefined(t.sellOrder.assetPair.priceAsset))
1820 else throw("001"))
1921 then (exp >= (t.sellOrder.expiration - t.sellOrder.timestamp))
2022 else throw("24"))
2123 then (exp >= (t.buyOrder.expiration - t.buyOrder.timestamp))
2224 else throw("25")
2325 }
2426 case t: TransferTransaction =>
2527 if ((toBase58String(t.senderPublicKey) == ASigned))
2628 then true
2729 else false
2830 case t: ReissueTransaction =>
2931 if ((toBase58String(t.senderPublicKey) == ASigned))
3032 then true
3133 else false
3234 case t: BurnTransaction =>
3335 if ((toBase58String(t.senderPublicKey) == ASigned))
3436 then true
3537 else false
3638 case t: MassTransferTransaction =>
3739 if ((toBase58String(t.senderPublicKey) == ASigned))
3840 then true
3941 else false
4042 case t: SetAssetScriptTransaction =>
4143 if ((toBase58String(t.senderPublicKey) == ASigned))
4244 then true
4345 else false
4446 case _ =>
4547 throw("Transaction is not allowed by token-script")
4648 }

github/deemru/w8io/026f985 
17.19 ms