tx · 2JM7ircGNY1AUE15Xoar3Uidw8xjnTJmomYCTAMkbckP
3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR: -0.01000000 Waves
2022.11.22 13:16 [2328193] smart account 3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR > SELF 0.00000000 Waves
{
"type": 13,
"id": "2JM7ircGNY1AUE15Xoar3Uidw8xjnTJmomYCTAMkbckP",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669111879641,
"version": 2,
"chainId": 84,
"sender": "3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR",
"senderPublicKey": "GjnhUMpwQus4JiztKNVi1bLKtwBS2UT3YpxVyqsYB4KG",
"proofs": [
"2Sd5rjfKwHX3JBVMuNRf6tJsFgUDRJkD5nF8vaPjqtZ4aSvhHpta9y1nDEsrXMaE7mrsJiCSanbPRK1ibRPf8fwv"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADdGtuAAAAAAQAAAAFYXNzZXQJAARDAAAABwIAAAAFQXNzZXQCAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQEAAAABUFsaWNlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUR+z0BSkBYWi7QP7cj+U4CmBkmZSDTs7wCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABUFsaWNlAAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIFAAAABWFzc2V0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecFmV7Q=",
"height": 2328193,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9JAZYcW37WxZ7h8einf5wrXpTLQwQxbo4Jfzwz5tvBie
Next: 4kbEM15u1VkYwCTAjwjhejYiwnrMcyAdV96YRhUwPkAc
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func tkn () = [Issue("aaaaaaa", "theheheh", 100, 2, true)] |
---|
| 7 | + | func tkn () = { |
---|
| 8 | + | let asset = Issue("Asset", "", 100, 0, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
| 11 | + | [ScriptTransfer(Alice, 1, assetId), asset] |
---|
| 12 | + | } |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
Full:
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 | | - | func tkn () = [Issue("aaaaaaa", "theheheh", 100, 2, true)] |
---|
| 7 | + | func tkn () = { |
---|
| 8 | + | let asset = Issue("Asset", "", 100, 0, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
| 11 | + | [ScriptTransfer(Alice, 1, assetId), asset] |
---|
| 12 | + | } |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
11 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 17 | | |
---|