tx · A5cXSx4iLMMrK6Q75nbtvC6yudeTkYRB1AhMoDZwizJy 3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C: -0.01400000 Waves 2021.04.22 18:06 [1493808] smart account 3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C > SELF 0.00000000 Waves
{ "type": 13, "id": "A5cXSx4iLMMrK6Q75nbtvC6yudeTkYRB1AhMoDZwizJy", "fee": 1400000, "feeAssetId": null, "timestamp": 1619103924516, "version": 2, "chainId": 84, "sender": "3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C", "senderPublicKey": "DAXE7bVatBuMqt8Me8npUpPhn2XaV13QkCDZCQGV3yDf", "proofs": [ "5mP8Awtxyc8qGtufixe9tx2XUYm2UWNyfNKc2KfHDJKFAVsVL7tp8bEyiQuMN5A2qXxboXg1snbAN9mUqRW51ybF" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAABAAAAAAMYW5zd2Vyc0NvdW50AAAAAAAAAAAUAAAAAAdhbnN3ZXJzCQAETAAAAAICAAAABlBURVRSRQkABEwAAAACAgAAABNJdCBpcyBkZWNpZGVkbHkgc28uCQAETAAAAAICAAAAEFdpdGhvdXQgYSBkb3VidC4JAARMAAAAAgIAAAARWWVzIC0gZGVmaW5pdGVseS4JAARMAAAAAgIAAAATWW91IG1heSByZWx5IG9uIGl0LgkABEwAAAACAgAAABFBcyBJIHNlZSBpdCwgeWVzLgkABEwAAAACAgAAAAxNb3N0IGxpa2VseS4JAARMAAAAAgIAAAANT3V0bG9vayBnb29kLgkABEwAAAACAgAAAARZZXMuCQAETAAAAAICAAAAE1NpZ25zIHBvaW50IHRvIHllcy4JAARMAAAAAgIAAAAWUmVwbHkgaGF6eSwgdHJ5IGFnYWluLgkABEwAAAACAgAAABBBc2sgYWdhaW4gbGF0ZXIuCQAETAAAAAICAAAAGEJldHRlciBub3QgdGVsbCB5b3Ugbm93LgkABEwAAAACAgAAABNDYW5ub3QgcHJlZGljdCB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AJfcQUAAAAIcXVlc3Rpb24JAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAANY2FsbGVyQWRkcmVzcwIAAAACX2EFAAAABmFuc3dlcgUAAAADbmlsAAAAAHTffmg=", "height": 1493808, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CJ3SWz6HC3zdqATK66wrEzWiGH5R1UXPutKAsov6CUuW Next: 96MedyLsePo2rMQ2vWBWbQYgG3AnAWXwpW9SPteRQakm Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 20 | |
5 | 5 | ||
6 | - | let b = [" | |
6 | + | let b = ["PTETRE", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", "Yes.", "Signs point to yes.", "Reply hazy, try again.", "Ask again later.", "Better not tell you now.", "Cannot predict now.", "Concentrate and ask again.", "Don't count on it.", "My reply is no.", "My sources say no.", "Outlook not so good.", "Very doubtful."] | |
7 | 7 | ||
8 | 8 | func c (d,e) = { | |
9 | 9 | let f = sha256(toBytes((d + e))) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 20 | |
5 | 5 | ||
6 | - | let b = [" | |
6 | + | let b = ["PTETRE", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", "Yes.", "Signs point to yes.", "Reply hazy, try again.", "Ask again later.", "Better not tell you now.", "Cannot predict now.", "Concentrate and ask again.", "Don't count on it.", "My reply is no.", "My sources say no.", "Outlook not so good.", "Very doubtful."] | |
7 | 7 | ||
8 | 8 | func c (d,e) = { | |
9 | 9 | let f = sha256(toBytes((d + e))) | |
10 | 10 | let g = toInt(f) | |
11 | 11 | b[(g % a)] | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func h (i) = { | |
16 | 16 | let j = getString(this, (i + "_a")) | |
17 | 17 | if ($isInstanceOf(j, "String")) | |
18 | 18 | then { | |
19 | 19 | let k = j | |
20 | 20 | k | |
21 | 21 | } | |
22 | 22 | else i | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | @Callable(l) | |
27 | 27 | func tellme (d) = { | |
28 | 28 | let m = toBase58String(l.caller.bytes) | |
29 | 29 | let n = c(d, h(m)) | |
30 | 30 | WriteSet([DataEntry((m + "_q"), d), DataEntry((m + "_a"), n)]) | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 |
github/deemru/w8io/169f3d6 38.97 ms ◑