mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
This change updates token entitlement data structures and allows for multiple tokens to be set for a single role, permitting the AND operation for multiple token requirements. It also decodes structs when creating a space and setting a new token entitlement. Added new tests for multiple tokens gating a role. Also generates localhost AND Goerli ABIs. Forge and integration tests all pass |
||
|---|---|---|
| .. | ||
| contracts | ||
| contract_addresses.go | ||
| README.md | ||
| store.go | ||
| store_types.go | ||
| user_identifier.go | ||
| web3_util.go | ||
| zion.go | ||
| zion_authorization.go | ||
| zion_space_manager_localhost.go | ||
Purpose
Additional packaages 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.