mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 22:04:06 -06:00
16 lines
536 B
TypeScript
16 lines
536 B
TypeScript
import { TransactionReceipt } from "@ethersproject/providers";
|
|
export interface ITransferable {
|
|
/**
|
|
* Setter for transfer restriction.
|
|
*
|
|
* @param restrict - Boolean indicating whether to restrict transfer. (default: true)
|
|
*/
|
|
setRestrictedTransfer(restrict: boolean): Promise<TransactionReceipt>;
|
|
/**
|
|
* Returns true if transfers are restricted. Otherwise returns false.
|
|
*
|
|
* @returns - True if transfers are restricted.
|
|
*/
|
|
isTransferRestricted(): Promise<boolean>;
|
|
}
|