Split ERC1155 Asset Proxy from ERC1155 POC implementation - squashed
This commit is contained in:
		@@ -38,11 +38,16 @@ export const constants = {
 | 
			
		||||
    NUM_DUMMY_ERC20_TO_DEPLOY: 3,
 | 
			
		||||
    NUM_DUMMY_ERC721_TO_DEPLOY: 2,
 | 
			
		||||
    NUM_ERC721_TOKENS_TO_MINT: 2,
 | 
			
		||||
    NUM_DUMMY_ERC1155_TO_DEPLOY: 1,
 | 
			
		||||
    NUM_ERC1155_FUNGIBLE_TOKENS_MINT: 3,
 | 
			
		||||
    NUM_ERC1155_NONFUNGIBLE_TOKENS_MINT: 3,
 | 
			
		||||
    NULL_ADDRESS: '0x0000000000000000000000000000000000000000',
 | 
			
		||||
    UNLIMITED_ALLOWANCE_IN_BASE_UNITS: new BigNumber(2).pow(256).minus(1),
 | 
			
		||||
    TESTRPC_PRIVATE_KEYS: _.map(TESTRPC_PRIVATE_KEYS_STRINGS, privateKeyString => ethUtil.toBuffer(privateKeyString)),
 | 
			
		||||
    INITIAL_ERC20_BALANCE: Web3Wrapper.toBaseUnitAmount(new BigNumber(10000), 18),
 | 
			
		||||
    INITIAL_ERC20_ALLOWANCE: Web3Wrapper.toBaseUnitAmount(new BigNumber(10000), 18),
 | 
			
		||||
    INITIAL_ERC1155_FUNGIBLE_BALANCE: Web3Wrapper.toBaseUnitAmount(new BigNumber(10000), 18),
 | 
			
		||||
    INITIAL_ERC1155_FUNGIBLE_ALLOWANCE: Web3Wrapper.toBaseUnitAmount(new BigNumber(10000), 18),
 | 
			
		||||
    STATIC_ORDER_PARAMS: {
 | 
			
		||||
        makerAssetAmount: Web3Wrapper.toBaseUnitAmount(new BigNumber(100), 18),
 | 
			
		||||
        takerAssetAmount: Web3Wrapper.toBaseUnitAmount(new BigNumber(200), 18),
 | 
			
		||||
 
 | 
			
		||||
@@ -32,6 +32,9 @@ export {
 | 
			
		||||
    MarketBuyOrders,
 | 
			
		||||
    MarketSellOrders,
 | 
			
		||||
    ERC721TokenIdsByOwner,
 | 
			
		||||
    ERC1155FungibleHoldingsByOwner,
 | 
			
		||||
    ERC1155NonFungibleHoldingsByOwner,
 | 
			
		||||
    ERC1155HoldingsByOwner,
 | 
			
		||||
    OrderStatus,
 | 
			
		||||
    AllowanceAmountScenario,
 | 
			
		||||
    AssetDataScenario,
 | 
			
		||||
 
 | 
			
		||||
@@ -14,6 +14,27 @@ export interface ERC721TokenIdsByOwner {
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface ERC1155FungibleHoldingsByOwner {
 | 
			
		||||
    [ownerAddress: string]: {
 | 
			
		||||
        [tokenAddress: string]: {
 | 
			
		||||
            [tokenId: string]: BigNumber
 | 
			
		||||
        }
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface ERC1155NonFungibleHoldingsByOwner {
 | 
			
		||||
    [ownerAddress: string]: {
 | 
			
		||||
        [tokenAddress: string]: {
 | 
			
		||||
            [tokenId: string]: BigNumber[]
 | 
			
		||||
        }
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface ERC1155HoldingsByOwner {
 | 
			
		||||
    fungible: ERC1155FungibleHoldingsByOwner,
 | 
			
		||||
    nonFungible: ERC1155NonFungibleHoldingsByOwner,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface SubmissionContractEventArgs {
 | 
			
		||||
    transactionId: BigNumber;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user