tx · 2LwWDkwsVqnjrou276LiojLECoinWXdAoNnfHn1LQ4Jj

3N5dk6ALYrURV5F5TY9Ax2ZRNduZ7uHUeGU:  -0.01400000 Waves

2019.10.25 18:49 [735832] smart account 3N5dk6ALYrURV5F5TY9Ax2ZRNduZ7uHUeGU > SELF 0.00000000 Waves

{ "type": 13, "id": "2LwWDkwsVqnjrou276LiojLECoinWXdAoNnfHn1LQ4Jj", "fee": 1400000, "feeAssetId": null, "timestamp": 1572018575092, "version": 1, "sender": "3N5dk6ALYrURV5F5TY9Ax2ZRNduZ7uHUeGU", "senderPublicKey": "9RGZAkWvfSnebEmAGbHSDZzH1dkNbGBgtyn7mr8ZR9xn", "proofs": [ "NNDqZzNEj1HUn6wXgoVR2aZxFcb5KshGB4W24j7371bhFHSHp7VaF8uAZxBAXWjNUqWqYKB9RDZeq3z8wHZwupe" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAManVsaWVuUHViS2V5AgAAACw2eDNVUUFCSmp1dkdCY2czUExoTDgxRU1xZEM1aEhtTXl6TjFyTGJ1Qm1DdQAAAAEAAAAKaW52b2NhdGlvbgEAAAAJd3JpdGVOb3RlAAAAAQAAAARub3RlBAAAAA1zZW5kZXJBZGRyZXNzCQACWAAAAAEICAUAAAAKaW52b2NhdGlvbgAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADHNlbmRlclB1YktleQkAAlgAAAABCAUAAAAKaW52b2NhdGlvbgAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAADHNlbmRlclB1YktleQUAAAAManVsaWVuUHViS2V5CQAAAgAAAAECAAAAHEp1bGllbiBhcnLDqnRlIGRlIG0nZWNyaXJlISEJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1zZW5kZXJBZGRyZXNzBQAAAARub3RlBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAA1zZW5kZXJBZGRyZXNzAAAAAAAF9eEABQAAAAR1bml0BQAAAANuaWwAAAAACGF+Xg==", "chainId": 84, "height": 735832, "spentComplexity": 0 } View: original | compacted Prev: EYsMT9P9yTKJXRvjLVTMnm6NcxwudorTDKq9n9VnhXhA Next: none Diff:
OldNewDifferences
99 let senderPubKey = toBase58String(invocation.callerPublicKey)
1010 if ((senderPubKey == julienPubKey))
1111 then throw("Julien arrĂȘte de m'ecrire!!")
12- else WriteSet([DataEntry(senderAddress, note)])
12+ else ScriptResult(WriteSet([DataEntry(senderAddress, note)]), TransferSet([ScriptTransfer(addressFromStringValue(senderAddress), 100000000, unit)]))
1313 }
1414
1515
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let julienPubKey = "6x3UQABJjuvGBcg3PLhL81EMqdC5hHmMyzN1rLbuBmCu"
55
66 @Callable(invocation)
77 func writeNote (note) = {
88 let senderAddress = toBase58String(invocation.caller.bytes)
99 let senderPubKey = toBase58String(invocation.callerPublicKey)
1010 if ((senderPubKey == julienPubKey))
1111 then throw("Julien arrĂȘte de m'ecrire!!")
12- else WriteSet([DataEntry(senderAddress, note)])
12+ else ScriptResult(WriteSet([DataEntry(senderAddress, note)]), TransferSet([ScriptTransfer(addressFromStringValue(senderAddress), 100000000, unit)]))
1313 }
1414
1515

github/deemru/w8io/169f3d6 
25.09 ms