tx · 9z49jvx6MfYwKayMkCdwB2s7bqVmqbekEZ5ywZUQAY9G

3Mu3a8ynAaCLMhS9KJRF6P7jF9MdSmkUsjs:  -0.01000000 Waves

2020.01.13 23:04 [852725] smart account 3Mu3a8ynAaCLMhS9KJRF6P7jF9MdSmkUsjs > SELF 0.00000000 Waves

{ "type": 13, "id": "9z49jvx6MfYwKayMkCdwB2s7bqVmqbekEZ5ywZUQAY9G", "fee": 1000000, "feeAssetId": null, "timestamp": 1578945576827, "version": 1, "sender": "3Mu3a8ynAaCLMhS9KJRF6P7jF9MdSmkUsjs", "senderPublicKey": "CMLTP12wehQXHoQ1rE9Ni7a2Tz1KTSRkN3AkXKaKm1zh", "proofs": [ "22L2AzakPsGzgtxsRppVYLGC9uzoitELp7Z6AZ5waP9THLfFKCgJcE6MB9sG9PaGdvQkeBP2NBXaFWMmSvZqV3AU" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEBEgAAAAAAAAAAAgAAAAFpAQAAAARwbGF5AAAAAQAAAAV2YWx1ZQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAKbGFzdF92YWx1ZQUAAAAFdmFsdWUFAAAAA25pbAAAAAFpAQAAAAdkZXBvc2l0AAAAAAQAAAADcG10CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQDCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkCQAAAgAAAAECAAAAIWNhbiBob2RsIHdhdmVzIG9ubHkgYXQgdGhlIG1vbWVudAQAAAANY3VycmVudEFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAdiYWxhbmNlAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAACW5ld0Ftb3VudAkAAGQAAAACBQAAAA1jdXJyZW50QW1vdW50CAUAAAADcG10AAAABmFtb3VudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAHYmFsYW5jZQUAAAAJbmV3QW1vdW50BQAAAANuaWwAAAAA8jfnyQ==", "chainId": 84, "height": 852725, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(a)
7+func play (b) = WriteSet([DataEntry("last_value", b)])
8+
9+
10+
11+@Callable(a)
12+func deposit () = {
13+ let c = extract(a.payment)
14+ if (isDefined(c.assetId))
15+ then throw("can hodl waves only at the moment")
16+ else {
17+ let d = {
18+ let e = getInteger(this, "balance")
19+ if ($isInstanceOf(e, "Int"))
20+ then {
21+ let f = e
22+ f
23+ }
24+ else 0
25+ }
26+ let g = (d + c.amount)
27+ WriteSet([DataEntry("balance", g)])
28+ }
29+ }
30+
31+

github/deemru/w8io/169f3d6 
34.21 ms