shard_contract_support
parent
1189c6f386
commit
a14d7b3ef4
@ -1,5 +1,6 @@ |
||||
import {ABIManager} from 'src/indexer/indexer/contracts/utils/ABIManager' |
||||
import ERC1155ABI from 'src/indexer/indexer/contracts/erc1155/ERC1155ABI.json' |
||||
import {IABI} from 'src/indexer/indexer/contracts/types' |
||||
import {ShardID} from 'src/types' |
||||
|
||||
export const ABI = ABIManager(ERC1155ABI as IABI) |
||||
export const ABIFactory = (shardID: ShardID) => ABIManager(shardID, ERC1155ABI as IABI) |
||||
|
@ -1,5 +1,6 @@ |
||||
import {ABIManager} from 'src/indexer/indexer/contracts/utils/ABIManager' |
||||
import ERC20ABI from 'src/indexer/indexer/contracts/erc20/ERC20ABI.json' |
||||
import {IABI} from 'src/indexer/indexer/contracts/types' |
||||
import {ShardID} from 'src/types' |
||||
|
||||
export const ABI = ABIManager(ERC20ABI as IABI) |
||||
export const ABIFactory = (shardID: ShardID) => ABIManager(shardID, ERC20ABI as IABI) |
||||
|
@ -1,5 +1,6 @@ |
||||
import {ABIManager} from 'src/indexer/indexer/contracts/utils/ABIManager' |
||||
import ERC721ABI from 'src/indexer/indexer/contracts/erc721/ERC721ABI.json' |
||||
import {IABI} from 'src/indexer/indexer/contracts/types' |
||||
import {ShardID} from 'src/types' |
||||
|
||||
export const ABI = ABIManager(ERC721ABI as IABI) |
||||
export const ABIFactory = (shardID: ShardID) => ABIManager(shardID, ERC721ABI as IABI) |
||||
|
Loading…
Reference in new issue