tx · 9BeYDCKJpe3tjCpwo89hDL7mbrBBrgeCui1kwRJZ9Pga
3NBnnUrcXFo3CQDzwF5KNzcWuCw2w86DsVc: -0.01000000 Waves
2021.09.08 11:05 [1693808] smart account 3NBnnUrcXFo3CQDzwF5KNzcWuCw2w86DsVc > SELF 0.00000000 Waves
{
"type": 13,
"id": "9BeYDCKJpe3tjCpwo89hDL7mbrBBrgeCui1kwRJZ9Pga",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1631088380359,
"version": 2,
"chainId": 84,
"sender": "3NBnnUrcXFo3CQDzwF5KNzcWuCw2w86DsVc",
"senderPublicKey": "9z3w2duSwqcwG1EiwpjQbd9taqS1dBhnA1x4WZKTaXZN",
"proofs": [
"54eHVFihcVbQQmX3qbhTKUCgVyicpTqGwbMt2cwUtjX3hADEWxUaoWMxBZBmxaAwzoZshre6JrXNDZ83wy3RSbof"
],
"script": "base64:AAIEAAAAAAAAAAkIAhIFCgMICAgAAAACAAAAABFjZXJ0U3RhdHVzUmV2b2tlZAIAAAAHUkVWT0tFRAAAAAAQY2VydFN0YXR1c0FjdGl2ZQIAAAAGQUNUSVZFAAAAAQAAAAFpAQAAAApjcmVhdGVDZXJ0AAAAAwAAAAhuZnRPd25lcgAAAAVuZnRJZAAAAA1hcnRpc3RBZGRyZXNzBAAAAAZjZXJ0SWQJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAABWNlcnRfBQAAAAVuZnRJZAUAAAAGY2VydElkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAZfbmZ0SWQFAAAABW5mdElkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAZfb3duZXIFAAAACG5mdE93bmVyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAdfYXJ0aXN0BQAAAA1hcnRpc3RBZGRyZXNzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVjZXJ0XwUAAAAGY2VydElkAgAAAAdfc3RhdHVzBQAAABBjZXJ0U3RhdHVzQWN0aXZlBQAAAANuaWwAAAAAueYgig==",
"height": 1693808,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
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 | + | |
---|