tx · A4K7kF2ySqT5xmGX28DLrPoYLT7ExwGriaRkJAgUFfm4
3N7EYPDKBqUg4pv1CwQxVYHPhkYWcNReDkC: -0.01000000 Waves
2022.11.23 20:15 [2330032] smart account 3N7EYPDKBqUg4pv1CwQxVYHPhkYWcNReDkC > SELF 0.00000000 Waves
{
"type": 13,
"id": "A4K7kF2ySqT5xmGX28DLrPoYLT7ExwGriaRkJAgUFfm4",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669223740251,
"version": 2,
"chainId": 84,
"sender": "3N7EYPDKBqUg4pv1CwQxVYHPhkYWcNReDkC",
"senderPublicKey": "iobD17ceCEhvEHvfFp9YXuxUHspDfyQMgKFL9nLBtkL",
"proofs": [
"otEUd5v3rvHPSR2hGKGho8AZBWXoGipLJs7GeaiJApMZnswNh5yA2ar4SNN5aLueY26DwWDWyEoNBM7DjutBLWA"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABWFzc2V0CQAEQwAAAAcCAAAABUFzc2V0AgAAAAAAAAAAAAAAJxAAAAAAAAAAAAIGBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0CQAETAAAAAIFAAAABWFzc2V0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAACwUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmZBH6s",
"height": 2330032,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3VsdpTgBvnQ3twRvfncXwSqDwtmuyNsJRrRL9gGkdjWT
Next: CdwgM6mNc6oJFBPYKZ5Nbxcd3GMMAJth5ggvdw65BRGV
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func tkn () = { |
---|
8 | | - | let b = Issue("my token", "this the token", 1000000, 2, true, unit, 0) |
---|
9 | | - | [b] |
---|
| 7 | + | func call () = { |
---|
| 8 | + | let b = Issue("Asset", "", 10000, 2, true, unit, 0) |
---|
| 9 | + | let c = calculateAssetId(b) |
---|
| 10 | + | [b, ScriptTransfer(a.caller, 11, c)] |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
13 | | - | @Verifier(c) |
---|
14 | | - | func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey) |
---|
| 14 | + | @Verifier(d) |
---|
| 15 | + | func e () = sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey) |
---|
15 | 16 | | |
---|
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(a) |
---|
7 | | - | func tkn () = { |
---|
8 | | - | let b = Issue("my token", "this the token", 1000000, 2, true, unit, 0) |
---|
9 | | - | [b] |
---|
| 7 | + | func call () = { |
---|
| 8 | + | let b = Issue("Asset", "", 10000, 2, true, unit, 0) |
---|
| 9 | + | let c = calculateAssetId(b) |
---|
| 10 | + | [b, ScriptTransfer(a.caller, 11, c)] |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
13 | | - | @Verifier(c) |
---|
14 | | - | func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey) |
---|
| 14 | + | @Verifier(d) |
---|
| 15 | + | func e () = sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey) |
---|
15 | 16 | | |
---|