aboutsummaryrefslogblamecommitdiffstats
path: root/packages/testnet-faucets/src/ts/global.d.ts
blob: af953437791e5e4adde8f7cf3eb29747515bfe8c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                         










                                                                 








                                   
                                          



                                   







                                                                        
declare module 'rollbar';
declare module 'web3-provider-engine';
declare module 'web3-provider-engine/subproviders/rpc';
declare module 'web3-provider-engine/subproviders/nonce-tracker';
declare module 'web3-provider-engine/subproviders/hooked-wallet';

declare module '*.json' {
    const json: any;
    /* tslint:disable */
    export default json;
    /* tslint:enable */
}

// Ethereumjs-tx declarations
declare module 'ethereumjs-tx' {
    class EthereumTx {
        public raw: Buffer[];
        public r: Buffer;
        public s: Buffer;
        public v: Buffer;
        public serialize(): Buffer;
        public sign(buffer: Buffer): void;
        constructor(txParams: any);
    }
    export = EthereumTx;
}

// Define extra params on Request for parameter extraction in middleware
declare namespace Express {
    export interface Request {
        recipientAddress: string;
        networkId: string;
    }
}