diff --git a/src/app/_eth/token-registry.ts b/src/app/_eth/token-registry.ts index 24cfa00..34e7bef 100644 --- a/src/app/_eth/token-registry.ts +++ b/src/app/_eth/token-registry.ts @@ -1,7 +1,7 @@ import Web3 from 'web3'; import { environment } from '@src/environments/environment'; -const abi: Array = require('@src/assets/js/block-sync/data/TokenUniqueSymbolIndex.json'); +const abi: Array = require('@src/assets/js/block-sync/data/AccountsIndex.json'); const web3: Web3 = new Web3(environment.web3Provider); export class TokenRegistry { diff --git a/src/app/_services/registry.service.ts b/src/app/_services/registry.service.ts index ae853cf..0600f5e 100644 --- a/src/app/_services/registry.service.ts +++ b/src/app/_services/registry.service.ts @@ -13,7 +13,7 @@ export class RegistryService { registry: CICRegistry = new CICRegistry( this.web3, environment.registryAddress, - 'CICRegistry', + 'Registry', this.fileGetter, ['../../assets/js/block-sync/data'] ); diff --git a/src/assets/js/block-sync/data/Registry.json b/src/assets/js/block-sync/data/Registry.json index 497cb29..ca53001 100644 --- a/src/assets/js/block-sync/data/Registry.json +++ b/src/assets/js/block-sync/data/Registry.json @@ -5,52 +5,5 @@ "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" - }, - { - "inputs": [{ "internalType": "bytes32", "name": "_identifier", "type": "bytes32" }], - "name": "chainOf", - "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [{ "internalType": "bytes32", "name": "_chain", "type": "bytes32" }], - "name": "configSumOf", - "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "identifiers", - "outputs": [{ "internalType": "bytes32[]", "name": "", "type": "bytes32[]" }], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [{ "internalType": "address", "name": "", "type": "address" }], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "seal", - "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { "internalType": "bytes32", "name": "_identifier", "type": "bytes32" }, - { "internalType": "address", "name": "_address", "type": "address" }, - { "internalType": "bytes32", "name": "_chainDescriptor", "type": "bytes32" }, - { "internalType": "bytes32", "name": "_chainConfig", "type": "bytes32" } - ], - "name": "set", - "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], - "stateMutability": "nonpayable", - "type": "function" } ]