tx · FSAMFGyW3uiXZaygXS7ELcA4a7rn8VA4yzBoRjMLkuqF
3Mxos2DJ8XPdP4oxUCXCZjTsUepxjHgwiFt: -0.01000000 Waves
2022.02.02 15:17 [1905959] smart account 3Mxos2DJ8XPdP4oxUCXCZjTsUepxjHgwiFt > SELF 0.00000000 Waves
{
"type": 13,
"id": "FSAMFGyW3uiXZaygXS7ELcA4a7rn8VA4yzBoRjMLkuqF",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1643804252217,
"version": 2,
"chainId": 84,
"sender": "3Mxos2DJ8XPdP4oxUCXCZjTsUepxjHgwiFt",
"senderPublicKey": "13p5ZHpMEUNUytWp7Kq2e37Hrh3g8Fh24VHw8mdQWW7C",
"proofs": [
"iPDYNd2uyPgWqcibtD2EbkjMNp6kBLLsgbkTFcyZMSqBPCiG8hX1uZ6Z4NwP6MY1igu97N48oasUAqFHJTSDWmD"
],
"script": "base64:BQQAAAAGc2VuZGVyCQAEJQAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIEAAAADGlzUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfBQAAAAZzZW5kZXIFAAAABHVuaXQDAwUAAAAMaXNQcm9mZXNzZXVyBgkAAAAAAAACBQAAAAR0aGlzCAUAAAACdHgAAAAGc2VuZGVyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQe1Xz/6",
"height": 1905959,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let sender = toString(tx.sender) |
---|
| 4 | + | let isProfesseur = (getString(("professeur_" + sender)) != unit) |
---|
| 5 | + | if (if (isProfesseur) |
---|
| 6 | + | then true |
---|
| 7 | + | else (this == tx.sender)) |
---|
| 8 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 9 | + | else false |
---|