tx · 73Fw3M9YDcjmxovpfaNBA6NHgVUPf9UTRvwxriYyx3SH
3N6TWF1n3WohTkKrR7MbTJfa9Bk5fwy9tak: -0.01400000 Waves
2019.10.25 14:55 [735619] smart account 3N6TWF1n3WohTkKrR7MbTJfa9Bk5fwy9tak > SELF 0.00000000 Waves
{
"type": 13,
"id": "73Fw3M9YDcjmxovpfaNBA6NHgVUPf9UTRvwxriYyx3SH",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572004549281,
"version": 1,
"sender": "3N6TWF1n3WohTkKrR7MbTJfa9Bk5fwy9tak",
"senderPublicKey": "5ZQhvV8Zg4eMgFAFswEv8cgYAUwmTpCQvrzm9TGSjQ9c",
"proofs": [
"4Lcx2K17z9HCnSNa876MXJVBz5Jfg8nCR1CB1AsrKjYC4xrpSMLdeTfmPjCwU8VL4EbDXziNEAw7CPJFVyRL2p1T"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAManVsaWVuUHViS2V5AgAAACw0Z0hUSHo4UHN0NGh6VHhoRkpHWnBWNWhnU1o4WDluQTRMNTMzczZZSHZnTAAAAAEAAAAKaW52b2NhdGlvbgEAAAAJd3JpdGVOb3RlAAAAAQAAAARub3RlBAAAAA1zZW5kZXJBZGRyZXNzCQACWAAAAAEICAUAAAAKaW52b2NhdGlvbgAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADHNlbmRlclB1YktleQkAAlgAAAABCAUAAAAKaW52b2NhdGlvbgAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAADHNlbmRlclB1YktleQUAAAAManVsaWVuUHViS2V5CQAAAgAAAAECAAAAHkp1bGllbiBhcnLDqnRlIGRlIG0nw6ljcmlyZSEhIQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAANc2VuZGVyQWRkcmVzcwUAAAAEbm90ZQUAAAADbmlsAAAAAEJ4vm4=",
"chainId": 84,
"height": 735619,
"spentComplexity": 0
}
View: original | compacted
Prev: GZoQXueZFB8YTqcdam6yJQZXbbMdjdPtAhTSgG8rRZbX
Next: EnoteMbGMUENak2bwXcSCAKpgUyquFypFQdFpndwEq3N
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = "4gHTHz8Pst4hzTxhFJGZpV5hgSZ8X9nA4L533s6YHvgL" |
---|
4 | 5 | | |
---|
5 | | - | |
---|
6 | | - | @Callable(a) |
---|
7 | | - | func writeNote (b) = { |
---|
8 | | - | let c = toBase58String(a.caller.bytes) |
---|
9 | | - | WriteSet([DataEntry(c, b)]) |
---|
| 6 | + | @Callable(b) |
---|
| 7 | + | func writeNote (c) = { |
---|
| 8 | + | let d = toBase58String(b.caller.bytes) |
---|
| 9 | + | let e = toBase58String(b.callerPublicKey) |
---|
| 10 | + | if ((e == a)) |
---|
| 11 | + | then throw("Julien arrĂȘte de m'Ă©crire!!!") |
---|
| 12 | + | else WriteSet([DataEntry(d, c)]) |
---|
10 | 13 | | } |
---|
11 | 14 | | |
---|
12 | 15 | | |
---|