tx · 21HKTGkosLLxtU7TqGY3R4H2NQt6wz6oNjkaADbCojMD 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3: -0.01000000 Waves 2023.11.17 15:26 [2847368] smart account 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3 > SELF 0.00000000 Waves
{ "type": 13, "id": "21HKTGkosLLxtU7TqGY3R4H2NQt6wz6oNjkaADbCojMD", "fee": 1000000, "feeAssetId": null, "timestamp": 1700224001250, "version": 2, "chainId": 84, "sender": "3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3", "senderPublicKey": "5TXMdPyvDNfxhdixe86fk7Ya8FScpZGfZ6XNawu8sYK4", "proofs": [ "5RNLSzE9m2MAaMRREBCiFhy2r3AbDTzqPdHZgDTKkkvxsjju3BEFeixK9FWEznSrNGkmWYmLFpGF4WULzCRtEd3F" ], "script": "base64:AAIFAAAAAAAAABgIAhIECgIRERIGCgQREQgIEgYKBAgICAgAAAAAAAAAAwAAAAFpAQAAAARjYWxsAAAAAgAAAAVpbnB1dAAAAAZpbnB1dDIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAATEJAAGRAAAAAgUAAAAFaW5wdXQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAATIJAAGRAAAAAgUAAAAFaW5wdXQAAAAAAAAAAAEFAAAAA25pbAAAAAFpAQAAAAxyZWdpc3RlckRhdGEAAAAEAAAAC2NsaWVudElucHV0AAAADW9wcG9uZW50SW5wdXQAAAACaWQAAAAKb3BwQWRkcmVzcwQAAAAGY2xpZW50CQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgQAAAAEdHhJZAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAAmlkBQAAAAR0eElkCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAA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xJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAR0eElkAgAAAAFfBQAAAApvcHBBZGRyZXNzAgAAAAVfdmlvMwkAAZEAAAACBQAAAA1vcHBvbmVudElucHV0AAAAAAAAAAAJCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAR0eElkAgAAAAFfBQAAAApvcHBBZGRyZXNzAgAAAAVfdmlvNAkAAZEAAAACBQAAAA1vcHBvbmVudElucHV0AAAAAAAAAAAKBQAAAANuaWwAAAABaQEAAAANZXZhbHVhdGVkRGF0YQAAAAQAAAANcHJlZGljdGlvbl9pZAAAAA9wZXJfb25lX2FkZHJlc3MAAAAPcGVyX3R3b19hZGRyZXNzAAAAFWd1aWx0eV9wZXJzb25fYWRkcmVzcwQAAAAEdHhJZAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAADXByZWRpY3Rpb25faWQFAAAABHR4SWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACBQAAAAR0eElkAgAAAAdfZ3VpbHR5BQAAABVndWlsdHlfcGVyc29uX2FkZHJlc3MFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5/a85wA==", "height": 2847368, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7Jt9cGNnQhwYk5jBhofytw9CPUsWTaLmBwiw9hM6wN9V Next: BJ8XMx67DMxUxAWV8mMvRGcbSvKPYoL81BMcPP8vRria Diff:
Old | New | Differences | |
---|---|---|---|
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | + | ||
20 | + | @Callable(i) | |
21 | + | func evaluatedData (prediction_id,per_one_address,per_two_address,guilty_person_address) = { | |
22 | + | let txId = toBase58String(i.transactionId) | |
23 | + | [StringEntry(prediction_id, txId), StringEntry((txId + "_guilty"), guilty_person_address)] | |
24 | + | } | |
25 | + | ||
26 | + | ||
19 | 27 | @Verifier(tx) | |
20 | 28 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
21 | 29 |
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(i) | |
7 | 7 | func call (input,input2) = [IntegerEntry("1", input[0]), IntegerEntry("2", input[1])] | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | ||
11 | 11 | @Callable(i) | |
12 | 12 | func registerData (clientInput,opponentInput,id,oppAddress) = { | |
13 | 13 | let client = toString(i.caller) | |
14 | 14 | let txId = toBase58String(i.transactionId) | |
15 | 15 | [StringEntry(id, txId), IntegerEntry((((txId + "_") + client) + "_age"), clientInput[0]), IntegerEntry((((txId + "_") + client) + "_sex"), clientInput[1]), IntegerEntry((((txId + "_") + client) + "_damage"), clientInput[2]), IntegerEntry((((txId + "_") + client) + "_fac1"), clientInput[3]), IntegerEntry((((txId + "_") + client) + "_fac2"), clientInput[4]), IntegerEntry((((txId + "_") + client) + "_fac3"), clientInput[5]), IntegerEntry((((txId + "_") + client) + "_fac4"), clientInput[6]), IntegerEntry((((txId + "_") + client) + "_vio1"), clientInput[7]), IntegerEntry((((txId + "_") + client) + "_vio2"), clientInput[8]), IntegerEntry((((txId + "_") + client) + "_vio3"), clientInput[9]), IntegerEntry((((txId + "_") + client) + "_vio4"), clientInput[10]), IntegerEntry((((txId + "_") + oppAddress) + "_age"), opponentInput[0]), IntegerEntry((((txId + "_") + oppAddress) + "_sex"), opponentInput[1]), IntegerEntry((((txId + "_") + oppAddress) + "_damage"), opponentInput[2]), IntegerEntry((((txId + "_") + oppAddress) + "_fac1"), opponentInput[3]), IntegerEntry((((txId + "_") + oppAddress) + "_fac2"), opponentInput[4]), IntegerEntry((((txId + "_") + oppAddress) + "_fac3"), opponentInput[5]), IntegerEntry((((txId + "_") + oppAddress) + "_fac4"), opponentInput[6]), IntegerEntry((((txId + "_") + oppAddress) + "_vio1"), opponentInput[7]), IntegerEntry((((txId + "_") + oppAddress) + "_vio2"), opponentInput[8]), IntegerEntry((((txId + "_") + oppAddress) + "_vio3"), opponentInput[9]), IntegerEntry((((txId + "_") + oppAddress) + "_vio4"), opponentInput[10])] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | + | ||
20 | + | @Callable(i) | |
21 | + | func evaluatedData (prediction_id,per_one_address,per_two_address,guilty_person_address) = { | |
22 | + | let txId = toBase58String(i.transactionId) | |
23 | + | [StringEntry(prediction_id, txId), StringEntry((txId + "_guilty"), guilty_person_address)] | |
24 | + | } | |
25 | + | ||
26 | + | ||
19 | 27 | @Verifier(tx) | |
20 | 28 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
21 | 29 |
github/deemru/w8io/026f985 35.69 ms ◑