tx · 7WfgNjobT61uLuN4f1ezS6GQaKNZPALR5uUoKMN2ffyb

3MxUEQMLCQy92vWyDRLx3fNfbo5VveAy7Mv:  -0.01000000 Waves

2019.09.07 18:06 [665819] smart account 3MxUEQMLCQy92vWyDRLx3fNfbo5VveAy7Mv > SELF 0.00000000 Waves

{ "type": 13, "id": "7WfgNjobT61uLuN4f1ezS6GQaKNZPALR5uUoKMN2ffyb", "fee": 1000000, "feeAssetId": null, "timestamp": 1567868774101, "version": 1, "sender": "3MxUEQMLCQy92vWyDRLx3fNfbo5VveAy7Mv", "senderPublicKey": "FcA9vD3Fad2Dn3vyDJLgcWLWxyAGL1Wy3Fjim9w3M2q6", "proofs": [ "5xMHNuoyHzf38UHK2npL5iqJQGZok3FCPk6HAxC819gohvEGsDiEmPxdCQi3NhubtXtFd8e5vnq38SFP4ytDiJK6" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAAdkZXBvc2l0AAAAAAQAAAADcG10CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQDCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkCQAAAgAAAAECAAAAEURPTlQgV0FOVCBUTyBXT1JLBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADWN1cnJlbnRBbW91bnQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAAAluZXdBbW91bnQJAABkAAAAAgUAAAANY3VycmVudEFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAACmN1cnJlbnRLZXkFAAAACW5ld0Ftb3VudAUAAAADbmlsAAAAAFLuO28=", "chainId": 84, "height": 665819, "spentComplexity": 0 } View: original | compacted Prev: none Next: CMD6FsRM6Udesn4qqf3s9KTy5WQAgk4GBonxFUjkjYfG Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(i)
7+func deposit () = {
8+ let pmt = extract(i.payment)
9+ if (isDefined(pmt.assetId))
10+ then throw("DONT WANT TO WORK")
11+ else {
12+ let currentKey = toBase58String(i.caller.bytes)
13+ let currentAmount = match getInteger(this, currentKey) {
14+ case a: Int =>
15+ a
16+ case _ =>
17+ 0
18+ }
19+ let newAmount = (currentAmount + pmt.amount)
20+ WriteSet([DataEntry(currentKey, newAmount)])
21+ }
22+ }
23+
24+

github/deemru/w8io/026f985 
23.30 ms