tx · 7TeBZtLXQutrdRGyxit71dgH7Pzy2Xjnnh2Bgjcv8ZwQ
3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf: -0.01000000 Waves
2022.01.12 14:58 [1875704] smart account 3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf > SELF 0.00000000 Waves
{
"type": 13,
"id": "7TeBZtLXQutrdRGyxit71dgH7Pzy2Xjnnh2Bgjcv8ZwQ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1641988722939,
"version": 2,
"chainId": 84,
"sender": "3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf",
"senderPublicKey": "5ate1da9rhtGuHpuEAd28pTGh1GpM8SUthHy4JD2hPeL",
"proofs": [
"3cYboYeWjB4JcXjonPJrcB1cUzGVKvwYU6tAtTj4cyBqozkxUh1HMFkrZjNddz9UZiiFwukLQUyaDqNv4VRa22y2"
],
"script": "base64:AAIFAAAAAAAAAGsIAhIGCgQICAgIEgUKAwgICBoGCgFhEgFpGggKAWISA25vbRoPCgFjEgpwcm9mZXNzZXVyGhIKAWQSDWV0YWJsaXNzZW1lbnQaCwoBZRIGZWxldmVzGgcKAWYSAnR4GgsKAWcSBnZlcmlmeQAAAAAAAAACAAAAAWEBAAAAE2NyZWF0ZU9yTW9kaWZ5Q2xhc3MAAAAEAAAAAWIAAAABYwAAAAFkAAAAAWUJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAFiAgAAAAFfBQAAAAFjAgAAAAFfBQAAAAFkBQAAAAFlBQAAAANuaWwAAAABYQEAAAALZGVsZXRlQ2xhc3MAAAADAAAAAWIAAAABYwAAAAFkCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAABYgIAAAABXwUAAAABYwIAAAABXwUAAAABZAUAAAADbmlsAAAAAQAAAAFmAQAAAAFnAAAAAAbT9HDE",
"height": 1875704,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 84wx4nhbJas45gFR3awk2Pxo54xAbkugrmLgSiQxPZET
Next: 9yQV5JaUTEHHdTg2s51qF4uzNCaSrVHXszaYGKRd6Pzw
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func createClass (nom,enseignant,etablissement) = $Tuple2([StringEntry("Nom", nom), StringEntry("Professeur", enseignant), StringEntry("Etablissement", etablissement)], "test") |
---|
| 7 | + | func createOrModifyClass (nom,professeur,etablissement,eleves) = [StringEntry(((((nom + "_") + professeur) + "_") + etablissement), eleves)] |
---|
| 8 | + | |
---|
| 9 | + | |
---|
| 10 | + | |
---|
| 11 | + | @Callable(i) |
---|
| 12 | + | func deleteClass (nom,professeur,etablissement) = [DeleteEntry(((((nom + "_") + professeur) + "_") + etablissement))] |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func createClass (nom,enseignant,etablissement) = $Tuple2([StringEntry("Nom", nom), StringEntry("Professeur", enseignant), StringEntry("Etablissement", etablissement)], "test") |
---|
| 7 | + | func createOrModifyClass (nom,professeur,etablissement,eleves) = [StringEntry(((((nom + "_") + professeur) + "_") + etablissement), eleves)] |
---|
| 8 | + | |
---|
| 9 | + | |
---|
| 10 | + | |
---|
| 11 | + | @Callable(i) |
---|
| 12 | + | func deleteClass (nom,professeur,etablissement) = [DeleteEntry(((((nom + "_") + professeur) + "_") + etablissement))] |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
11 | 16 | | func verify () = true |
---|
12 | 17 | | |
---|