A state bank may adopt bylaws. The power to adopt, amend, or repeal bylaws or adopt new bylaws is vested in the board of directors unless reserved to the shareholders by the articles of incorporation. The bylaws of a state bank may contain any provisions for the regulation and management of the affairs of the state bank not inconsistent with law or the articles of incorporation.