diff --git a/package.json b/package.json index 57e4f02..a7430a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/ajna-watcher-ts", - "version": "0.1.0", + "version": "0.1.1", "description": "ajna-watcher-ts", "private": true, "main": "dist/index.js", diff --git a/subgraph-build/AjnaToken/AjnaToken.wasm b/subgraph-build/AjnaToken/AjnaToken.wasm index 9988b88..26408c1 100644 Binary files a/subgraph-build/AjnaToken/AjnaToken.wasm and b/subgraph-build/AjnaToken/AjnaToken.wasm differ diff --git a/subgraph-build/BurnWrappedAjna/BurnWrappedAjna.wasm b/subgraph-build/BurnWrappedAjna/BurnWrappedAjna.wasm index 2b79f79..0c8512f 100644 Binary files a/subgraph-build/BurnWrappedAjna/BurnWrappedAjna.wasm and b/subgraph-build/BurnWrappedAjna/BurnWrappedAjna.wasm differ diff --git a/subgraph-build/ERC20PoolFactory/ERC20PoolFactory.wasm b/subgraph-build/ERC20PoolFactory/ERC20PoolFactory.wasm index c445d6f..08df35e 100644 Binary files a/subgraph-build/ERC20PoolFactory/ERC20PoolFactory.wasm and b/subgraph-build/ERC20PoolFactory/ERC20PoolFactory.wasm differ diff --git a/subgraph-build/ERC20PoolFactory/abis/DSToken.json b/subgraph-build/ERC20PoolFactory/abis/DSToken.json new file mode 100644 index 0000000..b5181d2 --- /dev/null +++ b/subgraph-build/ERC20PoolFactory/abis/DSToken.json @@ -0,0 +1,566 @@ +[ + { + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ + { + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "stop", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "guy", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "owner_", + "type": "address" + } + ], + "name": "setOwner", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "src", + "type": "address" + }, + { + "name": "dst", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "guy", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "wad", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "name_", + "type": "bytes32" + } + ], + "name": "setName", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "src", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "stopped", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "authority_", + "type": "address" + } + ], + "name": "setAuthority", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "symbol", + "outputs": [ + { + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "guy", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "wad", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "dst", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "dst", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "push", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "src", + "type": "address" + }, + { + "name": "dst", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "move", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "start", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "authority", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "guy", + "type": "address" + } + ], + "name": "approve", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "src", + "type": "address" + }, + { + "name": "guy", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "src", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "pull", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "name": "symbol_", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": false, + "name": "wad", + "type": "uint256" + } + ], + "name": "Mint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": false, + "name": "wad", + "type": "uint256" + } + ], + "name": "Burn", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "authority", + "type": "address" + } + ], + "name": "LogSetAuthority", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "owner", + "type": "address" + } + ], + "name": "LogSetOwner", + "type": "event" + }, + { + "anonymous": true, + "inputs": [ + { + "indexed": true, + "name": "sig", + "type": "bytes4" + }, + { + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": true, + "name": "foo", + "type": "bytes32" + }, + { + "indexed": true, + "name": "bar", + "type": "bytes32" + }, + { + "indexed": false, + "name": "wad", + "type": "uint256" + }, + { + "indexed": false, + "name": "fax", + "type": "bytes" + } + ], + "name": "LogNote", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + } +] \ No newline at end of file diff --git a/subgraph-build/ERC721PoolFactory/ERC721PoolFactory.wasm b/subgraph-build/ERC721PoolFactory/ERC721PoolFactory.wasm index e3f77d7..ea5f8c2 100644 Binary files a/subgraph-build/ERC721PoolFactory/ERC721PoolFactory.wasm and b/subgraph-build/ERC721PoolFactory/ERC721PoolFactory.wasm differ diff --git a/subgraph-build/GrantFund/GrantFund.wasm b/subgraph-build/GrantFund/GrantFund.wasm index e8badc5..f5ca389 100644 Binary files a/subgraph-build/GrantFund/GrantFund.wasm and b/subgraph-build/GrantFund/GrantFund.wasm differ diff --git a/subgraph-build/PositionManager/PositionManager.wasm b/subgraph-build/PositionManager/PositionManager.wasm index c2f0273..4d6efac 100644 Binary files a/subgraph-build/PositionManager/PositionManager.wasm and b/subgraph-build/PositionManager/PositionManager.wasm differ diff --git a/subgraph-build/subgraph.yaml b/subgraph-build/subgraph.yaml index 0c9fc93..dd4ca6b 100644 --- a/subgraph-build/subgraph.yaml +++ b/subgraph-build/subgraph.yaml @@ -68,6 +68,8 @@ dataSources: file: ERC20PoolFactory/abis/ERC20.json - name: PoolInfoUtils file: ERC20PoolFactory/abis/PoolInfoUtils.json + - name: DSToken + file: ERC20PoolFactory/abis/DSToken.json eventHandlers: - event: PoolCreated(address,bytes32) handler: handlePoolCreated @@ -106,7 +108,7 @@ dataSources: source: abi: GrantFund address: "0x0000000000000000000000000000000000000000" - startBlock: 3749104 + startBlock: 3750988 mapping: kind: ethereum/events apiVersion: 0.0.7 @@ -168,7 +170,7 @@ dataSources: source: abi: BurnWrappedAjna address: "0x0000000000000000000000000000000000000000" - startBlock: 3749104 + startBlock: 3750988 mapping: kind: ethereum/events apiVersion: 0.0.7 diff --git a/subgraph-build/templates/ERC20Pool/ERC20Pool.wasm b/subgraph-build/templates/ERC20Pool/ERC20Pool.wasm index 391d9bc..27452af 100644 Binary files a/subgraph-build/templates/ERC20Pool/ERC20Pool.wasm and b/subgraph-build/templates/ERC20Pool/ERC20Pool.wasm differ diff --git a/subgraph-build/templates/ERC721Pool/ERC721Pool.wasm b/subgraph-build/templates/ERC721Pool/ERC721Pool.wasm index 7d971bc..c053e3c 100644 Binary files a/subgraph-build/templates/ERC721Pool/ERC721Pool.wasm and b/subgraph-build/templates/ERC721Pool/ERC721Pool.wasm differ