tx · 81WbFaZwnWbwHhuMGRVpUykrGmYdBZUZ8Khpt8aFsV2p

3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR:  -0.01400000 Waves

2022.02.04 13:27 [1908744] smart account 3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR > SELF 0.00000000 Waves

{ "type": 13, "id": "81WbFaZwnWbwHhuMGRVpUykrGmYdBZUZ8Khpt8aFsV2p", "fee": 1400000, "feeAssetId": null, "timestamp": 1643970480873, "version": 2, "chainId": 84, "sender": "3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR", "senderPublicKey": "338kWhdMVS1kk4YdFkpjpePY3tEnRszY2J1fyRnnWUXw", "proofs": [ "5Kr79SyGpEzs9WpQgn1wrN48tFTws44LjyTMYHK7NQFEXJqcFzyo8bawxVmFxFzLBEazP7vkBhHWhGKaXrCMpBeB" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAHAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAC3YxVG9rZW5OYW1lAgAAAAlUaGUgVG9rZW4AAAAAC3YxVG9rZW5EZXNjAgAAAAAAAAAAGnYxSW5pdGlhbENoYXJDcmVhdGlvblN0YXRzCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAATQFAAAACXNlcGFyYXRvcgIAAAACMjAFAAAACXNlcGFyYXRvcgIAAAAEMTAwMAUAAAAJc2VwYXJhdG9yAgAA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ABAAAAAAAAAAAIBgUAAAAEdW5pdAAAAAAAAAAAAAQAAAAHdG9rZW5JZAkAAlgAAAABCQAEOAAAAAEFAAAACnRva2VuSXNzdWUJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAADWtleUluaXRWMURvbmUGCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACmtleVRva2VuSWQFAAAAB3Rva2VuSWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAba2V5SW5pdGlhbENoYXJDcmVhdGlvblN0YXRzBQAAABp2MUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwkABEwAAAACBQAAAAp0b2tlbklzc3VlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefMlKX4=", "height": 1908744, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 4AAVo8x7yJ3WdFKQznoKLFGzbgtonGJ7Mz4u1zyAN1g5 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let separator = "_"
5+
6+let v1TokenName = "The Token"
7+
8+let v1TokenDesc = ""
9+
10+let v1InitialCharCreationStats = (((((((((((((((((((((((((((((((((("4" + separator) + "20") + separator) + "1000") + separator) + "100") + separator) + "200") + separator) + "100") + separator) + "10") + separator) + "20") + separator) + "500") + separator) + "50") + separator) + "100") + separator) + "100") + separator) + "10") + separator) + "20") + separator) + "1") + separator) + "1") + separator) + "1") + separator) + "1")
11+
12+let keyInitV1Done = "init_v1_done"
13+
14+let keyTokenId = "tokenId"
15+
16+let keyInitialCharCreationStats = "initialCharCreationStats"
17+
18+@Callable(i)
19+func clear () = {
20+ let tokenId = fromBase58String(getStringValue(keyTokenId))
21+[Burn(tokenId, assetBalance(this, tokenId)), DeleteEntry(keyInitV1Done)]
22+ }
23+
24+
25+
26+@Callable(i)
27+func initV1 () = if (valueOrElse(getBoolean(this, keyInitV1Done), false))
28+ then throw("Init v1 done already")
29+ else {
30+ let tokenIssue = Issue(v1TokenName, v1TokenDesc, 1, 8, true, unit, 0)
31+ let tokenId = toBase58String(calculateAssetId(tokenIssue))
32+[BooleanEntry(keyInitV1Done, true), StringEntry(keyTokenId, tokenId), StringEntry(keyInitialCharCreationStats, v1InitialCharCreationStats), tokenIssue]
33+ }
34+
35+
36+@Verifier(tx)
37+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
38+

github/deemru/w8io/169f3d6 
18.61 ms