import { handler } from ".";
import { BaseCoreSDK } from "./../mixins/base-core-sdk";
export class GroupsMixin extends BaseCoreSDK {
    // Implementation
    async createGroup(groupToCreate, overrides = {}) {
        const { returnTxInfo } = overrides;
        const groupArgs = {
            groupToCreate,
            contractAddress: overrides.contractAddress || this._protocolDiamond,
            web3Lib: this._web3Lib
        };
        if (returnTxInfo === true) {
            return handler.createGroup({
                ...groupArgs,
                returnTxInfo: true
            });
        }
        else {
            return handler.createGroup({
                ...groupArgs,
                returnTxInfo: false
            });
        }
    }
}
//# sourceMappingURL=mixin.js.map