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(i) |
---|
7 | | - | func tkn () = { |
---|
8 | | - | let asset = Issue("my token", "this the token", 1000000, 2, true, unit, 0) |
---|
9 | | - | [asset] |
---|
| 7 | + | func call () = { |
---|
| 8 | + | let asset = Issue("Asset", "", 10000, 2, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | [asset, ScriptTransfer(i.caller, 11, assetId)] |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
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 () = { |
---|
8 | | - | let asset = Issue("my token", "this the token", 1000000, 2, true, unit, 0) |
---|
9 | | - | [asset] |
---|
| 7 | + | func call () = { |
---|
| 8 | + | let asset = Issue("Asset", "", 10000, 2, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | [asset, ScriptTransfer(i.caller, 11, assetId)] |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
13 | 14 | | @Verifier(tx) |
---|
14 | 15 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
15 | 16 | | |
---|