oken-waas
Version:
Oken Wallet as a Service SDK
66 lines (49 loc) • 1.36 kB
TypeScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import BN from "bn.js";
export type TxID = { transactionId: string };
export interface LootBoxBatchMint {
ADMIN_ROLE(): Promise<string>;
DEFAULT_ADMIN_ROLE(): Promise<string>;
authorizations({ arg0 }: { arg0: string }): Promise<boolean>;
batchMint: {
({
_accounts,
_authorizations,
}: {
_accounts: string[];
_authorizations: string[];
}): Promise<TxID>;
};
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: {
({ _nft, _operator }: { _nft: string; _operator: string }): Promise<TxID>;
};
nft(): Promise<string>;
renounceRole: {
({ role, account }: { role: string; account: string }): Promise<TxID>;
};
revokeRole: {
({ role, account }: { role: string; account: string }): Promise<TxID>;
};
supportsInterface({ interfaceId }: { interfaceId: string }): Promise<boolean>;
}