mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Adds functionality on space factory to do an NFT check before creating a space (#1526)
This PR does a couple of things: 1. Adds a flag on `spaceFactory` to check if the `createSpace` function is gated by a token address 2. Adds a flag on `spaceFactory` to pause the protocol when making changes like updating the implementations or enabling the token gating checks; if the protocol is paused, it will also prevent creating new spaces. --------- Co-authored-by: Tak Wai Wong <64229756+tak-hntlabs@users.noreply.github.com>
This commit is contained in:
parent
590cf48031
commit
a9d5e11e69
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"spaceFactory": "0x173b6a4Ec998A0e72656e0fc9Af2408B017C12f9",
|
||||
"spaceToken": "0xD7efA82c6CEa706B396F4FfA23f0D01726F675cc"
|
||||
"spaceToken": "0xD7efA82c6CEa706B396F4FfA23f0D01726F675cc",
|
||||
"pioneerToken": ""
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"spaceFactory": "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0",
|
||||
"spaceToken": "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853"
|
||||
"spaceToken": "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
||||
"pioneerToken": ""
|
||||
}
|
||||
Loading…
Reference in a new issue