tx · HcEtUN3r2SGiVVkUSqd63RUkXWuprdSTGvGyqZnLC7BW

3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3:  -0.01000000 Waves

2023.11.12 14:15 [2840053] smart account 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3 > SELF 0.00000000 Waves

{ "type": 13, "id": "HcEtUN3r2SGiVVkUSqd63RUkXWuprdSTGvGyqZnLC7BW", "fee": 1000000, "feeAssetId": null, "timestamp": 1699787810172, "version": 2, "chainId": 84, "sender": "3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3", "senderPublicKey": "5TXMdPyvDNfxhdixe86fk7Ya8FScpZGfZ6XNawu8sYK4", "proofs": [ "3LGqdzZ4gsYZqbgPjuoNYnMLkGKemRhMsnscJ5qDB3BGv2WAQ1icd1Qtey1LsWQmmEspgFpiRU5L9r5oNiA4xMv9" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEREgYKBBERCAgAAAAAAAAAAgAAAAFpAQAAAARjYWxsAAAAAQAAAAVpbnB1dAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAABMQkAAZEAAAACBQAAAAVpbnB1dAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAABMgkAAZEAAAACBQAAAAVpbnB1dAAAAAAAAAAAAQUAAAADbmlsAAAAAWkBAAAADHJlZ2lzdGVyRGF0YQAAAAQAAAALY2xpZW50SW5wdXQAAAANb3Bwb25lbnRJbnB1dAAAAAJpZAAAAApvcHBBZGRyZXNzBAAAAAZjbGllbnQJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAAklEBQAAAAJpZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAZjbGllbnQCAAAABF9hZ2UJAAGRAAAAAgUAAAALY2xpZW50SW5wdXQAAAAAAAAAAAAJAARM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AAAACm9wcEFkZHJlc3MCAAAABV92aW8zCQABkQAAAAIFAAAADW9wcG9uZW50SW5wdXQAAAAAAAAAAAgJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgUAAAAKb3BwQWRkcmVzcwIAAAAFX3ZpbzQJAAGRAAAAAgUAAAANb3Bwb25lbnRJbnB1dAAAAAAAAAAACQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkOZc7+", "height": 2840053, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2kpp7r4jggzgyGRkGUGxiavr1eJpWRbpWxSA45FqLuBh Next: DFYak7XmX9wPpHdtCkAqAZKsSrMpjGt9SCi1JbAwLW4j Diff:
OldNewDifferences
77 func call (b) = [IntegerEntry("1", b[0]), IntegerEntry("2", b[1])]
88
99
10-@Verifier(c)
11-func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey)
10+
11+@Callable(a)
12+func registerData (c,d,e,f) = {
13+ let g = toString(a.caller)
14+[StringEntry("ID", e), IntegerEntry((g + "_age"), c[0]), IntegerEntry((g + "_sex"), c[1]), IntegerEntry((g + "_fac1"), c[2]), IntegerEntry((g + "_fac2"), c[3]), IntegerEntry((g + "_fac3"), c[4]), IntegerEntry((g + "_fac4"), c[5]), IntegerEntry((g + "_vio1"), c[6]), IntegerEntry((g + "_vio2"), c[7]), IntegerEntry((g + "_vio3"), c[8]), IntegerEntry((g + "_vio4"), c[9]), IntegerEntry((f + "_age"), d[0]), IntegerEntry((f + "_sex"), d[1]), IntegerEntry((f + "_fac1"), d[2]), IntegerEntry((f + "_fac2"), d[3]), IntegerEntry((f + "_fac3"), d[4]), IntegerEntry((f + "_fac4"), d[5]), IntegerEntry((f + "_vio1"), d[6]), IntegerEntry((f + "_vio2"), d[7]), IntegerEntry((f + "_vio3"), d[8]), IntegerEntry((f + "_vio4"), d[9])]
15+ }
16+
17+
18+@Verifier(h)
19+func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
1220
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func call (b) = [IntegerEntry("1", b[0]), IntegerEntry("2", b[1])]
88
99
10-@Verifier(c)
11-func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey)
10+
11+@Callable(a)
12+func registerData (c,d,e,f) = {
13+ let g = toString(a.caller)
14+[StringEntry("ID", e), IntegerEntry((g + "_age"), c[0]), IntegerEntry((g + "_sex"), c[1]), IntegerEntry((g + "_fac1"), c[2]), IntegerEntry((g + "_fac2"), c[3]), IntegerEntry((g + "_fac3"), c[4]), IntegerEntry((g + "_fac4"), c[5]), IntegerEntry((g + "_vio1"), c[6]), IntegerEntry((g + "_vio2"), c[7]), IntegerEntry((g + "_vio3"), c[8]), IntegerEntry((g + "_vio4"), c[9]), IntegerEntry((f + "_age"), d[0]), IntegerEntry((f + "_sex"), d[1]), IntegerEntry((f + "_fac1"), d[2]), IntegerEntry((f + "_fac2"), d[3]), IntegerEntry((f + "_fac3"), d[4]), IntegerEntry((f + "_fac4"), d[5]), IntegerEntry((f + "_vio1"), d[6]), IntegerEntry((f + "_vio2"), d[7]), IntegerEntry((f + "_vio3"), d[8]), IntegerEntry((f + "_vio4"), d[9])]
15+ }
16+
17+
18+@Verifier(h)
19+func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
1220

github/deemru/w8io/026f985 
28.09 ms