3MxVYj6ScMArhAamy7nB6b342kh1Pso1LTn · data · baseURI
{
"baseURI": "ipfs://QmcsX1EprrBwjPRT7dyDWvmGX7zvcRsmKKDaMTiFbSsZh2/"
}
Changelog:
{
"2023.03.20 19:41": "ipfs://QmcsX1EprrBwjPRT7dyDWvmGX7zvcRsmKKDaMTiFbSsZh2/",
"2023.03.20 19:37": "@Callable(i) func mint(to: String, tokenURI: String) = { let tokenId = totalAmount + 1 let preName = symbol+"#"+toString(tokenId) let name = if (preName.size() <= 16) then preName else toString(tokenId) let json = invoke(dAppJson, "makeJSON", [["tokenURI"], [tokenURI]], []).exactAs[String] let asset = Issue(name, json, 1, 0, false, unit, height) let assetId = calculateAssetId(asset) let toAddress = Address(fromBase58String(to)) strict transfer = transferOrNot(toAddress, assetId) [ asset, transfer, IntegerEntry("totalAmount", tokenId), StringEntry(name, tokenURI) ] }"
}