- useTokenFactory(contractAddress: string, provider: Provider): {
deployTERC20: ((params: ConstructorParamsStruct) => Promise<TransactionResponse>);
deployTERC721: ((params: ConstructorParamsStruct) => Promise<TransactionResponse>);
}
-
Parameters
-
contractAddress: string
-
provider: Provider
Returns {
deployTERC20: ((params: ConstructorParamsStruct) => Promise<TransactionResponse>);
deployTERC721: ((params: ConstructorParamsStruct) => Promise<TransactionResponse>);
}
-
deployTERC20: ((params: ConstructorParamsStruct) => Promise<TransactionResponse>)
-
- (params: ConstructorParamsStruct): Promise<TransactionResponse>
-
Parameters
-
params: ConstructorParamsStruct
Returns Promise<TransactionResponse>
-
deployTERC721: ((params: ConstructorParamsStruct) => Promise<TransactionResponse>)
-
- (params: ConstructorParamsStruct): Promise<TransactionResponse>
-
Parameters
-
params: ConstructorParamsStruct
Returns Promise<TransactionResponse>