├── .gitignore ├── common └── schema.js ├── config.json ├── index.ts ├── package.json ├── scripts └── graph-compiler │ ├── cli.js │ ├── config.js │ ├── schema │ ├── index.js │ ├── schema.js │ ├── schema_entry.js │ └── schema_entry_field.js │ ├── subgraph │ ├── index.js │ └── subgraph.js │ └── utils.js ├── src ├── account.gql.json ├── constants.ts ├── decimals.gql.json ├── decimals.ts ├── events.gql.json ├── events.ts ├── index.ts ├── integers.ts ├── persistent │ ├── index.ts │ ├── string.gql.json │ ├── string.ts │ ├── string2.ts │ ├── stringarray.gql.json │ ├── stringarray.ts │ └── stringarray2.ts ├── transactions.gql.json └── transactions.ts └── testing ├── GenericFactory.json ├── mapping.ts └── subgraph.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/.gitignore -------------------------------------------------------------------------------- /common/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/common/schema.js -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/config.json -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | export * from './src'; 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/package.json -------------------------------------------------------------------------------- /scripts/graph-compiler/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/cli.js -------------------------------------------------------------------------------- /scripts/graph-compiler/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/config.js -------------------------------------------------------------------------------- /scripts/graph-compiler/schema/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/schema/index.js -------------------------------------------------------------------------------- /scripts/graph-compiler/schema/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/schema/schema.js -------------------------------------------------------------------------------- /scripts/graph-compiler/schema/schema_entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/schema/schema_entry.js -------------------------------------------------------------------------------- /scripts/graph-compiler/schema/schema_entry_field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/schema/schema_entry_field.js -------------------------------------------------------------------------------- /scripts/graph-compiler/subgraph/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/subgraph/index.js -------------------------------------------------------------------------------- /scripts/graph-compiler/subgraph/subgraph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/subgraph/subgraph.js -------------------------------------------------------------------------------- /scripts/graph-compiler/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/scripts/graph-compiler/utils.js -------------------------------------------------------------------------------- /src/account.gql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/account.gql.json -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/decimals.gql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/decimals.gql.json -------------------------------------------------------------------------------- /src/decimals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/decimals.ts -------------------------------------------------------------------------------- /src/events.gql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/events.gql.json -------------------------------------------------------------------------------- /src/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/events.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/integers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/integers.ts -------------------------------------------------------------------------------- /src/persistent/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/index.ts -------------------------------------------------------------------------------- /src/persistent/string.gql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/string.gql.json -------------------------------------------------------------------------------- /src/persistent/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/string.ts -------------------------------------------------------------------------------- /src/persistent/string2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/string2.ts -------------------------------------------------------------------------------- /src/persistent/stringarray.gql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/stringarray.gql.json -------------------------------------------------------------------------------- /src/persistent/stringarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/stringarray.ts -------------------------------------------------------------------------------- /src/persistent/stringarray2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/persistent/stringarray2.ts -------------------------------------------------------------------------------- /src/transactions.gql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/transactions.gql.json -------------------------------------------------------------------------------- /src/transactions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/src/transactions.ts -------------------------------------------------------------------------------- /testing/GenericFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/testing/GenericFactory.json -------------------------------------------------------------------------------- /testing/mapping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/testing/mapping.ts -------------------------------------------------------------------------------- /testing/subgraph.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amxx/graphprotocol-utils/HEAD/testing/subgraph.yaml --------------------------------------------------------------------------------