PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@celo/contractkit/lib/generated
Просмотр файла: OdisPayments.d.ts
/// <reference types="node" />
import { AbiItem, Callback, CeloTxObject, Contract, EventLog } from '@celo/connect';
import { EventEmitter } from 'events';
import Web3 from 'web3';
import { ContractEvent, EventOptions } from './types';
export interface OdisPayments extends Contract {
clone(): OdisPayments;
methods: {
initialized(): CeloTxObject<boolean>;
isOwner(): CeloTxObject<boolean>;
owner(): CeloTxObject<string>;
registryContract(): CeloTxObject<string>;
renounceOwnership(): CeloTxObject<void>;
totalPaidCUSD(arg0: string): CeloTxObject<string>;
transferOwnership(newOwner: string): CeloTxObject<void>;
getVersionNumber(): CeloTxObject<{
0: string;
1: string;
2: string;
3: string;
}>;
initialize(): CeloTxObject<void>;
payInCUSD(account: string, value: number | string): CeloTxObject<void>;
};
events: {
OwnershipTransferred: ContractEvent<{
previousOwner: string;
newOwner: string;
0: string;
1: string;
}>;
PaymentMade: ContractEvent<{
account: string;
valueInCUSD: string;
0: string;
1: string;
}>;
allEvents: (options?: EventOptions, cb?: Callback<EventLog>) => EventEmitter;
};
}
export declare const ABI: AbiItem[];
export declare function newOdisPayments(web3: Web3, address: string): OdisPayments;
Выполнить команду
Для локальной разработки. Не используйте в интернете!