tx · APqifSqk7qCiAWwLGHX5EXpMyzvvvKDuXZED621nhpMH 3MqxhXjG6DVDwFuLsaBz7sgt38iwHj9Da7f: -0.00200000 Waves 2022.10.02 01:45 [2253910] smart account 3MqxhXjG6DVDwFuLsaBz7sgt38iwHj9Da7f > SELF 0.00000000 Waves
{ "type": 13, "id": "APqifSqk7qCiAWwLGHX5EXpMyzvvvKDuXZED621nhpMH", "fee": 200000, "feeAssetId": null, "timestamp": 1664664325509, "version": 2, "chainId": 84, "sender": "3MqxhXjG6DVDwFuLsaBz7sgt38iwHj9Da7f", "senderPublicKey": "24F9Fvi53bZzs4e399kBtXVRriDkrJjjVpfMwrVBfX9N", "proofs": [ "3K6m6je3kPKmxZFJrzBTFknZxFKfFJ2bTpuScGBotA6FLrRq8c6Eraz3zuDFZV4FMZANHYF2JgQ9FUr9yYyKHHVL" ], "script": "base64:BgIVCAISCgoICAgICAgICAgSBQoDCAgIBAAQYWRtaW5fd2FsbGV0X29uZQIjM044eDltYjQ4MWkyazZjRzdROVhVVjNlNW56aDFtZHpzTnkAEGFkbWluX3dhbGxldF90d28CIzNOM0RDbmdqaWRpdmtKYlRKd0ZURXZiWVJUZmZDV1ZCTENMABJhZG1pbl93YWxsZXRfdGhyZWUCIzNOOTFWQmt0b1RQU0JMNk5rSFJzQU0xRExXSDJUNnF2UXJzARRjaGVja19hZG1pbnNfd2FsbGV0cwELdXNlcl93YWxsZXQDAwMJAAACBQt1c2VyX3dhbGxldAUQYWRtaW5fd2FsbGV0X29uZQYJAAACBQt1c2VyX3dhbGxldAUQYWRtaW5fd2FsbGV0X3R3bwYJAAACBQt1c2VyX3dhbGxldAUSYWRtaW5fd2FsbGV0X3RocmVlBgcCAWkBDXNldF91c2VyX2RhdGEIBndhbGxldARuYW1lCmltYWdlX2xpbmsKY292ZXJfbGluawNiaW8QZ29vZ2xlX2FuYWx5dGljcxB5YW5kZXhfYW5hbHl0aWNzBW5vdGVzAwMJAAACCQClCAEIBQFpBmNhbGxlcgUG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maWVkAgN5ZXMJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgICBXVzZXJfBQZ3YWxsZXQCDl92ZXJpZmllZF9uYW1lBQRuYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkArAICAgV1c2VyXwUGd2FsbGV0Ag9fdmVyaWZpZWRfbm90ZXMFBW5vdGVzBQNuaWwJAAIBAlJFUlJST1IgISwgc2V0X3VzZXJfZGF0YSwgTUVTU0FHRTogc29ycnkgeW91IGFyZSBub3QgYWxsb3cgdG8gaW52b2tlIHRoaXMgZnVuYWN0aW9uAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleS9S6+k=", "height": 2253910, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BV1oVxySumgCcsvjpB2tMYgs5qtdbeCCs3btfpUuiNzX Next: FqUBem4VUHCqGmLUvBfBAHurotzita6ybYcCtzyhFEgQ Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "3N8x9mb481i2k6cG7Q9XUV3e5nzh1mdzsNy" | |
5 | 5 | ||
6 | 6 | let b = "3N3DCngjidivkJbTJwFTEvbYRTffCWVBLCL" | |
7 | 7 | ||
8 | 8 | let c = "3N91VBktoTPSBL6NkHRsAM1DLWH2T6qvQrs" | |
9 | 9 | ||
10 | 10 | func d (e) = if (if (if ((e == a)) | |
11 | 11 | then true | |
12 | 12 | else (e == b)) | |
13 | 13 | then true | |
14 | 14 | else (e == c)) | |
15 | 15 | then true | |
16 | 16 | else false | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | @Callable(f) | |
20 | 20 | func set_user_data (g,h,i,j,k,l,m,n) = if (if ((toString(f.caller) == g)) | |
21 | 21 | then true | |
22 | 22 | else d(toString(f.caller))) | |
23 | 23 | then [StringEntry((("user_" + g) + "_joined"), "yes"), StringEntry((("user_" + g) + "_name"), h), StringEntry((("user_" + g) + "_imageLink"), i), StringEntry((("user_" + g) + "_coverLink"), j), StringEntry((("user_" + g) + "_bio"), k), StringEntry((("user_" + g) + "_googleAnalytics"), l), StringEntry((("user_" + g) + "_yandexAnalytics"), m), StringEntry((("user_" + g) + "_notes"), n)] | |
24 | 24 | else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction") | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | ||
28 | 28 | @Callable(f) | |
29 | 29 | func set_verified_user (g,h,n) = if (d(toString(f.caller))) | |
30 | 30 | then [StringEntry((("user_" + g) + "_verified"), "yes"), StringEntry((("user_" + g) + "_verified_name"), h), StringEntry((("user_" + g) + "_verified_notes"), n)] | |
31 | 31 | else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | @Verifier(o) | |
35 | 35 | func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey) | |
36 | 36 |
github/deemru/w8io/026f985 21.51 ms ◑