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:BgIVCAISCgoICAgICAgICAgSBQoDCAgIBAAQYWRtaW5fd2FsbGV0X29uZQIjM044eDltYjQ4MWkyazZjRzdROVhVVjNlNW56aDFtZHpzTnkAEGFkbWluX3dhbGxldF90d28CIzNOM0RDbmdqaWRpdmtKYlRKd0ZURXZiWVJUZmZDV1ZCTENMABJhZG1pbl93YWxsZXRfdGhyZWUCIzNOOTFWQmt0b1RQU0JMNk5rSFJzQU0xRExXSDJUNnF2UXJzARRjaGVja19hZG1pbnNfd2FsbGV0cwELdXNlcl93YWxsZXQDAwMJAAACBQt1c2VyX3dhbGxldAUQYWRtaW5fd2FsbGV0X29uZQYJAAACBQt1c2VyX3dhbGxldAUQYWRtaW5fd2FsbGV0X3R3bwYJAAACBQt1c2VyX3dhbGxldAUSYWRtaW5fd2FsbGV0X3RocmVlBgcCAWkBDXNldF91c2VyX2RhdGEIBndhbGxldARuYW1lCmltYWdlX2xpbmsKY292ZXJfbGluawNiaW8QZ29vZ2xlX2FuYWx5dGljcxB5YW5kZXhfYW5hbHl0aWNzBW5vdGVzAwMJAAACCQClCAEIBQFpBmNhbGxlcgU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lmaWVkAgN5ZXMJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgICBXVzZXJfBQZ3YWxsZXQCDl92ZXJpZmllZF9uYW1lBQRuYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkArAICAgV1c2VyXwUGd2FsbGV0Ag9fdmVyaWZpZWRfbm90ZXMFBW5vdGVzBQNuaWwJAAIBAlJFUlJST1IgISwgc2V0X3VzZXJfZGF0YSwgTUVTU0FHRTogc29ycnkgeW91IGFyZSBub3QgYWxsb3cgdG8gaW52b2tlIHRoaXMgZnVuYWN0aW9uAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleS9S6+k=", "height": 2253910, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BV1oVxySumgCcsvjpB2tMYgs5qtdbeCCs3btfpUuiNzX Next: FqUBem4VUHCqGmLUvBfBAHurotzita6ybYcCtzyhFEgQ Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let admin_wallet_one = "3N8x9mb481i2k6cG7Q9XUV3e5nzh1mdzsNy"
55
66 let admin_wallet_two = "3N3DCngjidivkJbTJwFTEvbYRTffCWVBLCL"
77
88 let admin_wallet_three = "3N91VBktoTPSBL6NkHRsAM1DLWH2T6qvQrs"
99
1010 func check_admins_wallets (user_wallet) = if (if (if ((user_wallet == admin_wallet_one))
1111 then true
1212 else (user_wallet == admin_wallet_two))
1313 then true
1414 else (user_wallet == admin_wallet_three))
1515 then true
1616 else false
1717
1818
1919 @Callable(i)
2020 func set_user_data (wallet,name,image_link,cover_link,bio,google_analytics,yandex_analytics,notes) = if (if ((toString(i.caller) == wallet))
2121 then true
2222 else check_admins_wallets(toString(i.caller)))
2323 then [StringEntry((("user_" + wallet) + "_joined"), "yes"), StringEntry((("user_" + wallet) + "_name"), name), StringEntry((("user_" + wallet) + "_imageLink"), image_link), StringEntry((("user_" + wallet) + "_coverLink"), cover_link), StringEntry((("user_" + wallet) + "_bio"), bio), StringEntry((("user_" + wallet) + "_googleAnalytics"), google_analytics), StringEntry((("user_" + wallet) + "_yandexAnalytics"), yandex_analytics), StringEntry((("user_" + wallet) + "_notes"), notes)]
2424 else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction")
2525
2626
2727
2828 @Callable(i)
2929 func set_verified_user (wallet,name,notes) = if (check_admins_wallets(toString(i.caller)))
3030 then [StringEntry((("user_" + wallet) + "_verified"), "yes"), StringEntry((("user_" + wallet) + "_verified_name"), name), StringEntry((("user_" + wallet) + "_verified_notes"), notes)]
3131 else throw("ERRROR !, set_user_data, MESSAGE: sorry you are not allow to invoke this funaction")
3232
3333
3434 @Verifier(tx)
3535 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3636

github/deemru/w8io/026f985 
39.28 ms