tx · HmNPYYd6ZfPY58gEj15YccakGgCpe9RMwgoLise8Yp5N 3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx: -0.01400000 Waves 2022.04.13 01:01 [2005938] smart account 3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx > SELF 0.00000000 Waves
{ "type": 13, "id": "HmNPYYd6ZfPY58gEj15YccakGgCpe9RMwgoLise8Yp5N", "fee": 1400000, "feeAssetId": null, "timestamp": 1649800913570, "version": 2, "chainId": 84, "sender": "3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx", "senderPublicKey": "3karvhVe3LgRMXprezaPpdeYknh9ju1rETVV3zdunQ1p", "proofs": [ "3bbLaefLfUc77tV2CwJFi2s7RZ2aJKUmhbaSeS5D7zsHJbFAc6PhfznbFWEvGbv2KCzagCPvkmiLCppn3caLow8a" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAAWkBAAAADFJlZ2lzdGVyTmFtZQAAAAIAAAAIVXNlck5hbWUAAAAPVXNlckRlc2NyaXB0aW9uBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAC2NoZWNrc2VyaWVzCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAJVXNlck5hbWVfBQAAAAhVc2VyTmFtZQMJAABmAAAAAgAAAAAAAAAAAwkAATEAAAABBQAAAAhVc2VyTmFtZQkAAAIAAAABAgAAACdDaG9vc2UgYSBVbmlxdWUgVXNlck5hbWUgYWJvdmUgMyBDaGFycy4DCQAAAAAAAAIFAAAAC2NoZWNrc2VyaWVzBQAAAAhVc2VyTmFtZQkAAAIAAAABAgAAAEJVc2VyIE5hbWUgQWxyZWFkeSBFeGlzdCBvciBUYWtlbi4gQ2hvb3NlIEFub3RoZXIgVW5pcXVlIFVzZXIgTmFtZS4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAlVc2VyTmFtZV8FAAAACFVzZXJOYW1lBQAAAAhVc2VyTmFtZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAEFVzZXJEZXNjcmlwdGlvbl8FAAAACFVzZXJOYW1lBQAAAA9Vc2VyRGVzY3JpcHRpb24JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAxVc2VyQWRkcmVzc18FAAAACFVzZXJOYW1lBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAFUGxhbl8FAAAACFVzZXJOYW1lAgAAAAVCYXNpYwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAABpBY2NvdW50X0NyZWF0aW9uX1RpbWVTdGFtcAUAAAAIVXNlck5hbWUIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAAFkxhc3RfTWVzc2FnZV9UaW1lc3RhbXAFAAAACFVzZXJOYW1lCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAA9NZXNzYWdlQ291bnRlcl8FAAAACFVzZXJOYW1lAAAAAAAAAAAABQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSNcrJ0=", "height": 2005938, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AthhZppPwRCVCKZHj4iLGNaShr4pgV1ft2khTrSbybK7 Next: 8CAhPTLRExcCkPzyFi3xPdekw1PPBULkPapStptMb6LJ Diff:
Old | New | Differences | |
---|---|---|---|
11 | 11 | then throw("Choose a Unique UserName above 3 Chars.") | |
12 | 12 | else if ((checkseries == UserName)) | |
13 | 13 | then throw("User Name Already Exist or Taken. Choose Another Unique User Name.") | |
14 | - | else [StringEntry(("UserName_" + UserName), UserName), StringEntry(("UserDescription_" + UserName), UserDescription), StringEntry(("UserAddress_" + UserName), currentKey), IntegerEntry(("Account_Creation_TimeStamp" + UserName), lastBlock.timestamp), IntegerEntry(("MessageCounter_" + UserName), 0)] | |
14 | + | else [StringEntry(("UserName_" + UserName), UserName), StringEntry(("UserDescription_" + UserName), UserDescription), StringEntry(("UserAddress_" + UserName), currentKey), StringEntry(("Plan_" + UserName), "Basic"), IntegerEntry(("Account_Creation_TimeStamp" + UserName), lastBlock.timestamp), IntegerEntry(("Last_Message_Timestamp" + UserName), lastBlock.timestamp), IntegerEntry(("MessageCounter_" + UserName), 0)] | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func RegisterName (UserName,UserDescription) = { | |
8 | 8 | let currentKey = toBase58String(i.caller.bytes) | |
9 | 9 | let checkseries = getString(this, ("UserName_" + UserName)) | |
10 | 10 | if ((3 > size(UserName))) | |
11 | 11 | then throw("Choose a Unique UserName above 3 Chars.") | |
12 | 12 | else if ((checkseries == UserName)) | |
13 | 13 | then throw("User Name Already Exist or Taken. Choose Another Unique User Name.") | |
14 | - | else [StringEntry(("UserName_" + UserName), UserName), StringEntry(("UserDescription_" + UserName), UserDescription), StringEntry(("UserAddress_" + UserName), currentKey), IntegerEntry(("Account_Creation_TimeStamp" + UserName), lastBlock.timestamp), IntegerEntry(("MessageCounter_" + UserName), 0)] | |
14 | + | else [StringEntry(("UserName_" + UserName), UserName), StringEntry(("UserDescription_" + UserName), UserDescription), StringEntry(("UserAddress_" + UserName), currentKey), StringEntry(("Plan_" + UserName), "Basic"), IntegerEntry(("Account_Creation_TimeStamp" + UserName), lastBlock.timestamp), IntegerEntry(("Last_Message_Timestamp" + UserName), lastBlock.timestamp), IntegerEntry(("MessageCounter_" + UserName), 0)] | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | @Verifier(tx) | |
19 | 19 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
20 | 20 |
github/deemru/w8io/169f3d6 20.71 ms ◑