@colony/colony-js-contract-client
Advanced tools
Changelog
v1.11.0
New Features
getNetworkClient
method (@colony/colony-js-client
)getFundingPot
and getFundingPotCount
(@colony/colony-js-client
)makePayment
method (@colony/colony-js-client
)rinkeby-v3
(@colony/colony-js-contract-loader-network
)Maintenance
TokenClient
to use DSToken
contract (@colony/colony-js-client
)getPotBalance
to getFundingPotBalance
(@colony/colony-js-client
)PotAdded
to FundingPotAdded
(@colony/colony-js-client
)Changelog
v1.10.0
Bug fixes
TaskPayoutSet
and TaskPayoutClaimed
(@colony/colony-js-client
)New Features
[address]
and [bigNumber]
param type and validation (@colony/colony-js-contract-client
)ContractData
to ContractClient
classes (@colony/colony-js-contract-client
)ColonyClient
methods and events (@colony/colony-js-client
)
ColonyBootstrapped
bootstrapColony
getNetworkFee
setNetworkFee
setNetworkFeeInverse
setRewardInverse
ColonyClient
with MetaColony methods and events (@colony/colony-js-client
)
addMetaColonySender
to add when IMetaColony
contractgetMetaColonyClient
to query IMetaColony
contractTokenLockingClient
and methods and events (@colony/colony-js-client
)
TokenLocked
UserTokenDeposited
UserTokenUnlocked
UserTokenWithdrawn
deposit
getTotalLockCount
getUserLock
lockToken
incrementLockCounterTo
unlockTokenForUser
withdraw
Maintenance
token
to tokenClient
(@colony/colony-js-client
)ColonyClient
(@colony/colony-js-client
)
ColonyTokenSet
assignWorkRating
initialise
getTransactionCount
setToken
ColonyClient
(@colony/colony-js-client
)
getGlobalRewardPayoutCount
to getTotalLockCount
getUserRewardPayoutCount
to getUserLock
waiveRewardPayouts
to incrementLockCounterTo
Changelog
v1.9.0
Bug fixes
ColonyFounderRoleSet
event is now named correctly (@colony/colony-js-client
)MetaColonyClient
and ColonyClient
before returning them (@colony/colony-js-client
)New features
getAccounts
method to TrufflepigLoader
(@colony/colony-js-contract-loader-http
)ContractEvent.parseLogs
(@colony/colony-js-contract-client
)ContractClient.getLogs
, and optionally also parsing with .getEvents
(@colony/colony-js-contract-client
)Changelog
v1.8.1
Bug fixes
ColonyClient.addDomain
as a MultisigSender
(@colony/colony-js-client
)ColonyClient.cancelTask
as a MultisigSender
(@colony/colony-js-client
)Maintenance
engines -> yarn
requirementChangelog
v1.8.0
Maintenance
ColonyClient
events:
ColonyAdminRoleRemoved
ColonyAdminRoleSet
ColonyFounderRoleSet
ColonyFundsClaimed
ColonyFundsMovedBetweenFundingPots
ColonyInitialised
ColonyRewardInverseSet
ColonyUpgraded
RewardPayoutClaimed
ColonyNetworkClient
events:
ColonyNetworkInitialised
ColonyVersionAdded
MetaColonyCreated
MiningCycleResolverSet
NetworkFeeInverseSet
ReputationMiningCycleComplete
ReputationMiningInitialised
ReputationRootHashSet
TokenLockingAddressSet
ColonyNetworkClient
/ColonyClient
:
approveExitRecovery
enterRecoveryMode
exitRecoveryMode
getRecoveryRolesCount
isInRecoveryMode
removeRecoveryRole
setRecoveryRole
setStorageSlotRecovery
hasUserRole
caller to ColonyClient
AuthorityClient
as it is no longer needed.OWNER
role to FOUNDER
.Bug fixes
Changelog
v1.7.5
Bug fixes
contractName
for AuthorityClient
from Authority
to ColonyAuthority
(@colony/colony-js-client
)MetaColonyClient
and move corresponding methods over from ColonyClient
(@colony/colony-js-client
)Buffer
type when converting the output for param type ipfsHash
(@colony/colony-js-client
)TaskPayoutClaimed
to the claimPayout
method (@colony/colony-js-client
)Transfer
event to the mintTokens
method (@colony/colony-js-client
)Changelog
v1.7.3
Bug fixes
ColonyNetworkClient.registerUserLabel
(@colony/colony-js-client
)SendOptions
flow type properties all optional (e.g. gasLimit
) (@colony/colony-js-client
, @colony/colony-js-contract-client
)@colony/colony-js-client
)Changelog
v1.7.0
Breaking changes
createToken
method now works as a regular Sender
, i.e. networkClient.createToken({ name, symbol })
is now networkClient.createToken.send({ name, symbol }, options)
.Bug fixes
ColonyClient.getTaskRole
has been changed from rated
to rateFail
, properly reflecting the contract.Transfer
event in TokenClient
now reflect the contract properly.Mint
and Transfer
events in ColonyClient
.