@hyperlane-xyz/cli
Version:
A command-line utility for common Hyperlane operations
22 lines • 928 B
TypeScript
import { BigNumberish, Wallet, utils } from 'ethers';
import { ChainName } from '@hyperlane-xyz/sdk';
import { Address } from '@hyperlane-xyz/utils';
import { WriteCommandContext } from '../context/types.js';
export type SignatureWithSaltAndExpiryStruct = {
signature: utils.BytesLike;
salt: utils.BytesLike;
expiry: BigNumberish;
};
export declare function registerOperatorWithSignature({ context, chain, operatorKeyPath, avsSigningKeyAddress, }: {
context: WriteCommandContext;
chain: ChainName;
operatorKeyPath: string;
avsSigningKeyAddress: Address;
}): Promise<void>;
export declare function deregisterOperator({ context, chain, operatorKeyPath, }: {
context: WriteCommandContext;
chain: ChainName;
operatorKeyPath: string;
}): Promise<void>;
export declare function readOperatorFromEncryptedJson(operatorKeyPath: string): Promise<Wallet>;
//# sourceMappingURL=stakeRegistry.d.ts.map