mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 16:54:08 +00:00
Host API stubs (#12)
This commit is contained in:
@@ -1,5 +1,39 @@
|
||||
// The entry file of your WebAssembly module.
|
||||
import {
|
||||
// ethereum,
|
||||
// store,
|
||||
log
|
||||
// ipfs,
|
||||
// json,
|
||||
// crypto,
|
||||
|
||||
export function add (a: i32, b: i32): i32 {
|
||||
return a + b;
|
||||
// dataSource,
|
||||
// ens,
|
||||
|
||||
// typeConversion,
|
||||
|
||||
// bigDecimal,
|
||||
// bigInt,
|
||||
|
||||
// Address,
|
||||
// BigDecimal,
|
||||
// BigInt,
|
||||
// ByteArray,
|
||||
// Bytes,
|
||||
// DataSourceContext,
|
||||
// DataSourceTemplate,
|
||||
// Entity,
|
||||
// JSONValue,
|
||||
// JSONValueKind,
|
||||
// JSONValuePayload,
|
||||
// Result,
|
||||
// TypedMap,
|
||||
// TypedMapEntry,
|
||||
// Value,
|
||||
// ValueKind,
|
||||
// ValuePayload,
|
||||
// Wrapped
|
||||
} from '@graphprotocol/graph-ts';
|
||||
|
||||
export function callGraphAPI (): void {
|
||||
log.debug('hello {}', ['world']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user