tx · 3S8PdHSs7ZS7Tb7tr32sQf7bQ4wDorSr93vXDasHviQD

3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW:  -1.00400000 Waves

2020.03.12 15:10 [905925] smart asset 3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW > SELF 0 PreSmartKey

{ "type": 15, "id": "3S8PdHSs7ZS7Tb7tr32sQf7bQ4wDorSr93vXDasHviQD", "fee": 100400000, "feeAssetId": null, "timestamp": 1584015037373, "version": 1, "sender": "3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW", "senderPublicKey": "7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY", "proofs": [ "379PgiPac52Q9tmmkUNDjgQZcKuFx4AFuu41onsiovjpUGY8BLBrKuiS6uYTAjUgK6azwJ5ZfNXzqoWWdP5fQgmM" ], "assetId": "EaAk66w36Wo7mi1xgcHyjeaiCrsaerH1gJ3cKTePEz5o", "script": "base64:AQQAAAAGbWFzdGVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUs/CL93FthWEyPB6G5SYCnsCIdjUWFfVfBAAAAAp1bmxvY2tlZEF0AAAAAXDOq20QBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAAJc2VuZGVyS2V5CQABLAAAAAICAAAAB3ByZV9za18JAAJYAAAAAQgIBQAAAAF0AAAABnNlbmRlcgAAAAVieXRlcwQAAAAPaXNTZW5kZXJBbGxvd2VkCQAAAAAAAAIJAAQaAAAAAgUAAAAGbWFzdGVyBQAAAAlzZW5kZXJLZXkAAAAAAAAAAAEEAAAACmlzVW5sb2NrZWQJAABmAAAAAggFAAAAAXQAAAAJdGltZXN0YW1wBQAAAAp1bmxvY2tlZEF0AwMDBQAAAAppc1VubG9ja2VkBgkAAAAAAAACCAUAAAABdAAAAAZzZW5k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AmV4AAAACGJ1eU9yZGVyAAAAD3NlbmRlclB1YmxpY0tleQMDAwUAAAAKaXNVbmxvY2tlZAYFAAAAA2J1eQYJAAAAAAAAAggIBQAAAAJleAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyBQAAAAZtYXN0ZXIGBQAAAA9pc1NlbmRlckFsbG93ZWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAQAAAAKaXNVbmxvY2tlZAkAAGYAAAACCAUAAAABYgAAAAl0aW1lc3RhbXAFAAAACnVubG9ja2VkQXQDBQAAAAppc1VubG9ja2VkBgkAAAAAAAACCAUAAAABYgAAAAZzZW5kZXIFAAAABm1hc3RlcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAYHwzRL4Q==", "chainId": 84, "height": 905925, "spentComplexity": 0 } View: original | compacted Prev: EX7pDXja8GkBex1Kw3gxzjKu9e9MK4SEdUb6ZpJqwvCV Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let master = Address(base58'3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW')
4+let unlockedAt = 1584015306000
45 match tx {
56 case t: TransferTransaction =>
67 let senderKey = ("pre_sk_" + toBase58String(t.sender.bytes))
78 let isSenderAllowed = (getInteger(master, senderKey) == 1)
8- if (if ((t.sender == master))
9+ let isUnlocked = (t.timestamp > unlockedAt)
10+ if (if (if (isUnlocked)
11+ then true
12+ else (t.sender == master))
913 then true
1014 else (t.recipient == master))
1115 then true
1317 case mt: MassTransferTransaction =>
1418 let senderKey = ("pre_sk_" + toBase58String(mt.sender.bytes))
1519 let isSenderAllowed = (getInteger(master, senderKey) == 1)
16- if ((mt.sender == master))
20+ let isUnlocked = (mt.timestamp > unlockedAt)
21+ if (if (isUnlocked)
22+ then true
23+ else (mt.sender == master))
1724 then true
1825 else isSenderAllowed
1926 case ex: ExchangeTransaction =>
2027 let senderKey = ("pre_sk_" + toBase58String(ex.sellOrder.sender.bytes))
2128 let isSenderAllowed = (getInteger(master, senderKey) == 1)
29+ let isUnlocked = (ex.timestamp > unlockedAt)
2230 let buy = sigVerify(ex.buyOrder.bodyBytes, ex.buyOrder.proofs[0], ex.buyOrder.senderPublicKey)
23- if (if (buy)
31+ if (if (if (isUnlocked)
32+ then true
33+ else buy)
2434 then true
2535 else (ex.sellOrder.sender == master))
2636 then true
2737 else isSenderAllowed
2838 case b: BurnTransaction =>
29- (b.sender == master)
39+ let isUnlocked = (b.timestamp > unlockedAt)
40+ if (isUnlocked)
41+ then true
42+ else (b.sender == master)
3043 case s: SetAssetScriptTransaction =>
3144 true
3245 case _ =>
33- true
46+ false
3447 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let master = Address(base58'3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW')
4+let unlockedAt = 1584015306000
45 match tx {
56 case t: TransferTransaction =>
67 let senderKey = ("pre_sk_" + toBase58String(t.sender.bytes))
78 let isSenderAllowed = (getInteger(master, senderKey) == 1)
8- if (if ((t.sender == master))
9+ let isUnlocked = (t.timestamp > unlockedAt)
10+ if (if (if (isUnlocked)
11+ then true
12+ else (t.sender == master))
913 then true
1014 else (t.recipient == master))
1115 then true
1216 else isSenderAllowed
1317 case mt: MassTransferTransaction =>
1418 let senderKey = ("pre_sk_" + toBase58String(mt.sender.bytes))
1519 let isSenderAllowed = (getInteger(master, senderKey) == 1)
16- if ((mt.sender == master))
20+ let isUnlocked = (mt.timestamp > unlockedAt)
21+ if (if (isUnlocked)
22+ then true
23+ else (mt.sender == master))
1724 then true
1825 else isSenderAllowed
1926 case ex: ExchangeTransaction =>
2027 let senderKey = ("pre_sk_" + toBase58String(ex.sellOrder.sender.bytes))
2128 let isSenderAllowed = (getInteger(master, senderKey) == 1)
29+ let isUnlocked = (ex.timestamp > unlockedAt)
2230 let buy = sigVerify(ex.buyOrder.bodyBytes, ex.buyOrder.proofs[0], ex.buyOrder.senderPublicKey)
23- if (if (buy)
31+ if (if (if (isUnlocked)
32+ then true
33+ else buy)
2434 then true
2535 else (ex.sellOrder.sender == master))
2636 then true
2737 else isSenderAllowed
2838 case b: BurnTransaction =>
29- (b.sender == master)
39+ let isUnlocked = (b.timestamp > unlockedAt)
40+ if (isUnlocked)
41+ then true
42+ else (b.sender == master)
3043 case s: SetAssetScriptTransaction =>
3144 true
3245 case _ =>
33- true
46+ false
3447 }

github/deemru/w8io/026f985 
23.73 ms