@@ -370,7 +370,7 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
370
370
uint256 tokens = curation.burn (namePool.subgraphDeploymentID, namePool.vSignal, 0 );
371
371
372
372
// Take the owner cut of the curation tax, add it to the total
373
- uint32 curationTaxPercentage = curation.getCurationTaxPercentage ();
373
+ uint32 curationTaxPercentage = curation.curationTaxPercentage ();
374
374
uint256 tokensWithTax = _chargeOwnerTax (tokens, _graphAccount, curationTaxPercentage);
375
375
376
376
// Update pool: constant nSignal, vSignal can change
@@ -557,9 +557,9 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
557
557
558
558
// The total after tax, plus owner partial repay, divided by
559
559
// the tax, to adjust it slightly upwards. ex:
560
- // 100 GRT, 5 GRT Tax, owner pays 100% --> 5 GRT
561
- // To get 100 in the protocol after tax, Owner deposits
562
- // ~5.26, as ~105.26 * .95 = 100
560
+ // 100 GRT, 5 GRT Tax, owner pays 100% --> 5 GRT
561
+ // To get 100 in the protocol after tax, Owner deposits
562
+ // ~5.26, as ~105.26 * .95 = 100
563
563
uint256 totalAdjustedUp = totalWithOwnerTax.mul (MAX_PPM).div (
564
564
uint256 (MAX_PPM).sub (uint256 (_curationTaxPercentage))
565
565
);
@@ -587,8 +587,8 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
587
587
uint256 _tokensIn
588
588
)
589
589
public
590
- view
591
590
override
591
+ view
592
592
returns (
593
593
uint256 ,
594
594
uint256 ,
@@ -615,7 +615,7 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
615
615
address _graphAccount ,
616
616
uint256 _subgraphNumber ,
617
617
uint256 _nSignalIn
618
- ) public view override returns (uint256 , uint256 ) {
618
+ ) public override view returns (uint256 , uint256 ) {
619
619
NameCurationPool storage namePool = nameSignals[_graphAccount][_subgraphNumber];
620
620
uint256 vSignal = nSignalToVSignal (_graphAccount, _subgraphNumber, _nSignalIn);
621
621
uint256 tokensOut = curation ().signalToTokens (namePool.subgraphDeploymentID, vSignal);
@@ -633,7 +633,7 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
633
633
address _graphAccount ,
634
634
uint256 _subgraphNumber ,
635
635
uint256 _vSignalIn
636
- ) public view override returns (uint256 ) {
636
+ ) public override view returns (uint256 ) {
637
637
NameCurationPool storage namePool = nameSignals[_graphAccount][_subgraphNumber];
638
638
639
639
// Handle initialization by using 1:1 version to name signal
@@ -661,7 +661,7 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
661
661
address _graphAccount ,
662
662
uint256 _subgraphNumber ,
663
663
uint256 _nSignalIn
664
- ) public view override returns (uint256 ) {
664
+ ) public override view returns (uint256 ) {
665
665
NameCurationPool storage namePool = nameSignals[_graphAccount][_subgraphNumber];
666
666
return
667
667
BancorFormula (bondingCurve).calculateSaleReturn (
@@ -683,7 +683,7 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
683
683
address _graphAccount ,
684
684
uint256 _subgraphNumber ,
685
685
address _curator
686
- ) public view override returns (uint256 ) {
686
+ ) public override view returns (uint256 ) {
687
687
return nameSignals[_graphAccount][_subgraphNumber].curatorNSignal[_curator];
688
688
}
689
689
@@ -695,8 +695,8 @@ contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
695
695
*/
696
696
function isPublished (address _graphAccount , uint256 _subgraphNumber )
697
697
public
698
- view
699
698
override
699
+ view
700
700
returns (bool )
701
701
{
702
702
return subgraphs[_graphAccount][_subgraphNumber] != 0 ;
0 commit comments