tx · DDTwhWK32fGWsUSuTUA4iBqHQZCDAjmuZpWBeU6nmpnd 3N6SCyR13XotwN2hqizWvqxz8mrHLc53pfZ: -0.14000000 Waves 2018.12.07 18:10 [394394] smart account 3N6SCyR13XotwN2hqizWvqxz8mrHLc53pfZ > SELF 0.00000000 Waves
{ "type": 13, "id": "DDTwhWK32fGWsUSuTUA4iBqHQZCDAjmuZpWBeU6nmpnd", "fee": 14000000, "feeAssetId": null, "timestamp": 1544195323713, "version": 1, "sender": "3N6SCyR13XotwN2hqizWvqxz8mrHLc53pfZ", "senderPublicKey": "7vRLZahSi6vPoFqv7sHCnPwWdLMibPshpbiazZ7Mr2Xq", "proofs": [ "Vmq7a5dr3YiFXw3Ch9epE8nb5TxXUhDgJ3x6sQoJvvdKwTYBobEH8HBVDrMC6N18xRKpBhu5YnZ4hUHk35drNUJ" ], "script": "base64:AQQAAAAQdG9rZW5vbWljYVB1YktleQEAAAAgYpAmzv+FLxGfCGhBfrQzBG7Yfptn+PzbORlDFmI8hywEAAAABHRoaXMJAQAAAAdleHRyYWN0AAAAAQgFAAAAAnR4AAAABnNlbmRlcgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAFzAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABcwAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEHRva2Vub21pY2FQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAABWxpbWl0CQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAEdGhpcwkAAlgAAAABCAgFAAAAAXQAAAAGc2VuZGVyAAAABWJ5dGVzAwkAAGcAAAACBQAAAAVsaW1pdAgFAAAAAXQAAAAGYW1vdW50CQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAAXQAAAAHYXNzZXRJZAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFtBQAAAAckbWF0Y2gwBAAAAAVsaW1pdAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMJAAJYAAAAAQgIBQAAAAFtAAAABnNlbmRlcgAAAAVieXRlcwMJAABnAAAAAgUAAAAFbGltaXQIBQAAAAFtAAAAC3RvdGFsQW1vdW50CQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAAW0AAAAHYXNzZXRJZAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABWxpbWl0CQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAEdGhpcwkAAlgAAAABCAgFAAAAAWUAAAAGc2VuZGVyAAAABWJ5dGVzAwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAkAAGcAAAACBQAAAAVsaW1pdAgIBQAAAAFlAAAACGJ1eU9yZGVyAAAABmFtb3VudAcGAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQJAABnAAAAAgUAAAAFbGltaXQICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAGYW1vdW50Bwdx9zMD", "chainId": 84, "height": 394394, "spentComplexity": 0 } View: original | compacted Prev: 6ej3sC33WwQoPR4jaeqQuHufFKjCUXDUyBqJEmEzZaXu Next: J6EQoB7fdy3cYBVDgqEMinTRCE2TTAEsiT6DKKG1AsED 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 | let limit = extract(getInteger(this, toBase58String(t.sender.bytes))) | |
10 | 10 | if ((limit >= t.amount)) | |
11 | 11 | then isDefined(t.assetId) | |
12 | 12 | else false | |
13 | 13 | case m: MassTransferTransaction => | |
14 | 14 | let limit = extract(getInteger(this, toBase58String(m.sender.bytes))) | |
15 | 15 | if ((limit >= m.totalAmount)) | |
16 | 16 | then isDefined(m.assetId) | |
17 | 17 | else false | |
18 | 18 | case e: ExchangeTransaction => | |
19 | 19 | let limit = extract(getInteger(this, toBase58String(e.sender.bytes))) | |
20 | 20 | if (if (!(isDefined(e.sellOrder.assetPair.amountAsset))) | |
21 | 21 | then (limit >= e.buyOrder.amount) | |
22 | 22 | else false) | |
23 | 23 | then true | |
24 | 24 | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) | |
25 | 25 | then (limit >= e.sellOrder.amount) | |
26 | 26 | else false | |
27 | 27 | case _ => | |
28 | 28 | false | |
29 | 29 | } |
github/deemru/w8io/169f3d6 26.35 ms ◑