tx · 4AAVo8x7yJ3WdFKQznoKLFGzbgtonGJ7Mz4u1zyAN1g5

3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR:  -0.01400000 Waves

2022.02.04 13:31 [1908747] smart account 3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR > SELF 0.00000000 Waves

{ "type": 13, "id": "4AAVo8x7yJ3WdFKQznoKLFGzbgtonGJ7Mz4u1zyAN1g5", "fee": 1400000, "feeAssetId": null, "timestamp": 1643970722609, "version": 2, "chainId": 84, "sender": "3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR", "senderPublicKey": "338kWhdMVS1kk4YdFkpjpePY3tEnRszY2J1fyRnnWUXw", "proofs": [ "3PyhHb5Vn4ohpk7tqWjeXqZF9iYq4j6iXtVpJvD1opkmVTsxYUNbiEaroYpn1AfoTxj5Xb9YepFSwzoVxFa1gprT" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAHAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAC3YxVG9rZW5OYW1lAgAAAAlUaGUgVG9rZW4AAAAAC3YxVG9rZW5EZXNjAgAAAAAAAAAAGnYxSW5pdGlhbENoYXJDcmVhdGlvblN0YXRzCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAATQFAAAACXNlcGFyYXRvcgIAAAACMjAFAAAACXNlcGFyYXRvcgIAAAAEMTAwMAUAAAAJc2VwYXJhd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AAAAAAAABAAAAAAAAAAAIBgUAAAAEdW5pdAAAAAAAAAAAAAQAAAAHdG9rZW5JZAkAAlgAAAABCQAEOAAAAAEFAAAACnRva2VuSXNzdWUJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAADWtleUluaXRWMURvbmUGCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACmtleVRva2VuSWQFAAAAB3Rva2VuSWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAba2V5SW5pdGlhbENoYXJDcmVhdGlvblN0YXRzBQAAABp2MUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwkABEwAAAACBQAAAAp0b2tlbklzc3VlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefMlKX4=", "height": 1908747, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 81WbFaZwnWbwHhuMGRVpUykrGmYdBZUZ8Khpt8aFsV2p Next: DHkKr8kwXs5UfkGLkHFz333E6oKJmcjfqcwsAJN8NpRN Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "_"
55
66 let v1TokenName = "The Token"
77
88 let v1TokenDesc = ""
99
1010 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")
1111
1212 let keyInitV1Done = "init_v1_done"
1313
1414 let keyTokenId = "tokenId"
1515
1616 let keyInitialCharCreationStats = "initialCharCreationStats"
1717
1818 @Callable(i)
1919 func clear () = {
2020 let tokenId = fromBase58String(getStringValue(keyTokenId))
2121 [Burn(tokenId, assetBalance(this, tokenId)), DeleteEntry(keyInitV1Done)]
2222 }
2323
2424
2525
2626 @Callable(i)
2727 func initV1 () = if (valueOrElse(getBoolean(this, keyInitV1Done), false))
2828 then throw("Init v1 done already")
2929 else {
3030 let tokenIssue = Issue(v1TokenName, v1TokenDesc, 1, 8, true, unit, 0)
3131 let tokenId = toBase58String(calculateAssetId(tokenIssue))
3232 [BooleanEntry(keyInitV1Done, true), StringEntry(keyTokenId, tokenId), StringEntry(keyInitialCharCreationStats, v1InitialCharCreationStats), tokenIssue]
3333 }
3434
3535
3636 @Verifier(tx)
3737 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3838

github/deemru/w8io/169f3d6 
27.61 ms