tx · GGV27HnZ2PHg8eWaDSVGHawJdVq7bBoBdB28o8JM1ebN
3NC1VvVoNHnMviyo2Qh7Ygc9jaKuXcXuV2T: -0.05000000 Waves
2022.02.02 17:15 [1906083] smart account 3NC1VvVoNHnMviyo2Qh7Ygc9jaKuXcXuV2T > SELF 0.00000000 Waves
{
"type": 13,
"id": "GGV27HnZ2PHg8eWaDSVGHawJdVq7bBoBdB28o8JM1ebN",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1643811316930,
"version": 2,
"chainId": 84,
"sender": "3NC1VvVoNHnMviyo2Qh7Ygc9jaKuXcXuV2T",
"senderPublicKey": "D18d3J9uA3G9iHzSmhZnNrPaB9U9QWXbQ1JU8YetN2oQ",
"proofs": [
"3ii4EuSo38pwUy9PabF5YaEfZqBLEocTwV3s9DhL4WTXAqyCutP91A2Yss3PMgKLfp49qeUVvseUxxfojaP7i72o"
],
"script": "base64:BQQAAAAGc2VuZGVyCQAEJQAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIEAAAADGlzUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfBQAAAAZzZW5kZXIFAAAABHVuaXQDAwUAAAAMaXNQcm9mZXNzZXVyBgkAAAAAAAACBQAAAAR0aGlzCAUAAAACdHgAAAAGc2VuZGVyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQQAAAAQcHVibGljUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfCQAEsAAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAEdW5pdAbEJRMS",
"height": 1906083,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7asmvjhHb9Bh4X52xoy4ZGepWsJ91LwjRmas99o5as88
Next: AzgbraTTN4r6HeRiVCKQ12a6b4U5w5Etn8SD5V49JPmL
Diff:
Old | New | | Differences |
---|
8 | 8 | | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
9 | 9 | | else { |
---|
10 | 10 | | let publicProfesseur = (getString(("professeur_" + toUtf8String(tx.proofs[1]))) != unit) |
---|
11 | | - | if (publicProfesseur) |
---|
12 | | - | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.proofs[2]) |
---|
13 | | - | else false |
---|
| 11 | + | true |
---|
14 | 12 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let sender = toString(tx.sender) |
---|
4 | 4 | | let isProfesseur = (getString(("professeur_" + sender)) != unit) |
---|
5 | 5 | | if (if (isProfesseur) |
---|
6 | 6 | | then true |
---|
7 | 7 | | else (this == tx.sender)) |
---|
8 | 8 | | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
9 | 9 | | else { |
---|
10 | 10 | | let publicProfesseur = (getString(("professeur_" + toUtf8String(tx.proofs[1]))) != unit) |
---|
11 | | - | if (publicProfesseur) |
---|
12 | | - | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.proofs[2]) |
---|
13 | | - | else false |
---|
| 11 | + | true |
---|
14 | 12 | | } |
---|