tx · CFQAPXXaVLF73NS4iuypA6bEK4fqkVThedyXRX5zmMCS 3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW: -1.00400000 Waves 2020.03.11 17:14 [904596] smart asset 3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW > SELF 0 PreSmartKey
{ "type": 15, "id": "CFQAPXXaVLF73NS4iuypA6bEK4fqkVThedyXRX5zmMCS", "fee": 100400000, "feeAssetId": null, "timestamp": 1583936128993, "version": 1, "sender": "3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW", "senderPublicKey": "7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY", "proofs": [ "28gD3StshrwzwmmYzfGYdnbapBaUikFGSqLjTMxH3agbJqawGdCFEu48MCJRWbiHBDK1TqfsNfw2ZamVpBCtH57D" ], "assetId": "EaAk66w36Wo7mi1xgcHyjeaiCrsaerH1gJ3cKTePEz5o", "script": "base64:AgQAAAAGbWFzdGVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUs/CL93FthWEyPB6G5SYCnsCIdjUWFfVfBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAAJc2VuZGVyS2V5CQABLAAAAAICAAAAB3ByZV9za18JAAJYAAAAAQgIBQAAAAF0AAAABnNlbmRlcgAAAAVieXRlcwQAAAAPaXNTZW5kZXJBbGxvd2VkCQAAAAAAAAIJAAQaAAAAAgUAAAAGbWFzdGVyBQAAAAlzZW5kZXJLZXkAAAAAAAAAAAEDAwkAAAAAAAACCAUAAAABdAAAAAZzZW5kZXIFAAAABm1hc3RlcgYJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAAZtYXN0ZXIGBQAAAA9pc1NlbmRlckFsbG93ZWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJtdAUAAAAHJG1hdGNoMAQAAAAJc2VuZGVyS2V5CQABLAAAAAICAAAAB3ByZV9za18JAAJYAAAAAQgIBQAAAAJtdAAAAAZzZW5kZXIAAAAFYnl0ZXMEAAAAD2lzU2VuZGVyQWxsb3dlZAkAAAAAAAACCQAEGgAAAAIFAAAABm1hc3RlcgUAAAAJc2VuZGVyS2V5AAAAAAAAAAABAwkAAAAAAAACCAUAAAACbXQAAAAGc2VuZGVyBQAAAAZtYXN0ZXIGBQAAAA9pc1NlbmRlckFsbG93ZWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwBAAAAAlzZW5kZXJLZXkJAAEsAAAAAgIAAAAHcHJlX3NrXwkAAlgAAAABCAgIBQAAAAJleAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyAAAABWJ5dGVzBAAAAA9pc1NlbmRlckFsbG93ZWQJAAAAAAAAAgkABBoAAAACBQAAAAZtYXN0ZXIFAAAACXNlbmRlcktleQAAAAAAAAAAAQYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAABYgAAAAZzZW5kZXIFAAAABm1hc3RlcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAYGYYV8Hg==", "chainId": 84, "height": 904596, "spentComplexity": 0 } View: original | compacted Prev: 2CKYVYvje8JaFmEhWynR4UCLEA7am2KtDCH2QkUsUVWx Next: W1cWoo7pQnMHWQBrrtCNwcb5o4rjR5D8bmJdeMb3xGZ Diff:
Old | New | Differences | |
---|---|---|---|
19 | 19 | case ex: ExchangeTransaction => | |
20 | 20 | let senderKey = ("pre_sk_" + toBase58String(ex.sellOrder.sender.bytes)) | |
21 | 21 | let isSenderAllowed = (getInteger(master, senderKey) == 1) | |
22 | - | if ((ex.sellOrder.sender == master)) | |
23 | - | then true | |
24 | - | else isSenderAllowed | |
22 | + | true | |
25 | 23 | case b: BurnTransaction => | |
26 | 24 | (b.sender == master) | |
27 | 25 | case s: SetAssetScriptTransaction => |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 2 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let master = Address(base58'3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW') | |
4 | 4 | match tx { | |
5 | 5 | case t: TransferTransaction => | |
6 | 6 | let senderKey = ("pre_sk_" + toBase58String(t.sender.bytes)) | |
7 | 7 | let isSenderAllowed = (getInteger(master, senderKey) == 1) | |
8 | 8 | if (if ((t.sender == master)) | |
9 | 9 | then true | |
10 | 10 | else (t.recipient == master)) | |
11 | 11 | then true | |
12 | 12 | else isSenderAllowed | |
13 | 13 | case mt: MassTransferTransaction => | |
14 | 14 | let senderKey = ("pre_sk_" + toBase58String(mt.sender.bytes)) | |
15 | 15 | let isSenderAllowed = (getInteger(master, senderKey) == 1) | |
16 | 16 | if ((mt.sender == master)) | |
17 | 17 | then true | |
18 | 18 | else isSenderAllowed | |
19 | 19 | case ex: ExchangeTransaction => | |
20 | 20 | let senderKey = ("pre_sk_" + toBase58String(ex.sellOrder.sender.bytes)) | |
21 | 21 | let isSenderAllowed = (getInteger(master, senderKey) == 1) | |
22 | - | if ((ex.sellOrder.sender == master)) | |
23 | - | then true | |
24 | - | else isSenderAllowed | |
22 | + | true | |
25 | 23 | case b: BurnTransaction => | |
26 | 24 | (b.sender == master) | |
27 | 25 | case s: SetAssetScriptTransaction => | |
28 | 26 | true | |
29 | 27 | case _ => | |
30 | 28 | true | |
31 | 29 | } |
github/deemru/w8io/026f985 17.89 ms ◑