@@ -251,7 +251,7 @@ contract GNS is Managed, IGNS {
251
251
bytes32 _subgraphDeploymentID ,
252
252
bytes32 _versionMetadata ,
253
253
bytes32 _subgraphMetadata
254
- ) external override onlyGraphAccountOwner (_graphAccount) {
254
+ ) external override notPaused onlyGraphAccountOwner (_graphAccount) {
255
255
uint256 subgraphNumber = graphAccountSubgraphNumbers[_graphAccount];
256
256
_publishVersion (_graphAccount, subgraphNumber, _subgraphDeploymentID, _versionMetadata);
257
257
graphAccountSubgraphNumbers[_graphAccount]++ ;
@@ -273,7 +273,7 @@ contract GNS is Managed, IGNS {
273
273
uint256 _subgraphNumber ,
274
274
bytes32 _subgraphDeploymentID ,
275
275
bytes32 _versionMetadata
276
- ) external override onlyGraphAccountOwner (_graphAccount) {
276
+ ) external override notPaused onlyGraphAccountOwner (_graphAccount) {
277
277
require (
278
278
isPublished (_graphAccount, _subgraphNumber),
279
279
"GNS: Cannot update version if not published, or has been deprecated "
@@ -321,6 +321,7 @@ contract GNS is Managed, IGNS {
321
321
function deprecateSubgraph (address _graphAccount , uint256 _subgraphNumber )
322
322
external
323
323
override
324
+ notPaused
324
325
onlyGraphAccountOwner (_graphAccount)
325
326
{
326
327
require (
@@ -409,7 +410,7 @@ contract GNS is Managed, IGNS {
409
410
address _graphAccount ,
410
411
uint256 _subgraphNumber ,
411
412
uint256 _tokens
412
- ) external override {
413
+ ) external override notPartialPaused {
413
414
NameCurationPool storage namePool = nameSignals[_graphAccount][_subgraphNumber];
414
415
require (namePool.disabled == false , "GNS: Cannot be disabled " );
415
416
require (
@@ -429,7 +430,7 @@ contract GNS is Managed, IGNS {
429
430
address _graphAccount ,
430
431
uint256 _subgraphNumber ,
431
432
uint256 _nSignal
432
- ) external override {
433
+ ) external override notPartialPaused {
433
434
address nameCurator = msg .sender ;
434
435
NameCurationPool storage namePool = nameSignals[_graphAccount][_subgraphNumber];
435
436
uint256 curatorNSignal = namePool.curatorNSignal[nameCurator];
@@ -471,7 +472,11 @@ contract GNS is Managed, IGNS {
471
472
* @param _graphAccount Subgraph owner
472
473
* @param _subgraphNumber Subgraph owners subgraph number which was curated on by nameCurators
473
474
*/
474
- function withdraw (address _graphAccount , uint256 _subgraphNumber ) external override {
475
+ function withdraw (address _graphAccount , uint256 _subgraphNumber )
476
+ external
477
+ override
478
+ notPartialPaused
479
+ {
475
480
NameCurationPool storage namePool = nameSignals[_graphAccount][_subgraphNumber];
476
481
require (namePool.disabled == true , "GNS: Name bonding curve must be disabled first " );
477
482
require (namePool.withdrawableGRT > 0 , "GNS: No more GRT to withdraw " );
0 commit comments