#
tokens: 35721/50000 1/103 files (page 4/5)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 4 of 5. Use http://codebase.md/crazyrabbitltc/mpc-tally-api-server?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .env.example
├── .gitignore
├── bun.lockb
├── docs
│   ├── issues
│   │   └── address-votes-api-schema.md
│   └── rate-limiting-notes.md
├── jest.config.js
├── LICENSE
├── list of tools
├── LLM-API-GUIDE-2 copy.txt
├── LLM-API-GUIDE-2.txt
├── LLM-API-GUIDE.txt
├── package-lock.json
├── package.json
├── proposals_response.json
├── README.md
├── repomix-output.txt
├── src
│   ├── index.ts
│   ├── repomix-output.txt
│   ├── server.ts
│   ├── services
│   │   ├── __tests__
│   │   │   ├── client
│   │   │   │   ├── setup.ts
│   │   │   │   ├── tallyServer.test.ts
│   │   │   │   └── tsconfig.json
│   │   │   ├── mcpClientTests
│   │   │   │   └── mcpServer.test.ts
│   │   │   ├── tally.service.address-created-proposals.test.ts
│   │   │   ├── tally.service.address-dao-proposals.test.ts
│   │   │   ├── tally.service.address-daos.test.ts
│   │   │   ├── tally.service.address-governances.test.ts
│   │   │   ├── tally.service.address-metadata.test.ts
│   │   │   ├── tally.service.address-received-delegations.test.ts
│   │   │   ├── tally.service.address-safes.test.ts
│   │   │   ├── tally.service.address-votes.test.ts
│   │   │   ├── tally.service.addresses.test.ts
│   │   │   ├── tally.service.dao.test.ts
│   │   │   ├── tally.service.daos.test.ts
│   │   │   ├── tally.service.delegate-statement.test.ts
│   │   │   ├── tally.service.delegates.test.ts
│   │   │   ├── tally.service.delegators.test.ts
│   │   │   ├── tally.service.errors.test.ts
│   │   │   ├── tally.service.governance-proposals-stats.test.ts
│   │   │   ├── tally.service.list-delegates.test.ts
│   │   │   ├── tally.service.proposal-security-analysis.test.ts
│   │   │   ├── tally.service.proposal-timeline.test.ts
│   │   │   ├── tally.service.proposal-voters.test.ts
│   │   │   ├── tally.service.proposal-votes-cast-list.test.ts
│   │   │   ├── tally.service.proposal-votes-cast.test.ts
│   │   │   ├── tally.service.proposals.test.ts
│   │   │   ├── tally.service.test.ts
│   │   │   └── tsconfig.json
│   │   ├── addresses
│   │   │   ├── addresses.queries.ts
│   │   │   ├── addresses.types.ts
│   │   │   ├── getAddressCreatedProposals.ts
│   │   │   ├── getAddressDAOProposals.ts
│   │   │   ├── getAddressGovernances.ts
│   │   │   ├── getAddressMetadata.ts
│   │   │   ├── getAddressProposals.ts
│   │   │   ├── getAddressReceivedDelegations.ts
│   │   │   ├── getAddressSafes.ts
│   │   │   ├── getAddressVotes.ts
│   │   │   └── index.ts
│   │   ├── delegates
│   │   │   ├── delegates.queries.ts
│   │   │   ├── delegates.types.ts
│   │   │   ├── getDelegateStatement.ts
│   │   │   ├── index.ts
│   │   │   └── listDelegates.ts
│   │   ├── delegators
│   │   │   ├── delegators.queries.ts
│   │   │   ├── delegators.types.ts
│   │   │   ├── getDelegators.ts
│   │   │   └── index.ts
│   │   ├── errors
│   │   │   └── apiErrors.ts
│   │   ├── index.ts
│   │   ├── organizations
│   │   │   ├── __tests__
│   │   │   │   ├── organizations.queries.test.ts
│   │   │   │   ├── organizations.service.test.ts
│   │   │   │   └── tally.service.test.ts
│   │   │   ├── getDAO.ts
│   │   │   ├── index.ts
│   │   │   ├── listDAOs.ts
│   │   │   ├── organizations.queries.ts
│   │   │   ├── organizations.service.ts
│   │   │   └── organizations.types.ts
│   │   ├── proposals
│   │   │   ├── getGovernanceProposalsStats.ts
│   │   │   ├── getProposal.ts
│   │   │   ├── getProposal.types.ts
│   │   │   ├── getProposalSecurityAnalysis.ts
│   │   │   ├── getProposalSecurityAnalysis.types.ts
│   │   │   ├── getProposalTimeline.ts
│   │   │   ├── getProposalTimeline.types.ts
│   │   │   ├── getProposalVoters.ts
│   │   │   ├── getProposalVoters.types.ts
│   │   │   ├── getProposalVotesCast.ts
│   │   │   ├── getProposalVotesCast.types.ts
│   │   │   ├── getProposalVotesCastList.ts
│   │   │   ├── getProposalVotesCastList.types.ts
│   │   │   ├── index.ts
│   │   │   ├── listProposals.ts
│   │   │   ├── listProposals.types.ts
│   │   │   ├── proposals.queries.ts
│   │   │   └── proposals.types.ts
│   │   ├── tally.service.ts
│   │   └── utils
│   │       └── rateLimiter.ts
│   ├── tools.ts
│   ├── types.ts
│   └── utils
│       ├── __tests__
│       │   └── formatTokenAmount.test.ts
│       ├── formatTokenAmount.ts
│       └── index.ts
├── Tally API Docs RAW.txt
├── Tally API Sample Queries from Site.txt
├── Tally-API-Docs-Types.txt
└── tsconfig.json
```

# Files

--------------------------------------------------------------------------------
/Tally API Sample Queries from Site.txt:
--------------------------------------------------------------------------------

```
   1 | This file is a merged representation of the entire codebase, combining all repository files into a single document.
   2 | Generated by Repomix on: 2025-01-01T15:05:31.006Z
   3 | 
   4 | ================================================================
   5 | File Summary
   6 | ================================================================
   7 | 
   8 | Purpose:
   9 | --------
  10 | This file contains a packed representation of the entire repository's contents.
  11 | It is designed to be easily consumable by AI systems for analysis, code review,
  12 | or other automated processes.
  13 | 
  14 | File Format:
  15 | ------------
  16 | The content is organized as follows:
  17 | 1. This summary section
  18 | 2. Repository information
  19 | 3. Directory structure
  20 | 4. Multiple file entries, each consisting of:
  21 |   a. A separator line (================)
  22 |   b. The file path (File: path/to/file)
  23 |   c. Another separator line
  24 |   d. The full contents of the file
  25 |   e. A blank line
  26 | 
  27 | Usage Guidelines:
  28 | -----------------
  29 | - This file should be treated as read-only. Any changes should be made to the
  30 |   original repository files, not this packed version.
  31 | - When processing this file, use the file path to distinguish
  32 |   between different files in the repository.
  33 | - Be aware that this file may contain sensitive information. Handle it with
  34 |   the same level of security as you would the original repository.
  35 | 
  36 | Notes:
  37 | ------
  38 | - Some files may have been excluded based on .gitignore rules and Repomix's
  39 |   configuration.
  40 | - Binary files are not included in this packed representation. Please refer to
  41 |   the Repository Structure section for a complete list of file paths, including
  42 |   binary files.
  43 | 
  44 | Additional Info:
  45 | ----------------
  46 | 
  47 | For more information about Repomix, visit: https://github.com/yamadashy/repomix
  48 | 
  49 | ================================================================
  50 | Directory Structure
  51 | ================================================================
  52 | src/
  53 |   address/
  54 |     components/
  55 |       AddressCreatedProposals.graphql
  56 |       AddressDAOSProposals.graphql
  57 |       AddressGovernances.graphql
  58 |       AddressHeader.graphql
  59 |       AddressReceivedDelegationsGovernance.graphql
  60 |       AddressTabPanels.graphql
  61 |     hooks/
  62 |       useAccountByEns.graphql
  63 |       useAddressMetadata.graphql
  64 |       useAddressSafes.graphql
  65 |       useDelegateStatement.graphql
  66 |   collaborative/
  67 |     hooks/
  68 |       useAccountsComments.graphql
  69 |   common/
  70 |     components/
  71 |       SearchDaos.graphql
  72 |     hooks/
  73 |       balances.graphql
  74 |       useLogin.graphql
  75 |       useMe.graphql
  76 |       useUploadFile.graphql
  77 |   council/
  78 |     components/
  79 |       ContenderLayoutQuery.graphql
  80 |       CouncilCurrentMembersList.graphql
  81 |       CouncilElections.graphql
  82 |       CouncilMembers.graphql
  83 |       ElectionLayoutQuery.graphql
  84 |       GovernanceCouncilBanner.graphql
  85 |       GovernanceCouncils.graphql
  86 |       NomineeHeader.graphql
  87 |       NomineeSupporters.graphql
  88 |       UpdateCandidateProfile.graphql
  89 |     hooks/
  90 |       useContenderByAddressOrEns.graphql
  91 |       useContenderElectionMeta.graphql
  92 |       useElectionMemberRound.graphql
  93 |       useElectionMemberRoundNominees.graphql
  94 |       useElectionNominationRound.graphql
  95 |       useElectionNominationRoundContenders.graphql
  96 |       useMemberRoundDecayVotes.graphql
  97 |       useNomineeByAddressOrEns.graphql
  98 |       useRegisterAttempt.graphql
  99 |     common.graphql
 100 |   createProposal/
 101 |     components/
 102 |       actions/
 103 |         ManageOrcaPodRecipe.graphql
 104 |         RecipientAddressQuery.graphql
 105 |         SwapPools.uniswap.graphql
 106 |         SwapRecipe.graphql
 107 |         TransferTokensRecipe.graphql
 108 |       receipts/
 109 |         TransferTokensReceipt.graphql
 110 |       ActionsSecurityCheck.graphql
 111 |       CreateProposalGovernanceSelector.graphql
 112 |       EditTallyProposal.graphql
 113 |     hooks/
 114 |       useCreateTallyProposal.graphql
 115 |       useProposalThresholdRequirements.graphql
 116 |   delegation/
 117 |     components/
 118 |       DelegateModal.graphql
 119 |       SecurityCouncilActionBanner.graphql
 120 |     helpers/
 121 |       GovernanceGovernorType.graphql
 122 |       GovernanceSponsorDelegationById.graphql
 123 |     hooks/
 124 |       useAddresDelegationsOut.graphql
 125 |       useCreateDelegationAttempt.graphql
 126 |   governance/
 127 |     components/
 128 |       claim/
 129 |         GovernanceClaimAndDelegateAttempt.graphql
 130 |         GovernanceClaimConfirm.graphql
 131 |       guardians/
 132 |         GuardiansAccounts.graphql
 133 |       DelegateButton.graphql
 134 |       GovernanceClaimAirdrop.graphql
 135 |       GovernanceDelegateProfileEdit.graphql
 136 |       GovernanceDelegates.graphql
 137 |       GovernanceDelegatesLayout.graphql
 138 |       GovernanceDelegatesSummary.graphql
 139 |       GovernanceHeader.graphql
 140 |       GovernanceIdtoToOrgId.graphql
 141 |       GovernanceIncomingDelegations.graphql
 142 |       GovernanceMetaInformation.graphql
 143 |       GovernanceModuleInformation.graphql
 144 |       GovernanceMyVotingPower.graphql
 145 |       GovernanceMyVotingPowerDelegatingTo.graphql
 146 |       GovernanceProposals.graphql
 147 |       GovernanceProposalStats.graphql
 148 |       GovernanceTopAdvocates.graphql
 149 |       GovernanceTreasuryInformation.graphql
 150 |       GovernorsByOrganization.graphql
 151 |       OrganizationIssues.graphql
 152 |     hooks/
 153 |       useAccountById.graphql
 154 |       useClaimAirdropEligible.graphql
 155 |       useCreateClaimAndDelegateAttempt.graphql
 156 |       useCreateUnistakerTransaction.graphql
 157 |       useGetUnistakerTransactions.graphql
 158 |       useGovernorClaimFlow.graphql
 159 |       useResumeSync.graphql
 160 |       useUpdateUnistakerTransaction.graphql
 161 |       useUpsertDelegateProfile.graphql
 162 |     common.graphql
 163 |   meta-transaction/
 164 |     mutations/
 165 |       CreateCastVoteMetaTransaction.graphql
 166 |       CreateDelegateMetaTransaction.graphql
 167 |     queries/
 168 |       MetaTransactions.graphql
 169 |   organization/
 170 |     components/
 171 |       OrganizationAddAdminForm.graphql
 172 |       OrganizationAdminList.graphql
 173 |       OrganizationBasicSettings.graphql
 174 |       OrganizationBySlug.graphql
 175 |       OrganizationEditLogo.graphql
 176 |       OrganizationHeader.graphql
 177 |       OrganizationHomeDelegatesMobile.graphql
 178 |       OrganizationHomeProposalsMobile.graphql
 179 |       OrganizationLatestForumActivities.graphql
 180 |       OrganizationMyVotingPower.graphql
 181 |       OrganizationRisingDelegates.graphql
 182 |       OrganizationSafeList.graphql
 183 |       OrganizationSlugToId.graphql
 184 |       ValidateNewGovernor.graphql
 185 |     hooks/
 186 |       useCreateDAO.graphql
 187 |       useJoinOrganization.graphql
 188 |       useOrganizationDelegatesSummary.graphql
 189 |       useRemoveSuperAdmin.graphql
 190 |       useToken.graphql
 191 |       useUnlinkGnosisSafe.graphql
 192 |       useUpdateOrganization.graphql
 193 |       useUpdateOrganizationAdmins.graphql
 194 |       useUpdateOrganizationPassword.graphql
 195 |       useUploadOrganizationLogo.graphql
 196 |     providers/
 197 |       OrganizationProvider.graphql
 198 |     common.graphql
 199 |   proposal/
 200 |     components/
 201 |       ctas/
 202 |         ProposalActionAttempt.graphql
 203 |         ProposalActiveCTA.graphql
 204 |         ProposalDefeatedCTA.graphql
 205 |         ProposalExecutedCTA.graphql
 206 |         ProposalPendingCTA.graphql
 207 |         ProposalQueuedCTA.graphql
 208 |         ProposalSuccededCTA.graphql
 209 |       receipts/
 210 |         SwapReceipt.uniswap.graphql
 211 |         TransferTokensReceipt.graphql
 212 |       OrganizationTable.graphql
 213 |       ProposalAccountVote.graphql
 214 |       ProposalBubbleChart.graphql
 215 |       ProposalDetails.graphql
 216 |       ProposalHeader.graphql
 217 |       ProposalMetadata.graphql
 218 |       ProposalMobileButtons.graphql
 219 |       ProposalPendingVotes.graphql
 220 |       ProposalProgressBars.graphql
 221 |       ProposalStatusHistory.graphql
 222 |       ProposalTimelineChart.graphql
 223 |       ProposalVoteModal.graphql
 224 |       ProposalVotesCast.graphql
 225 |       ProposalVotesCastList.graphql
 226 |       VoteListHeader.graphql
 227 |       VoteListTable.graphql
 228 |     hooks/
 229 |       useBlockMetadata.graphql
 230 |       useCreateProposalActionAttempt.graphql
 231 |   register/
 232 |     components/
 233 |       useContractAbi.graphql
 234 |       useCreateSafe.graphql
 235 |   safe/
 236 |     components/
 237 |       SafeHeader.graphql
 238 |       SafeOwners.graphql
 239 |       useUpdatesafe.graphql
 240 |   session/
 241 |     hooks/
 242 |       useLoginAsSafe.graphql
 243 |   tallyProposal/
 244 |     components/
 245 |       ctas/
 246 |         TallyProposalDraftCTA.graphql
 247 |         TallyProposalSubmittedCTA.graphql
 248 |       TallyProposalDetails.graphql
 249 |       TallyProposalHeader.graphql
 250 |       TallyProposalImpactOverviewSummary.graphql
 251 |       TallyProposalMobileButtons.graphql
 252 |       TallyProposalStatusHistory.graphql
 253 |       TallyProposalVersionHistory.graphql
 254 |     hooks/
 255 |       useArchiveProposal.graphql
 256 |       useRestorePreviousProposalDraf.graphql
 257 |       useTallyProposal.graphql
 258 |       useTallyProposalMetadata.graphql
 259 |       useUpdateTallyProposal.graphql
 260 |   user/
 261 |     components/
 262 |       UserConnect.graphql
 263 |       UserCreateAPIKey.graphql
 264 |       UserGovernances.graphql
 265 |       UserOrganizations.graphql
 266 |       UserProfileUpdate.graphql
 267 |     hooks/
 268 |       useRemoveTwitter.graphql
 269 |       useUpdateAccount.graphql
 270 |       useUpdateAccountEmail.graphql
 271 |       useUpdateIdentities.graphql
 272 |       useUpdateProfile.graphql
 273 |       useUpdateProfileImage.graphql
 274 |   voting/
 275 |     hooks/
 276 |       useAccountVotingPower.graphql
 277 |       useCreateVoteAttempt.graphql
 278 |   web3/
 279 |     components/
 280 |       useNonce.graphql
 281 |     hooks/
 282 |       useTransactionAttempts.graphql
 283 | 
 284 | ================================================================
 285 | Files
 286 | ================================================================
 287 | 
 288 | ================
 289 | File: src/address/components/AddressCreatedProposals.graphql
 290 | ================
 291 | query CreatedProposals($input: ProposalsInput!) {
 292 |   proposals(input: $input) {
 293 |     nodes {
 294 |       ... on Proposal {
 295 |         id
 296 |         onchainId
 297 |         originalId
 298 |         governor {
 299 |           id
 300 |         }
 301 |         metadata {
 302 |           description
 303 |         }
 304 |         status
 305 |         createdAt
 306 |         block {
 307 |           timestamp
 308 |         }
 309 |         voteStats {
 310 |           votesCount
 311 |           votersCount
 312 |           type
 313 |           percent
 314 |         }
 315 |       }
 316 |     }
 317 |     pageInfo {
 318 |       firstCursor
 319 |       lastCursor
 320 |     }
 321 |   }
 322 | }
 323 | 
 324 | ================
 325 | File: src/address/components/AddressDAOSProposals.graphql
 326 | ================
 327 | query AddressDAOSProposals($input: ProposalsInput!, $address: Address!) {
 328 |   proposals(input: $input) {
 329 |     nodes {
 330 |       ... on Proposal {
 331 |         id
 332 |         createdAt
 333 |         onchainId
 334 |         originalId
 335 |         metadata {
 336 |           description
 337 |         }
 338 |         governor {
 339 |           id
 340 |         }
 341 |         block {
 342 |           timestamp
 343 |         }
 344 |         proposer {
 345 |           address
 346 |         }
 347 |         creator {
 348 |           address
 349 |         }
 350 |         start {
 351 |           ... on Block {
 352 |             timestamp
 353 |           }
 354 |           ... on BlocklessTimestamp {
 355 |             timestamp
 356 |           }
 357 |         }
 358 |         status
 359 |         voteStats {
 360 |           votesCount
 361 |           votersCount
 362 |           type
 363 |           percent
 364 |         }
 365 |         participationType(address: $address)
 366 |       }
 367 |     }
 368 |     pageInfo {
 369 |       firstCursor
 370 |       lastCursor
 371 |     }
 372 |   }
 373 | }
 374 | 
 375 | ================
 376 | File: src/address/components/AddressGovernances.graphql
 377 | ================
 378 | query AddressGovernancesDelegators($input: DelegatesInput!) {
 379 |   delegates(input: $input) {
 380 |     nodes {
 381 |       ... on Delegate {
 382 |         id
 383 |         delegatorsCount
 384 |         votesCount
 385 |         account {
 386 |           name
 387 |           address
 388 |           ens
 389 |           picture
 390 |         }
 391 |         organization {
 392 |           id
 393 |           name
 394 |           tokenOwnersCount
 395 |           delegatesVotesCount
 396 |           slug
 397 |           metadata {
 398 |             icon
 399 |           }
 400 |         }
 401 |       }
 402 |     }
 403 |     pageInfo {
 404 |       firstCursor
 405 |       lastCursor
 406 |     }
 407 |   }
 408 | }
 409 | 
 410 | query AddressGovernancesDelegatees($input: DelegationsInput!) {
 411 |   delegatees(input: $input) {
 412 |     nodes {
 413 |       ... on Delegation {
 414 |         # this is the address receiving the delegation
 415 |         delegate {
 416 |           name
 417 |           address
 418 |           ens
 419 |           picture
 420 |         }
 421 |         # this is the address delegating
 422 |         delegator {
 423 |           name
 424 |           address
 425 |           ens
 426 |           picture
 427 |         }
 428 |         organization {
 429 |           id
 430 |           name
 431 |           slug
 432 |           delegatesVotesCount
 433 |           metadata {
 434 |             icon
 435 |           }
 436 |         }
 437 |         token {
 438 |           decimals
 439 |           supply
 440 |         }
 441 |         votes
 442 |       }
 443 |     }
 444 |     pageInfo {
 445 |       firstCursor
 446 |       lastCursor
 447 |     }
 448 |   }
 449 | }
 450 | 
 451 | ================
 452 | File: src/address/components/AddressHeader.graphql
 453 | ================
 454 | query AddressHeader($accountId: AccountID!) {
 455 |   account(id: $accountId) {
 456 |     address
 457 |     bio
 458 |     name
 459 |     picture
 460 |     twitter
 461 |   }
 462 | }
 463 | 
 464 | query AddressDelegatingTo($delegateeInput: DelegationInput!) {
 465 |   delegatee(input: $delegateeInput) {
 466 |     delegate {
 467 |       name
 468 |       address
 469 |       ens
 470 |       picture
 471 |     }
 472 |     votes
 473 |     token {
 474 |       id
 475 |       name
 476 |       symbol
 477 |       decimals
 478 |     }
 479 |   }
 480 | }
 481 | 
 482 | ================
 483 | File: src/address/components/AddressReceivedDelegationsGovernance.graphql
 484 | ================
 485 | query DelegateInformation($tokenBalancesInput: TokenBalancesInput!) {
 486 |   tokenBalances(input: $tokenBalancesInput) {
 487 |     balance
 488 |   }
 489 | }
 490 | 
 491 | query ReceivedDelegationsGovernance($input: DelegationsInput!) {
 492 |   delegators(input: $input) {
 493 |     nodes {
 494 |       ... on Delegation {
 495 |         chainId
 496 |         delegator {
 497 |           address
 498 |           name
 499 |           picture
 500 |           twitter
 501 |           ens
 502 |         }
 503 |         blockNumber
 504 |         blockTimestamp
 505 |         votes
 506 |       }
 507 |     }
 508 |     pageInfo {
 509 |       firstCursor
 510 |       lastCursor
 511 |     }
 512 |   }
 513 | }
 514 | 
 515 | ================
 516 | File: src/address/components/AddressTabPanels.graphql
 517 | ================
 518 | query AddressTabPanelsStats(
 519 |   $input: DelegateInput!
 520 |   $proposalsCreatedCountInput: ProposalsCreatedCountInput!
 521 |   $accountId: AccountID!
 522 | ) {
 523 |   account(id: $accountId) {
 524 |     proposalsCreatedCount(input: $proposalsCreatedCountInput)
 525 |   }
 526 |   delegate(input: $input) {
 527 |     delegatorsCount
 528 |     votesCount
 529 |   }
 530 | }
 531 | 
 532 | ================
 533 | File: src/address/hooks/useAccountByEns.graphql
 534 | ================
 535 | query AccountByEns($ens: String!) {
 536 |   accountByEns(ens: $ens) {
 537 |     id
 538 |     address
 539 |     ens
 540 |     name
 541 |     bio
 542 |     picture
 543 |     twitter
 544 |   }
 545 | }
 546 | 
 547 | ================
 548 | File: src/address/hooks/useAddressMetadata.graphql
 549 | ================
 550 | query AddressMetadata($address: Address!) {
 551 |   address(address: $address) {
 552 |     address
 553 |     accounts {
 554 |       id
 555 |       address
 556 |       ens
 557 |       name
 558 |       bio
 559 |       picture
 560 |     }
 561 |   }
 562 | }
 563 | 
 564 | ================
 565 | File: src/address/hooks/useAddressSafes.graphql
 566 | ================
 567 | query AddressSafes($accountId: AccountID!) {
 568 |   account(id: $accountId) {
 569 |     safes
 570 |   }
 571 | }
 572 | 
 573 | ================
 574 | File: src/address/hooks/useDelegateStatement.graphql
 575 | ================
 576 | query DelegateStatement($input: DelegateInput!) {
 577 |   delegate(input: $input) {
 578 |     statement {
 579 |       id
 580 |       address
 581 |       organizationID
 582 |       issues {
 583 |         id
 584 |         name
 585 |         organizationId
 586 |         description
 587 |       }
 588 |       statement
 589 |       statementSummary
 590 |       dataSource
 591 |       dataSourceURL
 592 |       discourseUsername
 593 |       discourseProfileLink
 594 |       isSeekingDelegation
 595 |       isMember
 596 |       hideDisclaimer
 597 |     }
 598 |   }
 599 | }
 600 | 
 601 | ================
 602 | File: src/collaborative/hooks/useAccountsComments.graphql
 603 | ================
 604 | query AccountsComments($ids: [AccountID!]) {
 605 |   accounts(ids: $ids) {
 606 |     id
 607 |     address
 608 |     name
 609 |     picture
 610 |   }
 611 | }
 612 | 
 613 | ================
 614 | File: src/common/components/SearchDaos.graphql
 615 | ================
 616 | query SearchOrgs($input: SearchOrganizationInput!) {
 617 |   searchOrganization(input: $input) {
 618 |     id
 619 |     slug
 620 |     name
 621 |     governorIds
 622 |     metadata {
 623 |       icon
 624 |     }
 625 |     tokenOwnersCount
 626 |     tokenIds
 627 |     chainIds
 628 |   }
 629 | }
 630 | 
 631 | ================
 632 | File: src/common/hooks/balances.graphql
 633 | ================
 634 | query TokenBalances($input: AccountID!) {
 635 |   balances(accountID: $input) {
 636 |    name
 637 |    symbol
 638 |    address
 639 |    logo
 640 |    nativeToken
 641 |    type
 642 |    decimals
 643 |    balance
 644 |    balance24H
 645 |    quoteRate
 646 |    quoteRate24H
 647 |    quote
 648 |    quote24H
 649 |   }
 650 | }
 651 | 
 652 | ================
 653 | File: src/common/hooks/useLogin.graphql
 654 | ================
 655 | mutation Login(
 656 |   $message: String!
 657 |   $signature: String!
 658 |   $signInType: SignInType!
 659 | ) {
 660 |   login(message: $message, signature: $signature, signInType: $signInType)
 661 | }
 662 | 
 663 | ================
 664 | File: src/common/hooks/useMe.graphql
 665 | ================
 666 | query Me {
 667 |   me {
 668 |     id
 669 |     bio
 670 |     name
 671 |     type
 672 |     address
 673 |     email
 674 |     picture
 675 |     apiKeys {
 676 |       name
 677 |       lastFour
 678 |     }
 679 |     ens
 680 |     twitter
 681 |   }
 682 | }
 683 | 
 684 | ================
 685 | File: src/common/hooks/useUploadFile.graphql
 686 | ================
 687 | mutation UploadFile($file: Upload!) {
 688 |   upload(file: {id: 1, upload: $file}) {
 689 |     url
 690 |     id
 691 |     metadata {
 692 |       thumbnail
 693 |       url
 694 |     }
 695 |   }
 696 | }
 697 | 
 698 | ================
 699 | File: src/council/components/ContenderLayoutQuery.graphql
 700 | ================
 701 | query ContenderLayout(
 702 |   $electionNumber: Int!
 703 |   $councilSlug: String!
 704 |   $address: String!
 705 |   $pagination: Pagination
 706 | ) {
 707 |   contender(
 708 |     electionNumber: $electionNumber
 709 |     councilSlug: $councilSlug
 710 |     address: $address
 711 |   ) {
 712 |     id
 713 |     account {
 714 |       id
 715 |       address
 716 |       picture
 717 |       ens
 718 |       twitter
 719 |       name
 720 |     }
 721 |     totalVotes
 722 |     nominated
 723 |     rejected
 724 |     accountElectionMeta {
 725 |       hasRegistered
 726 |       isContender
 727 |       title
 728 |       statement
 729 |     }
 730 |     votes(pagination: $pagination) {
 731 |       voter {
 732 |         id
 733 |         address
 734 |         ens
 735 |         twitter
 736 |         name
 737 |         email
 738 |         bio
 739 |         picture
 740 |       }
 741 |       weight
 742 |     }
 743 |   }
 744 | }
 745 | 
 746 | ================
 747 | File: src/council/components/CouncilCurrentMembersList.graphql
 748 | ================
 749 | query CouncilCurrentMembersList($slug: String!) {
 750 |   council(slug: $slug) {
 751 |     members {
 752 |       firstCohort {
 753 |         address
 754 |         name
 755 |         picture
 756 |         id
 757 |         bio
 758 |         ens
 759 |       }
 760 |       secondCohort {
 761 |         address
 762 |         name
 763 |         picture
 764 |         id
 765 |         bio
 766 |         ens
 767 |       }
 768 |     }
 769 |   }
 770 | }
 771 | 
 772 | ================
 773 | File: src/council/components/CouncilElections.graphql
 774 | ================
 775 | query CouncilElections($slug: String!) {
 776 |   council(slug: $slug) {
 777 |     elections {
 778 |       status
 779 |       number
 780 |       nominationRound {
 781 |         start {
 782 |           ts
 783 |         }
 784 |         end {
 785 |           ts
 786 |         }
 787 |         status
 788 |       }
 789 |       memberRound {
 790 |         end {
 791 |           ts
 792 |         }
 793 |       }
 794 |     }
 795 |   }
 796 | }
 797 | 
 798 | ================
 799 | File: src/council/components/CouncilMembers.graphql
 800 | ================
 801 | query CouncilMembers($slug: String!) {
 802 |   council(slug: $slug) {
 803 |     members {
 804 |       firstCohort {
 805 |         address
 806 |         name
 807 |         picture
 808 |         id
 809 |         bio
 810 |         ens
 811 |       }
 812 |       secondCohort {
 813 |         address
 814 |         name
 815 |         picture
 816 |         id
 817 |         bio
 818 |         ens
 819 |       }
 820 |     }
 821 |   }
 822 | }
 823 | 
 824 | ================
 825 | File: src/council/components/ElectionLayoutQuery.graphql
 826 | ================
 827 | query ElectionLayout($electionNumber: Int!, $councilSlug: String!) {
 828 |   election(councilSlug: $councilSlug, number: $electionNumber) {
 829 |    number
 830 |    status
 831 |    nominationRound {
 832 |     id
 833 |     status
 834 |     endNomineeVotingPeriod {
 835 |       ts
 836 |     }
 837 |     start {
 838 |      ts
 839 |     }
 840 |     end {
 841 |       ts
 842 |     }
 843 |     vettingDuration
 844 |     threshold
 845 |     contenderRegistrationStart {
 846 |       ts
 847 |     }
 848 |    }
 849 |    memberRound {
 850 |     status
 851 |     start {
 852 |       ts
 853 |     }
 854 |     end {
 855 |       ts
 856 |     }
 857 |    }
 858 |   }
 859 | }
 860 | 
 861 | ================
 862 | File: src/council/components/GovernanceCouncilBanner.graphql
 863 | ================
 864 | query GovernanceCouncilBanner($tokenId: AssetID!) {
 865 |   councils(tokenId: $tokenId) {
 866 |    slug
 867 |    name
 868 |    elections {
 869 |     number
 870 |     status
 871 |     nominationRound {
 872 |       end {
 873 |         ts
 874 |       }
 875 |       endNomineeVotingPeriod {
 876 |         ts
 877 |       }
 878 |       start {
 879 |         ts
 880 |       }
 881 |       status
 882 |       vettingDuration
 883 |     }
 884 |     memberRound {
 885 |       fullWeightDuration
 886 |       start {
 887 |         ts
 888 |       }
 889 |       end {
 890 |         ts
 891 |       }
 892 |     }
 893 |    }
 894 |   }
 895 | }
 896 | 
 897 | ================
 898 | File: src/council/components/GovernanceCouncils.graphql
 899 | ================
 900 | query GovernanceCouncils($tokenId: AssetID!) {
 901 |   councils(tokenId: $tokenId) {
 902 |    id
 903 |    name
 904 |    slug
 905 |    elections {
 906 |     status
 907 |    }
 908 |   }
 909 | }
 910 | 
 911 | ================
 912 | File: src/council/components/NomineeHeader.graphql
 913 | ================
 914 | query NomineeHeader($electionNumber: Int!, $councilSlug: String!, $address: String!, $limit: Int!, $includeAddressData: Boolean!) {
 915 |   election(number: $electionNumber, councilSlug: $councilSlug) {
 916 |    memberRound {
 917 |     id
 918 |     status
 919 |     start {
 920 |      ts
 921 |     }
 922 |     end {
 923 |      ts
 924 |     }
 925 |     availableVotes(address: $address) @include(if: $includeAddressData)
 926 |     nominees(pagination: { offset: 0, limit: $limit }) {
 927 |       id
 928 |       account {
 929 |         address
 930 |       }
 931 |       totalVotes
 932 |     }
 933 |    }
 934 |   }
 935 | }
 936 | 
 937 | ================
 938 | File: src/council/components/NomineeSupporters.graphql
 939 | ================
 940 | query NomineeSupporters(
 941 |   $electionNumber: Int!
 942 |   $councilSlug: String!
 943 |   $address: String!
 944 |   $pagination: Pagination
 945 | ) {
 946 |   nominee(
 947 |     electionNumber: $electionNumber
 948 |     councilSlug: $councilSlug
 949 |     address: $address
 950 |   ) {
 951 |     totalVotes
 952 |     totalVoters
 953 |     votes(pagination: $pagination) {
 954 |       voter {
 955 |         id
 956 |         address
 957 |         ens
 958 |         twitter
 959 |         name
 960 |         email
 961 |         bio
 962 |         picture
 963 |       }
 964 |       weight
 965 |     }
 966 |   }
 967 | }
 968 | 
 969 | ================
 970 | File: src/council/components/UpdateCandidateProfile.graphql
 971 | ================
 972 | mutation UpdateCandidateProfile(
 973 |     $councilSlug: String!
 974 |     $electionNumber: Int!
 975 |     $address: String!
 976 |     $title: String
 977 |     $statement: String
 978 |     $email: String
 979 | ) {
 980 |     updateCandidateProfile(
 981 |         councilSlug: $councilSlug
 982 |         electionNumber: $electionNumber
 983 |         address: $address
 984 |         title: $title
 985 |         statement: $statement
 986 |         email: $email
 987 |     )
 988 | }
 989 | 
 990 | ================
 991 | File: src/council/hooks/useContenderByAddressOrEns.graphql
 992 | ================
 993 | query ContenderByAddressOrEns($electionNumber: Int!, $councilSlug: String!, $address: String, $ens: String, $isAddress: Boolean!) {
 994 |   contender(electionNumber: $electionNumber, councilSlug: $councilSlug, address: $address) @include (if: $isAddress) {
 995 |    id
 996 |    account {
 997 |     id
 998 |     address
 999 |     picture
1000 |     ens
1001 |     twitter
1002 |     name
1003 |    }
1004 |    totalVotes
1005 |    nominated
1006 |    rejected
1007 |    accountElectionMeta{
1008 |     title
1009 |     statement
1010 |     isContender
1011 |     hasRegistered
1012 |    }
1013 |   }
1014 |   
1015 |   contenderByEns: contender(electionNumber: $electionNumber, councilSlug: $councilSlug, ens: $ens) @skip (if: $isAddress) {
1016 |    id
1017 |    account {
1018 |     id
1019 |     address
1020 |     picture
1021 |     ens
1022 |     twitter
1023 |     name
1024 |    }
1025 |    totalVotes
1026 |    nominated
1027 |    rejected
1028 |    accountElectionMeta{
1029 |     title
1030 |     statement
1031 |     isContender
1032 |     hasRegistered
1033 |    }
1034 |   }
1035 | }
1036 | 
1037 | ================
1038 | File: src/council/hooks/useContenderElectionMeta.graphql
1039 | ================
1040 | query ContenderElectionMeta($electionNumber: Int!, $councilSlug: String!, $address: String!) {
1041 |   contender(electionNumber: $electionNumber, councilSlug: $councilSlug, address: $address) {
1042 |    accountElectionMeta {
1043 |     title
1044 |     statement
1045 |     hasRegistered
1046 |     isContender
1047 |    }
1048 |   }
1049 | }
1050 | 
1051 | ================
1052 | File: src/council/hooks/useElectionMemberRound.graphql
1053 | ================
1054 | query ElectionMemberRound(
1055 |   $electionNumber: Int!
1056 |   $councilSlug: String!
1057 |   $address: String!
1058 |   $includeAddressData: Boolean!
1059 |   $input: GovernorInput!
1060 | ) {
1061 |   election(number: $electionNumber, councilSlug: $councilSlug) {
1062 |     memberRound {
1063 |       id
1064 |       status
1065 |       fullWeightDuration
1066 |       start {
1067 |         ts
1068 |       }
1069 |       end {
1070 |         ts
1071 |       }
1072 |       availableVotes(address: $address) @include(if: $includeAddressData)
1073 |     }
1074 |     accountElectionMeta(address: $address) @include(if: $includeAddressData) {
1075 |       hasRegistered
1076 |       isContender
1077 |     }
1078 |   }
1079 |   governor(input: $input) {
1080 |     id
1081 |     chainId
1082 |     contracts {
1083 |       governor {
1084 |         address
1085 |         type
1086 |       }
1087 |     }
1088 |     token {
1089 |       decimals
1090 |     }
1091 |   }
1092 | }
1093 | 
1094 | ================
1095 | File: src/council/hooks/useElectionMemberRoundNominees.graphql
1096 | ================
1097 | query ElectionMemberRoundNominees(
1098 |   $electionNumber: Int!
1099 |   $councilSlug: String!
1100 |   $pagination: Pagination
1101 |   $sort: CandidateSort
1102 | ) {
1103 |   election(number: $electionNumber, councilSlug: $councilSlug) {
1104 |     memberRound {
1105 |       nominees(pagination: $pagination, sort: $sort) {
1106 |         id
1107 |         account {
1108 |           address
1109 |           name
1110 |           bio
1111 |           picture
1112 |         }
1113 |         totalVotes
1114 |         accountElectionMeta {
1115 |           title
1116 |         }
1117 |       }
1118 |     }
1119 |   }
1120 | }
1121 | 
1122 | ================
1123 | File: src/council/hooks/useElectionNominationRound.graphql
1124 | ================
1125 | query ElectionNominationRound(
1126 |   $electionNumber: Int!
1127 |   $councilSlug: String!
1128 |   $address: String!
1129 |   $includeAddressData: Boolean!
1130 |   $input: GovernorInput!
1131 | ) {
1132 |   election(number: $electionNumber, councilSlug: $councilSlug) {
1133 |     number
1134 |     status
1135 |     nominationRound {
1136 |       id
1137 |       status
1138 |       start {
1139 |         ts
1140 |       }
1141 |       end {
1142 |         ts
1143 |       }
1144 |       endNomineeVotingPeriod {
1145 |         ts
1146 |       }
1147 |       vettingDuration
1148 |       threshold
1149 |       availableVotes(address: $address) @include(if: $includeAddressData)
1150 |     }
1151 |     memberRound {
1152 |       id
1153 |       status
1154 |       fullWeightDuration
1155 |       start {
1156 |         ts
1157 |       }
1158 |       end {
1159 |         ts
1160 |       }
1161 |     }
1162 |     accountElectionMeta(address: $address) @include(if: $includeAddressData) {
1163 |       hasRegistered
1164 |       isContender
1165 |     }
1166 |   }
1167 |   governor(input: $input) {
1168 |     id
1169 |     chainId
1170 |     contracts {
1171 |       governor {
1172 |         address
1173 |         type
1174 |       }
1175 |     }
1176 |     token {
1177 |       decimals
1178 |     }
1179 |   }
1180 | }
1181 | 
1182 | ================
1183 | File: src/council/hooks/useElectionNominationRoundContenders.graphql
1184 | ================
1185 | query ElectionNominationRoundContenders($electionNumber: Int!, $councilSlug: String!, $pagination: Pagination, $sort: CandidateSort, $filter: ContenderFilter) {
1186 |   nominationRound(electionNumber: $electionNumber, councilSlug: $councilSlug) {
1187 |     contenders(pagination: $pagination, sort: $sort, filter: $filter) {
1188 |       id
1189 |       account {
1190 |         address
1191 |         name
1192 |         bio
1193 |         picture
1194 |       }
1195 |       totalVotes
1196 |       nominated
1197 |       rejected
1198 |       accountElectionMeta {
1199 |         title
1200 |       }
1201 |     }
1202 |   }
1203 | }
1204 | 
1205 | ================
1206 | File: src/council/hooks/useMemberRoundDecayVotes.graphql
1207 | ================
1208 | query MemberRoundDecayVotes(
1209 |   $councilSlug: String!
1210 |   $electionNumber: Int!
1211 |   $votes: Uint256!
1212 | ) {
1213 |   election(councilSlug: $councilSlug, number: $electionNumber) {
1214 |     memberRound {
1215 |       votesToWeight(votes: $votes)
1216 |     }
1217 |   }
1218 | }
1219 | 
1220 | ================
1221 | File: src/council/hooks/useNomineeByAddressOrEns.graphql
1222 | ================
1223 | query NomineeByAddressOrEns($electionNumber: Int!, $councilSlug: String!, $address: String, $ens: String, $isAddress: Boolean!) {
1224 |   nominee(electionNumber: $electionNumber, councilSlug: $councilSlug, address: $address) @include (if: $isAddress) {
1225 |    id
1226 |    account {
1227 |     id
1228 |     address
1229 |     picture
1230 |     ens
1231 |     twitter
1232 |     name
1233 |    }
1234 |    totalVotes
1235 |    accountElectionMeta{
1236 |     title
1237 |     statement
1238 |     isContender
1239 |     hasRegistered
1240 |    }
1241 |   }
1242 | 
1243 |   nomineeByEns: nominee(electionNumber: $electionNumber, councilSlug: $councilSlug, ens: $ens) @skip (if: $isAddress) {
1244 |    id
1245 |    account {
1246 |     id
1247 |     address
1248 |     picture
1249 |     ens
1250 |     twitter
1251 |     name
1252 |    }
1253 |    totalVotes
1254 |    accountElectionMeta{
1255 |     title
1256 |     statement
1257 |     isContender
1258 |     hasRegistered
1259 |    }
1260 |   }
1261 | }
1262 | 
1263 | ================
1264 | File: src/council/hooks/useRegisterAttempt.graphql
1265 | ================
1266 | mutation RegisterAttempt(
1267 |     $councilSlug: String!
1268 |     $electionNumber: Int!
1269 |     $address: String!
1270 |     $txHash: String!
1271 |     $title: String
1272 |     $statement: String
1273 |     $email: String
1274 | ) {
1275 |     registerAsContenderAttempt(
1276 |         councilSlug: $councilSlug
1277 |         electionNumber: $electionNumber
1278 |         address: $address
1279 |         hash: $txHash
1280 |         title: $title
1281 |         statement: $statement
1282 |         email: $email
1283 |     ) 
1284 | }
1285 | 
1286 | ================
1287 | File: src/council/common.graphql
1288 | ================
1289 | query Council($slug: String!) {
1290 |   council(slug: $slug) {
1291 |     id
1292 |     slug
1293 |     name
1294 |     cohortSize
1295 |     description
1296 |   }
1297 | }
1298 | 
1299 | query Election($electionNumber: Int!, $councilSlug: String!) {
1300 |   election(councilSlug: $councilSlug, number: $electionNumber) {
1301 |    number
1302 |    status
1303 |    nominationRound {
1304 |     id
1305 |     status
1306 |    }
1307 |    memberRound {
1308 |     id
1309 |     status
1310 |    }
1311 |   }
1312 | }
1313 | 
1314 | 
1315 | query NominationRound($electionNumber: Int!, $councilSlug: String!) {
1316 |   nominationRound(electionNumber: $electionNumber, councilSlug: $councilSlug) {
1317 |     status
1318 |   }
1319 | }
1320 | 
1321 | query MemberRound($electionNumber: Int!, $councilSlug: String!) {
1322 |   memberRound(electionNumber: $electionNumber, councilSlug: $councilSlug) {
1323 |     status
1324 |   }
1325 | }
1326 | 
1327 | query AccountElectionMeta($electionNumber: Int!, $councilSlug: String!, $address: String!) {
1328 |    election(number: $electionNumber, councilSlug: $councilSlug) {
1329 |       accountElectionMeta(address: $address){
1330 |         hasRegistered
1331 |         isContender
1332 |     }
1333 |   }
1334 | }
1335 | 
1336 | query Contender($electionNumber: Int!, $councilSlug: String!, $address: String!) {
1337 |   contender(electionNumber: $electionNumber, councilSlug: $councilSlug, address: $address) {
1338 |    id
1339 |    account {
1340 |     id
1341 |     address
1342 |     picture
1343 |     ens
1344 |     twitter
1345 |     name
1346 |    }
1347 |    totalVoters
1348 |    totalVotes
1349 |    nominated
1350 |    rejected
1351 |    accountElectionMeta{
1352 |     title
1353 |     statement
1354 |     isContender
1355 |     hasRegistered
1356 |    }
1357 |   }
1358 | }
1359 | 
1360 | 
1361 | query Nominee($electionNumber: Int!, $councilSlug: String!, $address: String!) {
1362 |   nominee(electionNumber: $electionNumber, councilSlug: $councilSlug, address: $address) {
1363 |    id
1364 |    account {
1365 |     id
1366 |     address
1367 |     picture
1368 |     ens
1369 |     twitter
1370 |     name
1371 |    }
1372 |    totalVotes
1373 |    totalVoters
1374 |    accountElectionMeta{
1375 |     title
1376 |     statement
1377 |     isContender
1378 |     hasRegistered
1379 |    }
1380 |   }
1381 | }
1382 | 
1383 | ================
1384 | File: src/createProposal/components/actions/ManageOrcaPodRecipe.graphql
1385 | ================
1386 | query ManageOrcaPodRecipe($accountIds: [AccountID!]) {
1387 |   accounts(ids: $accountIds) {
1388 |     name
1389 |     address
1390 |     picture
1391 |     ens
1392 |     twitter
1393 |   }
1394 | }
1395 | 
1396 | ================
1397 | File: src/createProposal/components/actions/RecipientAddressQuery.graphql
1398 | ================
1399 | query RecipientAddress($address: Address!) {
1400 |   address(address: $address) {
1401 |     ethAccount {
1402 |       address
1403 |       bio
1404 |       ens
1405 |       picture
1406 |       name
1407 |       twitter
1408 |     }
1409 |   }
1410 | }
1411 | 
1412 | ================
1413 | File: src/createProposal/components/actions/SwapPools.uniswap.graphql
1414 | ================
1415 | query SwapPools($where: Pool_filter!) {
1416 |   pools(where: $where) {
1417 |     id
1418 |     feeTier
1419 |     liquidity
1420 |     token0 {
1421 |       id
1422 |       symbol
1423 |     }
1424 |     token1 {
1425 |       id
1426 |       symbol
1427 |     }
1428 |   }
1429 | }
1430 | 
1431 | ================
1432 | File: src/createProposal/components/actions/SwapRecipe.graphql
1433 | ================
1434 | query AvailableSwaps($governorId: AccountID!) {
1435 |   availableSwaps(governorID: $governorId) {
1436 |     buy {
1437 |       id
1438 |       name
1439 |       symbol
1440 |       logo
1441 |       decimals
1442 |     }
1443 |     sell {
1444 |       address
1445 |       balance
1446 |       decimals
1447 |       logo
1448 |       name
1449 |       quoteRate
1450 |       symbol
1451 |     }
1452 |   }
1453 | }
1454 | 
1455 | query QuoteSwap($governorID: AccountID!, $buy: AccountID!, $sell: AccountID!, $sellAmount: Uint256!) {
1456 |   quoteSwap(governorID: $governorID, buy: $buy, sell: $sell, sellAmount: $sellAmount) {
1457 |     buyAmount
1458 |     buyTokenQuoteRate
1459 |     sellAmount
1460 |     feeAmount
1461 |   }
1462 | }
1463 | 
1464 | ================
1465 | File: src/createProposal/components/actions/TransferTokensRecipe.graphql
1466 | ================
1467 | query TransferTokensRecipe($accountIds: [AccountID!]) {
1468 |   accounts(ids: $accountIds) {
1469 |     name
1470 |     address
1471 |     picture
1472 |     twitter
1473 |   }
1474 | }
1475 | 
1476 | ================
1477 | File: src/createProposal/components/receipts/TransferTokensReceipt.graphql
1478 | ================
1479 | query TransferTokensReceipt($accountIds: [AccountID!]) {
1480 |   accounts(ids: $accountIds) {
1481 |     name
1482 |     address
1483 |     picture
1484 |     twitter
1485 |   }
1486 | }
1487 | 
1488 | ================
1489 | File: src/createProposal/components/ActionsSecurityCheck.graphql
1490 | ================
1491 | query ActionsSecurityCheck($input: ProposalSecurityCheckInput!) {
1492 |   actionsSecurityCheck(input: $input) {
1493 |     metadata {
1494 |       threatAnalysis {
1495 |         actionsData {
1496 |           events {
1497 |             eventType
1498 |             severity
1499 |             description
1500 |           }
1501 |           result
1502 |         }
1503 |         proposerRisk
1504 |       }
1505 |     }
1506 |     simulations {
1507 |       publicURI
1508 |       result
1509 |     }
1510 |   }
1511 | }
1512 | 
1513 | ================
1514 | File: src/createProposal/components/CreateProposalGovernanceSelector.graphql
1515 | ================
1516 | query CreateProposalGovernanceSelector($input: GovernorsInput!) {
1517 |   governors(input: $input) {
1518 |     nodes {
1519 |       ... on Governor {
1520 |         id
1521 |         chainId
1522 |         name
1523 |         quorum
1524 |         kind
1525 |         token {
1526 |           id
1527 |           decimals
1528 |         }
1529 |         parameters {
1530 |           proposalThreshold
1531 |           votingPeriod
1532 |           votingDelay
1533 |         }
1534 |         contracts {
1535 |           governor {
1536 |             address
1537 |             type
1538 |           }
1539 |           tokens {
1540 |             address
1541 |             type
1542 |           }
1543 |         }
1544 |       }
1545 |     }
1546 |   }
1547 |   chains {
1548 |     id
1549 |     blockTime
1550 |     layer1Id
1551 |     useLayer1VotingPeriod
1552 |   }
1553 | }
1554 | 
1555 | ================
1556 | File: src/createProposal/components/EditTallyProposal.graphql
1557 | ================
1558 | query EditTallyProposal($input: ProposalInput!) {
1559 |   proposal(input: $input) {
1560 |     id
1561 |     status
1562 |     createdAt
1563 |     proposer {
1564 |       address
1565 |       name
1566 |     }
1567 |     metadata {
1568 |       description
1569 |       title
1570 |       snapshotURL
1571 |     }
1572 |     governor {
1573 |       id
1574 |     }
1575 |     executableCalls {
1576 |       value
1577 |       target
1578 |       calldata
1579 |       signature
1580 |       type
1581 |       decodedCalldata {
1582 |         signature
1583 |         parameters {
1584 |           name
1585 |           type
1586 |           value
1587 |         }
1588 |       }
1589 |       offchaindata {
1590 |         ... on ExecutableCallSwap {
1591 |           amountIn
1592 |           buyToken {
1593 |             id
1594 |             data {
1595 |               decimals
1596 |               name
1597 |               symbol
1598 |               logo
1599 |               price
1600 |             }
1601 |           }
1602 |           sellToken {
1603 |             id
1604 |             data {
1605 |               decimals
1606 |               name
1607 |               symbol
1608 |               logo
1609 |               price
1610 |             }
1611 |           }
1612 |           to
1613 |           priceChecker {
1614 |             slippage
1615 |             tokenPath
1616 |             feePath
1617 |             uniPoolPath
1618 |           }
1619 |           quote {
1620 |             buyAmount
1621 |             buyTokenQuoteRate
1622 |             sellAmount
1623 |             feeAmount
1624 |             validTo
1625 |           }
1626 |           order {
1627 |             status
1628 |             address
1629 |             id
1630 |             buyAmount
1631 |           }
1632 |         }
1633 |         ... on ExecutableCallRewards {
1634 |           contributorFee
1635 |           tallyFee
1636 |           recipients
1637 |         }
1638 |       }
1639 |     }
1640 |   }
1641 | }
1642 | 
1643 | ================
1644 | File: src/createProposal/hooks/useCreateTallyProposal.graphql
1645 | ================
1646 | query CreateProposalContent($input: GovernorInput!) {
1647 |   governor(input: $input) {
1648 |     id
1649 |     chainId
1650 |     name
1651 |     timelockId
1652 |     contracts {
1653 |       governor {
1654 |         address
1655 |         type
1656 |       }
1657 |       tokens {
1658 |         address
1659 |       }
1660 |     }
1661 |     organization {
1662 |       name
1663 |       metadata {
1664 |         icon
1665 |       }
1666 |       governorIds
1667 |     }
1668 |     token {
1669 |       decimals
1670 |     }
1671 |     kind
1672 |     parameters {
1673 |       proposalThreshold
1674 |     }
1675 |   }
1676 | }
1677 | 
1678 | mutation CreateTallyProposal($input: CreateProposalInput!) {
1679 |   createProposal(input: $input) {
1680 |     id
1681 |     metadata {
1682 |       txHash
1683 |     }
1684 |   }
1685 | }
1686 | 
1687 | ================
1688 | File: src/createProposal/hooks/useProposalThresholdRequirements.graphql
1689 | ================
1690 | query ProposalThresholdRequirement($governorId: AccountID!, $address: Address!) {
1691 |   delegate(input: {
1692 |     address: $address
1693 |     governorId: $governorId
1694 |   }) {
1695 |     votesCount
1696 |   }
1697 | }
1698 | 
1699 | ================
1700 | File: src/delegation/components/DelegateModal.graphql
1701 | ================
1702 | query DelegateTokenBalances($input: TokenBalancesInput!) {
1703 |   tokenBalances(input: $input) {
1704 |     balance
1705 |     token {
1706 |       id
1707 |       symbol
1708 |       decimals
1709 |     }
1710 |   }
1711 | }
1712 | 
1713 | ================
1714 | File: src/delegation/components/SecurityCouncilActionBanner.graphql
1715 | ================
1716 | query SecurityCouncilActionBanner(
1717 |   $gnosisSafeId: AccountID!
1718 |   $allTransactions: Boolean
1719 |   $pagination: Pagination
1720 | ) {
1721 |   gnosisSafeTransactions(
1722 |     gnosisSafeId: $gnosisSafeId
1723 |     allTransactions: $allTransactions
1724 |     pagination: $pagination
1725 |   ) {
1726 |     id
1727 |     safeID
1728 |     block {
1729 |       timestamp
1730 |       ts
1731 |     }
1732 |     dataDecoded {
1733 |       method
1734 |     }
1735 |   }
1736 | }
1737 | 
1738 | ================
1739 | File: src/delegation/helpers/GovernanceGovernorType.graphql
1740 | ================
1741 | query GovernanceGovernorType($input: GovernorInput!) {
1742 |   governor(input: $input) {
1743 |     contracts {
1744 |       governor {
1745 |         type
1746 |       }
1747 |     }
1748 |   }
1749 | }
1750 | 
1751 | ================
1752 | File: src/delegation/helpers/GovernanceSponsorDelegationById.graphql
1753 | ================
1754 | query GovernanceSponsorDelegationById($input: GovernorInput!) {
1755 |   governor(input: $input) {
1756 |     id
1757 |     chainId
1758 |     contracts {
1759 |       tokens {
1760 |         type
1761 |         address
1762 |       }
1763 |     }
1764 |   }
1765 | }
1766 | 
1767 | ================
1768 | File: src/delegation/hooks/useAddresDelegationsOut.graphql
1769 | ================
1770 | query AddressDelegatee($input: DelegationInput!) {
1771 |   delegatee(input: $input) {
1772 |     delegate {
1773 |       address
1774 |     }
1775 |   }
1776 | }
1777 | 
1778 | ================
1779 | File: src/delegation/hooks/useCreateDelegationAttempt.graphql
1780 | ================
1781 | mutation CreateDelegationAttempt(
1782 |   $delegatorId: AccountID!
1783 |   $delegateeId: AccountID!
1784 |   $tokenId: AssetID
1785 |   $txID: Bytes32!
1786 | ) {
1787 |   createDelegationAttempt(
1788 |     delegatorId: $delegatorId
1789 |     delegateeId: $delegateeId
1790 |     tokenId: $tokenId
1791 |     txID: $txID
1792 |   )
1793 | }
1794 | 
1795 | ================
1796 | File: src/governance/components/claim/GovernanceClaimAndDelegateAttempt.graphql
1797 | ================
1798 | query GovernanceClaimAndDelegateAttempt($delegatorId: AccountID!, $tokenId: AssetID!) {
1799 |   claimAndDelegateAttempt(
1800 |     delegatorId: $delegatorId
1801 |     tokenId: $tokenId
1802 |   ) {
1803 |     createdAt
1804 |     txID
1805 |   }
1806 | 
1807 |   chains {
1808 |     id
1809 |     blockTime
1810 |   }
1811 | }
1812 | 
1813 | ================
1814 | File: src/governance/components/claim/GovernanceClaimConfirm.graphql
1815 | ================
1816 | query GovernanceClaimConfirm($input: GovernorInput!) {
1817 |   governor(input: $input) {
1818 |     id
1819 |     chainId
1820 |     contracts {
1821 |       tokens {
1822 |         address
1823 |         type
1824 |       }
1825 |       governor {
1826 |         type
1827 |       }
1828 |     }
1829 |     token {
1830 |       id
1831 |     }
1832 |   }
1833 | }
1834 | 
1835 | ================
1836 | File: src/governance/components/guardians/GuardiansAccounts.graphql
1837 | ================
1838 | query GuardiansAccounts($accountIds: [AccountID!]) {
1839 |   accounts(ids: $accountIds) {
1840 |     name
1841 |     address
1842 |     picture
1843 |     ens
1844 |     twitter
1845 |   }
1846 | }
1847 | 
1848 | ================
1849 | File: src/governance/components/DelegateButton.graphql
1850 | ================
1851 | query DelegateButton($input: GovernorInput!) {
1852 |   governor(input: $input) {
1853 |     id
1854 |     chainId
1855 |     name
1856 |     organization {
1857 |       name
1858 |     }
1859 |     contracts {
1860 |       tokens {
1861 |         type
1862 |         address
1863 |       }
1864 |       governor {
1865 |         type
1866 |       }
1867 |     }
1868 |   }
1869 | }
1870 | 
1871 | ================
1872 | File: src/governance/components/GovernanceClaimAirdrop.graphql
1873 | ================
1874 | query GovernanceClaimAirdrop($input: GovernorInput!) {
1875 |   governor(input: $input) {
1876 |     name
1877 |     token {
1878 |       id
1879 |       name
1880 |       symbol
1881 |       decimals
1882 |     }
1883 |   }
1884 | }
1885 | 
1886 | ================
1887 | File: src/governance/components/GovernanceDelegateProfileEdit.graphql
1888 | ================
1889 | query GovernanceDelegateProfileEdit($input: GovernorInput!) {
1890 |   governor(input: $input) {
1891 |     id
1892 |     chainId
1893 |     name
1894 |     organization {
1895 |       name
1896 |     }
1897 |     contracts {
1898 |       tokens {
1899 |         address
1900 |         type
1901 |       }
1902 |     }
1903 |   }
1904 | }
1905 | 
1906 | ================
1907 | File: src/governance/components/GovernanceDelegates.graphql
1908 | ================
1909 | query Delegates($input: DelegatesInput!) {
1910 |   delegates(input: $input) {
1911 |     nodes {
1912 |       ...on Delegate {
1913 |         id
1914 |         account {
1915 |           address
1916 |           bio
1917 |           name
1918 |           picture
1919 |           twitter
1920 |         }
1921 |         votesCount
1922 |         delegatorsCount
1923 |         statement {
1924 |           statementSummary
1925 |         }
1926 |         token {
1927 |           symbol
1928 |           decimals
1929 |         }
1930 |       }
1931 |     }
1932 |     pageInfo {
1933 |       firstCursor
1934 |       lastCursor
1935 |     }
1936 |   }
1937 | }
1938 | 
1939 | ================
1940 | File: src/governance/components/GovernanceDelegatesLayout.graphql
1941 | ================
1942 | query SearchByEns($searchString: String!) {
1943 |   accountByEns(ens: $searchString) {
1944 |     address
1945 |     bio
1946 |     picture
1947 |     name
1948 |     twitter
1949 |   }
1950 | }
1951 | 
1952 | ================
1953 | File: src/governance/components/GovernanceDelegatesSummary.graphql
1954 | ================
1955 | query GovernanceDelegatesSummary($input: GovernorInput!) {
1956 |   governor(input: $input) {
1957 |     id
1958 |     name
1959 |     chainId
1960 |     contracts {
1961 |       tokens {
1962 |         type
1963 |         address
1964 |       }
1965 |       governor {
1966 |         type
1967 |       }
1968 |     }
1969 |     quorum
1970 |     parameters {
1971 |       proposalThreshold
1972 |     }
1973 |     token {
1974 |       supply
1975 |       symbol
1976 |       decimals
1977 |     }
1978 |   }
1979 | }
1980 | 
1981 | ================
1982 | File: src/governance/components/GovernanceHeader.graphql
1983 | ================
1984 | query GovernanceHeader($input: GovernorInput!) {
1985 |   governor(input: $input) {
1986 |     id
1987 |     name
1988 |     chainId
1989 |     delegatesVotesCount
1990 |     token {
1991 |       type
1992 |       supply
1993 |       decimals
1994 |       symbol
1995 |     }
1996 |     contracts {
1997 |       governor {
1998 |         type
1999 |       }
2000 |       tokens {
2001 |         address
2002 |         type
2003 |         address
2004 |       }
2005 |     }
2006 |     organization {
2007 |       id
2008 |       metadata {
2009 |         description
2010 |         icon
2011 |         socials {
2012 |           discord
2013 |           telegram
2014 |           twitter
2015 |           others {
2016 |             label
2017 |             value
2018 |           }
2019 |           website
2020 |         }
2021 |       }
2022 |       name
2023 |       slug
2024 |     }
2025 |     isBehind
2026 |   }
2027 | }
2028 | 
2029 | ================
2030 | File: src/governance/components/GovernanceIdtoToOrgId.graphql
2031 | ================
2032 | query GovernanceIdtoOrgId($input: GovernorInput!) {
2033 |   governor(input: $input) {
2034 |     organization {
2035 |       id
2036 |       name
2037 |       slug
2038 |       metadata {
2039 |         description
2040 |         icon
2041 |         socials {
2042 |           discord
2043 |           telegram
2044 |           twitter
2045 |           others {
2046 |             label
2047 |             value
2048 |           }
2049 |           website
2050 |         }
2051 |       }
2052 |     }
2053 |   }
2054 | }
2055 | 
2056 | ================
2057 | File: src/governance/components/GovernanceIncomingDelegations.graphql
2058 | ================
2059 | query OrganizationDelegateInformation($input: DelegateInput!) {
2060 |   delegate(input: $input) {
2061 |     id
2062 |     delegatorsCount
2063 |     votesCount
2064 |     token {
2065 |       decimals
2066 |       symbol
2067 |     }
2068 |   }
2069 | }
2070 | 
2071 | query OrganizationDelegateChains($input: DelegationsInput!) {
2072 |   delegatees(input: $input) {
2073 |     nodes {
2074 |       ... on Delegation {
2075 |         chainId
2076 |         token {
2077 |           decimals
2078 |           symbol
2079 |         }
2080 |         votes
2081 |       }
2082 |     }
2083 |   }
2084 | }
2085 | 
2086 | query OrganizationReceivedDelegations($input: DelegationsInput!) {
2087 |   delegators(input: $input) {
2088 |     nodes {
2089 |       ... on Delegation {
2090 |         chainId
2091 |         delegator {
2092 |           address
2093 |           name
2094 |           picture
2095 |           twitter
2096 |           ens
2097 |         }
2098 |         blockNumber
2099 |         blockTimestamp
2100 |         votes
2101 |       }
2102 |     }
2103 |     pageInfo {
2104 |       firstCursor
2105 |       lastCursor
2106 |     }
2107 |   }
2108 | }
2109 | 
2110 | ================
2111 | File: src/governance/components/GovernanceMetaInformation.graphql
2112 | ================
2113 | query GovernanceMetaInformation($input: GovernorsInput!) {
2114 |   governors(input: $input) {
2115 |     nodes {
2116 |       ... on Governor {
2117 |         id
2118 |         organization {
2119 |           metadata {
2120 |             icon
2121 |           }
2122 |         }
2123 |         contracts {
2124 |           tokens {
2125 |             address
2126 |           }
2127 |         }
2128 |         token {
2129 |           supply
2130 |         }
2131 |         proposalStats {
2132 |           total
2133 |         }
2134 |         delegatesCount
2135 |         tokenOwnersCount
2136 |       }
2137 |     }
2138 |   }
2139 | }
2140 | 
2141 | ================
2142 | File: src/governance/components/GovernanceModuleInformation.graphql
2143 | ================
2144 | query GovernanceModuleInformation($input: GovernorInput!) {
2145 |   governor(input: $input) {
2146 |     id
2147 |     chainId
2148 |     name
2149 |     quorum
2150 |     timelockId
2151 |     kind
2152 |     type
2153 |     token {
2154 |       id
2155 |       decimals
2156 |     }
2157 |     parameters {
2158 |       proposalThreshold
2159 |       votingPeriod
2160 |       votingDelay
2161 |       clockMode
2162 |     }
2163 |     contracts {
2164 |       governor {
2165 |         address
2166 |         type
2167 |       }
2168 |       tokens {
2169 |         address
2170 |         type
2171 |       }
2172 |     }
2173 |     metadata {
2174 |       description
2175 |     }
2176 |   }
2177 |   chains {
2178 |     id
2179 |     blockTime
2180 |     layer1Id
2181 |     useLayer1VotingPeriod
2182 |   }
2183 | }
2184 | 
2185 | ================
2186 | File: src/governance/components/GovernanceMyVotingPower.graphql
2187 | ================
2188 | query GovernanceMyVotingPower($input: GovernorInput!) {
2189 |   governor(input: $input) {
2190 |     id
2191 |     token {
2192 |       symbol
2193 |       decimals
2194 |     }
2195 |   }
2196 | }
2197 | 
2198 | ================
2199 | File: src/governance/components/GovernanceMyVotingPowerDelegatingTo.graphql
2200 | ================
2201 | query OrganizationMyVotingPowerDelegatingTo($input: DelegationsInput!) {
2202 |   delegatees(input: $input) {
2203 |     nodes {
2204 |       ... on Delegation {
2205 |         chainId
2206 |         delegate {
2207 |           name
2208 |           address
2209 |           ens
2210 |           picture
2211 |         }
2212 |         votes
2213 |         token {
2214 |           id
2215 |           name
2216 |           symbol
2217 |           decimals
2218 |         }
2219 |       }
2220 |     }
2221 |     pageInfo {
2222 |       firstCursor
2223 |       lastCursor
2224 |     }
2225 |   }
2226 | }
2227 | 
2228 | query OrganizationTokenBalances($input: TokenBalancesInput!) {
2229 |   tokenBalances(input: $input) {
2230 |     token {
2231 |       id
2232 |       name
2233 |       symbol
2234 |       decimals
2235 |     }
2236 |     balance
2237 |   }
2238 | }
2239 | 
2240 | ================
2241 | File: src/governance/components/GovernanceProposals.graphql
2242 | ================
2243 | query GovernanceProposals($input: ProposalsInput!) {
2244 |   proposals(input: $input) {
2245 |     nodes {
2246 |       ... on Proposal {
2247 |         id
2248 |         onchainId
2249 |         status
2250 |         originalId
2251 |         createdAt
2252 |         quorum
2253 |         voteStats {
2254 |           votesCount
2255 |           percent
2256 |           type
2257 |           votersCount
2258 |         }
2259 |         metadata {
2260 |           description
2261 |         }
2262 |          start {
2263 |           ... on Block {
2264 |             timestamp
2265 |           }
2266 |           ... on BlocklessTimestamp {
2267 |             timestamp
2268 |           }
2269 |         }
2270 |         block {
2271 |           timestamp
2272 |         }
2273 |         governor {
2274 |           id
2275 |           quorum
2276 |           name
2277 |           timelockId
2278 |           token {
2279 |             decimals
2280 |           }
2281 |         }
2282 |       }
2283 |     }
2284 |     pageInfo {
2285 |       firstCursor
2286 |       lastCursor
2287 |       count
2288 |     }
2289 |   }
2290 | }
2291 | 
2292 | query GovernanceProposalsVotes($input: VotesInput!) {
2293 |   votes(input: $input) {
2294 |     nodes {
2295 |       ... on Vote {
2296 |         proposal {
2297 |           id
2298 |           governor {
2299 |             id
2300 |           }
2301 |         }
2302 |         type
2303 |         voter {
2304 |           picture
2305 |           address
2306 |           twitter
2307 |         }
2308 |       }
2309 |     }
2310 |   }
2311 | }
2312 | 
2313 | query GovernanceTallyProposals($input: ProposalsInput!) {
2314 |   proposals(input: $input) {
2315 |     nodes {
2316 |       ... on Proposal {
2317 |         id
2318 |         createdAt
2319 |         originalId
2320 |         metadata {
2321 |           description
2322 |           title
2323 |         }
2324 |         status
2325 |         executableCalls {
2326 |           calldata
2327 |         }
2328 |         governor {
2329 |           id
2330 |           quorum
2331 |           name
2332 |           organization {
2333 |             slug
2334 |             metadata {
2335 |               icon
2336 |             }
2337 |           }
2338 |         }
2339 |       }
2340 |     }
2341 |     pageInfo {
2342 |       firstCursor
2343 |       lastCursor
2344 |     }
2345 |   }
2346 | }
2347 | 
2348 | ================
2349 | File: src/governance/components/GovernanceProposalStats.graphql
2350 | ================
2351 | query GovernanceProposalsStats($input: GovernorsInput!) {
2352 |   governors(input: $input) {
2353 |     nodes {
2354 |       ... on Governor {
2355 |         proposalStats {
2356 |           passed
2357 |           failed
2358 |         }
2359 |       }
2360 |     }
2361 |   }
2362 | }
2363 | 
2364 | ================
2365 | File: src/governance/components/GovernanceTopAdvocates.graphql
2366 | ================
2367 | query GovernanceTopAdvocates(
2368 |   $input: GovernorInput!
2369 |   $delegatesInput: DelegatesInput!
2370 | ) {
2371 |   governor(input: $input) {
2372 |     id
2373 |     chainId
2374 |     token {
2375 |       decimals
2376 |       supply
2377 |     }
2378 |     delegatesVotesCount
2379 |   }
2380 |   delegates(input: $delegatesInput) {
2381 |     nodes {
2382 |       ... on Delegate {
2383 |         id
2384 |         account {
2385 |           address
2386 |           picture
2387 |           name
2388 |         }
2389 |         votesCount
2390 |         voteChanges {
2391 |           newBalance
2392 |           timestamp
2393 |         }
2394 |       }
2395 |     }
2396 |     pageInfo {
2397 |       firstCursor
2398 |       lastCursor
2399 |     }
2400 |   }
2401 | }
2402 | 
2403 | ================
2404 | File: src/governance/components/GovernanceTreasuryInformation.graphql
2405 | ================
2406 | query GovernanceTreasuryInformation($input: GovernorsInput!) {
2407 |   governors(input: $input) {
2408 |     nodes {
2409 |       ... on Governor {
2410 |         id
2411 |         timelockId
2412 |         name
2413 |         kind
2414 |         contracts {
2415 |           governor {
2416 |             address
2417 |           }
2418 |           tokens {
2419 |             address
2420 |           }
2421 |         }
2422 |       }
2423 |     }
2424 |   }
2425 | }
2426 | 
2427 | ================
2428 | File: src/governance/components/GovernorsByOrganization.graphql
2429 | ================
2430 | query GovernorsByOrganization($input: GovernorsInput!) {
2431 |   governors(input: $input) {
2432 |     nodes {
2433 |       ... on Governor {
2434 |         id
2435 |         name
2436 |         kind
2437 |         quorum
2438 |         isPrimary
2439 |         chainId
2440 |         type
2441 |         contracts {
2442 |           governor {
2443 |             address
2444 |             type
2445 |           }
2446 |           tokens {
2447 |             address
2448 |             type
2449 |           }
2450 |         }
2451 |         token {
2452 |           id
2453 |           decimals
2454 |           name
2455 |           symbol
2456 |           type
2457 |         }
2458 |       }
2459 |     }
2460 |   }
2461 | }
2462 | 
2463 | ================
2464 | File: src/governance/components/OrganizationIssues.graphql
2465 | ================
2466 | query OrganizationIssues($input: IssuesInput) {
2467 |   issues(input: $input) {  
2468 |     id 
2469 |     name
2470 |     organizationId
2471 |   }
2472 | }
2473 | 
2474 | ================
2475 | File: src/governance/hooks/useAccountById.graphql
2476 | ================
2477 | query AccountById($id: AccountID!) {
2478 |   account(id: $id) {
2479 |     address
2480 |     picture
2481 |     name
2482 |   }
2483 | }
2484 | 
2485 | ================
2486 | File: src/governance/hooks/useClaimAirdropEligible.graphql
2487 | ================
2488 | query ClaimAirdropEligible($input: GovernorInput!, $addressId: AccountID!) {
2489 |   governor(input: $input) {
2490 |     token {
2491 |       symbol
2492 |       decimals
2493 |       eligibility(id: $addressId) {
2494 |         amount
2495 |         status
2496 |         proof
2497 |         tx
2498 |       }
2499 |     }
2500 |   }
2501 | }
2502 | 
2503 | ================
2504 | File: src/governance/hooks/useCreateClaimAndDelegateAttempt.graphql
2505 | ================
2506 | mutation CreateClaimAndDelegateAttempt(
2507 |   $delegatorId: AccountID!
2508 |   $tokenId: AssetID!
2509 |   $delegateeId: AccountID!
2510 |   $txID: HashID!
2511 |   $proof: [String!]
2512 |   $expiry: Uint256!
2513 |   $parameterV: Uint256!
2514 |   $parameterR: Bytes32!
2515 |   $parameterS: Bytes32!
2516 | ) {
2517 |   createClaimAndDelegateAttempt(
2518 |     delegatorId: $delegatorId
2519 |     tokenId: $tokenId
2520 |     delegateeId: $delegateeId
2521 |     txID: $txID
2522 |     proof: $proof
2523 |     expiry: $expiry
2524 |     parameterV: $parameterV
2525 |     parameterR: $parameterR
2526 |     parameterS: $parameterS
2527 |   )
2528 | }
2529 | 
2530 | ================
2531 | File: src/governance/hooks/useCreateUnistakerTransaction.graphql
2532 | ================
2533 | mutation CreateUnistakerTransaction($input: CreateUnistakerTransactionInput!) {
2534 |   createUnistakerTransaction(input: $input)
2535 | }
2536 | 
2537 | ================
2538 | File: src/governance/hooks/useGetUnistakerTransactions.graphql
2539 | ================
2540 | query GetUnistakerTransactions(
2541 |   $accnt: AccountID!
2542 |   $status: UnistakerTransactionStatus
2543 | ) {
2544 |   unistakerTransactions(input: { accountId: $accnt, status: $status }) {
2545 |     id
2546 |     type
2547 |     delegatee
2548 |     beneficiary
2549 |     previousAmount
2550 |     newAmount
2551 |     createdAt
2552 |     depositId
2553 |   }
2554 | }
2555 | 
2556 | ================
2557 | File: src/governance/hooks/useGovernorClaimFlow.graphql
2558 | ================
2559 | query GovernorClaimFlow($input: GovernorInput!) {
2560 |   governor(input: $input) {
2561 |     token {
2562 |       symbol
2563 |       decimals
2564 |     }
2565 |   }
2566 | }
2567 | 
2568 | ================
2569 | File: src/governance/hooks/useResumeSync.graphql
2570 | ================
2571 | mutation ResumeSync(
2572 |   $id: AccountID!
2573 | ) {
2574 |   resumeSync(id: $id)
2575 | }
2576 | 
2577 | ================
2578 | File: src/governance/hooks/useUpdateUnistakerTransaction.graphql
2579 | ================
2580 | mutation UpdateUnistakerTransaction($input: UpdateUnistakerTransactionInput!) {
2581 |   updateUnistakerTransaction(input: $input)
2582 | }
2583 | 
2584 | ================
2585 | File: src/governance/hooks/useUpsertDelegateProfile.graphql
2586 | ================
2587 | mutation UpsertDelegateProfile($input: UpsertDelegateProfileInput!) {
2588 |   upsertDelegateProfile(input: $input) {
2589 |     id
2590 |   }
2591 | }
2592 | 
2593 | ================
2594 | File: src/governance/common.graphql
2595 | ================
2596 | query GovernorMetadata($input: GovernorInput!) {
2597 |   governor(input: $input) {
2598 |     id
2599 |     kind
2600 |     chainId
2601 |     quorum
2602 |     contracts {
2603 |       tokens {
2604 |         address
2605 |         type
2606 |       }
2607 |     }
2608 |     token {
2609 |       decimals
2610 |     }
2611 |     timelockId
2612 |     organization {
2613 |       id
2614 |       name
2615 |       slug
2616 |       metadata {
2617 |         description
2618 |         icon
2619 |         socials {
2620 |           discord
2621 |           telegram
2622 |           twitter
2623 |           others {
2624 |             label
2625 |             value
2626 |           }
2627 |           website
2628 |         }
2629 |       }
2630 |       governorIds
2631 |     }
2632 |   }
2633 | }
2634 | 
2635 | query GovernanceFeatures($input: GovernorInput!) {
2636 |   governor(input: $input) {
2637 |     slug
2638 |     features {
2639 |       name
2640 |       enabled
2641 |     }
2642 |   }
2643 | }
2644 | 
2645 | ================
2646 | File: src/meta-transaction/mutations/CreateCastVoteMetaTransaction.graphql
2647 | ================
2648 | mutation CreateCastVoteMetaTransaction($governorId: AccountID!, $address: Address!, $transactionId: String!,
2649 |     $validUntil: Timestamp!, $gasPrice: Uint256!, $proposalId: ID!, $support: SupportType!) {
2650 |   createCastVoteMetaTransaction(
2651 |     governorId: $governorId
2652 |     address: $address
2653 |     transactionId: $transactionId
2654 |     validUntil: $validUntil
2655 |     gasPrice: $gasPrice
2656 |     proposalId: $proposalId
2657 |     support: $support
2658 |   ) {
2659 |     id
2660 |   }
2661 | }
2662 | 
2663 | ================
2664 | File: src/meta-transaction/mutations/CreateDelegateMetaTransaction.graphql
2665 | ================
2666 | mutation CreateDelegateMetaTransaction($governorId: AccountID!, $address: Address!, $tokenContractId: AssetID!,
2667 |     $from: Address!, $delegatee: Address!, $transactionId: String!, $validUntil: Timestamp!, $gasPrice: Uint256!) {
2668 |   createDelegateMetaTransaction(
2669 |     governorId: $governorId
2670 |     address: $address
2671 |     tokenContractId: $tokenContractId
2672 |     from: $from
2673 |     delegatee: $delegatee
2674 |     transactionId: $transactionId
2675 |     validUntil: $validUntil
2676 |     gasPrice: $gasPrice
2677 |   ) {
2678 |     id
2679 |   }
2680 | }
2681 | 
2682 | ================
2683 | File: src/meta-transaction/queries/MetaTransactions.graphql
2684 | ================
2685 | query MetaTransactions(
2686 |   $action: MetaTransactionAction!
2687 |   $governorId: AccountID
2688 |   $address: Address
2689 |   $pagination: Pagination
2690 | ) {
2691 |   metaTransactions(
2692 |     action: $action
2693 |     governorId: $governorId
2694 |     address: $address
2695 |     pagination: $pagination
2696 |   ) {
2697 |     id
2698 |     governorId
2699 |     address
2700 |     action
2701 |     createdAt
2702 |     metadata {
2703 |       ... on CastVoteActionMetadata {
2704 |       	proposalId
2705 |       }
2706 |     }
2707 |   }
2708 | }
2709 | 
2710 | ================
2711 | File: src/organization/components/OrganizationAddAdminForm.graphql
2712 | ================
2713 | query OrganizationAddAdminForm($input: OrganizationMembersInput!) {
2714 |   organizationMembers(input: $input) {
2715 |     nodes {
2716 |       ... on Member {
2717 |         account {
2718 |           address
2719 |         }
2720 |       }
2721 |     }
2722 |   }
2723 | }
2724 | 
2725 | ================
2726 | File: src/organization/components/OrganizationAdminList.graphql
2727 | ================
2728 | query OrganizationAdminList($input: OrganizationMembersInput!) {
2729 |   organizationMembers(input: $input) {
2730 |     nodes {
2731 |       ... on Member {
2732 |         id
2733 |         account {
2734 |           id
2735 |           address
2736 |           name
2737 |           picture
2738 |           ens
2739 |           twitter
2740 |         }
2741 |         role
2742 |       }
2743 |     }
2744 |   }
2745 | }
2746 | 
2747 | ================
2748 | File: src/organization/components/OrganizationBasicSettings.graphql
2749 | ================
2750 | query OrganizationBasicsSettings($input: OrganizationInput!) {
2751 |   organization(input: $input) {
2752 |     id
2753 |     name
2754 |     slug
2755 |     metadata {
2756 |       description
2757 |       socials {
2758 |         discord
2759 |         telegram
2760 |         twitter
2761 |         others {
2762 |           label
2763 |           value
2764 |         }
2765 |         website
2766 |       }
2767 |       karmaName
2768 |     }
2769 |     adminData {
2770 |       contact {
2771 |         name
2772 |         email
2773 |         twitter
2774 |         discord
2775 |       }
2776 |     }
2777 |   }
2778 | }
2779 | 
2780 | query GovernanceBasicsSettings($input: GovernorInput!) {
2781 |   governor(input: $input) {
2782 |     name
2783 |     slug
2784 |   }
2785 | }
2786 | 
2787 | ================
2788 | File: src/organization/components/OrganizationBySlug.graphql
2789 | ================
2790 | query OrganizationBySlug($input: OrganizationInput!) {
2791 |   organization(input: $input) {
2792 |     id
2793 |     name
2794 |     slug
2795 |     chainIds
2796 |     governorIds
2797 |     tokenIds
2798 |     metadata {
2799 |       description
2800 |       icon
2801 |       socials {
2802 |         website
2803 |         discord
2804 |         telegram
2805 |         twitter
2806 |         discourse
2807 |         others {
2808 |           label
2809 |           value
2810 |         }
2811 |       }
2812 |       karmaName
2813 |     }
2814 |     features {
2815 |       name
2816 |       enabled
2817 |     }
2818 |   }
2819 | }
2820 | 
2821 | ================
2822 | File: src/organization/components/OrganizationEditLogo.graphql
2823 | ================
2824 | query OrganizationEditLogo($input: OrganizationInput!) {
2825 |   organization(input: $input) {
2826 |     id
2827 |     slug
2828 |     metadata {
2829 |       icon
2830 |     }
2831 |   }
2832 | }
2833 | 
2834 | ================
2835 | File: src/organization/components/OrganizationHeader.graphql
2836 | ================
2837 | query OrganizationHeader($input: OrganizationInput!) {
2838 |   organization(input: $input) {
2839 |     id
2840 |     metadata {
2841 |       description
2842 |       icon
2843 |       socials {
2844 |         discord
2845 |         telegram
2846 |         twitter
2847 |         others {
2848 |           label
2849 |           value
2850 |         }
2851 |         website
2852 |       }
2853 |       karmaName
2854 |     }
2855 |     name
2856 |     slug
2857 |     governorIds
2858 |   }
2859 | }
2860 | 
2861 | ================
2862 | File: src/organization/components/OrganizationHomeDelegatesMobile.graphql
2863 | ================
2864 | query OrganizationHomeDelegatesMobile($input: OrganizationInput!) {
2865 |   organization(input: $input) {
2866 |     delegatesCount
2867 |     tokenOwnersCount
2868 |   }
2869 | }
2870 | 
2871 | ================
2872 | File: src/organization/components/OrganizationHomeProposalsMobile.graphql
2873 | ================
2874 | query OrganizationHomeProposalsMobile($input: OrganizationInput!) {
2875 |   organization(input: $input) {
2876 |     proposalsCount
2877 |     hasActiveProposals
2878 |   }
2879 | }
2880 | 
2881 | ================
2882 | File: src/organization/components/OrganizationLatestForumActivities.graphql
2883 | ================
2884 | query OrganizationLatestForumActivities($input: OrganizationInput!) {
2885 |   latestForumActivity(input: $input) {
2886 |     topics {
2887 |       title
2888 |       slug
2889 |       replyCount
2890 |       lastPostedAt
2891 |       views
2892 |       pinned
2893 |       originalPosterName
2894 |     }
2895 |   }
2896 | }
2897 | 
2898 | ================
2899 | File: src/organization/components/OrganizationMyVotingPower.graphql
2900 | ================
2901 | query OrganizationMyVotingPower(
2902 |   $delegateeInput: DelegationInput!
2903 |   $delegateInput: DelegateInput!
2904 |   $tokenBalancesInput: TokenBalancesInput!
2905 | ) {
2906 |   delegatee(input: $delegateeInput) {
2907 |     delegate {
2908 |       name
2909 |       address
2910 |       ens
2911 |       picture
2912 |     }
2913 |     votes
2914 |     token {
2915 |       id
2916 |       name
2917 |       symbol
2918 |       decimals
2919 |     }
2920 |   }
2921 | 
2922 |   delegate(input: $delegateInput) {
2923 |     delegatorsCount
2924 |     votesCount
2925 |     token {
2926 |       id
2927 |       name
2928 |       symbol
2929 |       decimals
2930 |     }
2931 |   }
2932 | 
2933 |   tokenBalances(input: $tokenBalancesInput) {
2934 |     token {
2935 |       id
2936 |       name
2937 |       symbol
2938 |       decimals
2939 |     }
2940 |     balance
2941 |   }
2942 | }
2943 | 
2944 | query OrganizationMyVotingPowerMultiChain($input: DelegatesInput!) {
2945 |   delegates(input: $input) {
2946 |     nodes {
2947 |       ... on Delegate {
2948 |         id
2949 |         votesCount
2950 |         delegatorsCount
2951 |         token {
2952 |           symbol
2953 |           decimals
2954 |         }
2955 |       }
2956 |     }
2957 |   }
2958 | }
2959 | 
2960 | ================
2961 | File: src/organization/components/OrganizationRisingDelegates.graphql
2962 | ================
2963 | query OrganizationRisingDelegates($input: GovernorInput!) {
2964 |   governor(input: $input) {
2965 |     token {
2966 |       symbol
2967 |       decimals
2968 |     }
2969 |   }
2970 | }
2971 | 
2972 | ================
2973 | File: src/organization/components/OrganizationSafeList.graphql
2974 | ================
2975 | query OrganizationSafeList($input: GnosisSafesInput) {
2976 |   gnosisSafesV2(input: $input) {
2977 |     id
2978 |     nonce
2979 |     name
2980 |     threshold
2981 |     owners {
2982 |       id
2983 |       address
2984 |       name
2985 |       bio
2986 |       picture
2987 |     }
2988 |     version
2989 |   }
2990 | }
2991 | 
2992 | ================
2993 | File: src/organization/components/OrganizationSlugToId.graphql
2994 | ================
2995 | query OrganizationSlugToId($slug: String!) {
2996 |   organizationSlugToId(slug: $slug)
2997 | }
2998 | 
2999 | ================
3000 | File: src/organization/components/ValidateNewGovernor.graphql
3001 | ================
3002 | query ValidateNewGovernor($input: ValidateNewGovernorInput!) {
3003 |   validateNewGovernor(input: $input) {
3004 |     type
3005 |     startBlock
3006 |     tokenId 
3007 |     tokenStartBlock
3008 |   }
3009 | }
3010 | 
3011 | ================
3012 | File: src/organization/hooks/useCreateDAO.graphql
3013 | ================
3014 | mutation CreateDAO($input: CreateOrganizationInput!) {
3015 |   createOrganization(input: $input) {
3016 |     id
3017 |     slug
3018 |   }
3019 | }
3020 | 
3021 | ================
3022 | File: src/organization/hooks/useJoinOrganization.graphql
3023 | ================
3024 | mutation JoinOrganization($input: JoinOrganizationInput!) {
3025 |   joinOrganization(input: $input)
3026 | }
3027 | 
3028 | ================
3029 | File: src/organization/hooks/useOrganizationDelegatesSummary.graphql
3030 | ================
3031 | query OrganizationDelegatesSummary($input: OrganizationInput!) {
3032 |   organization(input: $input) {
3033 |     delegatesVotesCount
3034 |     tokenIds
3035 |   }
3036 | }
3037 | 
3038 | ================
3039 | File: src/organization/hooks/useRemoveSuperAdmin.graphql
3040 | ================
3041 | mutation RemoveSuperAdmin($input: RemoveSuperAdminInput!) {
3042 |   removeSuperAdmin(input: $input)
3043 | }
3044 | 
3045 | ================
3046 | File: src/organization/hooks/useToken.graphql
3047 | ================
3048 | query Token($input: TokenInput!) {
3049 |   token(input: $input) {
3050 |     id
3051 |     type
3052 |     name
3053 |     symbol
3054 |     supply
3055 |     decimals
3056 |   }
3057 | }
3058 | 
3059 | ================
3060 | File: src/organization/hooks/useUnlinkGnosisSafe.graphql
3061 | ================
3062 | mutation UnlinkGnosisSafe($id: AccountID!) {
3063 |   unlinkGnosisSafe(id: $id)
3064 | }
3065 | 
3066 | ================
3067 | File: src/organization/hooks/useUpdateOrganization.graphql
3068 | ================
3069 | mutation UpdateOrganization($input: UpdateOrganizationInput!) {
3070 |   updateOrganization(input: $input) {
3071 |     name
3072 |     id
3073 |     slug
3074 |   }
3075 | }
3076 | 
3077 | ================
3078 | File: src/organization/hooks/useUpdateOrganizationAdmins.graphql
3079 | ================
3080 | mutation UpdateOrganizationAdmins($input: OrganizationAdminsInput!) {
3081 |   updateOrganizationAdmins(input: $input)
3082 | }
3083 | 
3084 | ================
3085 | File: src/organization/hooks/useUpdateOrganizationPassword.graphql
3086 | ================
3087 | mutation UpdateOrganizationPassword($input: OrganizationPasswordInput!) {
3088 |   updateOrganizationPassword(input: $input)
3089 | }
3090 | 
3091 | ================
3092 | File: src/organization/hooks/useUploadOrganizationLogo.graphql
3093 | ================
3094 | mutation UpdateOrganizationLogo($input: UpdateOrganizationInput!) {
3095 |   updateOrganization(input: $input) {
3096 |     id
3097 |   }
3098 | }
3099 | 
3100 | ================
3101 | File: src/organization/providers/OrganizationProvider.graphql
3102 | ================
3103 | query OrganizationMetadata($input: OrganizationInput!) {
3104 |   organization(input: $input) {
3105 |     id
3106 |     name
3107 |     metadata {
3108 |       description
3109 |       icon
3110 |     }
3111 |     slug
3112 |   }
3113 | }
3114 | 
3115 | query OrganizationContext($input: OrganizationInput!) {
3116 |   organization(input: $input) {
3117 |     id
3118 |     name
3119 |     slug
3120 |     myRole
3121 |     chainIds
3122 |     features {
3123 |       name
3124 |       enabled
3125 |     }
3126 |   }
3127 | }
3128 | 
3129 | ================
3130 | File: src/organization/common.graphql
3131 | ================
3132 | query OrganizationFeatures($input: OrganizationInput!) {
3133 |   organization(input: $input) {
3134 |     features {
3135 |       name
3136 |       enabled
3137 |     }
3138 |   }
3139 | }
3140 | 
3141 | ================
3142 | File: src/proposal/components/ctas/ProposalActionAttempt.graphql
3143 | ================
3144 | query ProposalActionAttempt($input: ProposalActionAttemptInput!) {
3145 |   proposalActionAttempt(input: $input) {
3146 |     txHash
3147 |     chainId
3148 |     type
3149 |     proposal {
3150 |       createdAt
3151 |     }
3152 |   }
3153 | }
3154 | 
3155 | ================
3156 | File: src/proposal/components/ctas/ProposalActiveCTA.graphql
3157 | ================
3158 | query ProposalActiveCTA($input: ProposalInput!, $votersInput: VotesInput!) {
3159 |   proposal(input: $input) {
3160 |     id
3161 |     onchainId
3162 |     metadata {
3163 |       description
3164 |     }
3165 |     executableCalls {
3166 |       calldata
3167 |       target
3168 |       value
3169 |     }
3170 |     status
3171 |     events {
3172 |       type
3173 |       txHash
3174 |     }
3175 |     governor {
3176 |       id
3177 |       chainId
3178 |       timelockId
3179 |       contracts {
3180 |         governor {
3181 |           type
3182 |           address
3183 |         }
3184 |       }
3185 |     }
3186 |   }
3187 |   votes(input: $votersInput) {
3188 |     nodes {
3189 |       ... on Vote {
3190 |         type
3191 |         chainId
3192 |       }
3193 |     }
3194 |   }
3195 | }
3196 | 
3197 | query ProposalVoteAttempt($input: VoteAttemptInput!) {
3198 |   voteAttempt(input: $input) {
3199 |     txHash
3200 |     chainId
3201 |     createdAt
3202 |     type
3203 |   }
3204 | }
3205 | 
3206 | ================
3207 | File: src/proposal/components/ctas/ProposalDefeatedCTA.graphql
3208 | ================
3209 | query ProposalDefeatedCTA($input: ProposalInput!) {
3210 |   proposal(input: $input) {
3211 |     id
3212 |     onchainId
3213 |     metadata {
3214 |       description
3215 |     }
3216 |     voteStats {
3217 |       votesCount
3218 |       votersCount
3219 |       type
3220 |     }
3221 |     quorum
3222 |     governor {
3223 |       id
3224 |       quorum
3225 |       token {
3226 |         type
3227 |         supply
3228 |         decimals
3229 |       }
3230 |       type
3231 |     }
3232 |   }
3233 | }
3234 | 
3235 | ================
3236 | File: src/proposal/components/ctas/ProposalExecutedCTA.graphql
3237 | ================
3238 | query ProposalExecutedCTA($input: ProposalInput!) {
3239 |   proposal(input: $input) {
3240 |     id
3241 |     onchainId
3242 |     metadata {
3243 |       description
3244 |     }
3245 |     events {
3246 |       type
3247 |       txHash
3248 |     }
3249 |     status
3250 |     governor {
3251 |       id
3252 |       chainId
3253 |     }
3254 |   }
3255 | }
3256 | 
3257 | ================
3258 | File: src/proposal/components/ctas/ProposalPendingCTA.graphql
3259 | ================
3260 | query ProposalPendingCTA($input: ProposalInput!) {
3261 |   proposal(input: $input) {
3262 |     id
3263 |     onchainId
3264 |     metadata {
3265 |       description
3266 |     }
3267 |     start {
3268 |       ... on Block {
3269 |         timestamp
3270 |       }
3271 |       ... on BlocklessTimestamp {
3272 |         timestamp
3273 |       }
3274 |     }
3275 |     executableCalls {
3276 |       calldata
3277 |       target
3278 |       value
3279 |     }
3280 |     status
3281 |     events {
3282 |       type
3283 |       txHash
3284 |     }
3285 |     governor {
3286 |       id
3287 |       chainId
3288 |     }
3289 |     governor {
3290 |       id
3291 |       chainId
3292 |       timelockId
3293 |       contracts {
3294 |         governor {
3295 |           type
3296 |           address
3297 |         }
3298 |       }
3299 |     }
3300 |   }
3301 | }
3302 | 
3303 | ================
3304 | File: src/proposal/components/ctas/ProposalQueuedCTA.graphql
3305 | ================
3306 | query ProposalQueuedCTA($input: ProposalInput!) {
3307 |   proposal(input: $input) {
3308 |     id
3309 |     onchainId
3310 |     metadata {
3311 |       description
3312 |     }
3313 |     executableCalls {
3314 |       calldata
3315 |       target
3316 |       value
3317 |     }
3318 |     status
3319 |     events {
3320 |       type
3321 |       txHash
3322 |     }
3323 |     governor {
3324 |       id
3325 |       chainId
3326 |       timelockId
3327 |       contracts {
3328 |         governor {
3329 |           type
3330 |           address
3331 |         }
3332 |       }
3333 |     }
3334 |   }
3335 | }
3336 | 
3337 | ================
3338 | File: src/proposal/components/ctas/ProposalSuccededCTA.graphql
3339 | ================
3340 | query ProposalSuccededCTA($input: ProposalInput!) {
3341 |   proposal(input: $input) {
3342 |     id
3343 |     onchainId
3344 |     metadata {
3345 |       description
3346 |     }
3347 |     executableCalls {
3348 |       calldata
3349 |       target
3350 |       value
3351 |     }
3352 |     status
3353 |     events {
3354 |       type
3355 |     }
3356 |     governor {
3357 |       id
3358 |       chainId
3359 |       timelockId
3360 |       contracts {
3361 |         governor {
3362 |           type
3363 |           address
3364 |         }
3365 |       }
3366 |     }
3367 |   }
3368 | }
3369 | 
3370 | ================
3371 | File: src/proposal/components/receipts/SwapReceipt.uniswap.graphql
3372 | ================
3373 | query SwapReceiptPools($where: Pool_filter!) {
3374 |   pools(where: $where) {
3375 |     id
3376 |     token0 {
3377 |       symbol
3378 |     }
3379 |     token1 {
3380 |       symbol
3381 |     }
3382 |   }
3383 | }
3384 | 
3385 | ================
3386 | File: src/proposal/components/receipts/TransferTokensReceipt.graphql
3387 | ================
3388 | query ProposalTransferTokensReceipt($accountIds: [AccountID!]) {
3389 |   accounts(ids: $accountIds) {
3390 |     name
3391 |     address
3392 |     picture
3393 |     twitter
3394 |   }
3395 | }
3396 | 
3397 | ================
3398 | File: src/proposal/components/OrganizationTable.graphql
3399 | ================
3400 | query ExploreOrgs($input: OrganizationsInput!) {
3401 |   organizations(input: $input) {
3402 |     nodes {
3403 |       ... on Organization {
3404 |         id
3405 |         slug
3406 |         name
3407 |         chainIds
3408 |         proposalsCount
3409 |         hasActiveProposals
3410 |         tokenOwnersCount
3411 |         delegatesCount
3412 |         governorIds
3413 |         metadata {
3414 |           icon
3415 |         }
3416 |         tokenIds
3417 |       }
3418 |     }
3419 |     pageInfo {
3420 |       firstCursor
3421 |       lastCursor
3422 |     }
3423 |   }
3424 | }
3425 | 
3426 | query ExploreSearchOrgs($input: SearchOrganizationInput!) {
3427 |   searchOrganization(input: $input) {
3428 |     id
3429 |     slug
3430 |     name
3431 |     chainIds
3432 |     proposalsCount
3433 |     hasActiveProposals
3434 |     tokenOwnersCount
3435 |     delegatesCount
3436 |     governorIds
3437 |     tokenIds
3438 |     metadata {
3439 |       icon
3440 |     }
3441 |     governorIds
3442 |   }
3443 | }
3444 | 
3445 | ================
3446 | File: src/proposal/components/ProposalAccountVote.graphql
3447 | ================
3448 | query ProposalAccountVote($input: VotesInput!) {
3449 |   votes(input: $input) {
3450 |     nodes {
3451 |       ... on Vote {
3452 |         type
3453 |       }
3454 |     }
3455 |   }
3456 | }
3457 | 
3458 | ================
3459 | File: src/proposal/components/ProposalBubbleChart.graphql
3460 | ================
3461 | query ProposalBubbleChart($input: ProposalInput!, $votesInput: VotesInput!) {
3462 |   proposal(input: $input) {
3463 |     createdAt
3464 |     status
3465 |     governor {
3466 |       id
3467 |       delegatesVotesCount
3468 |       token {
3469 |         supply
3470 |         decimals
3471 |         supply
3472 |       }
3473 |     }
3474 |     voteStats {
3475 |       votersCount
3476 |       votesCount
3477 |       type
3478 |       percent
3479 |     }
3480 |   }
3481 |   votes(input: $votesInput) {
3482 |     nodes {
3483 |       ... on Vote {
3484 |         voter {
3485 |           name
3486 |           address
3487 |         }
3488 |         amount
3489 |         type
3490 |       }
3491 |     }
3492 |   }
3493 | }
3494 | 
3495 | ================
3496 | File: src/proposal/components/ProposalDetails.graphql
3497 | ================
3498 | query ProposalDetails($input: ProposalInput!, $votesInput: VotesInput!) {
3499 |   proposal(input: $input) {
3500 |     id
3501 |     onchainId
3502 |     metadata {
3503 |       description
3504 |       discourseURL
3505 |       snapshotURL
3506 |     }
3507 |     executableCalls {
3508 |       value
3509 |       target
3510 |       calldata
3511 |       signature
3512 |       type
3513 |       decodedCalldata {
3514 |         signature
3515 |         parameters {
3516 |           name
3517 |           type
3518 |           value
3519 |         }
3520 |       }
3521 |       offchaindata {
3522 |         ... on ExecutableCallSwap {
3523 |           amountIn
3524 |           fee
3525 |           buyToken {
3526 |             data {
3527 |               price
3528 |               decimals
3529 |               name
3530 |               symbol
3531 |             }
3532 |           }
3533 |           sellToken {
3534 |             data {
3535 |               price
3536 |               decimals
3537 |               name
3538 |               symbol
3539 |             }
3540 |           }
3541 |           to
3542 |           quote {
3543 |             buyAmount
3544 |             feeAmount
3545 |           }
3546 |           order {
3547 |             id
3548 |             status
3549 |             buyAmount
3550 |             address
3551 |           }
3552 |           priceChecker {
3553 |             tokenPath
3554 |             feePath
3555 |             uniPoolPath
3556 |             slippage
3557 |           }
3558 |         }
3559 |         ... on ExecutableCallRewards {
3560 |           contributorFee
3561 |           tallyFee
3562 |           recipients
3563 |         }
3564 |       }
3565 |     }
3566 |     governor {
3567 |       id
3568 |       chainId
3569 |       slug
3570 |       organization {
3571 |         metadata {
3572 |           description
3573 |         }
3574 |       }
3575 |       contracts {
3576 |         governor {
3577 |           address
3578 |           type
3579 |         }
3580 |       }
3581 |       timelockId
3582 |     }
3583 |   }
3584 |   votes(input: $votesInput) {
3585 |     nodes {
3586 |       ... on Vote {
3587 |         isBridged
3588 |         voter {
3589 |           name
3590 |           picture
3591 |           address
3592 |           twitter
3593 |         }
3594 |         reason
3595 |         type
3596 |         block {
3597 |           timestamp
3598 |         }
3599 |       }
3600 |     }
3601 |   }
3602 | }
3603 | 
3604 | ================
3605 | File: src/proposal/components/ProposalHeader.graphql
3606 | ================
3607 | query ProposalHeader($input: ProposalInput!) {
3608 |   proposal(input: $input) {
3609 |     id
3610 |     onchainId
3611 |     metadata {
3612 |       description
3613 |     }
3614 |     createdAt
3615 |     quorum
3616 |     governor {
3617 |       id
3618 |       name
3619 |       quorum
3620 |       timelockId
3621 |       token {
3622 |         decimals
3623 |       }
3624 |       type
3625 |     }
3626 |     status
3627 |     voteStats {
3628 |       votesCount
3629 |       type
3630 |       votersCount
3631 |     }
3632 |     proposer {
3633 |       name
3634 |       picture
3635 |       address
3636 |     }
3637 |     creator {
3638 |       name
3639 |       picture
3640 |       address
3641 |     }
3642 |     events {
3643 |       type
3644 |     }
3645 |   }
3646 | }
3647 | 
3648 | ================
3649 | File: src/proposal/components/ProposalMetadata.graphql
3650 | ================
3651 | query ProposalMetadata($input: ProposalInput!) {
3652 |   proposal(input: $input) {
3653 |     id
3654 |     onchainId
3655 |     metadata {
3656 |       title
3657 |       description
3658 |       snapshotURL
3659 |       discourseURL
3660 |     }
3661 |     status
3662 |     events {
3663 |       block {
3664 |         number
3665 |       }
3666 |       type
3667 |     }
3668 |     governor {
3669 |       id
3670 |       organization {
3671 |         name
3672 |         metadata {
3673 |           icon
3674 |         }
3675 |       }
3676 |     }
3677 |   }
3678 | }
3679 | 
3680 | ================
3681 | File: src/proposal/components/ProposalMobileButtons.graphql
3682 | ================
3683 | query ProposalMobileButtons($input: ProposalInput!) {
3684 |   proposal(input: $input) {
3685 |     id
3686 |     metadata {
3687 |       description
3688 |     }
3689 |     createdAt
3690 |     governor {
3691 |       id
3692 |     }
3693 |     status
3694 |   }
3695 | }
3696 | 
3697 | ================
3698 | File: src/proposal/components/ProposalPendingVotes.graphql
3699 | ================
3700 | query ProposalPendingVotes($input: VotesInput!) {
3701 |     votes(input: $input) {
3702 |         nodes {
3703 |             ... on Vote {
3704 |                 isBridged
3705 |             }
3706 |         }
3707 |     }
3708 | }
3709 | 
3710 | ================
3711 | File: src/proposal/components/ProposalProgressBars.graphql
3712 | ================
3713 | query ProposalProgressBars($input: ProposalInput!) {
3714 |   proposal(input: $input) {
3715 |     voteStats {
3716 |       votersCount
3717 |       type
3718 |       percent
3719 |     }
3720 |     governor {
3721 |       token {
3722 |         decimals
3723 |       }
3724 |     }
3725 |   }
3726 | }
3727 | 
3728 | ================
3729 | File: src/proposal/components/ProposalStatusHistory.graphql
3730 | ================
3731 | query ProposalStatusHistory($input: ProposalInput!) {
3732 |   proposal(input: $input) {
3733 |     end {
3734 |       ... on Block {
3735 |         id
3736 |         timestamp
3737 |       }
3738 |       ... on BlocklessTimestamp {
3739 |         timestamp
3740 |       }
3741 |     }
3742 |     start {
3743 |       ... on Block {
3744 |         id
3745 |         timestamp
3746 |       }
3747 |       ... on BlocklessTimestamp {
3748 |         timestamp
3749 |       }
3750 |     }
3751 |     creator {
3752 |       name
3753 |       address
3754 |       picture
3755 |     }
3756 |     governor {
3757 |       timelockId
3758 |       quorum
3759 |       token {
3760 |         decimals
3761 |       }
3762 |       type
3763 |     }
3764 |     voteStats {
3765 |       votesCount
3766 |       type
3767 |       votersCount
3768 |     }
3769 |     proposer {
3770 |       name
3771 |       address
3772 |       picture
3773 |     }
3774 |     createdAt
3775 |     quorum
3776 |     block {
3777 |       id
3778 |     }
3779 |     events {
3780 |       type
3781 |       txHash
3782 |       chainId
3783 |       createdAt
3784 |       block {
3785 |         id
3786 |         timestamp
3787 |       }
3788 |     }
3789 |     status
3790 |   }
3791 | }
3792 | 
3793 | ================
3794 | File: src/proposal/components/ProposalTimelineChart.graphql
3795 | ================
3796 | query ProposalTimelineChart($input: ProposalInput!, $votesInput: VotesInput!) {
3797 |   proposal(input: $input) {
3798 |     createdAt
3799 |     organization {
3800 |       slug
3801 |     }
3802 |     governor {
3803 |       quorum
3804 |       token {
3805 |         decimals
3806 |       }
3807 |     }
3808 |     quorum
3809 |     voteStats {
3810 |       votesCount
3811 |       votersCount
3812 |       type
3813 |       percent
3814 |     }
3815 |   }
3816 |   votes(input: $votesInput) {
3817 |     nodes {
3818 |       ... on Vote {
3819 |         voter {
3820 |           name
3821 |           picture
3822 |           address
3823 |         }
3824 |         amount
3825 |         type
3826 |         id
3827 |         block {
3828 |           id
3829 |           timestamp
3830 |         }
3831 |       }
3832 |     }
3833 |     pageInfo {
3834 |       count
3835 |       lastCursor
3836 |     }
3837 |   }
3838 | }
3839 | 
3840 | ================
3841 | File: src/proposal/components/ProposalVoteModal.graphql
3842 | ================
3843 | query ProposalVoteModal($input: ProposalInput!, $address: Address!) {
3844 |   proposal(input: $input) {
3845 |     id
3846 |     onchainId
3847 |     metadata {
3848 |       title
3849 |       description
3850 |     }
3851 |     delegateVotesCount(address: $address)
3852 |     governor {
3853 |       id
3854 |       token {
3855 |         decimals
3856 |         supply
3857 |       }
3858 |       contracts {
3859 |         governor {
3860 |           type
3861 |           address
3862 |         }
3863 |       }
3864 |       organization {
3865 |         id
3866 |         name
3867 |         metadata {
3868 |           icon
3869 |         }
3870 |         tokenIds
3871 |       }
3872 |     }
3873 |   }
3874 |   accountV2(id: $address) {
3875 |     address
3876 |     name
3877 |     picture
3878 |     twitter
3879 |   }
3880 | }
3881 | 
3882 | query ProposalVotingPower($input: DelegationsInput!) {
3883 |   delegatees(input: $input) {
3884 |     nodes {
3885 |       ... on Delegation {
3886 |         id
3887 |         votes
3888 |         chainId
3889 |       }
3890 |     }
3891 |   }
3892 | }
3893 | 
3894 | query ProposalCastVotes($input: VotesInput!) {
3895 |   votes(input: $input) {
3896 |     nodes {
3897 |       ... on Vote {
3898 |         id
3899 |         chainId
3900 |         txHash
3901 |         type
3902 |       }
3903 |     }
3904 |   }
3905 | }
3906 | 
3907 | query ProposalParticipations($input: ProposalInput!, $address: Address!) {
3908 |   proposal(input: $input) {
3909 |     id
3910 |     chainId
3911 |     participationType(address: $address)
3912 |   }
3913 | }
3914 | 
3915 | ================
3916 | File: src/proposal/components/ProposalVotesCast.graphql
3917 | ================
3918 | query ProposalVotesCast($input: ProposalInput!) {
3919 |   proposal(input: $input) {
3920 |     onchainId
3921 |     status
3922 |     quorum
3923 |     voteStats {
3924 |       votesCount
3925 |       votersCount
3926 |       type
3927 |       percent
3928 |     }
3929 |     governor {
3930 |       quorum
3931 |       token {
3932 |         decimals
3933 |       }
3934 |       type
3935 |       id
3936 |     }
3937 |   }
3938 | }
3939 | 
3940 | ================
3941 | File: src/proposal/components/ProposalVotesCastList.graphql
3942 | ================
3943 | query ProposalVotesCastList($forInput: VotesInput!, $againstInput: VotesInput!, $abstainInput: VotesInput!) {
3944 |   forVotes: votes(input: $forInput) {
3945 |     nodes {
3946 |       ... on Vote {
3947 |         isBridged
3948 |         voter {
3949 |           name
3950 |           picture
3951 |           address
3952 |           twitter
3953 |         }
3954 |         amount
3955 |         type
3956 |         chainId
3957 |       }
3958 |     }
3959 |   }
3960 | 
3961 |   againstVotes: votes(input: $againstInput) {
3962 |     nodes {
3963 |       ... on Vote {
3964 |         isBridged
3965 |         voter {
3966 |           name
3967 |           picture
3968 |           address
3969 |           twitter
3970 |         }
3971 |         amount
3972 |         type
3973 |         chainId
3974 |       }
3975 |     }
3976 |   }
3977 | 
3978 |   abstainVotes: votes(input: $abstainInput) {
3979 |     nodes {
3980 |       ... on Vote {
3981 |         isBridged
3982 |         voter {
3983 |           name
3984 |           picture
3985 |           address
3986 |           twitter
3987 |         }
3988 |         amount
3989 |         type
3990 |         chainId
3991 |       }
3992 |     }
3993 |   }
3994 | }
3995 | 
3996 | 
3997 | query ProposalVoterVotesCastList($input: VotesInput!) {
3998 |   votes(input: $input) {
3999 |     nodes {
4000 |       ... on Vote {
4001 |         isBridged
4002 |         voter {
4003 |           name
4004 |           picture
4005 |           address
4006 |           twitter
4007 |         }
4008 |         amount
4009 |         type
4010 |         chainId
4011 |       }
4012 |     }
4013 |   }
4014 | }
4015 | 
4016 | ================
4017 | File: src/proposal/components/VoteListHeader.graphql
4018 | ================
4019 | query VoteListHeader($input: ProposalInput!) {
4020 |   proposal(input: $input) {
4021 |     id
4022 |     metadata {
4023 |       description
4024 |     }
4025 |     governor {
4026 |       organization {
4027 |         name
4028 |         metadata {
4029 |           icon
4030 |         }
4031 |       }
4032 |     }
4033 |   }
4034 | }
4035 | 
4036 | ================
4037 | File: src/proposal/components/VoteListTable.graphql
4038 | ================
4039 | query VoteListTable($input: VotesInput!) {
4040 |   votes(input: $input) {
4041 |     nodes {
4042 |        ... on Vote {
4043 |         isBridged
4044 |         amount
4045 |         type
4046 |         voter {
4047 |           name
4048 |           picture
4049 |           address
4050 |           twitter
4051 |         }
4052 |         chainId
4053 |       }
4054 |     }
4055 |     pageInfo {
4056 |       firstCursor
4057 |       lastCursor
4058 |     }
4059 |   }
4060 | }
4061 | 
4062 | query VoteListTableGovernance($input: GovernorInput!) {
4063 |   governor(input: $input) {
4064 |     token {
4065 |       decimals
4066 |       supply
4067 |     }
4068 |   }
4069 | }
4070 | 
4071 | ================
4072 | File: src/proposal/hooks/useBlockMetadata.graphql
4073 | ================
4074 | query BlockMetadata($chain: ChainID!, $blockNumber: Int!) {
4075 |   block(id: {chain: $chain, blockNumber: $blockNumber}) {
4076 |     id
4077 |     number
4078 |     timestamp
4079 |   }
4080 | }
4081 | 
4082 | ================
4083 | File: src/proposal/hooks/useCreateProposalActionAttempt.graphql
4084 | ================
4085 | mutation CreateProposalActionAttempt(
4086 |   $input: CreateProposalActionAttemptInput!
4087 | ) {
4088 |   createProposalActionAttempt(input: $input)
4089 | }
4090 | 
4091 | ================
4092 | File: src/register/components/useContractAbi.graphql
4093 | ================
4094 | query ContractABI($id: AccountID!) {
4095 |   contractAbi(id: $id) {
4096 |     type
4097 |     name
4098 |   }
4099 | }
4100 | 
4101 | ================
4102 | File: src/register/components/useCreateSafe.graphql
4103 | ================
4104 | mutation CreateSafe($input: CreateSafeInput!) {
4105 |   createSafeV2(input: $input)
4106 | }
4107 | 
4108 | ================
4109 | File: src/safe/components/SafeHeader.graphql
4110 | ================
4111 | query SafeHeader($id: AccountID!) {
4112 |   account(id: $id) {
4113 |     address
4114 |     name
4115 |   }
4116 |   gnosisSafe(id: $id) {
4117 |     id
4118 |     name
4119 |   }
4120 | }
4121 | 
4122 | ================
4123 | File: src/safe/components/SafeOwners.graphql
4124 | ================
4125 | query SafeOwners($id: AccountID!) {
4126 |   gnosisSafe(id: $id) {
4127 |     threshold
4128 |     owners {
4129 |       id
4130 |       address
4131 |       name
4132 |       ens
4133 |       twitter
4134 |       picture
4135 |     }
4136 |   }
4137 | }
4138 | 
4139 | ================
4140 | File: src/safe/components/useUpdatesafe.graphql
4141 | ================
4142 | mutation UpdateSafe($id: AccountID!, $name: String!) {
4143 |   updateSafe(id: $id, name: $name)
4144 | }
4145 | 
4146 | ================
4147 | File: src/session/hooks/useLoginAsSafe.graphql
4148 | ================
4149 | mutation LoginAsSafe($accountId: AccountID!) {
4150 |   loginAsSafe(id: $accountId)
4151 | }
4152 | 
4153 | ================
4154 | File: src/tallyProposal/components/ctas/TallyProposalDraftCTA.graphql
4155 | ================
4156 | query TallyProposalDraftCTA($input: ProposalInput!) {
4157 |   proposal(input: $input) {
4158 |     id
4159 |     status
4160 |     createdAt
4161 |     originalId
4162 |     executableCalls {
4163 |       value
4164 |       target
4165 |       calldata
4166 |       signature
4167 |     }
4168 |     proposer {
4169 |       address
4170 |       name
4171 |     }
4172 |     metadata {
4173 |       description
4174 |       title
4175 |     }
4176 |     events {
4177 |       txHash
4178 |       type
4179 |     }
4180 |     governor {
4181 |       id
4182 |       chainId
4183 |       contracts {
4184 |         governor {
4185 |           address
4186 |           type
4187 |         }
4188 |       }
4189 |       token {
4190 |         decimals
4191 |       }
4192 |       parameters {
4193 |         proposalThreshold
4194 |       }
4195 |     }
4196 |   }
4197 | }
4198 | 
4199 | ================
4200 | File: src/tallyProposal/components/ctas/TallyProposalSubmittedCTA.graphql
4201 | ================
4202 | query TallyProposalSubmittedCTA($input: ProposalInput!) {
4203 |   proposal(input: $input) {
4204 |     id
4205 |     governor {
4206 |       chainId
4207 |     }
4208 |     events {
4209 |       type
4210 |       txHash
4211 |     }
4212 |   }
4213 | }
4214 | 
4215 | ================
4216 | File: src/tallyProposal/components/TallyProposalDetails.graphql
4217 | ================
4218 | query TallyProposalDetails($input: ProposalInput!) {
4219 |   proposal(input: $input) {
4220 |     id
4221 |     metadata {
4222 |       title
4223 |       description
4224 |       snapshotURL
4225 |     }
4226 |     status
4227 |     executableCalls {
4228 |       value
4229 |       target
4230 |       calldata
4231 |       signature
4232 |       type
4233 |       decodedCalldata {
4234 |         signature
4235 |         parameters {
4236 |           name
4237 |           type
4238 |           value
4239 |         }
4240 |       }
4241 |       offchaindata {
4242 |         ... on ExecutableCallSwap {
4243 |           amountIn
4244 |           fee
4245 |           buyToken {
4246 |             data {
4247 |               price
4248 |               decimals
4249 |               name
4250 |               symbol
4251 |             }
4252 |           }
4253 |           sellToken {
4254 |             data {
4255 |               price
4256 |               decimals
4257 |               name
4258 |               symbol
4259 |             }
4260 |           }
4261 |           to
4262 |           quote {
4263 |             buyAmount
4264 |             feeAmount
4265 |           }
4266 |           order {
4267 |             id
4268 |             status
4269 |             buyAmount
4270 |             address
4271 |           }
4272 |           priceChecker {
4273 |             tokenPath
4274 |             feePath
4275 |             uniPoolPath
4276 |             slippage
4277 |           }
4278 |         }
4279 |         ... on ExecutableCallRewards {
4280 |           contributorFee
4281 |           tallyFee
4282 |           recipients
4283 |         }
4284 |       }
4285 |     }
4286 |     governor {
4287 |       id
4288 |       chainId
4289 |       slug
4290 |       organization {
4291 |         metadata {
4292 |           description
4293 |         }
4294 |       }
4295 |       contracts {
4296 |         governor {
4297 |           address
4298 |           type
4299 |         }
4300 |         tokens {
4301 |           address
4302 |         }
4303 |       }
4304 |       timelockId
4305 |     }
4306 |   }
4307 | }
4308 | 
4309 | ================
4310 | File: src/tallyProposal/components/TallyProposalHeader.graphql
4311 | ================
4312 | query TallyProposalHeader($input: ProposalInput!) {
4313 |   proposal(input: $input) {
4314 |     id
4315 |     metadata {
4316 |       description
4317 |       title
4318 |     }
4319 |     status
4320 |     governor {
4321 |       quorum
4322 |       name
4323 |       chainId
4324 |     }
4325 |     proposer {
4326 |       name
4327 |       picture
4328 |       address
4329 |     }
4330 |     executableCalls {
4331 |       calldata
4332 |     }
4333 |     originalId
4334 |   }
4335 | }
4336 | 
4337 | ================
4338 | File: src/tallyProposal/components/TallyProposalImpactOverviewSummary.graphql
4339 | ================
4340 | query ProposalSecurityCheck($proposalId: ID!) {
4341 |   proposalSecurityCheck(proposalId: $proposalId) {
4342 |     metadata {
4343 |       metadata {
4344 |         threatAnalysis {
4345 |           actionsData {
4346 |             events {
4347 |               eventType
4348 |               severity
4349 |               description
4350 |             }
4351 |             result
4352 |           }
4353 |           proposerRisk
4354 |         }
4355 |       }
4356 |       simulations {
4357 |         publicURI
4358 |         result
4359 |       }
4360 |     }
4361 |     createdAt
4362 |   }
4363 | }
4364 | 
4365 | ================
4366 | File: src/tallyProposal/components/TallyProposalMobileButtons.graphql
4367 | ================
4368 | query TallyProposalMobileButtons($input: ProposalInput!) {
4369 |   proposal(input: $input) {
4370 |     id
4371 |     status
4372 |     originalId
4373 |     governor {
4374 |       id
4375 |     }
4376 |   }
4377 | }
4378 | 
4379 | ================
4380 | File: src/tallyProposal/components/TallyProposalStatusHistory.graphql
4381 | ================
4382 | query TallyProposalStatusHistory($input: ProposalInput!) {
4383 |   proposal(input: $input) {
4384 |     id
4385 |     createdAt
4386 |     governor {
4387 |       id
4388 |       timelockId
4389 |     }
4390 |     proposer {
4391 |       name
4392 |       address
4393 |       picture
4394 |     }
4395 |     executableCalls {
4396 |       target
4397 |     }
4398 |   }
4399 | }
4400 | 
4401 | ================
4402 | File: src/tallyProposal/components/TallyProposalVersionHistory.graphql
4403 | ================
4404 | query TallyProposalVersionHistory($input: ProposalInput!) {
4405 |   proposalWithVersions(input: $input) {
4406 |     id
4407 |     createdAt
4408 |     proposer {
4409 |       name
4410 |       address
4411 |     }
4412 |   }
4413 | }
4414 | 
4415 | ================
4416 | File: src/tallyProposal/hooks/useArchiveProposal.graphql
4417 | ================
4418 | mutation ArchiveProposal($originalId: IntID!) {
4419 |   archiveProposal(originalId: $originalId)
4420 | }
4421 | 
4422 | ================
4423 | File: src/tallyProposal/hooks/useRestorePreviousProposalDraf.graphql
4424 | ================
4425 | mutation RestorePreviousProposalDraft($id: IntID!) {
4426 |   restoreProposalDraft(id: $id)
4427 | }
4428 | 
4429 | ================
4430 | File: src/tallyProposal/hooks/useTallyProposal.graphql
4431 | ================
4432 | query TallyProposal($input: ProposalInput!) {
4433 |   proposal(input: $input) {
4434 |     onchainId
4435 |     status
4436 |     proposer {
4437 |       address
4438 |     }
4439 |     governor {
4440 |       id
4441 |       organization {
4442 |         governorIds
4443 |       }
4444 |     }
4445 |   }
4446 | }
4447 | 
4448 | ================
4449 | File: src/tallyProposal/hooks/useTallyProposalMetadata.graphql
4450 | ================
4451 | query TallyProposalMetadata($input: ProposalInput!) {
4452 |   proposal(input: $input) {
4453 |     id
4454 |     originalId
4455 |     onchainId
4456 |     metadata {
4457 |       title
4458 |       description
4459 |       snapshotURL
4460 |     }
4461 |     status
4462 |     proposer {
4463 |       address
4464 |     }
4465 |     governor {
4466 |       id
4467 |       kind
4468 |       organization {
4469 |         id
4470 |         name
4471 |         metadata {
4472 |           icon
4473 |         }
4474 |       }
4475 |     }
4476 |   }
4477 | }
4478 | 
4479 | ================
4480 | File: src/tallyProposal/hooks/useUpdateTallyProposal.graphql
4481 | ================
4482 | mutation UpdateTallyProposal($input: UpdateProposalInput!) {
4483 |   updateProposal(input: $input) {
4484 |     id
4485 |   }
4486 | }
4487 | 
4488 | ================
4489 | File: src/user/components/UserConnect.graphql
4490 | ================
4491 | query UserConnectAddress($address: Address!) {
4492 |     address(address: $address) {
4493 |         address
4494 |         ethAccount {
4495 |             email
4496 |         }
4497 |     }
4498 | }
4499 | 
4500 | ================
4501 | File: src/user/components/UserCreateAPIKey.graphql
4502 | ================
4503 | mutation UserCreateAPIKEY($name: String!) {
4504 |   createAPIKey(name: $name) 
4505 | }
4506 | 
4507 | ================
4508 | File: src/user/components/UserGovernances.graphql
4509 | ================
4510 | query UserOrganizationsMemberOf($input: OrganizationsInput) {
4511 |   organizations(input: $input) {
4512 |     nodes {
4513 |       ... on Organization {
4514 |         id
4515 |         name
4516 |         chainIds
4517 |         slug
4518 |         metadata {
4519 |           icon
4520 |         }
4521 |         hasActiveProposals
4522 |       }
4523 |     }
4524 |   }
4525 | }
4526 | 
4527 | ================
4528 | File: src/user/components/UserOrganizations.graphql
4529 | ================
4530 | query UserOrganizations($input: OrganizationsInput) {
4531 |   organizations(input: $input) {
4532 |     nodes {
4533 |       ... on Organization {
4534 |         id
4535 |         metadata {
4536 |           description
4537 |           socials {
4538 |             website
4539 |           }
4540 |           icon
4541 |         }
4542 |         name
4543 |         slug
4544 |         myRole
4545 |         governorIds
4546 |       }
4547 |     }
4548 |   }
4549 | }
4550 | 
4551 | ================
4552 | File: src/user/components/UserProfileUpdate.graphql
4553 | ================
4554 | mutation UserProfileUpdate($bio: String, $name: String, $picture: String) {
4555 |   updateAccount(bio: $bio, name: $name, picture: $picture) 
4556 | }
4557 | 
4558 | ================
4559 | File: src/user/hooks/useRemoveTwitter.graphql
4560 | ================
4561 | mutation RemoveTwitter {
4562 |     removeTwitter
4563 | }
4564 | 
4565 | ================
4566 | File: src/user/hooks/useUpdateAccount.graphql
4567 | ================
4568 | mutation UpdateAccount($bio: String, $name: String) {
4569 |   updateAccount(bio: $bio, name: $name) 
4570 | }
4571 | 
4572 | ================
4573 | File: src/user/hooks/useUpdateAccountEmail.graphql
4574 | ================
4575 | mutation UpdateAccountEmail($email: String) {
4576 |   updateAccount(email: $email) 
4577 | }
4578 | 
4579 | ================
4580 | File: src/user/hooks/useUpdateIdentities.graphql
4581 | ================
4582 | mutation UpdateIdentities($identities: IdentitiesInput) {
4583 |   updateAccount(identities: $identities) 
4584 | }
4585 | 
4586 | ================
4587 | File: src/user/hooks/useUpdateProfile.graphql
4588 | ================
4589 | mutation UpdateProfile($name: String, $bio: String) {
4590 |   updateAccount(name: $name, bio: $bio) 
4591 | }
4592 | 
4593 | ================
4594 | File: src/user/hooks/useUpdateProfileImage.graphql
4595 | ================
4596 | mutation UpdateProfileImage($picture: String) {
4597 |   updateAccount(picture: $picture) 
4598 | }
4599 | 
4600 | ================
4601 | File: src/voting/hooks/useAccountVotingPower.graphql
4602 | ================
4603 | query GovernorAccountVotingPower($input: DelegateInput!, $blockNumber: Int) {
4604 |   delegate(input: $input) {
4605 |     votesCount(blockNumber: $blockNumber)
4606 |   }
4607 | }
4608 | 
4609 | ================
4610 | File: src/voting/hooks/useCreateVoteAttempt.graphql
4611 | ================
4612 | mutation CreateVoteAttempt($input: CreateVoteAttemptInput!) {
4613 |   createVoteAttempt(input: $input)
4614 | }
4615 | 
4616 | ================
4617 | File: src/web3/components/useNonce.graphql
4618 | ================
4619 | query Nonce {
4620 |   nonce {
4621 |     expirationTime
4622 |     issuedAt
4623 |     nonce
4624 |     nonceToken
4625 |   }
4626 | }
4627 | 
4628 | ================
4629 | File: src/web3/hooks/useTransactionAttempts.graphql
4630 | ================
4631 | query TransactionAttempts($input: TransactionAttemptsInput!) {
4632 |   transactionAttempts(input: $input) {
4633 |     id
4634 |     tokenId
4635 |     transactionType
4636 |     createdAt
4637 |   }
4638 | }
4639 | 
```
Page 4/5FirstPrevNextLast