tx · D3BDDqQLJRa3SL3fr854EZcJd6KHHPVvPfoSgB9xdX39
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.21 15:19 [2326867] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "D3BDDqQLJRa3SL3fr854EZcJd6KHHPVvPfoSgB9xdX39",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669032736168,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"UCkZ8D4eAJFjB81vKC3Fbs5adMHSWVVH8RckXvx2y7AJ1kSrWLd9GuPgkpGaQDkgSd1tXzwxnUnJfWSBxPN19M9"
],
"script": "base64:BgIHCAISAwoBCAABAWkBCVRva25Jc3N1ZQEEbmFtZQQFYXNzZXQJAMMIBwIFQXNpbWkCHlRoaXMgaXMgYSBhZHZlcnRpc2VtZW50ICBUb2tlbgBkAAEGBQR1bml0AAAEB2Fzc2V0SWQJALgIAQUFYXNzZXQEBHVzZXIJAQdBZGRyZXNzAQEaAVRH7PQFKQFhaLtA/tyP5TgKYGSZlINOzvAJAMwIAgkBC1N0cmluZ0VudHJ5AgIEbmFtZQUEbmFtZQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQR1c2VyAAoFB2Fzc2V0SWQFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXlqm2NX",
"height": 2326867,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3Z5e2PrpoNoSSLHerEHmvFk3ZKD67i5BFrJUDj3szMbA
Next: GbeajxvtWLDR91U3Zn1KnhEjytibkMmyiYEdRvPPUmfG
Diff:
Old | New | | Differences |
---|
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 | | - | nil |
---|
| 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 | 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 | | - | nil |
---|
| 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 | | |
---|