tx · 2NmxF4KCWCFXf2qRo4RcK7my82y11vo3jn47c6ErNdQp
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.22 09:12 [2327952] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "2NmxF4KCWCFXf2qRo4RcK7my82y11vo3jn47c6ErNdQp",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669097295770,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"2TUCDFMiLo44FjcKrXAuNnPV5pveoUnfjD7hmLYVkdJ8m8qWkryDJfgdwqeYqS2igpp3zuDLhGf8ZiKqkFuwbVZm"
],
"script": "base64:BgIICAISBAoCCAgAAQFpAQlUb2tuSXNzdWUCBG5hbWULZGVzY3JpcHRpb24EBWFzc2V0CQDCCAUCBUFzaW1pAh5UaGlzIGlzIGEgYWR2ZXJ0aXNlbWVudCAgVG9rZW4AZAABBgkAzAgCCQELU3RyaW5nRW50cnkCAgRuYW1lBQRuYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQICC2Rlc2NyaXB0aW9uBQtkZXNjcmlwdGlvbgkAzAgCBQVhc3NldAUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleRmKqt4=",
"height": 2327952,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 211WQ8bv9kXfRFKo9GC6GmEcEP4VqnuxjvzDSCw5nvif
Next: 9DHKB4ahKUt7jx3xgBFs622SsvshhAhyvyjYSzq1MMQQ
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func ToknIssue (name,description) = { |
---|
8 | 8 | | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true) |
---|
9 | | - | let assetId = calculateAssetId(asset) |
---|
10 | | - | [asset, ScriptTransfer(i.caller, 1, assetId), StringEntry("name", name), StringEntry("description", description)] |
---|
| 9 | + | [StringEntry("name", name), StringEntry("description", description), asset] |
---|
11 | 10 | | } |
---|
12 | 11 | | |
---|
13 | 12 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func ToknIssue (name,description) = { |
---|
8 | 8 | | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true) |
---|
9 | | - | let assetId = calculateAssetId(asset) |
---|
10 | | - | [asset, ScriptTransfer(i.caller, 1, assetId), StringEntry("name", name), StringEntry("description", description)] |
---|
| 9 | + | [StringEntry("name", name), StringEntry("description", description), asset] |
---|
11 | 10 | | } |
---|
12 | 11 | | |
---|
13 | 12 | | |
---|
14 | 13 | | @Verifier(tx) |
---|
15 | 14 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 15 | | |
---|