tx · GFmNLvzDfp6VjHQ3xVf7JmoJyGB8jH5rp9zxJ8PFnS2
3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR: -0.01000000 Waves
2022.11.22 12:42 [2328158] smart account 3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR > SELF 0.00000000 Waves
{
"type": 13,
"id": "GFmNLvzDfp6VjHQ3xVf7JmoJyGB8jH5rp9zxJ8PFnS2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669109774930,
"version": 2,
"chainId": 84,
"sender": "3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR",
"senderPublicKey": "GjnhUMpwQus4JiztKNVi1bLKtwBS2UT3YpxVyqsYB4KG",
"proofs": [
"3UNgChSRRui8YRzUbisxi6uHJeh92582cfwn9aQao4Pm6WA7UTF4DNQTzPpUTgZYjpUx5S1wXUR547p7Mf6RZkgE"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADdGtuAAAAAAQAAAAFYXNzZXQJAARDAAAABwIAAAAFQXNzZXQCAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQEAAAABUFsaWNlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUx6PMhYQU2KAnfxRDpEO1BhXRBdxF+GcgCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABUFsaWNlAAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIFAAAABWFzc2V0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecjDp8o=",
"height": 2328158,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BxafG9Lw52WBH61GXfVKA8WYeJ2TXeHPdRMwp3zSMkSf
Next: 9JAZYcW37WxZ7h8einf5wrXpTLQwQxbo4Jfzwz5tvBie
Diff:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func tIssue () = [Issue("name", "description", 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'3N87gU3S3GtPPo5S7dzRehArERGGJh1jwFD') |
---|
| 11 | + | [ScriptTransfer(Alice, 1, assetId), asset] |
---|
| 12 | + | } |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func tIssue () = [Issue("name", "description", 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'3N87gU3S3GtPPo5S7dzRehArERGGJh1jwFD') |
---|
| 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 | | |
---|