This PR does a couple of things:
1. Adds a flag on `spaceFactory` to check if the `createSpace` function
is gated by a token address
2. Adds a flag on `spaceFactory` to pause the protocol when making
changes like updating the implementations or enabling the token gating
checks; if the protocol is paused, it will also prevent creating new
spaces.
---------
Co-authored-by: Tak Wai Wong <64229756+tak-hntlabs@users.noreply.github.com>
smart contract now returns the permissions as strings so that the client
doesn't have to parse bytes into strings. Fix spaceShim
to handle the different behaviors between localhost and goerli because contract changes are not yet deployed to goerli.