tx · BoNuuh229tk3YAEEjNmUKWY8WgKzsYwohjKhLQQV7N15 3MsGgBAKydWguLMEpobQUKaBWxX6F4Wbsrd: -0.01400000 Waves 2022.04.07 06:06 [1997584] smart account 3MsGgBAKydWguLMEpobQUKaBWxX6F4Wbsrd > SELF 0.00000000 Waves
{ "type": 13, "id": "BoNuuh229tk3YAEEjNmUKWY8WgKzsYwohjKhLQQV7N15", "fee": 1400000, "feeAssetId": null, "timestamp": 1649300799218, "version": 2, "chainId": 84, "sender": "3MsGgBAKydWguLMEpobQUKaBWxX6F4Wbsrd", "senderPublicKey": "AY9PCR6Qs5xrVE8XpYJqGK9CiHsyH73ERfuJvDUypi2h", "proofs": [ "zfVGoLyfKBVQgv7mMbbehHKBRZe5AEFrjCAjCnHiE4s9cvgKFpNLdK1d94z3FyNqGM7ZHyi4xgQRG67m6aFStYv" ], "script": "base64:AAIFAAAAAAAAABcIAhIGCgQICAEBEgMKAQgSBgoECAgICAAAAAAAAAADAAAAAWkBAAAAEVJlZ2lzdGVyTkZUU2VyaWVzAAAABAAAAA1ORlRTZXJpZXNOYW1lAAAADk5GVERlc2NyaXB0aW9uAAAAElNlcmllc1N0YXJ0Q291bnRlcgAAABBTZXJpZXNFbmRDb3VudGVyBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAC2NoZWNrc2VyaWVzCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAOTkZUU2VyaWVzTmFtZV8FAAAADU5GVFNlcmllc05hbWUDCQAAAAAAAAIFAAAAC2NoZWNrc2VyaWVzBQAAAA1ORlRTZXJpZXNOYW1lCQAAAgAAAAECAAAANlNlcmllcyBOYW1lIEFscmVhZHkgRXhpc3QuIENob29zZSBBbm90aGVyIFNlcmllcyBOYW1lLgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAADk5GVFNlcmllc05hbWVfBQAAAA1ORlRTZXJpZXN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AAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAANU2VyaWVzSXNzdWVyXwUAAAANTkZUU2VyaWVzTmFtZQkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAATU2VyaWVzU3RhcnRDb3VudGVyXwUAAAANTkZUU2VyaWVzTmFtZQUAAAAVZ2V0U2VyaWVzU3RhcnRDb3VudGVyCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAAEVNlcmllc0VuZENvdW50ZXJfBQAAAA1ORlRTZXJpZXNOYW1lBQAAABNnZXRTZXJpZXNFbmRDb3VudGVyCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAAFVNlcmllc0N1cnJlbnRDb3VudGVyXwUAAAANTkZUU2VyaWVzTmFtZQUAAAATZ2V0U2VyaWVzTmV3Q291bnRlcgUAAAADbmlsAAAAAWkBAAAAC1JlbW92ZUVudHJ5AAAABAAAAANLZXkAAAAES2V5MQAAAARLZXkyAAAABEtleTMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADS2V5CQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTEJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecHasOg=", "height": 1997584, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GCvagK1qD5mPT4ZtGwrPcaM4bPekzuS9ZV3JXvQkhZe5 Next: HfuD277Z7q1S44sEjWUVUCogrHzcqAwEWBFNpJfQ84P4 Diff:
Old | New | Differences | |
---|---|---|---|
21 | 21 | let getSeriesEndCounter = getIntegerValue(this, ("SeriesEndCounter_" + NFTSeriesName)) | |
22 | 22 | let getSeriesCurrentCounter = getIntegerValue(this, ("SeriesCurrentCounter_" + NFTSeriesName)) | |
23 | 23 | let getSeriesNewCounter = (getSeriesCurrentCounter + 1) | |
24 | - | let asset = Issue(NFTSeriesName, ((("This is a NFT Issued Against Series: " + NFTSeriesName) + " | |
24 | + | let asset = Issue(NFTSeriesName, ((("This is a NFT Issued Against Series: " + NFTSeriesName) + " with a Counter No: ") + toString(getSeriesNewCounter)), 1, 0, false, unit, 0) | |
25 | 25 | let assetId = calculateAssetId(asset) | |
26 | 26 | let checkseries = getString(this, ("NFTSeriesName_" + NFTSeriesName)) | |
27 | 27 | if ((checkseries != NFTSeriesName)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func RegisterNFTSeries (NFTSeriesName,NFTDescription,SeriesStartCounter,SeriesEndCounter) = { | |
8 | 8 | let currentKey = toBase58String(i.caller.bytes) | |
9 | 9 | let checkseries = getString(this, ("NFTSeriesName_" + NFTSeriesName)) | |
10 | 10 | if ((checkseries == NFTSeriesName)) | |
11 | 11 | then throw("Series Name Already Exist. Choose Another Series Name.") | |
12 | 12 | else [StringEntry(("NFTSeriesName_" + NFTSeriesName), NFTSeriesName), StringEntry(("NFTDescription_" + NFTSeriesName), NFTDescription), StringEntry(("SeriesIssuerPubkey_" + NFTSeriesName), toBase58String(i.callerPublicKey)), IntegerEntry(("SeriesStartCounter_" + NFTSeriesName), SeriesStartCounter), IntegerEntry(("SeriesEndCounter_" + NFTSeriesName), SeriesEndCounter), IntegerEntry(("SeriesCurrentCounter_" + NFTSeriesName), 0)] | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | ||
17 | 17 | @Callable(i) | |
18 | 18 | func IssueNFTSeries (NFTSeriesName) = { | |
19 | 19 | let currentKey = toBase58String(i.caller.bytes) | |
20 | 20 | let getSeriesStartCounter = getIntegerValue(this, ("SeriesStartCounter_" + NFTSeriesName)) | |
21 | 21 | let getSeriesEndCounter = getIntegerValue(this, ("SeriesEndCounter_" + NFTSeriesName)) | |
22 | 22 | let getSeriesCurrentCounter = getIntegerValue(this, ("SeriesCurrentCounter_" + NFTSeriesName)) | |
23 | 23 | let getSeriesNewCounter = (getSeriesCurrentCounter + 1) | |
24 | - | let asset = Issue(NFTSeriesName, ((("This is a NFT Issued Against Series: " + NFTSeriesName) + " | |
24 | + | let asset = Issue(NFTSeriesName, ((("This is a NFT Issued Against Series: " + NFTSeriesName) + " with a Counter No: ") + toString(getSeriesNewCounter)), 1, 0, false, unit, 0) | |
25 | 25 | let assetId = calculateAssetId(asset) | |
26 | 26 | let checkseries = getString(this, ("NFTSeriesName_" + NFTSeriesName)) | |
27 | 27 | if ((checkseries != NFTSeriesName)) | |
28 | 28 | then throw((("Note: Series Name is Case Sensitive, Series Name " + NFTSeriesName) + " Not Found.")) | |
29 | 29 | else [asset, StringEntry(("NFTSeriesName_" + NFTSeriesName), NFTSeriesName), StringEntry(("SeriesIssuer_" + NFTSeriesName), toBase58String(i.callerPublicKey)), IntegerEntry(("SeriesStartCounter_" + NFTSeriesName), getSeriesStartCounter), IntegerEntry(("SeriesEndCounter_" + NFTSeriesName), getSeriesEndCounter), IntegerEntry(("SeriesCurrentCounter_" + NFTSeriesName), getSeriesNewCounter)] | |
30 | 30 | } | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | ||
34 | 34 | @Callable(i) | |
35 | 35 | func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | @Verifier(tx) | |
39 | 39 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
40 | 40 |
github/deemru/w8io/169f3d6 35.31 ms ◑