diff --git a/docs/subgraph/01-query-examples/01-dao-query.md b/docs/subgraph/01-query-examples/01-dao-query.md index 71be5be8..b405b520 100644 --- a/docs/subgraph/01-query-examples/01-dao-query.md +++ b/docs/subgraph/01-query-examples/01-dao-query.md @@ -8,6 +8,8 @@ sidebar_label: DAO Query The query ```ts +import {gql} from 'graphql-request'; + export const QueryDao = gql` query Dao($address: ID!) { dao(id: $address) { @@ -32,41 +34,9 @@ export const QueryDao = gql` } } `; -export const QueryDaos = gql` - query Daos( - $limit: Int! - $skip: Int! - $direction: OrderDirection! - $sortBy: Dao_orderBy! - ) { - daos( - first: $limit - skip: $skip - orderDirection: $direction - orderBy: $sortBy - ) { - id - subdomain - metadata - plugins { - appliedPreparation { - pluginAddress - } - appliedPluginRepo { - subdomain - } - appliedVersion { - build - release { - release - } - } - } - } - } -`; ``` + The return ```json @@ -95,5 +65,4 @@ The return ] } } -} -``` +} \ No newline at end of file diff --git a/docs/subgraph/01-query-examples/02-balances-query.md b/docs/subgraph/01-query-examples/02-balances-query.md index 82ee8590..7c4fd349 100644 --- a/docs/subgraph/01-query-examples/02-balances-query.md +++ b/docs/subgraph/01-query-examples/02-balances-query.md @@ -8,6 +8,8 @@ sidebar_label: Balances Query The query ```ts +import {gql} from 'graphql-request'; + export const QueryTokenBalances = gql` query TokenBalances( $where: TokenBalance_filter! @@ -61,6 +63,7 @@ export const QueryTokenBalances = gql` `; ``` + The return ```json @@ -96,5 +99,4 @@ The return } ] } -} -``` +} \ No newline at end of file diff --git a/docs/subgraph/01-query-examples/index.md b/docs/subgraph/01-query-examples/index.md index fb412861..7ecf3541 100644 --- a/docs/subgraph/01-query-examples/index.md +++ b/docs/subgraph/01-query-examples/index.md @@ -5,4 +5,4 @@ sidebar_label: Query Examples ## Querying in Subgraph -This section will contain useful queries. +This section will contain useful queries. \ No newline at end of file diff --git a/docs/subgraph/index.md b/docs/subgraph/index.md index 4f13608f..157ab145 100644 --- a/docs/subgraph/index.md +++ b/docs/subgraph/index.md @@ -8,7 +8,7 @@ sidebar_position: 0 Subgraph is a protocol for indexing and querying event data emitted from the smart contracts. -The Aragon Subgraph stores all DAO-related information, either to help users to manage and interact with their DAOs or to query useful information, such as its treasury information, members, installed plugins, etc. +The Aragon Subgraph stores all DAO-related information, either to help users to manage and interact with their DAOs or to query useful information, such as its treasury information, members, plugins, etc. ## Playground @@ -16,4 +16,4 @@ You can use the [Aragon subgraph-satsuma playground](https://subgraph.satsuma-pr ### Walkthrough -This documentation includes some [example queries](./01-query-examples/index.md) to get you familiarized with subgraph protocol and the [Reference Guide](./reference-guide/index.md) generated from the latest version of our `@aragon/osx` [subgraph schema](https://github.com/aragon/osx/blob/develop/packages/subgraph/schema.graphql). +This documentation includes some [example queries](./01-query-examples/index.md) to get you familiarized with subgraph protocol and the [Reference Guide](./reference-guide/index.md) generated from the latest version of our `@aragon/osx` [subgraph schema](https://github.com/aragon/osx/blob/develop/packages/subgraph/schema.graphql). \ No newline at end of file diff --git a/docs/subgraph/reference-guide/directives/_category_.yml b/docs/subgraph/reference-guide/directives/_category_.yml deleted file mode 100644 index 22536c37..00000000 --- a/docs/subgraph/reference-guide/directives/_category_.yml +++ /dev/null @@ -1,6 +0,0 @@ -className: hidden -label: Directives -position: 1 -link: null -collapsible: true -collapsed: true diff --git a/docs/subgraph/reference-guide/directives/deprecated.mdx b/docs/subgraph/reference-guide/directives/deprecated.mdx deleted file mode 100644 index edfb13cd..00000000 --- a/docs/subgraph/reference-guide/directives/deprecated.mdx +++ /dev/null @@ -1,69 +0,0 @@ ---- -id: deprecated -title: deprecated ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Marks an element of a GraphQL schema as no longer supported. - - -```graphql -directive @deprecated( - reason: String = "No longer supported" -) on - | ARGUMENT_DEFINITION - | ENUM_VALUE - | FIELD_DEFINITION - | INPUT_FIELD_DEFINITION -``` - - - - -### Arguments - -#### [deprecated.reason](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/). -> - - - - - diff --git a/docs/subgraph/reference-guide/directives/include.mdx b/docs/subgraph/reference-guide/directives/include.mdx deleted file mode 100644 index 9b34d5b5..00000000 --- a/docs/subgraph/reference-guide/directives/include.mdx +++ /dev/null @@ -1,68 +0,0 @@ ---- -id: include -title: include ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Directs the executor to include this field or fragment only when the `if` argument is true. - - -```graphql -directive @include( - if: Boolean! -) on - | FIELD - | FRAGMENT_SPREAD - | INLINE_FRAGMENT -``` - - - - -### Arguments - -#### [include.if](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> Included when true. -> - - - - - diff --git a/docs/subgraph/reference-guide/directives/skip.mdx b/docs/subgraph/reference-guide/directives/skip.mdx deleted file mode 100644 index 327e9e10..00000000 --- a/docs/subgraph/reference-guide/directives/skip.mdx +++ /dev/null @@ -1,68 +0,0 @@ ---- -id: skip -title: skip ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Directs the executor to skip this field or fragment when the `if` argument is true. - - -```graphql -directive @skip( - if: Boolean! -) on - | FIELD - | FRAGMENT_SPREAD - | INLINE_FRAGMENT -``` - - - - -### Arguments - -#### [skip.if](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> Skipped when true. -> - - - - - diff --git a/docs/subgraph/reference-guide/directives/specified-by.mdx b/docs/subgraph/reference-guide/directives/specified-by.mdx deleted file mode 100644 index 0c72d885..00000000 --- a/docs/subgraph/reference-guide/directives/specified-by.mdx +++ /dev/null @@ -1,65 +0,0 @@ ---- -id: specified-by -title: specifiedBy ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Exposes a URL that specifies the behavior of this scalar. - - -```graphql -directive @specifiedBy( - url: String! -) on SCALAR -``` - - - - -### Arguments - -#### [specifiedBy.url](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The URL that specifies the behavior of this scalar. -> - - - - - diff --git a/docs/subgraph/reference-guide/enums/_category_.yml b/docs/subgraph/reference-guide/enums/_category_.yml deleted file mode 100644 index c41904de..00000000 --- a/docs/subgraph/reference-guide/enums/_category_.yml +++ /dev/null @@ -1,5 +0,0 @@ -label: Enums -position: 1 -link: null -collapsible: true -collapsed: true diff --git a/docs/subgraph/reference-guide/enums/permission-operation.mdx b/docs/subgraph/reference-guide/enums/permission-operation.mdx deleted file mode 100644 index fa610fb8..00000000 --- a/docs/subgraph/reference-guide/enums/permission-operation.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -id: permission-operation -title: PermissionOperation ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -enum PermissionOperation { - Grant - GrantWithCondition - Revoke -} -``` - - - - -### Values - -#### [PermissionOperation.Grant](#) -> -> -> -> - -#### [PermissionOperation.GrantWithCondition](#) -> -> -> -> - -#### [PermissionOperation.Revoke](#) -> -> -> -> - - - - - -### Member Of - -[`PluginPermission`](/docs/subgraph/reference-guide/objects/plugin-permission) - diff --git a/docs/subgraph/reference-guide/enums/plugin-preparation-state.mdx b/docs/subgraph/reference-guide/enums/plugin-preparation-state.mdx deleted file mode 100644 index e2bfb16f..00000000 --- a/docs/subgraph/reference-guide/enums/plugin-preparation-state.mdx +++ /dev/null @@ -1,97 +0,0 @@ ---- -id: plugin-preparation-state -title: PluginPreparationState ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -enum PluginPreparationState { - InstallationPrepared - Installed - UninstallPrepared - Uninstalled - UpdatePrepared -} -``` - - - - -### Values - -#### [PluginPreparationState.InstallationPrepared](#) -> -> -> -> - -#### [PluginPreparationState.Installed](#) -> -> -> -> - -#### [PluginPreparationState.UninstallPrepared](#) -> -> -> -> - -#### [PluginPreparationState.Uninstalled](#) -> -> -> -> - -#### [PluginPreparationState.UpdatePrepared](#) -> -> -> -> - - - - - -### Member Of - -[`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) - diff --git a/docs/subgraph/reference-guide/enums/plugin-preparation-type.mdx b/docs/subgraph/reference-guide/enums/plugin-preparation-type.mdx deleted file mode 100644 index a3ef2988..00000000 --- a/docs/subgraph/reference-guide/enums/plugin-preparation-type.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -id: plugin-preparation-type -title: PluginPreparationType ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -enum PluginPreparationType { - Installation - Uninstallation - Update -} -``` - - - - -### Values - -#### [PluginPreparationType.Installation](#) -> -> -> -> - -#### [PluginPreparationType.Uninstallation](#) -> -> -> -> - -#### [PluginPreparationType.Update](#) -> -> -> -> - - - - - -### Member Of - -[`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) - diff --git a/docs/subgraph/reference-guide/enums/transfer-type.mdx b/docs/subgraph/reference-guide/enums/transfer-type.mdx deleted file mode 100644 index 0be2b4b5..00000000 --- a/docs/subgraph/reference-guide/enums/transfer-type.mdx +++ /dev/null @@ -1,85 +0,0 @@ ---- -id: transfer-type -title: TransferType ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Classifies the types of transfers from the DAO's point of view. - - -```graphql -enum TransferType { - Deposit - ExternalTransfer - Withdraw -} -``` - - - - -### Values - -#### [TransferType.Deposit](#) -> -> -> A deposit to the DAO treasury. Using either the DAO `deposit` function or executed by the DAO via proposal calling `transferFrom` as an action to transfer to itself. -> The DAO must have token approval. -> - -#### [TransferType.ExternalTransfer](#) -> -> -> When a DAO facilitates a transfer and neither the source nor the destination addresses match the DAO's. The DAO must -> have token approval to execute the transfer via proposal, acting as an intermediary in the process. -> - -#### [TransferType.Withdraw](#) -> -> -> A withdrawal form the DAO treasury. Executed by the DAO via proposal calling `transfer`. -> - - - - - -### Member Of - -[`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) - diff --git a/docs/subgraph/reference-guide/enums/vote-option.mdx b/docs/subgraph/reference-guide/enums/vote-option.mdx deleted file mode 100644 index e4e10efc..00000000 --- a/docs/subgraph/reference-guide/enums/vote-option.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -id: vote-option -title: VoteOption ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -enum VoteOption { - Abstain - No - None - Yes -} -``` - - - - -### Values - -#### [VoteOption.Abstain](#) -> -> -> -> - -#### [VoteOption.No](#) -> -> -> -> - -#### [VoteOption.None](#) -> -> -> -> - -#### [VoteOption.Yes](#) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingVote`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) [`TokenVotingVote`](/docs/subgraph/reference-guide/objects/token-voting-vote) - diff --git a/docs/subgraph/reference-guide/enums/voting-mode.mdx b/docs/subgraph/reference-guide/enums/voting-mode.mdx deleted file mode 100644 index 37f9256a..00000000 --- a/docs/subgraph/reference-guide/enums/voting-mode.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -id: voting-mode -title: VotingMode ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -enum VotingMode { - EarlyExecution - Standard - VoteReplacement -} -``` - - - - -### Values - -#### [VotingMode.EarlyExecution](#) -> -> -> -> - -#### [VotingMode.Standard](#) -> -> -> -> - -#### [VotingMode.VoteReplacement](#) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) - diff --git a/docs/subgraph/reference-guide/index.md b/docs/subgraph/reference-guide/index.md deleted file mode 100644 index 824861e6..00000000 --- a/docs/subgraph/reference-guide/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Reference Guide [WIP] -sidebar_label: Reference Guide ---- - -## Subgraph - -This section contains the auto-generated documentation of the individual entities of our graphql schema. diff --git a/docs/subgraph/reference-guide/interfaces/_category_.yml b/docs/subgraph/reference-guide/interfaces/_category_.yml deleted file mode 100644 index c7dc1005..00000000 --- a/docs/subgraph/reference-guide/interfaces/_category_.yml +++ /dev/null @@ -1,5 +0,0 @@ -label: Interfaces -position: 1 -link: null -collapsible: true -collapsed: true diff --git a/docs/subgraph/reference-guide/interfaces/iplugin.mdx b/docs/subgraph/reference-guide/interfaces/iplugin.mdx deleted file mode 100644 index 91383aa4..00000000 --- a/docs/subgraph/reference-guide/interfaces/iplugin.mdx +++ /dev/null @@ -1,94 +0,0 @@ ---- -id: iplugin -title: IPlugin ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -interface IPlugin { - dao: Dao! - id: ID! - installations: [PluginInstallation!]! - pluginAddress: Bytes! -} -``` - - - - -### Fields - -#### [IPlugin.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [IPlugin.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [IPlugin.installations](#)[`[PluginInstallation!]!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [IPlugin.pluginAddress](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - - - - - -### Member Of - -[`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) - -### Implemented By - -[`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) - diff --git a/docs/subgraph/reference-guide/interfaces/iproposal.mdx b/docs/subgraph/reference-guide/interfaces/iproposal.mdx deleted file mode 100644 index 4c6dd838..00000000 --- a/docs/subgraph/reference-guide/interfaces/iproposal.mdx +++ /dev/null @@ -1,150 +0,0 @@ ---- -id: iproposal -title: IProposal ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -interface IProposal { - actions: [Action!]! - allowFailureMap: BigInt! - createdAt: BigInt! - creator: Bytes! - dao: Dao! - endDate: BigInt! - executed: Boolean! - executionTxHash: Bytes - failureMap: BigInt - id: ID! - metadata: String - startDate: BigInt! -} -``` - - - - -### Fields - -#### [IProposal.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [IProposal.allowFailureMap](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [IProposal.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [IProposal.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [IProposal.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [IProposal.endDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [IProposal.executed](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [IProposal.executionTxHash](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [IProposal.failureMap](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [IProposal.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [IProposal.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [IProposal.startDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - - - - - -### Member Of - -[`Action`](/docs/subgraph/reference-guide/objects/action) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) - -### Implemented By - -[`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/interfaces/token-balance.mdx b/docs/subgraph/reference-guide/interfaces/token-balance.mdx deleted file mode 100644 index 7207259d..00000000 --- a/docs/subgraph/reference-guide/interfaces/token-balance.mdx +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: token-balance -title: TokenBalance ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Balance of the DAO for any kind of token. Each entity implementing this interface can be queried as TokenBalance. - - -```graphql -interface TokenBalance { - dao: Dao! - id: ID! - lastUpdated: BigInt! -} -``` - - - - -### Fields - -#### [TokenBalance.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that holds the Tokens -> - -#### [TokenBalance.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of DAO Smart contract address and Token Smart Contract address. Joined by '_'. -> - -#### [TokenBalance.lastUpdated](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The block timestamp of the last update (transfer) for this token balance. -> - - - - - -### Member Of - -[`Dao`](/docs/subgraph/reference-guide/objects/dao) - -### Implemented By - -[`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) [`ERC20Balance`](/docs/subgraph/reference-guide/objects/erc20-balance) [`ERC721Balance`](/docs/subgraph/reference-guide/objects/erc721-balance) [`NativeBalance`](/docs/subgraph/reference-guide/objects/native-balance) - diff --git a/docs/subgraph/reference-guide/interfaces/token-transfer.mdx b/docs/subgraph/reference-guide/interfaces/token-transfer.mdx deleted file mode 100644 index 4ace49dc..00000000 --- a/docs/subgraph/reference-guide/interfaces/token-transfer.mdx +++ /dev/null @@ -1,122 +0,0 @@ ---- -id: token-transfer -title: TokenTransfer ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). - - -```graphql -interface TokenTransfer { - createdAt: BigInt! - dao: Dao! - from: Bytes! - id: ID! - proposal: IProposal - to: Bytes! - txHash: Bytes! - type: TransferType! -} -``` - - - - -### Fields - -#### [TokenTransfer.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The timestamp of the block including transfer. -> - -#### [TokenTransfer.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that manages the transfer. -> - -#### [TokenTransfer.from](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address from which the tokens are being transferred. -> - -#### [TokenTransfer.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of the transfer transaction hash, the log index and the action index. Joined by '_'. -> - -#### [TokenTransfer.proposal](#)[`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> The associated DAO proposal, if applicable. Using the DAO `deposit` function there's no need for proposal. -> - -#### [TokenTransfer.to](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address receiving the transfer. -> - -#### [TokenTransfer.txHash](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The hash of the transfer to track the transaction. -> - -#### [TokenTransfer.type](#)[`TransferType!`](/docs/subgraph/reference-guide/enums/transfer-type) -> -> -> The type of transfer (External, Withdraw, Deposit) from the DAO's POV. -> - - - - - -### Member Of - -[`Dao`](/docs/subgraph/reference-guide/objects/dao) - -### Implemented By - -[`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) - diff --git a/docs/subgraph/reference-guide/interfaces/token.mdx b/docs/subgraph/reference-guide/interfaces/token.mdx deleted file mode 100644 index 969d79a6..00000000 --- a/docs/subgraph/reference-guide/interfaces/token.mdx +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: token -title: Token ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Interface representing a generic token. Each entity implementing this interface can be queried as Token. - - -```graphql -interface Token { - id: ID! - name: String - symbol: String -} -``` - - - - -### Fields - -#### [Token.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The address of the Token Smart Contract. -> - -#### [Token.name](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The name of the token, mirrored from the smart contract. -> - -#### [Token.symbol](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The symbol of the token, mirrored from the smart contract. -> - - - - - -### Member Of - -[`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) - -### Implemented By - -[`ERC1155Contract`](/docs/subgraph/reference-guide/objects/erc1155-contract) [`ERC20Contract`](/docs/subgraph/reference-guide/objects/erc20-contract) [`ERC20WrapperContract`](/docs/subgraph/reference-guide/objects/erc20-wrapper-contract) [`ERC721Contract`](/docs/subgraph/reference-guide/objects/erc721-contract) - diff --git a/docs/subgraph/reference-guide/objects/_category_.yml b/docs/subgraph/reference-guide/objects/_category_.yml deleted file mode 100644 index 9febaa24..00000000 --- a/docs/subgraph/reference-guide/objects/_category_.yml +++ /dev/null @@ -1,5 +0,0 @@ -label: Objects -position: 1 -link: null -collapsible: true -collapsed: true diff --git a/docs/subgraph/reference-guide/objects/action.mdx b/docs/subgraph/reference-guide/objects/action.mdx deleted file mode 100644 index 10f574cd..00000000 --- a/docs/subgraph/reference-guide/objects/action.mdx +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: action -title: Action ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Actions are represented by solidity struct and executed by the DAO's `execute` function, resulting in an external call. - - -```graphql -type Action { - dao: Dao! - data: Bytes! - execResult: Bytes - id: ID! - proposal: IProposal! - to: Bytes! - value: BigInt! -} -``` - - - - -### Fields - -#### [Action.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that will `execute` the function. -> - -#### [Action.data](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The bytes-encoded function selector and calldata for the call. -> - -#### [Action.execResult](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The result obtained from the executed action in `bytes`. -> - -#### [Action.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> Concatenation of the proposalID and the index of the action. Joined by '_'. -> - -#### [Action.proposal](#)[`IProposal!`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> The proposal of the DAO containing the action to be executed. -> - -#### [Action.to](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The address to call. -> - -#### [Action.value](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The native token value to be sent with the call. -> - - - - - -### Member Of - -[`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/objects/addresslist-voting-plugin.mdx b/docs/subgraph/reference-guide/objects/addresslist-voting-plugin.mdx deleted file mode 100644 index 8c1c325c..00000000 --- a/docs/subgraph/reference-guide/objects/addresslist-voting-plugin.mdx +++ /dev/null @@ -1,154 +0,0 @@ ---- -id: addresslist-voting-plugin -title: AddresslistVotingPlugin ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AddresslistVotingPlugin implements IPlugin { - dao: Dao! - id: ID! - installations: [PluginInstallation!]! - members: [AddresslistVotingVoter!]! - minDuration: BigInt - minParticipation: BigInt - minProposerVotingPower: BigInt - pluginAddress: Bytes! - proposalCount: BigInt - proposals: [AddresslistVotingProposal!]! - supportThreshold: BigInt - votingMode: VotingMode -} -``` - - - - -### Fields - -#### [AddresslistVotingPlugin.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [AddresslistVotingPlugin.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> TODO: attributes should be appended to Plugin once plugin is seperated from Aragon OSx -> - -#### [AddresslistVotingPlugin.installations](#)[`[PluginInstallation!]!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [AddresslistVotingPlugin.members](#)[`[AddresslistVotingVoter!]!`](/docs/subgraph/reference-guide/objects/addresslist-voting-voter) -> -> -> -> - -#### [AddresslistVotingPlugin.minDuration](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingPlugin.minParticipation](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingPlugin.minProposerVotingPower](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingPlugin.pluginAddress](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [AddresslistVotingPlugin.proposalCount](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingPlugin.proposals](#)[`[AddresslistVotingProposal!]!`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) -> -> -> -> - -#### [AddresslistVotingPlugin.supportThreshold](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingPlugin.votingMode](#)[`VotingMode`](/docs/subgraph/reference-guide/enums/voting-mode) -> -> -> -> - -### Interfaces - -#### [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AddresslistVotingVoter`](/docs/subgraph/reference-guide/objects/addresslist-voting-voter) - diff --git a/docs/subgraph/reference-guide/objects/addresslist-voting-proposal.mdx b/docs/subgraph/reference-guide/objects/addresslist-voting-proposal.mdx deleted file mode 100644 index d6d25829..00000000 --- a/docs/subgraph/reference-guide/objects/addresslist-voting-proposal.mdx +++ /dev/null @@ -1,287 +0,0 @@ ---- -id: addresslist-voting-proposal -title: AddresslistVotingProposal ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AddresslistVotingProposal implements IProposal { - abstain: BigInt - actions: [Action!]! - allowFailureMap: BigInt! - approvalReached: Boolean! - castedVotingPower: BigInt - createdAt: BigInt! - creationBlockNumber: BigInt! - creator: Bytes! - dao: Dao! - earlyExecutable: Boolean - endDate: BigInt! - executed: Boolean! - executionBlockNumber: BigInt - executionDate: BigInt - executionTxHash: Bytes - failureMap: BigInt - id: ID! - isSignaling: Boolean! - metadata: String - minVotingPower: BigInt! - no: BigInt - open: Boolean! - plugin: AddresslistVotingPlugin! - pluginProposalId: BigInt! - snapshotBlock: BigInt! - startDate: BigInt! - supportThreshold: BigInt! - totalVotingPower: BigInt! - voters: [AddresslistVotingVote!]! - votingMode: VotingMode! - yes: BigInt -} -``` - - - - -### Fields - -#### [AddresslistVotingProposal.abstain](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [AddresslistVotingProposal.allowFailureMap](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.approvalReached](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AddresslistVotingProposal.castedVotingPower](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.creationBlockNumber](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [AddresslistVotingProposal.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [AddresslistVotingProposal.earlyExecutable](#)[`Boolean`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AddresslistVotingProposal.endDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.executed](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AddresslistVotingProposal.executionBlockNumber](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.executionDate](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.executionTxHash](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [AddresslistVotingProposal.failureMap](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [AddresslistVotingProposal.isSignaling](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AddresslistVotingProposal.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [AddresslistVotingProposal.minVotingPower](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.no](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.open](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AddresslistVotingProposal.plugin](#)[`AddresslistVotingPlugin!`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) -> -> -> -> - -#### [AddresslistVotingProposal.pluginProposalId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.snapshotBlock](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.startDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.supportThreshold](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.totalVotingPower](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingProposal.voters](#)[`[AddresslistVotingVote!]!`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) -> -> -> -> - -#### [AddresslistVotingProposal.votingMode](#)[`VotingMode!`](/docs/subgraph/reference-guide/enums/voting-mode) -> -> -> -> - -#### [AddresslistVotingProposal.yes](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -### Interfaces - -#### [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingVote`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) - diff --git a/docs/subgraph/reference-guide/objects/addresslist-voting-vote.mdx b/docs/subgraph/reference-guide/objects/addresslist-voting-vote.mdx deleted file mode 100644 index ae0d91cd..00000000 --- a/docs/subgraph/reference-guide/objects/addresslist-voting-vote.mdx +++ /dev/null @@ -1,118 +0,0 @@ ---- -id: addresslist-voting-vote -title: AddresslistVotingVote ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AddresslistVotingVote { - createdAt: BigInt! - id: ID! - proposal: AddresslistVotingProposal! - updatedAt: BigInt! - voteOption: VoteOption! - voteReplaced: Boolean! - voter: AddresslistVotingVoter! - votingPower: BigInt! -} -``` - - - - -### Fields - -#### [AddresslistVotingVote.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingVote.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> VoterProposal for Many-to-Many -> - -#### [AddresslistVotingVote.proposal](#)[`AddresslistVotingProposal!`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) -> -> -> -> - -#### [AddresslistVotingVote.updatedAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AddresslistVotingVote.voteOption](#)[`VoteOption!`](/docs/subgraph/reference-guide/enums/vote-option) -> -> -> -> - -#### [AddresslistVotingVote.voteReplaced](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AddresslistVotingVote.voter](#)[`AddresslistVotingVoter!`](/docs/subgraph/reference-guide/objects/addresslist-voting-voter) -> -> -> -> - -#### [AddresslistVotingVote.votingPower](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AddresslistVotingVoter`](/docs/subgraph/reference-guide/objects/addresslist-voting-voter) - diff --git a/docs/subgraph/reference-guide/objects/addresslist-voting-voter.mdx b/docs/subgraph/reference-guide/objects/addresslist-voting-voter.mdx deleted file mode 100644 index aae85421..00000000 --- a/docs/subgraph/reference-guide/objects/addresslist-voting-voter.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -id: addresslist-voting-voter -title: AddresslistVotingVoter ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AddresslistVotingVoter { - address: String - id: ID! - plugin: AddresslistVotingPlugin! - proposals: [AddresslistVotingVote!]! -} -``` - - - - -### Fields - -#### [AddresslistVotingVoter.address](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [AddresslistVotingVoter.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [AddresslistVotingVoter.plugin](#)[`AddresslistVotingPlugin!`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) -> -> -> -> - -#### [AddresslistVotingVoter.proposals](#)[`[AddresslistVotingVote!]!`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingVote`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) - diff --git a/docs/subgraph/reference-guide/objects/admin-plugin.mdx b/docs/subgraph/reference-guide/objects/admin-plugin.mdx deleted file mode 100644 index 1594ee3b..00000000 --- a/docs/subgraph/reference-guide/objects/admin-plugin.mdx +++ /dev/null @@ -1,112 +0,0 @@ ---- -id: admin-plugin -title: AdminPlugin ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AdminPlugin implements IPlugin { - administrators: [AdministratorAdminPlugin!]! - dao: Dao! - id: ID! - installations: [PluginInstallation!]! - pluginAddress: Bytes! - proposals: [AdminProposal!]! -} -``` - - - - -### Fields - -#### [AdminPlugin.administrators](#)[`[AdministratorAdminPlugin!]!`](/docs/subgraph/reference-guide/objects/administrator-admin-plugin) -> -> -> -> - -#### [AdminPlugin.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [AdminPlugin.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> TODO: attributes should be appended to Plugin once plugin is separated from Aragon OSx -> - -#### [AdminPlugin.installations](#)[`[PluginInstallation!]!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [AdminPlugin.pluginAddress](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [AdminPlugin.proposals](#)[`[AdminProposal!]!`](/docs/subgraph/reference-guide/objects/admin-proposal) -> -> -> -> - -### Interfaces - -#### [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) -> -> -> -> - - - - - -### Member Of - -[`AdministratorAdminPlugin`](/docs/subgraph/reference-guide/objects/administrator-admin-plugin) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) - diff --git a/docs/subgraph/reference-guide/objects/admin-proposal.mdx b/docs/subgraph/reference-guide/objects/admin-proposal.mdx deleted file mode 100644 index e917d8d9..00000000 --- a/docs/subgraph/reference-guide/objects/admin-proposal.mdx +++ /dev/null @@ -1,175 +0,0 @@ ---- -id: admin-proposal -title: AdminProposal ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AdminProposal implements IProposal { - actions: [Action!]! - administrator: Administrator! - allowFailureMap: BigInt! - createdAt: BigInt! - creator: Bytes! - dao: Dao! - endDate: BigInt! - executed: Boolean! - executionTxHash: Bytes - failureMap: BigInt - id: ID! - metadata: String - plugin: AdminPlugin! - pluginProposalId: BigInt! - startDate: BigInt! -} -``` - - - - -### Fields - -#### [AdminProposal.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [AdminProposal.administrator](#)[`Administrator!`](/docs/subgraph/reference-guide/objects/administrator) -> -> -> -> - -#### [AdminProposal.allowFailureMap](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AdminProposal.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AdminProposal.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [AdminProposal.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [AdminProposal.endDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AdminProposal.executed](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [AdminProposal.executionTxHash](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [AdminProposal.failureMap](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AdminProposal.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [AdminProposal.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [AdminProposal.plugin](#)[`AdminPlugin!`](/docs/subgraph/reference-guide/objects/admin-plugin) -> -> -> -> - -#### [AdminProposal.pluginProposalId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [AdminProposal.startDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -### Interfaces - -#### [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> -> - - - - - -### Member Of - -[`Administrator`](/docs/subgraph/reference-guide/objects/administrator) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) - diff --git a/docs/subgraph/reference-guide/objects/administrator-admin-plugin.mdx b/docs/subgraph/reference-guide/objects/administrator-admin-plugin.mdx deleted file mode 100644 index 454c285f..00000000 --- a/docs/subgraph/reference-guide/objects/administrator-admin-plugin.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -id: administrator-admin-plugin -title: AdministratorAdminPlugin ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type AdministratorAdminPlugin { - administrator: Administrator! - id: ID! - plugin: AdminPlugin! -} -``` - - - - -### Fields - -#### [AdministratorAdminPlugin.administrator](#)[`Administrator!`](/docs/subgraph/reference-guide/objects/administrator) -> -> -> -> - -#### [AdministratorAdminPlugin.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> for Many-to-Many -> - -#### [AdministratorAdminPlugin.plugin](#)[`AdminPlugin!`](/docs/subgraph/reference-guide/objects/admin-plugin) -> -> -> -> - - - - - -### Member Of - -[`Administrator`](/docs/subgraph/reference-guide/objects/administrator) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) - diff --git a/docs/subgraph/reference-guide/objects/administrator.mdx b/docs/subgraph/reference-guide/objects/administrator.mdx deleted file mode 100644 index f77b40f5..00000000 --- a/docs/subgraph/reference-guide/objects/administrator.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -id: administrator -title: Administrator ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type Administrator { - address: String - id: ID! - plugins: [AdministratorAdminPlugin!]! - proposals: [AdminProposal!]! -} -``` - - - - -### Fields - -#### [Administrator.address](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [Administrator.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [Administrator.plugins](#)[`[AdministratorAdminPlugin!]!`](/docs/subgraph/reference-guide/objects/administrator-admin-plugin) -> -> -> -> - -#### [Administrator.proposals](#)[`[AdminProposal!]!`](/docs/subgraph/reference-guide/objects/admin-proposal) -> -> -> -> - - - - - -### Member Of - -[`AdministratorAdminPlugin`](/docs/subgraph/reference-guide/objects/administrator-admin-plugin) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) - diff --git a/docs/subgraph/reference-guide/objects/dao.mdx b/docs/subgraph/reference-guide/objects/dao.mdx deleted file mode 100644 index 8b02afcc..00000000 --- a/docs/subgraph/reference-guide/objects/dao.mdx +++ /dev/null @@ -1,174 +0,0 @@ ---- -id: dao -title: Dao ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type Dao { - actions: [Action!]! - balances: [TokenBalance!]! - createdAt: BigInt! - creator: Bytes! - daoURI: String - id: ID! - metadata: String - permissions: [Permission!]! - plugins: [PluginInstallation!]! - proposals: [IProposal!]! - signatureValidator: Bytes - standardCallbacks: [StandardCallback!]! - subdomain: String - token: ERC20Contract - transfers: [TokenTransfer!]! - trustedForwarder: Bytes -} -``` - - - - -### Fields - -#### [Dao.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [Dao.balances](#)[`[TokenBalance!]!`](/docs/subgraph/reference-guide/interfaces/token-balance) -> -> -> -> - -#### [Dao.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [Dao.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [Dao.daoURI](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [Dao.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [Dao.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [Dao.permissions](#)[`[Permission!]!`](/docs/subgraph/reference-guide/objects/permission) -> -> -> -> - -#### [Dao.plugins](#)[`[PluginInstallation!]!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [Dao.proposals](#)[`[IProposal!]!`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> -> - -#### [Dao.signatureValidator](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [Dao.standardCallbacks](#)[`[StandardCallback!]!`](/docs/subgraph/reference-guide/objects/standard-callback) -> -> -> -> - -#### [Dao.subdomain](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [Dao.token](#)[`ERC20Contract`](/docs/subgraph/reference-guide/objects/erc20-contract) -> -> -> -> - -#### [Dao.transfers](#)[`[TokenTransfer!]!`](/docs/subgraph/reference-guide/interfaces/token-transfer) -> -> -> -> - -#### [Dao.trustedForwarder](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - - - - - -### Member Of - -[`Action`](/docs/subgraph/reference-guide/objects/action) [`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) [`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Balance`](/docs/subgraph/reference-guide/objects/erc20-balance) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC721Balance`](/docs/subgraph/reference-guide/objects/erc721-balance) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`NativeBalance`](/docs/subgraph/reference-guide/objects/native-balance) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`Permission`](/docs/subgraph/reference-guide/objects/permission) [`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) [`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) [`StandardCallback`](/docs/subgraph/reference-guide/objects/standard-callback) [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/objects/erc1155-balance.mdx b/docs/subgraph/reference-guide/objects/erc1155-balance.mdx deleted file mode 100644 index 0d0061a4..00000000 --- a/docs/subgraph/reference-guide/objects/erc1155-balance.mdx +++ /dev/null @@ -1,112 +0,0 @@ ---- -id: erc1155-balance -title: ERC1155Balance ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The ERC1155 Token balances of the DAO. Including all Token IDs and it's amounts held by the DAO per [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). - - -```graphql -type ERC1155Balance implements TokenBalance { - balances: [ERC1155TokenIdBalance!]! - dao: Dao! - id: ID! - lastUpdated: BigInt! - metadataUri: String! - token: ERC1155Contract! -} -``` - - - - -### Fields - -#### [ERC1155Balance.balances](#)[`[ERC1155TokenIdBalance!]!`](/docs/subgraph/reference-guide/objects/erc1155-token-id-balance) -> -> -> Balance for each token ID from an [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). -> - -#### [ERC1155Balance.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that holds tokens from a [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). -> - -#### [ERC1155Balance.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of DAO Smart Contract address and [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155) address. Joined by '_'. -> - -#### [ERC1155Balance.lastUpdated](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The block timestamp of the last update (transfer) for this token balance. -> - -#### [ERC1155Balance.metadataUri](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The URI of the [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). -> - -#### [ERC1155Balance.token](#)[`ERC1155Contract!`](/docs/subgraph/reference-guide/objects/erc1155-contract) -> -> -> The [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155) instance. -> - -### Interfaces - -#### [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) -> -> -> Balance of the DAO for any kind of token. Each entity implementing this interface can be queried as TokenBalance. -> - - - - - -### Member Of - -[`ERC1155TokenIdBalance`](/docs/subgraph/reference-guide/objects/erc1155-token-id-balance) - diff --git a/docs/subgraph/reference-guide/objects/erc1155-contract.mdx b/docs/subgraph/reference-guide/objects/erc1155-contract.mdx deleted file mode 100644 index 272c93e1..00000000 --- a/docs/subgraph/reference-guide/objects/erc1155-contract.mdx +++ /dev/null @@ -1,92 +0,0 @@ ---- -id: erc1155-contract -title: ERC1155Contract ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -[ERC1155 Multi-Token Standard](https://eips.ethereum.org/EIPS/eip-1155), fungible, non-fungible, and semi-fungible tokens all in one contract, -type of Token. - - -```graphql -type ERC1155Contract implements Token { - id: ID! - name: String - symbol: String -} -``` - - - - -### Fields - -#### [ERC1155Contract.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The address of the [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). -> - -#### [ERC1155Contract.name](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The name of the [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). -> - -#### [ERC1155Contract.symbol](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The symbol of the [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155). -> - -### Interfaces - -#### [`Token`](/docs/subgraph/reference-guide/interfaces/token) -> -> -> Interface representing a generic token. Each entity implementing this interface can be queried as Token. -> - - - - - -### Member Of - -[`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) [`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) - diff --git a/docs/subgraph/reference-guide/objects/erc1155-token-id-balance.mdx b/docs/subgraph/reference-guide/objects/erc1155-token-id-balance.mdx deleted file mode 100644 index 098e4403..00000000 --- a/docs/subgraph/reference-guide/objects/erc1155-token-id-balance.mdx +++ /dev/null @@ -1,97 +0,0 @@ ---- -id: erc1155-token-id-balance -title: ERC1155TokenIdBalance ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The DAO token balance for each token within an [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155) - - -```graphql -type ERC1155TokenIdBalance { - amount: BigInt! - balance: ERC1155Balance! - id: ID! - lastUpdated: BigInt! - tokenId: BigInt! -} -``` - - - - -### Fields - -#### [ERC1155TokenIdBalance.amount](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The number of tokens held by the DAO per [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155) and token ID. -> - -#### [ERC1155TokenIdBalance.balance](#)[`ERC1155Balance!`](/docs/subgraph/reference-guide/objects/erc1155-balance) -> -> -> One to Many relationship linking with ERC1155Balance entity. -> - -#### [ERC1155TokenIdBalance.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of DAO Smart Contract address, [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155) and token ID. Joined by '_'. -> - -#### [ERC1155TokenIdBalance.lastUpdated](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The block timestamp of the last update (transfer) for this token balance. -> - -#### [ERC1155TokenIdBalance.tokenId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The ID for each different token in an [ERC1155 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-1155) held by the DAO. -> - - - - - -### Member Of - -[`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) - diff --git a/docs/subgraph/reference-guide/objects/erc1155-transfer.mdx b/docs/subgraph/reference-guide/objects/erc1155-transfer.mdx deleted file mode 100644 index d22c7b55..00000000 --- a/docs/subgraph/reference-guide/objects/erc1155-transfer.mdx +++ /dev/null @@ -1,150 +0,0 @@ ---- -id: erc1155-transfer -title: ERC1155Transfer ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Transfers of ERC1155 token associated with the DAO, including transfers sent to, received by, or intermediated by the DAO (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). - - -```graphql -type ERC1155Transfer implements TokenTransfer { - amount: BigInt! - createdAt: BigInt! - dao: Dao! - from: Bytes! - id: ID! - operator: Bytes! - proposal: IProposal - to: Bytes! - token: ERC1155Contract! - tokenId: BigInt! - txHash: Bytes! - type: TransferType! -} -``` - - - - -### Fields - -#### [ERC1155Transfer.amount](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The amount of transferred tokens. -> - -#### [ERC1155Transfer.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The timestamp of the block including the ERC1155 token transfer. -> - -#### [ERC1155Transfer.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that manages the transfer. -> - -#### [ERC1155Transfer.from](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address from which the tokens are being transferred. -> - -#### [ERC1155Transfer.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of the transfer transaction hash, the log index and the action index. Joined by '_'. -> - -#### [ERC1155Transfer.operator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address performing the token transfer. -> - -#### [ERC1155Transfer.proposal](#)[`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> The associated DAO proposal, if applicable. Using the DAO `deposit` function there's no need for proposal. -> - -#### [ERC1155Transfer.to](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address receiving the tokens. -> - -#### [ERC1155Transfer.token](#)[`ERC1155Contract!`](/docs/subgraph/reference-guide/objects/erc1155-contract) -> -> -> The ERC1155 Smart Contract Token entity involved in the transfer. -> - -#### [ERC1155Transfer.tokenId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The ID of the transferred token. -> - -#### [ERC1155Transfer.txHash](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The hash of the ERC1155 token transfer to track the transaction. -> - -#### [ERC1155Transfer.type](#)[`TransferType!`](/docs/subgraph/reference-guide/enums/transfer-type) -> -> -> The type of transfer (External, Withdraw, Deposit) from the DAO's POV. -> - -### Interfaces - -#### [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) -> -> -> Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/erc20-balance.mdx b/docs/subgraph/reference-guide/objects/erc20-balance.mdx deleted file mode 100644 index 98643a22..00000000 --- a/docs/subgraph/reference-guide/objects/erc20-balance.mdx +++ /dev/null @@ -1,101 +0,0 @@ ---- -id: erc20-balance -title: ERC20Balance ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The ERC20 Token balances for the DAO. - - -```graphql -type ERC20Balance implements TokenBalance { - balance: BigInt! - dao: Dao! - id: ID! - lastUpdated: BigInt! - token: ERC20Contract! -} -``` - - - - -### Fields - -#### [ERC20Balance.balance](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The amount of ERC20 tokens held by the DAO. -> - -#### [ERC20Balance.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that holds the ERC20 token. -> - -#### [ERC20Balance.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of DAO Smart contract address and Token Smart contract address. Joined by '_'. -> - -#### [ERC20Balance.lastUpdated](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The block timestamp of the last update (transfer) for this token balance. -> - -#### [ERC20Balance.token](#)[`ERC20Contract!`](/docs/subgraph/reference-guide/objects/erc20-contract) -> -> -> The [ERC20 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-20) instance. -> - -### Interfaces - -#### [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) -> -> -> Balance of the DAO for any kind of token. Each entity implementing this interface can be queried as TokenBalance. -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/erc20-contract.mdx b/docs/subgraph/reference-guide/objects/erc20-contract.mdx deleted file mode 100644 index f199ad89..00000000 --- a/docs/subgraph/reference-guide/objects/erc20-contract.mdx +++ /dev/null @@ -1,98 +0,0 @@ ---- -id: erc20-contract -title: ERC20Contract ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -An [ERC20 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-20), of type Token. - - -```graphql -type ERC20Contract implements Token { - decimals: Int! - id: ID! - name: String - symbol: String -} -``` - - - - -### Fields - -#### [ERC20Contract.decimals](#)[`Int!`](/docs/subgraph/reference-guide/scalars/int) -> -> -> The number of decimals of the token, mirrored from the smart contract. -> - -#### [ERC20Contract.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The address of the [ERC20 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-20). -> - -#### [ERC20Contract.name](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The name of the token, mirrored from the smart contract. -> - -#### [ERC20Contract.symbol](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The symbol of the token, mirrored from the smart contract. -> - -### Interfaces - -#### [`Token`](/docs/subgraph/reference-guide/interfaces/token) -> -> -> Interface representing a generic token. Each entity implementing this interface can be queried as Token. -> - - - - - -### Member Of - -[`Dao`](/docs/subgraph/reference-guide/objects/dao) [`ERC20Balance`](/docs/subgraph/reference-guide/objects/erc20-balance) [`ERC20WrapperContract`](/docs/subgraph/reference-guide/objects/erc20-wrapper-contract) - diff --git a/docs/subgraph/reference-guide/objects/erc20-transfer.mdx b/docs/subgraph/reference-guide/objects/erc20-transfer.mdx deleted file mode 100644 index 9e0c82a6..00000000 --- a/docs/subgraph/reference-guide/objects/erc20-transfer.mdx +++ /dev/null @@ -1,136 +0,0 @@ ---- -id: erc20-transfer -title: ERC20Transfer ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Transfers of ERC20 token associated with the DAO, including transfers sent to, received by, or intermediated by the DAO (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). - - -```graphql -type ERC20Transfer implements TokenTransfer { - amount: BigInt! - createdAt: BigInt! - dao: Dao! - from: Bytes! - id: ID! - proposal: IProposal - to: Bytes! - token: Token! - txHash: Bytes! - type: TransferType! -} -``` - - - - -### Fields - -#### [ERC20Transfer.amount](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The amount of ERC20 token transferred. -> - -#### [ERC20Transfer.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The timestamp of the block including the ERC20 token transfer. -> - -#### [ERC20Transfer.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that manages the transfer. -> - -#### [ERC20Transfer.from](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address from which the ERC20 tokens are being transferred. -> - -#### [ERC20Transfer.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of the transfer transaction hash, the log index and the action index. Joined by '_'. -> - -#### [ERC20Transfer.proposal](#)[`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> The associated DAO proposal, if applicable. Using the DAO `deposit` function there's no need for proposal. -> - -#### [ERC20Transfer.to](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address receiving the ERC20 tokens. -> - -#### [ERC20Transfer.token](#)[`Token!`](/docs/subgraph/reference-guide/interfaces/token) -> -> -> The ERC20 Smart Contract Token entity involved in the transfer. -> - -#### [ERC20Transfer.txHash](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The hash of the ERC20 token transfer to track the transaction. -> - -#### [ERC20Transfer.type](#)[`TransferType!`](/docs/subgraph/reference-guide/enums/transfer-type) -> -> -> The type of transfer (External, Withdraw, Deposit) from the DAO's POV. -> - -### Interfaces - -#### [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) -> -> -> Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/erc20-wrapper-contract.mdx b/docs/subgraph/reference-guide/objects/erc20-wrapper-contract.mdx deleted file mode 100644 index 17850295..00000000 --- a/docs/subgraph/reference-guide/objects/erc20-wrapper-contract.mdx +++ /dev/null @@ -1,101 +0,0 @@ ---- -id: erc20-wrapper-contract -title: ERC20WrapperContract ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Wrapped [ERC20 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-20). Used for token voting. - - -```graphql -type ERC20WrapperContract implements Token { - decimals: Int! - id: ID! - name: String - symbol: String - underlyingToken: ERC20Contract! -} -``` - - - - -### Fields - -#### [ERC20WrapperContract.decimals](#)[`Int!`](/docs/subgraph/reference-guide/scalars/int) -> -> -> The number of decimals of the wrapped token, mirrored from the smart contract. -> - -#### [ERC20WrapperContract.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The address of the [ERC20 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-20). -> - -#### [ERC20WrapperContract.name](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The name of the wrapped token, mirrored from the smart contract. -> - -#### [ERC20WrapperContract.symbol](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The symbol of the wrapped token, mirrored from the smart contract. -> - -#### [ERC20WrapperContract.underlyingToken](#)[`ERC20Contract!`](/docs/subgraph/reference-guide/objects/erc20-contract) -> -> -> The underlying [ERC20 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-20) this wrapper represents. -> - -### Interfaces - -#### [`Token`](/docs/subgraph/reference-guide/interfaces/token) -> -> -> Interface representing a generic token. Each entity implementing this interface can be queried as Token. -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/erc721-balance.mdx b/docs/subgraph/reference-guide/objects/erc721-balance.mdx deleted file mode 100644 index 89ed59ac..00000000 --- a/docs/subgraph/reference-guide/objects/erc721-balance.mdx +++ /dev/null @@ -1,101 +0,0 @@ ---- -id: erc721-balance -title: ERC721Balance ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The NFT balances of the DAO. Including all Token IDs held by the DAO per [ERC721 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-721). - - -```graphql -type ERC721Balance implements TokenBalance { - dao: Dao! - id: ID! - lastUpdated: BigInt! - token: ERC721Contract! - tokenIds: [BigInt!]! -} -``` - - - - -### Fields - -#### [ERC721Balance.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that holds tokens from a [ERC721 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-721). -> - -#### [ERC721Balance.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of DAO Smart Contract address and [ERC721 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-721) address. Joined by '_'. -> - -#### [ERC721Balance.lastUpdated](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The block timestamp of the last update (transfer) for this token balance. -> - -#### [ERC721Balance.token](#)[`ERC721Contract!`](/docs/subgraph/reference-guide/objects/erc721-contract) -> -> -> The [ERC721 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-721) instance. -> - -#### [ERC721Balance.tokenIds](#)[`[BigInt!]!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The NFTs from one ERC721 Contract held by the DAO. -> - -### Interfaces - -#### [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) -> -> -> Balance of the DAO for any kind of token. Each entity implementing this interface can be queried as TokenBalance. -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/erc721-contract.mdx b/docs/subgraph/reference-guide/objects/erc721-contract.mdx deleted file mode 100644 index 75885461..00000000 --- a/docs/subgraph/reference-guide/objects/erc721-contract.mdx +++ /dev/null @@ -1,91 +0,0 @@ ---- -id: erc721-contract -title: ERC721Contract ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -[ERC721 Token Standard](https://eips.ethereum.org/EIPS/eip-721), Non-Fungible Token (NFT), of type Token. - - -```graphql -type ERC721Contract implements Token { - id: ID! - name: String - symbol: String -} -``` - - - - -### Fields - -#### [ERC721Contract.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The address of the [ERC721 Token Smart Contract](https://eips.ethereum.org/EIPS/eip-721). -> - -#### [ERC721Contract.name](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The name of the token, mirrored from the smart contract. -> - -#### [ERC721Contract.symbol](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The symbol of the token, mirrored from the smart contract. -> - -### Interfaces - -#### [`Token`](/docs/subgraph/reference-guide/interfaces/token) -> -> -> Interface representing a generic token. Each entity implementing this interface can be queried as Token. -> - - - - - -### Member Of - -[`ERC721Balance`](/docs/subgraph/reference-guide/objects/erc721-balance) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) - diff --git a/docs/subgraph/reference-guide/objects/erc721-transfer.mdx b/docs/subgraph/reference-guide/objects/erc721-transfer.mdx deleted file mode 100644 index e897ca83..00000000 --- a/docs/subgraph/reference-guide/objects/erc721-transfer.mdx +++ /dev/null @@ -1,136 +0,0 @@ ---- -id: erc721-transfer -title: ERC721Transfer ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Transfers of ERC721 token associated with the DAO, including transfers sent to, received by, or intermediated by the DAO (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). - - -```graphql -type ERC721Transfer implements TokenTransfer { - createdAt: BigInt! - dao: Dao! - from: Bytes! - id: ID! - proposal: IProposal - to: Bytes! - token: ERC721Contract! - tokenId: BigInt! - txHash: Bytes! - type: TransferType! -} -``` - - - - -### Fields - -#### [ERC721Transfer.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The timestamp of the block including the ERC721 token transfer . -> - -#### [ERC721Transfer.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that manages the transfer. -> - -#### [ERC721Transfer.from](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address from which the ERC721 token is being transferred. -> - -#### [ERC721Transfer.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of the transfer transaction hash, the log index and the action index. Joined by '_'. -> - -#### [ERC721Transfer.proposal](#)[`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> The associated DAO proposal, if applicable. Using the DAO `deposit` function there's no need for proposal. -> - -#### [ERC721Transfer.to](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address receiving the ERC721 token. -> - -#### [ERC721Transfer.token](#)[`ERC721Contract!`](/docs/subgraph/reference-guide/objects/erc721-contract) -> -> -> The ERC721 Smart Contract Token entity involved in the transfer. -> - -#### [ERC721Transfer.tokenId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The ID of the transferred token. -> - -#### [ERC721Transfer.txHash](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The hash of the ERC721 token transfer to track the transaction. -> - -#### [ERC721Transfer.type](#)[`TransferType!`](/docs/subgraph/reference-guide/enums/transfer-type) -> -> -> The type of transfer (External, Withdraw, Deposit) from the DAO's POV. -> - -### Interfaces - -#### [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) -> -> -> Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/multisig-approver.mdx b/docs/subgraph/reference-guide/objects/multisig-approver.mdx deleted file mode 100644 index 8d57d1c0..00000000 --- a/docs/subgraph/reference-guide/objects/multisig-approver.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -id: multisig-approver -title: MultisigApprover ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type MultisigApprover { - address: String - id: ID! - plugin: MultisigPlugin! - proposals: [MultisigProposalApprover!]! -} -``` - - - - -### Fields - -#### [MultisigApprover.address](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [MultisigApprover.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [MultisigApprover.plugin](#)[`MultisigPlugin!`](/docs/subgraph/reference-guide/objects/multisig-plugin) -> -> -> -> - -#### [MultisigApprover.proposals](#)[`[MultisigProposalApprover!]!`](/docs/subgraph/reference-guide/objects/multisig-proposal-approver) -> -> -> -> - - - - - -### Member Of - -[`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposalApprover`](/docs/subgraph/reference-guide/objects/multisig-proposal-approver) - diff --git a/docs/subgraph/reference-guide/objects/multisig-plugin.mdx b/docs/subgraph/reference-guide/objects/multisig-plugin.mdx deleted file mode 100644 index a37842db..00000000 --- a/docs/subgraph/reference-guide/objects/multisig-plugin.mdx +++ /dev/null @@ -1,133 +0,0 @@ ---- -id: multisig-plugin -title: MultisigPlugin ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type MultisigPlugin implements IPlugin { - dao: Dao! - id: ID! - installations: [PluginInstallation!]! - members: [MultisigApprover!]! - minApprovals: Int - onlyListed: Boolean - pluginAddress: Bytes! - proposalCount: BigInt - proposals: [MultisigProposal!]! -} -``` - - - - -### Fields - -#### [MultisigPlugin.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [MultisigPlugin.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> TODO: attributes should be appended to Plugin once plugin is seperated from Aragon OSx -> - -#### [MultisigPlugin.installations](#)[`[PluginInstallation!]!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [MultisigPlugin.members](#)[`[MultisigApprover!]!`](/docs/subgraph/reference-guide/objects/multisig-approver) -> -> -> -> - -#### [MultisigPlugin.minApprovals](#)[`Int`](/docs/subgraph/reference-guide/scalars/int) -> -> -> -> - -#### [MultisigPlugin.onlyListed](#)[`Boolean`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [MultisigPlugin.pluginAddress](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [MultisigPlugin.proposalCount](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigPlugin.proposals](#)[`[MultisigProposal!]!`](/docs/subgraph/reference-guide/objects/multisig-proposal) -> -> -> -> - -### Interfaces - -#### [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) -> -> -> -> - - - - - -### Member Of - -[`MultisigApprover`](/docs/subgraph/reference-guide/objects/multisig-approver) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) - diff --git a/docs/subgraph/reference-guide/objects/multisig-proposal-approver.mdx b/docs/subgraph/reference-guide/objects/multisig-proposal-approver.mdx deleted file mode 100644 index e5423595..00000000 --- a/docs/subgraph/reference-guide/objects/multisig-proposal-approver.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -id: multisig-proposal-approver -title: MultisigProposalApprover ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type MultisigProposalApprover { - approver: MultisigApprover! - createdAt: BigInt! - id: ID! - proposal: MultisigProposal! -} -``` - - - - -### Fields - -#### [MultisigProposalApprover.approver](#)[`MultisigApprover!`](/docs/subgraph/reference-guide/objects/multisig-approver) -> -> -> -> - -#### [MultisigProposalApprover.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposalApprover.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> ApproverProposal for Many-to-Many -> - -#### [MultisigProposalApprover.proposal](#)[`MultisigProposal!`](/docs/subgraph/reference-guide/objects/multisig-proposal) -> -> -> -> - - - - - -### Member Of - -[`MultisigApprover`](/docs/subgraph/reference-guide/objects/multisig-approver) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) - diff --git a/docs/subgraph/reference-guide/objects/multisig-proposal.mdx b/docs/subgraph/reference-guide/objects/multisig-proposal.mdx deleted file mode 100644 index 2eb99993..00000000 --- a/docs/subgraph/reference-guide/objects/multisig-proposal.mdx +++ /dev/null @@ -1,231 +0,0 @@ ---- -id: multisig-proposal -title: MultisigProposal ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type MultisigProposal implements IProposal { - actions: [Action!]! - allowFailureMap: BigInt! - approvalReached: Boolean! - approvals: Int - approvers: [MultisigProposalApprover!]! - createdAt: BigInt! - creationBlockNumber: BigInt! - creator: Bytes! - dao: Dao! - endDate: BigInt! - executed: Boolean! - executionBlockNumber: BigInt - executionDate: BigInt - executionTxHash: Bytes - failureMap: BigInt - id: ID! - isSignaling: Boolean! - metadata: String - minApprovals: Int! - plugin: MultisigPlugin! - pluginProposalId: BigInt! - snapshotBlock: BigInt! - startDate: BigInt! -} -``` - - - - -### Fields - -#### [MultisigProposal.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [MultisigProposal.allowFailureMap](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.approvalReached](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [MultisigProposal.approvals](#)[`Int`](/docs/subgraph/reference-guide/scalars/int) -> -> -> -> - -#### [MultisigProposal.approvers](#)[`[MultisigProposalApprover!]!`](/docs/subgraph/reference-guide/objects/multisig-proposal-approver) -> -> -> -> - -#### [MultisigProposal.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.creationBlockNumber](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [MultisigProposal.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [MultisigProposal.endDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.executed](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [MultisigProposal.executionBlockNumber](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.executionDate](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.executionTxHash](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [MultisigProposal.failureMap](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [MultisigProposal.isSignaling](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [MultisigProposal.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [MultisigProposal.minApprovals](#)[`Int!`](/docs/subgraph/reference-guide/scalars/int) -> -> -> -> - -#### [MultisigProposal.plugin](#)[`MultisigPlugin!`](/docs/subgraph/reference-guide/objects/multisig-plugin) -> -> -> -> - -#### [MultisigProposal.pluginProposalId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.snapshotBlock](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [MultisigProposal.startDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -### Interfaces - -#### [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> -> - - - - - -### Member Of - -[`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposalApprover`](/docs/subgraph/reference-guide/objects/multisig-proposal-approver) - diff --git a/docs/subgraph/reference-guide/objects/native-balance.mdx b/docs/subgraph/reference-guide/objects/native-balance.mdx deleted file mode 100644 index 00b2d071..00000000 --- a/docs/subgraph/reference-guide/objects/native-balance.mdx +++ /dev/null @@ -1,95 +0,0 @@ ---- -id: native-balance -title: NativeBalance ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The Native token balances of the DAO, representing the amount of the blockchain's native currency -(e.g., Ether on Ethereum, MATIC on Polygon) held by the DAO. - - -```graphql -type NativeBalance implements TokenBalance { - balance: BigInt! - dao: Dao! - id: ID! - lastUpdated: BigInt! -} -``` - - - - -### Fields - -#### [NativeBalance.balance](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The amount of native tokens held by the DAO. -> - -#### [NativeBalance.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that holds the native tokens -> - -#### [NativeBalance.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of DAO Smart contract address and Token Smart contract address. Joined by '_'. -> - -#### [NativeBalance.lastUpdated](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The block timestamp of the last update (transfer) for this native token balance. -> - -### Interfaces - -#### [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) -> -> -> Balance of the DAO for any kind of token. Each entity implementing this interface can be queried as TokenBalance. -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/native-transfer.mdx b/docs/subgraph/reference-guide/objects/native-transfer.mdx deleted file mode 100644 index 315a7f88..00000000 --- a/docs/subgraph/reference-guide/objects/native-transfer.mdx +++ /dev/null @@ -1,136 +0,0 @@ ---- -id: native-transfer -title: NativeTransfer ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -Transfers of Native token associated with the DAO, including transfers sent to, received by, or intermediated by the DAO (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). - - -```graphql -type NativeTransfer implements TokenTransfer { - amount: BigInt! - createdAt: BigInt! - dao: Dao! - from: Bytes! - id: ID! - proposal: IProposal - reference: String! - to: Bytes! - txHash: Bytes! - type: TransferType! -} -``` - - - - -### Fields - -#### [NativeTransfer.amount](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The amount of transferred native tokens . -> - -#### [NativeTransfer.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> The timestamp of the native token transfer block. -> - -#### [NativeTransfer.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO that manages the transfer. -> - -#### [NativeTransfer.from](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address from which the native tokens are being transferred. -> - -#### [NativeTransfer.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> The concatenation of the transfer transaction hash, the log index and the action index (set to 0). Joined by '_'. -> - -#### [NativeTransfer.proposal](#)[`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> The associated DAO proposal, if applicable. Using the DAO `deposit` function there's no need for proposal. -> - -#### [NativeTransfer.reference](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> The reference describing the deposit reason. -> - -#### [NativeTransfer.to](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The Ethereum address receiving the native tokens. -> - -#### [NativeTransfer.txHash](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The hash of the native token transfer to track the transaction. -> - -#### [NativeTransfer.type](#)[`TransferType!`](/docs/subgraph/reference-guide/enums/transfer-type) -> -> -> The type of transfer (External, Withdraw, Deposit) from the DAO's POV. -> - -### Interfaces - -#### [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) -> -> -> Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to `Enum` `TransferType` for a better understanding of transfers associated with the DAO meaning). -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/permission.mdx b/docs/subgraph/reference-guide/objects/permission.mdx deleted file mode 100644 index 8908a5b5..00000000 --- a/docs/subgraph/reference-guide/objects/permission.mdx +++ /dev/null @@ -1,118 +0,0 @@ ---- -id: permission -title: Permission ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type Permission { - actor: Bytes! - condition: Bytes - dao: Dao - id: ID! - permissionId: Bytes! - pluginRepo: PluginRepo - where: Bytes! - who: Bytes! -} -``` - - - - -### Fields - -#### [Permission.actor](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [Permission.condition](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [Permission.dao](#)[`Dao`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [Permission.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [Permission.permissionId](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [Permission.pluginRepo](#)[`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) -> -> -> -> - -#### [Permission.where](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [Permission.who](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - - - - - -### Member Of - -[`Dao`](/docs/subgraph/reference-guide/objects/dao) [`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) - diff --git a/docs/subgraph/reference-guide/objects/plugin-installation.mdx b/docs/subgraph/reference-guide/objects/plugin-installation.mdx deleted file mode 100644 index 93c88534..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-installation.mdx +++ /dev/null @@ -1,125 +0,0 @@ ---- -id: plugin-installation -title: PluginInstallation ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginInstallation { - appliedPluginRepo: PluginRepo - appliedPreparation: PluginPreparation - appliedSetupId: Bytes - appliedVersion: PluginVersion - dao: Dao! - id: ID! - plugin: IPlugin - preparations: [PluginPreparation!]! - state: PluginPreparationState! -} -``` - - - - -### Fields - -#### [PluginInstallation.appliedPluginRepo](#)[`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) -> -> -> -> - -#### [PluginInstallation.appliedPreparation](#)[`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) -> -> -> -> - -#### [PluginInstallation.appliedSetupId](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginInstallation.appliedVersion](#)[`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) -> -> -> -> - -#### [PluginInstallation.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [PluginInstallation.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginInstallation.plugin](#)[`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) -> -> -> -> - -#### [PluginInstallation.preparations](#)[`[PluginPreparation!]!`](/docs/subgraph/reference-guide/objects/plugin-preparation) -> -> -> -> - -#### [PluginInstallation.state](#)[`PluginPreparationState!`](/docs/subgraph/reference-guide/enums/plugin-preparation-state) -> -> -> -> - - - - - -### Member Of - -[`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) [`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) - diff --git a/docs/subgraph/reference-guide/objects/plugin-permission.mdx b/docs/subgraph/reference-guide/objects/plugin-permission.mdx deleted file mode 100644 index 80e35d19..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-permission.mdx +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: plugin-permission -title: PluginPermission ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginPermission { - condition: Bytes - id: ID! - operation: PermissionOperation! - permissionId: Bytes! - pluginPreparation: PluginPreparation! - where: Bytes! - who: Bytes! -} -``` - - - - -### Fields - -#### [PluginPermission.condition](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPermission.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginPermission.operation](#)[`PermissionOperation!`](/docs/subgraph/reference-guide/enums/permission-operation) -> -> -> -> - -#### [PluginPermission.permissionId](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPermission.pluginPreparation](#)[`PluginPreparation!`](/docs/subgraph/reference-guide/objects/plugin-preparation) -> -> -> -> - -#### [PluginPermission.where](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPermission.who](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - - - - - -### Member Of - -[`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) - diff --git a/docs/subgraph/reference-guide/objects/plugin-preparation.mdx b/docs/subgraph/reference-guide/objects/plugin-preparation.mdx deleted file mode 100644 index 87c288c7..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-preparation.mdx +++ /dev/null @@ -1,146 +0,0 @@ ---- -id: plugin-preparation -title: PluginPreparation ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginPreparation { - creator: Bytes! - dao: Dao! - data: Bytes - helpers: [Bytes!]! - id: ID! - installation: PluginInstallation! - permissions: [PluginPermission!]! - pluginAddress: Bytes! - pluginRepo: PluginRepo! - pluginVersion: PluginVersion! - preparedSetupId: Bytes! - type: PluginPreparationType! -} -``` - - - - -### Fields - -#### [PluginPreparation.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPreparation.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [PluginPreparation.data](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPreparation.helpers](#)[`[Bytes!]!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPreparation.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginPreparation.installation](#)[`PluginInstallation!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [PluginPreparation.permissions](#)[`[PluginPermission!]!`](/docs/subgraph/reference-guide/objects/plugin-permission) -> -> -> -> - -#### [PluginPreparation.pluginAddress](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPreparation.pluginRepo](#)[`PluginRepo!`](/docs/subgraph/reference-guide/objects/plugin-repo) -> -> -> -> - -#### [PluginPreparation.pluginVersion](#)[`PluginVersion!`](/docs/subgraph/reference-guide/objects/plugin-version) -> -> -> -> - -#### [PluginPreparation.preparedSetupId](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [PluginPreparation.type](#)[`PluginPreparationType!`](/docs/subgraph/reference-guide/enums/plugin-preparation-type) -> -> -> -> - - - - - -### Member Of - -[`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) [`PluginPermission`](/docs/subgraph/reference-guide/objects/plugin-permission) [`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) - diff --git a/docs/subgraph/reference-guide/objects/plugin-release.mdx b/docs/subgraph/reference-guide/objects/plugin-release.mdx deleted file mode 100644 index 38abcea2..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-release.mdx +++ /dev/null @@ -1,97 +0,0 @@ ---- -id: plugin-release -title: PluginRelease ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginRelease { - builds: [PluginVersion!]! - id: ID! - metadata: String! - pluginRepo: PluginRepo! - release: Int! -} -``` - - - - -### Fields - -#### [PluginRelease.builds](#)[`[PluginVersion!]!`](/docs/subgraph/reference-guide/objects/plugin-version) -> -> -> -> - -#### [PluginRelease.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginRelease.metadata](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [PluginRelease.pluginRepo](#)[`PluginRepo!`](/docs/subgraph/reference-guide/objects/plugin-repo) -> -> -> -> - -#### [PluginRelease.release](#)[`Int!`](/docs/subgraph/reference-guide/scalars/int) -> -> -> -> - - - - - -### Member Of - -[`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) - diff --git a/docs/subgraph/reference-guide/objects/plugin-repo.mdx b/docs/subgraph/reference-guide/objects/plugin-repo.mdx deleted file mode 100644 index 5c402e21..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-repo.mdx +++ /dev/null @@ -1,104 +0,0 @@ ---- -id: plugin-repo -title: PluginRepo ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginRepo { - id: ID! - installations: [PluginInstallation!] - permissions: [Permission!]! - preparations: [PluginPreparation!]! - releases: [PluginRelease!]! - subdomain: String! -} -``` - - - - -### Fields - -#### [PluginRepo.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginRepo.installations](#)[`[PluginInstallation!]`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [PluginRepo.permissions](#)[`[Permission!]!`](/docs/subgraph/reference-guide/objects/permission) -> -> -> -> - -#### [PluginRepo.preparations](#)[`[PluginPreparation!]!`](/docs/subgraph/reference-guide/objects/plugin-preparation) -> -> -> -> - -#### [PluginRepo.releases](#)[`[PluginRelease!]!`](/docs/subgraph/reference-guide/objects/plugin-release) -> -> -> -> - -#### [PluginRepo.subdomain](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - - - - - -### Member Of - -[`Permission`](/docs/subgraph/reference-guide/objects/permission) [`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) [`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) [`PluginRelease`](/docs/subgraph/reference-guide/objects/plugin-release) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) - diff --git a/docs/subgraph/reference-guide/objects/plugin-setup.mdx b/docs/subgraph/reference-guide/objects/plugin-setup.mdx deleted file mode 100644 index 4f4f1c64..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-setup.mdx +++ /dev/null @@ -1,76 +0,0 @@ ---- -id: plugin-setup -title: PluginSetup ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginSetup { - id: ID! - versions: [PluginVersion!]! -} -``` - - - - -### Fields - -#### [PluginSetup.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginSetup.versions](#)[`[PluginVersion!]!`](/docs/subgraph/reference-guide/objects/plugin-version) -> -> -> -> - - - - - -### Member Of - -[`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) - diff --git a/docs/subgraph/reference-guide/objects/plugin-version.mdx b/docs/subgraph/reference-guide/objects/plugin-version.mdx deleted file mode 100644 index 22e0a80d..00000000 --- a/docs/subgraph/reference-guide/objects/plugin-version.mdx +++ /dev/null @@ -1,118 +0,0 @@ ---- -id: plugin-version -title: PluginVersion ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type PluginVersion { - build: Int! - id: ID! - installations: [PluginInstallation!] - metadata: String! - pluginRepo: PluginRepo! - pluginSetup: PluginSetup - preparations: [PluginPreparation!]! - release: PluginRelease! -} -``` - - - - -### Fields - -#### [PluginVersion.build](#)[`Int!`](/docs/subgraph/reference-guide/scalars/int) -> -> -> -> - -#### [PluginVersion.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [PluginVersion.installations](#)[`[PluginInstallation!]`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [PluginVersion.metadata](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [PluginVersion.pluginRepo](#)[`PluginRepo!`](/docs/subgraph/reference-guide/objects/plugin-repo) -> -> -> -> - -#### [PluginVersion.pluginSetup](#)[`PluginSetup`](/docs/subgraph/reference-guide/objects/plugin-setup) -> -> -> -> - -#### [PluginVersion.preparations](#)[`[PluginPreparation!]!`](/docs/subgraph/reference-guide/objects/plugin-preparation) -> -> -> -> - -#### [PluginVersion.release](#)[`PluginRelease!`](/docs/subgraph/reference-guide/objects/plugin-release) -> -> -> -> - - - - - -### Member Of - -[`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) [`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) [`PluginRelease`](/docs/subgraph/reference-guide/objects/plugin-release) [`PluginSetup`](/docs/subgraph/reference-guide/objects/plugin-setup) - diff --git a/docs/subgraph/reference-guide/objects/query.mdx b/docs/subgraph/reference-guide/objects/query.mdx deleted file mode 100644 index 7eabd824..00000000 --- a/docs/subgraph/reference-guide/objects/query.mdx +++ /dev/null @@ -1,66 +0,0 @@ ---- -sidebar_class_name: hidden -id: query -title: Query ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - - Fake query, needed to generate introspection query. - - -```graphql -type Query { - id: ID! -} -``` - - - - -### Fields - -#### [Query.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - - - - - diff --git a/docs/subgraph/reference-guide/objects/standard-callback.mdx b/docs/subgraph/reference-guide/objects/standard-callback.mdx deleted file mode 100644 index 3909b010..00000000 --- a/docs/subgraph/reference-guide/objects/standard-callback.mdx +++ /dev/null @@ -1,97 +0,0 @@ ---- -id: standard-callback -title: StandardCallback ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The supported callback functions for ERC standards registered with [ERC-165](https://eips.ethereum.org/EIPS/eip-165) interface ID and callback function signature. - - -```graphql -type StandardCallback { - callbackSelector: Bytes! - dao: Dao! - id: ID! - interfaceId: Bytes! - magicNumber: Bytes! -} -``` - - - - -### Fields - -#### [StandardCallback.callbackSelector](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The selector of the registered callback function. -> - -#### [StandardCallback.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> The DAO associated with the supported callback functions. -> - -#### [StandardCallback.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> Concatenation of the DAO address and the interfaceID. Joined by '_'. -> - -#### [StandardCallback.interfaceId](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The interface identifier, as specified in [ERC-165](https://eips.ethereum.org/EIPS/eip-165) (XOR of all function selectors in the interface). -> - -#### [StandardCallback.magicNumber](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> The magic number registered for the function signature. -> - - - - - -### Member Of - -[`Dao`](/docs/subgraph/reference-guide/objects/dao) - diff --git a/docs/subgraph/reference-guide/objects/token-voting-member.mdx b/docs/subgraph/reference-guide/objects/token-voting-member.mdx deleted file mode 100644 index 74128932..00000000 --- a/docs/subgraph/reference-guide/objects/token-voting-member.mdx +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: token-voting-member -title: TokenVotingMember ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type TokenVotingMember { - address: Bytes! - balance: BigInt! - delegatee: TokenVotingMember - delegators: [TokenVotingMember!]! - id: ID! - plugin: TokenVotingPlugin! - votingPower: BigInt -} -``` - - - - -### Fields - -#### [TokenVotingMember.address](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [TokenVotingMember.balance](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingMember.delegatee](#)[`TokenVotingMember`](/docs/subgraph/reference-guide/objects/token-voting-member) -> -> -> -> - -#### [TokenVotingMember.delegators](#)[`[TokenVotingMember!]!`](/docs/subgraph/reference-guide/objects/token-voting-member) -> -> -> -> - -#### [TokenVotingMember.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [TokenVotingMember.plugin](#)[`TokenVotingPlugin!`](/docs/subgraph/reference-guide/objects/token-voting-plugin) -> -> -> -> - -#### [TokenVotingMember.votingPower](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - - - - - -### Member Of - -[`TokenVotingMember`](/docs/subgraph/reference-guide/objects/token-voting-member) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) - diff --git a/docs/subgraph/reference-guide/objects/token-voting-plugin.mdx b/docs/subgraph/reference-guide/objects/token-voting-plugin.mdx deleted file mode 100644 index e4132c63..00000000 --- a/docs/subgraph/reference-guide/objects/token-voting-plugin.mdx +++ /dev/null @@ -1,161 +0,0 @@ ---- -id: token-voting-plugin -title: TokenVotingPlugin ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type TokenVotingPlugin implements IPlugin { - dao: Dao! - id: ID! - installations: [PluginInstallation!]! - members: [TokenVotingMember!]! - minDuration: BigInt - minParticipation: BigInt - minProposerVotingPower: BigInt - pluginAddress: Bytes! - proposalCount: BigInt! - proposals: [TokenVotingProposal!]! - supportThreshold: BigInt - token: Token - votingMode: VotingMode -} -``` - - - - -### Fields - -#### [TokenVotingPlugin.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [TokenVotingPlugin.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> TODO: attributes should be appended to Plugins once plugin is separated from Aragon OSx -> - -#### [TokenVotingPlugin.installations](#)[`[PluginInstallation!]!`](/docs/subgraph/reference-guide/objects/plugin-installation) -> -> -> -> - -#### [TokenVotingPlugin.members](#)[`[TokenVotingMember!]!`](/docs/subgraph/reference-guide/objects/token-voting-member) -> -> -> -> - -#### [TokenVotingPlugin.minDuration](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingPlugin.minParticipation](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingPlugin.minProposerVotingPower](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingPlugin.pluginAddress](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [TokenVotingPlugin.proposalCount](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingPlugin.proposals](#)[`[TokenVotingProposal!]!`](/docs/subgraph/reference-guide/objects/token-voting-proposal) -> -> -> -> - -#### [TokenVotingPlugin.supportThreshold](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingPlugin.token](#)[`Token`](/docs/subgraph/reference-guide/interfaces/token) -> -> -> -> - -#### [TokenVotingPlugin.votingMode](#)[`VotingMode`](/docs/subgraph/reference-guide/enums/voting-mode) -> -> -> -> - -### Interfaces - -#### [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) -> -> -> -> - - - - - -### Member Of - -[`TokenVotingMember`](/docs/subgraph/reference-guide/objects/token-voting-member) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TokenVotingVoter`](/docs/subgraph/reference-guide/objects/token-voting-voter) - diff --git a/docs/subgraph/reference-guide/objects/token-voting-proposal.mdx b/docs/subgraph/reference-guide/objects/token-voting-proposal.mdx deleted file mode 100644 index 0c870aef..00000000 --- a/docs/subgraph/reference-guide/objects/token-voting-proposal.mdx +++ /dev/null @@ -1,287 +0,0 @@ ---- -id: token-voting-proposal -title: TokenVotingProposal ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type TokenVotingProposal implements IProposal { - abstain: BigInt - actions: [Action!]! - allowFailureMap: BigInt! - approvalReached: Boolean! - castedVotingPower: BigInt - createdAt: BigInt! - creationBlockNumber: BigInt! - creator: Bytes! - dao: Dao! - earlyExecutable: Boolean - endDate: BigInt! - executed: Boolean! - executionBlockNumber: BigInt - executionDate: BigInt - executionTxHash: Bytes - failureMap: BigInt - id: ID! - isSignaling: Boolean! - metadata: String - minVotingPower: BigInt! - no: BigInt - open: Boolean! - plugin: TokenVotingPlugin! - pluginProposalId: BigInt! - snapshotBlock: BigInt! - startDate: BigInt! - supportThreshold: BigInt! - totalVotingPower: BigInt! - voters: [TokenVotingVote!]! - votingMode: VotingMode! - yes: BigInt -} -``` - - - - -### Fields - -#### [TokenVotingProposal.abstain](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [TokenVotingProposal.allowFailureMap](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.approvalReached](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TokenVotingProposal.castedVotingPower](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.creationBlockNumber](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [TokenVotingProposal.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [TokenVotingProposal.earlyExecutable](#)[`Boolean`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TokenVotingProposal.endDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.executed](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TokenVotingProposal.executionBlockNumber](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.executionDate](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.executionTxHash](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [TokenVotingProposal.failureMap](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [TokenVotingProposal.isSignaling](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TokenVotingProposal.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [TokenVotingProposal.minVotingPower](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.no](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.open](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TokenVotingProposal.plugin](#)[`TokenVotingPlugin!`](/docs/subgraph/reference-guide/objects/token-voting-plugin) -> -> -> -> - -#### [TokenVotingProposal.pluginProposalId](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.snapshotBlock](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.startDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.supportThreshold](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.totalVotingPower](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingProposal.voters](#)[`[TokenVotingVote!]!`](/docs/subgraph/reference-guide/objects/token-voting-vote) -> -> -> -> - -#### [TokenVotingProposal.votingMode](#)[`VotingMode!`](/docs/subgraph/reference-guide/enums/voting-mode) -> -> -> -> - -#### [TokenVotingProposal.yes](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -### Interfaces - -#### [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> -> - - - - - -### Member Of - -[`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) [`TokenVotingVote`](/docs/subgraph/reference-guide/objects/token-voting-vote) - diff --git a/docs/subgraph/reference-guide/objects/token-voting-vote.mdx b/docs/subgraph/reference-guide/objects/token-voting-vote.mdx deleted file mode 100644 index 03a74047..00000000 --- a/docs/subgraph/reference-guide/objects/token-voting-vote.mdx +++ /dev/null @@ -1,118 +0,0 @@ ---- -id: token-voting-vote -title: TokenVotingVote ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type TokenVotingVote { - createdAt: BigInt! - id: ID! - proposal: TokenVotingProposal! - updatedAt: BigInt! - voteOption: VoteOption! - voteReplaced: Boolean! - voter: TokenVotingVoter! - votingPower: BigInt! -} -``` - - - - -### Fields - -#### [TokenVotingVote.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingVote.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> VoterProposal for Many-to-Many -> - -#### [TokenVotingVote.proposal](#)[`TokenVotingProposal!`](/docs/subgraph/reference-guide/objects/token-voting-proposal) -> -> -> -> - -#### [TokenVotingVote.updatedAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingVote.voteOption](#)[`VoteOption!`](/docs/subgraph/reference-guide/enums/vote-option) -> -> -> -> - -#### [TokenVotingVote.voteReplaced](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TokenVotingVote.voter](#)[`TokenVotingVoter!`](/docs/subgraph/reference-guide/objects/token-voting-voter) -> -> -> -> - -#### [TokenVotingVote.votingPower](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - - - - - -### Member Of - -[`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TokenVotingVoter`](/docs/subgraph/reference-guide/objects/token-voting-voter) - diff --git a/docs/subgraph/reference-guide/objects/token-voting-voter.mdx b/docs/subgraph/reference-guide/objects/token-voting-voter.mdx deleted file mode 100644 index f2a37ae2..00000000 --- a/docs/subgraph/reference-guide/objects/token-voting-voter.mdx +++ /dev/null @@ -1,97 +0,0 @@ ---- -id: token-voting-voter -title: TokenVotingVoter ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type TokenVotingVoter { - address: String! - id: ID! - lastUpdated: BigInt - plugin: TokenVotingPlugin! - proposals: [TokenVotingVote!]! -} -``` - - - - -### Fields - -#### [TokenVotingVoter.address](#)[`String!`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [TokenVotingVoter.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [TokenVotingVoter.lastUpdated](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TokenVotingVoter.plugin](#)[`TokenVotingPlugin!`](/docs/subgraph/reference-guide/objects/token-voting-plugin) -> -> -> -> - -#### [TokenVotingVoter.proposals](#)[`[TokenVotingVote!]!`](/docs/subgraph/reference-guide/objects/token-voting-vote) -> -> -> -> - - - - - -### Member Of - -[`TokenVotingVote`](/docs/subgraph/reference-guide/objects/token-voting-vote) - diff --git a/docs/subgraph/reference-guide/objects/transaction-actions-proposal.mdx b/docs/subgraph/reference-guide/objects/transaction-actions-proposal.mdx deleted file mode 100644 index 57631d1c..00000000 --- a/docs/subgraph/reference-guide/objects/transaction-actions-proposal.mdx +++ /dev/null @@ -1,150 +0,0 @@ ---- -id: transaction-actions-proposal -title: TransactionActionsProposal ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -No description - - -```graphql -type TransactionActionsProposal implements IProposal { - actions: [Action!]! - allowFailureMap: BigInt! - createdAt: BigInt! - creator: Bytes! - dao: Dao! - endDate: BigInt! - executed: Boolean! - executionTxHash: Bytes - failureMap: BigInt - id: ID! - metadata: String - startDate: BigInt! -} -``` - - - - -### Fields - -#### [TransactionActionsProposal.actions](#)[`[Action!]!`](/docs/subgraph/reference-guide/objects/action) -> -> -> -> - -#### [TransactionActionsProposal.allowFailureMap](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TransactionActionsProposal.createdAt](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TransactionActionsProposal.creator](#)[`Bytes!`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [TransactionActionsProposal.dao](#)[`Dao!`](/docs/subgraph/reference-guide/objects/dao) -> -> -> -> - -#### [TransactionActionsProposal.endDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TransactionActionsProposal.executed](#)[`Boolean!`](/docs/subgraph/reference-guide/scalars/boolean) -> -> -> -> - -#### [TransactionActionsProposal.executionTxHash](#)[`Bytes`](/docs/subgraph/reference-guide/scalars/bytes) -> -> -> -> - -#### [TransactionActionsProposal.failureMap](#)[`BigInt`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -#### [TransactionActionsProposal.id](#)[`ID!`](/docs/subgraph/reference-guide/scalars/id) -> -> -> -> - -#### [TransactionActionsProposal.metadata](#)[`String`](/docs/subgraph/reference-guide/scalars/string) -> -> -> -> - -#### [TransactionActionsProposal.startDate](#)[`BigInt!`](/docs/subgraph/reference-guide/scalars/big-int) -> -> -> -> - -### Interfaces - -#### [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) -> -> -> -> - - - - - diff --git a/docs/subgraph/reference-guide/scalars/_category_.yml b/docs/subgraph/reference-guide/scalars/_category_.yml deleted file mode 100644 index f33b6392..00000000 --- a/docs/subgraph/reference-guide/scalars/_category_.yml +++ /dev/null @@ -1,6 +0,0 @@ -className: hidden -label: Scalars -position: 1 -link: null -collapsible: true -collapsed: true diff --git a/docs/subgraph/reference-guide/scalars/big-int.mdx b/docs/subgraph/reference-guide/scalars/big-int.mdx deleted file mode 100644 index 3888c98a..00000000 --- a/docs/subgraph/reference-guide/scalars/big-int.mdx +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: big-int -title: BigInt ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - - Large integers. Used for Ethereum's `uint32`, `int64`, `uint64`, ..., `uint25`6 types. Note: Everything below `uint32`, such as `int32`, `uint24` or `int8` is represented as `i32`. - - -```graphql -scalar BigInt -``` - - - - - - - - -### Member Of - -[`Action`](/docs/subgraph/reference-guide/objects/action) [`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AddresslistVotingVote`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) [`ERC1155TokenIdBalance`](/docs/subgraph/reference-guide/objects/erc1155-token-id-balance) [`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Balance`](/docs/subgraph/reference-guide/objects/erc20-balance) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC721Balance`](/docs/subgraph/reference-guide/objects/erc721-balance) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`MultisigProposalApprover`](/docs/subgraph/reference-guide/objects/multisig-proposal-approver) [`NativeBalance`](/docs/subgraph/reference-guide/objects/native-balance) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) [`TokenVotingMember`](/docs/subgraph/reference-guide/objects/token-voting-member) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TokenVotingVote`](/docs/subgraph/reference-guide/objects/token-voting-vote) [`TokenVotingVoter`](/docs/subgraph/reference-guide/objects/token-voting-voter) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/scalars/boolean.mdx b/docs/subgraph/reference-guide/scalars/boolean.mdx deleted file mode 100644 index 9eb5f92c..00000000 --- a/docs/subgraph/reference-guide/scalars/boolean.mdx +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: boolean -title: Boolean ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The `Boolean` scalar type represents `true` or `false`. - - -```graphql -scalar Boolean -``` - - - - - - - - -### Member Of - -[`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AddresslistVotingVote`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`include`](/docs/subgraph/reference-guide/directives/include) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`skip`](/docs/subgraph/reference-guide/directives/skip) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TokenVotingVote`](/docs/subgraph/reference-guide/objects/token-voting-vote) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/scalars/bytes.mdx b/docs/subgraph/reference-guide/scalars/bytes.mdx deleted file mode 100644 index 27123b32..00000000 --- a/docs/subgraph/reference-guide/scalars/bytes.mdx +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: bytes -title: Bytes ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - - Byte array, represented as a hexadecimal string. Commonly used for Ethereum hashes and addresses. - - -```graphql -scalar Bytes -``` - - - - - - - - -### Member Of - -[`Action`](/docs/subgraph/reference-guide/objects/action) [`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`Permission`](/docs/subgraph/reference-guide/objects/permission) [`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) [`PluginPermission`](/docs/subgraph/reference-guide/objects/plugin-permission) [`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) [`StandardCallback`](/docs/subgraph/reference-guide/objects/standard-callback) [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) [`TokenVotingMember`](/docs/subgraph/reference-guide/objects/token-voting-member) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/scalars/id.mdx b/docs/subgraph/reference-guide/scalars/id.mdx deleted file mode 100644 index f653b4c7..00000000 --- a/docs/subgraph/reference-guide/scalars/id.mdx +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: id -title: ID ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. - - -```graphql -scalar ID -``` - - - - - - - - -### Member Of - -[`Action`](/docs/subgraph/reference-guide/objects/action) [`AddresslistVotingPlugin`](/docs/subgraph/reference-guide/objects/addresslist-voting-plugin) [`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AddresslistVotingVote`](/docs/subgraph/reference-guide/objects/addresslist-voting-vote) [`AddresslistVotingVoter`](/docs/subgraph/reference-guide/objects/addresslist-voting-voter) [`Administrator`](/docs/subgraph/reference-guide/objects/administrator) [`AdministratorAdminPlugin`](/docs/subgraph/reference-guide/objects/administrator-admin-plugin) [`AdminPlugin`](/docs/subgraph/reference-guide/objects/admin-plugin) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) [`ERC1155Contract`](/docs/subgraph/reference-guide/objects/erc1155-contract) [`ERC1155TokenIdBalance`](/docs/subgraph/reference-guide/objects/erc1155-token-id-balance) [`ERC1155Transfer`](/docs/subgraph/reference-guide/objects/erc1155-transfer) [`ERC20Balance`](/docs/subgraph/reference-guide/objects/erc20-balance) [`ERC20Contract`](/docs/subgraph/reference-guide/objects/erc20-contract) [`ERC20Transfer`](/docs/subgraph/reference-guide/objects/erc20-transfer) [`ERC20WrapperContract`](/docs/subgraph/reference-guide/objects/erc20-wrapper-contract) [`ERC721Balance`](/docs/subgraph/reference-guide/objects/erc721-balance) [`ERC721Contract`](/docs/subgraph/reference-guide/objects/erc721-contract) [`ERC721Transfer`](/docs/subgraph/reference-guide/objects/erc721-transfer) [`IPlugin`](/docs/subgraph/reference-guide/interfaces/iplugin) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigApprover`](/docs/subgraph/reference-guide/objects/multisig-approver) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`MultisigProposalApprover`](/docs/subgraph/reference-guide/objects/multisig-proposal-approver) [`NativeBalance`](/docs/subgraph/reference-guide/objects/native-balance) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`Permission`](/docs/subgraph/reference-guide/objects/permission) [`PluginInstallation`](/docs/subgraph/reference-guide/objects/plugin-installation) [`PluginPermission`](/docs/subgraph/reference-guide/objects/plugin-permission) [`PluginPreparation`](/docs/subgraph/reference-guide/objects/plugin-preparation) [`PluginRelease`](/docs/subgraph/reference-guide/objects/plugin-release) [`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) [`PluginSetup`](/docs/subgraph/reference-guide/objects/plugin-setup) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) [`Query`](/docs/subgraph/reference-guide/objects/query) [`StandardCallback`](/docs/subgraph/reference-guide/objects/standard-callback) [`Token`](/docs/subgraph/reference-guide/interfaces/token) [`TokenBalance`](/docs/subgraph/reference-guide/interfaces/token-balance) [`TokenTransfer`](/docs/subgraph/reference-guide/interfaces/token-transfer) [`TokenVotingMember`](/docs/subgraph/reference-guide/objects/token-voting-member) [`TokenVotingPlugin`](/docs/subgraph/reference-guide/objects/token-voting-plugin) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TokenVotingVote`](/docs/subgraph/reference-guide/objects/token-voting-vote) [`TokenVotingVoter`](/docs/subgraph/reference-guide/objects/token-voting-voter) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/scalars/int.mdx b/docs/subgraph/reference-guide/scalars/int.mdx deleted file mode 100644 index b90fbd3b..00000000 --- a/docs/subgraph/reference-guide/scalars/int.mdx +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: int -title: Int ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. - - -```graphql -scalar Int -``` - - - - - - - - -### Member Of - -[`ERC20Contract`](/docs/subgraph/reference-guide/objects/erc20-contract) [`ERC20WrapperContract`](/docs/subgraph/reference-guide/objects/erc20-wrapper-contract) [`MultisigPlugin`](/docs/subgraph/reference-guide/objects/multisig-plugin) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`PluginRelease`](/docs/subgraph/reference-guide/objects/plugin-release) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) - diff --git a/docs/subgraph/reference-guide/scalars/string.mdx b/docs/subgraph/reference-guide/scalars/string.mdx deleted file mode 100644 index 6efe8f96..00000000 --- a/docs/subgraph/reference-guide/scalars/string.mdx +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: string -title: String ---- - - - - -export const Bullet = () => <> ●  - -export const SpecifiedBy = (props) => <>Specification - -export const Badge = (props) => <>{props.text} - -import { useState } from 'react'; - -export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => { - const [open, setOpen] = useState(startOpen); - return ( -
- { - e.preventDefault(); - setOpen((open) => !open); - }} - style={{ listStyle:'none' }} - > - {open ? dataOpen : dataClose} - - {open && children} -
- ); -}; - - - - - - - - -The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. - - -```graphql -scalar String -``` - - - - - - - - -### Member Of - -[`AddresslistVotingProposal`](/docs/subgraph/reference-guide/objects/addresslist-voting-proposal) [`AddresslistVotingVoter`](/docs/subgraph/reference-guide/objects/addresslist-voting-voter) [`Administrator`](/docs/subgraph/reference-guide/objects/administrator) [`AdminProposal`](/docs/subgraph/reference-guide/objects/admin-proposal) [`Dao`](/docs/subgraph/reference-guide/objects/dao) [`deprecated`](/docs/subgraph/reference-guide/directives/deprecated) [`ERC1155Balance`](/docs/subgraph/reference-guide/objects/erc1155-balance) [`ERC1155Contract`](/docs/subgraph/reference-guide/objects/erc1155-contract) [`ERC20Contract`](/docs/subgraph/reference-guide/objects/erc20-contract) [`ERC20WrapperContract`](/docs/subgraph/reference-guide/objects/erc20-wrapper-contract) [`ERC721Contract`](/docs/subgraph/reference-guide/objects/erc721-contract) [`IProposal`](/docs/subgraph/reference-guide/interfaces/iproposal) [`MultisigApprover`](/docs/subgraph/reference-guide/objects/multisig-approver) [`MultisigProposal`](/docs/subgraph/reference-guide/objects/multisig-proposal) [`NativeTransfer`](/docs/subgraph/reference-guide/objects/native-transfer) [`PluginRelease`](/docs/subgraph/reference-guide/objects/plugin-release) [`PluginRepo`](/docs/subgraph/reference-guide/objects/plugin-repo) [`PluginVersion`](/docs/subgraph/reference-guide/objects/plugin-version) [`specifiedBy`](/docs/subgraph/reference-guide/directives/specified-by) [`Token`](/docs/subgraph/reference-guide/interfaces/token) [`TokenVotingProposal`](/docs/subgraph/reference-guide/objects/token-voting-proposal) [`TokenVotingVoter`](/docs/subgraph/reference-guide/objects/token-voting-voter) [`TransactionActionsProposal`](/docs/subgraph/reference-guide/objects/transaction-actions-proposal) - diff --git a/docs/subgraph/reference-guide/sidebar-schema.js b/docs/subgraph/reference-guide/sidebar-schema.js deleted file mode 100644 index 2570aec3..00000000 --- a/docs/subgraph/reference-guide/sidebar-schema.js +++ /dev/null @@ -1,11 +0,0 @@ - -/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ - -module.exports = { - "schemaSidebar": [ - { - "type": "autogenerated", - "dirName": "subgraph/reference-guide" - } - ] -}; diff --git a/static/subgraph/schema-introspection.json b/static/subgraph/schema-introspection.json index 8344a4d2..710b753b 100644 --- a/static/subgraph/schema-introspection.json +++ b/static/subgraph/schema-introspection.json @@ -5592,7 +5592,7 @@ { "kind": "OBJECT", "name": "Query", - "description": " Fake query, needed to generate introspection query. ", + "description": " Query type, required to generate introspection query. ", "fields": [ { "name": "id",