tx · BJ8XMx67DMxUxAWV8mMvRGcbSvKPYoL81BMcPP8vRria 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3: -0.01000000 Waves 2023.11.18 16:50 [2848895] smart account 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3 > SELF 0.00000000 Waves
{ "type": 13, "id": "BJ8XMx67DMxUxAWV8mMvRGcbSvKPYoL81BMcPP8vRria", "fee": 1000000, "feeAssetId": null, "timestamp": 1700315436305, "version": 2, "chainId": 84, "sender": "3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3", "senderPublicKey": "5TXMdPyvDNfxhdixe86fk7Ya8FScpZGfZ6XNawu8sYK4", "proofs": [ "5xwdsJzX55tWqRi1TwqD9t6AtrXCgH2KQzHZxEZ3sbTnqb8BDjSNk7WckvJHSSyP6vJYRJdqrfV36vmdf3zSfCXP" ], "script": "base64:AAIFAAAAAAAAABMIAhIHCgUREQgIARIGCgQICAgIAAAAAAAAAAIAAAABaQEAAAAMcmVnaXN0ZXJEYXRhAAAABQAAAAtjbGllbnRJbnB1dAAAAA1vcHBvbmVudElucHV0AAAAAmlkAAAACm9wcEFkZHJlc3MAAAAHbGd0Q29uZAQAAAAGY2xpZW50CQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgQAAAAEdHhJZAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAAmlkBQAAAAR0eElkCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAR0eElkAgAAAAFfBQAAAAZjbGllbnQCAAAABF9hZ2UJAAGRAAAAAgUAAAALY2xpZW50SW5wdXQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHR4SWQCAAAAAV8FAAAABmNsaWVudAIAAA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AAgkAASwAAAACBQAAAAR0eElkAgAAAAFfBQAAAApvcHBBZGRyZXNzAgAAAAVfdmlvNAkAAZEAAAACBQAAAA1vcHBvbmVudElucHV0AAAAAAAAAAAKCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIFAAAABHR4SWQCAAAABF9sZ3QFAAAAB2xndENvbmQFAAAAA25pbAAAAAFpAQAAAA1ldmFsdWF0ZWREYXRhAAAABAAAAA1wcmVkaWN0aW9uX2lkAAAAD3Blcl9vbmVfYWRkcmVzcwAAAA9wZXJfdHdvX2FkZHJlc3MAAAAVZ3VpbHR5X3BlcnNvbl9hZGRyZXNzBAAAAAR0eElkCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAANcHJlZGljdGlvbl9pZAUAAAAEdHhJZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAABHR4SWQCAAAAB19ndWlsdHkFAAAAFWd1aWx0eV9wZXJzb25fYWRkcmVzcwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXn9vaTL", "height": 2848895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 21HKTGkosLLxtU7TqGY3R4H2NQt6wz6oNjkaADbCojMD Next: 21yrU9gEojno6nyXtMHKa59ozXHdx3qd7vyF2CDSHJFK Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func call (b,c) = [IntegerEntry("1", b[0]), IntegerEntry("2", b[1])] | |
8 | - | ||
9 | - | ||
10 | - | ||
11 | - | @Callable(a) | |
12 | - | func registerData (d,e,f,g) = { | |
13 | - | let h = toString(a.caller) | |
14 | - | let i = toBase58String(a.transactionId) | |
15 | - | [StringEntry(f, i), IntegerEntry((((i + "_") + h) + "_age"), d[0]), IntegerEntry((((i + "_") + h) + "_sex"), d[1]), IntegerEntry((((i + "_") + h) + "_damage"), d[2]), IntegerEntry((((i + "_") + h) + "_fac1"), d[3]), IntegerEntry((((i + "_") + h) + "_fac2"), d[4]), IntegerEntry((((i + "_") + h) + "_fac3"), d[5]), IntegerEntry((((i + "_") + h) + "_fac4"), d[6]), IntegerEntry((((i + "_") + h) + "_vio1"), d[7]), IntegerEntry((((i + "_") + h) + "_vio2"), d[8]), IntegerEntry((((i + "_") + h) + "_vio3"), d[9]), IntegerEntry((((i + "_") + h) + "_vio4"), d[10]), IntegerEntry((((i + "_") + g) + "_age"), e[0]), IntegerEntry((((i + "_") + g) + "_sex"), e[1]), IntegerEntry((((i + "_") + g) + "_damage"), e[2]), IntegerEntry((((i + "_") + g) + "_fac1"), e[3]), IntegerEntry((((i + "_") + g) + "_fac2"), e[4]), IntegerEntry((((i + "_") + g) + "_fac3"), e[5]), IntegerEntry((((i + "_") + g) + "_fac4"), e[6]), IntegerEntry((((i + "_") + g) + "_vio1"), e[7]), IntegerEntry((((i + "_") + g) + "_vio2"), e[8]), IntegerEntry((((i + "_") + g) + "_vio3"), e[9]), IntegerEntry((((i + "_") + g) + "_vio4"), e[10])] | |
7 | + | func registerData (b,c,d,e,f) = { | |
8 | + | let g = toString(a.caller) | |
9 | + | let h = toBase58String(a.transactionId) | |
10 | + | [StringEntry(d, h), IntegerEntry((((h + "_") + g) + "_age"), b[0]), IntegerEntry((((h + "_") + g) + "_sex"), b[1]), IntegerEntry((((h + "_") + g) + "_damage"), b[2]), IntegerEntry((((h + "_") + g) + "_fac1"), b[3]), IntegerEntry((((h + "_") + g) + "_fac2"), b[4]), IntegerEntry((((h + "_") + g) + "_fac3"), b[5]), IntegerEntry((((h + "_") + g) + "_fac4"), b[6]), IntegerEntry((((h + "_") + g) + "_vio1"), b[7]), IntegerEntry((((h + "_") + g) + "_vio2"), b[8]), IntegerEntry((((h + "_") + g) + "_vio3"), b[9]), IntegerEntry((((h + "_") + g) + "_vio4"), b[10]), IntegerEntry((((h + "_") + e) + "_age"), c[0]), IntegerEntry((((h + "_") + e) + "_sex"), c[1]), IntegerEntry((((h + "_") + e) + "_damage"), c[2]), IntegerEntry((((h + "_") + e) + "_fac1"), c[3]), IntegerEntry((((h + "_") + e) + "_fac2"), c[4]), IntegerEntry((((h + "_") + e) + "_fac3"), c[5]), IntegerEntry((((h + "_") + e) + "_fac4"), c[6]), IntegerEntry((((h + "_") + e) + "_vio1"), c[7]), IntegerEntry((((h + "_") + e) + "_vio2"), c[8]), IntegerEntry((((h + "_") + e) + "_vio3"), c[9]), IntegerEntry((((h + "_") + e) + "_vio4"), c[10]), IntegerEntry((h + "_lgt"), f)] | |
16 | 11 | } | |
17 | 12 | ||
18 | 13 | ||
19 | 14 | ||
20 | 15 | @Callable(a) | |
21 | - | func evaluatedData (j,k,l | |
22 | - | let | |
23 | - | [StringEntry( | |
16 | + | func evaluatedData (i,j,k,l) = { | |
17 | + | let h = toBase58String(a.transactionId) | |
18 | + | [StringEntry(i, h), StringEntry((h + "_guilty"), l)] | |
24 | 19 | } | |
25 | 20 | ||
26 | 21 | ||
27 | - | @Verifier( | |
28 | - | func | |
22 | + | @Verifier(m) | |
23 | + | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) | |
29 | 24 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func call (b,c) = [IntegerEntry("1", b[0]), IntegerEntry("2", b[1])] | |
8 | - | ||
9 | - | ||
10 | - | ||
11 | - | @Callable(a) | |
12 | - | func registerData (d,e,f,g) = { | |
13 | - | let h = toString(a.caller) | |
14 | - | let i = toBase58String(a.transactionId) | |
15 | - | [StringEntry(f, i), IntegerEntry((((i + "_") + h) + "_age"), d[0]), IntegerEntry((((i + "_") + h) + "_sex"), d[1]), IntegerEntry((((i + "_") + h) + "_damage"), d[2]), IntegerEntry((((i + "_") + h) + "_fac1"), d[3]), IntegerEntry((((i + "_") + h) + "_fac2"), d[4]), IntegerEntry((((i + "_") + h) + "_fac3"), d[5]), IntegerEntry((((i + "_") + h) + "_fac4"), d[6]), IntegerEntry((((i + "_") + h) + "_vio1"), d[7]), IntegerEntry((((i + "_") + h) + "_vio2"), d[8]), IntegerEntry((((i + "_") + h) + "_vio3"), d[9]), IntegerEntry((((i + "_") + h) + "_vio4"), d[10]), IntegerEntry((((i + "_") + g) + "_age"), e[0]), IntegerEntry((((i + "_") + g) + "_sex"), e[1]), IntegerEntry((((i + "_") + g) + "_damage"), e[2]), IntegerEntry((((i + "_") + g) + "_fac1"), e[3]), IntegerEntry((((i + "_") + g) + "_fac2"), e[4]), IntegerEntry((((i + "_") + g) + "_fac3"), e[5]), IntegerEntry((((i + "_") + g) + "_fac4"), e[6]), IntegerEntry((((i + "_") + g) + "_vio1"), e[7]), IntegerEntry((((i + "_") + g) + "_vio2"), e[8]), IntegerEntry((((i + "_") + g) + "_vio3"), e[9]), IntegerEntry((((i + "_") + g) + "_vio4"), e[10])] | |
7 | + | func registerData (b,c,d,e,f) = { | |
8 | + | let g = toString(a.caller) | |
9 | + | let h = toBase58String(a.transactionId) | |
10 | + | [StringEntry(d, h), IntegerEntry((((h + "_") + g) + "_age"), b[0]), IntegerEntry((((h + "_") + g) + "_sex"), b[1]), IntegerEntry((((h + "_") + g) + "_damage"), b[2]), IntegerEntry((((h + "_") + g) + "_fac1"), b[3]), IntegerEntry((((h + "_") + g) + "_fac2"), b[4]), IntegerEntry((((h + "_") + g) + "_fac3"), b[5]), IntegerEntry((((h + "_") + g) + "_fac4"), b[6]), IntegerEntry((((h + "_") + g) + "_vio1"), b[7]), IntegerEntry((((h + "_") + g) + "_vio2"), b[8]), IntegerEntry((((h + "_") + g) + "_vio3"), b[9]), IntegerEntry((((h + "_") + g) + "_vio4"), b[10]), IntegerEntry((((h + "_") + e) + "_age"), c[0]), IntegerEntry((((h + "_") + e) + "_sex"), c[1]), IntegerEntry((((h + "_") + e) + "_damage"), c[2]), IntegerEntry((((h + "_") + e) + "_fac1"), c[3]), IntegerEntry((((h + "_") + e) + "_fac2"), c[4]), IntegerEntry((((h + "_") + e) + "_fac3"), c[5]), IntegerEntry((((h + "_") + e) + "_fac4"), c[6]), IntegerEntry((((h + "_") + e) + "_vio1"), c[7]), IntegerEntry((((h + "_") + e) + "_vio2"), c[8]), IntegerEntry((((h + "_") + e) + "_vio3"), c[9]), IntegerEntry((((h + "_") + e) + "_vio4"), c[10]), IntegerEntry((h + "_lgt"), f)] | |
16 | 11 | } | |
17 | 12 | ||
18 | 13 | ||
19 | 14 | ||
20 | 15 | @Callable(a) | |
21 | - | func evaluatedData (j,k,l | |
22 | - | let | |
23 | - | [StringEntry( | |
16 | + | func evaluatedData (i,j,k,l) = { | |
17 | + | let h = toBase58String(a.transactionId) | |
18 | + | [StringEntry(i, h), StringEntry((h + "_guilty"), l)] | |
24 | 19 | } | |
25 | 20 | ||
26 | 21 | ||
27 | - | @Verifier( | |
28 | - | func | |
22 | + | @Verifier(m) | |
23 | + | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) | |
29 | 24 |
github/deemru/w8io/026f985 31.32 ms ◑