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