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:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
4+let julienPubKey = "4gHTHz8Pst4hzTxhFJGZpV5hgSZ8X9nA4L533s6YHvgL"
55
66 @Callable(invocation)
77 func writeNote (note) = {
88 let senderAddress = toBase58String(invocation.caller.bytes)
9- WriteSet([DataEntry(senderAddress, note)])
9+ let senderPubKey = toBase58String(invocation.callerPublicKey)
10+ if ((senderPubKey == julienPubKey))
11+ then throw("Julien arrĂȘte de m'Ă©crire!!!")
12+ else WriteSet([DataEntry(senderAddress, note)])
1013 }
1114
1215

github/deemru/w8io/169f3d6 
35.86 ms