tx · BV1oVxySumgCcsvjpB2tMYgs5qtdbeCCs3btfpUuiNzX

3MqxhXjG6DVDwFuLsaBz7sgt38iwHj9Da7f:  -0.00200000 Waves

2022.10.02 01:41 [2253905] smart account 3MqxhXjG6DVDwFuLsaBz7sgt38iwHj9Da7f > SELF 0.00000000 Waves

{ "type": 13, "id": "BV1oVxySumgCcsvjpB2tMYgs5qtdbeCCs3btfpUuiNzX", "fee": 200000, "feeAssetId": null, "timestamp": 1664664118689, "version": 2, "chainId": 84, "sender": "3MqxhXjG6DVDwFuLsaBz7sgt38iwHj9Da7f", "senderPublicKey": "24F9Fvi53bZzs4e399kBtXVRriDkrJjjVpfMwrVBfX9N", "proofs": [ "2pPBKD79vw8wp2JMEk5FJsix9owyCUdXtXojrrK2ae5C2wsTjLLDtXZ2sRb9m4SagfWhME8rG4ySz3DYV5aEXzuR" ], "script": "base64:BgIVCAISCgoICAgICAgICAgSBQoDCAgIBAAQYWRtaW5fd2FsbGV0X29uZQIjM044eDltYjQ4MWkyazZjRzdROVhVVjNlNW56aDFtZHpzTnkAEGFkbWluX3dhbGxldF90d28CIzNOM0RDbmdqaWRpdmtKYlRKd0ZURXZiWVJUZmZDV1ZCTENMABJhZG1pbl93YWxsZXRfdGhyZWUCIzNOOTFWQmt0b1RQU0JMNk5rSFJzQU0xRExXSDJUNnF2UXJzARRjaGVja19hZG1pbnNfd2FsbGV0cwELdXNlcl93YWxsZXQDAwMJAAACBQt1c2VyX3dhbGxldAUQYWRtaW5fd2FsbGV0X29uZQYJAAACBQt1c2VyX3dhbGxldAUQYWRtaW5fd2FsbGV0X3R3bwYJAAACBQt1c2VyX3dhbGxldAUSYWRtaW5fd2FsbGV0X3RocmVlBgcCAWkBDXNldF91c2VyX2RhdGEIBndhbGxldARuYW1lCmltYWdlX2xpbmsKY292ZXJfbGluawNiaW8QZ29vZ2xlX2FuYWx5dGljcxB5YW5kZXhfYW5hbHl0aWNzBW5vdGVzAwMJAAACCQClCAEIBQFpBmNhbGxlc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cmlmaWVkAgN5ZXMJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgICBXVzZXJfBQZ3YWxsZXQCDl92ZXJpZmllZF9uYW1lBQRuYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkArAICAgV1c2VyXwUGd2FsbGV0Ag9fdmVyaWZpZWRfbm90ZXMFBW5vdGVzBQNuaWwJAAIBAlJFUlJST1IgISwgc2V0X3VzZXJfZGF0YSwgTUVTU0FHRTogc29ycnkgeW91IGFyZSBub3QgYWxsb3cgdG8gaW52b2tlIHRoaXMgZnVuYWN0aW9uAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleS9S6+k=", "height": 2253905, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BhAjtadKkXzfbsHus831NAoeAKdPXnP21oCQFmEviRPg Next: APqifSqk7qCiAWwLGHX5EXpMyzvvvKDuXZED621nhpMH Diff:
OldNewDifferences
2424 else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction")
2525
2626
27+
28+@Callable(f)
29+func set_verified_user (g,h,n) = if (d(toString(f.caller)))
30+ then [StringEntry((("user_" + g) + "_verified"), "yes"), StringEntry((("user_" + g) + "_verified_name"), h), StringEntry((("user_" + g) + "_verified_notes"), n)]
31+ else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction")
32+
33+
2734 @Verifier(o)
2835 func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
2936
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N8x9mb481i2k6cG7Q9XUV3e5nzh1mdzsNy"
55
66 let b = "3N3DCngjidivkJbTJwFTEvbYRTffCWVBLCL"
77
88 let c = "3N91VBktoTPSBL6NkHRsAM1DLWH2T6qvQrs"
99
1010 func d (e) = if (if (if ((e == a))
1111 then true
1212 else (e == b))
1313 then true
1414 else (e == c))
1515 then true
1616 else false
1717
1818
1919 @Callable(f)
2020 func set_user_data (g,h,i,j,k,l,m,n) = if (if ((toString(f.caller) == g))
2121 then true
2222 else d(toString(f.caller)))
2323 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)]
2424 else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction")
2525
2626
27+
28+@Callable(f)
29+func set_verified_user (g,h,n) = if (d(toString(f.caller)))
30+ then [StringEntry((("user_" + g) + "_verified"), "yes"), StringEntry((("user_" + g) + "_verified_name"), h), StringEntry((("user_" + g) + "_verified_notes"), n)]
31+ else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction")
32+
33+
2734 @Verifier(o)
2835 func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
2936

github/deemru/w8io/026f985 
23.92 ms