mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
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> |
||
|---|---|---|
| .. | ||
| contracts | ||
| contract_addresses.go | ||
| README.md | ||
| space_contract.go | ||
| space_contract_goerli.go | ||
| space_contract_localhost.go | ||
| store.go | ||
| store_types.go | ||
| user_identifier.go | ||
| util_converters.go | ||
| util_web3.go | ||
| zion.go | ||
| zion_authorization.go | ||
Purpose
Additional packages added for the Zion project, nothing in here should be in the Matrix Dendrite upstream, nor in the herenotthere/dendrite-fork.
The zion_space_manager_(mainnet|rinkeby|localhost).go files are generated as new versions of the smart contracts are build and deployed. The bindings are in this location so they can be built alongside the dendrite server in the build process.