tx · 85XCR6CFkUBHC8U3X6LggnaWhZ58FLLNuQhMrXZ8cPcc
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 13:24 [1817976] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "85XCR6CFkUBHC8U3X6LggnaWhZ58FLLNuQhMrXZ8cPcc",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638527182666,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"3AUMHn9oojdY7cuoe9XCVF633WNQy8XgT5xUefQ14oRUbCdTsRChMw8jbqbNFMgSkZCXAV1VXXZgwWomJZyjc1Bf"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAAFY2FuZG8CAAAAIzNNdVc0dDFqQ1hIdDhXUnNIVkxVYXIzMkVudkp4WmFRV0F4AAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5BAAAAAxjYWxsZXJBZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADeHlzCQABMAAAAAIFAAAAAnh5AAAAAAAAAAABBAAAAARtZXNzCQAEuQAAAAIJAARMAAAAAgIAAAAjM04zNzdNU0Z6RmR3eFc5N0VOcGZxZlpMWVNuR3pTTVd2Tk4JAARMAAAAAgIAAAADdXJsCQAETAAAAAIJAAGkAAAAAQAAAAAAAAAAZAUAAAADbmlsAgAAAAV8fHx8fAMJAAAAAAAAAgUAAAAFY2FuZG8FAAAADGNhbGxlckFkcmVzcwkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA3h5cwUAAAAEbWVzcwUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAINCS0Ysg0L3QtSDQvNC+0LbQtdGC0LUgdG8gY3JlYXRlAAAAAFKtJ7Q=",
"height": 1817976,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: H3eN7hYQMkuuubxDxrZbmXxNnaN2KoSutiLMxZH4FL8t
Next: 9cr9JkEdwzWLYB8UZUPE1sr1D8nzBitNP1LTn4KTufii
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = { |
---|
8 | 8 | | let callerAdress = toBase58String(i.caller.bytes) |
---|
9 | | - | let xys = makeString(["", xy], "") |
---|
10 | | - | let mess = makeString([callerAdress, "url", toString(100)], "|||||") |
---|
| 9 | + | let xys = drop(xy, 1) |
---|
| 10 | + | let mess = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], "|||||") |
---|
11 | 11 | | if ((cando == callerAdress)) |
---|
12 | 12 | | then $Tuple2([StringEntry(xys, mess)], unit) |
---|
13 | 13 | | else throw("Вы не можете to create") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let cando = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = { |
---|
8 | 8 | | let callerAdress = toBase58String(i.caller.bytes) |
---|
9 | | - | let xys = makeString(["", xy], "") |
---|
10 | | - | let mess = makeString([callerAdress, "url", toString(100)], "|||||") |
---|
| 9 | + | let xys = drop(xy, 1) |
---|
| 10 | + | let mess = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], "|||||") |
---|
11 | 11 | | if ((cando == callerAdress)) |
---|
12 | 12 | | then $Tuple2([StringEntry(xys, mess)], unit) |
---|
13 | 13 | | else throw("Вы не можете to create") |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|