quasvel
Version:
Access and interact with Aragon Organizations and their apps.
32 lines (29 loc) • 628 B
text/typescript
import gql from 'graphql-tag'
export const TOKEN = (type: string) => gql`
${type} MiniMeToken($tokenManagerAddress: String!) {
miniMeTokens(where: {
appAddress: $tokenManagerAddress
}) {
id
address
totalSupply
transferable
name
symbol
appAddress
orgAddress
}
}
`
export const TOKEN_HOLDERS = (type: string) => gql`
${type} TokenHolders($tokenAddress: String!, $first: Int!, $skip: Int!) {
tokenHolders(where: {
tokenAddress: $tokenAddress
}, first: $first, skip: $skip) {
id
address
balance
tokenAddress
}
}
`