tx · 5eTYrsBaUAjPKd9ty1TLZELE8bnjhFofgzkFz3VTR1AP

3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u:  -0.01400000 Waves

2019.11.21 15:43 [774959] smart account 3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u > SELF 0.00000000 Waves

{ "type": 13, "id": "5eTYrsBaUAjPKd9ty1TLZELE8bnjhFofgzkFz3VTR1AP", "fee": 1400000, "feeAssetId": null, "timestamp": 1574340091433, "version": 1, "sender": "3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u", "senderPublicKey": "3U1CEsDmMXyPp5z1NXtQE4HZiK5JYASFDu1gudjREyM4", "proofs": [ "57hjBdMo1QTEPLUdqVSjqvzz518qTEjxuwTpfyfnit7aJ6k3XNzFodAm7DaZCp648yTyciW7VrnWtfzpxSzRC1z2" ], "script": "base64:AAIDAAAAAAAAAAwIARIDCgEIEgMKAQgAAAAAAAAAAgAAAAFpAQAAAAdyZXF1ZXN0AAAAAQAAAARuYW1lBAAAAANrZXkFAAAABG5hbWUEAAAADHdhc1JlcXVlc3RlZAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAYHAwUAAAAMd2FzUmVxdWVzdGVkCQAAAgAAAAECAAAAJVRoZSBjZXJ0aWZpY2F0ZSB3YXMgYWxyZWFkeSByZXF1ZXN0ZWQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2tleQAAAAAAAAAAAAUAAAADbmlsAAAAAWkBAAAAB2FwcHJvdmUAAAABAAAABG5hbWUEAAAAA2tleQUAAAAEbmFtZQMJAQAAAAIhPQAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAEdGhpcwkAAAIAAAABAgAAABdkQXBwIG93bmVyIGFsbG93ZWQgb25seQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAADa2V5AAAAAAAAAAABBQAAAANuaWwAAAAAro061Q==", "chainId": 84, "height": 774959, "spentComplexity": 0 } View: original | compacted Prev: 3G2BD8xNHqkUcb21RnbPEREomBjpSYfBCWo467k4Ch4A Next: Bp8jU6s16bKAJsstZnQB4MV665u1nzRzpF5vjZ9kx2y2 Diff:
OldNewDifferences
2121
2222 @Callable(i)
2323 func approve (name) = {
24- let key = toUtf8String(sha256(toBytes(name)))
24+ let key = name
2525 if ((i.caller != this))
2626 then throw("dApp owner allowed only")
2727 else WriteSet([DataEntry(key, 1)])
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func request (name) = {
88 let key = name
99 let wasRequested = match getInteger(this, key) {
1010 case a: Int =>
1111 true
1212 case _ =>
1313 false
1414 }
1515 if (wasRequested)
1616 then throw("The certificate was already requested")
1717 else WriteSet([DataEntry(key, 0)])
1818 }
1919
2020
2121
2222 @Callable(i)
2323 func approve (name) = {
24- let key = toUtf8String(sha256(toBytes(name)))
24+ let key = name
2525 if ((i.caller != this))
2626 then throw("dApp owner allowed only")
2727 else WriteSet([DataEntry(key, 1)])
2828 }
2929
3030

github/deemru/w8io/026f985 
31.08 ms