mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-18 19:43:09 -06:00
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. |
||
|---|---|---|
| .. | ||
| 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.