Stop exporting types from integrations package
This commit is contained in:
parent
adaf304b4e
commit
ac28744df6
@ -6,7 +6,7 @@ import { BigNumber } from '@0x/utils';
|
|||||||
// alias for clarity
|
// alias for clarity
|
||||||
type address = string;
|
type address = string;
|
||||||
|
|
||||||
export interface TokenData<TERC20, TERC721, TERC1155> {
|
interface TokenData<TERC20, TERC721, TERC1155> {
|
||||||
erc20: TERC20;
|
erc20: TERC20;
|
||||||
erc721: TERC721;
|
erc721: TERC721;
|
||||||
erc1155: TERC1155;
|
erc1155: TERC1155;
|
||||||
@ -20,7 +20,7 @@ export type TokenContracts = TokenData<
|
|||||||
ERC1155MintableContract[]
|
ERC1155MintableContract[]
|
||||||
>;
|
>;
|
||||||
|
|
||||||
export interface Named<T> {
|
interface Named<T> {
|
||||||
[readableName: string]: T;
|
[readableName: string]: T;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,11 +34,11 @@ export type TokenContractsByName = TokenData<
|
|||||||
Named<ERC1155MintableContract>
|
Named<ERC1155MintableContract>
|
||||||
>;
|
>;
|
||||||
|
|
||||||
export interface ERC721TokenIds {
|
interface ERC721TokenIds {
|
||||||
[tokenAddress: string]: BigNumber[];
|
[tokenAddress: string]: BigNumber[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ERC1155TokenIds {
|
interface ERC1155TokenIds {
|
||||||
[tokenAddress: string]: {
|
[tokenAddress: string]: {
|
||||||
fungible: BigNumber[];
|
fungible: BigNumber[];
|
||||||
nonFungible: BigNumber[];
|
nonFungible: BigNumber[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user