tx · 339e4EWVQvt569rC9RvDe7vq1Wwb8aA3Zzt4BXGDkvXU
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.23 15:51 [2329773] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "339e4EWVQvt569rC9RvDe7vq1Wwb8aA3Zzt4BXGDkvXU",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669207626611,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"4EgugL7BC3pV2xfmXyMxGFvDjWuWnCYof5fX6aVFVvRvE8upovNPV3iorFD7LUi2NcaJr2SWEYwd3dYDZtJmAff6"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADdGtuAAAAAAQAAAAFYXNzZXQJAARCAAAABQIAAAAMUmVndWxhclRva2VuAgAAABlUaGlzIGlzIGFuIG9yZGluYXJ5IHRva2VuAAAAAAAAACcQAAAAAAAAAAACBgQAAAAHYXNzZXRJZAkABDgAAAABBQAAAAVhc3NldAQAAAAFQWxpY2UJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRH7PQFKQFhaLtA/tyP5TgKYGSZlINOzvAJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAABkBQAAAAdhc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleW7436s=",
"height": 2329773,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7W2sWyeF97ztBwMGt3AiJun7qvmmPqudCYuYtYdcMysr
Next: 7HwnuhPD7BwA6wD8n3pLxFVbctSjEt7KpC6x31px6xMY
Diff:
Old | New | | Differences |
---|
8 | 8 | | let asset = Issue("RegularToken", "This is an ordinary token", 10000, 2, true) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
11 | | - | [asset, ScriptTransfer(Alice, 100, assetId)] |
---|
| 11 | + | [asset, ScriptTransfer(i.caller, 100, assetId)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 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 | 7 | | func tkn () = { |
---|
8 | 8 | | let asset = Issue("RegularToken", "This is an ordinary token", 10000, 2, true) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
11 | | - | [asset, ScriptTransfer(Alice, 100, assetId)] |
---|
| 11 | + | [asset, ScriptTransfer(i.caller, 100, assetId)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
16 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 17 | | |
---|