tx · DRomsKcm9gt2jKrttKtc2qN4BeEu2P6K53uQcZZFNNNT
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.21 14:44 [2326833] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "DRomsKcm9gt2jKrttKtc2qN4BeEu2P6K53uQcZZFNNNT",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669030763480,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"TcpmrW8L4nqPWcSU5hfF4EpT6BbXVZWYgKnbCfKLS25gpaijK9VJojqJSgtJjnJkXEjH7M8sZ84LquLX4wjSQB2"
],
"script": "base64:BgIHCAISAwoBCAABAWkBCVRva25Jc3N1ZQEEbmFtZQQFYXNzZXQJAMMIBwIFQXNpbWkCHlRoaXMgaXMgYSBhZHZlcnRpc2VtZW50ICBUb2tlbgBkAAIGBQR1bml0AAAEB2Fzc2V0SWQJALgIAQUFYXNzZXQEBHVzZXIJAQdBZGRyZXNzAQEaAVRH7PQFKQFhaLtA/tyP5TgKYGSZlINOzvAJAMwIAgkBC1N0cmluZ0VudHJ5AgIEbmFtZQUEbmFtZQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQR1c2VyAAoFB2Fzc2V0SWQFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmb22gc",
"height": 2326833,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5ZKxaN5NtPxdJNwHLBRQYxq5UzuH4L9ML3xCKXLvP2zC
Next: ASDZSQ9KyRo2FJcNru8tp5BHNwELLZh4wz7aWnELKbmR
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func toknIssue (name) = { |
---|
| 7 | + | func ToknIssue (name) = { |
---|
8 | 8 | | let asset = Issue("Asimi", "This is a advertisement Token", 100, 2, true, unit, 0) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | | - | [StringEntry("name", name)] |
---|
| 10 | + | let user = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
| 11 | + | [StringEntry("name", name), ScriptTransfer(user, 10, assetId)] |
---|
11 | 12 | | } |
---|
12 | 13 | | |
---|
13 | 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 (name) = { |
---|
8 | 8 | | let asset = Issue("Asimi", "This is a advertisement Token", 100, 2, true, unit, 0) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | | - | [StringEntry("name", name)] |
---|
| 10 | + | let user = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') |
---|
| 11 | + | [StringEntry("name", name), ScriptTransfer(user, 10, assetId)] |
---|
11 | 12 | | } |
---|
12 | 13 | | |
---|
13 | 14 | | |
---|
14 | 15 | | @Verifier(tx) |
---|
15 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 17 | | |
---|