@river-build/web3
Version:
Dapps for our Space and Registry contracts
60 lines • 2.31 kB
TypeScript
import { Address } from './ContractTypes';
export declare const foundryRiver: {
blockExplorers?: {
[key: string]: {
name: string;
url: string;
apiUrl?: string | undefined;
};
default: {
name: string;
url: string;
apiUrl?: string | undefined;
};
} | undefined;
contracts?: {
[x: string]: import("viem").ChainContract | {
[sourceId: number]: import("viem").ChainContract | undefined;
} | undefined;
ensRegistry?: import("viem").ChainContract | undefined;
ensUniversalResolver?: import("viem").ChainContract | undefined;
multicall3?: import("viem").ChainContract | undefined;
universalSignatureVerifier?: import("viem").ChainContract | undefined;
} | undefined;
id: 31338;
name: "Foundry";
nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8546"];
readonly webSocket: readonly ["ws://127.0.0.1:8546"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8546"];
readonly webSocket: readonly ["ws://127.0.0.1:8546"];
};
};
sourceId?: number | undefined;
testnet?: boolean | undefined;
custom?: Record<string, unknown> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
readonly network: "foundry";
};
declare function setBaseBalance(walletAddress: Address, balance: bigint): Promise<void>;
declare function getBaseBalance(walletAddress: Address): Promise<bigint>;
declare function setRiverBalance(walletAddress: Address, balance: bigint): Promise<void>;
declare function getRiverBalance(walletAddress: Address): Promise<bigint>;
export declare const TestEthBalance: {
setBaseBalance: typeof setBaseBalance;
getBaseBalance: typeof getBaseBalance;
setRiverBalance: typeof setRiverBalance;
getRiverBalance: typeof getRiverBalance;
};
export {};
//# sourceMappingURL=TestEthBalance.d.ts.map