tx · 3BT1KZQJxx3XKrqUGN8nPPzbVdFkrwCLwBhNfQEWPcfS 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -0.01400000 Waves 2020.12.07 21:46 [1298616] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves
{ "type": 13, "id": "3BT1KZQJxx3XKrqUGN8nPPzbVdFkrwCLwBhNfQEWPcfS", "fee": 1400000, "feeAssetId": null, "timestamp": 1607366742566, "version": 2, "chainId": 84, "sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8", "senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k", "proofs": [ "4q7i1cXzKP9H3cpBTxuJzMtpqD1ka3Vrov3pPtJiEwnSURxYVc4JM1NJFJfHosRrrHatUZw5dTxNHXS41YnjqtuQ" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAABAAAAAAMYW5zd2Vyc0NvdW50AAAAAAAAAAAUAAAAAAdhbnN3ZXJzCQAETAAAAAICAAAADkl0IGlzIGNlcnRhaW4uCQAETAAAAAICAAAAE0l0IGlzIGRlY2lkZWRseSBzby4JAARMAAAAAgIAAAAQV2l0aG91dCBhIGRvdWJ0LgkABEwAAAACAgAAABFZZXMgLSBkZWZpbml0ZWx5LgkABEwAAAACAgAAABNZb3UgbWF5IHJlbHkgb24gaXQuCQAETAAAAAICAAAAEUFzIEkgc2VlIGl0LCB5ZXMuCQAETAAAAAICAAAADE1vc3QgbGlrZWx5LgkABEwAAAACAgAAAA1PdXRsb29rIGdvb2QuCQAETAAAAAICAAAABFRBSy4JAARMAAAAAgIAAAATU2lnbnMgcG9pbnQgdG8geWVzLgkABEwAAAACAgAAABZSZXBseSBoYXp5LCB0cnkgYWdhaW4uCQAETAAAAAICAAAAEEFzayBhZ2FpbiBsYXRlci4JAARMAAAAAgIAAAAYQmV0dGVyIG5vdCB0ZWxsIHlvdSBub3cuCQAETAAAAAICAAAAE0N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FAAAADWNhbGxlckFkZHJlc3MCAAAAAl9xBQAAAAhxdWVzdGlvbgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAA1jYWxsZXJBZGRyZXNzAgAAAAJfYQUAAAAGYW5zd2VyBQAAAANuaWwAAAAATqKp+A==", "height": 1298616, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AoMAp7Cti52NQAY5t3kGZAQTAp5Fwq2WrefnvjXVW9Mx Next: 5VuuFsdqbcQuEKHUNB1Wx7pyGxGR5sS3hocoDjoipkEK Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 20 | |
5 | 5 | ||
6 | - | let b = ["It is certain.", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", " | |
6 | + | let b = ["It is certain.", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", "TAK.", "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 = ["It is certain.", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", " | |
6 | + | let b = ["It is certain.", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", "TAK.", "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/026f985 23.75 ms ◑