Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: snapshot-labs/snapshot-strategies
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: NFTGalaxy/snapshot-strategies
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 22, 2022

  1. Copy the full SHA
    25e6bc8 View commit details
Showing with 8 additions and 4 deletions.
  1. +4 −3 src/strategies/galaxy-nft-with-score/examples.json
  2. +4 −1 src/strategies/galaxy-nft-with-score/index.ts
7 changes: 4 additions & 3 deletions src/strategies/galaxy-nft-with-score/examples.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"params": {
"symbol": "SUPA",
"params": {
"NFTCoreAddress": ["0x60F6A3e7EF786CB301AE0AA0E6F37fE84DC48345"],
"NFTCoreAddress": ["0x86835C3B8fA69f8F31C72477C7776A3B61dbAC92"],
"blacklistNFTID": ["4"],
"configs": [
{
@@ -40,8 +40,9 @@
"0xe5fF2C80759db9408dC9fD22b155b851Cd5aAA94",
"0xBaE38Bf54f2aA0e6159f3d9B656300f61DBd2ED3",
"0x5924EB6A482CeA85e23403E448257FbE5c58A9ed",
"0xD02BAE47fD93325fd0cc3d660B73D8f93C4D7B5E"
"0xD02BAE47fD93325fd0cc3d660B73D8f93C4D7B5E",
"0xfDAc618DDB79f77eb2Ea5c52b7c50f8f728DAFce"
],
"snapshot": 24549784
"snapshot": 26049784
}
]
5 changes: 4 additions & 1 deletion src/strategies/galaxy-nft-with-score/index.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import fetch from 'cross-fetch';
import { subgraphRequest } from '../../utils';

export const author = 'alberthaotan';
export const version = '0.3.1';
export const version = '0.3.2';

const Networks: {
[network: string]: {
@@ -73,6 +73,9 @@ export async function strategy(
},
id: true,
nfts: {
__args: {
first: 1000
},
tokenID: true,
ownership: {
owner: true