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>
This commit is contained in:
Giuseppe Rodriguez 2022-11-03 21:35:44 -07:00 committed by GitHub
parent a7ab7524da
commit 686450bdad
7 changed files with 44 additions and 32 deletions

View file

@ -1 +0,0 @@
{"councilnft": "0x4bc01028a7f1a56e267ecabd735567cdb1fc7744"}

View file

@ -1 +0,0 @@
{"councilnft": "0x9a676e781a523b5d0c0e43731313a708cb607508"}

View file

@ -7,15 +7,15 @@ import (
"github.com/matrix-org/dendrite/authorization"
roomserver "github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/setup/config"
zion_goerli "github.com/matrix-org/dendrite/zion/contracts/goerli/zion_goerli"
zion_localhost "github.com/matrix-org/dendrite/zion/contracts/localhost/zion_localhost"
zion_goerli "github.com/matrix-org/dendrite/zion/contracts/zion_goerli"
zion_localhost "github.com/matrix-org/dendrite/zion/contracts/zion_localhost"
log "github.com/sirupsen/logrus"
)
//go:embed contracts/localhost/addresses/space-manager.json
//go:embed contracts/zion_localhost/space-manager.json
var localhostJson []byte
//go:embed contracts/goerli/addresses/space-manager.json
//go:embed contracts/zion_goerli/space-manager.json
var goerliJson []byte
type ZionAuthorization struct {