refresh contracts and addresses (#60)

This commit is contained in:
Tak Wai Wong 2022-11-04 10:36:49 -07:00 committed by GitHub
parent 2d6cd9148b
commit a0df5f69fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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" "github.com/matrix-org/dendrite/authorization"
roomserver "github.com/matrix-org/dendrite/roomserver/api" roomserver "github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/setup/config" "github.com/matrix-org/dendrite/setup/config"
zion_goerli "github.com/matrix-org/dendrite/zion/contracts/goerli/zion_goerli" zion_goerli "github.com/matrix-org/dendrite/zion/contracts/zion_goerli"
zion_localhost "github.com/matrix-org/dendrite/zion/contracts/localhost/zion_localhost" zion_localhost "github.com/matrix-org/dendrite/zion/contracts/zion_localhost"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )
//go:embed contracts/localhost/addresses/space-manager.json //go:embed contracts/zion_localhost/space-manager.json
var localhostJson []byte var localhostJson []byte
//go:embed contracts/goerli/addresses/space-manager.json //go:embed contracts/zion_goerli/space-manager.json
var goerliJson []byte var goerliJson []byte
type ZionAuthorization struct { type ZionAuthorization struct {