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
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