dendrite/zion
Pat Fives 4c9f469a0c Update token entitlement logic to handle multiple tokens, decode entitlement data into structs (#729)
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
2022-10-25 21:02:11 -07:00
..
contracts Update token entitlement logic to handle multiple tokens, decode entitlement data into structs (#729) 2022-10-25 21:02:11 -07:00
contract_addresses.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
README.md Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
store.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
store_types.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
user_identifier.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
web3_util.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
zion.go Setup foundry to build abi.json files (#509) 2022-09-23 14:20:03 -07:00
zion_authorization.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
zion_space_manager_localhost.go HNT-121 Add createChannel function to space manager (#611) 2022-10-13 14:34:52 -07:00

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.