tx · F7Una8HMpMRRtASbWs4FRQAegsqm4xUQcdDSW8DWUAPA

3N49shcErzZepEy7HDR1fjAce8humpL7QiH:  -0.01000000 Waves

2022.12.14 22:06 [2360378] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves

{ "type": 13, "id": "F7Una8HMpMRRtASbWs4FRQAegsqm4xUQcdDSW8DWUAPA", "fee": 1000000, "feeAssetId": null, "timestamp": 1671044772379, "version": 2, "chainId": 84, "sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH", "senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj", "proofs": [ "5LRJSjgYEjfoTLwzP76XrajWy8NDcZtTSMrERnQzT6hcUebeRaS7uzAsoAXD2ND2Buzgrx1iseM7ZjLn6kjJYBSC" ], "script": "base64:BgIMCAISAwoBCBIDCgEIAAIBaQEBdgEBZgMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECEm9ubHkgYWRtaW4gYWxsb3dlZAQDaW52CQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEFAWYCAnZmCQDMCAIHCQDMCAIGBQNuaWwFA25pbAMJAAACBQNpbnYFA2ludgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBBHZmYTUBCWFkZHJlc3NlcwoBAXcCBWFjY3VtB2FkZHJlc3MEA3JlcwkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBBQdhZGRyZXNzAgJ2ZgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECEm9ubHkgYWRtaW4gYWxsb3dlZAQEbGlzdAkAtQkCBQlhZGRyZXNzZXMCASwEBGZvbGQKAAIkbAUEbGlzdAoAAiRzCQCQAwEFAiRsCgAFJGFjYzACAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEBdwIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQITTGlzdCBzaXplIGV4Y2VlZHMgNQkBBSRmMF8yAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwAEAAUDCQAAAgUEZm9sZAUEZm9sZAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EA2ludgUHJG1hdGNoMAMJAAACCQCkCAEIBQNpbnYEZEFwcAUEdGhpcwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmGc+4i", "height": 2360378, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 751d6XsShSJ97x6Wq8Gsnoikapqn6wR2Y337sSV92GNC Next: 9cSYNsLTd3fx3hGfXi44uWrhEdpLxew9z4kXYiePdUDK Diff:
OldNewDifferences
4949 }
5050
5151
52+@Verifier(r)
53+func s () = {
54+ let t = r
55+ if ($isInstanceOf(t, "InvokeScriptTransaction"))
56+ then {
57+ let c = t
58+ if ((addressFromRecipient(c.dApp) == this))
59+ then true
60+ else sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
61+ }
62+ else sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
63+ }
64+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func v (b) = if ((a.caller != this))
88 then throw("only admin allowed")
99 else {
1010 let c = invoke(addressFromStringValue(b), "vf", [false, true], nil)
1111 if ((c == c))
1212 then nil
1313 else throw("Strict value is not equal to itself.")
1414 }
1515
1616
1717
1818 @Callable(a)
1919 func vfa5 (d) = {
2020 func e (f,g) = {
2121 let h = invoke(addressFromStringValue(g), "vf", [false, true], nil)
2222 if ((h == h))
2323 then nil
2424 else throw("Strict value is not equal to itself.")
2525 }
2626
2727 if ((a.caller != this))
2828 then throw("only admin allowed")
2929 else {
3030 let i = split(d, ",")
3131 let j = {
3232 let k = i
3333 let l = size(k)
3434 let m = ""
3535 func n (o,p) = if ((p >= l))
3636 then o
3737 else e(o, k[p])
3838
3939 func q (o,p) = if ((p >= l))
4040 then o
4141 else throw("List size exceeds 5")
4242
4343 q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
4444 }
4545 if ((j == j))
4646 then nil
4747 else throw("Strict value is not equal to itself.")
4848 }
4949 }
5050
5151
52+@Verifier(r)
53+func s () = {
54+ let t = r
55+ if ($isInstanceOf(t, "InvokeScriptTransaction"))
56+ then {
57+ let c = t
58+ if ((addressFromRecipient(c.dApp) == this))
59+ then true
60+ else sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
61+ }
62+ else sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
63+ }
64+

github/deemru/w8io/169f3d6 
25.34 ms