tx · 3X46o7KpMuzWry1acndFRCVunT5aRx3bCxVMWM1S1FLL 3Mu2Rf9Lq4qKYnDt7zKJ4fa8tXvaAQVwJVE: -1.00500000 Waves 2023.07.26 16:53 [2682913] smart account 3Mu2Rf9Lq4qKYnDt7zKJ4fa8tXvaAQVwJVE > SELF 0.00000000 Waves
{ "type": 13, "id": "3X46o7KpMuzWry1acndFRCVunT5aRx3bCxVMWM1S1FLL", "fee": 100500000, "feeAssetId": null, "timestamp": 1690379606923, "version": 2, "chainId": 84, "sender": "3Mu2Rf9Lq4qKYnDt7zKJ4fa8tXvaAQVwJVE", "senderPublicKey": "5ijzyZ48KXTRHdsMMmAhd26WNdWJeMvGb7uh9jZHBkqb", "proofs": [ "4wVcFzag75HRYEmJnu5QzZ5peoPzGWdbxHNdjqLcE3CDmARhPctu7po8jH6tEXAVYXviysqxrdXfPi5bjCNpQ2iu" ], "script": "base64:BgIGCAISABIAAQAIa2Fzc2V0SWQCB0Fzc2V0SUQCAWkBDXRva2VuSXNzdWFuY2UABARuYW1lAgpCZWJyYVRva2VuBA5sZW5kZXNjcmlwdGlvbgIPQmVicmEgYnkgS3JpbmdlBAhxdWFudGl0eQCgjQYECGRlY2ltYWxzAAMECmlzc3VlQmVicmEJAMIIBQUEbmFtZQUObGVuZGVzY3JpcHRpb24FCHF1YW50aXR5BQhkZWNpbWFscwYEB2Fzc2V0SWQJALgIAQUKaXNzdWVCZWJyYQQJa25ld1Rva2VuAgVUb2tlbgQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQJAMwIAgUKaXNzdWVCZWJyYQkAzAgCCQELQmluYXJ5RW50cnkCBQhrYXNzZXRJZAUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBQlrbmV3VG9rZW4IBQppc3N1ZUJlYnJhBG5hbWUFA25pbAFpAQtzZW5kZXJUb2tlbgAEB2Fzc2V0SUQJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwUIa2Fzc2V0SWQCBWVycm9yCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFBHRoaXMAAgUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAFAUHYXNzZXRJRAUDbmlsAGSHpyA=", "height": 2682913, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J1nDFoPMsnY56ZbtcBHMHYWsFDRsYQQYoX2iT93iZ9SW Next: Baqu5GZnAysHVdrs92xkgzmApf9g9US4LFsREm3d4nEk Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let kassetId = "AssetID" | |
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func tokenIssuance () = { | |
8 | 8 | let name = "BebraToken" | |
9 | 9 | let lendescription = "Bebra by Kringe" | |
10 | 10 | let quantity = 100000 | |
11 | 11 | let decimals = 3 | |
12 | 12 | let issueBebra = Issue(name, lendescription, quantity, decimals, true) | |
13 | 13 | let assetId = calculateAssetId(issueBebra) | |
14 | 14 | let knewToken = "Token" | |
15 | 15 | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") | |
16 | 16 | [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)] | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | ||
21 | 21 | @Callable(i) | |
22 | 22 | func senderToken () = { | |
23 | 23 | let assetID = valueOrErrorMessage(getBinaryValue(this, kassetId), "error") | |
24 | 24 | [ScriptTransfer(this, 2, unit), ScriptTransfer(i.caller, 20, assetID)] | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 |
github/deemru/w8io/fabc49c 20.29 ms ◑