@nori-zk/mina-token-bridge
Version:
A Mina zk-program contract allowing users to mint tokens on Nori Bridge.
27 lines (26 loc) • 1.01 kB
TypeScript
import { NetworkId } from 'o1js';
import { DeploymentResult } from '../../NoriControllerSubmitter.js';
export declare class TokenDeployerWorker {
minaSetup(options: {
networkId?: NetworkId;
mina: string | string[];
archive?: string | string[];
lightnetAccountManager?: string;
bypassTransactionLimits?: boolean;
minaDefaultHeaders?: HeadersInit;
archiveDefaultHeaders?: HeadersInit;
}): Promise<void>;
compile(): Promise<{
data: string;
hashStr: string;
}>;
deployContracts(senderPrivateKeyBase58: string, adminPrivateKeyBase58: string, tokenControllerPrivateKeyBase58: string, tokenBasePrivateKeyBase58: string, ethProcessorAddressBase58: string, storageInterfaceVerificationKeySafe: {
data: string;
hashStr: string;
}, txFee: number, options?: {
symbol?: string;
decimals?: number;
allowUpdates?: boolean;
startPaused?: boolean;
}): Promise<DeploymentResult>;
}