Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colony/colony-js-contract-client

Package Overview
Dependencies
Maintainers
7
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colony/colony-js-contract-client - npm Package Versions

134

1.12.0-beta.1

Diff

ryanchristo
published 1.12.0-beta.0 •

ryanchristo
published 1.11.0 •

Changelog

Source

v1.11.0

New Features

  • Add getNetworkClient method (@colony/colony-js-client)
  • Add getFundingPot and getFundingPotCount (@colony/colony-js-client)
  • Add temporary makePayment method (@colony/colony-js-client)
  • Add versioned contracts for rinkeby-v3 (@colony/colony-js-contract-loader-network)

Maintenance

  • Update TokenClient to use DSToken contract (@colony/colony-js-client)
  • Update getPotBalance to getFundingPotBalance (@colony/colony-js-client)
  • Update PotAdded to FundingPotAdded (@colony/colony-js-client)
ryanchristo
published 1.10.0 •

Changelog

Source

v1.10.0

Bug fixes

  • Use BigNumber for token amount in TaskPayoutSet and TaskPayoutClaimed (@colony/colony-js-client)

New Features

  • Add [address] and [bigNumber] param type and validation (@colony/colony-js-contract-client)
  • Add ContractData to ContractClient classes (@colony/colony-js-contract-client)
  • Add ColonyClient methods and events (@colony/colony-js-client)
    • ColonyBootstrapped
    • bootstrapColony
    • getNetworkFee
    • setNetworkFee
    • setNetworkFeeInverse
    • setRewardInverse
  • Extend ColonyClient with MetaColony methods and events (@colony/colony-js-client)
    • Add addMetaColonySender to add when IMetaColony contract
    • Update getMetaColonyClient to query IMetaColony contract
  • Add TokenLockingClient and methods and events (@colony/colony-js-client)
    • TokenLocked
    • UserTokenDeposited
    • UserTokenUnlocked
    • UserTokenWithdrawn
    • deposit
    • getTotalLockCount
    • getUserLock
    • lockToken
    • incrementLockCounterTo
    • unlockTokenForUser
    • withdraw

Maintenance

  • Update token to tokenClient (@colony/colony-js-client)
  • Remove methods from ColonyClient (@colony/colony-js-client)
    • ColonyTokenSet
    • assignWorkRating
    • initialise
    • getTransactionCount
    • setToken
  • Update methods in ColonyClient (@colony/colony-js-client)
    • Update getGlobalRewardPayoutCount to getTotalLockCount
    • Update getUserRewardPayoutCount to getUserLock
    • Update waiveRewardPayouts to incrementLockCounterTo
jameslefrere
published 1.9.0 •

Changelog

Source

v1.9.0

Bug fixes

  • The ColonyFounderRoleSet event is now named correctly (@colony/colony-js-client)
  • Initialize MetaColonyClient and ColonyClient before returning them (@colony/colony-js-client)

New features

  • Add getAccounts method to TrufflepigLoader (@colony/colony-js-contract-loader-http)
  • Add event log parsing with ContractEvent.parseLogs (@colony/colony-js-contract-client)
  • Add historical log fetching with ContractClient.getLogs, and optionally also parsing with .getEvents (@colony/colony-js-contract-client)
jameslefrere
published 1.8.1 •

Changelog

Source

v1.8.1

Bug fixes

  • Define ColonyClient.addDomain as a MultisigSender (@colony/colony-js-client)
  • Define ColonyClient.cancelTask as a MultisigSender (@colony/colony-js-client)

Maintenance

  • Removed engines -> yarn requirement
jameslefrere
published 1.8.0 •

Changelog

Source

v1.8.0

Maintenance

  • Add ColonyClient events:
    • ColonyAdminRoleRemoved
    • ColonyAdminRoleSet
    • ColonyFounderRoleSet
    • ColonyFundsClaimed
    • ColonyFundsMovedBetweenFundingPots
    • ColonyInitialised
    • ColonyRewardInverseSet
    • ColonyUpgraded
    • RewardPayoutClaimed
  • Add ColonyNetworkClient events:
    • ColonyNetworkInitialised
    • ColonyVersionAdded
    • MetaColonyCreated
    • MiningCycleResolverSet
    • NetworkFeeInverseSet
    • ReputationMiningCycleComplete
    • ReputationMiningInitialised
    • ReputationRootHashSet
    • TokenLockingAddressSet
  • Add recovery methods to ColonyNetworkClient/ColonyClient:
    • approveExitRecovery
    • enterRecoveryMode
    • exitRecoveryMode
    • getRecoveryRolesCount
    • isInRecoveryMode
    • removeRecoveryRole
    • setRecoveryRole
    • setStorageSlotRecovery
  • Add hasUserRole caller to ColonyClient
  • Remove AuthorityClient as it is no longer needed.
  • Rename OWNER role to FOUNDER.

Bug fixes

  • Improved handling of invalid UTF8 hex strings
jameslefrere
published 1.7.5 •

Changelog

Source

v1.7.5

Bug fixes

  • Update contractName for AuthorityClient from Authority to ColonyAuthority (@colony/colony-js-client)
  • Add MetaColonyClient and move corresponding methods over from ColonyClient (@colony/colony-js-client)
  • Fix expected Buffer type when converting the output for param type ipfsHash (@colony/colony-js-client)
  • Add the event TaskPayoutClaimed to the claimPayout method (@colony/colony-js-client)
  • Add missing Transfer event to the mintTokens method (@colony/colony-js-client)
jameslefrere
published 1.7.3 •

Changelog

Source

v1.7.3

Bug fixes

  • Set a default gas limit for ColonyNetworkClient.registerUserLabel (@colony/colony-js-client)
  • Make the SendOptions flow type properties all optional (e.g. gasLimit) (@colony/colony-js-client, @colony/colony-js-contract-client)
  • Do not convert basic string inputs to hex (@colony/colony-js-client)
jameslefrere
published 1.7.0 •

Changelog

Source

v1.7.0

Breaking changes

  • The createToken method now works as a regular Sender, i.e. networkClient.createToken({ name, symbol }) is now networkClient.createToken.send({ name, symbol }, options).

Bug fixes

  • The return value of ColonyClient.getTaskRole has been changed from rated to rateFail, properly reflecting the contract.
  • The parameters of the Transfer event in TokenClient now reflect the contract properly.
  • Added support for Mint and Transfer events in ColonyClient.
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