tx · 95gZVHXFNSdjWt6qKiM8KL24b6SrtZcAjGZUwQ2P67kg

3MrsUREMkSdipTa2GhNLVXTMohy92QXGf4m:  -0.01000000 Waves

2021.09.08 11:02 [1693805] smart account 3MrsUREMkSdipTa2GhNLVXTMohy92QXGf4m > SELF 0.00000000 Waves

{ "type": 13, "id": "95gZVHXFNSdjWt6qKiM8KL24b6SrtZcAjGZUwQ2P67kg", "fee": 1000000, "feeAssetId": null, "timestamp": 1631088151432, "version": 2, "chainId": 84, "sender": "3MrsUREMkSdipTa2GhNLVXTMohy92QXGf4m", "senderPublicKey": "9nq6ZyL24og1dodZZy9QaUtGx7ZA5ZaSZEyKj2JdVTzt", "proofs": [ "2pJ3weYJXs6HwGvNwyME9KcsP2gJcYhooV9i1uXXabRFQ7Pxw5JLD9BtoHrEbaozDZdpxDpsX7XkwKi9nFHJybGE" ], "script": "base64:AAIEAAAAAAAAAAkIAhIFCgMICAgAAAACAAAAABFjZXJ0U3RhdHVzUmV2b2tlZAIAAAAHUkVWT0tFRAAAAAAQY2VydFN0YXR1c0FjdGl2ZQIAAAAGQUNUSVZFAAAAAQAAAAFpAQAAAApjcmVhdGVDZXJ0AAAAAwAAAAhuZnRPd25lcgAAAAVuZnRJZAAAAA1hcnRpc3RBZGRyZXNzBAAAAAZjZXJ0SWQJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAABWNlcnRfBQAAAAVuZnRJZAUAAAAGY2VydElkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAZfbmZ0SWQFAAAABW5mdElkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAZfb3duZXIFAAAACG5mdE93bmVyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAdfYXJ0aXN0BQAAAA1hcnRpc3RBZGRyZXNzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAdfc3RhdHVzBQAAABBjZXJ0U3RhdHVzQWN0aXZlBQAAAANuaWwAAAAAueYgig==", "height": 1693805, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let certStatusRevoked = "REVOKED"
5+
6+let certStatusActive = "ACTIVE"
7+
8+@Callable(i)
9+func createCert (nftOwner,nftId,artistAddress) = {
10+ let certId = toBase58String(i.transactionId)
11+[StringEntry(("cert_" + nftId), certId), StringEntry((("cert_" + certId) + "_nftId"), nftId), StringEntry((("cert_" + certId) + "_owner"), nftOwner), StringEntry((("cert_" + certId) + "_artist"), artistAddress), StringEntry((("cert_" + certId) + "_status"), certStatusActive)]
12+ }
13+
14+

github/deemru/w8io/fabc49c 
29.79 ms