diff --git a/build/superRare/superRare.wasm b/build/superRare/superRare.wasm index 78f32d4..c6eed0d 100644 Binary files a/build/superRare/superRare.wasm and b/build/superRare/superRare.wasm differ diff --git a/package.json b/package.json index d19fee7..51c7c89 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "super-rare-proto-reputation", + "name": "sr-proto-subgraph", "license": "UNLICENSED", "scripts": { "codegen": "graph codegen", "build": "graph build", - "deploy": "graph deploy --node https://api.thegraph.com/deploy/ mercuricchloride/super-rare-proto-reputation", - "create-local": "graph create --node http://localhost:8020/ mercuricchloride/super-rare-proto-reputation", - "remove-local": "graph remove --node http://localhost:8020/ mercuricchloride/super-rare-proto-reputation", - "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 mercuricchloride/super-rare-proto-reputation" + "deploy": "graph deploy --node https://api.thegraph.com/deploy/ graphrica/sr-proto-subgraph", + "create-local": "graph create --node http://localhost:8020/ graphrica/sr-proto-subgraph", + "remove-local": "graph remove --node http://localhost:8020/ graphrica/sr-proto-subgraph", + "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 graphrica/sr-proto-subgraph" }, "dependencies": { "@graphprotocol/graph-cli": "0.30.0-alpha.1", diff --git a/src/mapping.ts b/src/mapping.ts index 438cd56..2bd1406 100644 --- a/src/mapping.ts +++ b/src/mapping.ts @@ -27,7 +27,7 @@ function checkType(event: ethereum.EventParam): Array { switch(event.value.kind){ case ethereum.ValueKind.ADDRESS: ret = [ - event.value.toAddress().toString(), + event.value.toAddress().toHexString(), "ADDRESS" ] break