Skip to content

Azulo Trust SubGraph to add transparency to the trust ecosystem. Including, trusts created, assets, wealth and distribution.

Notifications You must be signed in to change notification settings

Azulo-app/azulo-trust-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Azulo Trust Subgraph

This subgraph tracks activity on trusts and transactions within Azulo's multi-sig wallets.

The purpose is show to show transparency of Azulo's trusts through usage data.

Built by the Azulo team.

Notes

Azulo is built using Gnosis Safe Contracts.

For more information see the Gnosis Safe docs and/or the docs for The Graph.

Networks:

Prerequiste

  • yarn
install yarn
  • graph-cli
yarn global add @graphprotocol/graph-cli

Getting started

  1. Get the source and install the dependencies
yarn install
  1. Build
yarn prepare:mainnet
yarn codegen
yarn build

Deployment

  1. Authenticate to a graph node
$ graph auth https://api.thegraph.com/deploy/ <token>
  1. Deploy
graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ <github username>/<project name>

Debugging

curl --location --request POST 'https://api.thegraph.com/index-node/graphql' --data-raw '{"query":"{ indexingStatusForPendingVersion(subgraphName: "<SUBGRAPH_USERNAME>/<SUBGRAPH_NAME>") { subgraph fatalError { message } nonFatalErrors { message } } }"}'

Model

  • Trust
    • Transaction

Query samples

Get Trust details

{
  trust(id: "0x12312312.....") {
    id
    creator
    network
    stamp
    hash
    factory
    owners
    threshold
    transactions {
      id
      stamp
      hash
      status
      value
      destination
      data
      signatures
      nonce
      operation
      estimatedSafeTxGas
      estimatedBaseGas
      estimatedGasPrice
      gasToken
      refundReceiver
      gasUsed
      gasPrice
    }
  }
}

About

Azulo Trust SubGraph to add transparency to the trust ecosystem. Including, trusts created, assets, wealth and distribution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published