tx · 5HCKs9x6ai9oPEiCdKf2egzWKHNRKYsSZsKwnKv6JBPo
3N6VaHuWDMQBP3XfVkEAPvj9KaWaJY9YUyD: -0.01000000 Waves
2022.02.02 15:31 [1905976] smart account 3N6VaHuWDMQBP3XfVkEAPvj9KaWaJY9YUyD > SELF 0.00000000 Waves
{
"type": 13,
"id": "5HCKs9x6ai9oPEiCdKf2egzWKHNRKYsSZsKwnKv6JBPo",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1643805148598,
"version": 2,
"chainId": 84,
"sender": "3N6VaHuWDMQBP3XfVkEAPvj9KaWaJY9YUyD",
"senderPublicKey": "6URDbKVAGUFEYC9aBpLyJQvChgjEony73gqT52zDebYs",
"proofs": [
"3BDk4CDQqrPjLzYscQ2TE9vpWZXyy4LRkAgLEuwJTYbc7B4RD8ch6zcctzUneXH2S5vdqQQuQhyk3vW5YPSHWZVD"
],
"script": "base64:BQQAAAAGc2VuZGVyCQAEJQAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIEAAAADGlzUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfBQAAAAZzZW5kZXIFAAAABHVuaXQDAwUAAAAMaXNQcm9mZXNzZXVyBgkAAAAAAAACBQAAAAR0aGlzCAUAAAACdHgAAAAGc2VuZGVyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQe1Xz/6",
"height": 1905976,
"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 |
---|