Function: changeStfxSwap(address _swap)
Setter for the internal Swap contract. Can only be changed by the current spot owner.
Inputs
_swap
Control: Full.
Constraints: Must be a nonzero address.
Impact: Decides which contract implementation is used for swapping tokens.
Branches and code coverage (including function calls)
Intended branches
Can be set by spot owner.
Negative behavior
Cannot be set to zero address.
Cannot be set by non--spot-owner.