tx · N9XJTRpwVMxVkLLUCQZsU6XQnaQnc2LNtaFjxBxC6pV
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.22 13:16 [2328193] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "N9XJTRpwVMxVkLLUCQZsU6XQnaQnc2LNtaFjxBxC6pV",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669111923085,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"5gbWhFeRrRvCi3HZTJCgYURBRfm87qNqGeMG2GPrk7n8EGVvAYRTWstZvsD8vPfqfrc59gUAiCPZ5XbPKUANpBqy"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADdGtuAAAAAAQAAAAFYXNzZXQJAARDAAAABwIAAAAFQXNzZXQCAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQEAAAABUFsaWNlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUR+z0BSkBYWi7QP7cj+U4CmBkmZSDTs7wCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABUFsaWNlAAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIFAAAABWFzc2V0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecFmV7Q=",
"height": 2328193,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2paSY3zuJy2kqHmSkJFmeuf5B6NHLWKNpt7U4Femop1E
Next: 6R3T7U2Tf1PtmhF1LyfDY6XRAPtvDspYd6ymWhGSKNzj
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(a) |
---|
7 | | - | func tIssue (b,c) = { |
---|
8 | | - | let d = Issue("name", "description", 100, 2, true) |
---|
9 | | - | [StringEntry("name", b), StringEntry("description", c), d] |
---|
| 7 | + | func tkn () = { |
---|
| 8 | + | let b = Issue("Asset", "", 100, 0, true, unit, 0) |
---|
| 9 | + | let c = calculateAssetId(b) |
---|
| 10 | + | let d = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
| 11 | + | [ScriptTransfer(d, 1, c), b] |
---|
10 | 12 | | } |
---|
11 | 13 | | |
---|
12 | 14 | | |
---|
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(a) |
---|
7 | | - | func tIssue (b,c) = { |
---|
8 | | - | let d = Issue("name", "description", 100, 2, true) |
---|
9 | | - | [StringEntry("name", b), StringEntry("description", c), d] |
---|
| 7 | + | func tkn () = { |
---|
| 8 | + | let b = Issue("Asset", "", 100, 0, true, unit, 0) |
---|
| 9 | + | let c = calculateAssetId(b) |
---|
| 10 | + | let d = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
| 11 | + | [ScriptTransfer(d, 1, c), b] |
---|
10 | 12 | | } |
---|
11 | 13 | | |
---|
12 | 14 | | |
---|
13 | 15 | | @Verifier(e) |
---|
14 | 16 | | func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) |
---|
15 | 17 | | |
---|