tx · BDnwasaEHXRW4LwFrEmsSef1Z8VpwZzASDZkAyTAgNLN

3N1xkaQQ1yMkyL78yJ2e41DoLz3WzuU56gb:  -0.09000000 Waves

2020.08.08 16:42 [1123541] smart account 3N1xkaQQ1yMkyL78yJ2e41DoLz3WzuU56gb > SELF 0.00000000 Waves

{ "type": 13, "id": "BDnwasaEHXRW4LwFrEmsSef1Z8VpwZzASDZkAyTAgNLN", "fee": 9000000, "feeAssetId": null, "timestamp": 1596894200287, "version": 1, "sender": "3N1xkaQQ1yMkyL78yJ2e41DoLz3WzuU56gb", "senderPublicKey": "9xfw9zVWmncBh1JvRgpabJWLy7rYt8VSo7rFSDvGz5Lc", "proofs": [ "32UMwS4ubpfY6nQpseAG1bMxgpJbaowVT9DnCmrbj4CRiCrayW3iy2hgYaMVm8vBfs99GeYuLYwzt7B4G1B5BrA7" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAEAAAAAAVscEtleQIAAAALbGFzdFBheW1lbnQAAAAABWxpS2V5AgAAAApiZXN0Rm9tb2VyAAAAAAVsaEtleQIAAAAGaGVpZ2h0AAAAAANkYXkAAAAAAAAAAAYAAAACAAAAAWkBAAAAC2ZlYXJtaXNzaW5nAAAAAAQAAAAHcGF5bWVudAQAAAAHJG1hdGNoMAgFAAAAAWkAAAAHcGF5bWVudAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQXR0YWNoZWRQYXltZW50BAAAAAFwBQAAAAckbWF0Y2gwBAAAAAckbWF0Y2gxCAUAAAABcAAAAAdhc3NldElkAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAAApCeXRlVmVjdG9yBAAAAAdhc3NldElkBQAAAAckbWF0Y2gxCQAAAgAAAAECAAAAD2ZvbW8gd2F2ZXMgb25seQgFAAAAAXAAAAAGYW1vdW50CQAAAgAAAAECAAAAGHBheW1lbnQgbXVzdCBiZSBhdHRhY2hlZAQAAAALbGFzdFBheW1lbnQEAAAAByRtYXRjaDAJAAQaAAAAAgUA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1123541, "spentComplexity": 0 } View: original | compacted Prev: 1331NisAJzqYPPrPkWsjcHTLiS26MUYf7onxGuu8jjLF Next: 7mpDrwKB3wmVwuLkLU9urMfyKEDkSuBQovCWpCtGffvc Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "lastPayment"
55
66 let b = "bestFomoer"
77
88 let c = "height"
99
1010 let d = 6
1111
1212 @Callable(e)
1313 func fearmissing () = {
1414 let f = {
1515 let g = e.payment
1616 if ($isInstanceOf(g, "AttachedPayment"))
1717 then {
1818 let h = g
1919 let i = h.assetId
2020 if ($isInstanceOf(i, "ByteVector"))
2121 then {
2222 let j = i
2323 throw("fomo waves only")
2424 }
2525 else h.amount
2626 }
2727 else throw("payment must be attached")
2828 }
2929 let k = {
3030 let g = getInteger(this, "lastPayment")
3131 if ($isInstanceOf(g, "Int"))
3232 then {
3333 let h = g
3434 h
3535 }
3636 else 0
3737 }
3838 if ((k >= f))
3939 then throw(("min payment is " + toString(f)))
4040 else WriteSet([DataEntry(a, f), DataEntry(b, e.caller.bytes), DataEntry(c, height)])
4141 }
4242
4343
4444
4545 @Callable(e)
4646 func withdraw () = {
4747 let l = (e.caller.bytes == extract(getBinary(this, b)))
4848 let m = ((extract(getInteger(this, c)) - height) >= d)
4949 let n = if (m)
5050 then l
5151 else false
5252 if (n)
5353 then TransferSet([ScriptTransfer(e.caller, wavesBalance(this), unit)])
5454 else throw("behold")
5555 }
5656
5757

github/deemru/w8io/026f985 
31.25 ms