tx · Hcm8vFnCiVVtdjwFYHJVGPEgUtd3JB6QtJjVFvufacmy
3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55: -0.01000000 Waves
2022.06.05 22:33 [2083473] smart account 3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55 > SELF 0.00000000 Waves
{
"type": 13,
"id": "Hcm8vFnCiVVtdjwFYHJVGPEgUtd3JB6QtJjVFvufacmy",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1654457616819,
"version": 2,
"chainId": 84,
"sender": "3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55",
"senderPublicKey": "EK4tAXbeXpEJhAvZH4VHPBKw1A8dREMduJWrs1q6LgUs",
"proofs": [
"4ik7XjhXUiA4UeqYMarnqwohbtEEPnC4rREDFhipwwbe8Lw8PZFHwVRdFn34kiHRbo3dg5y1pg3PazcrPFzwuiAU"
],
"script": "base64:AAIFAAAAAAAAAA4IAhIDCgEIEgUKAwgICAAAAAAAAAACAAAAAWkBAAAAC2FyYm9vc0NoZWNrAAAAAQAAAARoYXNoBAAAAAVmb3VuZAQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzCQABLAAAAAICAAAADnRyeElkLWJ5LWhhc2gtBQAAAARoYXNoAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAMJAQAAAAIhPQAAAAIFAAAABWZvdW5kAgAAAAAJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAADGhhc2ggZXhpc3RzIAUAAAAFZm91bmQCAAAACiBmb3IgZmlsZSAJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAARZmlsZW5hbWUtYnktaGFzaC0FAAAABGhhc2gCAAAABCBieSAJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAUY2VydGlmaWVkQnktYnktaGFzaC0FAAAABGhhc2gJAAACAAAAAQIAAAAOaGFzaCBub3QgZm91bmQAAAABaQEAAAANYXJib29zQ2VydGlmeQAAAAMAAAAIZmlsZW5hbWUAAAAMZmlsZUFzU0hBMjU2AAAAC2NlcnRpZmllZEJ5BAAAAAJpZAkBAAAABXZhbHVlAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAADnRyeElkLWJ5LWhhc2gtBQAAAAxmaWxlQXNTSEEyNTYJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAEWZpbGVuYW1lLWJ5LWhhc2gtBQAAAAxmaWxlQXNTSEEyNTYFAAAACGZpbGVuYW1lCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAUY2VydGlmaWVkQnktYnktaGFzaC0FAAAADGZpbGVBc1NIQTI1NgUAAAALY2VydGlmaWVkQnkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V53nf81Q==",
"height": 2083473,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: AT8dBmrZbie7P3SkaWu1KMbvbhZQ1iRiMbYcHKQbXa7u
Next: 8yiYYiPcNkvo72YXtN1uZM9mzb8KSk24GCq8dNmFDcUF
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func arboosCheck (b) = { |
---|
8 | 8 | | let c = { |
---|
9 | | - | let d = getStringValue(this, ("trxId-by-hash-" + b)) |
---|
| 9 | + | let d = getString(this, ("trxId-by-hash-" + b)) |
---|
10 | 10 | | if ($isInstanceOf(d, "String")) |
---|
11 | 11 | | then { |
---|
12 | 12 | | let e = d |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func arboosCheck (b) = { |
---|
8 | 8 | | let c = { |
---|
9 | | - | let d = getStringValue(this, ("trxId-by-hash-" + b)) |
---|
| 9 | + | let d = getString(this, ("trxId-by-hash-" + b)) |
---|
10 | 10 | | if ($isInstanceOf(d, "String")) |
---|
11 | 11 | | then { |
---|
12 | 12 | | let e = d |
---|
13 | 13 | | e |
---|
14 | 14 | | } |
---|
15 | 15 | | else "" |
---|
16 | 16 | | } |
---|
17 | 17 | | if ((c != "")) |
---|
18 | 18 | | then throw(((((("hash exists " + c) + " for file ") + getStringValue(this, ("filename-by-hash-" + b))) + " by ") + getStringValue(this, ("certifiedBy-by-hash-" + b)))) |
---|
19 | 19 | | else throw("hash not found") |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | @Callable(a) |
---|
25 | 25 | | func arboosCertify (f,g,h) = { |
---|
26 | 26 | | let i = value(a.transactionId) |
---|
27 | 27 | | [StringEntry(("trxId-by-hash-" + g), toBase58String(value(a.transactionId))), StringEntry(("filename-by-hash-" + g), f), StringEntry(("certifiedBy-by-hash-" + g), h)] |
---|
28 | 28 | | } |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|
31 | 31 | | @Verifier(j) |
---|
32 | 32 | | func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
33 | 33 | | |
---|