tx · Rr76BKk8fxNhFpcuUnYVQFnQWvaxffZg7sv4H8U9ofb

3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe:  -0.01400000 Waves

2021.02.19 01:36 [1404182] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves

{ "type": 13, "id": "Rr76BKk8fxNhFpcuUnYVQFnQWvaxffZg7sv4H8U9ofb", "fee": 1400000, "feeAssetId": null, "timestamp": 1613687832451, "version": 2, "chainId": 84, "sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe", "senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3", "proofs": [ "2Xm7hnqcg6sbJAEuQGiJeQnhjPoMmyZAycFeU373TeFLtKMMsAYQ8WnkezvYMxCFQ93DKNKd1MgXdn3VxCXedx2X" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAcQXR0YWNoZWQgcGF5bWVudCBpcyByZXF1aXJlZAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAHYXNzZXRpZAkAAAIAAAABAgAAAD9Zb3UgbmVlZCB0byBjaG9vc2UgZXhhY3QgMC41IFVTRFQgdG8gU2lnbiBUeG4gbm90IG90aGVyIGFzc2V0cy4EAAAACWZpbmRlbWFpbAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQMJAAAAAAAAAgUAAAAJZmluZGVtYWlsBQAAAAlZb3VyRW1haWwJAAACAAAAAQIAAAAZVXNlciBBbHJlYWR5IFJlZ2lzdGVydGVkLgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAApjdXJyZW50S2V5BQAAAAlZb3VyRW1haWwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAApTdGF0dXNfT2ZfBQAAAAlZb3VyRW1haWwCAAAAClVudmVyaWZpZWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecDjaV4=", "height": 1404182, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BfR56VpwnVkgVfNDE6qLeZrcLcoWuw8kxZeHkkWLKUrQ Next: 9mPKi4dgF6X9LdjW1EVu44f8F4cejJD7bWqapjsm1qUZ Diff:
OldNewDifferences
44
55
66 @Callable(a)
7-func call () = [DeleteEntry("[email protected]"), DeleteEntry("[email protected]_Status")]
7+func RegisterEmail (b) = {
8+ let c = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
9+ let d = toBase58String(a.caller.bytes)
10+ let e = if ((size(a.payments) == 1))
11+ then a.payments[0]
12+ else throw("Attached payment is required")
13+ if ((e.assetId != c))
14+ then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
15+ else {
16+ let f = getStringValue(this, d)
17+ if ((f == b))
18+ then throw("User Already Registerted.")
19+ else [StringEntry(d, b), StringEntry(("Status_Of_" + b), "Unverified")]
20+ }
21+ }
822
923
10-@Verifier(b)
11-func c () = sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey)
24+@Verifier(g)
25+func h () = {
26+ let i = g
27+ sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
28+ }
1229
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
7-func call () = [DeleteEntry("[email protected]"), DeleteEntry("[email protected]_Status")]
7+func RegisterEmail (b) = {
8+ let c = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
9+ let d = toBase58String(a.caller.bytes)
10+ let e = if ((size(a.payments) == 1))
11+ then a.payments[0]
12+ else throw("Attached payment is required")
13+ if ((e.assetId != c))
14+ then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
15+ else {
16+ let f = getStringValue(this, d)
17+ if ((f == b))
18+ then throw("User Already Registerted.")
19+ else [StringEntry(d, b), StringEntry(("Status_Of_" + b), "Unverified")]
20+ }
21+ }
822
923
10-@Verifier(b)
11-func c () = sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey)
24+@Verifier(g)
25+func h () = {
26+ let i = g
27+ sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
28+ }
1229

github/deemru/w8io/026f985 
22.94 ms