@verified-network/verified-sdk
Version:
An SDK to develop applications on the Verified Network
47 lines (46 loc) • 2.54 kB
TypeScript
import { VerifiedContract, Options } from "../index";
import { VerifiedWallet } from "../../wallet";
export default class Client extends VerifiedContract {
contractAddress: string;
constructor(signer: VerifiedWallet, contractNetworkAddress: string);
_getMeeQuote(paymentTokenAddress: string, functionName: string, args: any[], apiKey?: string, rpcUrl?: string): Promise<{
tokenAddress: string;
amount: string;
amountInWei: string;
amouuntValue: string;
chainId: number;
functionName: string;
}>;
setSigner(_address: string, options?: Options): any;
/**
* Get sub-managers for role [callable only by manager]
* @params (address _submanager, bytes32 _country)
* @returns {address[] memory}
*/
getRole(_submanager: string, options?: Options): any;
/**
* Remove sub-manager from role [callable only by manager]
* @params (address _submanager, bytes32 _country, bytes32 _role)
* @returns
*/
removeRole(_manager: string, _submanager: string, _country: string, _role: string, _hashedMessage: string, _v: string, _r: string, _s: string, options?: Options): any;
/**
* Create role for sub-manager [callable only by manager
* @params (address _submanager, bytes32 _country, bytes32 _role)
* @returns
*/
addRole(_manager: string, _submanager: string, _country: string, _role: string, _id: string, _hashedMessage: string, _v: string, _r: string, _s: string, options?: Options): any;
KycUpdate(client: string, name: string, surname: string, country: string, contact: string, status: string, options?: Options): any;
fullKycUpdate(client: string, identity: string, videokyc: string, docs: string, options?: Options): any;
getClientKYC(_client: string, options?: Options): any;
getFullClientKYC(_client: string, options?: Options): any;
setAmlScore(_client: string, _score: string, options?: Options): any;
setCreditScore(_client: string, _score: string, options?: Options): any;
setAmlPassScore(_score: string, options?: Options): any;
getAMLStatus(_client: string, options?: Options): any;
setCustodyAccount(_submanager: string, _currency: string, _accountId: string, options?: Options): any;
getCustodyAccount(_submanager: string, options?: Options): any;
getManagers(_country: string, _role: string, options?: Options): any;
setCustody(_client: string, _account: string, options?: Options): any;
getCustody(_client: string, options?: Options): any;
}