tx · 4Qbr7QMdos7JHDa8rk2Kef1xiGJ9dgqGB7LJxUL39o4h
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.21 15:27 [2326875] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "4Qbr7QMdos7JHDa8rk2Kef1xiGJ9dgqGB7LJxUL39o4h",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669033312990,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"3ha3fnbCQUwJ15yXHoi416bHC64n8KAycf1tQJ5Xh8bd2QUYnRVyTh5rWEykEwdjz9duBuZEQqUWLTC1T2UGFj78"
],
"script": "base64:BgIECAISAAABAWkBCVRva25Jc3N1ZQAEBWFzc2V0CQDDCAcCBUFzaW1pAh5UaGlzIGlzIGEgYWR2ZXJ0aXNlbWVudCAgVG9rZW4AZAABBgUEdW5pdAAABAdhc3NldElkCQC4CAEFBWFzc2V0BAR1c2VyCQEHQWRkcmVzcwEBGgFUR+z0BSkBYWi7QP7cj+U4CmBkmZSDTs7wCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFBHVzZXIACgUHYXNzZXRJZAkAzAgCBQVhc3NldAUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleUYdI3o=",
"height": 2326875,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GbeajxvtWLDR91U3Zn1KnhEjytibkMmyiYEdRvPPUmfG
Next: 9WfwVspkYdQBWKGTB99eRHnCbUKeo5QWTYA3PeFZjzcy
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func ToknIssue (name) = { |
---|
| 7 | + | func ToknIssue () = { |
---|
8 | 8 | | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true, unit, 0) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | let user = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
11 | | - | [StringEntry("name", name), ScriptTransfer(i.caller, 10, assetId)] |
---|
| 11 | + | [ScriptTransfer(user, 10, assetId), asset] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func ToknIssue (name) = { |
---|
| 7 | + | func ToknIssue () = { |
---|
8 | 8 | | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true, unit, 0) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | let user = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
11 | | - | [StringEntry("name", name), ScriptTransfer(i.caller, 10, assetId)] |
---|
| 11 | + | [ScriptTransfer(user, 10, assetId), asset] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
16 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 17 | | |
---|