tx · ycPH1d7XV4DvEqnUqqsCJSCLz1ZyVHanqL75BM7z9gQ

3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3:  -0.01000000 Waves

2023.11.19 20:40 [2850574] smart account 3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3 > SELF 0.00000000 Waves

{ "type": 13, "id": "ycPH1d7XV4DvEqnUqqsCJSCLz1ZyVHanqL75BM7z9gQ", "fee": 1000000, "feeAssetId": null, "timestamp": 1700415663022, "version": 2, "chainId": 84, "sender": "3NAoJSThEgz12iLrRFSeMZpP1mEYc4QcGa3", "senderPublicKey": "5TXMdPyvDNfxhdixe86fk7Ya8FScpZGfZ6XNawu8sYK4", "proofs": [ "EmakAT4JjTbWk12agZUGqqNzExfrJHxmn3Myo38sa8ugYA3ZtEVbGcZ5zd6tYyfFHK4WFVDuNNkSEneypxinngc" ], "script": "base64:AAIFAAAAAAAAACMIAhIHCgUREQgIARIHCgUICAgICBIFCgMIAQgSBgoEAQgICAAAAAEAAAAAE3ZpYWJsZUNhbGxlckFkZHJlc3MCAAAAIzNONzNkY3YyamtUb2JkUTlUUkxTWDRQdHZxSGJqc2lLeGlQAAAABAAAAAFpAQAAAAxyZWdpc3RlckRhdGEAAAAFAAAAC2NsaWVudElucHV0AAAADW9wcG9uZW50SW5wdXQAAAACaWQAAAAKb3BwQWRkcmVzcwAAAAdsZ3RDb25kBAAAAAZjbGllbnQJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBAAAAAR0eElkCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAACaWQFAAAABHR4SWQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHR4SWQCAAAAAV8FAAAABmNsaWVudAIAAAAEX2FnZQkAAZEAAAACBQAAAAtjbGllbnRJbnB1dAAAAAAAAAAAAAkABE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QCAAAAB19hbW91bnQFAAAABmFtb3VudAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAlyZWNpcGllbnQAAAAAAAX14QAFAAAABHVuaXQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V50vI9Rg==", "height": 2850574, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6jvmEP5PDRxMjJNrzvNChpbG33ioHx8SPF1Lvq1qXNKF Next: 576DiPkqau4WJSoxKLGBqxV8MHw5i7P5rFhu4u7dFNkf Diff:
OldNewDifferences
4040 then throw("You are not allowed to authorize payouts")
4141 else if ((size(fromBase58String(r)) != 26))
4242 then throw("Invalid recipient address length")
43- else [StringEntry((e + "_payout"), i), IntegerEntry((i + "_amount"), p), ScriptTransfer(t, 1000000, unit)]
43+ else [StringEntry((e + "_payout"), i), IntegerEntry((i + "_amount"), p), ScriptTransfer(t, 100000000, unit)]
4444 }
4545
4646
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N73dcv2jkTobdQ9TRLSX4PtvqHbjsiKxiP"
55
66 @Callable(b)
77 func registerData (c,d,e,f,g) = {
88 let h = toString(b.caller)
99 let i = toBase58String(b.transactionId)
1010 [StringEntry(e, i), IntegerEntry((((i + "_") + h) + "_age"), c[0]), IntegerEntry((((i + "_") + h) + "_sex"), c[1]), IntegerEntry((((i + "_") + h) + "_damage"), c[2]), IntegerEntry((((i + "_") + h) + "_fac1"), c[3]), IntegerEntry((((i + "_") + h) + "_fac2"), c[4]), IntegerEntry((((i + "_") + h) + "_fac3"), c[5]), IntegerEntry((((i + "_") + h) + "_fac4"), c[6]), IntegerEntry((((i + "_") + h) + "_vio1"), c[7]), IntegerEntry((((i + "_") + h) + "_vio2"), c[8]), IntegerEntry((((i + "_") + h) + "_vio3"), c[9]), IntegerEntry((((i + "_") + h) + "_vio4"), c[10]), IntegerEntry((((i + "_") + f) + "_age"), d[0]), IntegerEntry((((i + "_") + f) + "_sex"), d[1]), IntegerEntry((((i + "_") + f) + "_damage"), d[2]), IntegerEntry((((i + "_") + f) + "_fac1"), d[3]), IntegerEntry((((i + "_") + f) + "_fac2"), d[4]), IntegerEntry((((i + "_") + f) + "_fac3"), d[5]), IntegerEntry((((i + "_") + f) + "_fac4"), d[6]), IntegerEntry((((i + "_") + f) + "_vio1"), d[7]), IntegerEntry((((i + "_") + f) + "_vio2"), d[8]), IntegerEntry((((i + "_") + f) + "_vio3"), d[9]), IntegerEntry((((i + "_") + f) + "_vio4"), d[10]), IntegerEntry((i + "_lgt"), g)]
1111 }
1212
1313
1414
1515 @Callable(b)
1616 func evaluatedData (j,k,l,m,n) = {
1717 let i = toBase58String(b.transactionId)
1818 [StringEntry(j, i), StringEntry((i + "_guilty"), m), StringEntry((i + "_eligible_payout"), n)]
1919 }
2020
2121
2222
2323 @Callable(b)
2424 func requestPayout (o,p,e) = {
2525 let h = toString(b.caller)
2626 let i = toBase58String(b.transactionId)
2727 [StringEntry((e + "_request_payout"), i), IntegerEntry((i + "_amount"), p), StringEntry((i + "_prediction_id"), o)]
2828 }
2929
3030
3131
3232 @Callable(b)
3333 func PayoutUser (p,q,e,r) = {
3434 let s = toString(b.caller)
3535 let i = toBase58String(b.transactionId)
3636 let t = Address(fromBase58String(r))
3737 if ((q == "error"))
3838 then throw("There is an error with the data")
3939 else if ((s != a))
4040 then throw("You are not allowed to authorize payouts")
4141 else if ((size(fromBase58String(r)) != 26))
4242 then throw("Invalid recipient address length")
43- else [StringEntry((e + "_payout"), i), IntegerEntry((i + "_amount"), p), ScriptTransfer(t, 1000000, unit)]
43+ else [StringEntry((e + "_payout"), i), IntegerEntry((i + "_amount"), p), ScriptTransfer(t, 100000000, unit)]
4444 }
4545
4646
4747 @Verifier(u)
4848 func v () = sigVerify(u.bodyBytes, u.proofs[0], u.senderPublicKey)
4949

github/deemru/w8io/026f985 
24.44 ms