tx · EnoteMbGMUENak2bwXcSCAKpgUyquFypFQdFpndwEq3N

3N6TWF1n3WohTkKrR7MbTJfa9Bk5fwy9tak:  -0.01400000 Waves

2019.10.25 15:03 [735626] smart account 3N6TWF1n3WohTkKrR7MbTJfa9Bk5fwy9tak > SELF 0.00000000 Waves

{ "type": 13, "id": "EnoteMbGMUENak2bwXcSCAKpgUyquFypFQdFpndwEq3N", "fee": 1400000, "feeAssetId": null, "timestamp": 1572005051737, "version": 1, "sender": "3N6TWF1n3WohTkKrR7MbTJfa9Bk5fwy9tak", "senderPublicKey": "5ZQhvV8Zg4eMgFAFswEv8cgYAUwmTpCQvrzm9TGSjQ9c", "proofs": [ "5ihNxfQzxXmMiKsw9RiKGPvvADh6oYvYvmGNVwdo5XjBPwJTA7ia7R77JxhnwW2Lpxgc4tfiFVP7S96EsveKzmo4" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAManVsaWVuUHViS2V5AgAAACw0Z0hUSHo4UHN0NGh6VHhoRkpHWnBWNWhnU1o4WDluQTRMNTMzczZZSHZnTAAAAAEAAAAKaW52b2NhdGlvbgEAAAAJd3JpdGVOb3RlAAAAAQAAAARub3RlBAAAAA1zZW5kZXJBZGRyZXNzCQACWAAAAAEICAUAAAAKaW52b2NhdGlvbgAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADHNlbmRlclB1YktleQkAAlgAAAABCAUAAAAKaW52b2NhdGlvbgAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAADHNlbmRlclB1YktleQUAAAAManVsaWVuUHViS2V5CQAAAgAAAAECAAAAHkp1bGllbiBhcnLDqnRlIGRlIG0nw6ljcmlyZSEhIQkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADXNlbmRlckFkZHJlc3MFAAAABG5vdGUFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAADXNlbmRlckFkZHJlc3MAAAAAAAX14QAFAAAABHVuaXQFAAAAA25pbAAAAAAfYWER", "chainId": 84, "height": 735626, "spentComplexity": 0 } View: original | compacted Prev: 73Fw3M9YDcjmxovpfaNBA6NHgVUPf9UTRvwxriYyx3SH Next: none Diff:
OldNewDifferences
99 let senderPubKey = toBase58String(invocation.callerPublicKey)
1010 if ((senderPubKey == julienPubKey))
1111 then throw("Julien arrête de m'écrire!!!")
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 = "4gHTHz8Pst4hzTxhFJGZpV5hgSZ8X9nA4L533s6YHvgL"
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'écrire!!!")
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 
61.56 ms