tx · Bp8jU6s16bKAJsstZnQB4MV665u1nzRzpF5vjZ9kx2y2

3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u:  -0.01400000 Waves

2019.11.21 16:13 [774993] smart account 3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u > SELF 0.00000000 Waves

{ "type": 13, "id": "Bp8jU6s16bKAJsstZnQB4MV665u1nzRzpF5vjZ9kx2y2", "fee": 1400000, "feeAssetId": null, "timestamp": 1574341941377, "version": 1, "sender": "3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u", "senderPublicKey": "3U1CEsDmMXyPp5z1NXtQE4HZiK5JYASFDu1gudjREyM4", "proofs": [ "49jRPgME8RhcdShUcjMj7r41V9QyGcrBqFqzTt6o24rNnZ3ZJPLKezwqt4VcZM39AiuzqrzFtiL5uaN9kporz9sQ" ], "script": "base64:AAIDAAAAAAAAAA0IARIDCgEIEgQKAggBAAAAAAAAAAIAAAABaQEAAAAHcmVxdWVzdAAAAAEAAAAEbmFtZQQAAAADa2V5BQAAAARuYW1lBAAAAAx3YXNSZXF1ZXN0ZWQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAGBwMFAAAADHdhc1JlcXVlc3RlZAkAAAIAAAABAgAAACVUaGUgY2VydGlmaWNhdGUgd2FzIGFscmVhZHkgcmVxdWVzdGVkCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAANrZXkAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAdhcHByb3ZlAAAAAgAAAARuYW1lAAAAAmlkBAAAAANrZXkFAAAABG5hbWUDCQEAAAACIT0AAAACCAUAAAABaQAAAAZjYWxsZXIFAAAABHRoaXMJAAACAAAAAQIAAAAXZEFwcCBvd25lciBhbGxvd2VkIG9ubHkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2tleQUAAAACaWQFAAAAA25pbAAAAAAH5GjV", "chainId": 84, "height": 774993, "spentComplexity": 0 } View: original | compacted Prev: 5eTYrsBaUAjPKd9ty1TLZELE8bnjhFofgzkFz3VTR1AP Next: none Diff:
OldNewDifferences
2323
2424
2525 @Callable(a)
26-func approve (b) = {
26+func approve (b,g) = {
2727 let c = b
2828 if ((a.caller != this))
2929 then throw("dApp owner allowed only")
30- else WriteSet([DataEntry(c, 1)])
30+ else WriteSet([DataEntry(c, g)])
3131 }
3232
3333
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func request (b) = {
88 let c = b
99 let d = {
1010 let e = getInteger(this, c)
1111 if ($isInstanceOf(e, "Int"))
1212 then {
1313 let f = e
1414 true
1515 }
1616 else false
1717 }
1818 if (d)
1919 then throw("The certificate was already requested")
2020 else WriteSet([DataEntry(c, 0)])
2121 }
2222
2323
2424
2525 @Callable(a)
26-func approve (b) = {
26+func approve (b,g) = {
2727 let c = b
2828 if ((a.caller != this))
2929 then throw("dApp owner allowed only")
30- else WriteSet([DataEntry(c, 1)])
30+ else WriteSet([DataEntry(c, g)])
3131 }
3232
3333

github/deemru/w8io/026f985 
36.58 ms