@dfinity/nns
Version:
A library for interfacing with the Internet Computer's Network Nervous System.
16 lines (15 loc) • 662 B
TypeScript
import { type CanisterOptions } from "@dfinity/utils";
import type { _SERVICE as GovernanceService } from "../candid/governance_test";
import type { Neuron } from "./types/governance_converters";
export declare class GovernanceTestCanister {
private readonly canisterId;
private readonly certifiedService;
private constructor();
static create(options?: CanisterOptions<GovernanceService>): GovernanceTestCanister;
/**
* Test method to update fields of a neuron.
*
* Only available in the governance test canister.
*/
updateNeuron(neuron: Neuron): Promise<[] | [import("../candid/governance_test").GovernanceError]>;
}