Create wrappers for state.win and state.setWager that use callbacks