tx · 5MyUCrK7TBQWkCjCbTj94HVHdgPxsda2QNBR2wpqWEt8 3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR: -1.00500000 Waves 2023.05.30 05:03 [2600081] smart account 3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR > SELF 0.00000000 Waves
{ "type": 13, "id": "5MyUCrK7TBQWkCjCbTj94HVHdgPxsda2QNBR2wpqWEt8", "fee": 100500000, "feeAssetId": null, "timestamp": 1685412157648, "version": 2, "chainId": 84, "sender": "3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR", "senderPublicKey": "GP66F4kgVMbC7uyGiB6JeXvJFRco3fTdGeaUFSmf7YbB", "proofs": [ "58P1wGgqFUotXhgD5owED8yjAkt7QBRZRmx3tUhNGjt2kSVbBiumWo1hj5n4jKiu58bTPx8sBqhScej3dYqDiNtS" ], "script": "base64:BgIJCAISABIDCgECAAIBaQENdG9rZW5Jc3N1YW5jZQAEBG5hbWUCCkJlYnJhVG9rZW4EDmxlbmRlc2NyaXB0aW9uAg9CZWJyYSBieSBLcmluZ2UECHF1YW50aXR5AJBOBAhkZWNpbWFscwADBAxpc1JlaXNzdWFibGUGBAppc3N1ZUJlYnJhCQDDCAcFBG5hbWUFDmxlbmRlc2NyaXB0aW9uBQhxdWFudGl0eQUIZGVjaW1hbHMFDGlzUmVpc3N1YWJsZQUEdW5pdAAABAdhc3NldElkCQC4CAEFCmlzc3VlQmVicmEECWtuZXdUb2tlbgIFVG9rZW4ECGthc3NldElkAghBc3NldCBJRAQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQJAMwIAgUKaXNzdWVCZWJyYQkAzAgCCQELQmluYXJ5RW50cnkCBQhrYXNzZXRJZAUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBQlrbmV3VG9rZW4IBQppc3N1ZUJlYnJhBG5hbWUFA25pbAFpAQtzZW5kZXJUb2tlbgEHYXNzZXRJZAQJcmVjaXBpZW50CAUBaQZjYWxsZXIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50ABQFB2Fzc2V0SWQFA25pbAECdHgBBnZlcmlmeQAGFz5Y2Q==", "height": 2600081, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: GuXj7CrFSuzwYKzMNkRHczMy1CbbCcmu8y51NjZGxxW5 Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func tokenIssuance () = { | |
8 | + | let name = "BebraToken" | |
9 | + | let lendescription = "Bebra by Kringe" | |
10 | + | let quantity = 10000 | |
11 | + | let decimals = 3 | |
12 | + | let isReissuable = true | |
13 | + | let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0) | |
14 | + | let assetId = calculateAssetId(issueBebra) | |
15 | + | let knewToken = "Token" | |
16 | + | let kassetId = "Asset ID" | |
17 | + | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") | |
18 | + | [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)] | |
19 | + | } | |
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | @Callable(i) | |
24 | + | func senderToken (assetId) = { | |
25 | + | let recipient = i.caller | |
26 | + | [ScriptTransfer(recipient, 20, assetId)] | |
27 | + | } | |
28 | + | ||
29 | + | ||
30 | + | @Verifier(tx) | |
31 | + | func verify () = true | |
32 | + |
github/deemru/w8io/169f3d6 30.74 ms ◑