tx · 4HxQjzJKjWTLHKGeps8yGGzEm25jccQvxSkpMWuA6mWf

3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH:  -0.01000000 Waves

2021.10.31 04:38 [1769841] smart account 3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH > SELF 0.00000000 Waves

{ "type": 13, "id": "4HxQjzJKjWTLHKGeps8yGGzEm25jccQvxSkpMWuA6mWf", "fee": 1000000, "feeAssetId": null, "timestamp": 1635644331973, "version": 2, "chainId": 84, "sender": "3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH", "senderPublicKey": "6it1s6XyHkFTbzgCJPXSeHjyLYixDHy6hJgzzfbntDGB", "proofs": [ "3RoRRQiyfQffGEP5QKp1PUbRQhi2rdPK9ccGemPaR7NseqVS2nzZvQGAhkUDj2fVJa8fRpvYZYazTYxbsfC5n2vv" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQEAAAAFAAAAAAZtZHN0aWQBAAAAIAYu1kRFDCnSZz0aQgjpMvwys70UJVtRnhDUh1FQYpqKAAAAAAtnb29kYWNjb3VudAIAAAAjM016WHFvMnJCeGMzWEVLUFZjWUhEcnNnUDdqbUU2Y0dnNkMAAAAADU9yYWNsZUFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVQFgs5g7sHJWLf0iLmoL9RVDbyuM78yCVYAAAAAA3VzZAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAANT3JhY2xlQWRkcmVzcwIAAAAHdXNkcmF0ZQEAAAALaXNQYXltZW50T2sAAAABAAAAAWkDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAUUGF5bWVudCBub3QgYXR0YWNoZWQEAAAAAXAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAAByRtYXRjaDAIBQAAAAFwAAAAB2Fzc2V0SWQJAABnAAAAAggFAAAAAXAAAAAGYW1vdW50AAAAAAAAmJaAAAAAAgAAAAFpAQAAAAdidXltZHN0AAAAAQAAAAl0aGVTdHJpbmcDCQEAAAALaXNQYXltZW50T2sAAAABBQAAAAFpBAAAAAJwcAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAEYW1udAgFAAAAAnBwAAAABmFtb3VudAQAAAAKbWRzdGFtb3VudAkAAGgAAAACCQAAaAAAAAIJAABpAAAAAgUAAAAEYW1udAAAAAAABfXhAAUAAAADdXNkAAAAAAAAACcQCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAKbWRzdGFtb3VudAUAAAAGbWRzdGlkBQAAAANuaWwJAAACAAAAAQIAAAAdV3JvbmcgcGF5bWVudCBhbW91bnQgb3IgYXNzZXQAAAABaQEAAAAKY2hhbmdlcmF0ZQAAAAEAAAAEcmF0ZQQAAAAHY29tcGFyZQkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIDCQAAAAAAAAIFAAAAB2NvbXBhcmUFAAAAC2dvb2RhY2NvdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAd1c2RyYXRlBQAAAARyYXRlBQAAAANuaWwJAAACAAAAAQIAAAALQkFEIEFDQ09VTlQAAAAArvTX1Q==", "height": 1769841, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AzcpqYDUQBEABs6gEnS52hQ1prNVN3SVEwt9xjmsjHNc Next: BPx6ZqErW9PSEpC8ZuWiudXZCu4ZfxXJ4gZqXPrNAwWY Diff:
OldNewDifferences
2323 then {
2424 let j = f.payments[0]
2525 let k = j.amount
26- let l = (((k / 100000000) * d) * 1000000)
26+ let l = (((k / 100000000) * d) * 10000)
2727 [ScriptTransfer(f.caller, l, a)]
2828 }
2929 else throw("Wrong payment amount or asset")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'R8sQUmwwAENBL6B5ejGztDh3RzJ3MbKRqK7GtspFxKT'
55
66 let b = "3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C"
77
88 let c = Address(base58'3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH')
99
1010 let d = getIntegerValue(c, "usdrate")
1111
1212 func e (f) = if ((size(f.payments) == 0))
1313 then throw("Payment not attached")
1414 else {
1515 let g = f.payments[0]
1616 let h = g.assetId
1717 (g.amount >= 10000000)
1818 }
1919
2020
2121 @Callable(f)
2222 func buymdst (i) = if (e(f))
2323 then {
2424 let j = f.payments[0]
2525 let k = j.amount
26- let l = (((k / 100000000) * d) * 1000000)
26+ let l = (((k / 100000000) * d) * 10000)
2727 [ScriptTransfer(f.caller, l, a)]
2828 }
2929 else throw("Wrong payment amount or asset")
3030
3131
3232
3333 @Callable(f)
3434 func changerate (m) = {
3535 let n = toString(f.caller)
3636 if ((n == b))
3737 then [IntegerEntry("usdrate", m)]
3838 else throw("BAD ACCOUNT")
3939 }
4040
4141

github/deemru/w8io/026f985 
26.42 ms