Skip to content

Commit

Permalink
Updated: contracts to their release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rdig committed Oct 19, 2022
1 parent a3c5263 commit b904593
Show file tree
Hide file tree
Showing 15 changed files with 496 additions and 462 deletions.
4 changes: 2 additions & 2 deletions src/clients/Colony/ColonyClientV10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type ColonyExtensions = Omit<
ColonyExtensionsV10<IColony>;

export type ColonyClientV10 = ColonyExtensions & {
clientVersion: ColonyVersion.FuchsiaLightweightSpaceshipTwo;
clientVersion: ColonyVersion.GreenLightweightSpaceship;
estimate: ExtendedIColony<IColony>['estimate'] & ExtendedEstimateV10;
};

Expand Down Expand Up @@ -111,7 +111,7 @@ export default function getColonyClient(
parseTransaction: customEthersContractInstace.interface.parseTransaction,
},
} as ColonyClientV10;
colonyClientV10.clientVersion = ColonyVersion.FuchsiaLightweightSpaceshipTwo;
colonyClientV10.clientVersion = ColonyVersion.GreenLightweightSpaceship;

addExtensions(colonyClientV10, this);
addEncodeInterfaces(colonyClientV10);
Expand Down
2 changes: 1 addition & 1 deletion src/clients/ColonyNetworkClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ const getColonyNetworkClient = (
);
break;
}
case ColonyVersion.FuchsiaLightweightSpaceshipTwo: {
case ColonyVersion.GreenLightweightSpaceship: {
colonyClient = getColonyClientV10.call(
networkClient,
colonyAddress,
Expand Down
6 changes: 6 additions & 0 deletions src/contracts/colony/10/IColony.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3141,6 +3141,7 @@ export class IColony extends Contract {
* Set many values of an expenditure simultaneously. Can only be called by expenditure owner.
* @param _claimDelaySlots Array of slots to set claim delays
* @param _claimDelays Durations of time (in seconds) to delay
* @param _id Expenditure identifier
* @param _payoutModifierSlots Array of slots to set payout modifiers
* @param _payoutModifiers Values (between +/- WAD) to modify the payout & reputation bonus
* @param _payoutSlots 2-dimensional array of slots to set payouts
Expand Down Expand Up @@ -3171,6 +3172,7 @@ export class IColony extends Contract {
* Set many values of an expenditure simultaneously. Can only be called by expenditure owner.
* @param _claimDelaySlots Array of slots to set claim delays
* @param _claimDelays Durations of time (in seconds) to delay
* @param _id Expenditure identifier
* @param _payoutModifierSlots Array of slots to set payout modifiers
* @param _payoutModifiers Values (between +/- WAD) to modify the payout & reputation bonus
* @param _payoutSlots 2-dimensional array of slots to set payouts
Expand Down Expand Up @@ -6872,6 +6874,7 @@ export class IColony extends Contract {
* Set many values of an expenditure simultaneously. Can only be called by expenditure owner.
* @param _claimDelaySlots Array of slots to set claim delays
* @param _claimDelays Durations of time (in seconds) to delay
* @param _id Expenditure identifier
* @param _payoutModifierSlots Array of slots to set payout modifiers
* @param _payoutModifiers Values (between +/- WAD) to modify the payout & reputation bonus
* @param _payoutSlots 2-dimensional array of slots to set payouts
Expand Down Expand Up @@ -6902,6 +6905,7 @@ export class IColony extends Contract {
* Set many values of an expenditure simultaneously. Can only be called by expenditure owner.
* @param _claimDelaySlots Array of slots to set claim delays
* @param _claimDelays Durations of time (in seconds) to delay
* @param _id Expenditure identifier
* @param _payoutModifierSlots Array of slots to set payout modifiers
* @param _payoutModifiers Values (between +/- WAD) to modify the payout & reputation bonus
* @param _payoutSlots 2-dimensional array of slots to set payouts
Expand Down Expand Up @@ -10852,6 +10856,7 @@ export class IColony extends Contract {
* Set many values of an expenditure simultaneously. Can only be called by expenditure owner.
* @param _claimDelaySlots Array of slots to set claim delays
* @param _claimDelays Durations of time (in seconds) to delay
* @param _id Expenditure identifier
* @param _payoutModifierSlots Array of slots to set payout modifiers
* @param _payoutModifiers Values (between +/- WAD) to modify the payout & reputation bonus
* @param _payoutSlots 2-dimensional array of slots to set payouts
Expand Down Expand Up @@ -10882,6 +10887,7 @@ export class IColony extends Contract {
* Set many values of an expenditure simultaneously. Can only be called by expenditure owner.
* @param _claimDelaySlots Array of slots to set claim delays
* @param _claimDelays Durations of time (in seconds) to delay
* @param _id Expenditure identifier
* @param _payoutModifierSlots Array of slots to set payout modifiers
* @param _payoutModifiers Values (between +/- WAD) to modify the payout & reputation bonus
* @param _payoutSlots 2-dimensional array of slots to set payouts
Expand Down
Loading

0 comments on commit b904593

Please sign in to comment.