tx · BJPq6qQxFC3N5KAeWqDMkVw6JsEiaxAzYXbzjLzbgSvW

3N3VcviDRSWkSd1JVMP1fRwKpQCHKdnYuzN:  -0.01400000 Waves

2020.01.14 17:55 [853868] smart account 3N3VcviDRSWkSd1JVMP1fRwKpQCHKdnYuzN > SELF 0.00000000 Waves

{ "type": 13, "id": "BJPq6qQxFC3N5KAeWqDMkVw6JsEiaxAzYXbzjLzbgSvW", "fee": 1400000, "feeAssetId": null, "timestamp": 1579013718821, "version": 1, "sender": "3N3VcviDRSWkSd1JVMP1fRwKpQCHKdnYuzN", "senderPublicKey": "CMQ7BoM5vdqttro4g1xq4pxHbusc9gz2QzTyEDmtSsv8", "proofs": [ "23Pkaga2b2SZfd4nibu67F1b8MBsx3fPAJm3JwSn4FrQJDMCLAJ6eNCP4MZ8R4XWd9EGUyMAfWHYzDmA9zFW2xnW" ], "script": "base64:AAIDAAAAAAAAAA0IARIDCgEIEgQKAggBAAAAAAAAAAIAAAABaQEAAAAHcmVxdWVzdAAAAAEAAAAEbmFtZQQAAAADa2V5BQAAAARuYW1lBAAAAAx3YXNSZXF1ZXN0ZWQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAGBwMFAAAADHdhc1JlcXVlc3RlZAkAAAIAAAABAgAAACVUaGUgY2VydGlmaWNhdGUgd2FzIGFscmVhZHkgcmVxdWVzdGVkCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAANrZXkAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAdhcHByb3ZlAAAAAgAAAARuYW1lAAAAAmlkBAAAAANrZXkFAAAABG5hbWUDCQEAAAACIT0AAAACBQAAAAR0aGlzCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAAXZEFwcCBvd25lciBhbGxvd2VkIG9ubHkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2tleQUAAAACaWQFAAAAA25pbAAAAAB7YJsH", "chainId": 84, "height": 853868, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(i)
7+func request (name) = {
8+ let key = name
9+ let wasRequested = match getInteger(this, key) {
10+ case a: Int =>
11+ true
12+ case _ =>
13+ false
14+ }
15+ if (wasRequested)
16+ then throw("The certificate was already requested")
17+ else WriteSet([DataEntry(key, 0)])
18+ }
19+
20+
21+
22+@Callable(i)
23+func approve (name,id) = {
24+ let key = name
25+ if ((this != i.caller))
26+ then throw("dApp owner allowed only")
27+ else WriteSet([DataEntry(key, id)])
28+ }
29+
30+

github/deemru/w8io/169f3d6 
19.48 ms