New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wavesenterprise/dao-contract-api

Package Overview
Dependencies
Maintainers
9
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wavesenterprise/dao-contract-api - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

modules/voting/daoContract.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc