tx · C8xwtz12Xteh7KyEcvf4JXN7t7ebBQSXYt5cXCD3enRt 3N6SCyR13XotwN2hqizWvqxz8mrHLc53pfZ: -0.14000000 Waves 2018.12.11 15:56 [400106] smart account 3N6SCyR13XotwN2hqizWvqxz8mrHLc53pfZ > SELF 0.00000000 Waves
{ "type": 13, "id": "C8xwtz12Xteh7KyEcvf4JXN7t7ebBQSXYt5cXCD3enRt", "fee": 14000000, "feeAssetId": null, "timestamp": 1544532974534, "version": 1, "sender": "3N6SCyR13XotwN2hqizWvqxz8mrHLc53pfZ", "senderPublicKey": "7vRLZahSi6vPoFqv7sHCnPwWdLMibPshpbiazZ7Mr2Xq", "proofs": [ "ALaPzH26RvgW2LxPJ4oZGKkCiKbTjy478J4QyRf8ut5Ckk68Xe45gvtK1VehpfPJAtw8RsH6rngnJJbHxa6gzjr" ], "script": "base64:AQQAAAAQdG9rZW5vbWljYVB1YktleQEAAAAgYpAmzv+FLxGfCGhBfrQzBG7Yfptn+PzbORlDFmI8hywEAAAABHRoaXMJAQAAAAdleHRyYWN0AAAAAQgFAAAAAnR4AAAABnNlbmRlcgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAFzAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABcwAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEHRva2Vub21pY2FQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAXQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAF0AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZ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0UGFpcgAAAAthbW91bnRBc3NldAcJAAH0AAAAAwgFAAAAAWUAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFlAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABZAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAWQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABB0b2tlbm9taWNhUHViS2V5B1QrQJE=", "chainId": 84, "height": 400106, "spentComplexity": 0 } View: original | compacted Prev: AEjDwCaTD2p6bghc9iByDH8sswYxqm6LEM6AkVjoByBp Next: 6bNBjcXLiREpi9gWFHNzwUjg56J21XxTnX4EoXsvS64L Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 1 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let tokenomicaPubKey = base58'7dkSgXFv9EpYi3C3JK76wJTkciBsVPZ1xE5fVAMB6AD9' | |
4 | 4 | let this = extract(tx.sender) | |
5 | 5 | match tx { | |
6 | 6 | case s: SetScriptTransaction => | |
7 | 7 | sigVerify(s.bodyBytes, s.proofs[0], tokenomicaPubKey) | |
8 | 8 | case t: TransferTransaction => | |
9 | 9 | sigVerify(t.bodyBytes, t.proofs[0], tx.senderPublicKey) | |
10 | 10 | case m: MassTransferTransaction => | |
11 | 11 | let limit = extract(getInteger(this, "limit")) | |
12 | 12 | if (if (if ((limit >= m.totalAmount)) | |
13 | 13 | then !(isDefined(m.assetId)) | |
14 | 14 | else false) | |
15 | 15 | then true | |
16 | 16 | else isDefined(m.assetId)) | |
17 | 17 | then sigVerify(m.bodyBytes, m.proofs[0], tx.senderPublicKey) | |
18 | 18 | else false | |
19 | 19 | case e: ExchangeTransaction => | |
20 | 20 | let limit = extract(getInteger(this, "limit")) | |
21 | 21 | if (if (if (if (!(isDefined(e.sellOrder.assetPair.amountAsset))) | |
22 | 22 | then (limit >= e.buyOrder.amount) | |
23 | 23 | else false) | |
24 | 24 | then true | |
25 | 25 | else isDefined(e.sellOrder.assetPair.amountAsset)) | |
26 | 26 | then if (if (!(isDefined(e.sellOrder.assetPair.priceAsset))) | |
27 | 27 | then (limit >= e.sellOrder.amount) | |
28 | 28 | else false) | |
29 | 29 | then true | |
30 | 30 | else isDefined(e.buyOrder.assetPair.amountAsset) | |
31 | 31 | else false) | |
32 | 32 | then sigVerify(e.bodyBytes, e.proofs[0], tx.senderPublicKey) | |
33 | 33 | else false | |
34 | 34 | case d: DataTransaction => | |
35 | 35 | sigVerify(d.bodyBytes, d.proofs[0], tokenomicaPubKey) | |
36 | 36 | case _ => | |
37 | 37 | false | |
38 | 38 | } |
github/deemru/w8io/169f3d6 29.61 ms ◑