texuf
2391862965
new local contract addresses ( #1551 )
2023-02-21 15:59:08 -08:00
texuf
8b552589e4
Update zioneer local contract addresses ( #1509 )
2023-02-16 12:41:39 -08:00
Tak Wai Wong
a25ca83eb8
Tak/fix client regressions due to contract changes ( #1466 )
...
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.
2023-02-10 10:26:44 -08:00
texuf
8a688ef92a
Update contract addresses ( #1354 )
2023-01-27 16:08:13 -08:00
Giuseppe Rodriguez
d7cabc8352
Clean up Spaces V1 contracts and testing ( #1273 )
2023-01-27 15:15:01 -08:00
Giuseppe Rodriguez
fdc253e2ae
deploy spaces v2 ( #1235 )
2023-01-17 17:26:08 -08:00
Tak Wai Wong
7f3d10905a
regenerate json addresses ( #1218 )
...
json addresses changed when i run the deploy script on a new instance of
anvil. Regenerated the json
2023-01-13 09:39:22 -08:00
Evan Salzbrenner
45185aaed0
fix space manager deployment json order ( #1164 )
2023-01-03 12:58:14 -08:00
texuf
1d13259cf1
New localhost contract addresses ( #1160 )
2023-01-02 10:38:56 -08:00
Evan Salzbrenner
83fbf169ec
regenerate contract addresses ( #1159 )
2022-12-30 14:58:56 -08:00
Giuseppe Rodriguez
197e74169c
Creates SpacesUpgrade script to update the implementation address of a space on space factory and space ( #1156 )
2022-12-29 20:33:41 -08:00
Tak Wai Wong
982ce71aad
fix dendrite to interact with v1 / v2 contracts ( #1155 )
...
dendrite uses commandline flag v1 or v2 to choose the smart contracts for the isEntitled check
2022-12-29 15:37:03 -08:00
Giuseppe Rodriguez
d04b25996e
Space v2 Updates ( #1145 )
2022-12-28 20:23:01 -08:00
Tak Wai Wong
751030a658
Add a config flag on dendrite to switch between zion contracts v1 / v2 ( #1151 )
...
Temporary flag to implement v2 smart contract integration. Once v2 is
done, will remove this flag.
2022-12-28 18:56:40 -08:00
Giuseppe Rodriguez
6aa7e26d52
Space Manager v2 with Upgradeability ( #1005 )
2022-12-27 18:26:43 -08:00
Tak Wai Wong
ad3be52a8d
hnt-535 add modify role function to change roleName, permissions, token and user entitlement data ( #1141 )
...
- Add new functions to modify role name, permissions, token entitlement
and user entitlement with a single call
- Add new solidity tests for the new functions
- Re-generated TypeScript and Go types for both localhost and goerli
2022-12-27 14:27:02 -08:00
Tak Wai Wong
88c1b4c7b5
Refactor SpaceManager.createRole to take additional parameters ( #1137 )
...
Fixes hnt-445. This change would let the client create a new role by
paying gas 1 time instead of 8+ times.
Re-generated the localhost types
2022-12-22 12:54:46 -08:00
Tak Wai Wong
a8127f9bdc
Re-generate contract types due to ZionSpaceManger.sol changes ( #1015 )
...
- fix build-contract-types.sh to generate goerli
- re-generate types after ZionSpaceManager.sol changes.
2022-11-30 19:46:54 -08:00
Tak Wai Wong
6d6c85aadc
Revert from space manager when adding duplicate roleId ( #948 )
...
- space manager catches error when adding roleId to channels so that
client can get meaningful error
- Update the createChannel tests to expect the new error AddRoleFailed
- Re-generate localhost and goerli types
2022-11-16 13:43:59 -08:00
Pat Fives
b9e047dfac
Refactor to track roles associated with channels ( #915 )
...
update interfaces to set and remove space entitlements or channel roles
all forge tests passing
all integration tests passing
2022-11-14 20:41:25 -08:00
Tak Wai Wong
22230a238a
Make module type property available in the contract + publish client types ( #923 )
...
Add the new property moduleType to EntitlementModuleInfo.
Re-generate the typescript types, Go types, and the abi
2022-11-14 10:27:34 -08:00
Tak Wai Wong
df41f84bfa
generate localhost and goerli types ( #895 )
2022-11-09 14:23:54 -08:00
Tak Wai Wong
29dabec35e
fix copy path of the deploy script ( #856 )
2022-11-07 11:53:26 -08:00
Tak Wai Wong
147b17eccf
write out the rolemanager address in the json ( #837 )
...
Need the address to implement the ZionRoleManagerShim
I ran this in zion-governance/ and it worked :
forge script scripts/Local.s.sol:DeployLocal --rpc-url
http://localhost:8545/ --private-key … --broadcast
space-manager.json has the rolemanager address
2022-11-04 14:04:03 -07:00
Giuseppe Rodriguez
686450bdad
HNT-320-321 Updates create channel to take role ids and makes contract types script simpler ( #807 )
...
Closes HNT-320
Co-authored-by: Tak Wai Wong <64229756+tak-hntlabs@users.noreply.github.com>
2022-11-03 21:35:44 -07:00