Update Registry ABI file.
This commit is contained in:
parent
2699dc5bcc
commit
b47d0100b6
@ -1,7 +1,7 @@
|
|||||||
import Web3 from 'web3';
|
import Web3 from 'web3';
|
||||||
import { environment } from '@src/environments/environment';
|
import { environment } from '@src/environments/environment';
|
||||||
|
|
||||||
const abi: Array<any> = require('@src/assets/js/block-sync/data/TokenUniqueSymbolIndex.json');
|
const abi: Array<any> = require('@src/assets/js/block-sync/data/AccountsIndex.json');
|
||||||
const web3: Web3 = new Web3(environment.web3Provider);
|
const web3: Web3 = new Web3(environment.web3Provider);
|
||||||
|
|
||||||
export class TokenRegistry {
|
export class TokenRegistry {
|
||||||
|
@ -13,7 +13,7 @@ export class RegistryService {
|
|||||||
registry: CICRegistry = new CICRegistry(
|
registry: CICRegistry = new CICRegistry(
|
||||||
this.web3,
|
this.web3,
|
||||||
environment.registryAddress,
|
environment.registryAddress,
|
||||||
'CICRegistry',
|
'Registry',
|
||||||
this.fileGetter,
|
this.fileGetter,
|
||||||
['../../assets/js/block-sync/data']
|
['../../assets/js/block-sync/data']
|
||||||
);
|
);
|
||||||
|
@ -5,52 +5,5 @@
|
|||||||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
||||||
"stateMutability": "view",
|
"stateMutability": "view",
|
||||||
"type": "function"
|
"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"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user