- useTerc20(contractAddress: string, provider?: Provider): {
mintTo: ((address: string, amount: BigNumberish) => Promise<undefined | TransactionResponse>);
}
-
Parameters
-
contractAddress: string
-
provider: Provider = coreContracts.provider
Returns {
mintTo: ((address: string, amount: BigNumberish) => Promise<undefined | TransactionResponse>);
}
-
mintTo: ((address: string, amount: BigNumberish) => Promise<undefined | TransactionResponse>)
-
- (address: string, amount: BigNumberish): Promise<undefined | TransactionResponse>
-
Parameters
-
address: string
-
amount: BigNumberish
Returns Promise<undefined | TransactionResponse>