tx · FHhg3HSBs4B4SaAWYy8mKqSeSbURn8j8H2uF8twuZfTm
3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9: -0.01400000 Waves
2021.04.14 21:31 [1482483] smart account 3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FHhg3HSBs4B4SaAWYy8mKqSeSbURn8j8H2uF8twuZfTm",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1618425194436,
"version": 2,
"chainId": 84,
"sender": "3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9",
"senderPublicKey": "4c4UBd9NA6MRSQodQ87kJmgeRXNpFLbARj27ybkF3f78",
"proofs": [
"3Jov4zPKG8HkzctqYUCwAvoH9eBM8YdHxJveRpJhPcMTgwuqwbaWfYFsGAv5Zq8xTDgyCXKZsdfsa71x5jwp3UQA"
],
"script": "base64:AAIEAAAAAAAAAA8IAhIECgIIARIFCgMIAQEAAAACAAAAAApoYW5kaWNhcElkAQAAACA0rFXdgDh4d9ktfIwVqNfX/Vwrpr0FrtJDMJg/JVYH0AAAAAAHc2NvcmVJZAEAAAAgNKxV3YA4eHfZLXyMFajX1/1cK6a9Ba7SQzCYPyVWB9AAAAACAAAAAWkBAAAADXdyaXRlSGFuZGljYXAAAAACAAAABGpzb24AAAANaGFuZGljYXBJbmRleAQAAAAGYW1vdW50CQAAaAAAAAIFAAAADWhhbmRpY2FwSW5kZXgAAAAAAAAAAGQEAAAAB2FkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAACWhhbmRpY2FwXwUAAAAHYWRkcmVzcwUAAAAEanNvbgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAAKaGFuZGljYXBJZAUAAAADbmlsAAAAAWkBAAAACndyaXRlU2NvcmUAAAADAAAABGpzb24AAAALdG90YWxTdHJva2UAAAAJdGltZVN0YW1wBAAAAAZhbW91bnQJAABoAAAAAgUAAAALdG90YWxTdHJva2UAAAAAAAAAAGQEAAAAB2FkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAJdGltZXN0YW1wCQABpAAAAAEFAAAACXRpbWVTdGFtcAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAGc2NvcmVfBQAAAAl0aW1lc3RhbXAFAAAAB2FkZHJlc3MFAAAABGpzb24JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZhbW91bnQFAAAAB3Njb3JlSWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5mF4Nnw==",
"height": 1482483,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3kmz5wQXV1PX5RZ7nBknCwZqBWVFuAkkSswCBqiCHctJ
Next: D8e5ysgViq8LhWELZPjx8AsTKTEesioonMcP7m7Pzhq5
Diff:
Old | New | | Differences |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(c) |
---|
18 | | - | func writeScore (d,h) = { |
---|
| 18 | + | func writeScore (d,h,i) = { |
---|
19 | 19 | | let f = (h * 100) |
---|
20 | 20 | | let g = toBase58String(c.caller.bytes) |
---|
21 | | - | [StringEntry(("score_" + g), d), ScriptTransfer(c.caller, f, b)] |
---|
| 21 | + | let j = toString(i) |
---|
| 22 | + | [StringEntry((("score_" + j) + g), d), ScriptTransfer(c.caller, f, b)] |
---|
22 | 23 | | } |
---|
23 | 24 | | |
---|
24 | 25 | | |
---|
25 | | - | @Verifier(i) |
---|
26 | | - | func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
| 26 | + | @Verifier(k) |
---|
| 27 | + | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
27 | 28 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'4YcceVpPoC38hnKjHQv9NY1kPxLH2WptnAgko6NhutjZ' |
---|
5 | 5 | | |
---|
6 | 6 | | let b = base58'4YcceVpPoC38hnKjHQv9NY1kPxLH2WptnAgko6NhutjZ' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | 9 | | func writeHandicap (d,e) = { |
---|
10 | 10 | | let f = (e * 100) |
---|
11 | 11 | | let g = toBase58String(c.caller.bytes) |
---|
12 | 12 | | [StringEntry(("handicap_" + g), d), ScriptTransfer(c.caller, f, a)] |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(c) |
---|
18 | | - | func writeScore (d,h) = { |
---|
| 18 | + | func writeScore (d,h,i) = { |
---|
19 | 19 | | let f = (h * 100) |
---|
20 | 20 | | let g = toBase58String(c.caller.bytes) |
---|
21 | | - | [StringEntry(("score_" + g), d), ScriptTransfer(c.caller, f, b)] |
---|
| 21 | + | let j = toString(i) |
---|
| 22 | + | [StringEntry((("score_" + j) + g), d), ScriptTransfer(c.caller, f, b)] |
---|
22 | 23 | | } |
---|
23 | 24 | | |
---|
24 | 25 | | |
---|
25 | | - | @Verifier(i) |
---|
26 | | - | func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
| 26 | + | @Verifier(k) |
---|
| 27 | + | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
27 | 28 | | |
---|