tx · 2trvkevJXRbVoNQSEYWv9TV9F7S3772nTVddXmD6CZEq
3NC8cSbgmFEyLqtxGgsiQb96WEfmmkSbeMp: -0.01000000 Waves
2022.02.02 15:15 [1905956] smart account 3NC8cSbgmFEyLqtxGgsiQb96WEfmmkSbeMp > SELF 0.00000000 Waves
{
"type": 13,
"id": "2trvkevJXRbVoNQSEYWv9TV9F7S3772nTVddXmD6CZEq",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1643804138117,
"version": 2,
"chainId": 84,
"sender": "3NC8cSbgmFEyLqtxGgsiQb96WEfmmkSbeMp",
"senderPublicKey": "2PVsBoUmZ148Lj511VcKBFjyJyppyV3kiw1HvfY6HYbN",
"proofs": [
"4ecp6oNwymW3nxzRB7MExbzxxEtEfZ11UWr9m27TVXRN5sQ82TeewXfpxwd9BG5XdeErqxuyK25koQn21bim5eyc"
],
"script": "base64:BQQAAAAGc2VuZGVyCQAEJQAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIEAAAADGlzUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfBQAAAAZzZW5kZXIFAAAABHVuaXQDAwUAAAAMaXNQcm9mZXNzZXVyBgkAAAAAAAACBQAAAAR0aGlzCAUAAAACdHgAAAAGc2VuZGVyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQe1Xz/6",
"height": 1905956,
"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 |
---|