tx · Dx2W2axuJzX9PE9vCoiLigzwqaFQ7UrMxqCfTpqxXqj

3MtsQpwSQr7knQgF1Mzdc3nd7ms3JEKo7B8:  -0.01000000 Waves

2023.02.05 01:40 [2435498] smart account 3MtsQpwSQr7knQgF1Mzdc3nd7ms3JEKo7B8 > SELF 0.00000000 Waves

{ "type": 13, "id": "Dx2W2axuJzX9PE9vCoiLigzwqaFQ7UrMxqCfTpqxXqj", "fee": 1000000, "feeAssetId": null, "timestamp": 1675550499869, "version": 2, "chainId": 84, "sender": "3MtsQpwSQr7knQgF1Mzdc3nd7ms3JEKo7B8", "senderPublicKey": "DBrgC8MVcZdynxH3pXpNcQcSP3CSPx1oeHWTjdWKatxF", "proofs": [ "51Ge51WHbtEdRWpPCN9Tr99FeqTZuQNfsJEoZvRv5rv1af9jU2FkchkkxxAHuL6J1qAExA3x3AkHmQTZV2wgjMF6" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIYGAAAAAIBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHBQAAAARkYXRhAQAAAAhhdXRoVXNlcgAAAAEAAAABaQQAAAASZWdnZXJQdWJsaWNLZXlIYXNoCQAB9wAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAjZWdnZXJQdWJsaWNLZXlIYXNoT25TdXBwbGllckFjY291bnQJAQAAABFAZXh0ck5hdGl2ZSgxMDUyKQAAAAIFAAAABHRoaXMCAAAAFGNvbm5lY3Rpb24uRWdnZXIucmVmAwkAAAAAAAACBQAAACNlZ2dlclB1YmxpY0tleUhhc2hPblN1cHBsaWVyQWNjb3VudAUAAAASZWdnZXJQdWJsaWNLZXlIYXNoBgkAAAIAAAABAgAAAD1BY2NvdW50IGhhdCB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AgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgUAAAAFJGFjYzAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAIAAAAAAAAAAAMAAAAAAAAAAAQAAAAAAAAAAAUAAAAAAAAAAAYAAAAAAAAAAAcAAAAAAAAAAAgAAAAAAAAAAAkAAAAAAAAAAAoIBQAAAAFyAAAAAl8xCQAAAgAAAAECAAAAPUFjY291bnQgaGF0IG5pY2h0IGRpZSBuw7Z0aWdlIEJlcmVjaHRpZ3VuZyBmw7xyIGRpZXNlIEFrdGlvbi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleePF7FM=", "height": 2435498, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9qXYNkAdQtZQhJVHcmJrkYijkRo2H8RivtRTzEm2enE8 Next: 3FyzkQsMAujHXY39xiLzc3WW9UvnBZyECL6Q7KSc25EE Diff:
OldNewDifferences
2727 @Callable(h)
2828 func saveListOnSupplierAccount (k,l) = {
2929 let m = g(h)
30- func n (o,p) = {
31- let q = o
32- let r = q._1
33- let s = q._2
34- $Tuple2((r :+ StringEntry(k[s], p)), (s + 1))
35- }
30+ if (m)
31+ then {
32+ func n (o,p) = {
33+ let q = o
34+ let r = q._1
35+ let s = q._2
36+ $Tuple2((r :+ StringEntry(k[s], p)), (s + 1))
37+ }
3638
37- let t = {
38- let u = l
39- let v = size(u)
40- let w = $Tuple2(nil, 0)
41- func x (y,z) = if ((z >= v))
42- then y
43- else n(y, u[z])
39+ let t = {
40+ let u = l
41+ let v = size(u)
42+ let w = $Tuple2(nil, 0)
43+ func x (y,z) = if ((z >= v))
44+ then y
45+ else n(y, u[z])
4446
45- func A (y,z) = if ((z >= v))
46- then y
47- else throw("List size exceeds 10")
47+ func A (y,z) = if ((z >= v))
48+ then y
49+ else throw("List size exceeds 10")
4850
49- A(x(x(x(x(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
50- }
51- t._1
51+ A(x(x(x(x(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
52+ }
53+ t._1
54+ }
55+ else throw("Account hat nicht die nötige Berechtigung für diese Aktion.")
5256 }
5357
5458
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c) = {
55 let d = {
66 let e = getBoolean(b, c)
77 if ($isInstanceOf(e, "Boolean"))
88 then {
99 let f = e
1010 f
1111 }
1212 else false
1313 }
1414 d
1515 }
1616
1717
1818 func g (h) = {
1919 let i = sha256(h.callerPublicKey)
2020 let j = getBinaryValue(this, "connection.Egger.ref")
2121 if ((j == i))
2222 then true
2323 else throw("Account hat nicht die nötige Berechtigung für diese Aktion.")
2424 }
2525
2626
2727 @Callable(h)
2828 func saveListOnSupplierAccount (k,l) = {
2929 let m = g(h)
30- func n (o,p) = {
31- let q = o
32- let r = q._1
33- let s = q._2
34- $Tuple2((r :+ StringEntry(k[s], p)), (s + 1))
35- }
30+ if (m)
31+ then {
32+ func n (o,p) = {
33+ let q = o
34+ let r = q._1
35+ let s = q._2
36+ $Tuple2((r :+ StringEntry(k[s], p)), (s + 1))
37+ }
3638
37- let t = {
38- let u = l
39- let v = size(u)
40- let w = $Tuple2(nil, 0)
41- func x (y,z) = if ((z >= v))
42- then y
43- else n(y, u[z])
39+ let t = {
40+ let u = l
41+ let v = size(u)
42+ let w = $Tuple2(nil, 0)
43+ func x (y,z) = if ((z >= v))
44+ then y
45+ else n(y, u[z])
4446
45- func A (y,z) = if ((z >= v))
46- then y
47- else throw("List size exceeds 10")
47+ func A (y,z) = if ((z >= v))
48+ then y
49+ else throw("List size exceeds 10")
4850
49- A(x(x(x(x(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
50- }
51- t._1
51+ A(x(x(x(x(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
52+ }
53+ t._1
54+ }
55+ else throw("Account hat nicht die nötige Berechtigung für diese Aktion.")
5256 }
5357
5458
5559 @Verifier(B)
5660 func C () = sigVerify(B.bodyBytes, B.proofs[0], B.senderPublicKey)
5761

github/deemru/w8io/169f3d6 
34.77 ms