arc.js_legacy icon indicating copy to clipboard operation
arc.js_legacy copied to clipboard

This repository is deprecated

Results 57 arc.js_legacy issues
Sort by recently updated
recently updated
newest added

Create wrapper classes for the DAO TruffleContract properties `avatar`, `controller`, `reputation`, `token`. At minimum, wrap the events in each.

wrapperEnhancement
potentiallyBreaking

instead of having users of the library use `npm explore @daostack/arc.js -- npm start migrateContracts`, create a CLI app that exposes the available commands. Usage: if installed locally `$ npm...

enhancement

add AbsoluteVoteWrapper.refreshReputation

Move classes out of IContractWrapperBase, it should just contain interfaces, not any classes.

`TransactionService` should not extend `PubSubEventService`. The latter should be separated into a separate service or class.

The TxTracking system should not modify the client's `options` object that is supplied to every Arc.js function that generates a transaction. Currently it inserts a property called `txEventContext`. This change...

Check that we have the right wrapper in wrapper `factory.at`. Throw an exception if not. So, for example, throw an exception if we use `GenesisProtocolWrapperFactory.at` given an address that is...

Evaluate and implement ways to save users' gas and avoid contract reverts. We can avoid reverts by augmenting the existing function parameter validations. As a fail-safe we could use `[contract].[method].call(..)`,...

enhancement

`GenesisProtocol.stake(..)` returns `false` if unsuccessful. This should be checked in Arc.js and thrown as an exception. Eg. this happens if staking once for `YES` and again with `NO` (according to...

bug