tx · 63Xhk5whfa57HqP8zfuYzcGSRA59Rsr5oRWm5Z2ZLooQ
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.23 15:36 [2329759] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "63Xhk5whfa57HqP8zfuYzcGSRA59Rsr5oRWm5Z2ZLooQ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669206698042,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"4ef4p63pMfiyqAFg6yvjp8WAG7dzFHXuY6vRGoZ463PpLo5YUTxWATSaUkm8er7ZT2snEoJkPBaDjocbnSD1aQNi"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADdGtuAAAAAAQAAAAFYXNzZXQJAARDAAAABwIAAAAMUmVndWxhclRva2VuAgAAABlUaGlzIGlzIGFuIG9yZGluYXJ5IHRva2VuAAAAAAAAACcQAAAAAAAAAAACBgUAAAAEdW5pdAAAAAAAAAAAAAQAAAAHYXNzZXRJZAkABDgAAAABBQAAAAVhc3NldAQAAAAFQWxpY2UJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRH7PQFKQFhaLtA/tyP5TgKYGSZlINOzvAJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAFQWxpY2UAAAAAAAAAAGQFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5m4D+ow==",
"height": 2329759,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4Cyupet6NFVbY6sA32XYEzUqrevvYffmddLaxv7rwKeV
Next: 68T1reFWTwyjYkgp3i9PRGCTqyzi1uD7cGXzNhViDRGJ
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func tkn () = { |
---|
8 | | - | let asset = Issue("Asset", "this ssssss", 1, 0, false) |
---|
| 8 | + | let asset = Issue("RegularToken", "This is an ordinary token", 10000, 2, true, unit, 0) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
11 | | - | [ScriptTransfer(Alice, 1, assetId), asset] |
---|
| 11 | + | [asset, ScriptTransfer(Alice, 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 | | - | let asset = Issue("Asset", "this ssssss", 1, 0, false) |
---|
| 8 | + | let asset = Issue("RegularToken", "This is an ordinary token", 10000, 2, true, unit, 0) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
11 | | - | [ScriptTransfer(Alice, 1, assetId), asset] |
---|
| 11 | + | [asset, ScriptTransfer(Alice, 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 | | |
---|