tx · A71BjixeyXwQpzX3haGjx8t575FxNfLbQrfZvrSjMNnn

3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u:  -0.01400000 Waves

2019.11.21 14:19 [774870] smart account 3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
22.21 ms