()
| 57 | ]; |
| 58 | |
| 59 | const mockDsFn = (): EthereumDs[] => [ |
| 60 | { |
| 61 | kind: EthereumDatasourceKind.Runtime, |
| 62 | startBlock: 1, |
| 63 | options: { |
| 64 | abi: 'Erc721', |
| 65 | address: '', |
| 66 | }, |
| 67 | assets: { |
| 68 | erc721: {file: 'erc721.json'}, |
| 69 | } as unknown as Map<string, {file: string}>, |
| 70 | mapping: { |
| 71 | file: '', |
| 72 | handlers: [ |
| 73 | { |
| 74 | handler: 'handleTransaction', |
| 75 | kind: EthereumHandlerKind.Call, |
| 76 | filter: { |
| 77 | function: 'approve(address,uint256)', |
| 78 | }, |
| 79 | }, |
| 80 | { |
| 81 | handler: 'handleLog', |
| 82 | kind: EthereumHandlerKind.Event, |
| 83 | filter: { |
| 84 | topics: ['Transfer(address,address,uint256)'], |
| 85 | }, |
| 86 | }, |
| 87 | ], |
| 88 | }, |
| 89 | }, |
| 90 | ]; |
| 91 | |
| 92 | const mockDsStr = |
| 93 | '' + |
no outgoing calls
no test coverage detected