tx · 2pC7cXemRrYe6v3eioQtev8bAS7hL5Je22JehRx8uXrb

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 10:59 [1817828] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "2pC7cXemRrYe6v3eioQtev8bAS7hL5Je22JehRx8uXrb", "fee": 1000000, "feeAssetId": null, "timestamp": 1638518363692, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "5pHjr1fgDf66sczXs4Mh5gYYrnpPLzeHoZAPeY23PPqa9kNcUnwiktw4xRECnufqjZLaaFTPcSUaJ7d5ZdE3T1b5" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAIaXNhdXRob3IGAAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5AwUAAAAIaXNhdXRob3IJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAAAnh5BQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAg0JLRiyDQvdC1INC80L7QttC10YLQtSB0byBjcmVhdGUAAAAAk1w1Ug==", "height": 1817828, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6qRySk6AwNCmhCF8PcfGDdQFsKJDtearZ76qVpEPnWAb Next: CEj8vPVCyZnAyxRDaFcQyq9sukcoQKSCXvKP6cEBRNA7 Full:
OldNewDifferences
1-{-# STDLIB_VERSION 3 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = 20
4+let a = true
55
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.", "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-
8-func c (d,e) = {
9- let f = sha256(toBytes((d + e)))
10- let g = toInt(f)
11-b[(g % a)]
12- }
13-
14-
15-func h (i) = {
16- let j = getString(this, (i + "_a"))
17- if ($isInstanceOf(j, "String"))
18- then {
19- let k = j
20- k
21- }
22- else i
23- }
24-
25-
26-@Callable(l)
27-func tellme (d) = {
28- let m = toBase58String(l.caller.bytes)
29- let n = c(d, h(m))
30- WriteSet([DataEntry((m + "_q"), d), DataEntry((m + "_a"), n)])
31- }
6+@Callable(b)
7+func create (c) = if (a)
8+ then $Tuple2([IntegerEntry(toBase58String(b.callerPublicKey), c)], unit)
9+ else throw("Вы не можете to create")
3210
3311

github/deemru/w8io/026f985 
24.43 ms