tx · HTkjNGYBwjTchvofn6ePCLM242yuzAVLXBhE3coEXzfo
3NACxRDFkDWdDH5JrtHhbzMVF1kiRawzyzY: -0.01000000 Waves
2023.05.18 16:15 [2583448] smart account 3NACxRDFkDWdDH5JrtHhbzMVF1kiRawzyzY > SELF 0.00000000 Waves
{
"type": 13,
"id": "HTkjNGYBwjTchvofn6ePCLM242yuzAVLXBhE3coEXzfo",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684415780731,
"version": 2,
"chainId": 84,
"sender": "3NACxRDFkDWdDH5JrtHhbzMVF1kiRawzyzY",
"senderPublicKey": "4199y8Rc61FGo95R5LtfjFKs1gJ1i4Yy3oqqKUXMrBRw",
"proofs": [
"uJkrnbQeXkLYd83p5HP2AV9dCDjWxEXagqABZXMXTWpSfFiVbaqAYPph4yM71kyDrYtS1RrDwkXEBmAJfToJcps"
],
"script": "base64:BgIHCAISAwoBCAEABEJvc3MCIzNOQUN4UkRGa0RXZERINUpydEhoYnpNVkYxa2lSYXd6eXpZAQFpAQZ0ZWxsbWUBCHF1ZXN0aW9uBA1jYWxsZXJBZGRyZXNzCQClCAEIBQFpBmNhbGxlcgMJAAACBQRCb3NzBQ1jYWxsZXJBZGRyZXNzCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUNY2FsbGVyQWRkcmVzcwICX3EFCHF1ZXN0aW9uBQNuaWwJAAIBAi7QstGLINC90LUg0LzQvtC20LXRgtC1INGN0YLQvtCz0L4g0LTQtdC70LDRgtGMAF2qAPA=",
"height": 2583448,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3bWfJsYcXhhazvxZKSUG3HyfFFJvkxohvpeYT9U31Mex
Next: CDVNmCRPUvCaQ291wG4SdSeaKdexJSt8KXYedQUwqaXA
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let Boss = "3NACxRDFkDWdDH5JrtHhbzMVF1kiRawzyzY" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func DiplomPass (question) = { |
---|
| 7 | + | func tellme (question) = { |
---|
8 | 8 | | let callerAddress = toString(i.caller) |
---|
9 | | - | [StringEntry((callerAddress + "_q"), question)] |
---|
| 9 | + | if ((Boss == callerAddress)) |
---|
| 10 | + | then [StringEntry((callerAddress + "_q"), question)] |
---|
| 11 | + | else throw("вы не можете этого делать") |
---|
10 | 12 | | } |
---|
11 | 13 | | |
---|
12 | 14 | | |
---|