UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

14 lines (13 loc) 354 B
export const source = ({ contract }) => ` owner: '${contract}'`; export const mapping = () => ` apiVersion: 0.0.5 language: wasm/assemblyscript entities: - Block - Transaction blockHandlers: - handler: handleBlock transactionHandlers: - handler: handleTx file: ./src/mapping.ts`;