tx · 2mT3z7hvHLJJgLurH8CwrxW9zu4ZBt4rNeSNvj15W1ZJ

3N8UMXCHToJUhfWhTvZKkhqiLswbXBTGnZd:  -0.01400000 Waves

2021.04.29 16:52 [1503827] smart account 3N8UMXCHToJUhfWhTvZKkhqiLswbXBTGnZd > SELF 0.00000000 Waves

{ "type": 13, "id": "2mT3z7hvHLJJgLurH8CwrxW9zu4ZBt4rNeSNvj15W1ZJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1619704325182, "version": 2, "chainId": 84, "sender": "3N8UMXCHToJUhfWhTvZKkhqiLswbXBTGnZd", "senderPublicKey": "96XfNNgxsk19gM3wu1S61WLTC1edS2oYLo9d2DeemeQ9", "proofs": [ "2V2oohUCRJxxs6tzJJWsgAeQJdDbHeUjaMeWp5htoXfYJy1G5DNHVgfjhVZHAi4sU2UQRES9yCRFHqT5gdpgfJsF" ], "script": "base64:AAIEAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAKYm9keUJhc2U2NAkAAloAAAABCAUAAAACdHgAAAAJYm9keUJ5dGVzBAAAAA1zaWduZWRNZXNzYWdlCQABmwAAAAEJAAEsAAAAAgkAASwAAAACAgAAABoZRXRoZXJldW0gU2lnbmVkIE1lc3NhZ2U6CgkAAaQAAAABCQABMQAAAAEFAAAACmJvZHlCYXNlNjQFAAAACmJvZHlCYXNlNjQEAAAABXByb29mBAAAAAlwcm9vZnNTdW0DAwkAAGYAAAACCQAAyAAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAAAAAAAAAAAQAYJAABmAAAAAgkAAMgAAAABCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEAAAAAAAAAAEAJAAACAAAAAQIAAAAuUHJvb2YgbGVuZ3RoIG11c3QgYmUgZXF1YWwgdG8gNjQgYnl0ZXMgb3IgbGVzcwMDAwMDAwkBAAAAAiE9AAAAAgkAAMgA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XrpVXi2+7HVpk2GifaMP/eYQr0w+Of27gi24zY1Ka/V+aEqq", "height": 1503827, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+
7+@Verifier(a)
8+func b () = {
9+ let c = toBase64String(a.bodyBytes)
10+ let d = toBytes((("Ethereum Signed Message:
11+" + toString(size(c))) + c))
12+ let e = {
13+ let f = if (if ((size(a.proofs[0]) > 64))
14+ then true
15+ else (size(a.proofs[1]) > 64))
16+ then throw("Proof length must be equal to 64 bytes or less")
17+ else if (if (if (if (if (if ((size(a.proofs[2]) != 0))
18+ then true
19+ else (size(a.proofs[3]) != 0))
20+ then true
21+ else (size(a.proofs[4]) != 0))
22+ then true
23+ else (size(a.proofs[5]) != 0))
24+ then true
25+ else (size(a.proofs[6]) != 0))
26+ then true
27+ else (size(a.proofs[7]) != 0))
28+ then throw("There must be no more than 2 proofs")
29+ else (a.proofs[0] + a.proofs[1])
30+ let g = size(f)
31+ if ((g != 65))
32+ then throw((("Wrong proof size. Actual: " + toString(g)) + " bytes. Expected: 65 bytes."))
33+ else f
34+ }
35+ let h = ecrecover(keccak256(d), e)
36+ (h == base58'4dKufPRQAh7MMrmdMeRzaYh4fBXNn3Aq7FfNRdodXZrnxRJ12g7SuLzMLyxa53xXPsQT9VzZ8woXwhGfepuBhRzC')
37+ }
38+

github/deemru/w8io/169f3d6 
17.59 ms