@verified-network/verified-sdk
Version:
An SDK to develop applications on the Verified Network
17 lines (16 loc) • 713 B
TypeScript
import { VerifiedContract, Options } from "../index";
import { VerifiedWallet } from "../../wallet";
export default class Comet extends VerifiedContract {
contractAddress: string;
constructor(signer: VerifiedWallet, contractNetworkAddress: string);
_getMeeQuote(paymentTokenAddress: string, functionName: string, args: any[], apiKey?: string, rpcUrl?: string, isReactNative?: boolean): Promise<{
tokenAddress: string;
amount: string;
amountInWei: string;
amouuntValue: string;
chainId: number;
functionName: string;
}>;
allow(manager: string, isAllowed: string, options?: Options): any;
hasPermission(owner: string, manager: string): any;
}