|
| 1 | +/** |
| 2 | + * This module was automatically generated by `ts-interface-builder` |
| 3 | + */ |
| 4 | +import * as t from "ts-interface-checker"; |
| 5 | + |
| 6 | +export const GanacheOptionsTi = t.iface([], { |
| 7 | + url: "string", |
| 8 | + keepAliveTimeout: t.opt("number"), |
| 9 | + accountKeysPath: t.opt("string"), |
| 10 | + accounts: t.opt(t.array("object")), |
| 11 | + allowUnlimitedContractSize: t.opt("boolean"), |
| 12 | + blockTime: t.opt("number"), |
| 13 | + dbPath: t.opt("string"), |
| 14 | + debug: t.opt("boolean"), |
| 15 | + defaultBalanceEther: t.opt("number"), |
| 16 | + fork: t.opt(t.union("string", "object")), |
| 17 | + forkBlockNumber: t.opt(t.union("string", "number")), |
| 18 | + gasLimit: t.opt("number"), |
| 19 | + gasPrice: t.opt(t.union("string", "number")), |
| 20 | + hardfork: t.opt( |
| 21 | + t.union(t.lit("byzantium"), t.lit("constantinople"), t.lit("petersburg")) |
| 22 | + ), |
| 23 | + hdPath: t.opt("string"), |
| 24 | + hostname: t.opt("string"), |
| 25 | + locked: t.opt("boolean"), |
| 26 | + logger: t.opt( |
| 27 | + t.iface([], { |
| 28 | + log: t.func("void", t.param("msg", "string")) |
| 29 | + }) |
| 30 | + ), |
| 31 | + mnemonic: t.opt("string"), |
| 32 | + network_id: t.opt("number"), |
| 33 | + networkId: t.opt("number"), |
| 34 | + port: t.opt("number"), |
| 35 | + seed: t.opt("any"), |
| 36 | + time: t.opt("any"), |
| 37 | + totalAccounts: t.opt("number"), |
| 38 | + unlockedAccounts: t.opt(t.array("string")), |
| 39 | + verbose: t.opt("boolean"), |
| 40 | + vmErrorsOnRPCResponse: t.opt("boolean"), |
| 41 | + ws: t.opt("boolean") |
| 42 | +}); |
| 43 | + |
| 44 | +const exportedTypeSuite: t.ITypeSuite = { |
| 45 | + GanacheOptionsTi |
| 46 | +}; |
| 47 | +export default exportedTypeSuite; |
0 commit comments