tx · 62uULn9wjCGWBkUGvdsqc7BtocnF1UcLVvnpBw1QC9Pn

3NCwtxhUnrYUMh3he4iS2n5Xu8127hQYFUa:  -0.01000000 Waves

2022.06.10 13:32 [2090180] smart account 3NCwtxhUnrYUMh3he4iS2n5Xu8127hQYFUa > SELF 0.00000000 Waves

{ "type": 13, "id": "62uULn9wjCGWBkUGvdsqc7BtocnF1UcLVvnpBw1QC9Pn", "fee": 1000000, "feeAssetId": null, "timestamp": 1654857161542, "version": 2, "chainId": 84, "sender": "3NCwtxhUnrYUMh3he4iS2n5Xu8127hQYFUa", "senderPublicKey": "BzPoL497ZLDHtH1ifxPvVUkh3KV5s1Q3Q5hgkuxcT3Ht", "proofs": [ "3JgDrCupM9bkzP6cwEQzVGAmnQAZ3iUkMy2XEDPhVTFT5Ta1CHzqx81yV3kYwcHKuAh2ixChpRxi49dNJNYCRL2D" ], "script": "base64:AAIDAAAAAAAAAA0IARIDCgEIEgQKAggBAAAAAAAAAAIAAAABaQEAAAAHcmVxdWVzdAAAAAEAAAAEbmFtZQQAAAAMd2FzUmVxdWVzdGVkBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAABG5hbWUDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAYHAwUAAAAMd2FzUmVxdWVzdGVkCQAAAgAAAAECAAAAJVRoZSBjZXJ0aWZpY2F0ZSB3YXMgYWxyZWFkeSByZXF1ZXN0ZWQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABG5hbWUAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAdhcHByb3ZlAAAAAgAAAARuYW1lAAAAAmlkAwkBAAAAAiE9AAAAAgUAAAAEdGhpcwgFAAAAAWkAAAAGY2FsbGVyCQAAAgAAAAECAAAAF2RBcHAgb3duZXIgYWxsb3dlZCBvbmx5CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAARuYW1lBQAAAAJpZAUAAAADbmlsAAAAAM/5Lv4=", "height": 2090180, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FZtCJw7hK988Unt9KEmD3yb7WRaRySFZGtJ33KByb8Le Next: 7ybmXLR3nLAgMwE9aVQ4apKDbBqYdPmjkbkxafcF8WR1 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 wasRequested = match getInteger(this, name) {
99 case a: Int =>
1010 true
1111 case _ =>
1212 false
1313 }
1414 if (wasRequested)
1515 then throw("The certificate was already requested")
1616 else WriteSet([DataEntry(name, 0)])
1717 }
1818
1919
2020
2121 @Callable(i)
2222 func approve (name,id) = if ((this != i.caller))
2323 then throw("dApp owner allowed only")
2424 else WriteSet([DataEntry(name, id)])
2525
2626

github/deemru/w8io/026f985 
18.89 ms