mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
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:
parent
a7ab7524da
commit
686450bdad
|
|
@ -1 +0,0 @@
|
|||
{"councilnft": "0x4bc01028a7f1a56e267ecabd735567cdb1fc7744"}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"councilnft": "0x9a676e781a523b5d0c0e43731313a708cb607508"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue