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:
OldNewDifferences
1111 then throw("Choose a Unique UserName above 3 Chars.")
1212 else if ((checkseries == UserName))
1313 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)]
1515 }
1616
1717
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func RegisterName (UserName,UserDescription) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let checkseries = getString(this, ("UserName_" + UserName))
1010 if ((3 > size(UserName)))
1111 then throw("Choose a Unique UserName above 3 Chars.")
1212 else if ((checkseries == UserName))
1313 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)]
1515 }
1616
1717
1818 @Verifier(tx)
1919 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2020

github/deemru/w8io/169f3d6 
20.71 ms