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 (input) = [IntegerEntry("1", input[0]), IntegerEntry("2", input[1])]
88
99
10+
11+@Callable(i)
12+func registerData (clientInput,opponentInput,id,oppAddress) = {
13+ let client = toString(i.caller)
14+[StringEntry("ID", id), IntegerEntry((client + "_age"), clientInput[0]), IntegerEntry((client + "_sex"), clientInput[1]), IntegerEntry((client + "_fac1"), clientInput[2]), IntegerEntry((client + "_fac2"), clientInput[3]), IntegerEntry((client + "_fac3"), clientInput[4]), IntegerEntry((client + "_fac4"), clientInput[5]), IntegerEntry((client + "_vio1"), clientInput[6]), IntegerEntry((client + "_vio2"), clientInput[7]), IntegerEntry((client + "_vio3"), clientInput[8]), IntegerEntry((client + "_vio4"), clientInput[9]), IntegerEntry((oppAddress + "_age"), opponentInput[0]), IntegerEntry((oppAddress + "_sex"), opponentInput[1]), IntegerEntry((oppAddress + "_fac1"), opponentInput[2]), IntegerEntry((oppAddress + "_fac2"), opponentInput[3]), IntegerEntry((oppAddress + "_fac3"), opponentInput[4]), IntegerEntry((oppAddress + "_fac4"), opponentInput[5]), IntegerEntry((oppAddress + "_vio1"), opponentInput[6]), IntegerEntry((oppAddress + "_vio2"), opponentInput[7]), IntegerEntry((oppAddress + "_vio3"), opponentInput[8]), IntegerEntry((oppAddress + "_vio4"), opponentInput[9])]
15+ }
16+
17+
1018 @Verifier(tx)
1119 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1220
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call (input) = [IntegerEntry("1", input[0]), IntegerEntry("2", input[1])]
88
99
10+
11+@Callable(i)
12+func registerData (clientInput,opponentInput,id,oppAddress) = {
13+ let client = toString(i.caller)
14+[StringEntry("ID", id), IntegerEntry((client + "_age"), clientInput[0]), IntegerEntry((client + "_sex"), clientInput[1]), IntegerEntry((client + "_fac1"), clientInput[2]), IntegerEntry((client + "_fac2"), clientInput[3]), IntegerEntry((client + "_fac3"), clientInput[4]), IntegerEntry((client + "_fac4"), clientInput[5]), IntegerEntry((client + "_vio1"), clientInput[6]), IntegerEntry((client + "_vio2"), clientInput[7]), IntegerEntry((client + "_vio3"), clientInput[8]), IntegerEntry((client + "_vio4"), clientInput[9]), IntegerEntry((oppAddress + "_age"), opponentInput[0]), IntegerEntry((oppAddress + "_sex"), opponentInput[1]), IntegerEntry((oppAddress + "_fac1"), opponentInput[2]), IntegerEntry((oppAddress + "_fac2"), opponentInput[3]), IntegerEntry((oppAddress + "_fac3"), opponentInput[4]), IntegerEntry((oppAddress + "_fac4"), opponentInput[5]), IntegerEntry((oppAddress + "_vio1"), opponentInput[6]), IntegerEntry((oppAddress + "_vio2"), opponentInput[7]), IntegerEntry((oppAddress + "_vio3"), opponentInput[8]), IntegerEntry((oppAddress + "_vio4"), opponentInput[9])]
15+ }
16+
17+
1018 @Verifier(tx)
1119 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1220

github/deemru/w8io/026f985 
32.83 ms