tx · SoHYFY8gKhfDMbiM88JKJWxWjkeWdfbcm3xzThYyoDw

3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u:  -0.01400000 Waves

2019.11.21 14:21 [774871] smart account 3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u > SELF 0.00000000 Waves

{ "type": 13, "id": "SoHYFY8gKhfDMbiM88JKJWxWjkeWdfbcm3xzThYyoDw", "fee": 1400000, "feeAssetId": null, "timestamp": 1574335155534, "version": 1, "sender": "3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u", "senderPublicKey": "3U1CEsDmMXyPp5z1NXtQE4HZiK5JYASFDu1gudjREyM4", "proofs": [ "61Ms6PWviTdjS9ot4SWCGQcdNf99eZF6Dfvq4ik4hCmCAwzznnm27ZLHgEXnc1vdPLcCLbih7mrMDzeQYRdWW3T4" ], "script": "base64:AAIDAAAAAAAAAAwIARIDCgEIEgMKAQgAAAAAAAAAAgAAAAFpAQAAAAdyZXF1ZXN0AAAAAQAAAARuYW1lBAAAAANrZXkJAAJaAAAAAQkAAfcAAAABCQACWwAAAAEFAAAABG5hbWUJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2tleQAAAAAAAAAAAAUAAAADbmlsAAAAAWkBAAAAB2FwcHJvdmUAAAABAAAABG5hbWUEAAAAA2tleQkABLAAAAABCQAB9wAAAAEJAAGbAAAAAQUAAAAEbmFtZQMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMFAAAAA2tleQkAAAIAAAABAgAAACFUaGUgY2VydGlmaWNhdGUgd2FzIG5vdCByZXF1ZXN0ZWQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2tleQAAAAAAAAAAAQUAAAADbmlsAAAAAJInh5U=", "chainId": 84, "height": 774871, "spentComplexity": 0 } View: original | compacted Prev: A71BjixeyXwQpzX3haGjx8t575FxNfLbQrfZvrSjMNnn Next: GnMQtGkcijWcfx8ryXTMFsBTfkCL8FAX9Y74dmquBRnC Diff:
OldNewDifferences
55
66 @Callable(i)
77 func request (name) = {
8- let key = toBase64String(sha256(toBytes(name)))
8+ let key = toBase64String(sha256(fromBase64String(name)))
99 WriteSet([DataEntry(key, 0)])
1010 }
1111
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func request (name) = {
8- let key = toBase64String(sha256(toBytes(name)))
8+ let key = toBase64String(sha256(fromBase64String(name)))
99 WriteSet([DataEntry(key, 0)])
1010 }
1111
1212
1313
1414 @Callable(i)
1515 func approve (name) = {
1616 let key = toUtf8String(sha256(toBytes(name)))
1717 if (!(isDefined(getIntegerValue(this, key))))
1818 then throw("The certificate was not requested")
1919 else WriteSet([DataEntry(key, 1)])
2020 }
2121
2222

github/deemru/w8io/169f3d6 
37.44 ms