tx · 4ZxQHAqpRXPHcAYPPkb6hgnLU67PeQchTLdA6ya7x4uA

3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55:  -0.01000000 Waves

2022.06.06 01:39 [2083658] smart account 3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55 > SELF 0.00000000 Waves

{ "type": 13, "id": "4ZxQHAqpRXPHcAYPPkb6hgnLU67PeQchTLdA6ya7x4uA", "fee": 1000000, "feeAssetId": null, "timestamp": 1654468798002, "version": 2, "chainId": 84, "sender": "3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55", "senderPublicKey": "EK4tAXbeXpEJhAvZH4VHPBKw1A8dREMduJWrs1q6LgUs", "proofs": [ "21dcAMjL7UhU5U6zN6WQopxj2cEc4xeU77yqLQfPr2nGUv2YPKSKcvvrsFh5qu2aKk2e2yJEfWWFGHtZaVdptmVV" ], "script": "base64:AAIFAAAAAAAAABAIAhIDCgEIEgcKBQgICAgIAAAAAAAAAAIAAAABaQEAAAALYXJib29zQ2hlY2sAAAABAAAABGhhc2gEAAAABWZvdW5kBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAOdHJ4SWQtYnktaGFzaC0FAAAABGhhc2gDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAwkBAAAAAiE9AAAAAgUAAAAFZm91bmQCAAAAAAkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMaGFzaCBleGlzdHMgBQAAAAVmb3VuZAIAAAAKIGZvciBmaWxlIAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkAASwAAAACAgAAABFmaWxlbmFtZS1ieS1oYXNoLQUAAAAEaGFzaAIAAAAEIGJ5IAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkAASwAA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AAAACIn0FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5tqwvtA==", "height": 2083658, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8yiYYiPcNkvo72YXtN1uZM9mzb8KSk24GCq8dNmFDcUF Next: none Diff:
OldNewDifferences
2222
2323
2424 @Callable(a)
25-func arboosCertify (f,g,h) = {
25+func arboosCertify (f,g,h,i,j) = {
2626 let c = {
27- let d = getString(this, ("trxId-by-hash-" + g))
27+ let d = getString(this, ("by-hash-" + g))
2828 if ($isInstanceOf(d, "String"))
2929 then {
3030 let e = d
3333 else ""
3434 }
3535 if ((c != ""))
36- then throw(((((("hash exists " + c) + " for file ") + getStringValue(this, ("filename-by-hash-" + g))) + " by ") + getStringValue(this, ("certifiedBy-by-hash-" + g))))
36+ then throw(((("hash exists " + g) + " for ") + c))
3737 else {
38- let i = value(a.transactionId)
39-[StringEntry(("trxId-by-hash-" + g), toBase58String(value(a.transactionId))), StringEntry(("filename-by-hash-" + g), f), StringEntry(("certifiedBy-by-hash-" + g), h)]
38+ let k = value(a.transactionId)
39+[StringEntry(("by-hash-" + g), (((((((((("{\"trxId\":\"" + toBase58String(value(a.transactionId))) + "\",\"filename\":\"") + f) + "\",\"certifiedBy\":") + h) + "\",\"certifierId\":\"") + i) + "\",\"url\":\"") + j) + "\"}"))]
4040 }
4141 }
4242
4343
44-@Verifier(j)
45-func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
44+@Verifier(l)
45+func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
4646
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func arboosCheck (b) = {
88 let c = {
99 let d = getString(this, ("trxId-by-hash-" + b))
1010 if ($isInstanceOf(d, "String"))
1111 then {
1212 let e = d
1313 e
1414 }
1515 else ""
1616 }
1717 if ((c != ""))
1818 then throw(((((("hash exists " + c) + " for file ") + getStringValue(this, ("filename-by-hash-" + b))) + " by ") + getStringValue(this, ("certifiedBy-by-hash-" + b))))
1919 else throw("hash not found")
2020 }
2121
2222
2323
2424 @Callable(a)
25-func arboosCertify (f,g,h) = {
25+func arboosCertify (f,g,h,i,j) = {
2626 let c = {
27- let d = getString(this, ("trxId-by-hash-" + g))
27+ let d = getString(this, ("by-hash-" + g))
2828 if ($isInstanceOf(d, "String"))
2929 then {
3030 let e = d
3131 e
3232 }
3333 else ""
3434 }
3535 if ((c != ""))
36- then throw(((((("hash exists " + c) + " for file ") + getStringValue(this, ("filename-by-hash-" + g))) + " by ") + getStringValue(this, ("certifiedBy-by-hash-" + g))))
36+ then throw(((("hash exists " + g) + " for ") + c))
3737 else {
38- let i = value(a.transactionId)
39-[StringEntry(("trxId-by-hash-" + g), toBase58String(value(a.transactionId))), StringEntry(("filename-by-hash-" + g), f), StringEntry(("certifiedBy-by-hash-" + g), h)]
38+ let k = value(a.transactionId)
39+[StringEntry(("by-hash-" + g), (((((((((("{\"trxId\":\"" + toBase58String(value(a.transactionId))) + "\",\"filename\":\"") + f) + "\",\"certifiedBy\":") + h) + "\",\"certifierId\":\"") + i) + "\",\"url\":\"") + j) + "\"}"))]
4040 }
4141 }
4242
4343
44-@Verifier(j)
45-func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
44+@Verifier(l)
45+func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
4646

github/deemru/w8io/026f985 
30.07 ms