@wavesenterprise/dao-contract-api
Advanced tools
Comparing version 0.0.1 to 0.0.2
import { VotingContract } from './votingContract'; | ||
import { IModifiedWavesApiResponse } from '../../types/node'; | ||
import { IResultsParams, IVotingContractAPICtr, WeCreateContractParams, WeInitiateVotingParams, WeVoteParams } from '../../types/contractApi'; | ||
import { IResultsParams, IVotingContractAPICtr, StartVotingParams, WeCreateContractParams, WeInitiateVotingParams, WeVoteParams } from '../../types/contractApi'; | ||
import { DockerCallTxParams, DockerCallTxParamsWithAtomic, IDockerCallParams } from '../../types/general'; | ||
@@ -12,3 +12,3 @@ export declare class DaoContract extends VotingContract { | ||
finishVoting: (params: IDockerCallParams<{}>) => Promise<IModifiedWavesApiResponse>; | ||
startVoting: (params: IDockerCallParams<{}>) => Promise<IModifiedWavesApiResponse>; | ||
startVoting: (params: IDockerCallParams<StartVotingParams>) => Promise<IModifiedWavesApiResponse>; | ||
} |
{ | ||
"name": "@wavesenterprise/dao-contract-api", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -18,2 +18,5 @@ import { TransactionBroadcaster } from '@wavesenterprise/voting-blockchain-tools/transactions'; | ||
}>; | ||
export declare type StartVotingParams = IDockerCallParams<{ | ||
startPollHeight: number; | ||
}>; | ||
declare type CreateContractTxParams = { | ||
@@ -39,9 +42,7 @@ fee: number; | ||
bulletinHash?: string; | ||
dimension?: number[][]; | ||
dimension: number[][]; | ||
dateStart?: Date; | ||
dateEnd: Date; | ||
isRevoteBlocked?: boolean; | ||
isManualStopAllowed?: boolean; | ||
isManualStartAllowed?: boolean; | ||
pollWalletAddress: string; | ||
publicNodeAddress: string; | ||
}; | ||
@@ -58,4 +59,3 @@ export declare type WeCreateContractNotLoadedParams = { | ||
vote: string; | ||
transferTxId: string; | ||
}; | ||
export {}; |
Sorry, the diff of this file is not supported yet
211960