tx · 3G6YUWXWLWYNN739f5YZtgyLaeTiMa2px67gzEiewaG3

3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx:  -0.01400000 Waves

2022.09.04 21:44 [2214754] smart account 3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx > SELF 0.00000000 Waves

{ "type": 13, "id": "3G6YUWXWLWYNN739f5YZtgyLaeTiMa2px67gzEiewaG3", "fee": 1400000, "feeAssetId": null, "timestamp": 1662317047815, "version": 2, "chainId": 84, "sender": "3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx", "senderPublicKey": "3karvhVe3LgRMXprezaPpdeYknh9ju1rETVV3zdunQ1p", "proofs": [ "32JJmmYvJV99yQEzqT5hXhN3YSiNEbLEg8fgVCa19C44Rw18cNcx3gFd46sQpMJw8JpZg3RGtoEeMdtJ4Z3nvMdt" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAALQ09ERUFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAQAAAAFpAQAAABBSZWdpc3RlclVzZXJOYW1lAAAAAQAAAAhVc2VyTmFtZQQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQkAASwAAAACCQACWAAAAAEFAAAAC0NPREVBc3NldElEAgAAACcgVG9rZW4gaXMgcmVxdWlyZWQgYXMgQXR0YWNoZWQgcGF5bWVudC4EAAAAC2NoZWNrc2VyaWVzCQAEHQAAAAIFAAAABHRoaXMFAAAACFVzZXJOYW1lAwkAAGYAAAACAAAAAAAAAAADCQABMQAAAAEFAAAACFVzZXJOYW1lCQAAAgAAAAECAAAAJ0Nob29zZSBhIFVuaXF1ZSBVc2VyTmFtZSBhYm92ZSAzIENoYXJzLgMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAALQ09ERUFzc2V0SUQJAAACAAAAAQkAASwAAAACAgAAACNXcm9uZyBBc3NldCBBdHRhY2hlZCBwbGVhc2UgQXR0YWNoIAkAAlgAAAABBQAAAAtDT0RFQXNzZXRJRAMJAAAAAAAAAgUAAAALY2hlY2tzZXJpZXMFAAAACFVzZXJOYW1lCQAAAgAAAAECAAAAZVVzZXIgTmFtZSBBbHJlYWR5IEV4aXN0IG9yIFRha2VuLiBDaG9vc2UgQW5vdGhlciBVbmlxdWUgVXNlciBOYW1lIG9yIENob29zZSBSZWZpbGwgdG8gcmVmaWxsIGFjY291bnQuAwkAAGYAAAACAAAAAAAAD0JACAUAAAADcG10AAAABmFtb3VudAkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAfUGxlYXNlIEF0dGFjaCBNaW5pbXVtIDEwIENPREUgWwkAAlgAAAABBQAAAAtDT0RFQXNzZXRJRAIAAAABXQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAhVc2VyTmFtZQkAAaQAAAABCAUAAAADcG10AAAABmFtb3VudAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkL9hmn", "height": 2214754, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5M9qPDMQpnZyVze6LUhZkrxQDvTH8eMtckDXQF69ZJs8 Next: 4fPasczzohrThKz1rFKHjWg4rqF3uuJW6zGnJEqChKaa Diff:
OldNewDifferences
1818 then throw("User Name Already Exist or Taken. Choose Another Unique User Name or Choose Refill to refill account.")
1919 else if ((1000000 > e.amount))
2020 then throw((("Please Attach Minimum 10 CODE [" + toBase58String(a)) + "]"))
21- else [IntegerEntry(c, e.amount)]
21+ else [StringEntry(c, toString(e.amount))]
2222 }
2323
2424
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 @Callable(b)
77 func RegisterUserName (c) = {
88 let d = toBase58String(b.caller.bytes)
99 let e = if ((size(b.payments) == 1))
1010 then b.payments[0]
1111 else throw((toBase58String(a) + " Token is required as Attached payment."))
1212 let f = getString(this, c)
1313 if ((3 > size(c)))
1414 then throw("Choose a Unique UserName above 3 Chars.")
1515 else if ((e.assetId != a))
1616 then throw(("Wrong Asset Attached please Attach " + toBase58String(a)))
1717 else if ((f == c))
1818 then throw("User Name Already Exist or Taken. Choose Another Unique User Name or Choose Refill to refill account.")
1919 else if ((1000000 > e.amount))
2020 then throw((("Please Attach Minimum 10 CODE [" + toBase58String(a)) + "]"))
21- else [IntegerEntry(c, e.amount)]
21+ else [StringEntry(c, toString(e.amount))]
2222 }
2323
2424
2525 @Verifier(g)
2626 func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
2727

github/deemru/w8io/169f3d6 
18.54 ms