UNPKG

@szfdiwang/platon-tools

Version:

PlatON utility library with built-in contract trading parameters

7 lines (6 loc) 292 B
import { ParamsForCode, ParamsForTx, CodeType } from "./types"; declare const Tools: { getContractAddress: (code: CodeType) => string | undefined; getParams: <T extends CodeType>(code: T, address: string, params: ParamsForCode<T>) => ParamsForTx | undefined; }; export default Tools;