tx · Bz9WuE64gkNhjA2M5uuaefhDYKtwq2Nbit2QDoEx3kEv
3Mv2MfC2igdCTgGx1wpEF3GxPqvFD3rwvgL: -0.01000000 Waves
2023.10.31 03:17 [2822075] smart account 3Mv2MfC2igdCTgGx1wpEF3GxPqvFD3rwvgL > SELF 0.00000000 Waves
{
"type": 13,
"id": "Bz9WuE64gkNhjA2M5uuaefhDYKtwq2Nbit2QDoEx3kEv",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1698711428667,
"version": 2,
"chainId": 84,
"sender": "3Mv2MfC2igdCTgGx1wpEF3GxPqvFD3rwvgL",
"senderPublicKey": "rbYfYDr4NWugEviYfXbUNGouFowM3uaXcYowkW8PXAa",
"proofs": [
"4uryeDrqDsJtAPSntUXCwmpbE23hLDNRpm8bKPqjaMcmfi3BQCGdCaNegv9JeUxcMgitt9Q9qDS9PNHQB93FkYu7"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAgAAAAEAAAAADlJTQVBVQkxJQzY0S0VZCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAAtyc2FQdWJsaWM2NAAAAAEAAAABaQEAAAAEY2FsbAAAAAIAAAAGZ2FtZUlkAAAAB3JzYVNpZ24EAAAACVJTQVBVQkxJQwkAAlsAAAABBQAAAA5SU0FQVUJMSUM2NEtFWQQAAAAHb3V0Y29tZQkACigAAAAEBQAAAAZTSEEyNTYJAAGbAAAAAQUAAAAGZ2FtZUlkBQAAAAdyc2FTaWduBQAAAAlSU0FQVUJMSUMJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAAB091dGNvbWUFAAAAB291dGNvbWUFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5j2a2pw==",
"height": 2822075,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7ucV8HaNcq6Ay7572uqB4ZnQa2nbSkWLochgK9MAwf2z
Next: Fxt74oMFSYgXRGYAGb9winQxQyVE4xTodcx7U3Lxtcie
Diff:
Old | New | | Differences |
---|
4 | 4 | | let a = getStringValue(this, "rsaPublic64") |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | | - | func call () = { |
---|
8 | | - | let c = fromBase64String(a) |
---|
9 | | - | [BinaryEntry("Outcome", c)] |
---|
| 7 | + | func call (c,d) = { |
---|
| 8 | + | let e = fromBase64String(a) |
---|
| 9 | + | let f = rsaVerify_16Kb(SHA256, toBytes(c), d, e) |
---|
| 10 | + | [BooleanEntry("Outcome", f)] |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
13 | | - | @Verifier(d) |
---|
14 | | - | func e () = sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey) |
---|
| 14 | + | @Verifier(g) |
---|
| 15 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
15 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = getStringValue(this, "rsaPublic64") |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | | - | func call () = { |
---|
8 | | - | let c = fromBase64String(a) |
---|
9 | | - | [BinaryEntry("Outcome", c)] |
---|
| 7 | + | func call (c,d) = { |
---|
| 8 | + | let e = fromBase64String(a) |
---|
| 9 | + | let f = rsaVerify_16Kb(SHA256, toBytes(c), d, e) |
---|
| 10 | + | [BooleanEntry("Outcome", f)] |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
13 | | - | @Verifier(d) |
---|
14 | | - | func e () = sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey) |
---|
| 14 | + | @Verifier(g) |
---|
| 15 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
15 | 16 | | |
---|