dendrite/zion
Giuseppe Rodriguez 7d6ffad2de Audit Fixes 1 - Removes OZ Ownable from Space contract and makes checks for space token ownership to see if caller is space owner (#1424)
Removing the OpenZeppelin ownership logic, and, checking directly for
the ownership of the Space’s SpaceOwner NFT. The SpaceFactory could be
the owner during the bootstrapping phase, and afterwards, could transfer
the NFT to the proper owner. Doing a direct check like
_spaceOwner().ownerOf(tokenId) == _msgSender() would be safe because
that’s what the owner entitlement is going to check eventually.

---------

Co-authored-by: Kerem Kazan <kerem.kazan@gmail.com>
2023-02-07 15:57:39 -08:00
..
contracts Audit Fixes 1 - Removes OZ Ownable from Space contract and makes checks for space token ownership to see if caller is space owner (#1424) 2023-02-07 15:57:39 -08:00
contract_addresses.go delete v1 smart contract-related code from dendrite (#1263) 2023-01-19 17:08:30 -08:00
README.md Sync dendrite fork changes for gating, and single chain support (#778) 2022-11-01 11:09:34 -07:00
space_contract.go Add goerli types to client lib and dendrite (#1247) 2023-01-19 09:42:09 -08:00
space_contract_goerli.go Add goerli types to client lib and dendrite (#1247) 2023-01-19 09:42:09 -08:00
space_contract_localhost.go Add goerli types to client lib and dendrite (#1247) 2023-01-19 09:42:09 -08:00
store.go matrix room Id does not resolve to channelId or spaceId correctly (#1010) 2022-11-30 20:12:00 -08: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
util_converters.go fix dendrite to interact with v1 / v2 contracts (#1155) 2022-12-29 15:37:03 -08:00
util_web3.go fix dendrite to interact with v1 / v2 contracts (#1155) 2022-12-29 15:37:03 -08:00
zion.go Setup foundry to build abi.json files (#509) 2022-09-23 14:20:03 -07:00
zion_authorization.go delete v1 smart contract-related code from dendrite (#1263) 2023-01-19 17:08:30 -08:00

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.