tx · EYsMT9P9yTKJXRvjLVTMnm6NcxwudorTDKq9n9VnhXhA
3N5dk6ALYrURV5F5TY9Ax2ZRNduZ7uHUeGU: -0.01400000 Waves
2019.10.25 18:42 [735828] smart account 3N5dk6ALYrURV5F5TY9Ax2ZRNduZ7uHUeGU > SELF 0.00000000 Waves
{
"type": 13,
"id": "EYsMT9P9yTKJXRvjLVTMnm6NcxwudorTDKq9n9VnhXhA",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572018127472,
"version": 1,
"sender": "3N5dk6ALYrURV5F5TY9Ax2ZRNduZ7uHUeGU",
"senderPublicKey": "9RGZAkWvfSnebEmAGbHSDZzH1dkNbGBgtyn7mr8ZR9xn",
"proofs": [
"Lm2mLyrJMNHeyvpCAjXNaUadbCdn6VeQECjg31bPuNuEvSETTqGaoJJ3m6Z784vqQxuTnZEhUFHfVvGrbYXDt1u"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAManVsaWVuUHViS2V5AgAAACw2eDNVUUFCSmp1dkdCY2czUExoTDgxRU1xZEM1aEhtTXl6TjFyTGJ1Qm1DdQAAAAEAAAAKaW52b2NhdGlvbgEAAAAJd3JpdGVOb3RlAAAAAQAAAARub3RlBAAAAA1zZW5kZXJBZGRyZXNzCQACWAAAAAEICAUAAAAKaW52b2NhdGlvbgAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADHNlbmRlclB1YktleQkAAlgAAAABCAUAAAAKaW52b2NhdGlvbgAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAADHNlbmRlclB1YktleQUAAAAManVsaWVuUHViS2V5CQAAAgAAAAECAAAAHEp1bGllbiBhcnLDqnRlIGRlIG0nZWNyaXJlISEJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADXNlbmRlckFkZHJlc3MFAAAABG5vdGUFAAAAA25pbAAAAADznlcg",
"chainId": 84,
"height": 735828,
"spentComplexity": 0
}
View: original | compacted
Prev: Djdd5QEvHp8V2sZ2dyC4tLKTLCh4xvxWxgupEWpGfApC
Next: 2LwWDkwsVqnjrou276LiojLECoinWXdAoNnfHn1LQ4Jj
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = "6x3UQABJjuvGBcg3PLhL81EMqdC5hHmMyzN1rLbuBmCu" |
---|
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'ecrire!!") |
---|
| 12 | + | else WriteSet([DataEntry(d, c)]) |
---|
10 | 13 | | } |
---|
11 | 14 | | |
---|
12 | 15 | | |
---|