tx · 5XGL31j5EFYmMBMTNW99PB2wfpa25hmnxjiXscEVgMED 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves 2022.11.22 09:02 [2327939] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{ "type": 13, "id": "5XGL31j5EFYmMBMTNW99PB2wfpa25hmnxjiXscEVgMED", "fee": 1000000, "feeAssetId": null, "timestamp": 1669096675979, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "2Zyttsk5kab8TYH9UUTCpDDsyNRVcVZRXSCxMh1x8eADfCikGBVr8QL7qTMsrQKLoNhDN6xGAC3y7ozZbg86UMzn" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQlUb2tuSXNzdWUCBG5hbWULZGVzY3JpcHRpb24EBWFzc2V0CQDCCAUCBUFzaW1pAh5UaGlzIGlzIGEgYWR2ZXJ0aXNlbWVudCAgVG9rZW4AZAABBgQHYXNzZXRJZAkAuAgBBQVhc3NldAkAzAgCBQVhc3NldAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAAQUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCAgRuYW1lBQRuYW1lBQNuaWwBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5JSN3yw==", "height": 2327939, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Dv9pKvQw3ZYf9SxoUUX8WqdeDfBccQv9mFjYFwHE6CRQ Next: DH2cfKxPejpC4X5SGjGb136XgJpoo7S7vdkc6C9PTcEE Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func ToknIssue () = { | |
8 | - | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true | |
9 | - | let | |
10 | - | [asset, ScriptTransfer(i.caller, 1, | |
7 | + | func ToknIssue (name,description) = { | |
8 | + | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true) | |
9 | + | let assetId = calculateAssetId(asset) | |
10 | + | [asset, ScriptTransfer(i.caller, 1, assetId), StringEntry("name", name)] | |
11 | 11 | } | |
12 | 12 | ||
13 | 13 |
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 () = { | |
8 | - | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true | |
9 | - | let | |
10 | - | [asset, ScriptTransfer(i.caller, 1, | |
7 | + | func ToknIssue (name,description) = { | |
8 | + | let asset = Issue("Asimi", "This is a advertisement Token", 100, 1, true) | |
9 | + | let assetId = calculateAssetId(asset) | |
10 | + | [asset, ScriptTransfer(i.caller, 1, assetId), StringEntry("name", name)] | |
11 | 11 | } | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | @Verifier(tx) | |
15 | 15 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
16 | 16 |
github/deemru/w8io/026f985 19.62 ms ◑