tx · BkVWUdsQ7JYxnNSBQC4rv1kZgMWPBgGeXmi2d41GYYvo

3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3:  -0.01000000 Waves

2023.11.26 18:28 [2860550] smart account 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3 > SELF 0.00000000 Waves

{ "type": 13, "id": "BkVWUdsQ7JYxnNSBQC4rv1kZgMWPBgGeXmi2d41GYYvo", "fee": 1000000, "feeAssetId": null, "timestamp": 1701012536970, "version": 2, "chainId": 84, "sender": "3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3", "senderPublicKey": "5TXMdPyvDNfxhdixe86fk7Ya8FScpZGfZ6XNawu8sYK4", "proofs": [ "7dbXQ8REekcuY4kksF8cSMdgajDF9a6xExSKbaNqcoSwggx15rbLtWouW3eXobATsqHhkEiq4niT1raPXcV1yA2" ], "script": "base64:BgIfCAISBwoFEREICAESAwoBCBIGCgQICAgIEgUKAwgBCAQAC0JBSV9BRERSRVNTAiMzTjl0S2l4enFUWVduRVhReHJEUTVwQlRHdlFkNnNGc3ZtVgARQUlfVE9LRU5fQVNTRVRfSUQBIJPhcjhxBJtq6JpjHwQkt2RTlyw+vGYLg3SvaLskjeJCAQtyZW1vdmVNYXJrcwELbWFya3NTdHJpbmcEAWEJALACAgULbWFya3NTdHJpbmcAAQQBYgkAswICBQFhAAEFAWIBCXBhcnNlSnNvbgEEanNvbgQMbW9kaWZpZWRKc29uCQCwAgIFBGpzb24AAQQNbW9kaWZpZWRKc29uMgkAswICBQxtb2RpZmllZEpzb24AAQQGc3BsaXQxCQC1CQIFDW1vZGlmaWVkSnNvbjICASwECWtleVZhbHVlMQkAtQkCCQCRAwIFBnNwbGl0MQAAAgE6BARrZXkxCQELcmVtb3ZlTWFya3MBCQCRAwIFCWtleVZhbHVlMQAABAZ2YWx1ZTEJAQtyZW1vdmVNYXJrcwEJAJEDAgUJa2V5VmFsdWUxAAEECWtleVZhbHVlMgkAtQkCCQCRAwIFBnNwbG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l9hZGRyZXNzBAR0eElkCQDYBAEIBQFpDXRyYW5zYWN0aW9uSWQJAMwIAgkBC1N0cmluZ0VudHJ5AgUNcHJlZGljdGlvbl9pZAUEdHhJZAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIFBHR4SWQCB19ndWlsdHkFFWd1aWx0eV9wZXJzb25fYWRkcmVzcwUDbmlsAWkBDXJlcXVlc3RQYXlvdXQDCXByZWRfdHhJZAZhbW91bnQCaWQEBmNsaWVudAkApQgBCAUBaQZjYWxsZXIEBHR4SWQJANgEAQgFAWkNdHJhbnNhY3Rpb25JZAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIFAmlkAg9fcmVxdWVzdF9wYXlvdXQFBHR4SWQJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgUEdHhJZAIHX2Ftb3VudAUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUEdHhJZAIOX3ByZWRpY3Rpb25faWQFCXByZWRfdHhJZAUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleTsQJKo=", "height": 2860550, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FrzYyNDfE7qTFC7Kv3qv9McMVJNjoS7cs7U7CnhjCAf1 Next: FNSH3SSR3B61ky3nG5kXf7G2o3Nu5oArN1SekwVTRZr8 Diff:
OldNewDifferences
2323 let p = c(o[0])
2424 let q = c(o[1])
2525 let r = split(k[2], ":")
26- let s = c(o[0])
27- let t = c(o[1])
26+ let s = c(r[0])
27+ let t = c(r[1])
2828 $Tuple3([m, n], [p, q], [s, t])
2929 }
3030
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV"
55
66 let b = base58'AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1'
77
88 func c (d) = {
99 let e = drop(d, 1)
1010 let f = dropRight(e, 1)
1111 f
1212 }
1313
1414
1515 func g (h) = {
1616 let i = drop(h, 1)
1717 let j = dropRight(i, 1)
1818 let k = split(j, ",")
1919 let l = split(k[0], ":")
2020 let m = c(l[0])
2121 let n = c(l[1])
2222 let o = split(k[1], ":")
2323 let p = c(o[0])
2424 let q = c(o[1])
2525 let r = split(k[2], ":")
26- let s = c(o[0])
27- let t = c(o[1])
26+ let s = c(r[0])
27+ let t = c(r[1])
2828 $Tuple3([m, n], [p, q], [s, t])
2929 }
3030
3131
3232 @Callable(u)
3333 func registerData (v,w,x,y,z) = {
3434 let A = {
3535 let B = getString(x)
3636 if ($isInstanceOf(B, "String"))
3737 then {
3838 let C = B
3939 C
4040 }
4141 else "no Data exists"
4242 }
4343 if ((A != "no Data exists"))
4444 then throw("There is already existing Data for this case!")
4545 else {
4646 let D = toString(u.caller)
4747 let E = toBase58String(u.transactionId)
4848 [StringEntry(x, E), IntegerEntry((((E + "_") + D) + "_age"), v[0]), IntegerEntry((((E + "_") + D) + "_sex"), v[1]), IntegerEntry((((E + "_") + D) + "_damage"), v[2]), IntegerEntry((((E + "_") + D) + "_fac1"), v[3]), IntegerEntry((((E + "_") + D) + "_fac2"), v[4]), IntegerEntry((((E + "_") + D) + "_fac3"), v[5]), IntegerEntry((((E + "_") + D) + "_fac4"), v[6]), IntegerEntry((((E + "_") + D) + "_vio1"), v[7]), IntegerEntry((((E + "_") + D) + "_vio2"), v[8]), IntegerEntry((((E + "_") + D) + "_vio3"), v[9]), IntegerEntry((((E + "_") + D) + "_vio4"), v[10]), IntegerEntry((((E + "_") + D) + "_cost"), v[11]), IntegerEntry((((E + "_") + y) + "_age"), w[0]), IntegerEntry((((E + "_") + y) + "_sex"), w[1]), IntegerEntry((((E + "_") + y) + "_damage"), w[2]), IntegerEntry((((E + "_") + y) + "_fac1"), w[3]), IntegerEntry((((E + "_") + y) + "_fac2"), w[4]), IntegerEntry((((E + "_") + y) + "_fac3"), w[5]), IntegerEntry((((E + "_") + y) + "_fac4"), w[6]), IntegerEntry((((E + "_") + y) + "_vio1"), w[7]), IntegerEntry((((E + "_") + y) + "_vio2"), w[8]), IntegerEntry((((E + "_") + y) + "_vio3"), w[9]), IntegerEntry((((E + "_") + y) + "_vio4"), w[10]), IntegerEntry((((E + "_") + y) + "_cost"), w[11]), IntegerEntry((x + "_lgt"), z), StringEntry((x + "_status"), "open")]
4949 }
5050 }
5151
5252
5353
5454 @Callable(u)
5555 func evaluatedDataCallback (F) = {
5656 let E = toBase58String(u.transactionId)
5757 let G = g(F)
5858 let H = G._1[1]
5959 let I = G._2[1]
6060 let J = G._3[1]
6161 let K = {
6262 let B = getString(H)
6363 if ($isInstanceOf(B, "String"))
6464 then {
6565 let C = B
6666 C
6767 }
6868 else "no Data exists"
6969 }
7070 if ((K == "no Data exists"))
7171 then throw("There is no Data for this crashId!")
7272 else {
7373 let L = {
7474 let B = getInteger((((K + "_") + I) + "_cost"))
7575 if ($isInstanceOf(B, "Int"))
7676 then {
7777 let C = B
7878 C
7979 }
8080 else "No data Found"
8181 }
8282 if ((L == "No data Found"))
8383 then throw("There is no data for this address!")
8484 else if ((L == -1))
8585 then [StringEntry((H + "_eval"), E), StringEntry((H + "_innocent_address"), I), StringEntry((H + "_guilty_address"), J), StringEntry((H + "_status"), "evaluated")]
8686 else [StringEntry((H + "_eval"), E), StringEntry((H + "_innocent_address"), I), StringEntry((H + "_guilty_address"), J), StringEntry((H + "_status"), "closed"), ScriptTransfer(Address(fromBase58String(I)), 100000000, unit)]
8787 }
8888 }
8989
9090
9191
9292 @Callable(u)
9393 func evaluatedData (M,N,O,P) = {
9494 let E = toBase58String(u.transactionId)
9595 [StringEntry(M, E), StringEntry((E + "_guilty"), P)]
9696 }
9797
9898
9999
100100 @Callable(u)
101101 func requestPayout (Q,R,x) = {
102102 let D = toString(u.caller)
103103 let E = toBase58String(u.transactionId)
104104 [StringEntry((x + "_request_payout"), E), IntegerEntry((E + "_amount"), R), StringEntry((E + "_prediction_id"), Q)]
105105 }
106106
107107
108108 @Verifier(S)
109109 func T () = sigVerify(S.bodyBytes, S.proofs[0], S.senderPublicKey)
110110

github/deemru/w8io/026f985 
29.06 ms