Skip to content

Releases: daostack/arc.js

v0.1.20

07 Jun 14:42
Compare
Choose a tag to compare
  • bug fix reward.state()
  • add informationa bout already-redeemed proposals to contributionReward

v0.1.19

05 Jun 07:33
Compare
Choose a tag to compare
  • Fix bug getting address of GENToken
  • Skip a version number by mistake

v0.1.17

06 Jun 08:09
Compare
Choose a tag to compare
  • use subgraph v20
  • implement logic to get the known contract addresses from the subgraph
  • fix a dependence vulnerability

v0.1.16

06 Jun 08:15
Compare
Choose a tag to compare
  • implement arc.scheme and arc.schemes, and add scheme to the proposal.search() parameters
  • remove IObservableWithFirst class
  • make getContractAddressesFromMigration usable for non-private environment

v0.1.15

06 Jun 08:37
Compare
Choose a tag to compare

Support different contract versions

  • upgrade to v19 of the subgraph
  • introduce IContractInfo class that mirrrors the subgraph entity
  • refactor arc.getContractInfo and other functions to support contract versions
  • define arc.getABI()
  • allowance and approveForStaking now need a spender argument (because we may have different protocols spending the money)
  • support register option in dao.search() explicitly
  • remove tokenBalance from the the dao state
  • use reputaitonHolders instaed of the obsolete members collection from the subgraph
  • pass context as first argument in all search(...) queries
  • implement dao.proposal(..)
  • filter null values from getObservableList results
  • add proposal as a attribute of IProposalState
  • Proposal constructor now requires votingMachine and schemeAddress parameters
  • introduce Scheme class with search (etc) options
  • add proposal.scheme()
  • add Token.search()
  • refactor: make code for handling different types of schemes much more modular
  • docs and tweaks