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