oken-waas
Version:
Oken Wallet as a Service SDK
66 lines (49 loc) • 1.31 kB
TypeScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import BN from "bn.js";
export type TxID = { transactionId: string };
export interface KYC {
ADMIN_ROLE(): Promise<string>;
DEFAULT_ADMIN_ROLE(): Promise<string>;
READER_ROLE(): Promise<string>;
getRoleAdmin({ role }: { role: string }): Promise<string>;
getRoleMember({
role,
index,
}: {
role: string;
index: number | BN | string;
}): Promise<string>;
getRoleMemberCount({ role }: { role: string }): Promise<BN>;
grantRole: {
({ role, account }: { role: string; account: string }): Promise<TxID>;
};
hasRole({
role,
account,
}: {
role: string;
account: string;
}): Promise<boolean>;
initialize: {
({ _operator }: { _operator: string }): Promise<TxID>;
};
isApproved({ _account }: { _account: string }): Promise<boolean>;
renounceRole: {
({ role, account }: { role: string; account: string }): Promise<TxID>;
};
revokeRole: {
({ role, account }: { role: string; account: string }): Promise<TxID>;
};
set: {
({
_account,
_approved,
}: {
_account: string;
_approved: boolean;
}): Promise<TxID>;
};
supportsInterface({ interfaceId }: { interfaceId: string }): Promise<boolean>;
}