tx · 7N6UjyYgYduXAZPbwdpWyTVCbza3P5h5dehGghEWBccL
3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6: -0.01000000 Waves
2021.12.06 13:19 [1822273] smart account 3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6 > SELF 0.00000000 Waves
{
"type": 13,
"id": "7N6UjyYgYduXAZPbwdpWyTVCbza3P5h5dehGghEWBccL",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638785998354,
"version": 2,
"chainId": 84,
"sender": "3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6",
"senderPublicKey": "2LizaCNygFYwGFKe34vvFHgJc4ckK7MpzRzziRNn56Cu",
"proofs": [
"3Ro87GgM5p5sQzm5Ay5cdd7oEZnhyL6zgvcdWV4H1FpbD9jvkXG3GWynLtRQLKL4yJgQC3YjdHDLuRWKsxe9VFkN"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAABAAAAAAMYW5zd2Vyc0NvdW50AAAAAAAAAAADAAAAAAdhbnN3ZXJzCQAETAAAAAICAAAADkl0IGlzIGNlcnRhaW4uCQAETAAAAAICAAAAE0l0IGlzIGRlY2lkZWRseSBzby4JAARMAAAAAgIAAAAOVmVyeSBkb3VidGZ1bC4FAAAAA25pbAEAAAAJZ2V0QW5zd2VyAAAAAgAAAAhxdWVzdGlvbgAAAA5wcmV2aW91c0Fuc3dlcgQAAAAEaGFzaAkAAfcAAAABCQABmwAAAAEJAAEsAAAAAgUAAAAIcXVlc3Rpb24FAAAADnByZXZpb3VzQW5zd2VyBAAAAAVpbmRleAkABLEAAAABBQAAAARoYXNoCQABkQAAAAIFAAAAB2Fuc3dlcnMJAABqAAAAAgUAAAAFaW5kZXgFAAAADGFuc3dlcnNDb3VudAEAAAARZ2V0UHJldmlvdXNBbnN3ZXIAAAABAAAAB2FkZHJlc3MEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAdhZGRyZXNzAgAAAAJfYQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBQAAAAdhZGRyZXNzAAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAIcXVlc3Rpb24EAAAADWNhbGxlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAGYW5zd2VyCQEAAAAJZ2V0QW5zd2VyAAAAAgUAAAAIcXVlc3Rpb24JAQAAABFnZXRQcmV2aW91c0Fuc3dlcgAAAAEFAAAADWNhbGxlckFkZHJlc3MJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAANY2FsbGVyQWRkcmVzcwIAAAACX3EFAAAACHF1ZXN0aW9uCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAADWNhbGxlckFkZHJlc3MCAAAAAl9hBQAAAAZhbnN3ZXIFAAAAA25pbAAAAABSsyzh",
"height": 1822273,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DNhqtpMLqzvLAn4aX3se1YdqLfEFyTtNgDTtRreouQpb
Next: BcKiYReoVTqZxGWeQ2CAGdB2MajoH4m4jyoTNT3Jy2tn
Diff:
Old | New | | Differences |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | @Callable(l) |
---|
27 | | - | func tellme (d) = { |
---|
| 27 | + | func paint (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)]) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = 3 |
---|
5 | 5 | | |
---|
6 | 6 | | let b = ["It is certain.", "It is decidedly so.", "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 | | - | func tellme (d) = { |
---|
| 27 | + | func paint (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 | | |
---|