UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

13 lines (12 loc) 543 B
import { Contracts } from '../lib/Contracts'; import { address, ContractCallOptions, TxResult } from '../types'; export declare class Permissions { private contracts; constructor(contracts: Contracts); setOperators(operatorArgs: ({ operator: address; trusted: boolean; })[], options?: ContractCallOptions): Promise<TxResult>; approveOperator(operator: address, options?: ContractCallOptions): Promise<TxResult>; disapproveOperator(operator: address, options?: ContractCallOptions): Promise<TxResult>; }