tx · GbeajxvtWLDR91U3Zn1KnhEjytibkMmyiYEdRvPPUmfG
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.21 15:22 [2326871] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "GbeajxvtWLDR91U3Zn1KnhEjytibkMmyiYEdRvPPUmfG",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669033174536,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"5tAwZe6LT8QAJ5ctyMLAY2TNwfmNerE9y7Xb3zAhBbj6JrGAH9Ys7LZieU4F7ktv91FH8FdzN2NALTSmMXWQsxXZ"
],
"script": "base64:BgIHCAISAwoBCAABAWkBCVRva25Jc3N1ZQEEbmFtZQQFYXNzZXQJAMMIBwIFQXNpbWkCHlRoaXMgaXMgYSBhZHZlcnRpc2VtZW50ICBUb2tlbgBkAAEGBQR1bml0AAAEB2Fzc2V0SWQJALgIAQUFYXNzZXQEBHVzZXIJAQdBZGRyZXNzAQEaAVRH7PQFKQFhaLtA/tyP5TgKYGSZlINOzvAJAMwIAgkBC1N0cmluZ0VudHJ5AgIEbmFtZQUEbmFtZQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIACgUHYXNzZXRJZAUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleZnDmag=",
"height": 2326871,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: D3BDDqQLJRa3SL3fr854EZcJd6KHHPVvPfoSgB9xdX39
Next: 4Qbr7QMdos7JHDa8rk2Kef1xiGJ9dgqGB7LJxUL39o4h
Diff:
Old | New | | Differences |
---|
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(user, 10, assetId)] |
---|
| 11 | + | [StringEntry("name", name), ScriptTransfer(i.caller, 10, assetId)] |
---|
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 | 7 | | func ToknIssue (name) = { |
---|
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(user, 10, assetId)] |
---|
| 11 | + | [StringEntry("name", name), ScriptTransfer(i.caller, 10, 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 | | |
---|