tx · D8oWYfQFdR6j5mmQVcduJZQDcK1uj3ZNRdUdo44oLera

3MsGgBAKydWguLMEpobQUKaBWxX6F4Wbsrd:  -0.01400000 Waves

2022.04.07 10:32 [1997856] smart account 3MsGgBAKydWguLMEpobQUKaBWxX6F4Wbsrd > SELF 0.00000000 Waves

{ "type": 13, "id": "D8oWYfQFdR6j5mmQVcduJZQDcK1uj3ZNRdUdo44oLera", "fee": 1400000, "feeAssetId": null, "timestamp": 1649316822919, "version": 2, "chainId": 84, "sender": "3MsGgBAKydWguLMEpobQUKaBWxX6F4Wbsrd", "senderPublicKey": "AY9PCR6Qs5xrVE8XpYJqGK9CiHsyH73ERfuJvDUypi2h", "proofs": [ "2jVyzZgvNb2LVuEphNLnGgAT9nYo2kUrSqXQd9c5xEMTzQxemdEeE3z2z4pYeprSh4mWeTjTen4gmTjog5PK6w6c" ], "script": "base64:AAIFAAAAAAAAABcIAhIGCgQICAEBEgMKAQgSBgoECAgICAAAAAAAAAADAAAAAWkBAAAAEVJlZ2lzdGVyTkZUU2VyaWVzAAAABAAAAA1ORlRTZXJpZXNOYW1lAAAADk5GVERlc2NyaXB0aW9uAAAAElNlcmllc1N0YXJ0Q291bnRlcgAAABBTZXJpZXNFbmRDb3VudGVyBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAC2NoZWNrc2VyaWVzCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAOTkZUU2VyaWVzTmFtZV8FAAAADU5GVFNlcmllc05hbWUDCQAAAAAAAAIFAAAAC2NoZWNrc2VyaWVzBQAAAA1ORlRTZXJpZXNOYW1lCQAAAgAAAAECAAAANlNlcmllcyBOYW1lIEFscmVhZHkgRXhpc3QuIENob29zZSBBbm90aGVyIFNlcmllcyBOYW1lLgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAADk5GVFNlcmllc05hbWVfBQAAAA1ORlRTZXJpZ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ABXwkAAaQAAAABBQAAABNnZXRTZXJpZXNOZXdDb3VudGVyCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAABNTZXJpZXNTdGFydENvdW50ZXJfBQAAAA1ORlRTZXJpZXNOYW1lBQAAABVnZXRTZXJpZXNTdGFydENvdW50ZXIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAARU2VyaWVzRW5kQ291bnRlcl8FAAAADU5GVFNlcmllc05hbWUFAAAAE2dldFNlcmllc0VuZENvdW50ZXIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAVU2VyaWVzQ3VycmVudENvdW50ZXJfBQAAAA1ORlRTZXJpZXNOYW1lBQAAABNnZXRTZXJpZXNOZXdDb3VudGVyBQAAAANuaWwJAAACAAAAAQIAAAATU2VyaWVzIGlzIG91dGRhdGVkLgAAAAFpAQAAAAtSZW1vdmVFbnRyeQAAAAQAAAADS2V5AAAABEtleTEAAAAES2V5MgAAAARLZXkzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA0tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkxCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlPP0ep", "height": 1997856, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9qayz34CxsuedspRdyQHVgyoiwMssPCTdZ2hHCLPdHju Next: 7vs1YCkmp6YnGpetftCeg6gXs31Ee5odZRzjPpzNbDCd Diff:
OldNewDifferences
2424 let asset = Issue(NFTSeriesName, ((("This is a NFT Issued Against Series: " + NFTSeriesName) + " with a Counter No: ") + toString(getSeriesNewCounter)), 1, 0, false, unit, 0)
2525 let assetId = calculateAssetId(asset)
2626 let checkseries = getStringValue(this, ("NFTSeriesName_" + NFTSeriesName))
27- if ((checkseries == NFTSeriesName))
27+ if (((checkseries == NFTSeriesName) == true))
2828 then [asset, StringEntry(("NFTSeriesName_" + NFTSeriesName), NFTSeriesName), StringEntry(((("SeriesIssuer_" + NFTSeriesName) + "_") + toString(getSeriesNewCounter)), toBase58String(i.callerPublicKey)), IntegerEntry(("SeriesStartCounter_" + NFTSeriesName), getSeriesStartCounter), IntegerEntry(("SeriesEndCounter_" + NFTSeriesName), getSeriesEndCounter), IntegerEntry(("SeriesCurrentCounter_" + NFTSeriesName), getSeriesNewCounter)]
2929 else throw("Series is outdated.")
3030 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func RegisterNFTSeries (NFTSeriesName,NFTDescription,SeriesStartCounter,SeriesEndCounter) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let checkseries = getString(this, ("NFTSeriesName_" + NFTSeriesName))
1010 if ((checkseries == NFTSeriesName))
1111 then throw("Series Name Already Exist. Choose Another Series Name.")
1212 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)]
1313 }
1414
1515
1616
1717 @Callable(i)
1818 func IssueNFTSeries (NFTSeriesName) = {
1919 let currentKey = toBase58String(i.caller.bytes)
2020 let getSeriesStartCounter = getIntegerValue(this, ("SeriesStartCounter_" + NFTSeriesName))
2121 let getSeriesEndCounter = getIntegerValue(this, ("SeriesEndCounter_" + NFTSeriesName))
2222 let getSeriesCurrentCounter = getIntegerValue(this, ("SeriesCurrentCounter_" + NFTSeriesName))
2323 let getSeriesNewCounter = (getSeriesCurrentCounter + 1)
2424 let asset = Issue(NFTSeriesName, ((("This is a NFT Issued Against Series: " + NFTSeriesName) + " with a Counter No: ") + toString(getSeriesNewCounter)), 1, 0, false, unit, 0)
2525 let assetId = calculateAssetId(asset)
2626 let checkseries = getStringValue(this, ("NFTSeriesName_" + NFTSeriesName))
27- if ((checkseries == NFTSeriesName))
27+ if (((checkseries == NFTSeriesName) == true))
2828 then [asset, StringEntry(("NFTSeriesName_" + NFTSeriesName), NFTSeriesName), StringEntry(((("SeriesIssuer_" + NFTSeriesName) + "_") + toString(getSeriesNewCounter)), toBase58String(i.callerPublicKey)), IntegerEntry(("SeriesStartCounter_" + NFTSeriesName), getSeriesStartCounter), IntegerEntry(("SeriesEndCounter_" + NFTSeriesName), getSeriesEndCounter), IntegerEntry(("SeriesCurrentCounter_" + NFTSeriesName), getSeriesNewCounter)]
2929 else throw("Series is outdated.")
3030 }
3131
3232
3333
3434 @Callable(i)
3535 func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
3636
3737
3838 @Verifier(tx)
3939 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
4040

github/deemru/w8io/169f3d6 
30.32 ms