PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@celo/contractkit/lib/wrappers

Просмотр файла: OdisPayments.d.ts

import { Address, CeloTransactionObject } from '@celo/connect';
import { OdisPayments } from '../generated/OdisPayments';
import { BaseWrapper } from './BaseWrapper';
export declare class OdisPaymentsWrapper extends BaseWrapper<OdisPayments> {
    /**
     * @notice Fetches total amount sent (all-time) for given account to odisPayments
     * @param account The account to fetch total amount of funds sent
     */
    totalPaidCUSD: (account: Address) => Promise<string>;
    /**
     * @notice Sends cUSD to this contract to pay for ODIS quota (for queries).
     * @param account The account whose balance to increment.
     * @param value The amount in cUSD to pay.
     * @dev Throws if cUSD transfer fails.
     */
    payInCUSD: (account: Address, value: number | string) => CeloTransactionObject<void>;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!