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

dvote-solidity

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dvote-solidity - npm Package Versions

23456

1.4.0

Diff
dappfuse
published 1.4.0 •

Changelog

Source

1.4.0

  • Adding support for Matic/Polygon
  • Adding the preRegister flag to the process Mode
jpainan
published 1.3.1 •

Changelog

Source

1.3.1

  • tokenCount() TokenStorageProof contract method wrapper returns number
jpainan
published 1.3.0 •

Changelog

Source

1.3.0

  • Token Storage Proof
    • When registering a token any event is emitted
    • Deleted uint32 tokenCount state variable
    • Added tokenCount() function which returns the tokenAddresses.length
divdevdoe
published 1.2.0 •

Changelog

Source

1.2.0

  • Token Storage Proof

    • Added verified attribute on ERC20Token: Indicates if the balanceMappingPosition stored is verified or not
    • Any token holder can register a token without a proof. If a token holder wants to register a token with a verified balanceMappingPosition, two transactions are required: First registerToken(), second setVerifiedBalanceMappingPosition()
    • Any token holder can change an unverified balanceMappingPosition
    • isRegistered() can only be called externally
    • For getting the token info stored on the contract: tokens(tokenAddress) will return {registered, verified, balanceMappingPosition}
  • Processes

    • Added costFromWeight on EnvelopeType: On EVM-based census processes (weighted), the user's balance will be used as the maxCost. Allow splitting the voting power.
    • Added Process attribute owner: Creator of a process on behalf of the entity (on-chain census)
    • Added onlyTokenRegistered && onlyHolder modifiers
    • Process creation divided into two different methods: newProcessEVM && newProcessStd for on-chain && off-chain processes respectively
    • evmBlockHeight Process attribute changed to sourceBlockHeight
    • get(processId) returns [2]string entityAddress_owner instead of string entityAddress
    • Now the owner of an on-chain census can update the question index of a process if the process allows to do so
dappfuse
published 1.1.0 •

Changelog

Source

1.1.0

  • EVM Census: storage-proof-validation enabled
dappfuse
published 1.0.0 •

Changelog

Source

1.0.0

  • Adapting the deploy script for xdai and sokol
dappfuse
published 0.16.1 •

Changelog

Source

0.16.1

  • Renaming the exported TypeScript interfaces for consistency
    • EnsRegistryContractMethods, EnsResolverContractMethods, ProcessesContractMethods, IProcessCreateParamsTuple, IProcessStateTuple, ResultsContractMethods, GenesisContractMethods, NamespacesContractMethods, Erc20StorageProofContractMethods, Erc20StorageProofTestContractMethods
dappfuse
published 0.16.0 •

Changelog

Source

0.16.0

  • The Processes contract is now payable
  • A price can be defined for every process that is created (to prevent spam)
  • The Processes contract now has a withdraw function, callable by the owner
  • Split the Namespaces contract into Namespaces and Genesis
    • The Genesis contract acts as a global register of Chains (chain ID, genesis, oracles, validators)
    • The Namespaces contract acts as a global register where process contracts register themselves
  • The Processes contract has been adapted to the new Namespaces contract
  • The Processes method setResults and getResults are now part of a future contract Results
    • Oracles now set a process' results on the Results contract
    • The results contract can then set the RESULTS status on the process contract
  • EnsPublicResolver is now renamed to EnsResolver in TypeScript
  • Validators now have a bytes32 data type
  • getNextProcessId no longer required the namespace parameter
  • Namespace indexes now start at index 1. Zero is reserved.
dappfuse
published 0.15.0 •

Changelog

Source

0.15.0

  • Allowing to retrieve and count registered ERC20 tokens
dappfuse
published 0.14.0 •

Changelog

Source

0.14.0

  • Adding the chainID as a process contract parameter, so that process ID's do not collide if multiple chains host the same entity