From ac3b1b8350e5b5b15581574c716335e422c681ff Mon Sep 17 00:00:00 2001 From: Chris Maniewski Date: Wed, 16 Oct 2024 20:59:31 +0200 Subject: [PATCH 1/3] feat: add support for imwss3 --- packages/colony-js/docs/api/README.md | 54 +- .../docs/api/classes/ColonyNetworkFactory.md | 2 +- .../docs/api/interfaces/ColonyClientV12.md | 8852 ----------------- .../api/interfaces/ColonyNetworkClient.md | 13 +- .../interfaces/MultisigPermissionsClientV1.md | 2 +- .../interfaces/MultisigPermissionsClientV2.md | 2408 +++++ ...entClientV3.md => OneTxPaymentClientV9.md} | 386 +- .../interfaces/StagedExpenditureClientV1.md | 2 +- .../interfaces/StagedExpenditureClientV2.md | 2 +- .../interfaces/StagedExpenditureClientV3.md | 2 +- .../interfaces/StagedExpenditureClientV4.md | 1658 +++ ...ientV1.md => StakedExpenditureClientV7.md} | 484 +- .../interfaces/StreamingPaymentsClientV5.md | 2 +- .../interfaces/StreamingPaymentsClientV6.md | 2176 ++++ ...erClientV3.md => TokenSupplierClientV9.md} | 348 +- ...ientV7.md => VotingReputationClientV13.md} | 1229 ++- .../src/clients/Core/ColonyClientV12.ts | 7 +- .../src/clients/Core/ColonyClientV17.ts | 73 + .../src/clients/Core/augments/AddDomain.ts | 6 +- .../Core/augments/MoveFundsBetweenPots.ts | 6 +- .../src/clients/Core/augments/augmentsV3.ts | 6 +- .../src/clients/Core/augments/augmentsV4.ts | 6 +- .../src/clients/Core/augments/augmentsV5.ts | 6 +- .../src/clients/Core/augments/augmentsV6.ts | 6 +- .../src/clients/Core/augments/augmentsV7.ts | 6 +- .../colony-js/src/clients/Core/contracts.ts | 8 +- .../colony-js/src/clients/Core/exports.ts | 44 +- .../FundingQueue/FundingQueueClientV1.ts | 4 +- .../FundingQueue/FundingQueueClientV2.ts | 4 +- .../FundingQueue/FundingQueueClientV3.ts | 12 +- .../FundingQueue/FundingQueueClientV9.ts | 31 + .../FundingQueue/augments/commonAugments.ts | 2 +- .../Extensions/FundingQueue/contracts.ts | 8 +- .../Extensions/FundingQueue/exports.ts | 24 +- .../MultisigPermissionsClientV2.ts | 31 + .../augments/commonAugments.ts | 5 +- .../MultisigPermissions/contracts.ts | 8 +- .../Extensions/MultisigPermissions/exports.ts | 14 +- .../OneTxPayment/OneTxPaymentClientV1.ts | 4 +- .../OneTxPayment/OneTxPaymentClientV2.ts | 4 +- .../OneTxPayment/OneTxPaymentClientV3.ts | 16 +- .../OneTxPayment/OneTxPaymentClientV9.ts | 35 + .../OneTxPayment/augments/commonAugments.ts | 2 +- .../Extensions/OneTxPayment/contracts.ts | 9 +- .../Extensions/OneTxPayment/exports.ts | 24 +- .../ReputationBootstrapperClientV6.ts | 32 + .../augments/commonAugments.ts | 2 +- .../ReputationBootstrapper/contracts.ts | 7 +- .../ReputationBootstrapper/exports.ts | 9 +- .../StagedExpenditureClientV4.ts | 31 + .../augments/commonAugments.ts | 5 +- .../Extensions/StagedExpenditure/contracts.ts | 7 +- .../Extensions/StagedExpenditure/exports.ts | 12 +- .../StakedExpenditureClientV1.ts | 12 +- .../StakedExpenditureClientV7.ts | 31 + .../augments/commonAugments.ts | 6 +- .../Extensions/StakedExpenditure/contracts.ts | 8 +- .../Extensions/StakedExpenditure/exports.ts | 18 +- .../StreamingPaymentsClientV6.ts | 31 + .../augments/commonAugments.ts | 6 +- .../Extensions/StreamingPayments/contracts.ts | 6 +- .../Extensions/StreamingPayments/exports.ts | 13 +- .../TokenSupplier/TokenSupplierClientV1.ts | 4 +- .../TokenSupplier/TokenSupplierClientV2.ts | 4 +- .../TokenSupplier/TokenSupplierClientV3.ts | 12 +- .../TokenSupplier/TokenSupplierClientV9.ts | 31 + .../TokenSupplier/augments/commonAugments.ts | 2 +- .../Extensions/TokenSupplier/contracts.ts | 8 +- .../Extensions/TokenSupplier/exports.ts | 24 +- .../VotingReputationClientV1.ts | 4 +- .../VotingReputationClientV13.ts | 48 + .../VotingReputationClientV2.ts | 4 +- .../VotingReputationClientV3.ts | 4 +- .../VotingReputationClientV4.ts | 4 +- .../VotingReputationClientV5.ts | 4 +- .../VotingReputationClientV6.ts | 4 +- .../VotingReputationClientV7.ts | 41 +- .../augments/CreateDomainMotion.ts | 13 +- .../VotingReputation/augments/augmentsV2.ts | 6 +- .../VotingReputation/augments/augmentsV3.ts | 6 +- .../augments/commonAugments.ts | 2 +- .../Extensions/VotingReputation/contracts.ts | 8 +- .../Extensions/VotingReputation/exports.ts | 32 +- packages/contractor/package.json | 2 +- packages/core/src/versions/FundingQueue.ts | 3 +- packages/core/src/versions/IColony.ts | 2 +- .../core/src/versions/MultisigPermissions.ts | 3 +- packages/core/src/versions/OneTxPayment.ts | 3 +- .../src/versions/ReputationBootstrapper.ts | 3 +- .../core/src/versions/StagedExpenditure.ts | 3 +- .../core/src/versions/StakedExpenditure.ts | 3 +- .../core/src/versions/StreamingPayments.ts | 3 +- packages/core/src/versions/TokenSupplier.ts | 3 +- .../core/src/versions/VotingReputation.ts | 3 +- packages/sdk/docs/api/README.md | 22 +- packages/sdk/docs/api/classes/Colony.md | 6 +- packages/sdk/docs/api/classes/OneTxPayment.md | 6 +- .../sdk/docs/api/classes/VotingReputation.md | 8 +- packages/sdk/package.json | 2 +- pnpm-lock.yaml | 8 +- 100 files changed, 8130 insertions(+), 10485 deletions(-) delete mode 100644 packages/colony-js/docs/api/interfaces/ColonyClientV12.md create mode 100644 packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV2.md rename packages/colony-js/docs/api/interfaces/{OneTxPaymentClientV3.md => OneTxPaymentClientV9.md} (74%) create mode 100644 packages/colony-js/docs/api/interfaces/StagedExpenditureClientV4.md rename packages/colony-js/docs/api/interfaces/{StakedExpenditureClientV1.md => StakedExpenditureClientV7.md} (77%) create mode 100644 packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV6.md rename packages/colony-js/docs/api/interfaces/{TokenSupplierClientV3.md => TokenSupplierClientV9.md} (81%) rename packages/colony-js/docs/api/interfaces/{VotingReputationClientV7.md => VotingReputationClientV13.md} (69%) create mode 100644 packages/colony-js/src/clients/Core/ColonyClientV17.ts create mode 100644 packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV9.ts create mode 100644 packages/colony-js/src/clients/Extensions/MultisigPermissions/MultisigPermissionsClientV2.ts create mode 100644 packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV9.ts create mode 100644 packages/colony-js/src/clients/Extensions/ReputationBootstrapper/ReputationBootstrapperClientV6.ts create mode 100644 packages/colony-js/src/clients/Extensions/StagedExpenditure/StagedExpenditureClientV4.ts create mode 100644 packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV7.ts create mode 100644 packages/colony-js/src/clients/Extensions/StreamingPayments/StreamingPaymentsClientV6.ts create mode 100644 packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV9.ts create mode 100644 packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV13.ts diff --git a/packages/colony-js/docs/api/README.md b/packages/colony-js/docs/api/README.md index a50c1f2c5..bdec939c1 100644 --- a/packages/colony-js/docs/api/README.md +++ b/packages/colony-js/docs/api/README.md @@ -37,7 +37,6 @@ ## Interfaces -- [ColonyClientV12](interfaces/ColonyClientV12.md) - [ColonyClientV13](interfaces/ColonyClientV13.md) - [ColonyClientV14](interfaces/ColonyClientV14.md) - [ColonyClientV15](interfaces/ColonyClientV15.md) @@ -53,37 +52,40 @@ - [Erc2612TokenClient](interfaces/Erc2612TokenClient.md) - [IBasicMetaTransaction](interfaces/IBasicMetaTransaction.md) - [MultisigPermissionsClientV1](interfaces/MultisigPermissionsClientV1.md) +- [MultisigPermissionsClientV2](interfaces/MultisigPermissionsClientV2.md) - [NetworkClientOptions](interfaces/NetworkClientOptions.md) -- [OneTxPaymentClientV3](interfaces/OneTxPaymentClientV3.md) - [OneTxPaymentClientV4](interfaces/OneTxPaymentClientV4.md) - [OneTxPaymentClientV5](interfaces/OneTxPaymentClientV5.md) - [OneTxPaymentClientV6](interfaces/OneTxPaymentClientV6.md) - [OneTxPaymentClientV7](interfaces/OneTxPaymentClientV7.md) - [OneTxPaymentClientV8](interfaces/OneTxPaymentClientV8.md) +- [OneTxPaymentClientV9](interfaces/OneTxPaymentClientV9.md) - [StagedExpenditureClientV1](interfaces/StagedExpenditureClientV1.md) - [StagedExpenditureClientV2](interfaces/StagedExpenditureClientV2.md) - [StagedExpenditureClientV3](interfaces/StagedExpenditureClientV3.md) -- [StakedExpenditureClientV1](interfaces/StakedExpenditureClientV1.md) +- [StagedExpenditureClientV4](interfaces/StagedExpenditureClientV4.md) - [StakedExpenditureClientV2](interfaces/StakedExpenditureClientV2.md) - [StakedExpenditureClientV3](interfaces/StakedExpenditureClientV3.md) - [StakedExpenditureClientV4](interfaces/StakedExpenditureClientV4.md) - [StakedExpenditureClientV5](interfaces/StakedExpenditureClientV5.md) - [StakedExpenditureClientV6](interfaces/StakedExpenditureClientV6.md) +- [StakedExpenditureClientV7](interfaces/StakedExpenditureClientV7.md) - [StreamingPaymentsClientV5](interfaces/StreamingPaymentsClientV5.md) +- [StreamingPaymentsClientV6](interfaces/StreamingPaymentsClientV6.md) - [Token](interfaces/Token.md) - [TokenAuthority](interfaces/TokenAuthority.md) - [TokenLocking](interfaces/TokenLocking.md) - [TokenLockingClient](interfaces/TokenLockingClient.md) -- [TokenSupplierClientV3](interfaces/TokenSupplierClientV3.md) - [TokenSupplierClientV4](interfaces/TokenSupplierClientV4.md) - [TokenSupplierClientV5](interfaces/TokenSupplierClientV5.md) - [TokenSupplierClientV6](interfaces/TokenSupplierClientV6.md) - [TokenSupplierClientV7](interfaces/TokenSupplierClientV7.md) - [TokenSupplierClientV8](interfaces/TokenSupplierClientV8.md) +- [TokenSupplierClientV9](interfaces/TokenSupplierClientV9.md) - [VotingReputationClientV10](interfaces/VotingReputationClientV10.md) - [VotingReputationClientV11](interfaces/VotingReputationClientV11.md) - [VotingReputationClientV12](interfaces/VotingReputationClientV12.md) -- [VotingReputationClientV7](interfaces/VotingReputationClientV7.md) +- [VotingReputationClientV13](interfaces/VotingReputationClientV13.md) - [VotingReputationClientV8](interfaces/VotingReputationClientV8.md) - [VotingReputationClientV9](interfaces/VotingReputationClientV9.md) @@ -121,49 +123,49 @@ Re-exports [Token__factory](classes/factories.Token__factory.md) ### AnyColonyClient -Ƭ **AnyColonyClient**: [`ColonyClientV12`](interfaces/ColonyClientV12.md) \| [`ColonyClientV13`](interfaces/ColonyClientV13.md) \| [`ColonyClientV14`](interfaces/ColonyClientV14.md) \| [`ColonyClientV15`](interfaces/ColonyClientV15.md) \| [`ColonyClientV16`](interfaces/ColonyClientV16.md) +Ƭ **AnyColonyClient**: [`ColonyClientV13`](interfaces/ColonyClientV13.md) \| [`ColonyClientV14`](interfaces/ColonyClientV14.md) \| [`ColonyClientV15`](interfaces/ColonyClientV15.md) \| [`ColonyClientV16`](interfaces/ColonyClientV16.md) \| `ColonyClientV17` ___ ### AnyMultisigPermissionsClient -Ƭ **AnyMultisigPermissionsClient**: [`MultisigPermissionsClientV1`](interfaces/MultisigPermissionsClientV1.md) +Ƭ **AnyMultisigPermissionsClient**: [`MultisigPermissionsClientV1`](interfaces/MultisigPermissionsClientV1.md) \| [`MultisigPermissionsClientV2`](interfaces/MultisigPermissionsClientV2.md) ___ ### AnyOneTxPaymentClient -Ƭ **AnyOneTxPaymentClient**: [`OneTxPaymentClientV3`](interfaces/OneTxPaymentClientV3.md) \| [`OneTxPaymentClientV4`](interfaces/OneTxPaymentClientV4.md) \| [`OneTxPaymentClientV5`](interfaces/OneTxPaymentClientV5.md) \| [`OneTxPaymentClientV6`](interfaces/OneTxPaymentClientV6.md) \| [`OneTxPaymentClientV7`](interfaces/OneTxPaymentClientV7.md) \| [`OneTxPaymentClientV8`](interfaces/OneTxPaymentClientV8.md) +Ƭ **AnyOneTxPaymentClient**: [`OneTxPaymentClientV4`](interfaces/OneTxPaymentClientV4.md) \| [`OneTxPaymentClientV5`](interfaces/OneTxPaymentClientV5.md) \| [`OneTxPaymentClientV6`](interfaces/OneTxPaymentClientV6.md) \| [`OneTxPaymentClientV7`](interfaces/OneTxPaymentClientV7.md) \| [`OneTxPaymentClientV8`](interfaces/OneTxPaymentClientV8.md) \| [`OneTxPaymentClientV9`](interfaces/OneTxPaymentClientV9.md) ___ ### AnyStagedExpenditureClient -Ƭ **AnyStagedExpenditureClient**: [`StagedExpenditureClientV1`](interfaces/StagedExpenditureClientV1.md) \| [`StagedExpenditureClientV2`](interfaces/StagedExpenditureClientV2.md) \| [`StagedExpenditureClientV3`](interfaces/StagedExpenditureClientV3.md) +Ƭ **AnyStagedExpenditureClient**: [`StagedExpenditureClientV1`](interfaces/StagedExpenditureClientV1.md) \| [`StagedExpenditureClientV2`](interfaces/StagedExpenditureClientV2.md) \| [`StagedExpenditureClientV3`](interfaces/StagedExpenditureClientV3.md) \| [`StagedExpenditureClientV4`](interfaces/StagedExpenditureClientV4.md) ___ ### AnyStakedExpenditureClient -Ƭ **AnyStakedExpenditureClient**: [`StakedExpenditureClientV1`](interfaces/StakedExpenditureClientV1.md) \| [`StakedExpenditureClientV2`](interfaces/StakedExpenditureClientV2.md) \| [`StakedExpenditureClientV3`](interfaces/StakedExpenditureClientV3.md) \| [`StakedExpenditureClientV4`](interfaces/StakedExpenditureClientV4.md) \| [`StakedExpenditureClientV5`](interfaces/StakedExpenditureClientV5.md) \| [`StakedExpenditureClientV6`](interfaces/StakedExpenditureClientV6.md) +Ƭ **AnyStakedExpenditureClient**: [`StakedExpenditureClientV2`](interfaces/StakedExpenditureClientV2.md) \| [`StakedExpenditureClientV3`](interfaces/StakedExpenditureClientV3.md) \| [`StakedExpenditureClientV4`](interfaces/StakedExpenditureClientV4.md) \| [`StakedExpenditureClientV5`](interfaces/StakedExpenditureClientV5.md) \| [`StakedExpenditureClientV6`](interfaces/StakedExpenditureClientV6.md) \| [`StakedExpenditureClientV7`](interfaces/StakedExpenditureClientV7.md) ___ ### AnyStreamingPaymentsClient -Ƭ **AnyStreamingPaymentsClient**: [`StreamingPaymentsClientV5`](interfaces/StreamingPaymentsClientV5.md) +Ƭ **AnyStreamingPaymentsClient**: [`StreamingPaymentsClientV5`](interfaces/StreamingPaymentsClientV5.md) \| [`StreamingPaymentsClientV6`](interfaces/StreamingPaymentsClientV6.md) ___ ### AnyTokenSupplierClient -Ƭ **AnyTokenSupplierClient**: [`TokenSupplierClientV3`](interfaces/TokenSupplierClientV3.md) \| [`TokenSupplierClientV4`](interfaces/TokenSupplierClientV4.md) \| [`TokenSupplierClientV5`](interfaces/TokenSupplierClientV5.md) \| [`TokenSupplierClientV6`](interfaces/TokenSupplierClientV6.md) \| [`TokenSupplierClientV7`](interfaces/TokenSupplierClientV7.md) \| [`TokenSupplierClientV8`](interfaces/TokenSupplierClientV8.md) +Ƭ **AnyTokenSupplierClient**: [`TokenSupplierClientV4`](interfaces/TokenSupplierClientV4.md) \| [`TokenSupplierClientV5`](interfaces/TokenSupplierClientV5.md) \| [`TokenSupplierClientV6`](interfaces/TokenSupplierClientV6.md) \| [`TokenSupplierClientV7`](interfaces/TokenSupplierClientV7.md) \| [`TokenSupplierClientV8`](interfaces/TokenSupplierClientV8.md) \| [`TokenSupplierClientV9`](interfaces/TokenSupplierClientV9.md) ___ ### AnyVotingReputationClient -Ƭ **AnyVotingReputationClient**: [`VotingReputationClientV7`](interfaces/VotingReputationClientV7.md) \| [`VotingReputationClientV8`](interfaces/VotingReputationClientV8.md) \| [`VotingReputationClientV9`](interfaces/VotingReputationClientV9.md) \| [`VotingReputationClientV10`](interfaces/VotingReputationClientV10.md) \| [`VotingReputationClientV11`](interfaces/VotingReputationClientV11.md) \| [`VotingReputationClientV12`](interfaces/VotingReputationClientV12.md) +Ƭ **AnyVotingReputationClient**: [`VotingReputationClientV8`](interfaces/VotingReputationClientV8.md) \| [`VotingReputationClientV9`](interfaces/VotingReputationClientV9.md) \| [`VotingReputationClientV10`](interfaces/VotingReputationClientV10.md) \| [`VotingReputationClientV11`](interfaces/VotingReputationClientV11.md) \| [`VotingReputationClientV12`](interfaces/VotingReputationClientV12.md) \| [`VotingReputationClientV13`](interfaces/VotingReputationClientV13.md) ___ @@ -349,16 +351,16 @@ Latest versions of all extension contracts | Name | Type | | :------ | :------ | -| `FundingQueue` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` | -| `IVotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` | -| `MultisigPermissions` | ``1`` | -| `OneTxPayment` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` | -| `ReputationBootstrapper` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` | -| `StagedExpenditure` | ``1`` \| ``2`` \| ``3`` | -| `StakedExpenditure` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` | -| `StreamingPayments` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` | -| `TokenSupplier` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` | -| `VotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` | +| `FundingQueue` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` | +| `IVotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` | +| `MultisigPermissions` | ``1`` \| ``2`` | +| `OneTxPayment` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` | +| `ReputationBootstrapper` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` | +| `StagedExpenditure` | ``1`` \| ``2`` \| ``3`` \| ``4`` | +| `StakedExpenditure` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` | +| `StreamingPayments` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` | +| `TokenSupplier` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` | +| `VotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` | ___ @@ -664,7 +666,7 @@ ___ ### getExtensionLowestCompatibleColonyVersion -▸ **getExtensionLowestCompatibleColonyVersion**(`extension`, `extensionVersion`): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` +▸ **getExtensionLowestCompatibleColonyVersion**(`extension`, `extensionVersion`): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` Calculates and returns the lowest compatible colony version for a given version of an extension @@ -677,7 +679,7 @@ Calculates and returns the lowest compatible colony version for a given version #### Returns -``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` +``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` the lowest compatible colony version for a given version of an extension @@ -897,7 +899,7 @@ Returns `true` if an extension version is compatible with the given colony versi | :------ | :------ | :------ | | `extension` | [`Extension`](enums/Extension.md) | A valid `Extension` contract name | | `extensionVersion` | [`ExtensionVersion`](README.md#extensionversion) | The version of the extension to check against the colony | -| `colonyVersion` | ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` | The version of the colony to check for | +| `colonyVersion` | ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` | The version of the colony to check for | #### Returns diff --git a/packages/colony-js/docs/api/classes/ColonyNetworkFactory.md b/packages/colony-js/docs/api/classes/ColonyNetworkFactory.md index 8539ae06f..c3a5442d2 100644 --- a/packages/colony-js/docs/api/classes/ColonyNetworkFactory.md +++ b/packages/colony-js/docs/api/classes/ColonyNetworkFactory.md @@ -10,7 +10,7 @@ ### abi -▪ `Static` `Readonly` **abi**: readonly [{ `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"auction"`` = "auction"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"quantity"`` = "quantity"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"AuctionCreated"`` = "AuctionCreated"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"bridgeAddress"`` = "bridgeAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"BridgeSet"`` = "BridgeSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"colonyId"`` = "colonyId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colonyAddress"`` = "colonyAddress"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }] ; `name`: ``"ColonyAdded"`` = "ColonyAdded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"label"`` = "label"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ColonyLabelRegistered"`` = "ColonyLabelRegistered"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"resolver"`` = "resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"ColonyNetworkInitialised"`` = "ColonyNetworkInitialised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"resolver"`` = "resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"ColonyVersionAdded"`` = "ColonyVersionAdded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ExtensionAddedToNetwork"`` = "ExtensionAddedToNetwork"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bool"`` = "bool"; `name`: ``"deprecated"`` = "deprecated"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"ExtensionDeprecated"`` = "ExtensionDeprecated"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ExtensionInstalled"`` = "ExtensionInstalled"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"ExtensionUninstalled"`` = "ExtensionUninstalled"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ExtensionUpgraded"`` = "ExtensionUpgraded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"metaColony"`` = "metaColony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rootSkillId"`` = "rootSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"MetaColonyCreated"`` = "MetaColonyCreated"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"userAddress"`` = "userAddress"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address payable"`` = "address payable"; `name`: ``"relayerAddress"`` = "relayerAddress"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"payload"`` = "payload"; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"MetaTransactionExecuted"`` = "MetaTransactionExecuted"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"miningCycleResolver"`` = "miningCycleResolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"MiningCycleResolverSet"`` = "MiningCycleResolverSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"feeInverse"`` = "feeInverse"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NetworkFeeInverseSet"`` = "NetworkFeeInverseSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }] ; `name`: ``"RecoveryModeEntered"`` = "RecoveryModeEntered"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }] ; `name`: ``"RecoveryModeExitApproved"`` = "RecoveryModeExitApproved"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }] ; `name`: ``"RecoveryModeExited"`` = "RecoveryModeExited"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bool"`` = "bool"; `name`: ``"setTo"`` = "setTo"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"RecoveryRoleSet"`` = "RecoveryRoleSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"slot"`` = "slot"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"fromValue"`` = "fromValue"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"toValue"`` = "toValue"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"RecoveryStorageSlotSet"`` = "RecoveryStorageSlotSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"ens"`` = "ens"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"rootNode"`` = "rootNode"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"RegistrarInitialised"`` = "RegistrarInitialised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"miner"`` = "miner"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"tokensLost"`` = "tokensLost"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationMinerPenalised"`` = "ReputationMinerPenalised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"hash"`` = "hash"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nLeaves"`` = "nLeaves"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationMiningCycleComplete"`` = "ReputationMiningCycleComplete"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"inactiveReputationMiningCycle"`` = "inactiveReputationMiningCycle"; `type`: ``"address"`` = "address" }] ; `name`: ``"ReputationMiningInitialised"`` = "ReputationMiningInitialised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationMiningRewardSet"`` = "ReputationMiningRewardSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newHash"`` = "newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newNLeaves"`` = "newNLeaves"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"stakers"`` = "stakers"; `type`: ``"address[]"`` = "address[]" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"reward"`` = "reward"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationRootHashSet"`` = "ReputationRootHashSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"chainId"`` = "chainId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"updateNumber"`` = "updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateAddedFromBridge"`` = "ReputationUpdateAddedFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"count"`` = "count"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateSentToBridge"`` = "ReputationUpdateSentToBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"count"`` = "count"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateStored"`` = "ReputationUpdateStored"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"chainId"`` = "chainId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"updateNumber"`` = "updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateStoredFromBridge"`` = "ReputationUpdateStoredFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"parentSkillId"`` = "parentSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillAdded"`` = "SkillAdded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillAddedFromBridge"`` = "SkillAddedFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillCreationStored"`` = "SkillCreationStored"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillStoredFromBridge"`` = "SkillStoredFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"tokenAuthorityAddress"`` = "tokenAuthorityAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"TokenAuthorityDeployed"`` = "TokenAuthorityDeployed"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"tokenAddress"`` = "tokenAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"TokenDeployed"`` = "TokenDeployed"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"tokenLocking"`` = "tokenLocking"; `type`: ``"address"`` = "address" }] ; `name`: ``"TokenLockingAddressSet"`` = "TokenLockingAddressSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bool"`` = "bool"; `name`: ``"status"`` = "status"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"TokenWhitelisted"`` = "TokenWhitelisted"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"label"`` = "label"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"UserLabelRegistered"`` = "UserLabelRegistered"; `type`: ``"event"`` = "event" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"addColonyVersion"`` = "addColonyVersion"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"addExtensionToNetwork"`` = "addExtensionToNetwork"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"addPendingReputationUpdate"`` = "addPendingReputationUpdate"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addPendingSkill"`` = "addPendingSkill"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_updateNumber"`` = "\_updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addReputationUpdateLogFromBridge"`` = "addReputationUpdateLogFromBridge"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillId"`` = "\_parentSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addSkill"`` = "addSkill"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillId"`` = "\_parentSkillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillCount"`` = "\_skillCount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addSkillFromBridge"`` = "addSkillFromBridge"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_node"`` = "\_node"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"addr"`` = "addr"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_address"`` = "\_address"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"appendReputationUpdateLog"`` = "appendReputationUpdateLog"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"approveExitRecovery"`` = "approveExitRecovery"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"chainId"`` = "chainId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"bridgeCurrentRootHash"`` = "bridgeCurrentRootHash"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_updateNumber"`` = "\_updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"bridgePendingReputationUpdate"`` = "bridgePendingReputationUpdate"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"bridgeSkillIfNotMiningChain"`` = "bridgeSkillIfNotMiningChain"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"burnUnneededRewards"`` = "burnUnneededRewards"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_timeStaked"`` = "\_timeStaked"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_submissonIndex"`` = "\_submissonIndex"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"calculateMinerWeight"`` = "calculateMinerWeight"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_minerWeight"`` = "\_minerWeight"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_slot"`` = "\_slot"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"checkNotAdditionalProtectedVariable"`` = "checkNotAdditionalProtectedVariable"; `outputs`: readonly [] = []; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_recipient"`` = "\_recipient"; `type`: ``"address"`` = "address" }] ; `name`: ``"claimMiningReward"`` = "claimMiningReward"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_metadata"`` = "\_metadata"; `type`: ``"string"`` = "string" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_useExtensionManager"`` = "\_useExtensionManager"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_name"`` = "\_name"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_symbol"`` = "\_symbol"; `type`: ``"string"`` = "string" }, { `internalType`: ``"uint8"`` = "uint8"; `name`: ``"_decimals"`` = "\_decimals"; `type`: ``"uint8"`` = "uint8" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_metadata"`` = "\_metadata"; `type`: ``"string"`` = "string" }] ; `name`: ``"createColonyForFrontend"`` = "createColonyForFrontend"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"createMetaColony"`` = "createMetaColony"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address[]"`` = "address[]"; `name`: ``"_allowedToTransfer"`` = "\_allowedToTransfer"; `type`: ``"address[]"`` = "address[]" }] ; `name`: ``"deployTokenAuthority"`` = "deployTokenAuthority"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAuthority"`` = "\_tokenAuthority"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_name"`` = "\_name"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_symbol"`` = "\_symbol"; `type`: ``"string"`` = "string" }, { `internalType`: ``"uint8"`` = "uint8"; `name`: ``"_decimals"`` = "\_decimals"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"deployTokenViaNetwork"`` = "deployTokenViaNetwork"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_deprecated"`` = "\_deprecated"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"deprecateExtension"`` = "deprecateExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"deprecateSkill"`` = "deprecateSkill"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_deprecated"`` = "\_deprecated"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"deprecateSkill"`` = "deprecateSkill"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_changed"`` = "\_changed"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"enterRecoveryMode"`` = "enterRecoveryMode"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"userAddress"`` = "userAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bytes"`` = "bytes"; `name`: ``"payload"`` = "payload"; `type`: ``"bytes"`` = "bytes" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"sigR"`` = "sigR"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"sigS"`` = "sigS"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint8"`` = "uint8"; `name`: ``"sigV"`` = "sigV"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"executeMetaTransaction"`` = "executeMetaTransaction"; `outputs`: readonly [{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"exitRecoveryMode"`` = "exitRecoveryMode"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"getBridgedReputationUpdateCount"`` = "getBridgedReputationUpdateCount"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bridgedReputationCount"`` = "bridgedReputationCount"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getBridgedSkillCounts"`` = "getBridgedSkillCounts"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillCount"`` = "skillCount"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_childSkillIndex"`` = "\_childSkillIndex"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getChildSkillId"`` = "getChildSkillId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_childSkillId"`` = "\_childSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_id"`` = "\_id"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getColony"`` = "getColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getColonyBridgeAddress"`` = "getColonyBridgeAddress"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"bridge"`` = "bridge"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getColonyCount"`` = "getColonyCount"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_count"`` = "\_count"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getColonyCreationSalt"`` = "getColonyCreationSalt"; `outputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"salt"`` = "salt"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getColonyVersionResolver"`` = "getColonyVersionResolver"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_resolverAddress"`` = "\_resolverAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getCurrentColonyVersion"`` = "getCurrentColonyVersion"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getENSRegistrar"`` = "getENSRegistrar"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_address"`` = "\_address"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"getExtensionInstallation"`` = "getExtensionInstallation"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_installation"`` = "\_installation"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getExtensionResolver"`` = "getExtensionResolver"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getFeeInverse"`` = "getFeeInverse"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_feeInverse"`` = "\_feeInverse"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getMetaColony"`` = "getMetaColony"; `outputs`: readonly [{ `internalType`: ``"address payable"`` = "address payable"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"userAddress"`` = "userAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"getMetatransactionNonce"`` = "getMetatransactionNonce"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nonce"`` = "nonce"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getMiningChainId"`` = "getMiningChainId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"reputationMiningChainId"`` = "reputationMiningChainId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_delegate"`` = "\_delegate"; `type`: ``"address"`` = "address" }] ; `name`: ``"getMiningDelegator"`` = "getMiningDelegator"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_delegator"`` = "\_delegator"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getMiningResolver"`` = "getMiningResolver"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"miningResolverAddress"`` = "miningResolverAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }] ; `name`: ``"getMiningStake"`` = "getMiningStake"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timestamp"`` = "timestamp"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.MiningStake"`` = "struct ColonyNetworkDataTypes.MiningStake"; `name`: ``"_info"`` = "\_info"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillIndex"`` = "\_parentSkillIndex"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getParentSkillId"`` = "getParentSkillId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillId"`` = "\_parentSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPayoutWhitelist"`` = "getPayoutWhitelist"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_status"`` = "\_status"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_updateNumber"`` = "\_updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPendingReputationUpdate"`` = "getPendingReputationUpdate"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"amount"`` = "amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timestamp"`` = "timestamp"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.PendingReputationUpdate"`` = "struct ColonyNetworkDataTypes.PendingReputationUpdate"; `name`: ``"update"`` = "update"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillCount"`` = "\_skillCount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPendingSkillAddition"`` = "getPendingSkillAddition"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"parentId"`` = "parentId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_node"`` = "\_node"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"getProfileDBAddress"`` = "getProfileDBAddress"; `outputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_reputationMiningCycle"`` = "\_reputationMiningCycle"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_id"`` = "\_id"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getReplacementReputationUpdateLogEntry"`` = "getReplacementReputationUpdateLogEntry"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"amount"`` = "amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nUpdates"`` = "nUpdates"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nPreviousUpdates"`` = "nPreviousUpdates"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.ReputationLogEntry"`` = "struct ColonyNetworkDataTypes.ReputationLogEntry"; `name`: ``"_reputationLogEntry"`` = "\_reputationLogEntry"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_reputationMiningCycle"`` = "\_reputationMiningCycle"; `type`: ``"address"`` = "address" }] ; `name`: ``"getReplacementReputationUpdateLogsExist"`` = "getReplacementReputationUpdateLogsExist"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_exists"`` = "\_exists"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_active"`` = "\_active"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"getReputationMiningCycle"`` = "getReputationMiningCycle"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_repMiningCycleAddress"`` = "\_repMiningCycleAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationMiningCycleReward"`` = "getReputationMiningCycleReward"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationMiningSkillId"`` = "getReputationMiningSkillId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationRootHash"`` = "getReputationRootHash"; `outputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"rootHash"`` = "rootHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationRootHashNLeaves"`` = "getReputationRootHashNLeaves"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nLeaves"`` = "nLeaves"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationRootHashNNodes"`` = "getReputationRootHashNNodes"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nNodes"`` = "nNodes"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getSkill"`` = "getSkill"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nParents"`` = "nParents"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nChildren"`` = "nChildren"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"parents"`` = "parents"; `type`: ``"uint256[]"`` = "uint256[]" }, { `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"children"`` = "children"; `type`: ``"uint256[]"`` = "uint256[]" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"DEPRECATED_globalSkill"`` = "DEPRECATED\_globalSkill"; `type`: ``"bool"`` = "bool" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"deprecated"`` = "deprecated"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.Skill"`` = "struct ColonyNetworkDataTypes.Skill"; `name`: ``"_skill"`` = "\_skill"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getSkillCount"`` = "getSkillCount"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_count"`` = "\_count"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getTokenLocking"`` = "getTokenLocking"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_lockingAddress"`` = "\_lockingAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"initialise"`` = "initialise"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"miningChainId"`` = "miningChainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newHash"`` = "newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newNLeaves"`` = "newNLeaves"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"initialiseReputationMining"`` = "initialiseReputationMining"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"initialiseRootLocalSkill"`` = "initialiseRootLocalSkill"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_rootLocalSkillId"`` = "\_rootLocalSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"installExtension"`` = "installExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"isColony"`` = "isColony"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_addressIsColony"`` = "\_addressIsColony"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"isInRecoveryMode"`` = "isInRecoveryMode"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"inRecoveryMode"`` = "inRecoveryMode"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_addr"`` = "\_addr"; `type`: ``"address"`` = "address" }] ; `name`: ``"lookupRegisteredENSDomain"`` = "lookupRegisteredENSDomain"; `outputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_domain"`` = "\_domain"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes[]"`` = "bytes[]"; `name`: ``"data"`` = "data"; `type`: ``"bytes[]"`` = "bytes[]" }] ; `name`: ``"multicall"`` = "multicall"; `outputs`: readonly [{ `internalType`: ``"bytes[]"`` = "bytes[]"; `name`: ``"results"`` = "results"; `type`: ``"bytes[]"`` = "bytes[]" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"numRecoveryRoles"`` = "numRecoveryRoles"; `outputs`: readonly [{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"numRoles"`` = "numRoles"; `type`: ``"uint64"`` = "uint64" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"_stakers"`` = "\_stakers"; `type`: ``"address[]"`` = "address[]" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"punishStakers"`` = "punishStakers"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"registerColonyLabel"`` = "registerColonyLabel"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_username"`` = "\_username"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"registerUserLabel"`` = "registerUserLabel"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }] ; `name`: ``"removeRecoveryRole"`` = "removeRecoveryRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_recipient"`` = "\_recipient"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"reward"`` = "reward"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_bridgeAddress"`` = "\_bridgeAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"setColonyBridgeAddress"`` = "setColonyBridgeAddress"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_feeInverse"`` = "\_feeInverse"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setFeeInverse"`` = "setFeeInverse"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_delegate"`` = "\_delegate"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_allowed"`` = "\_allowed"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"setMiningDelegate"`` = "setMiningDelegate"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_miningResolverAddress"`` = "\_miningResolverAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"setMiningResolver"`` = "setMiningResolver"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_status"`` = "\_status"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"setPayoutWhitelist"`` = "setPayoutWhitelist"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }] ; `name`: ``"setRecoveryRole"`` = "setRecoveryRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_reputationMiningCycle"`` = "\_reputationMiningCycle"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_id"`` = "\_id"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"_nUpdates"`` = "\_nUpdates"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"_nPreviousUpdates"`` = "\_nPreviousUpdates"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"setReplacementReputationUpdateLogEntry"`` = "setReplacementReputationUpdateLogEntry"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setReputationMiningCycleReward"`` = "setReputationMiningCycleReward"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_newHash"`` = "\_newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_newNLeaves"`` = "\_newNLeaves"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address[]"`` = "address[]"; `name`: ``"_stakers"`` = "\_stakers"; `type`: ``"address[]"`` = "address[]" }] ; `name`: ``"setReputationRootHash"`` = "setReputationRootHash"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newHash"`` = "newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newNLeaves"`` = "newNLeaves"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nonce"`` = "nonce"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setReputationRootHashFromBridge"`` = "setReputationRootHashFromBridge"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_slot"`` = "\_slot"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_value"`` = "\_value"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"setStorageSlotRecovery"`` = "setStorageSlotRecovery"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenLockingAddress"`` = "\_tokenLockingAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"setTokenLocking"`` = "setTokenLocking"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_ens"`` = "\_ens"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_rootNode"`` = "\_rootNode"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"setupRegistrar"`` = "setupRegistrar"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"stakeForMining"`` = "stakeForMining"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"startNextCycle"`` = "startNextCycle"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }] ; `name`: ``"startTokenAuction"`` = "startTokenAuction"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_interfaceID"`` = "\_interfaceID"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_status"`` = "\_status"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"uninstallExtension"`` = "uninstallExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"unstakeForMining"`` = "unstakeForMining"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"updateColonyOrbitDB"`` = "updateColonyOrbitDB"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"updateUserOrbitDB"`` = "updateUserOrbitDB"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_newVersion"`` = "\_newVersion"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"upgradeExtension"`` = "upgradeExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }] = `_abi` +▪ `Static` `Readonly` **abi**: readonly [{ `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"auction"`` = "auction"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"quantity"`` = "quantity"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"AuctionCreated"`` = "AuctionCreated"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"bridgeAddress"`` = "bridgeAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"BridgeSet"`` = "BridgeSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"colonyId"`` = "colonyId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colonyAddress"`` = "colonyAddress"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }] ; `name`: ``"ColonyAdded"`` = "ColonyAdded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"label"`` = "label"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ColonyLabelRegistered"`` = "ColonyLabelRegistered"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"resolver"`` = "resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"ColonyNetworkInitialised"`` = "ColonyNetworkInitialised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"resolver"`` = "resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"ColonyVersionAdded"`` = "ColonyVersionAdded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ExtensionAddedToNetwork"`` = "ExtensionAddedToNetwork"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bool"`` = "bool"; `name`: ``"deprecated"`` = "deprecated"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"ExtensionDeprecated"`` = "ExtensionDeprecated"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ExtensionInstalled"`` = "ExtensionInstalled"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"ExtensionUninstalled"`` = "ExtensionUninstalled"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"extensionId"`` = "extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ExtensionUpgraded"`` = "ExtensionUpgraded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"metaColony"`` = "metaColony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rootSkillId"`` = "rootSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"MetaColonyCreated"`` = "MetaColonyCreated"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"userAddress"`` = "userAddress"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"address payable"`` = "address payable"; `name`: ``"relayerAddress"`` = "relayerAddress"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"payload"`` = "payload"; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"MetaTransactionExecuted"`` = "MetaTransactionExecuted"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"miningCycleResolver"`` = "miningCycleResolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"MiningCycleResolverSet"`` = "MiningCycleResolverSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"feeInverse"`` = "feeInverse"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NetworkFeeInverseSet"`` = "NetworkFeeInverseSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }] ; `name`: ``"RecoveryModeEntered"`` = "RecoveryModeEntered"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }] ; `name`: ``"RecoveryModeExitApproved"`` = "RecoveryModeExitApproved"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }] ; `name`: ``"RecoveryModeExited"`` = "RecoveryModeExited"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bool"`` = "bool"; `name`: ``"setTo"`` = "setTo"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"RecoveryRoleSet"`` = "RecoveryRoleSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"slot"`` = "slot"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"fromValue"`` = "fromValue"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"toValue"`` = "toValue"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"RecoveryStorageSlotSet"`` = "RecoveryStorageSlotSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"ens"`` = "ens"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"rootNode"`` = "rootNode"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"RegistrarInitialised"`` = "RegistrarInitialised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"miner"`` = "miner"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"tokensLost"`` = "tokensLost"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationMinerPenalised"`` = "ReputationMinerPenalised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"hash"`` = "hash"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nLeaves"`` = "nLeaves"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationMiningCycleComplete"`` = "ReputationMiningCycleComplete"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"inactiveReputationMiningCycle"`` = "inactiveReputationMiningCycle"; `type`: ``"address"`` = "address" }] ; `name`: ``"ReputationMiningInitialised"`` = "ReputationMiningInitialised"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationMiningRewardSet"`` = "ReputationMiningRewardSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newHash"`` = "newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newNLeaves"`` = "newNLeaves"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"stakers"`` = "stakers"; `type`: ``"address[]"`` = "address[]" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"reward"`` = "reward"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationRootHashSet"`` = "ReputationRootHashSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"chainId"`` = "chainId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"updateNumber"`` = "updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateAddedFromBridge"`` = "ReputationUpdateAddedFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"count"`` = "count"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateSentToBridge"`` = "ReputationUpdateSentToBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"count"`` = "count"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateStored"`` = "ReputationUpdateStored"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"chainId"`` = "chainId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"updateNumber"`` = "updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ReputationUpdateStoredFromBridge"`` = "ReputationUpdateStoredFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }, { `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"parentSkillId"`` = "parentSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillAdded"`` = "SkillAdded"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillAddedFromBridge"`` = "SkillAddedFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillCreationStored"`` = "SkillCreationStored"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SkillStoredFromBridge"`` = "SkillStoredFromBridge"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"tokenAuthorityAddress"`` = "tokenAuthorityAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"TokenAuthorityDeployed"`` = "TokenAuthorityDeployed"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"tokenAddress"`` = "tokenAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"TokenDeployed"`` = "TokenDeployed"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"tokenLocking"`` = "tokenLocking"; `type`: ``"address"`` = "address" }] ; `name`: ``"TokenLockingAddressSet"`` = "TokenLockingAddressSet"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bool"`` = "bool"; `name`: ``"status"`` = "status"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"TokenWhitelisted"`` = "TokenWhitelisted"; `type`: ``"event"`` = "event" }, { `anonymous`: ``false`` = false; `inputs`: readonly [{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"label"`` = "label"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"UserLabelRegistered"`` = "UserLabelRegistered"; `type`: ``"event"`` = "event" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"addColonyVersion"`` = "addColonyVersion"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }] ; `name`: ``"addExtensionToNetwork"`` = "addExtensionToNetwork"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"addPendingReputationUpdate"`` = "addPendingReputationUpdate"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addPendingSkill"`` = "addPendingSkill"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_updateNumber"`` = "\_updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addReputationUpdateLogFromBridge"`` = "addReputationUpdateLogFromBridge"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillId"`` = "\_parentSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addSkill"`` = "addSkill"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillId"`` = "\_parentSkillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillCount"`` = "\_skillCount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"addSkillFromBridge"`` = "addSkillFromBridge"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_node"`` = "\_node"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"addr"`` = "addr"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_address"`` = "\_address"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"appendReputationUpdateLog"`` = "appendReputationUpdateLog"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"approveExitRecovery"`` = "approveExitRecovery"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"chainId"`` = "chainId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"bridgeCurrentRootHash"`` = "bridgeCurrentRootHash"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_updateNumber"`` = "\_updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"bridgePendingReputationUpdate"`` = "bridgePendingReputationUpdate"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"bridgeSkillIfNotMiningChain"`` = "bridgeSkillIfNotMiningChain"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"burnUnneededRewards"`` = "burnUnneededRewards"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_timeStaked"`` = "\_timeStaked"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_submissonIndex"`` = "\_submissonIndex"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"calculateMinerWeight"`` = "calculateMinerWeight"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_minerWeight"`` = "\_minerWeight"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_slot"`` = "\_slot"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"checkNotAdditionalProtectedVariable"`` = "checkNotAdditionalProtectedVariable"; `outputs`: readonly [] = []; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_recipient"`` = "\_recipient"; `type`: ``"address"`` = "address" }] ; `name`: ``"claimMiningReward"`` = "claimMiningReward"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_metadata"`` = "\_metadata"; `type`: ``"string"`` = "string" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_useExtensionManager"`` = "\_useExtensionManager"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"createColony"`` = "createColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_name"`` = "\_name"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_symbol"`` = "\_symbol"; `type`: ``"string"`` = "string" }, { `internalType`: ``"uint8"`` = "uint8"; `name`: ``"_decimals"`` = "\_decimals"; `type`: ``"uint8"`` = "uint8" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_metadata"`` = "\_metadata"; `type`: ``"string"`` = "string" }] ; `name`: ``"createColonyForFrontend"`` = "createColonyForFrontend"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAddress"`` = "\_tokenAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"createMetaColony"`` = "createMetaColony"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"address[]"`` = "address[]"; `name`: ``"_allowedToTransfer"`` = "\_allowedToTransfer"; `type`: ``"address[]"`` = "address[]" }] ; `name`: ``"deployTokenAuthority"`` = "deployTokenAuthority"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenAuthority"`` = "\_tokenAuthority"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_name"`` = "\_name"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_symbol"`` = "\_symbol"; `type`: ``"string"`` = "string" }, { `internalType`: ``"uint8"`` = "uint8"; `name`: ``"_decimals"`` = "\_decimals"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"deployTokenViaNetwork"`` = "deployTokenViaNetwork"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_deprecated"`` = "\_deprecated"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"deprecateExtension"`` = "deprecateExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_deprecated"`` = "\_deprecated"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"deprecateSkill"`` = "deprecateSkill"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_changed"`` = "\_changed"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"enterRecoveryMode"`` = "enterRecoveryMode"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"userAddress"`` = "userAddress"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bytes"`` = "bytes"; `name`: ``"payload"`` = "payload"; `type`: ``"bytes"`` = "bytes" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"sigR"`` = "sigR"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"sigS"`` = "sigS"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint8"`` = "uint8"; `name`: ``"sigV"`` = "sigV"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"executeMetaTransaction"`` = "executeMetaTransaction"; `outputs`: readonly [{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"exitRecoveryMode"`` = "exitRecoveryMode"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"getBridgedReputationUpdateCount"`` = "getBridgedReputationUpdateCount"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bridgedReputationCount"`` = "bridgedReputationCount"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getBridgedSkillCounts"`` = "getBridgedSkillCounts"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillCount"`` = "skillCount"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_childSkillIndex"`` = "\_childSkillIndex"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getChildSkillId"`` = "getChildSkillId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_childSkillId"`` = "\_childSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_id"`` = "\_id"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getColony"`` = "getColony"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getColonyBridgeAddress"`` = "getColonyBridgeAddress"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"bridge"`` = "bridge"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getColonyCount"`` = "getColonyCount"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_count"`` = "\_count"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getColonyCreationSalt"`` = "getColonyCreationSalt"; `outputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"salt"`` = "salt"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getColonyVersionResolver"`` = "getColonyVersionResolver"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_resolverAddress"`` = "\_resolverAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getCurrentColonyVersion"`` = "getCurrentColonyVersion"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getENSRegistrar"`` = "getENSRegistrar"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_address"`` = "\_address"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"getExtensionInstallation"`` = "getExtensionInstallation"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_installation"`` = "\_installation"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getExtensionResolver"`` = "getExtensionResolver"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getFeeInverse"`` = "getFeeInverse"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_feeInverse"`` = "\_feeInverse"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getMetaColony"`` = "getMetaColony"; `outputs`: readonly [{ `internalType`: ``"address payable"`` = "address payable"; `name`: ``"_colonyAddress"`` = "\_colonyAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"userAddress"`` = "userAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"getMetatransactionNonce"`` = "getMetatransactionNonce"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nonce"`` = "nonce"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getMiningChainId"`` = "getMiningChainId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"reputationMiningChainId"`` = "reputationMiningChainId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_delegate"`` = "\_delegate"; `type`: ``"address"`` = "address" }] ; `name`: ``"getMiningDelegator"`` = "getMiningDelegator"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_delegator"`` = "\_delegator"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getMiningResolver"`` = "getMiningResolver"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"miningResolverAddress"`` = "miningResolverAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }] ; `name`: ``"getMiningStake"`` = "getMiningStake"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timestamp"`` = "timestamp"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.MiningStake"`` = "struct ColonyNetworkDataTypes.MiningStake"; `name`: ``"_info"`` = "\_info"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillIndex"`` = "\_parentSkillIndex"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getParentSkillId"`` = "getParentSkillId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_parentSkillId"`` = "\_parentSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPayoutWhitelist"`` = "getPayoutWhitelist"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_status"`` = "\_status"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_updateNumber"`` = "\_updateNumber"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPendingReputationUpdate"`` = "getPendingReputationUpdate"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"amount"`` = "amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timestamp"`` = "timestamp"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.PendingReputationUpdate"`` = "struct ColonyNetworkDataTypes.PendingReputationUpdate"; `name`: ``"update"`` = "update"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_chainId"`` = "\_chainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillCount"`` = "\_skillCount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPendingSkillAddition"`` = "getPendingSkillAddition"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"parentId"`` = "parentId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_node"`` = "\_node"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"getProfileDBAddress"`` = "getProfileDBAddress"; `outputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_reputationMiningCycle"`` = "\_reputationMiningCycle"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_id"`` = "\_id"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getReplacementReputationUpdateLogEntry"`` = "getReplacementReputationUpdateLogEntry"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"user"`` = "user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"amount"`` = "amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"skillId"`` = "skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"colony"`` = "colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nUpdates"`` = "nUpdates"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nPreviousUpdates"`` = "nPreviousUpdates"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.ReputationLogEntry"`` = "struct ColonyNetworkDataTypes.ReputationLogEntry"; `name`: ``"_reputationLogEntry"`` = "\_reputationLogEntry"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_reputationMiningCycle"`` = "\_reputationMiningCycle"; `type`: ``"address"`` = "address" }] ; `name`: ``"getReplacementReputationUpdateLogsExist"`` = "getReplacementReputationUpdateLogsExist"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_exists"`` = "\_exists"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_active"`` = "\_active"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"getReputationMiningCycle"`` = "getReputationMiningCycle"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_repMiningCycleAddress"`` = "\_repMiningCycleAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationMiningCycleReward"`` = "getReputationMiningCycleReward"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationMiningSkillId"`` = "getReputationMiningSkillId"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationRootHash"`` = "getReputationRootHash"; `outputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"rootHash"`` = "rootHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationRootHashNLeaves"`` = "getReputationRootHashNLeaves"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nLeaves"`` = "nLeaves"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getReputationRootHashNNodes"`` = "getReputationRootHashNNodes"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nNodes"`` = "nNodes"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getSkill"`` = "getSkill"; `outputs`: readonly [{ `components`: readonly [{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nParents"`` = "nParents"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"nChildren"`` = "nChildren"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"parents"`` = "parents"; `type`: ``"uint256[]"`` = "uint256[]" }, { `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"children"`` = "children"; `type`: ``"uint256[]"`` = "uint256[]" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"DEPRECATED_globalSkill"`` = "DEPRECATED\_globalSkill"; `type`: ``"bool"`` = "bool" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"DEPRECATED_deprecated"`` = "DEPRECATED\_deprecated"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct ColonyNetworkDataTypes.Skill"`` = "struct ColonyNetworkDataTypes.Skill"; `name`: ``"_skill"`` = "\_skill"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getSkillCount"`` = "getSkillCount"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_count"`` = "\_count"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"getTokenLocking"`` = "getTokenLocking"; `outputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_lockingAddress"`` = "\_lockingAddress"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_resolver"`` = "\_resolver"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"initialise"`` = "initialise"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"miningChainId"`` = "miningChainId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newHash"`` = "newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newNLeaves"`` = "newNLeaves"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"initialiseReputationMining"`` = "initialiseReputationMining"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"initialiseRootLocalSkill"`` = "initialiseRootLocalSkill"; `outputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_rootLocalSkillId"`` = "\_rootLocalSkillId"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_version"`` = "\_version"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"installExtension"`` = "installExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }] ; `name`: ``"isColony"`` = "isColony"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_addressIsColony"`` = "\_addressIsColony"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"isInRecoveryMode"`` = "isInRecoveryMode"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"inRecoveryMode"`` = "inRecoveryMode"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_addr"`` = "\_addr"; `type`: ``"address"`` = "address" }] ; `name`: ``"lookupRegisteredENSDomain"`` = "lookupRegisteredENSDomain"; `outputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_domain"`` = "\_domain"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes[]"`` = "bytes[]"; `name`: ``"data"`` = "data"; `type`: ``"bytes[]"`` = "bytes[]" }] ; `name`: ``"multicall"`` = "multicall"; `outputs`: readonly [{ `internalType`: ``"bytes[]"`` = "bytes[]"; `name`: ``"results"`` = "results"; `type`: ``"bytes[]"`` = "bytes[]" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"numRecoveryRoles"`` = "numRecoveryRoles"; `outputs`: readonly [{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"numRoles"`` = "numRoles"; `type`: ``"uint64"`` = "uint64" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"_stakers"`` = "\_stakers"; `type`: ``"address[]"`` = "address[]" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"punishStakers"`` = "punishStakers"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_colonyName"`` = "\_colonyName"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"registerColonyLabel"`` = "registerColonyLabel"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_username"`` = "\_username"; `type`: ``"string"`` = "string" }, { `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"registerUserLabel"`` = "registerUserLabel"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }] ; `name`: ``"removeRecoveryRole"`` = "removeRecoveryRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_recipient"`` = "\_recipient"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"reward"`` = "reward"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_bridgeAddress"`` = "\_bridgeAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"setColonyBridgeAddress"`` = "setColonyBridgeAddress"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_feeInverse"`` = "\_feeInverse"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setFeeInverse"`` = "setFeeInverse"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_delegate"`` = "\_delegate"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_allowed"`` = "\_allowed"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"setMiningDelegate"`` = "setMiningDelegate"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_miningResolverAddress"`` = "\_miningResolverAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"setMiningResolver"`` = "setMiningResolver"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bool"`` = "bool"; `name`: ``"_status"`` = "\_status"; `type`: ``"bool"`` = "bool" }] ; `name`: ``"setPayoutWhitelist"`` = "setPayoutWhitelist"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }] ; `name`: ``"setRecoveryRole"`` = "setRecoveryRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_reputationMiningCycle"`` = "\_reputationMiningCycle"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_id"`` = "\_id"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_user"`` = "\_user"; `type`: ``"address"`` = "address" }, { `internalType`: ``"int256"`` = "int256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"int256"`` = "int256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_skillId"`` = "\_skillId"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address"`` = "address"; `name`: ``"_colony"`` = "\_colony"; `type`: ``"address"`` = "address" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"_nUpdates"`` = "\_nUpdates"; `type`: ``"uint128"`` = "uint128" }, { `internalType`: ``"uint128"`` = "uint128"; `name`: ``"_nPreviousUpdates"`` = "\_nPreviousUpdates"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"setReplacementReputationUpdateLogEntry"`` = "setReplacementReputationUpdateLogEntry"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setReputationMiningCycleReward"`` = "setReputationMiningCycleReward"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_newHash"`` = "\_newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_newNLeaves"`` = "\_newNLeaves"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"address[]"`` = "address[]"; `name`: ``"_stakers"`` = "\_stakers"; `type`: ``"address[]"`` = "address[]" }] ; `name`: ``"setReputationRootHash"`` = "setReputationRootHash"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newHash"`` = "newHash"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newNLeaves"`` = "newNLeaves"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nonce"`` = "nonce"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setReputationRootHashFromBridge"`` = "setReputationRootHashFromBridge"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_slot"`` = "\_slot"; `type`: ``"uint256"`` = "uint256" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_value"`` = "\_value"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"setStorageSlotRecovery"`` = "setStorageSlotRecovery"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_tokenLockingAddress"`` = "\_tokenLockingAddress"; `type`: ``"address"`` = "address" }] ; `name`: ``"setTokenLocking"`` = "setTokenLocking"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_ens"`` = "\_ens"; `type`: ``"address"`` = "address" }, { `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_rootNode"`` = "\_rootNode"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"setupRegistrar"`` = "setupRegistrar"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"stakeForMining"`` = "stakeForMining"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [] = []; `name`: ``"startNextCycle"`` = "startNextCycle"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"address"`` = "address"; `name`: ``"_token"`` = "\_token"; `type`: ``"address"`` = "address" }] ; `name`: ``"startTokenAuction"`` = "startTokenAuction"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_interfaceID"`` = "\_interfaceID"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_status"`` = "\_status"; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"uninstallExtension"`` = "uninstallExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_amount"`` = "\_amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"unstakeForMining"`` = "unstakeForMining"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"updateColonyOrbitDB"`` = "updateColonyOrbitDB"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"string"`` = "string"; `name`: ``"_orbitdb"`` = "\_orbitdb"; `type`: ``"string"`` = "string" }] ; `name`: ``"updateUserOrbitDB"`` = "updateUserOrbitDB"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, { `inputs`: readonly [{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_extensionId"`` = "\_extensionId"; `type`: ``"bytes32"`` = "bytes32" }, { `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_newVersion"`` = "\_newVersion"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"upgradeExtension"`` = "upgradeExtension"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }] = `_abi` ## Methods diff --git a/packages/colony-js/docs/api/interfaces/ColonyClientV12.md b/packages/colony-js/docs/api/interfaces/ColonyClientV12.md deleted file mode 100644 index 3cd04c017..000000000 --- a/packages/colony-js/docs/api/interfaces/ColonyClientV12.md +++ /dev/null @@ -1,8852 +0,0 @@ -# Interface: ColonyClientV12 - -## Hierarchy - -- `AugmentedIColony`<`IColony`\> - -- `ColonyAugmentsV3`<`IColony`\> - -- `ColonyAugmentsV4`<`IColony`\> - -- `ColonyAugmentsV5`<`IColony`\> - -- `ColonyAugmentsV6`<`IColony`\> - -- `ColonyAugmentsV7`<`IColony`\> - -- `AddDomainAugmentsB`<`IColony`\> - -- `MoveFundsBetweenPotsAugmentsB`<`IColony`\> - - ↳ **`ColonyClientV12`** - -## Properties - -### \_deployedPromise - -• **\_deployedPromise**: `Promise`<`Contract`\> - -#### Inherited from - -AugmentedIColony.\_deployedPromise - -___ - -### \_runningEvents - -• **\_runningEvents**: `Object` - -#### Index signature - -▪ [eventTag: `string`]: `RunningEvent` - -#### Inherited from - -AugmentedIColony.\_runningEvents - -___ - -### \_wrappedEmits - -• **\_wrappedEmits**: `Object` - -#### Index signature - -▪ [eventTag: `string`]: (...`args`: `any`[]) => `void` - -#### Inherited from - -AugmentedIColony.\_wrappedEmits - -___ - -### address - -• `Readonly` **address**: `string` - -#### Inherited from - -AugmentedIColony.address - -___ - -### clientType - -• **clientType**: [`ColonyClient`](../enums/ClientType.md#colonyclient) - -#### Inherited from - -AugmentedIColony.clientType - -___ - -### clientVersion - -• **clientVersion**: ``12`` - -#### Overrides - -AugmentedIColony.clientVersion - -___ - -### colonyEvents - -• **colonyEvents**: `IColonyEvents` - -The colonyEvents contract supports all events across all versions. -Isn't that amazing? -It's an ethers contract with only events to filter - -#### Inherited from - -AugmentedIColony.colonyEvents - -___ - -### deployTransaction - -• `Readonly` **deployTransaction**: `TransactionResponse` - -#### Inherited from - -AugmentedIColony.deployTransaction - -___ - -### estimateGas - -• **estimateGas**: `ColonyClientV12Estimate` - -#### Overrides - -AugmentedIColony.estimateGas - -___ - -### filters - -• **filters**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `Annotation` | (`agent?`: ``null`` \| `string`, `txHash?`: ``null`` \| `BytesLike`, `metadata?`: ``null``) => `AnnotationEventFilter` | -| `Annotation(address,bytes32,string)` | (`agent?`: ``null`` \| `string`, `txHash?`: ``null`` \| `BytesLike`, `metadata?`: ``null``) => `AnnotationEventFilter` | -| `ArbitraryReputationUpdate` | (`agent?`: ``null``, `user?`: ``null``, `skillId?`: ``null``, `amount?`: ``null``) => `ArbitraryReputationUpdateEventFilter` | -| `ArbitraryReputationUpdate(address,address,uint256,int256)` | (`agent?`: ``null``, `user?`: ``null``, `skillId?`: ``null``, `amount?`: ``null``) => `ArbitraryReputationUpdateEventFilter` | -| `ArbitraryTransaction` | (`target?`: ``null``, `data?`: ``null``, `success?`: ``null``) => `ArbitraryTransactionEventFilter` | -| `ArbitraryTransaction(address,bytes,bool)` | (`target?`: ``null``, `data?`: ``null``, `success?`: ``null``) => `ArbitraryTransactionEventFilter` | -| `ColonyBootstrapped` | (`agent?`: ``null``, `users?`: ``null``, `amounts?`: ``null``) => `ColonyBootstrappedEventFilter` | -| `ColonyBootstrapped(address,address[],int256[])` | (`agent?`: ``null``, `users?`: ``null``, `amounts?`: ``null``) => `ColonyBootstrappedEventFilter` | -| `ColonyFundsClaimed` | (`agent?`: ``null``, `token?`: ``null``, `fee?`: ``null``, `payoutRemainder?`: ``null``) => `ColonyFundsClaimedEventFilter` | -| `ColonyFundsClaimed(address,address,uint256,uint256)` | (`agent?`: ``null``, `token?`: ``null``, `fee?`: ``null``, `payoutRemainder?`: ``null``) => `ColonyFundsClaimedEventFilter` | -| `ColonyFundsMovedBetweenFundingPots` | (`agent?`: ``null``, `fromPot?`: ``null`` \| `BigNumberish`, `toPot?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `token?`: ``null``) => `ColonyFundsMovedBetweenFundingPotsEventFilter` | -| `ColonyFundsMovedBetweenFundingPots(address,uint256,uint256,uint256,address)` | (`agent?`: ``null``, `fromPot?`: ``null`` \| `BigNumberish`, `toPot?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `token?`: ``null``) => `ColonyFundsMovedBetweenFundingPotsEventFilter` | -| `ColonyInitialised` | (`agent?`: ``null``, `colonyNetwork?`: ``null``, `token?`: ``null``) => `ColonyInitialisedEventFilter` | -| `ColonyInitialised(address,address,address)` | (`agent?`: ``null``, `colonyNetwork?`: ``null``, `token?`: ``null``) => `ColonyInitialisedEventFilter` | -| `ColonyMetadata` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataEventFilter` | -| `ColonyMetadata(address,string)` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataEventFilter` | -| `ColonyMetadataDelta` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataDeltaEventFilter` | -| `ColonyMetadataDelta(address,string)` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataDeltaEventFilter` | -| `ColonyRewardInverseSet` | (`agent?`: ``null``, `rewardInverse?`: ``null``) => `ColonyRewardInverseSetEventFilter` | -| `ColonyRewardInverseSet(address,uint256)` | (`agent?`: ``null``, `rewardInverse?`: ``null``) => `ColonyRewardInverseSetEventFilter` | -| `ColonyRoleSet` | (`agent?`: ``null``, `user?`: ``null`` \| `string`, `domainId?`: ``null`` \| `BigNumberish`, `role?`: ``null`` \| `BigNumberish`, `setTo?`: ``null``) => `ColonyRoleSetEventFilter` | -| `ColonyRoleSet(address,address,uint256,uint8,bool)` | (`agent?`: ``null``, `user?`: ``null`` \| `string`, `domainId?`: ``null`` \| `BigNumberish`, `role?`: ``null`` \| `BigNumberish`, `setTo?`: ``null``) => `ColonyRoleSetEventFilter` | -| `ColonyUpgraded` | (`agent?`: ``null``, `oldVersion?`: ``null``, `newVersion?`: ``null``) => `ColonyUpgradedEventFilter` | -| `ColonyUpgraded(address,uint256,uint256)` | (`agent?`: ``null``, `oldVersion?`: ``null``, `newVersion?`: ``null``) => `ColonyUpgradedEventFilter` | -| `DomainAdded` | (`agent?`: ``null``, `domainId?`: ``null``) => `DomainAddedEventFilter` | -| `DomainAdded(address,uint256)` | (`agent?`: ``null``, `domainId?`: ``null``) => `DomainAddedEventFilter` | -| `DomainDeprecated` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `deprecated?`: ``null``) => `DomainDeprecatedEventFilter` | -| `DomainDeprecated(address,uint256,bool)` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `deprecated?`: ``null``) => `DomainDeprecatedEventFilter` | -| `DomainMetadata` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `DomainMetadataEventFilter` | -| `DomainMetadata(address,uint256,string)` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `DomainMetadataEventFilter` | -| `ExpenditureAdded` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureAddedEventFilter` | -| `ExpenditureAdded(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureAddedEventFilter` | -| `ExpenditureCancelled` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureCancelledEventFilter` | -| `ExpenditureCancelled(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureCancelledEventFilter` | -| `ExpenditureClaimDelaySet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `claimDelay?`: ``null``) => `ExpenditureClaimDelaySetEventFilter` | -| `ExpenditureClaimDelaySet(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `claimDelay?`: ``null``) => `ExpenditureClaimDelaySetEventFilter` | -| `ExpenditureFinalized` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureFinalizedEventFilter` | -| `ExpenditureFinalized(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureFinalizedEventFilter` | -| `ExpenditureGlobalClaimDelaySet` | (`agent?`: ``null``, `globalClaimDelay?`: ``null``) => `ExpenditureGlobalClaimDelaySetEventFilter` | -| `ExpenditureGlobalClaimDelaySet(address,uint256)` | (`agent?`: ``null``, `globalClaimDelay?`: ``null``) => `ExpenditureGlobalClaimDelaySetEventFilter` | -| `ExpenditureLocked` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureLockedEventFilter` | -| `ExpenditureLocked(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureLockedEventFilter` | -| `ExpenditureMetadataSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `ExpenditureMetadataSetEventFilter` | -| `ExpenditureMetadataSet(address,uint256,string)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `ExpenditureMetadataSetEventFilter` | -| `ExpenditurePayoutModifierSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `payoutModifier?`: ``null``) => `ExpenditurePayoutModifierSetEventFilter` | -| `ExpenditurePayoutModifierSet(address,uint256,uint256,int256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `payoutModifier?`: ``null``) => `ExpenditurePayoutModifierSetEventFilter` | -| `ExpenditurePayoutSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `token?`: ``null`` \| `string`, `amount?`: ``null``) => `ExpenditurePayoutSetEventFilter` | -| `ExpenditurePayoutSet(address,uint256,uint256,address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `token?`: ``null`` \| `string`, `amount?`: ``null``) => `ExpenditurePayoutSetEventFilter` | -| `ExpenditureRecipientSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `recipient?`: ``null`` \| `string`) => `ExpenditureRecipientSetEventFilter` | -| `ExpenditureRecipientSet(address,uint256,uint256,address)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `recipient?`: ``null`` \| `string`) => `ExpenditureRecipientSetEventFilter` | -| `ExpenditureSkillSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `ExpenditureSkillSetEventFilter` | -| `ExpenditureSkillSet(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `ExpenditureSkillSetEventFilter` | -| `ExpenditureStateChanged` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `storageSlot?`: ``null`` \| `BigNumberish`, `mask?`: ``null``, `keys?`: ``null``, `value?`: ``null``) => `ExpenditureStateChangedEventFilter` | -| `ExpenditureStateChanged(address,uint256,uint256,bool[],bytes32[],bytes32)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `storageSlot?`: ``null`` \| `BigNumberish`, `mask?`: ``null``, `keys?`: ``null``, `value?`: ``null``) => `ExpenditureStateChangedEventFilter` | -| `ExpenditureTransferred` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `owner?`: ``null`` \| `string`) => `ExpenditureTransferredEventFilter` | -| `ExpenditureTransferred(address,uint256,address)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `owner?`: ``null`` \| `string`) => `ExpenditureTransferredEventFilter` | -| `FundingPotAdded` | (`fundingPotId?`: ``null``) => `FundingPotAddedEventFilter` | -| `FundingPotAdded(uint256)` | (`fundingPotId?`: ``null``) => `FundingPotAddedEventFilter` | -| `LocalSkillAdded` | (`agent?`: ``null``, `localSkillId?`: ``null``) => `LocalSkillAddedEventFilter` | -| `LocalSkillAdded(address,uint256)` | (`agent?`: ``null``, `localSkillId?`: ``null``) => `LocalSkillAddedEventFilter` | -| `LocalSkillDeprecated` | (`agent?`: ``null``, `localSkillId?`: ``null``, `deprecated?`: ``null``) => `LocalSkillDeprecatedEventFilter` | -| `LocalSkillDeprecated(address,uint256,bool)` | (`agent?`: ``null``, `localSkillId?`: ``null``, `deprecated?`: ``null``) => `LocalSkillDeprecatedEventFilter` | -| `MetaTransactionExecuted` | (`userAddress?`: ``null``, `relayerAddress?`: ``null``, `payload?`: ``null``) => `MetaTransactionExecutedEventFilter` | -| `MetaTransactionExecuted(address,address,bytes)` | (`userAddress?`: ``null``, `relayerAddress?`: ``null``, `payload?`: ``null``) => `MetaTransactionExecutedEventFilter` | -| `PaymentAdded` | (`agent?`: ``null``, `paymentId?`: ``null``) => `PaymentAddedEventFilter` | -| `PaymentAdded(address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null``) => `PaymentAddedEventFilter` | -| `PaymentFinalized` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`) => `PaymentFinalizedEventFilter` | -| `PaymentFinalized(address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`) => `PaymentFinalizedEventFilter` | -| `PaymentPayoutSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PaymentPayoutSetEventFilter` | -| `PaymentPayoutSet(address,uint256,address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PaymentPayoutSetEventFilter` | -| `PaymentRecipientSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `recipient?`: ``null``) => `PaymentRecipientSetEventFilter` | -| `PaymentRecipientSet(address,uint256,address)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `recipient?`: ``null``) => `PaymentRecipientSetEventFilter` | -| `PaymentSkillSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null``) => `PaymentSkillSetEventFilter` | -| `PaymentSkillSet(address,uint256,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null``) => `PaymentSkillSetEventFilter` | -| `PayoutClaimed` | (`agent?`: ``null``, `fundingPotId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PayoutClaimedEventFilter` | -| `PayoutClaimed(address,uint256,address,uint256)` | (`agent?`: ``null``, `fundingPotId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PayoutClaimedEventFilter` | -| `RecoveryModeEntered` | (`user?`: ``null``) => `RecoveryModeEnteredEventFilter` | -| `RecoveryModeEntered(address)` | (`user?`: ``null``) => `RecoveryModeEnteredEventFilter` | -| `RecoveryModeExitApproved` | (`user?`: ``null``) => `RecoveryModeExitApprovedEventFilter` | -| `RecoveryModeExitApproved(address)` | (`user?`: ``null``) => `RecoveryModeExitApprovedEventFilter` | -| `RecoveryModeExited` | (`user?`: ``null``) => `RecoveryModeExitedEventFilter` | -| `RecoveryModeExited(address)` | (`user?`: ``null``) => `RecoveryModeExitedEventFilter` | -| `RecoveryRoleSet` | (`user?`: ``null`` \| `string`, `setTo?`: ``null``) => `RecoveryRoleSetEventFilter` | -| `RecoveryRoleSet(address,bool)` | (`user?`: ``null`` \| `string`, `setTo?`: ``null``) => `RecoveryRoleSetEventFilter` | -| `RecoveryStorageSlotSet` | (`user?`: ``null``, `slot?`: ``null``, `fromValue?`: ``null``, `toValue?`: ``null``) => `RecoveryStorageSlotSetEventFilter` | -| `RecoveryStorageSlotSet(address,uint256,bytes32,bytes32)` | (`user?`: ``null``, `slot?`: ``null``, `fromValue?`: ``null``, `toValue?`: ``null``) => `RecoveryStorageSlotSetEventFilter` | -| `RewardPayoutClaimed` | (`rewardPayoutId?`: ``null``, `user?`: ``null``, `fee?`: ``null``, `rewardRemainder?`: ``null``) => `RewardPayoutClaimedEventFilter` | -| `RewardPayoutClaimed(uint256,address,uint256,uint256)` | (`rewardPayoutId?`: ``null``, `user?`: ``null``, `fee?`: ``null``, `rewardRemainder?`: ``null``) => `RewardPayoutClaimedEventFilter` | -| `RewardPayoutCycleEnded` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleEndedEventFilter` | -| `RewardPayoutCycleEnded(address,uint256)` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleEndedEventFilter` | -| `RewardPayoutCycleStarted` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleStartedEventFilter` | -| `RewardPayoutCycleStarted(address,uint256)` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleStartedEventFilter` | -| `TaskAdded` | (`agent?`: ``null``, `taskId?`: ``null``) => `TaskAddedEventFilter` | -| `TaskAdded(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null``) => `TaskAddedEventFilter` | -| `TaskBriefSet` | (`taskId?`: ``null`` \| `BigNumberish`, `specificationHash?`: ``null``) => `TaskBriefSetEventFilter` | -| `TaskBriefSet(uint256,bytes32)` | (`taskId?`: ``null`` \| `BigNumberish`, `specificationHash?`: ``null``) => `TaskBriefSetEventFilter` | -| `TaskCanceled` | (`taskId?`: ``null`` \| `BigNumberish`) => `TaskCanceledEventFilter` | -| `TaskCanceled(uint256)` | (`taskId?`: ``null`` \| `BigNumberish`) => `TaskCanceledEventFilter` | -| `TaskChangedViaSignatures` | (`reviewerAddresses?`: ``null``) => `TaskChangedViaSignaturesEventFilter` | -| `TaskChangedViaSignatures(address[])` | (`reviewerAddresses?`: ``null``) => `TaskChangedViaSignaturesEventFilter` | -| `TaskCompleted` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskCompletedEventFilter` | -| `TaskCompleted(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskCompletedEventFilter` | -| `TaskDeliverableSubmitted` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `deliverableHash?`: ``null``) => `TaskDeliverableSubmittedEventFilter` | -| `TaskDeliverableSubmitted(address,uint256,bytes32)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `deliverableHash?`: ``null``) => `TaskDeliverableSubmittedEventFilter` | -| `TaskDueDateSet` | (`taskId?`: ``null`` \| `BigNumberish`, `dueDate?`: ``null``) => `TaskDueDateSetEventFilter` | -| `TaskDueDateSet(uint256,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `dueDate?`: ``null``) => `TaskDueDateSetEventFilter` | -| `TaskFinalized` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskFinalizedEventFilter` | -| `TaskFinalized(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskFinalizedEventFilter` | -| `TaskPayoutSet` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TaskPayoutSetEventFilter` | -| `TaskPayoutSet(uint256,uint8,address,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TaskPayoutSetEventFilter` | -| `TaskRoleUserSet` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `user?`: ``null`` \| `string`) => `TaskRoleUserSetEventFilter` | -| `TaskRoleUserSet(uint256,uint8,address)` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `user?`: ``null`` \| `string`) => `TaskRoleUserSetEventFilter` | -| `TaskSkillSet` | (`taskId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `TaskSkillSetEventFilter` | -| `TaskSkillSet(uint256,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `TaskSkillSetEventFilter` | -| `TaskWorkRatingRevealed` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `rating?`: ``null``) => `TaskWorkRatingRevealedEventFilter` | -| `TaskWorkRatingRevealed(address,uint256,uint8,uint8)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `rating?`: ``null``) => `TaskWorkRatingRevealedEventFilter` | -| `TokenUnlocked` | (`agent?`: ``null``) => `TokenUnlockedEventFilter` | -| `TokenUnlocked(address)` | (`agent?`: ``null``) => `TokenUnlockedEventFilter` | -| `TokensBurned` | (`agent?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TokensBurnedEventFilter` | -| `TokensBurned(address,address,uint256)` | (`agent?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TokensBurnedEventFilter` | -| `TokensMinted` | (`agent?`: ``null``, `who?`: ``null``, `amount?`: ``null``) => `TokensMintedEventFilter` | -| `TokensMinted(address,address,uint256)` | (`agent?`: ``null``, `who?`: ``null``, `amount?`: ``null``) => `TokensMintedEventFilter` | - -#### Inherited from - -AugmentedIColony.filters - -___ - -### interface - -• **interface**: `IColonyInterface` - -#### Inherited from - -AugmentedIColony.interface - -___ - -### networkClient - -• **networkClient**: [`ColonyNetworkClient`](ColonyNetworkClient.md) - -An instance of the ColonyNetworkClient - -#### Inherited from - -AugmentedIColony.networkClient - -___ - -### off - -• **off**: `OnEvent`<[`ColonyClientV12`](ColonyClientV12.md)\> - -#### Inherited from - -AugmentedIColony.off - -___ - -### on - -• **on**: `OnEvent`<[`ColonyClientV12`](ColonyClientV12.md)\> - -#### Inherited from - -AugmentedIColony.on - -___ - -### once - -• **once**: `OnEvent`<[`ColonyClientV12`](ColonyClientV12.md)\> - -#### Inherited from - -AugmentedIColony.once - -___ - -### provider - -• `Readonly` **provider**: `Provider` - -#### Inherited from - -AugmentedIColony.provider - -___ - -### removeListener - -• **removeListener**: `OnEvent`<[`ColonyClientV12`](ColonyClientV12.md)\> - -#### Inherited from - -AugmentedIColony.removeListener - -___ - -### reputationClient - -• **reputationClient**: [`ReputationClient`](../classes/ReputationClient.md) - -A helper client to retrieve reputation - -#### Inherited from - -AugmentedIColony.reputationClient - -___ - -### resolvedAddress - -• `Readonly` **resolvedAddress**: `Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.resolvedAddress - -___ - -### signer - -• `Readonly` **signer**: `Signer` - -#### Inherited from - -AugmentedIColony.signer - -___ - -### tokenClient - -• **tokenClient**: [`TokenClient`](../README.md#tokenclient) - -An instance of the TokenClient for the Colony's native token - -#### Inherited from - -AugmentedIColony.tokenClient - -## Methods - -### \_checkRunningEvents - -▸ **_checkRunningEvents**(`runningEvent`): `void` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `runningEvent` | `RunningEvent` | - -#### Returns - -`void` - -#### Inherited from - -AugmentedIColony.\_checkRunningEvents - -___ - -### \_deployed - -▸ **_deployed**(`blockTag?`): `Promise`<`Contract`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `blockTag?` | `BlockTag` | - -#### Returns - -`Promise`<`Contract`\> - -#### Inherited from - -AugmentedIColony.\_deployed - -___ - -### \_wrapEvent - -▸ **_wrapEvent**(`runningEvent`, `log`, `listener`): `Event` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `runningEvent` | `RunningEvent` | -| `log` | `Log` | -| `listener` | `Listener` | - -#### Returns - -`Event` - -#### Inherited from - -AugmentedIColony.\_wrapEvent - -___ - -### addDomain(uint256,uint256,uint256) - -▸ **addDomain(uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_parentDomainId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Adding new domains is currently retricted to one level only, i.e. `_parentDomainId` has to be the root domain id: `1`. -Add a colony domain, and its respective local skill under skill with id `_parentSkillId`. New funding pot is created and associated with the domain here. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_parentDomainId` | `BigNumberish` | Id of the domain under which the new one will be added | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.addDomain(uint256,uint256,uint256) - -___ - -### addDomain(uint256,uint256,uint256,string) - -▸ **addDomain(uint256,uint256,uint256,string)**(`_permissionDomainId`, `_childSkillIndex`, `_parentDomainId`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Adding new domains is currently retricted to one level only, i.e. `_parentDomainId` has to be the root domain id: `1`.We expect this function to only be used by the dapp -Add a colony domain, and its respective local skill under skill with id `_parentSkillId`. New funding pot is created and associated with the domain here. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_parentDomainId` | `BigNumberish` | Id of the domain under which the new one will be added | -| `_metadata` | `string` | Metadata relating to the domain. Expected to be the IPFS hash of a JSON blob, but not enforced by the contracts. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.addDomain(uint256,uint256,uint256,string) - -___ - -### addDomainWithProofs(uint256) - -▸ **addDomainWithProofs(uint256)**(`_parentDomainId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [addDomain(uint256,uint256,uint256)](ColonyClientV12.md#adddomain(uint256,uint256,uint256)), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_parentDomainId` | `BigNumberish` | Id of the domain under which the new one will be added | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AddDomainAugmentsB.addDomainWithProofs(uint256) - -___ - -### addDomainWithProofs(uint256,string) - -▸ **addDomainWithProofs(uint256,string)**(`_parentDomainId`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [addDomain(uint256,uint256,uint256,string)](ColonyClientV12.md#adddomain(uint256,uint256,uint256,string)), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_parentDomainId` | `BigNumberish` | Id of the domain under which the new one will be added | -| `_metadata` | `string` | Metadata relating to the domain. Expected to be the IPFS hash of a JSON blob, but not enforced by the contracts. | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AddDomainAugmentsB.addDomainWithProofs(uint256,string) - -___ - -### addLocalSkill - -▸ **addLocalSkill**(`overrides?`): `Promise`<`ContractTransaction`\> - -Add a new local skill for the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.addLocalSkill - -___ - -### addLocalSkill() - -▸ **addLocalSkill()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Add a new local skill for the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.addLocalSkill() - -___ - -### addPayment - -▸ **addPayment**(`_permissionDomainId`, `_childSkillIndex`, `_recipient`, `_token`, `_amount`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Add a new payment in the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_recipient` | `string` | Address of the payment recipient | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `_domainId` | `BigNumberish` | The domain where the payment belongs | -| `_skillId` | `BigNumberish` | The skill associated with the payment | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.addPayment - -___ - -### addPayment(uint256,uint256,address,address,uint256,uint256,uint256) - -▸ **addPayment(uint256,uint256,address,address,uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_recipient`, `_token`, `_amount`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Add a new payment in the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_recipient` | `string` | Address of the payment recipient | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `_domainId` | `BigNumberish` | The domain where the payment belongs | -| `_skillId` | `BigNumberish` | The skill associated with the payment | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.addPayment(uint256,uint256,address,address,uint256,uint256,uint256) - -___ - -### annotateTransaction - -▸ **annotateTransaction**(`_txHash`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a metadata string for a transaction - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_txHash` | `BytesLike` | Hash of transaction being annotated (0x0 for current tx) | -| `_metadata` | `string` | String of metadata for tx | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.annotateTransaction - -___ - -### annotateTransaction(bytes32,string) - -▸ **annotateTransaction(bytes32,string)**(`_txHash`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a metadata string for a transaction - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_txHash` | `BytesLike` | Hash of transaction being annotated (0x0 for current tx) | -| `_metadata` | `string` | String of metadata for tx | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.annotateTransaction(bytes32,string) - -___ - -### approveExitRecovery - -▸ **approveExitRecovery**(`overrides?`): `Promise`<`ContractTransaction`\> - -Indicate approval to exit recovery mode. Can only be called by user with recovery role. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.approveExitRecovery - -___ - -### approveExitRecovery() - -▸ **approveExitRecovery()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Indicate approval to exit recovery mode. Can only be called by user with recovery role. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.approveExitRecovery() - -___ - -### approveStake - -▸ **approveStake**(`_approvee`, `_domainId`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Allow the _approvee to obligate some amount of tokens as a stake. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_approvee` | `string` | Address of the account we are willing to let obligate us. | -| `_domainId` | `BigNumberish` | Domain in which we are willing to be obligated. | -| `_amount` | `BigNumberish` | Amount of internal token up to which we are willing to be obligated. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.approveStake - -___ - -### approveStake(address,uint256,uint256) - -▸ **approveStake(address,uint256,uint256)**(`_approvee`, `_domainId`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Allow the _approvee to obligate some amount of tokens as a stake. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_approvee` | `string` | Address of the account we are willing to let obligate us. | -| `_domainId` | `BigNumberish` | Domain in which we are willing to be obligated. | -| `_amount` | `BigNumberish` | Amount of internal token up to which we are willing to be obligated. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.approveStake(address,uint256,uint256) - -___ - -### attach - -▸ **attach**(`addressOrName`): [`ColonyClientV12`](ColonyClientV12.md) - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `addressOrName` | `string` | - -#### Returns - -[`ColonyClientV12`](ColonyClientV12.md) - -#### Inherited from - -AugmentedIColony.attach - -___ - -### authority - -▸ **authority**(`overrides?`): `Promise`<`string`\> - -Get the `ColonyAuthority` for the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.authority - -___ - -### authority() - -▸ **authority()**(`overrides?`): `Promise`<`string`\> - -Get the `ColonyAuthority` for the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.authority() - -___ - -### bootstrapColony - -▸ **bootstrapColony**(`_users`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Only allowed to be called when `taskCount` is `0` by authorized addresses. -Allows the colony to bootstrap itself by having initial reputation and token `_amount` assigned to `_users`. This reputation is assigned in the colony-wide domain. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_users` | `string`[] | Array of address to bootstrap with reputation | -| `_amount` | `BigNumberish`[] | Amount of reputation/tokens for every address | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.bootstrapColony - -___ - -### bootstrapColony(address[],int256[]) - -▸ **bootstrapColony(address[],int256[])**(`_users`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Only allowed to be called when `taskCount` is `0` by authorized addresses. -Allows the colony to bootstrap itself by having initial reputation and token `_amount` assigned to `_users`. This reputation is assigned in the colony-wide domain. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_users` | `string`[] | Array of address to bootstrap with reputation | -| `_amount` | `BigNumberish`[] | Amount of reputation/tokens for every address | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.bootstrapColony(address[],int256[]) - -___ - -### burnTokens - -▸ **burnTokens**(`token`, `amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Burn tokens held by the colony. Can only burn tokens held in the root funding pot. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token to burn | -| `amount` | `BigNumberish` | The amount of tokens to burn | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.burnTokens - -___ - -### burnTokens(address,uint256) - -▸ **burnTokens(address,uint256)**(`token`, `amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Burn tokens held by the colony. Can only burn tokens held in the root funding pot. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token to burn | -| `amount` | `BigNumberish` | The amount of tokens to burn | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.burnTokens(address,uint256) - -___ - -### cancelExpenditure - -▸ **cancelExpenditure**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Cancels the expenditure and prevents further editing. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.cancelExpenditure - -___ - -### cancelExpenditure(uint256) - -▸ **cancelExpenditure(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Cancels the expenditure and prevents further editing. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.cancelExpenditure(uint256) - -___ - -### cancelTask - -▸ **cancelTask**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the `task.status` property to `1`. -Cancel a task at any point before it is finalized. Secured function to authorised members. Any funds assigned to its funding pot can be moved back to the domain via `IColony.moveFundsBetweenPots`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.cancelTask - -___ - -### cancelTask(uint256) - -▸ **cancelTask(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the `task.status` property to `1`. -Cancel a task at any point before it is finalized. Secured function to authorised members. Any funds assigned to its funding pot can be moved back to the domain via `IColony.moveFundsBetweenPots`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.cancelTask(uint256) - -___ - -### checkNotAdditionalProtectedVariable - -▸ **checkNotAdditionalProtectedVariable**(`_slot`, `overrides?`): `Promise`<`void`\> - -No return value, but should throw if protected.This is external, but is only expected to be called from ContractRecovery; no need toexpose this to any users. -Check whether the supplied slot is a protected variable specific to this contract - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_slot` | `BigNumberish` | The storage slot number to check. | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`void`\> - -#### Inherited from - -AugmentedIColony.checkNotAdditionalProtectedVariable - -___ - -### checkNotAdditionalProtectedVariable(uint256) - -▸ **checkNotAdditionalProtectedVariable(uint256)**(`_slot`, `overrides?`): `Promise`<`void`\> - -No return value, but should throw if protected.This is external, but is only expected to be called from ContractRecovery; no need toexpose this to any users. -Check whether the supplied slot is a protected variable specific to this contract - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_slot` | `BigNumberish` | The storage slot number to check. | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`void`\> - -#### Inherited from - -AugmentedIColony.checkNotAdditionalProtectedVariable(uint256) - -___ - -### claimColonyFunds - -▸ **claimColonyFunds**(`_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Move any funds received by the colony in `_token` denomination to the top-level domain pot, siphoning off a small amount to the reward pot. If called against a colony's own token, no fee is taken. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimColonyFunds - -___ - -### claimColonyFunds(address) - -▸ **claimColonyFunds(address)**(`_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Move any funds received by the colony in `_token` denomination to the top-level domain pot, siphoning off a small amount to the reward pot. If called against a colony's own token, no fee is taken. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimColonyFunds(address) - -___ - -### claimExpenditurePayout - -▸ **claimExpenditurePayout**(`_id`, `_slot`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the payout for an expenditure slot. Here the network receives a fee from each payout. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Number of the slot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimExpenditurePayout - -___ - -### claimExpenditurePayout(uint256,uint256,address) - -▸ **claimExpenditurePayout(uint256,uint256,address)**(`_id`, `_slot`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the payout for an expenditure slot. Here the network receives a fee from each payout. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Number of the slot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimExpenditurePayout(uint256,uint256,address) - -___ - -### claimPayment - -▸ **claimPayment**(`_id`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the payout in `_token` denomination for payment `_id`. Here the network receives its fee from each payout. Same as for tasks, ether fees go straight to the Meta Colony whereas Token fees go to the Network to be auctioned off. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimPayment - -___ - -### claimPayment(uint256,address) - -▸ **claimPayment(uint256,address)**(`_id`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the payout in `_token` denomination for payment `_id`. Here the network receives its fee from each payout. Same as for tasks, ether fees go straight to the Meta Colony whereas Token fees go to the Network to be auctioned off. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimPayment(uint256,address) - -___ - -### claimRewardPayout - -▸ **claimRewardPayout**(`_payoutId`, `_squareRoots`, `key`, `value`, `branchMask`, `siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the reward payout at `_payoutId`. User needs to provide their reputation and colony-wide reputation which will be proven via Merkle proof inside this function. Can only be called if payout is active, i.e if 60 days have not passed from its creation. Can only be called if next in queue. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_payoutId` | `BigNumberish` | Id of the reward payout | -| `_squareRoots` | `BigNumberish`[] | Square roots of values used in equation: `_squareRoots[0]` - square root of user reputation, `_squareRoots[1]` - square root of user tokens (deposited in TokenLocking), `_squareRoots[2]` - square root of total reputation, `_squareRoots[3]` - square root of total tokens, `_squareRoots[4]` - square root of numerator (user reputation * user tokens), `_squareRoots[5]` - square root of denominator (total reputation * total tokens), `_squareRoots[6]` - square root of payout amount. | -| `key` | `BytesLike` | Some Reputation hash tree key | -| `value` | `BytesLike` | Reputation value | -| `branchMask` | `BigNumberish` | The branchmask of the proof | -| `siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimRewardPayout - -___ - -### claimRewardPayout(uint256,uint256[7],bytes,bytes,uint256,bytes32[]) - -▸ **claimRewardPayout(uint256,uint256[7],bytes,bytes,uint256,bytes32[])**(`_payoutId`, `_squareRoots`, `key`, `value`, `branchMask`, `siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the reward payout at `_payoutId`. User needs to provide their reputation and colony-wide reputation which will be proven via Merkle proof inside this function. Can only be called if payout is active, i.e if 60 days have not passed from its creation. Can only be called if next in queue. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_payoutId` | `BigNumberish` | Id of the reward payout | -| `_squareRoots` | `BigNumberish`[] | Square roots of values used in equation: `_squareRoots[0]` - square root of user reputation, `_squareRoots[1]` - square root of user tokens (deposited in TokenLocking), `_squareRoots[2]` - square root of total reputation, `_squareRoots[3]` - square root of total tokens, `_squareRoots[4]` - square root of numerator (user reputation * user tokens), `_squareRoots[5]` - square root of denominator (total reputation * total tokens), `_squareRoots[6]` - square root of payout amount. | -| `key` | `BytesLike` | Some Reputation hash tree key | -| `value` | `BytesLike` | Reputation value | -| `branchMask` | `BigNumberish` | The branchmask of the proof | -| `siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimRewardPayout(uint256,uint256[7],bytes,bytes,uint256,bytes32[]) - -___ - -### claimTaskPayout - -▸ **claimTaskPayout**(`_id`, `_role`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the payout in `_token` denomination for work completed in task `_id` by contributor with role `_role`. Allowed only after task is finalized. Here the network receives its fee from each payout. Ether fees go straight to the Meta Colony whereas Token fees go to the Network to be auctioned off. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimTaskPayout - -___ - -### claimTaskPayout(uint256,uint8,address) - -▸ **claimTaskPayout(uint256,uint8,address)**(`_id`, `_role`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Claim the payout in `_token` denomination for work completed in task `_id` by contributor with role `_role`. Allowed only after task is finalized. Here the network receives its fee from each payout. Ether fees go straight to the Meta Colony whereas Token fees go to the Network to be auctioned off. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.claimTaskPayout(uint256,uint8,address) - -___ - -### completeTask - -▸ **completeTask**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Mark a task as complete after the due date has passed. This allows the task to be rated and finalized (and funds recovered) even in the presence of a worker who has disappeared. Note that if the due date was not set, then this function will throw. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.completeTask - -___ - -### completeTask(uint256) - -▸ **completeTask(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Mark a task as complete after the due date has passed. This allows the task to be rated and finalized (and funds recovered) even in the presence of a worker who has disappeared. Note that if the due date was not set, then this function will throw. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.completeTask(uint256) - -___ - -### connect - -▸ **connect**(`signerOrProvider`): [`ColonyClientV12`](ColonyClientV12.md) - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `signerOrProvider` | `string` \| `Signer` \| `Provider` | - -#### Returns - -[`ColonyClientV12`](ColonyClientV12.md) - -#### Inherited from - -AugmentedIColony.connect - -___ - -### deobligateStake - -▸ **deobligateStake**(`_user`, `_domainId`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Deobligate the user some amount of tokens, releasing the stake. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of the account we are deobligating. | -| `_domainId` | `BigNumberish` | Domain in which we are deobligating the user. | -| `_amount` | `BigNumberish` | Amount of internal token we are deobligating. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deobligateStake - -___ - -### deobligateStake(address,uint256,uint256) - -▸ **deobligateStake(address,uint256,uint256)**(`_user`, `_domainId`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Deobligate the user some amount of tokens, releasing the stake. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of the account we are deobligating. | -| `_domainId` | `BigNumberish` | Domain in which we are deobligating the user. | -| `_amount` | `BigNumberish` | Amount of internal token we are deobligating. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deobligateStake(address,uint256,uint256) - -___ - -### deployed - -▸ **deployed**(): `Promise`<[`ColonyClientV12`](ColonyClientV12.md)\> - -#### Returns - -`Promise`<[`ColonyClientV12`](ColonyClientV12.md)\> - -#### Inherited from - -AugmentedIColony.deployed - -___ - -### deprecateDomain - -▸ **deprecateDomain**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Deprecate a domain, preventing certain actions from happening there - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_domainId` | `BigNumberish` | Id of the domain being deprecated | -| `_deprecated` | `boolean` | Whether or not the domain is deprecated | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deprecateDomain - -___ - -### deprecateDomain(uint256,uint256,uint256,bool) - -▸ **deprecateDomain(uint256,uint256,uint256,bool)**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Deprecate a domain, preventing certain actions from happening there - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_domainId` | `BigNumberish` | Id of the domain being deprecated | -| `_deprecated` | `boolean` | Whether or not the domain is deprecated | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deprecateDomain(uint256,uint256,uint256,bool) - -___ - -### deprecateDomainWithProofs - -▸ **deprecateDomainWithProofs**(`_domainId`, `_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [deprecateDomain](ColonyClientV12.md#deprecatedomain), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | Id of the domain being deprecated | -| `_deprecated` | `boolean` | Whether the domain should be deprecated (true) or undeprecated (false) | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV6.deprecateDomainWithProofs - -___ - -### deprecateExtension - -▸ **deprecateExtension**(`extensionId`, `deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the deprecation of an extension in a colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `deprecated` | `boolean` | Whether to deprecate the extension or not | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deprecateExtension - -___ - -### deprecateExtension(bytes32,bool) - -▸ **deprecateExtension(bytes32,bool)**(`extensionId`, `deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the deprecation of an extension in a colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `deprecated` | `boolean` | Whether to deprecate the extension or not | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deprecateExtension(bytes32,bool) - -___ - -### deprecateLocalSkill - -▸ **deprecateLocalSkill**(`localSkillId`, `deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Deprecate a local skill for the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `localSkillId` | `BigNumberish` | Id for the local skill | -| `deprecated` | `boolean` | Deprecation status to set for the skill | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deprecateLocalSkill - -___ - -### deprecateLocalSkill(uint256,bool) - -▸ **deprecateLocalSkill(uint256,bool)**(`localSkillId`, `deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> - -Deprecate a local skill for the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `localSkillId` | `BigNumberish` | Id for the local skill | -| `deprecated` | `boolean` | Deprecation status to set for the skill | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.deprecateLocalSkill(uint256,bool) - -___ - -### editColony - -▸ **editColony**(`_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Called to change the metadata associated with a colony. Expected to be a IPFS hash of a JSON blob, but not enforced to any degree by the contracts - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_metadata` | `string` | IPFS hash of the metadata | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.editColony - -___ - -### editColony(string) - -▸ **editColony(string)**(`_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Called to change the metadata associated with a colony. Expected to be a IPFS hash of a JSON blob, but not enforced to any degree by the contracts - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_metadata` | `string` | IPFS hash of the metadata | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.editColony(string) - -___ - -### editColonyByDelta - -▸ **editColonyByDelta**(`_metadataDelta`, `overrides?`): `Promise`<`ContractTransaction`\> - -Called to change the metadata associated with a colony. Expected to be a IPFS hash of a delta to a JSON blob, but not enforced to any degree by the contracts - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_metadataDelta` | `string` | IPFS hash of the metadata delta | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.editColonyByDelta - -___ - -### editColonyByDelta(string) - -▸ **editColonyByDelta(string)**(`_metadataDelta`, `overrides?`): `Promise`<`ContractTransaction`\> - -Called to change the metadata associated with a colony. Expected to be a IPFS hash of a delta to a JSON blob, but not enforced to any degree by the contracts - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_metadataDelta` | `string` | IPFS hash of the metadata delta | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.editColonyByDelta(string) - -___ - -### editDomain - -▸ **editDomain**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Add a colony domain, and its respective local skill under skill with id `_parentSkillId`. New funding pot is created and associated with the domain here. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_domainId` | `BigNumberish` | Id of the domain being edited | -| `_metadata` | `string` | Metadata relating to the domain. Expected to be the IPFS hash of a JSON blob, but not enforced by the contracts. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.editDomain - -___ - -### editDomain(uint256,uint256,uint256,string) - -▸ **editDomain(uint256,uint256,uint256,string)**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Add a colony domain, and its respective local skill under skill with id `_parentSkillId`. New funding pot is created and associated with the domain here. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_domainId` | `BigNumberish` | Id of the domain being edited | -| `_metadata` | `string` | Metadata relating to the domain. Expected to be the IPFS hash of a JSON blob, but not enforced by the contracts. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.editDomain(uint256,uint256,uint256,string) - -___ - -### editDomainWithProofs - -▸ **editDomainWithProofs**(`_domainId`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [editDomain](ColonyClientV12.md#editdomain), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | Id of the domain being edited | -| `_metadata` | `string` | Metadata relating to the domain. Expected to be the IPFS hash of a JSON blob, but not enforced by the contracts. | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.editDomainWithProofs - -___ - -### emit - -▸ **emit**(`eventName`, `...args`): `boolean` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `eventName` | `string` \| `EventFilter` | -| `...args` | `any`[] | - -#### Returns - -`boolean` - -#### Inherited from - -AugmentedIColony.emit - -___ - -### emitDomainReputationPenalty - -▸ **emitDomainReputationPenalty**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a negative domain reputation update. Available only to Arbitration role holders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I hold the Arbitration role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_domainId` | `BigNumberish` | The domain where the user will lose reputation | -| `_user` | `string` | The user who will lose reputation | -| `_amount` | `BigNumberish` | The (negative) amount of reputation to lose | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitDomainReputationPenalty - -___ - -### emitDomainReputationPenalty(uint256,uint256,uint256,address,int256) - -▸ **emitDomainReputationPenalty(uint256,uint256,uint256,address,int256)**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a negative domain reputation update. Available only to Arbitration role holders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I hold the Arbitration role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_domainId` | `BigNumberish` | The domain where the user will lose reputation | -| `_user` | `string` | The user who will lose reputation | -| `_amount` | `BigNumberish` | The (negative) amount of reputation to lose | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitDomainReputationPenalty(uint256,uint256,uint256,address,int256) - -___ - -### emitDomainReputationPenaltyWithProofs - -▸ **emitDomainReputationPenaltyWithProofs**(`_domainId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [emitDomainReputationPenalty](ColonyClientV12.md#emitdomainreputationpenalty), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where the user will lose reputation | -| `_user` | `string` | The user who will lose reputation | -| `_amount` | `BigNumberish` | The (negative) amount of reputation to lose | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.emitDomainReputationPenaltyWithProofs - -___ - -### emitDomainReputationReward - -▸ **emitDomainReputationReward**(`_domainId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a positive domain reputation update. Available only to Root role holders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where the user will gain reputation | -| `_user` | `string` | The user who will gain reputation | -| `_amount` | `BigNumberish` | The (positive) amount of reputation to gain | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitDomainReputationReward - -___ - -### emitDomainReputationReward(uint256,address,int256) - -▸ **emitDomainReputationReward(uint256,address,int256)**(`_domainId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a positive domain reputation update. Available only to Root role holders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where the user will gain reputation | -| `_user` | `string` | The user who will gain reputation | -| `_amount` | `BigNumberish` | The (positive) amount of reputation to gain | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitDomainReputationReward(uint256,address,int256) - -___ - -### emitSkillReputationPenalty - -▸ **emitSkillReputationPenalty**(`_skillId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a negative skill reputation update. Available only to Arbitration role holders in the root domain - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_skillId` | `BigNumberish` | The skill where the user will lose reputation | -| `_user` | `string` | The user who will lose reputation | -| `_amount` | `BigNumberish` | The (negative) amount of reputation to lose | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitSkillReputationPenalty - -___ - -### emitSkillReputationPenalty(uint256,address,int256) - -▸ **emitSkillReputationPenalty(uint256,address,int256)**(`_skillId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a negative skill reputation update. Available only to Arbitration role holders in the root domain - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_skillId` | `BigNumberish` | The skill where the user will lose reputation | -| `_user` | `string` | The user who will lose reputation | -| `_amount` | `BigNumberish` | The (negative) amount of reputation to lose | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitSkillReputationPenalty(uint256,address,int256) - -___ - -### emitSkillReputationReward - -▸ **emitSkillReputationReward**(`_skillId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a positive skill reputation update. Available only to Root role holders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_skillId` | `BigNumberish` | The skill where the user will gain reputation | -| `_user` | `string` | The user who will gain reputation | -| `_amount` | `BigNumberish` | The (positive) amount of reputation to gain | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitSkillReputationReward - -___ - -### emitSkillReputationReward(uint256,address,int256) - -▸ **emitSkillReputationReward(uint256,address,int256)**(`_skillId`, `_user`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Emit a positive skill reputation update. Available only to Root role holders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_skillId` | `BigNumberish` | The skill where the user will gain reputation | -| `_user` | `string` | The user who will gain reputation | -| `_amount` | `BigNumberish` | The (positive) amount of reputation to gain | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.emitSkillReputationReward(uint256,address,int256) - -___ - -### enterRecoveryMode - -▸ **enterRecoveryMode**(`overrides?`): `Promise`<`ContractTransaction`\> - -Put colony network mining into recovery mode. Can only be called by user with recovery role. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.enterRecoveryMode - -___ - -### enterRecoveryMode() - -▸ **enterRecoveryMode()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Put colony network mining into recovery mode. Can only be called by user with recovery role. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.enterRecoveryMode() - -___ - -### executeMetaTransaction - -▸ **executeMetaTransaction**(`userAddress`, `payload`, `sigR`, `sigS`, `sigV`, `overrides?`): `Promise`<`ContractTransaction`\> - -Executes a metatransaction targeting this contract - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that signed the metatransaction | -| `payload` | `BytesLike` | The transaction data that will be executed if signature valid | -| `sigR` | `BytesLike` | The 'r' part of the signature | -| `sigS` | `BytesLike` | The 's' part of the signature | -| `sigV` | `BigNumberish` | The 'v' part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.executeMetaTransaction - -___ - -### executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) - -▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`userAddress`, `payload`, `sigR`, `sigS`, `sigV`, `overrides?`): `Promise`<`ContractTransaction`\> - -Executes a metatransaction targeting this contract - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that signed the metatransaction | -| `payload` | `BytesLike` | The transaction data that will be executed if signature valid | -| `sigR` | `BytesLike` | The 'r' part of the signature | -| `sigS` | `BytesLike` | The 's' part of the signature | -| `sigV` | `BigNumberish` | The 'v' part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) - -___ - -### executeTaskChange - -▸ **executeTaskChange**(`_sigV`, `_sigR`, `_sigS`, `_mode`, `_value`, `_data`, `overrides?`): `Promise`<`ContractTransaction`\> - -The Colony functions which require approval and the task roles to review these are set in `IColony.initialiseColony` at colony creation. Upon successful execution the `taskChangeNonces` entry for the task is incremented. -Executes a task update transaction `_data` which is approved and signed by two of its roles (e.g. manager and worker) using the detached signatures for these users. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sigV` | `BigNumberish`[] | recovery id | -| `_sigR` | `BytesLike`[] | r output of the ECDSA signature of the transaction | -| `_sigS` | `BytesLike`[] | s output of the ECDSA signature of the transaction | -| `_mode` | `BigNumberish`[] | How the signature was generated - 0 for Geth-style (usual), 1 for Trezor-style (only Trezor does this) | -| `_value` | `BigNumberish` | The transaction value, i.e. number of wei to be sent when the transaction is executed Currently we only accept 0 value transactions but this is kept as a future option | -| `_data` | `BytesLike` | The transaction data | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.executeTaskChange - -___ - -### executeTaskChange(uint8[],bytes32[],bytes32[],uint8[],uint256,bytes) - -▸ **executeTaskChange(uint8[],bytes32[],bytes32[],uint8[],uint256,bytes)**(`_sigV`, `_sigR`, `_sigS`, `_mode`, `_value`, `_data`, `overrides?`): `Promise`<`ContractTransaction`\> - -The Colony functions which require approval and the task roles to review these are set in `IColony.initialiseColony` at colony creation. Upon successful execution the `taskChangeNonces` entry for the task is incremented. -Executes a task update transaction `_data` which is approved and signed by two of its roles (e.g. manager and worker) using the detached signatures for these users. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sigV` | `BigNumberish`[] | recovery id | -| `_sigR` | `BytesLike`[] | r output of the ECDSA signature of the transaction | -| `_sigS` | `BytesLike`[] | s output of the ECDSA signature of the transaction | -| `_mode` | `BigNumberish`[] | How the signature was generated - 0 for Geth-style (usual), 1 for Trezor-style (only Trezor does this) | -| `_value` | `BigNumberish` | The transaction value, i.e. number of wei to be sent when the transaction is executed Currently we only accept 0 value transactions but this is kept as a future option | -| `_data` | `BytesLike` | The transaction data | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.executeTaskChange(uint8[],bytes32[],bytes32[],uint8[],uint256,bytes) - -___ - -### executeTaskRoleAssignment - -▸ **executeTaskRoleAssignment**(`_sigV`, `_sigR`, `_sigS`, `_mode`, `_value`, `_data`, `overrides?`): `Promise`<`ContractTransaction`\> - -Executes a task role update transaction `_data` which is approved and signed by two of addresses. depending of which function we are calling. Allowed functions are `setTaskManagerRole`, `setTaskEvaluatorRole` and `setTaskWorkerRole`. Upon successful execution the `taskChangeNonces` entry for the task is incremented. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sigV` | `BigNumberish`[] | recovery id | -| `_sigR` | `BytesLike`[] | r output of the ECDSA signature of the transaction | -| `_sigS` | `BytesLike`[] | s output of the ECDSA signature of the transaction | -| `_mode` | `BigNumberish`[] | How the signature was generated - 0 for Geth-style (usual), 1 for Trezor-style (only Trezor does this) | -| `_value` | `BigNumberish` | The transaction value, i.e. number of wei to be sent when the transaction is executed Currently we only accept 0 value transactions but this is kept as a future option | -| `_data` | `BytesLike` | The transaction data | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.executeTaskRoleAssignment - -___ - -### executeTaskRoleAssignment(uint8[],bytes32[],bytes32[],uint8[],uint256,bytes) - -▸ **executeTaskRoleAssignment(uint8[],bytes32[],bytes32[],uint8[],uint256,bytes)**(`_sigV`, `_sigR`, `_sigS`, `_mode`, `_value`, `_data`, `overrides?`): `Promise`<`ContractTransaction`\> - -Executes a task role update transaction `_data` which is approved and signed by two of addresses. depending of which function we are calling. Allowed functions are `setTaskManagerRole`, `setTaskEvaluatorRole` and `setTaskWorkerRole`. Upon successful execution the `taskChangeNonces` entry for the task is incremented. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sigV` | `BigNumberish`[] | recovery id | -| `_sigR` | `BytesLike`[] | r output of the ECDSA signature of the transaction | -| `_sigS` | `BytesLike`[] | s output of the ECDSA signature of the transaction | -| `_mode` | `BigNumberish`[] | How the signature was generated - 0 for Geth-style (usual), 1 for Trezor-style (only Trezor does this) | -| `_value` | `BigNumberish` | The transaction value, i.e. number of wei to be sent when the transaction is executed Currently we only accept 0 value transactions but this is kept as a future option | -| `_data` | `BytesLike` | The transaction data | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.executeTaskRoleAssignment(uint8[],bytes32[],bytes32[],uint8[],uint256,bytes) - -___ - -### exitRecoveryMode - -▸ **exitRecoveryMode**(`overrides?`): `Promise`<`ContractTransaction`\> - -Exit recovery mode, can be called by anyone if enough whitelist approvals are given. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.exitRecoveryMode - -___ - -### exitRecoveryMode() - -▸ **exitRecoveryMode()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Exit recovery mode, can be called by anyone if enough whitelist approvals are given. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.exitRecoveryMode() - -___ - -### fallback - -▸ **fallback**(`overrides?`): `Promise`<`TransactionResponse`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `TransactionRequest` | - -#### Returns - -`Promise`<`TransactionResponse`\> - -#### Inherited from - -AugmentedIColony.fallback - -___ - -### finalizeExpenditure - -▸ **finalizeExpenditure**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Finalizes the expenditure and allows for funds to be claimed. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizeExpenditure - -___ - -### finalizeExpenditure(uint256) - -▸ **finalizeExpenditure(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Finalizes the expenditure and allows for funds to be claimed. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizeExpenditure(uint256) - -___ - -### finalizePayment - -▸ **finalizePayment**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Finalizes the payment and logs the reputation log updates. Allowed to be called once after payment is fully funded. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizePayment - -___ - -### finalizePayment(uint256,uint256,uint256) - -▸ **finalizePayment(uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Finalizes the payment and logs the reputation log updates. Allowed to be called once after payment is fully funded. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizePayment(uint256,uint256,uint256) - -___ - -### finalizePaymentWithProofs - -▸ **finalizePaymentWithProofs**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [finalizePayment](ColonyClientV12.md#finalizepayment), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizePaymentWithProofs - -___ - -### finalizeRewardPayout - -▸ **finalizeRewardPayout**(`_payoutId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Finalises the reward payout. Allows creation of next reward payouts for token that has been used in `_payoutId`. Can only be called when reward payout cycle is finished i.e when 60 days have passed from its creation. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_payoutId` | `BigNumberish` | Id of the reward payout | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizeRewardPayout - -___ - -### finalizeRewardPayout(uint256) - -▸ **finalizeRewardPayout(uint256)**(`_payoutId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Finalises the reward payout. Allows creation of next reward payouts for token that has been used in `_payoutId`. Can only be called when reward payout cycle is finished i.e when 60 days have passed from its creation. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_payoutId` | `BigNumberish` | Id of the reward payout | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizeRewardPayout(uint256) - -___ - -### finalizeTask - -▸ **finalizeTask**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the `task.finalized` property to true -Called after task work rating is complete which closes the task and logs the respective reputation log updates. Allowed to be called once per task. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizeTask - -___ - -### finalizeTask(uint256) - -▸ **finalizeTask(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the `task.finalized` property to true -Called after task work rating is complete which closes the task and logs the respective reputation log updates. Allowed to be called once per task. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finalizeTask(uint256) - -___ - -### finishUpgrade - -▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called by the colony itself, and only expected to be called as part of the `upgrade()` call. Required to be external so it can be an external call. -A function to be called after an upgrade has been done from v2 to v3. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finishUpgrade - -___ - -### finishUpgrade() - -▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called by the colony itself, and only expected to be called as part of the `upgrade()` call. Required to be external so it can be an external call. -A function to be called after an upgrade has been done from v2 to v3. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.finishUpgrade() - -___ - -### generateSecret - -▸ **generateSecret**(`_salt`, `_value`, `overrides?`): `Promise`<`string`\> - -Helper function used to generage consistently the rating secret using salt value `_salt` and value to hide `_value` - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_salt` | `BytesLike` | Salt value | -| `_value` | `BigNumberish` | Value to hide | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.generateSecret - -___ - -### generateSecret(bytes32,uint256) - -▸ **generateSecret(bytes32,uint256)**(`_salt`, `_value`, `overrides?`): `Promise`<`string`\> - -Helper function used to generage consistently the rating secret using salt value `_salt` and value to hide `_value` - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_salt` | `BytesLike` | Salt value | -| `_value` | `BigNumberish` | Value to hide | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.generateSecret(bytes32,uint256) - -___ - -### getApproval - -▸ **getApproval**(`_user`, `_obligator`, `_domainId`, `overrides?`): `Promise`<`BigNumber`\> - -View an approval to obligate tokens. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User allowing their tokens to be obligated. | -| `_obligator` | `string` | Address of the account we are willing to let obligate us. | -| `_domainId` | `BigNumberish` | Domain in which we are willing to be obligated. | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getApproval - -___ - -### getApproval(address,address,uint256) - -▸ **getApproval(address,address,uint256)**(`_user`, `_obligator`, `_domainId`, `overrides?`): `Promise`<`BigNumber`\> - -View an approval to obligate tokens. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User allowing their tokens to be obligated. | -| `_obligator` | `string` | Address of the account we are willing to let obligate us. | -| `_domainId` | `BigNumberish` | Domain in which we are willing to be obligated. | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getApproval(address,address,uint256) - -___ - -### getCapabilityRoles - -▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> - -Gets the bytes32 representation of the roles authorized to call a function - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sig` | `BytesLike` | The function signature | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getCapabilityRoles - -___ - -### getCapabilityRoles(bytes4) - -▸ **getCapabilityRoles(bytes4)**(`_sig`, `overrides?`): `Promise`<`string`\> - -Gets the bytes32 representation of the roles authorized to call a function - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sig` | `BytesLike` | The function signature | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getCapabilityRoles(bytes4) - -___ - -### getColonyNetwork - -▸ **getColonyNetwork**(`overrides?`): `Promise`<`string`\> - -The colonyNetworkAddress we read here is set once, during `initialiseColony`. -Returns the colony network address set on the Colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getColonyNetwork - -___ - -### getColonyNetwork() - -▸ **getColonyNetwork()**(`overrides?`): `Promise`<`string`\> - -The colonyNetworkAddress we read here is set once, during `initialiseColony`. -Returns the colony network address set on the Colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getColonyNetwork() - -___ - -### getDomain - -▸ **getDomain**(`_id`, `overrides?`): `Promise`<`DomainStructOutput`\> - -Get a domain by id. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the domain which details to get | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`DomainStructOutput`\> - -#### Inherited from - -AugmentedIColony.getDomain - -___ - -### getDomain(uint256) - -▸ **getDomain(uint256)**(`_id`, `overrides?`): `Promise`<`DomainStructOutput`\> - -Get a domain by id. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the domain which details to get | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`DomainStructOutput`\> - -#### Inherited from - -AugmentedIColony.getDomain(uint256) - -___ - -### getDomainCount - -▸ **getDomainCount**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of domains in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getDomainCount - -___ - -### getDomainCount() - -▸ **getDomainCount()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of domains in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getDomainCount() - -___ - -### getDomainFromFundingPot - -▸ **getDomainFromFundingPot**(`_fundingPotId`, `overrides?`): `Promise`<`BigNumber`\> - -Get the domain corresponding to a funding pot - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_fundingPotId` | `BigNumberish` | Id of the funding pot | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getDomainFromFundingPot - -___ - -### getDomainFromFundingPot(uint256) - -▸ **getDomainFromFundingPot(uint256)**(`_fundingPotId`, `overrides?`): `Promise`<`BigNumber`\> - -Get the domain corresponding to a funding pot - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_fundingPotId` | `BigNumberish` | Id of the funding pot | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getDomainFromFundingPot(uint256) - -___ - -### getExpenditure - -▸ **getExpenditure**(`_id`, `overrides?`): `Promise`<`ExpenditureStructOutput`\> - -Returns an existing expenditure. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`ExpenditureStructOutput`\> - -#### Inherited from - -AugmentedIColony.getExpenditure - -___ - -### getExpenditure(uint256) - -▸ **getExpenditure(uint256)**(`_id`, `overrides?`): `Promise`<`ExpenditureStructOutput`\> - -Returns an existing expenditure. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`ExpenditureStructOutput`\> - -#### Inherited from - -AugmentedIColony.getExpenditure(uint256) - -___ - -### getExpenditureCount - -▸ **getExpenditureCount**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of expenditures in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getExpenditureCount - -___ - -### getExpenditureCount() - -▸ **getExpenditureCount()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of expenditures in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getExpenditureCount() - -___ - -### getExpenditureSlot - -▸ **getExpenditureSlot**(`_id`, `_slot`, `overrides?`): `Promise`<`ExpenditureSlotStructOutput`\> - -Returns an existing expenditure slot. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Expenditure slot | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`ExpenditureSlotStructOutput`\> - -#### Inherited from - -AugmentedIColony.getExpenditureSlot - -___ - -### getExpenditureSlot(uint256,uint256) - -▸ **getExpenditureSlot(uint256,uint256)**(`_id`, `_slot`, `overrides?`): `Promise`<`ExpenditureSlotStructOutput`\> - -Returns an existing expenditure slot. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Expenditure slot | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`ExpenditureSlotStructOutput`\> - -#### Inherited from - -AugmentedIColony.getExpenditureSlot(uint256,uint256) - -___ - -### getExpenditureSlotPayout - -▸ **getExpenditureSlotPayout**(`_id`, `_slot`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Returns an existing expenditure slot's payout for a token. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Expenditure slot | -| `_token` | `string` | Token address | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getExpenditureSlotPayout - -___ - -### getExpenditureSlotPayout(uint256,uint256,address) - -▸ **getExpenditureSlotPayout(uint256,uint256,address)**(`_id`, `_slot`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Returns an existing expenditure slot's payout for a token. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Expenditure slot | -| `_token` | `string` | Token address | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getExpenditureSlotPayout(uint256,uint256,address) - -___ - -### getExtensionClient - -▸ **getExtensionClient**<`E`\>(`extension`): `Promise`<`GetExtensionClientReturns`[`E`]\> - -Get an instance of an extension client associated with this Colony. - -#### Type parameters - -| Name | Type | -| :------ | :------ | -| `E` | extends [`Extension`](../enums/Extension.md) | - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extension` | `E` | An [Extension](../enums/Extension.md) | - -#### Returns - -`Promise`<`GetExtensionClientReturns`[`E`]\> - -An instance of an intialized extension client for the desired extension - -#### Inherited from - -AugmentedIColony.getExtensionClient - -___ - -### getFundingPot - -▸ **getFundingPot**(`_id`, `overrides?`): `Promise`<[`number`, `BigNumber`, `BigNumber`] & { `associatedType`: `number` ; `associatedTypeId`: `BigNumber` ; `payoutsWeCannotMake`: `BigNumber` }\> - -For the reward funding pot (e.g. id: 0) this returns (0, 0, 0). -Get the non-mapping properties of a pot by id. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the pot which details to get | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<[`number`, `BigNumber`, `BigNumber`] & { `associatedType`: `number` ; `associatedTypeId`: `BigNumber` ; `payoutsWeCannotMake`: `BigNumber` }\> - -#### Inherited from - -AugmentedIColony.getFundingPot - -___ - -### getFundingPot(uint256) - -▸ **getFundingPot(uint256)**(`_id`, `overrides?`): `Promise`<[`number`, `BigNumber`, `BigNumber`] & { `associatedType`: `number` ; `associatedTypeId`: `BigNumber` ; `payoutsWeCannotMake`: `BigNumber` }\> - -For the reward funding pot (e.g. id: 0) this returns (0, 0, 0). -Get the non-mapping properties of a pot by id. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the pot which details to get | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<[`number`, `BigNumber`, `BigNumber`] & { `associatedType`: `number` ; `associatedTypeId`: `BigNumber` ; `payoutsWeCannotMake`: `BigNumber` }\> - -#### Inherited from - -AugmentedIColony.getFundingPot(uint256) - -___ - -### getFundingPotBalance - -▸ **getFundingPotBalance**(`_potId`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the `_token` balance of pot with id `_potId`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_potId` | `BigNumberish` | Id of the funding pot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getFundingPotBalance - -___ - -### getFundingPotBalance(uint256,address) - -▸ **getFundingPotBalance(uint256,address)**(`_potId`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the `_token` balance of pot with id `_potId`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_potId` | `BigNumberish` | Id of the funding pot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getFundingPotBalance(uint256,address) - -___ - -### getFundingPotCount - -▸ **getFundingPotCount**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of funding pots in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getFundingPotCount - -___ - -### getFundingPotCount() - -▸ **getFundingPotCount()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of funding pots in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getFundingPotCount() - -___ - -### getFundingPotPayout - -▸ **getFundingPotPayout**(`_potId`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the assigned `_token` payouts of pot with id `_potId`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_potId` | `BigNumberish` | Id of the funding pot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getFundingPotPayout - -___ - -### getFundingPotPayout(uint256,address) - -▸ **getFundingPotPayout(uint256,address)**(`_potId`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the assigned `_token` payouts of pot with id `_potId`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_potId` | `BigNumberish` | Id of the funding pot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getFundingPotPayout(uint256,address) - -___ - -### getMembersReputation - -▸ **getMembersReputation**(`skillId`): `Promise`<{ `addresses`: `string`[] }\> - -Get all addresses that have reputation for a given skill. -If you need the skillId for a certain domain you can use the [getDomain](ColonyClientV12.md#getdomain) function. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `skillId` | `BigNumberish` | The skill id to get the reputation in | - -#### Returns - -`Promise`<{ `addresses`: `string`[] }\> - -All addresses that have a non-zero reputation for the given skill - -#### Inherited from - -AugmentedIColony.getMembersReputation - -___ - -### getMetatransactionNonce - -▸ **getMetatransactionNonce**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> - -Gets the next metatransaction nonce for user that should be used targeting this contract - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that will sign the metatransaction | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getMetatransactionNonce - -___ - -### getMetatransactionNonce(address) - -▸ **getMetatransactionNonce(address)**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> - -Gets the next metatransaction nonce for user that should be used targeting this contract - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that will sign the metatransaction | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getMetatransactionNonce(address) - -___ - -### getNonRewardPotsTotal - -▸ **getNonRewardPotsTotal**(`_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the total amount of tokens `_token` minus amount reserved to be paid to the reputation and token holders as rewards. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getNonRewardPotsTotal - -___ - -### getNonRewardPotsTotal(address) - -▸ **getNonRewardPotsTotal(address)**(`_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the total amount of tokens `_token` minus amount reserved to be paid to the reputation and token holders as rewards. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getNonRewardPotsTotal(address) - -___ - -### getObligation - -▸ **getObligation**(`_user`, `_obligator`, `_domainId`, `overrides?`): `Promise`<`BigNumber`\> - -View an obligation of tokens. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User whose tokens are obligated. | -| `_obligator` | `string` | Address of the account who obligated us. | -| `_domainId` | `BigNumberish` | Domain in which we are obligated. | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getObligation - -___ - -### getObligation(address,address,uint256) - -▸ **getObligation(address,address,uint256)**(`_user`, `_obligator`, `_domainId`, `overrides?`): `Promise`<`BigNumber`\> - -View an obligation of tokens. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User whose tokens are obligated. | -| `_obligator` | `string` | Address of the account who obligated us. | -| `_domainId` | `BigNumberish` | Domain in which we are obligated. | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getObligation(address,address,uint256) - -___ - -### getPayment - -▸ **getPayment**(`_id`, `overrides?`): `Promise`<`PaymentStructOutput`\> - -Returns an exiting payment. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`PaymentStructOutput`\> - -#### Inherited from - -AugmentedIColony.getPayment - -___ - -### getPayment(uint256) - -▸ **getPayment(uint256)**(`_id`, `overrides?`): `Promise`<`PaymentStructOutput`\> - -Returns an exiting payment. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`PaymentStructOutput`\> - -#### Inherited from - -AugmentedIColony.getPayment(uint256) - -___ - -### getPaymentCount - -▸ **getPaymentCount**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of payments in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getPaymentCount - -___ - -### getPaymentCount() - -▸ **getPaymentCount()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of payments in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getPaymentCount() - -___ - -### getReputation - -▸ **getReputation**(`skillId`, `address`, `customRootHash?`): `Promise`<{ `branchMask`: `string` ; `key`: `string` ; `reputationAmount`: `BigNumber` ; `siblings`: `string`[] ; `value`: `string` }\> - -Get the reputation for an address and a certain skill. -If you need the skillId for a certain domain you can use the [getDomain](ColonyClientV12.md#getdomain) function. - -**`Remarks`** - -This function also retrieves the proofs (`branchMask`, `siblings`) that are needed to verify the reputation on chain. -If you don't need to do that (e.g. in order to proof the reputation when calling a contract method), you should probably just use -the [getReputationWithoutProofs](ColonyClientV12.md#getreputationwithoutproofs) method as it requires fewer computations - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `skillId` | `BigNumberish` | The skill id to get the addresses reputation in | -| `address` | `string` | Wallet address to retrieve the reputation of | -| `customRootHash?` | `string` | The `customRootHash` can be set to retrieve the reputation at a certain block time in the past | - -#### Returns - -`Promise`<{ `branchMask`: `string` ; `key`: `string` ; `reputationAmount`: `BigNumber` ; `siblings`: `string`[] ; `value`: `string` }\> - -The reputation amount as well as the two proofs that are needed to verify the reputation on chain - -#### Inherited from - -AugmentedIColony.getReputation - -___ - -### getReputationAcrossDomains - -▸ **getReputationAcrossDomains**(`address`, `customRootHash?`): `Promise`<{ `domainId`: `number` ; `reputationAmount?`: `BigNumberish` ; `skillId`: `number` }[]\> - -Get the reputation for an address across all domains in a Colony. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `address` | `string` | Wallet address to retrieve the reputation of | -| `customRootHash?` | `string` | The `customRootHash` can be set to retrieve the reputation at a certain block time in the past | - -#### Returns - -`Promise`<{ `domainId`: `number` ; `reputationAmount?`: `BigNumberish` ; `skillId`: `number` }[]\> - -The reputation amount - -#### Inherited from - -AugmentedIColony.getReputationAcrossDomains - -___ - -### getReputationWithoutProofs - -▸ **getReputationWithoutProofs**(`skillId`, `address`, `customRootHash?`): `Promise`<{ `key`: `string` ; `reputationAmount`: `BigNumber` ; `value`: `string` }\> - -Get the reputation for an address and a certain skill. -If you need the skillId for a certain domain you can use the [getDomain](ColonyClientV12.md#getdomain) function. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `skillId` | `BigNumberish` | The skill id to get the addresses reputation in | -| `address` | `string` | Wallet address to retrieve the reputation of | -| `customRootHash?` | `string` | The `customRootHash` can be set to retrieve the reputation at a certain block time in the past | - -#### Returns - -`Promise`<{ `key`: `string` ; `reputationAmount`: `BigNumber` ; `value`: `string` }\> - -The reputation amount - -#### Inherited from - -AugmentedIColony.getReputationWithoutProofs - -___ - -### getRewardInverse - -▸ **getRewardInverse**(`overrides?`): `Promise`<`BigNumber`\> - -Return 1 / the reward to pay out from revenue. e.g. if the fee is 1% (or 0.01), return 100. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getRewardInverse - -___ - -### getRewardInverse() - -▸ **getRewardInverse()**(`overrides?`): `Promise`<`BigNumber`\> - -Return 1 / the reward to pay out from revenue. e.g. if the fee is 1% (or 0.01), return 100. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getRewardInverse() - -___ - -### getRewardPayoutInfo - -▸ **getRewardPayoutInfo**(`_payoutId`, `overrides?`): `Promise`<`RewardPayoutCycleStructOutput`\> - -Get useful information about specific reward payout. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_payoutId` | `BigNumberish` | Id of the reward payout | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`RewardPayoutCycleStructOutput`\> - -#### Inherited from - -AugmentedIColony.getRewardPayoutInfo - -___ - -### getRewardPayoutInfo(uint256) - -▸ **getRewardPayoutInfo(uint256)**(`_payoutId`, `overrides?`): `Promise`<`RewardPayoutCycleStructOutput`\> - -Get useful information about specific reward payout. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_payoutId` | `BigNumberish` | Id of the reward payout | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`RewardPayoutCycleStructOutput`\> - -#### Inherited from - -AugmentedIColony.getRewardPayoutInfo(uint256) - -___ - -### getRootLocalSkill - -▸ **getRootLocalSkill**(`overrides?`): `Promise`<`BigNumber`\> - -Get the root local skill id - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getRootLocalSkill - -___ - -### getRootLocalSkill() - -▸ **getRootLocalSkill()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the root local skill id - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getRootLocalSkill() - -___ - -### getTask - -▸ **getTask**(`_id`, `overrides?`): `Promise`<[`string`, `string`, `number`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`[]] & { `completionTimestamp`: `BigNumber` ; `deliverableHash`: `string` ; `domainId`: `BigNumber` ; `dueDate`: `BigNumber` ; `fundingPotId`: `BigNumber` ; `skillIds`: `BigNumber`[] ; `specificationHash`: `string` ; `status`: `number` }\> - -Get a task with id `_id` - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<[`string`, `string`, `number`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`[]] & { `completionTimestamp`: `BigNumber` ; `deliverableHash`: `string` ; `domainId`: `BigNumber` ; `dueDate`: `BigNumber` ; `fundingPotId`: `BigNumber` ; `skillIds`: `BigNumber`[] ; `specificationHash`: `string` ; `status`: `number` }\> - -#### Inherited from - -AugmentedIColony.getTask - -___ - -### getTask(uint256) - -▸ **getTask(uint256)**(`_id`, `overrides?`): `Promise`<[`string`, `string`, `number`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`[]] & { `completionTimestamp`: `BigNumber` ; `deliverableHash`: `string` ; `domainId`: `BigNumber` ; `dueDate`: `BigNumber` ; `fundingPotId`: `BigNumber` ; `skillIds`: `BigNumber`[] ; `specificationHash`: `string` ; `status`: `number` }\> - -Get a task with id `_id` - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<[`string`, `string`, `number`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`, `BigNumber`[]] & { `completionTimestamp`: `BigNumber` ; `deliverableHash`: `string` ; `domainId`: `BigNumber` ; `dueDate`: `BigNumber` ; `fundingPotId`: `BigNumber` ; `skillIds`: `BigNumber`[] ; `specificationHash`: `string` ; `status`: `number` }\> - -#### Inherited from - -AugmentedIColony.getTask(uint256) - -___ - -### getTaskChangeNonce - -▸ **getTaskChangeNonce**(`_id`, `overrides?`): `Promise`<`BigNumber`\> - -Starts from 0 and is incremented on every co-reviewed task change via `executeTaskChange` call. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTaskChangeNonce - -___ - -### getTaskChangeNonce(uint256) - -▸ **getTaskChangeNonce(uint256)**(`_id`, `overrides?`): `Promise`<`BigNumber`\> - -Starts from 0 and is incremented on every co-reviewed task change via `executeTaskChange` call. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTaskChangeNonce(uint256) - -___ - -### getTaskCount - -▸ **getTaskCount**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of tasks in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTaskCount - -___ - -### getTaskCount() - -▸ **getTaskCount()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the number of tasks in the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTaskCount() - -___ - -### getTaskPayout - -▸ **getTaskPayout**(`_id`, `_role`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get payout amount in `_token` denomination for role `_role` in task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTaskPayout - -___ - -### getTaskPayout(uint256,uint8,address) - -▸ **getTaskPayout(uint256,uint8,address)**(`_id`, `_role`, `_token`, `overrides?`): `Promise`<`BigNumber`\> - -Get payout amount in `_token` denomination for role `_role` in task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTaskPayout(uint256,uint8,address) - -___ - -### getTaskRole - -▸ **getTaskRole**(`_id`, `_role`, `overrides?`): `Promise`<`RoleStructOutput`\> - -Get the `Role` properties back for role `_role` in task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`RoleStructOutput`\> - -#### Inherited from - -AugmentedIColony.getTaskRole - -___ - -### getTaskRole(uint256,uint8) - -▸ **getTaskRole(uint256,uint8)**(`_id`, `_role`, `overrides?`): `Promise`<`RoleStructOutput`\> - -Get the `Role` properties back for role `_role` in task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`RoleStructOutput`\> - -#### Inherited from - -AugmentedIColony.getTaskRole(uint256,uint8) - -___ - -### getTaskWorkRatingSecret - -▸ **getTaskWorkRatingSecret**(`_id`, `_role`, `overrides?`): `Promise`<`string`\> - -Get the rating secret submitted for role `_role` in task `_id` - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getTaskWorkRatingSecret - -___ - -### getTaskWorkRatingSecret(uint256,uint8) - -▸ **getTaskWorkRatingSecret(uint256,uint8)**(`_id`, `_role`, `overrides?`): `Promise`<`string`\> - -Get the rating secret submitted for role `_role` in task `_id` - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getTaskWorkRatingSecret(uint256,uint8) - -___ - -### getTaskWorkRatingSecretsInfo - -▸ **getTaskWorkRatingSecretsInfo**(`_id`, `overrides?`): `Promise`<[`BigNumber`, `BigNumber`] & { `lastSubmittedAt`: `BigNumber` ; `nSecrets`: `BigNumber` }\> - -Get the `ColonyStorage.RatingSecrets` information for task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<[`BigNumber`, `BigNumber`] & { `lastSubmittedAt`: `BigNumber` ; `nSecrets`: `BigNumber` }\> - -#### Inherited from - -AugmentedIColony.getTaskWorkRatingSecretsInfo - -___ - -### getTaskWorkRatingSecretsInfo(uint256) - -▸ **getTaskWorkRatingSecretsInfo(uint256)**(`_id`, `overrides?`): `Promise`<[`BigNumber`, `BigNumber`] & { `lastSubmittedAt`: `BigNumber` ; `nSecrets`: `BigNumber` }\> - -Get the `ColonyStorage.RatingSecrets` information for task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<[`BigNumber`, `BigNumber`] & { `lastSubmittedAt`: `BigNumber` ; `nSecrets`: `BigNumber` }\> - -#### Inherited from - -AugmentedIColony.getTaskWorkRatingSecretsInfo(uint256) - -___ - -### getToken - -▸ **getToken**(`overrides?`): `Promise`<`string`\> - -Get the colony token. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getToken - -___ - -### getToken() - -▸ **getToken()**(`overrides?`): `Promise`<`string`\> - -Get the colony token. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getToken() - -___ - -### getTokenApproval - -▸ **getTokenApproval**(`token`, `spender`, `overrides?`): `Promise`<`BigNumber`\> - -Get the current approval amount - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token which was approved | -| `spender` | `string` | The account we have approved | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTokenApproval - -___ - -### getTokenApproval(address,address) - -▸ **getTokenApproval(address,address)**(`token`, `spender`, `overrides?`): `Promise`<`BigNumber`\> - -Get the current approval amount - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token which was approved | -| `spender` | `string` | The account we have approved | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTokenApproval(address,address) - -___ - -### getTotalTokenApproval - -▸ **getTotalTokenApproval**(`token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the current total approval amount across all spenders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token which was approved | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTotalTokenApproval - -___ - -### getTotalTokenApproval(address) - -▸ **getTotalTokenApproval(address)**(`token`, `overrides?`): `Promise`<`BigNumber`\> - -Get the current total approval amount across all spenders - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token which was approved | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.getTotalTokenApproval(address) - -___ - -### getUserRoles - -▸ **getUserRoles**(`_user`, `_domain`, `overrides?`): `Promise`<`string`\> - -Gets the bytes32 representation of the roles for a user in a given domain - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose roles we want to get | -| `_domain` | `BigNumberish` | The domain we want to get roles in | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getUserRoles - -___ - -### getUserRoles(address,uint256) - -▸ **getUserRoles(address,uint256)**(`_user`, `_domain`, `overrides?`): `Promise`<`string`\> - -Gets the bytes32 representation of the roles for a user in a given domain - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose roles we want to get | -| `_domain` | `BigNumberish` | The domain we want to get roles in | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.getUserRoles(address,uint256) - -___ - -### hasInheritedUserRole - -▸ **hasInheritedUserRole**(`_user`, `_domainId`, `_role`, `_childSkillIndex`, `_childDomainId`, `overrides?`): `Promise`<`boolean`\> - -Check whether a given user has a given role for the colony, in a child domain. Calls the function of the same name on the colony's authority contract and an internal inheritance validator function - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose role we want to check | -| `_domainId` | `BigNumberish` | Domain in which the caller has the role | -| `_role` | `BigNumberish` | The role we want to check for | -| `_childSkillIndex` | `BigNumberish` | The index that the `_childDomainId` is relative to `_domainId` | -| `_childDomainId` | `BigNumberish` | The domain where we want to use the role | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.hasInheritedUserRole - -___ - -### hasInheritedUserRole(address,uint256,uint8,uint256,uint256) - -▸ **hasInheritedUserRole(address,uint256,uint8,uint256,uint256)**(`_user`, `_domainId`, `_role`, `_childSkillIndex`, `_childDomainId`, `overrides?`): `Promise`<`boolean`\> - -Check whether a given user has a given role for the colony, in a child domain. Calls the function of the same name on the colony's authority contract and an internal inheritance validator function - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose role we want to check | -| `_domainId` | `BigNumberish` | Domain in which the caller has the role | -| `_role` | `BigNumberish` | The role we want to check for | -| `_childSkillIndex` | `BigNumberish` | The index that the `_childDomainId` is relative to `_domainId` | -| `_childDomainId` | `BigNumberish` | The domain where we want to use the role | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.hasInheritedUserRole(address,uint256,uint8,uint256,uint256) - -___ - -### hasInheritedUserRoleWithProofs - -▸ **hasInheritedUserRoleWithProofs**(`_user`, `_domainId`, `_role`, `overrides?`): `Promise`<`boolean`\> - -Same as [hasInheritedUserRole](ColonyClientV12.md#hasinheriteduserrole), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose role we want to check | -| `_domainId` | `BigNumberish` | Domain in which the caller has the role | -| `_role` | `BigNumberish` | The role we want to check for | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -ColonyAugmentsV4.hasInheritedUserRoleWithProofs - -___ - -### hasUserRole - -▸ **hasUserRole**(`_user`, `_domainId`, `_role`, `overrides?`): `Promise`<`boolean`\> - -Check whether a given user has a given role for the colony. Calls the function of the same name on the colony's authority contract. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose role we want to check | -| `_domainId` | `BigNumberish` | The domain where we want to check for the role | -| `_role` | `BigNumberish` | The role we want to check for | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.hasUserRole - -___ - -### hasUserRole(address,uint256,uint8) - -▸ **hasUserRole(address,uint256,uint8)**(`_user`, `_domainId`, `_role`, `overrides?`): `Promise`<`boolean`\> - -Check whether a given user has a given role for the colony. Calls the function of the same name on the colony's authority contract. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose role we want to check | -| `_domainId` | `BigNumberish` | The domain where we want to check for the role | -| `_role` | `BigNumberish` | The role we want to check for | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.hasUserRole(address,uint256,uint8) - -___ - -### initialiseColony - -▸ **initialiseColony**(`_colonyNetworkAddress`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the reward inverse to the uint max 2**256 - 1. -Called once when the colony is created to initialise certain storage slot values. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colonyNetworkAddress` | `string` | Address of the colony network | -| `_token` | `string` | Address of the colony ERC20 Token | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.initialiseColony - -___ - -### initialiseColony(address,address) - -▸ **initialiseColony(address,address)**(`_colonyNetworkAddress`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the reward inverse to the uint max 2**256 - 1. -Called once when the colony is created to initialise certain storage slot values. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colonyNetworkAddress` | `string` | Address of the colony network | -| `_token` | `string` | Address of the colony ERC20 Token | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.initialiseColony(address,address) - -___ - -### initialiseRootLocalSkill - -▸ **initialiseRootLocalSkill**(`overrides?`): `Promise`<`ContractTransaction`\> - -Initialise the local skill tree for the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.initialiseRootLocalSkill - -___ - -### initialiseRootLocalSkill() - -▸ **initialiseRootLocalSkill()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Initialise the local skill tree for the colony. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.initialiseRootLocalSkill() - -___ - -### installExtension - -▸ **installExtension**(`extensionId`, `version`, `overrides?`): `Promise`<`ContractTransaction`\> - -Install an extension to the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `version` | `BigNumberish` | The new extension version to install | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.installExtension - -___ - -### installExtension(bytes32,uint256) - -▸ **installExtension(bytes32,uint256)**(`extensionId`, `version`, `overrides?`): `Promise`<`ContractTransaction`\> - -Install an extension to the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `version` | `BigNumberish` | The new extension version to install | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.installExtension(bytes32,uint256) - -___ - -### installExtensionChecked - -▸ **installExtensionChecked**(`extension`, `version?`, `overrides?`): `Promise`<`ContractTransaction`\> - -Similar to [installExtension](ColonyClientV12.md#installextension), but first check whether the desired extension can be installed in this Colony -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extension` | [`Extension`](../enums/Extension.md) | A [Extension](../enums/Extension.md) name | -| `version?` | `number` | The desired version number of the extension you wish to install | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.installExtensionChecked - -___ - -### isInRecoveryMode - -▸ **isInRecoveryMode**(`overrides?`): `Promise`<`boolean`\> - -Is colony network in recovery mode. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.isInRecoveryMode - -___ - -### isInRecoveryMode() - -▸ **isInRecoveryMode()**(`overrides?`): `Promise`<`boolean`\> - -Is colony network in recovery mode. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.isInRecoveryMode() - -___ - -### listenerCount - -▸ **listenerCount**(`eventName?`): `number` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `eventName?` | `string` \| `EventFilter` | - -#### Returns - -`number` - -#### Inherited from - -AugmentedIColony.listenerCount - -___ - -### listeners - -▸ **listeners**<`TEvent`\>(`eventFilter?`): `TypedListener`<`TEvent`\>[] - -#### Type parameters - -| Name | Type | -| :------ | :------ | -| `TEvent` | extends `TypedEvent`<`any`, `any`\> | - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `eventFilter?` | `TypedEventFilter`<`TEvent`\> | - -#### Returns - -`TypedListener`<`TEvent`\>[] - -#### Inherited from - -AugmentedIColony.listeners - -▸ **listeners**(`eventName?`): `Listener`[] - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `eventName?` | `string` | - -#### Returns - -`Listener`[] - -#### Inherited from - -AugmentedIColony.listeners - -___ - -### lockExpenditure - -▸ **lockExpenditure**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Locks the expenditure and prevents further editing. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.lockExpenditure - -___ - -### lockExpenditure(uint256) - -▸ **lockExpenditure(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Locks the expenditure and prevents further editing. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.lockExpenditure(uint256) - -___ - -### lockToken - -▸ **lockToken**(`overrides?`): `Promise`<`ContractTransaction`\> - -Lock the colony's token. Can only be called by a network-managed extension. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.lockToken - -___ - -### lockToken() - -▸ **lockToken()**(`overrides?`): `Promise`<`ContractTransaction`\> - -Lock the colony's token. Can only be called by a network-managed extension. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.lockToken() - -___ - -### makeArbitraryTransaction - -▸ **makeArbitraryTransaction**(`_to`, `_action`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Execute`** - -arbitrary transaction on behalf of the Colony - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_to` | `string` | Contract to receive the function call (cannot be this contract, network or token locking) | -| `_action` | `BytesLike` | Bytes array encoding the function call and arguments | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeArbitraryTransaction - -___ - -### makeArbitraryTransaction(address,bytes) - -▸ **makeArbitraryTransaction(address,bytes)**(`_to`, `_action`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Execute`** - -arbitrary transaction on behalf of the Colony - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_to` | `string` | Contract to receive the function call (cannot be this contract, network or token locking) | -| `_action` | `BytesLike` | Bytes array encoding the function call and arguments | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeArbitraryTransaction(address,bytes) - -___ - -### makeArbitraryTransactions - -▸ **makeArbitraryTransactions**(`_targets`, `_actions`, `_strict`, `overrides?`): `Promise`<`ContractTransaction`\> - -Execute arbitrary transactions on behalf of the Colony in series - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_targets` | `string`[] | Array of addressed to be targeted | -| `_actions` | `BytesLike`[] | Array of Bytes arrays encoding the function calls and arguments | -| `_strict` | `boolean` | Boolean indicating whether if one transaction fails, the whole call to this function should fail. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeArbitraryTransactions - -___ - -### makeArbitraryTransactions(address[],bytes[],bool) - -▸ **makeArbitraryTransactions(address[],bytes[],bool)**(`_targets`, `_actions`, `_strict`, `overrides?`): `Promise`<`ContractTransaction`\> - -Execute arbitrary transactions on behalf of the Colony in series - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_targets` | `string`[] | Array of addressed to be targeted | -| `_actions` | `BytesLike`[] | Array of Bytes arrays encoding the function calls and arguments | -| `_strict` | `boolean` | Boolean indicating whether if one transaction fails, the whole call to this function should fail. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeArbitraryTransactions(address[],bytes[],bool) - -___ - -### makeExpenditure - -▸ **makeExpenditure**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Add a new expenditure in the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_domainId` | `BigNumberish` | The domain where the expenditure belongs | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeExpenditure - -___ - -### makeExpenditure(uint256,uint256,uint256) - -▸ **makeExpenditure(uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Add a new expenditure in the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_domainId` | `BigNumberish` | The domain where the expenditure belongs | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeExpenditure(uint256,uint256,uint256) - -___ - -### makeExpenditureWithProofs - -▸ **makeExpenditureWithProofs**(`_domainId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [makeExpenditure](ColonyClientV12.md#makeexpenditure), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where the expenditure belongs | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV4.makeExpenditureWithProofs - -___ - -### makeSingleArbitraryTransaction - -▸ **makeSingleArbitraryTransaction**(`_target`, `_action`, `overrides?`): `Promise`<`ContractTransaction`\> - -Only callable by the colony itself. If you wish to use this functionality, you should use the makeAbitraryTransactions function -Executes a single arbitrary transaction - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_target` | `string` | Contract to receive the function call | -| `_action` | `BytesLike` | Bytes array encoding the function call and arguments | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeSingleArbitraryTransaction - -___ - -### makeSingleArbitraryTransaction(address,bytes) - -▸ **makeSingleArbitraryTransaction(address,bytes)**(`_target`, `_action`, `overrides?`): `Promise`<`ContractTransaction`\> - -Only callable by the colony itself. If you wish to use this functionality, you should use the makeAbitraryTransactions function -Executes a single arbitrary transaction - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_target` | `string` | Contract to receive the function call | -| `_action` | `BytesLike` | Bytes array encoding the function call and arguments | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeSingleArbitraryTransaction(address,bytes) - -___ - -### makeTask - -▸ **makeTask**(`_permissionDomainId`, `_childSkillIndex`, `_specificationHash`, `_domainId`, `_skillId`, `_dueDate`, `overrides?`): `Promise`<`ContractTransaction`\> - -Make a new task in the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_specificationHash` | `BytesLike` | Database identifier where the task specification is stored | -| `_domainId` | `BigNumberish` | The domain where the task belongs | -| `_skillId` | `BigNumberish` | The skill associated with the task, can set to `0` for no-op | -| `_dueDate` | `BigNumberish` | The due date of the task, can set to `0` for no-op | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeTask - -___ - -### makeTask(uint256,uint256,bytes32,uint256,uint256,uint256) - -▸ **makeTask(uint256,uint256,bytes32,uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_specificationHash`, `_domainId`, `_skillId`, `_dueDate`, `overrides?`): `Promise`<`ContractTransaction`\> - -Make a new task in the colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_specificationHash` | `BytesLike` | Database identifier where the task specification is stored | -| `_domainId` | `BigNumberish` | The domain where the task belongs | -| `_skillId` | `BigNumberish` | The skill associated with the task, can set to `0` for no-op | -| `_dueDate` | `BigNumberish` | The due date of the task, can set to `0` for no-op | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeTask(uint256,uint256,bytes32,uint256,uint256,uint256) - -___ - -### makeTaskWithProofs - -▸ **makeTaskWithProofs**(`_specificationHash`, `_domainId`, `_skillId`, `_dueDate`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [makeTask](ColonyClientV12.md#maketask), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_specificationHash` | `BytesLike` | Database identifier where the task specification is stored | -| `_domainId` | `BigNumberish` | The domain where the task belongs | -| `_skillId` | `BigNumberish` | The skill associated with the task, can set to `0` for no-op | -| `_dueDate` | `BigNumberish` | The due date of the task, can set to `0` for no-op | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.makeTaskWithProofs - -___ - -### mintTokens - -▸ **mintTokens**(`_wad`, `overrides?`): `Promise`<`ContractTransaction`\> - -Mint `_wad` amount of colony tokens. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_wad` | `BigNumberish` | Amount to mint | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.mintTokens - -___ - -### mintTokens(uint256) - -▸ **mintTokens(uint256)**(`_wad`, `overrides?`): `Promise`<`ContractTransaction`\> - -Mint `_wad` amount of colony tokens. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_wad` | `BigNumberish` | Amount to mint | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.mintTokens(uint256) - -___ - -### mintTokensFor - -▸ **mintTokensFor**(`_guy`, `_wad`, `overrides?`): `Promise`<`ContractTransaction`\> - -Mint `_wad` amount of colony tokens and send to `_guy`. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_guy` | `string` | Recipient of new tokens | -| `_wad` | `BigNumberish` | Amount to mint | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.mintTokensFor - -___ - -### mintTokensFor(address,uint256) - -▸ **mintTokensFor(address,uint256)**(`_guy`, `_wad`, `overrides?`): `Promise`<`ContractTransaction`\> - -Mint `_wad` amount of colony tokens and send to `_guy`. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_guy` | `string` | Recipient of new tokens | -| `_wad` | `BigNumberish` | Amount to mint | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.mintTokensFor(address,uint256) - -___ - -### moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,address) - -▸ **moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,address)**(`_permissionDomainId`, `_fromChildSkillIndex`, `_toChildSkillIndex`, `_fromPot`, `_toPot`, `_amount`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Move`** - -a given amount: `_amount` of `_token` funds from funding pot with id `_fromPot` to one with id `_toPot`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_fromChildSkillIndex` | `BigNumberish` | The child index in `_permissionDomainId` where we can find the domain for `_fromPotId` | -| `_toChildSkillIndex` | `BigNumberish` | The child index in `_permissionDomainId` where we can find the domain for `_toPotId` | -| `_fromPot` | `BigNumberish` | Funding pot id providing the funds | -| `_toPot` | `BigNumberish` | Funding pot id receiving the funds | -| `_amount` | `BigNumberish` | Amount of funds | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,address) - -___ - -### moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address) - -▸ **moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address)**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_fromChildSkillIndex`, `_toChildSkillIndex`, `_fromPot`, `_toPot`, `_amount`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Move a given amount: `_amount` of `_token` funds from funding pot with id `_fromPot` to one with id `_toPot`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The child index in _permissionDomainId where I will be taking this action | -| `_domainId` | `BigNumberish` | The domain where I am taking this action, pointed to by _permissionDomainId and _childSkillIndex | -| `_fromChildSkillIndex` | `BigNumberish` | In the array of child skills for the skill associated with the domain pointed to by _permissionDomainId + _childSkillIndex, the index of the skill associated with the domain that contains _fromPot | -| `_toChildSkillIndex` | `BigNumberish` | The same, but for the _toPot which the funds are being moved to | -| `_fromPot` | `BigNumberish` | Funding pot id providing the funds | -| `_toPot` | `BigNumberish` | Funding pot id receiving the funds | -| `_amount` | `BigNumberish` | Amount of funds | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address) - -___ - -### moveFundsBetweenPotsWithProofs(uint256,uint256,uint256,address) - -▸ **moveFundsBetweenPotsWithProofs(uint256,uint256,uint256,address)**(`_fromPot`, `_toPot`, `_amount`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated`** - -Same as [moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,address)](ColonyClientV12.md#movefundsbetweenpots(uint256,uint256,uint256,uint256,uint256,uint256,address)), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_fromPot` | `BigNumberish` | Funding pot id providing the funds | -| `_toPot` | `BigNumberish` | Funding pot id receiving the funds | -| `_amount` | `BigNumberish` | Amount of funds | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -MoveFundsBetweenPotsAugmentsB.moveFundsBetweenPotsWithProofs(uint256,uint256,uint256,address) - -___ - -### moveFundsBetweenPotsWithProofs(uint256,uint256,uint256,uint256,address) - -▸ **moveFundsBetweenPotsWithProofs(uint256,uint256,uint256,uint256,address)**(`_domainId`, `_fromPot`, `_toPot`, `_amount`, `_token`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [moveFundsBetweenPots(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address)](ColonyClientV12.md#movefundsbetweenpots(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address)), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where I am taking this action, pointed to by _permissionDomainId and _childSkillIndex | -| `_fromPot` | `BigNumberish` | Funding pot id providing the funds | -| `_toPot` | `BigNumberish` | Funding pot id receiving the funds | -| `_amount` | `BigNumberish` | Amount of funds | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -MoveFundsBetweenPotsAugmentsB.moveFundsBetweenPotsWithProofs(uint256,uint256,uint256,uint256,address) - -___ - -### multicall - -▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> - -The `msg.value` should not be trusted for any method callable from multicall. -Call multiple functions in the current contract and return the data from all of them if they all succeed - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `data` | `BytesLike`[] | The encoded function data for each of the calls to make to this contract | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.multicall - -___ - -### multicall(bytes[]) - -▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> - -The `msg.value` should not be trusted for any method callable from multicall. -Call multiple functions in the current contract and return the data from all of them if they all succeed - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `data` | `BytesLike`[] | The encoded function data for each of the calls to make to this contract | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.multicall(bytes[]) - -___ - -### numRecoveryRoles - -▸ **numRecoveryRoles**(`overrides?`): `Promise`<`BigNumber`\> - -Return number of recovery roles. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.numRecoveryRoles - -___ - -### numRecoveryRoles() - -▸ **numRecoveryRoles()**(`overrides?`): `Promise`<`BigNumber`\> - -Return number of recovery roles. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.numRecoveryRoles() - -___ - -### obligateStake - -▸ **obligateStake**(`_user`, `_domainId`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Obligate the user some amount of tokens as a stake. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of the account we are obligating. | -| `_domainId` | `BigNumberish` | Domain in which we are obligating the user. | -| `_amount` | `BigNumberish` | Amount of internal token we are obligating. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.obligateStake - -___ - -### obligateStake(address,uint256,uint256) - -▸ **obligateStake(address,uint256,uint256)**(`_user`, `_domainId`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Obligate the user some amount of tokens as a stake. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of the account we are obligating. | -| `_domainId` | `BigNumberish` | Domain in which we are obligating the user. | -| `_amount` | `BigNumberish` | Amount of internal token we are obligating. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.obligateStake(address,uint256,uint256) - -___ - -### owner - -▸ **owner**(`overrides?`): `Promise`<`string`\> - -Used for testing. -Get the colony `owner` address. This should be address(0x0) at all times. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.owner - -___ - -### owner() - -▸ **owner()**(`overrides?`): `Promise`<`string`\> - -Used for testing. -Get the colony `owner` address. This should be address(0x0) at all times. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedIColony.owner() - -___ - -### queryFilter - -▸ **queryFilter**<`TEvent`\>(`event`, `fromBlockOrBlockhash?`, `toBlock?`): `Promise`<`TEvent`[]\> - -#### Type parameters - -| Name | Type | -| :------ | :------ | -| `TEvent` | extends `TypedEvent`<`any`, `any`\> | - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `event` | `TypedEventFilter`<`TEvent`\> | -| `fromBlockOrBlockhash?` | `string` \| `number` | -| `toBlock?` | `string` \| `number` | - -#### Returns - -`Promise`<`TEvent`[]\> - -#### Inherited from - -AugmentedIColony.queryFilter - -___ - -### registerColonyLabel - -▸ **registerColonyLabel**(`colonyName`, `orbitdb`, `overrides?`): `Promise`<`ContractTransaction`\> - -Register colony's ENS label. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `colonyName` | `string` | The label to register. | -| `orbitdb` | `string` | The path of the orbitDB database associated with the colony name | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.registerColonyLabel - -___ - -### registerColonyLabel(string,string) - -▸ **registerColonyLabel(string,string)**(`colonyName`, `orbitdb`, `overrides?`): `Promise`<`ContractTransaction`\> - -Register colony's ENS label. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `colonyName` | `string` | The label to register. | -| `orbitdb` | `string` | The path of the orbitDB database associated with the colony name | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.registerColonyLabel(string,string) - -___ - -### removeAllListeners - -▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`ColonyClientV12`](ColonyClientV12.md) - -#### Type parameters - -| Name | Type | -| :------ | :------ | -| `TEvent` | extends `TypedEvent`<`any`, `any`\> | - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `eventFilter` | `TypedEventFilter`<`TEvent`\> | - -#### Returns - -[`ColonyClientV12`](ColonyClientV12.md) - -#### Inherited from - -AugmentedIColony.removeAllListeners - -▸ **removeAllListeners**(`eventName?`): [`ColonyClientV12`](ColonyClientV12.md) - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `eventName?` | `string` | - -#### Returns - -[`ColonyClientV12`](ColonyClientV12.md) - -#### Inherited from - -AugmentedIColony.removeAllListeners - -___ - -### removeRecoveryRole - -▸ **removeRecoveryRole**(`_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -Remove colony recovery role. Can only be called by root role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to remove recovery role from | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.removeRecoveryRole - -___ - -### removeRecoveryRole(address) - -▸ **removeRecoveryRole(address)**(`_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -Remove colony recovery role. Can only be called by root role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to remove recovery role from | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.removeRecoveryRole(address) - -___ - -### removeTaskEvaluatorRole - -▸ **removeTaskEvaluatorRole**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Removing evaluator role. Agreed between manager and currently assigned evaluator. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.removeTaskEvaluatorRole - -___ - -### removeTaskEvaluatorRole(uint256) - -▸ **removeTaskEvaluatorRole(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Removing evaluator role. Agreed between manager and currently assigned evaluator. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.removeTaskEvaluatorRole(uint256) - -___ - -### removeTaskWorkerRole - -▸ **removeTaskWorkerRole**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Removing worker role. Agreed between manager and currently assigned worker. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.removeTaskWorkerRole - -___ - -### removeTaskWorkerRole(uint256) - -▸ **removeTaskWorkerRole(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> - -Removing worker role. Agreed between manager and currently assigned worker. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.removeTaskWorkerRole(uint256) - -___ - -### revealTaskWorkRating - -▸ **revealTaskWorkRating**(`_id`, `_role`, `_rating`, `_salt`, `overrides?`): `Promise`<`ContractTransaction`\> - -Compares the `keccak256(_salt, _rating)` output with the previously submitted rating secret and if they match, sets the task role properties `rated` to `true` and `rating` to `_rating`. -Reveal the secret rating submitted in `IColony.submitTaskWorkRating` for task `_id` and task role with id `_role`. Allowed within 5 days period starting which whichever is first from either both rating secrets being submitted (via `IColony.submitTaskWorkRating`) or the 5 day rating period expiring. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_rating` | `BigNumberish` | 0-50 rating score (in increments of 10, .e.g 0, 10, 20, 30, 40 or 50) | -| `_salt` | `BytesLike` | Salt value used to generate the rating secret | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.revealTaskWorkRating - -___ - -### revealTaskWorkRating(uint256,uint8,uint8,bytes32) - -▸ **revealTaskWorkRating(uint256,uint8,uint8,bytes32)**(`_id`, `_role`, `_rating`, `_salt`, `overrides?`): `Promise`<`ContractTransaction`\> - -Compares the `keccak256(_salt, _rating)` output with the previously submitted rating secret and if they match, sets the task role properties `rated` to `true` and `rating` to `_rating`. -Reveal the secret rating submitted in `IColony.submitTaskWorkRating` for task `_id` and task role with id `_role`. Allowed within 5 days period starting which whichever is first from either both rating secrets being submitted (via `IColony.submitTaskWorkRating`) or the 5 day rating period expiring. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_rating` | `BigNumberish` | 0-50 rating score (in increments of 10, .e.g 0, 10, 20, 30, 40 or 50) | -| `_salt` | `BytesLike` | Salt value used to generate the rating secret | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.revealTaskWorkRating(uint256,uint8,uint8,bytes32) - -___ - -### setAdministrationRole - -▸ **setAdministrationRole**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony admin role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an admin role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setAdministrationRole - -___ - -### setAdministrationRole(uint256,uint256,address,uint256,bool) - -▸ **setAdministrationRole(uint256,uint256,address,uint256,bool)**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony admin role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an admin role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setAdministrationRole(uint256,uint256,address,uint256,bool) - -___ - -### setAdministrationRoleWithProofs - -▸ **setAdministrationRoleWithProofs**(`_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setAdministrationRole](ColonyClientV12.md#setadministrationrole), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give an admin role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setAdministrationRoleWithProofs - -___ - -### setAllTaskPayouts - -▸ **setAllTaskPayouts**(`_id`, `_token`, `_managerAmount`, `_evaluatorAmount`, `_workerAmount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only call if evaluator and worker are unassigned or manager, otherwise need signature. -Set `_token` payout for all roles in task `_id` to the respective amounts. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_managerAmount` | `BigNumberish` | Payout amount for manager | -| `_evaluatorAmount` | `BigNumberish` | Payout amount for evaluator | -| `_workerAmount` | `BigNumberish` | Payout amount for worker | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setAllTaskPayouts - -___ - -### setAllTaskPayouts(uint256,address,uint256,uint256,uint256) - -▸ **setAllTaskPayouts(uint256,address,uint256,uint256,uint256)**(`_id`, `_token`, `_managerAmount`, `_evaluatorAmount`, `_workerAmount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only call if evaluator and worker are unassigned or manager, otherwise need signature. -Set `_token` payout for all roles in task `_id` to the respective amounts. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_managerAmount` | `BigNumberish` | Payout amount for manager | -| `_evaluatorAmount` | `BigNumberish` | Payout amount for evaluator | -| `_workerAmount` | `BigNumberish` | Payout amount for worker | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setAllTaskPayouts(uint256,address,uint256,uint256,uint256) - -___ - -### setArbitrationRole - -▸ **setArbitrationRole**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony arbitration role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an arbitration role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setArbitrationRole - -___ - -### setArbitrationRole(uint256,uint256,address,uint256,bool) - -▸ **setArbitrationRole(uint256,uint256,address,uint256,bool)**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony arbitration role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an arbitration role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setArbitrationRole(uint256,uint256,address,uint256,bool) - -___ - -### setArbitrationRoleWithProofs - -▸ **setArbitrationRoleWithProofs**(`_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setArbitrationRole](ColonyClientV12.md#setarbitrationrole), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give an arbitration role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV3.setArbitrationRoleWithProofs - -___ - -### setArchitectureRole - -▸ **setArchitectureRole**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony architecture role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an architecture role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setArchitectureRole - -___ - -### setArchitectureRole(uint256,uint256,address,uint256,bool) - -▸ **setArchitectureRole(uint256,uint256,address,uint256,bool)**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony architecture role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an architecture role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setArchitectureRole(uint256,uint256,address,uint256,bool) - -___ - -### setArchitectureRoleWithProofs - -▸ **setArchitectureRoleWithProofs**(`_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setArchitectureRole](ColonyClientV12.md#setarchitecturerole), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give an architecture role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setArchitectureRoleWithProofs - -___ - -### setDefaultGlobalClaimDelay - -▸ **setDefaultGlobalClaimDelay**(`_globalClaimDelay`, `overrides?`): `Promise`<`ContractTransaction`\> - -Update the default global claim delay for expenditures - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_globalClaimDelay` | `BigNumberish` | The new default global claim delay | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setDefaultGlobalClaimDelay - -___ - -### setDefaultGlobalClaimDelay(uint256) - -▸ **setDefaultGlobalClaimDelay(uint256)**(`_globalClaimDelay`, `overrides?`): `Promise`<`ContractTransaction`\> - -Update the default global claim delay for expenditures - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_globalClaimDelay` | `BigNumberish` | The new default global claim delay | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setDefaultGlobalClaimDelay(uint256) - -___ - -### setExpenditureClaimDelay - -▸ **setExpenditureClaimDelay**(`_id`, `_slot`, `_claimDelay`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Sets`** - -the claim delay on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Number of the slot | -| `_claimDelay` | `BigNumberish` | Duration of time (in seconds) to delay | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureClaimDelay - -___ - -### setExpenditureClaimDelay(uint256,uint256,uint256) - -▸ **setExpenditureClaimDelay(uint256,uint256,uint256)**(`_id`, `_slot`, `_claimDelay`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Sets`** - -the claim delay on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Number of the slot | -| `_claimDelay` | `BigNumberish` | Duration of time (in seconds) to delay | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureClaimDelay(uint256,uint256,uint256) - -___ - -### setExpenditureClaimDelays - -▸ **setExpenditureClaimDelays**(`_id`, `_slots`, `_claimDelays`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the claim delays in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slots` | `BigNumberish`[] | Array of slots to set claim delays | -| `_claimDelays` | `BigNumberish`[] | Durations of time (in seconds) to delay | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureClaimDelays - -___ - -### setExpenditureClaimDelays(uint256,uint256[],uint256[]) - -▸ **setExpenditureClaimDelays(uint256,uint256[],uint256[])**(`_id`, `_slots`, `_claimDelays`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the claim delays in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slots` | `BigNumberish`[] | Array of slots to set claim delays | -| `_claimDelays` | `BigNumberish`[] | Durations of time (in seconds) to delay | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureClaimDelays(uint256,uint256[],uint256[]) - -___ - -### setExpenditureMetadata(uint256,string) - -▸ **setExpenditureMetadata(uint256,string)**(`_id`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. -Sets the metadata for an expenditure. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_metadata` | `string` | IPFS hash of the metadata | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureMetadata(uint256,string) - -___ - -### setExpenditureMetadata(uint256,uint256,uint256,string) - -▸ **setExpenditureMetadata(uint256,uint256,uint256,string)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_metadata`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the metadata for an expenditure. Can only be called by Arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_metadata` | `string` | IPFS hash of the metadata | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureMetadata(uint256,uint256,uint256,string) - -___ - -### setExpenditurePayout(uint256,uint256,address,uint256) - -▸ **setExpenditurePayout(uint256,uint256,address,uint256)**(`_id`, `_slot`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. - -**`Deprecated Set`** - -the token payout on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slot` | `BigNumberish` | Number of the slot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditurePayout(uint256,uint256,address,uint256) - -___ - -### setExpenditurePayout(uint256,uint256,uint256,uint256,address,uint256) - -▸ **setExpenditurePayout(uint256,uint256,uint256,uint256,address,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_slot`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the token payout in a given expenditure slot. Can only be called by an Arbitration user. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slot` | `BigNumberish` | The slot to set the payout | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditurePayout(uint256,uint256,uint256,uint256,address,uint256) - -___ - -### setExpenditurePayoutModifiers - -▸ **setExpenditurePayoutModifiers**(`_id`, `_slots`, `_payoutModifiers`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the payout modifiers in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slots` | `BigNumberish`[] | Array of slots to set payout modifiers | -| `_payoutModifiers` | `BigNumberish`[] | Values (between +/- WAD) to modify the payout & reputation bonus | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditurePayoutModifiers - -___ - -### setExpenditurePayoutModifiers(uint256,uint256[],int256[]) - -▸ **setExpenditurePayoutModifiers(uint256,uint256[],int256[])**(`_id`, `_slots`, `_payoutModifiers`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the payout modifiers in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slots` | `BigNumberish`[] | Array of slots to set payout modifiers | -| `_payoutModifiers` | `BigNumberish`[] | Values (between +/- WAD) to modify the payout & reputation bonus | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditurePayoutModifiers(uint256,uint256[],int256[]) - -___ - -### setExpenditurePayoutWithProofs - -▸ **setExpenditurePayoutWithProofs**(`_id`, `_slot`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as the permissioned overload of [setExpenditurePayout(uint256,uint256,uint256,uint256,address,uint256)](ColonyClientV12.md#setexpenditurepayout(uint256,uint256,uint256,uint256,address,uint256)), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slot` | `BigNumberish` | Number of the slot | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV7.setExpenditurePayoutWithProofs - -___ - -### setExpenditurePayouts - -▸ **setExpenditurePayouts**(`_id`, `_slots`, `_token`, `_amounts`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. -Set the token payouts in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slots` | `BigNumberish`[] | Array of slots to set payouts | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amounts` | `BigNumberish`[] | Payout amounts | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditurePayouts - -___ - -### setExpenditurePayouts(uint256,uint256[],address,uint256[]) - -▸ **setExpenditurePayouts(uint256,uint256[],address,uint256[])**(`_id`, `_slots`, `_token`, `_amounts`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. -Set the token payouts in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slots` | `BigNumberish`[] | Array of slots to set payouts | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amounts` | `BigNumberish`[] | Payout amounts | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditurePayouts(uint256,uint256[],address,uint256[]) - -___ - -### setExpenditureRecipient - -▸ **setExpenditureRecipient**(`_id`, `_slot`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. - -**`Deprecated Sets`** - -the recipient on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slot` | `BigNumberish` | Slot for the recipient address | -| `_recipient` | `string` | Address of the recipient | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureRecipient - -___ - -### setExpenditureRecipient(uint256,uint256,address) - -▸ **setExpenditureRecipient(uint256,uint256,address)**(`_id`, `_slot`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. - -**`Deprecated Sets`** - -the recipient on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slot` | `BigNumberish` | Slot for the recipient address | -| `_recipient` | `string` | Address of the recipient | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureRecipient(uint256,uint256,address) - -___ - -### setExpenditureRecipients - -▸ **setExpenditureRecipients**(`_id`, `_slots`, `_recipients`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. -Sets the recipients in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slots` | `BigNumberish`[] | Array of slots to set recipients | -| `_recipients` | `string`[] | Addresses of the recipients | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureRecipients - -___ - -### setExpenditureRecipients(uint256,uint256[],address[]) - -▸ **setExpenditureRecipients(uint256,uint256[],address[])**(`_id`, `_slots`, `_recipients`, `overrides?`): `Promise`<`ContractTransaction`\> - -Can only be called while expenditure is in draft state. -Sets the recipients in given expenditure slots. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the expenditure | -| `_slots` | `BigNumberish`[] | Array of slots to set recipients | -| `_recipients` | `string`[] | Addresses of the recipients | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureRecipients(uint256,uint256[],address[]) - -___ - -### setExpenditureSkill - -▸ **setExpenditureSkill**(`_id`, `_slot`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Sets`** - -the skill on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Number of the slot | -| `_skillId` | `BigNumberish` | Id of the new skill to set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureSkill - -___ - -### setExpenditureSkill(uint256,uint256,uint256) - -▸ **setExpenditureSkill(uint256,uint256,uint256)**(`_id`, `_slot`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated Sets`** - -the skill on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slot` | `BigNumberish` | Number of the slot | -| `_skillId` | `BigNumberish` | Id of the new skill to set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureSkill(uint256,uint256,uint256) - -___ - -### setExpenditureSkills - -▸ **setExpenditureSkills**(`_id`, `_slots`, `_skillIds`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the skill on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slots` | `BigNumberish`[] | Array of slots to set skills | -| `_skillIds` | `BigNumberish`[] | Ids of the new skills to set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureSkills - -___ - -### setExpenditureSkills(uint256,uint256[],uint256[]) - -▸ **setExpenditureSkills(uint256,uint256[],uint256[])**(`_id`, `_slots`, `_skillIds`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the skill on an expenditure slot. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_slots` | `BigNumberish`[] | Array of slots to set skills | -| `_skillIds` | `BigNumberish`[] | Ids of the new skills to set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureSkills(uint256,uint256[],uint256[]) - -___ - -### setExpenditureState - -▸ **setExpenditureState**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_storageSlot`, `_mask`, `_keys`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set arbitrary state on an expenditure slot. Can only be called by Arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_storageSlot` | `BigNumberish` | Number of the top-level storage slot (25, 26, or 27) | -| `_mask` | `boolean`[] | Array of booleans indicated whether a key is a mapping (F) or an array index (T). | -| `_keys` | `BytesLike`[] | Array of additional keys (for mappings & arrays) | -| `_value` | `BytesLike` | Value to set at location | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureState - -___ - -### setExpenditureState(uint256,uint256,uint256,uint256,bool[],bytes32[],bytes32) - -▸ **setExpenditureState(uint256,uint256,uint256,uint256,bool[],bytes32[],bytes32)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_storageSlot`, `_mask`, `_keys`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set arbitrary state on an expenditure slot. Can only be called by Arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_storageSlot` | `BigNumberish` | Number of the top-level storage slot (25, 26, or 27) | -| `_mask` | `boolean`[] | Array of booleans indicated whether a key is a mapping (F) or an array index (T). | -| `_keys` | `BytesLike`[] | Array of additional keys (for mappings & arrays) | -| `_value` | `BytesLike` | Value to set at location | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureState(uint256,uint256,uint256,uint256,bool[],bytes32[],bytes32) - -___ - -### setExpenditureStateWithProofs - -▸ **setExpenditureStateWithProofs**(`_id`, `_storageSlot`, `_mask`, `_keys`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [editDomain](ColonyClientV12.md#editdomain), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_storageSlot` | `BigNumberish` | Number of the top-level storage slot (25, 26, or 27) | -| `_mask` | `boolean`[] | Array of booleans indicated whether a key is a mapping (F) or an array index (T). | -| `_keys` | `BytesLike`[] | Array of additional keys (for mappings & arrays) | -| `_value` | `BytesLike` | Value to set at location | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.setExpenditureStateWithProofs - -___ - -### setExpenditureValues - -▸ **setExpenditureValues**(`_id`, `_recipientSlots`, `_recipients`, `_skillIdSlots`, `_skillIds`, `_claimDelaySlots`, `_claimDelays`, `_payoutModifierSlots`, `_payoutModifiers`, `_payoutTokens`, `_payoutSlots`, `_payoutValues`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set many values of an expenditure simultaneously. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_recipientSlots` | `BigNumberish`[] | Array of slots to set recipients | -| `_recipients` | `string`[] | Addresses of the recipients | -| `_skillIdSlots` | `BigNumberish`[] | Array of slots to set skills | -| `_skillIds` | `BigNumberish`[] | Ids of the new skills to set | -| `_claimDelaySlots` | `BigNumberish`[] | Array of slots to set claim delays | -| `_claimDelays` | `BigNumberish`[] | Durations of time (in seconds) to delay | -| `_payoutModifierSlots` | `BigNumberish`[] | Array of slots to set payout modifiers | -| `_payoutModifiers` | `BigNumberish`[] | Values (between +/- WAD) to modify the payout & reputation bonus | -| `_payoutTokens` | `string`[] | Addresses of the tokens, `0x0` value indicates Ether | -| `_payoutSlots` | `BigNumberish`[][] | 2-dimensional array of slots to set payouts | -| `_payoutValues` | `BigNumberish`[][] | 2-dimensional array of the payout amounts | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureValues - -___ - -### setExpenditureValues(uint256,uint256[],address[],uint256[],uint256[],uint256[],uint256[],uint256[],int256[],address[],uint256[][],uint256[][]) - -▸ **setExpenditureValues(uint256,uint256[],address[],uint256[],uint256[],uint256[],uint256[],uint256[],int256[],address[],uint256[][],uint256[][])**(`_id`, `_recipientSlots`, `_recipients`, `_skillIdSlots`, `_skillIds`, `_claimDelaySlots`, `_claimDelays`, `_payoutModifierSlots`, `_payoutModifiers`, `_payoutTokens`, `_payoutSlots`, `_payoutValues`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set many values of an expenditure simultaneously. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_recipientSlots` | `BigNumberish`[] | Array of slots to set recipients | -| `_recipients` | `string`[] | Addresses of the recipients | -| `_skillIdSlots` | `BigNumberish`[] | Array of slots to set skills | -| `_skillIds` | `BigNumberish`[] | Ids of the new skills to set | -| `_claimDelaySlots` | `BigNumberish`[] | Array of slots to set claim delays | -| `_claimDelays` | `BigNumberish`[] | Durations of time (in seconds) to delay | -| `_payoutModifierSlots` | `BigNumberish`[] | Array of slots to set payout modifiers | -| `_payoutModifiers` | `BigNumberish`[] | Values (between +/- WAD) to modify the payout & reputation bonus | -| `_payoutTokens` | `string`[] | Addresses of the tokens, `0x0` value indicates Ether | -| `_payoutSlots` | `BigNumberish`[][] | 2-dimensional array of slots to set payouts | -| `_payoutValues` | `BigNumberish`[][] | 2-dimensional array of the payout amounts | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setExpenditureValues(uint256,uint256[],address[],uint256[],uint256[],uint256[],uint256[],uint256[],int256[],address[],uint256[][],uint256[][]) - -___ - -### setFundingRole - -▸ **setFundingRole**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony funding role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an funding role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setFundingRole - -___ - -### setFundingRole(uint256,uint256,address,uint256,bool) - -▸ **setFundingRole(uint256,uint256,address,uint256,bool)**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony funding role. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give an funding role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setFundingRole(uint256,uint256,address,uint256,bool) - -___ - -### setFundingRoleWithProofs - -▸ **setFundingRoleWithProofs**(`_user`, `_domainId`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setFundingRole](ColonyClientV12.md#setfundingrole), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give an funding role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setFundingRoleWithProofs - -___ - -### setPaymentPayout - -▸ **setPaymentPayout**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the payout for a given token on an existing payment. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentPayout - -___ - -### setPaymentPayout(uint256,uint256,uint256,address,uint256) - -▸ **setPaymentPayout(uint256,uint256,uint256,address,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the payout for a given token on an existing payment. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentPayout(uint256,uint256,uint256,address,uint256) - -___ - -### setPaymentPayoutWithProofs - -▸ **setPaymentPayoutWithProofs**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setPaymentPayout](ColonyClientV12.md#setpaymentpayout), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `_token` | `BigNumberish` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentPayoutWithProofs - -___ - -### setPaymentRecipient - -▸ **setPaymentRecipient**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the recipient on an existing payment. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `_recipient` | `string` | Address of the payment recipient | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentRecipient - -___ - -### setPaymentRecipient(uint256,uint256,uint256,address) - -▸ **setPaymentRecipient(uint256,uint256,uint256,address)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the recipient on an existing payment. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `_recipient` | `string` | Address of the payment recipient | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentRecipient(uint256,uint256,uint256,address) - -___ - -### setPaymentRecipientWithProofs - -▸ **setPaymentRecipientWithProofs**(`_id`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setPaymentRecipient](ColonyClientV12.md#setpaymentrecipient), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `_recipient` | `string` | Address of the payment recipient | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentRecipientWithProofs - -___ - -### setPaymentSkill - -▸ **setPaymentSkill**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the skill on an existing payment. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `_skillId` | `BigNumberish` | Id of the new skill to set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentSkill - -___ - -### setPaymentSkill(uint256,uint256,uint256,uint256) - -▸ **setPaymentSkill(uint256,uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Sets the skill on an existing payment. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_id` | `BigNumberish` | Payment identifier | -| `_skillId` | `BigNumberish` | Id of the new skill to set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentSkill(uint256,uint256,uint256,uint256) - -___ - -### setPaymentSkillWithProofs - -▸ **setPaymentSkillWithProofs**(`_id`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setPaymentSkill](ColonyClientV12.md#setpaymentskill), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Payment identifier | -| `_skillId` | `BigNumberish` | Id of the new skill to set | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setPaymentSkillWithProofs - -___ - -### setRecoveryRole - -▸ **setRecoveryRole**(`_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony recovery role. Can be called by root. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give a recovery role to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setRecoveryRole - -___ - -### setRecoveryRole(address) - -▸ **setRecoveryRole(address)**(`_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony recovery role. Can be called by root. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give a recovery role to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setRecoveryRole(address) - -___ - -### setRewardInverse - -▸ **setRewardInverse**(`_rewardInverse`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the reward inverse to pay out from revenue. e.g. if the fee is 1% (or 0.01), set 100. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_rewardInverse` | `BigNumberish` | The inverse of the reward | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setRewardInverse - -___ - -### setRewardInverse(uint256) - -▸ **setRewardInverse(uint256)**(`_rewardInverse`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the reward inverse to pay out from revenue. e.g. if the fee is 1% (or 0.01), set 100. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_rewardInverse` | `BigNumberish` | The inverse of the reward | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setRewardInverse(uint256) - -___ - -### setRootRole - -▸ **setRootRole**(`_user`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony root role. Can be called by root role only. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give an root role to | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setRootRole - -___ - -### setRootRole(address,bool) - -▸ **setRootRole(address,bool)**(`_user`, `_setTo`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set new colony root role. Can be called by root role only. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give an root role to | -| `_setTo` | `boolean` | The state of the role permission (true assign the permission, false revokes it) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setRootRole(address,bool) - -___ - -### setStorageSlotRecovery - -▸ **setStorageSlotRecovery**(`_slot`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -certain critical variables are protected from editing in this function -Update value of arbitrary storage variable. Can only be called by user with recovery role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_slot` | `BigNumberish` | Uint address of storage slot to be updated | -| `_value` | `BytesLike` | word of data to be set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setStorageSlotRecovery - -___ - -### setStorageSlotRecovery(uint256,bytes32) - -▸ **setStorageSlotRecovery(uint256,bytes32)**(`_slot`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -certain critical variables are protected from editing in this function -Update value of arbitrary storage variable. Can only be called by user with recovery role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_slot` | `BigNumberish` | Uint address of storage slot to be updated | -| `_value` | `BytesLike` | word of data to be set | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setStorageSlotRecovery(uint256,bytes32) - -___ - -### setTaskBrief - -▸ **setTaskBrief**(`_id`, `_specificationHash`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the hash for the task brief, aka task work specification, which identifies the task brief content in ddb. Allowed before a task is finalized. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_specificationHash` | `BytesLike` | Unique hash of the task brief in ddb | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskBrief - -___ - -### setTaskBrief(uint256,bytes32) - -▸ **setTaskBrief(uint256,bytes32)**(`_id`, `_specificationHash`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the hash for the task brief, aka task work specification, which identifies the task brief content in ddb. Allowed before a task is finalized. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_specificationHash` | `BytesLike` | Unique hash of the task brief in ddb | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskBrief(uint256,bytes32) - -___ - -### setTaskDueDate - -▸ **setTaskDueDate**(`_id`, `_dueDate`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the due date on task `_id`. Allowed before a task is finalized. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_dueDate` | `BigNumberish` | Due date as seconds since unix epoch | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskDueDate - -___ - -### setTaskDueDate(uint256,uint256) - -▸ **setTaskDueDate(uint256,uint256)**(`_id`, `_dueDate`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the due date on task `_id`. Allowed before a task is finalized. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_dueDate` | `BigNumberish` | Due date as seconds since unix epoch | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskDueDate(uint256,uint256) - -___ - -### setTaskEvaluatorPayout - -▸ **setTaskEvaluatorPayout**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set `_token` payout for evaluator in task `_id` to `_amount`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskEvaluatorPayout - -___ - -### setTaskEvaluatorPayout(uint256,address,uint256) - -▸ **setTaskEvaluatorPayout(uint256,address,uint256)**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set `_token` payout for evaluator in task `_id` to `_amount`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskEvaluatorPayout(uint256,address,uint256) - -___ - -### setTaskEvaluatorRole - -▸ **setTaskEvaluatorRole**(`_id`, `_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -This function can only be called through `executeTaskRoleAssignment`. -Assigning evaluator role. Can only be set if there is no one currently assigned to be an evaluator. Manager of the task and user we want to assign role to both need to agree. Managers can assign themselves to this role, if there is no one currently assigned to it. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_user` | `string` | Address of the user we want to give a evaluator role to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskEvaluatorRole - -___ - -### setTaskEvaluatorRole(uint256,address) - -▸ **setTaskEvaluatorRole(uint256,address)**(`_id`, `_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -This function can only be called through `executeTaskRoleAssignment`. -Assigning evaluator role. Can only be set if there is no one currently assigned to be an evaluator. Manager of the task and user we want to assign role to both need to agree. Managers can assign themselves to this role, if there is no one currently assigned to it. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_user` | `string` | Address of the user we want to give a evaluator role to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskEvaluatorRole(uint256,address) - -___ - -### setTaskManagerPayout - -▸ **setTaskManagerPayout**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set `_token` payout for manager in task `_id` to `_amount`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskManagerPayout - -___ - -### setTaskManagerPayout(uint256,address,uint256) - -▸ **setTaskManagerPayout(uint256,address,uint256)**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set `_token` payout for manager in task `_id` to `_amount`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskManagerPayout(uint256,address,uint256) - -___ - -### setTaskManagerRole - -▸ **setTaskManagerRole**(`_id`, `_user`, `_permissionDomainId`, `_childSkillIndex`, `overrides?`): `Promise`<`ContractTransaction`\> - -This function can only be called through `executeTaskRoleAssignment`. -Assigning manager role. Current manager and user we want to assign role to both need to agree. User we want to set here also needs to be an admin. Note that the domain proof data comes at the end here to not interfere with the assembly argument unpacking. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_user` | `string` | Address of the user we want to give a manager role to | -| `_permissionDomainId` | `BigNumberish` | The domain ID in which _user has the Administration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskManagerRole - -___ - -### setTaskManagerRole(uint256,address,uint256,uint256) - -▸ **setTaskManagerRole(uint256,address,uint256,uint256)**(`_id`, `_user`, `_permissionDomainId`, `_childSkillIndex`, `overrides?`): `Promise`<`ContractTransaction`\> - -This function can only be called through `executeTaskRoleAssignment`. -Assigning manager role. Current manager and user we want to assign role to both need to agree. User we want to set here also needs to be an admin. Note that the domain proof data comes at the end here to not interfere with the assembly argument unpacking. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_user` | `string` | Address of the user we want to give a manager role to | -| `_permissionDomainId` | `BigNumberish` | The domain ID in which _user has the Administration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskManagerRole(uint256,address,uint256,uint256) - -___ - -### setTaskSkill - -▸ **setTaskSkill**(`_id`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Currently we only allow one skill per task although we have provisioned for an array of skills in `Task` struct. Allowed before a task is finalized. -Set the skill for task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_skillId` | `BigNumberish` | Id of the skill which has to be a global skill | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskSkill - -___ - -### setTaskSkill(uint256,uint256) - -▸ **setTaskSkill(uint256,uint256)**(`_id`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Currently we only allow one skill per task although we have provisioned for an array of skills in `Task` struct. Allowed before a task is finalized. -Set the skill for task `_id`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_skillId` | `BigNumberish` | Id of the skill which has to be a global skill | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskSkill(uint256,uint256) - -___ - -### setTaskWorkerPayout - -▸ **setTaskWorkerPayout**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set `_token` payout for worker in task `_id` to `_amount`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskWorkerPayout - -___ - -### setTaskWorkerPayout(uint256,address,uint256) - -▸ **setTaskWorkerPayout(uint256,address,uint256)**(`_id`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set `_token` payout for worker in task `_id` to `_amount`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_token` | `string` | Address of the token, `0x0` value indicates Ether | -| `_amount` | `BigNumberish` | Payout amount | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskWorkerPayout(uint256,address,uint256) - -___ - -### setTaskWorkerRole - -▸ **setTaskWorkerRole**(`_id`, `_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -This function can only be called through `executeTaskRoleAssignment`. -Assigning worker role. Can only be set if there is no one currently assigned to be a worker. Manager of the task and user we want to assign role to both need to agree. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_user` | `string` | Address of the user we want to give a worker role to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskWorkerRole - -___ - -### setTaskWorkerRole(uint256,address) - -▸ **setTaskWorkerRole(uint256,address)**(`_id`, `_user`, `overrides?`): `Promise`<`ContractTransaction`\> - -This function can only be called through `executeTaskRoleAssignment`. -Assigning worker role. Can only be set if there is no one currently assigned to be a worker. Manager of the task and user we want to assign role to both need to agree. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_user` | `string` | Address of the user we want to give a worker role to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setTaskWorkerRole(uint256,address) - -___ - -### setUserRoles - -▸ **setUserRoles**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_roles`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set several roles in one transaction. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give a role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_roles` | `BytesLike` | Byte array representing the desired role setting (1 for on, 0 for off) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setUserRoles - -___ - -### setUserRoles(uint256,uint256,address,uint256,bytes32) - -▸ **setUserRoles(uint256,uint256,address,uint256,bytes32)**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_roles`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set several roles in one transaction. Can be called by root role or architecture role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | Domain in which the caller has root/architecture role | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_user` | `string` | User we want to give a role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_roles` | `BytesLike` | Byte array representing the desired role setting (1 for on, 0 for off) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.setUserRoles(uint256,uint256,address,uint256,bytes32) - -___ - -### setUserRolesWithProofs - -▸ **setUserRolesWithProofs**(`_user`, `_domainId`, `_roles`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [setUserRoles](ColonyClientV12.md#setuserroles), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | User we want to give a role to | -| `_domainId` | `BigNumberish` | Domain in which we are giving user the role | -| `_roles` | `BytesLike` | Byte array representing the desired role setting (1 for on, 0 for off) | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.setUserRolesWithProofs - -___ - -### startNextRewardPayout - -▸ **startNextRewardPayout**(`_token`, `key`, `value`, `branchMask`, `siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Start next reward payout for `_token`. All funds in the reward pot for `_token` will become unavailable.Add a new payment in the colony. Can only be called by users with root permission. All tokens will be locked, and can be unlocked by calling `waiveRewardPayout` or `claimRewardPayout`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_token` | `string` | Address of the token used for reward payout | -| `key` | `BytesLike` | Some Reputation hash tree key | -| `value` | `BytesLike` | Reputation value | -| `branchMask` | `BigNumberish` | The branchmask of the proof | -| `siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.startNextRewardPayout - -___ - -### startNextRewardPayout(address,bytes,bytes,uint256,bytes32[]) - -▸ **startNextRewardPayout(address,bytes,bytes,uint256,bytes32[])**(`_token`, `key`, `value`, `branchMask`, `siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Start next reward payout for `_token`. All funds in the reward pot for `_token` will become unavailable.Add a new payment in the colony. Can only be called by users with root permission. All tokens will be locked, and can be unlocked by calling `waiveRewardPayout` or `claimRewardPayout`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_token` | `string` | Address of the token used for reward payout | -| `key` | `BytesLike` | Some Reputation hash tree key | -| `value` | `BytesLike` | Reputation value | -| `branchMask` | `BigNumberish` | The branchmask of the proof | -| `siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.startNextRewardPayout(address,bytes,bytes,uint256,bytes32[]) - -___ - -### submitTaskDeliverable - -▸ **submitTaskDeliverable**(`_id`, `_deliverableHash`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the `task.deliverableHash` and `task.completionTimestamp` properties. -Submit the task deliverable, i.e. the output of the work performed for task `_id`. Submission is allowed only to the assigned worker before the task due date. Submissions cannot be overwritten. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_deliverableHash` | `BytesLike` | Unique hash of the task deliverable content in ddb | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.submitTaskDeliverable - -___ - -### submitTaskDeliverable(uint256,bytes32) - -▸ **submitTaskDeliverable(uint256,bytes32)**(`_id`, `_deliverableHash`, `overrides?`): `Promise`<`ContractTransaction`\> - -Set the `task.deliverableHash` and `task.completionTimestamp` properties. -Submit the task deliverable, i.e. the output of the work performed for task `_id`. Submission is allowed only to the assigned worker before the task due date. Submissions cannot be overwritten. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_deliverableHash` | `BytesLike` | Unique hash of the task deliverable content in ddb | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.submitTaskDeliverable(uint256,bytes32) - -___ - -### submitTaskDeliverableAndRating - -▸ **submitTaskDeliverableAndRating**(`_id`, `_deliverableHash`, `_ratingSecret`, `overrides?`): `Promise`<`ContractTransaction`\> - -Internally call `submitTaskDeliverable` and `submitTaskWorkRating` in sequence. -Submit the task deliverable for Worker and rating for Manager. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_deliverableHash` | `BytesLike` | Unique hash of the task deliverable content in ddb | -| `_ratingSecret` | `BytesLike` | Rating secret for manager | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.submitTaskDeliverableAndRating - -___ - -### submitTaskDeliverableAndRating(uint256,bytes32,bytes32) - -▸ **submitTaskDeliverableAndRating(uint256,bytes32,bytes32)**(`_id`, `_deliverableHash`, `_ratingSecret`, `overrides?`): `Promise`<`ContractTransaction`\> - -Internally call `submitTaskDeliverable` and `submitTaskWorkRating` in sequence. -Submit the task deliverable for Worker and rating for Manager. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_deliverableHash` | `BytesLike` | Unique hash of the task deliverable content in ddb | -| `_ratingSecret` | `BytesLike` | Rating secret for manager | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.submitTaskDeliverableAndRating(uint256,bytes32,bytes32) - -___ - -### submitTaskWorkRating - -▸ **submitTaskWorkRating**(`_id`, `_role`, `_ratingSecret`, `overrides?`): `Promise`<`ContractTransaction`\> - -Submit a hashed secret of the rating for work in task `_id` which was performed by user with task role id `_role`. Allowed within 5 days period starting which whichever is first from either the deliverable being submitted or the dueDate been reached. Allowed only for evaluator to rate worker and for worker to rate manager performance. Once submitted ratings can not be changed or overwritten. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_ratingSecret` | `BytesLike` | `keccak256` hash of a salt and 0-50 rating score (in increments of 10, .e.g 0, 10, 20, 30, 40 or 50). Can be generated via `IColony.generateSecret` helper function. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.submitTaskWorkRating - -___ - -### submitTaskWorkRating(uint256,uint8,bytes32) - -▸ **submitTaskWorkRating(uint256,uint8,bytes32)**(`_id`, `_role`, `_ratingSecret`, `overrides?`): `Promise`<`ContractTransaction`\> - -Submit a hashed secret of the rating for work in task `_id` which was performed by user with task role id `_role`. Allowed within 5 days period starting which whichever is first from either the deliverable being submitted or the dueDate been reached. Allowed only for evaluator to rate worker and for worker to rate manager performance. Once submitted ratings can not be changed or overwritten. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Id of the task | -| `_role` | `BigNumberish` | Id of the role, as defined in TaskRole enum | -| `_ratingSecret` | `BytesLike` | `keccak256` hash of a salt and 0-50 rating score (in increments of 10, .e.g 0, 10, 20, 30, 40 or 50). Can be generated via `IColony.generateSecret` helper function. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.submitTaskWorkRating(uint256,uint8,bytes32) - -___ - -### transferExpenditure - -▸ **transferExpenditure**(`_id`, `_newOwner`, `overrides?`): `Promise`<`ContractTransaction`\> - -Updates the expenditure owner. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_newOwner` | `string` | New owner of expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.transferExpenditure - -___ - -### transferExpenditure(uint256,address) - -▸ **transferExpenditure(uint256,address)**(`_id`, `_newOwner`, `overrides?`): `Promise`<`ContractTransaction`\> - -Updates the expenditure owner. Can only be called by expenditure owner. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_newOwner` | `string` | New owner of expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.transferExpenditure(uint256,address) - -___ - -### transferExpenditureViaArbitration - -▸ **transferExpenditureViaArbitration**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_newOwner`, `overrides?`): `Promise`<`ContractTransaction`\> - -This is now deprecated and will be removed in a future version - -**`Deprecated Updates`** - -the expenditure owner. Can only be called by Arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_newOwner` | `string` | New owner of expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.transferExpenditureViaArbitration - -___ - -### transferExpenditureViaArbitration(uint256,uint256,uint256,address) - -▸ **transferExpenditureViaArbitration(uint256,uint256,uint256,address)**(`_permissionDomainId`, `_childSkillIndex`, `_id`, `_newOwner`, `overrides?`): `Promise`<`ContractTransaction`\> - -This is now deprecated and will be removed in a future version - -**`Deprecated Updates`** - -the expenditure owner. Can only be called by Arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, (only used if `_permissionDomainId` is different to `_domainId`) | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_newOwner` | `string` | New owner of expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.transferExpenditureViaArbitration(uint256,uint256,uint256,address) - -___ - -### transferExpenditureViaArbitrationWithProofs - -▸ **transferExpenditureViaArbitrationWithProofs**(`_id`, `_newOwner`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated`** - -Same as [transferExpenditureViaArbitration](ColonyClientV12.md#transferexpenditureviaarbitration), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_id` | `BigNumberish` | Expenditure identifier | -| `_newOwner` | `string` | New owner of expenditure | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV4.transferExpenditureViaArbitrationWithProofs - -___ - -### transferStake - -▸ **transferStake**(`_permissionDomainId`, `_childSkillIndex`, `_obligator`, `_user`, `_domainId`, `_amount`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Transfer some amount of obligated tokens. Can be called by the arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action. | -| `_childSkillIndex` | `BigNumberish` | The child index in `_permissionDomainId` where we can find `_domainId`. | -| `_obligator` | `string` | Address of the account who set the obligation. | -| `_user` | `string` | Address of the account we are transferring. | -| `_domainId` | `BigNumberish` | Domain in which we are transferring the tokens. | -| `_amount` | `BigNumberish` | Amount of internal token we are transferring. | -| `_recipient` | `string` | Recipient of the transferred tokens. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.transferStake - -___ - -### transferStake(uint256,uint256,address,address,uint256,uint256,address) - -▸ **transferStake(uint256,uint256,address,address,uint256,uint256,address)**(`_permissionDomainId`, `_childSkillIndex`, `_obligator`, `_user`, `_domainId`, `_amount`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Transfer some amount of obligated tokens. Can be called by the arbitration role. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which I have the permission to take this action. | -| `_childSkillIndex` | `BigNumberish` | The child index in `_permissionDomainId` where we can find `_domainId`. | -| `_obligator` | `string` | Address of the account who set the obligation. | -| `_user` | `string` | Address of the account we are transferring. | -| `_domainId` | `BigNumberish` | Domain in which we are transferring the tokens. | -| `_amount` | `BigNumberish` | Amount of internal token we are transferring. | -| `_recipient` | `string` | Recipient of the transferred tokens. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.transferStake(uint256,uint256,address,address,uint256,uint256,address) - -___ - -### transferStakeWithProofs - -▸ **transferStakeWithProofs**(`_obligator`, `_user`, `_domainId`, `_amount`, `_recipient`, `overrides?`): `Promise`<`ContractTransaction`\> - -Same as [transferStake](ColonyClientV12.md#transferstake), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_obligator` | `string` | Address of the account who set the obligation. | -| `_user` | `string` | Address of the account we are transferring. | -| `_domainId` | `BigNumberish` | Domain in which we are transferring the tokens. | -| `_amount` | `BigNumberish` | Amount of internal token we are transferring. | -| `_recipient` | `string` | Recipient of the transferred tokens. | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.transferStakeWithProofs - -___ - -### uninstallExtension - -▸ **uninstallExtension**(`extensionId`, `overrides?`): `Promise`<`ContractTransaction`\> - -This is a permanent action -- re-installing the extension will deploy a new contractIt is recommended to deprecate an extension before uninstalling to allow active objects to be resolved -Uninstall an extension from a colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.uninstallExtension - -___ - -### uninstallExtension(bytes32) - -▸ **uninstallExtension(bytes32)**(`extensionId`, `overrides?`): `Promise`<`ContractTransaction`\> - -This is a permanent action -- re-installing the extension will deploy a new contractIt is recommended to deprecate an extension before uninstalling to allow active objects to be resolved -Uninstall an extension from a colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.uninstallExtension(bytes32) - -___ - -### unlockToken - -▸ **unlockToken**(`overrides?`): `Promise`<`ContractTransaction`\> - -unlock the native colony token, if possible - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.unlockToken - -___ - -### unlockToken() - -▸ **unlockToken()**(`overrides?`): `Promise`<`ContractTransaction`\> - -unlock the native colony token, if possible - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `Overrides` & { `from?`: `string` } | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.unlockToken() - -___ - -### unlockTokenForUser - -▸ **unlockTokenForUser**(`user`, `lockId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Unlock the colony's token for a user. Can only be called by a network-managed extension. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `user` | `string` | The user to unlock | -| `lockId` | `BigNumberish` | The specific lock to unlock | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.unlockTokenForUser - -___ - -### unlockTokenForUser(address,uint256) - -▸ **unlockTokenForUser(address,uint256)**(`user`, `lockId`, `overrides?`): `Promise`<`ContractTransaction`\> - -Unlock the colony's token for a user. Can only be called by a network-managed extension. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `user` | `string` | The user to unlock | -| `lockId` | `BigNumberish` | The specific lock to unlock | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.unlockTokenForUser(address,uint256) - -___ - -### updateApprovalAmount - -▸ **updateApprovalAmount**(`token`, `spender`, `overrides?`): `Promise`<`ContractTransaction`\> - -Update the internal bookkeeping around external ERC20 approvals - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token which was approved | -| `spender` | `string` | The account we have approved | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.updateApprovalAmount - -___ - -### updateApprovalAmount(address,address) - -▸ **updateApprovalAmount(address,address)**(`token`, `spender`, `overrides?`): `Promise`<`ContractTransaction`\> - -Update the internal bookkeeping around external ERC20 approvals - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `token` | `string` | The address of the token which was approved | -| `spender` | `string` | The account we have approved | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.updateApprovalAmount(address,address) - -___ - -### updateColonyOrbitDB - -▸ **updateColonyOrbitDB**(`orbitdb`, `overrides?`): `Promise`<`ContractTransaction`\> - -Update a colony's orbitdb address. Can only be called by a colony with a registered subdomain - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `orbitdb` | `string` | The path of the orbitDB database to be associated with the colony | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.updateColonyOrbitDB - -___ - -### updateColonyOrbitDB(string) - -▸ **updateColonyOrbitDB(string)**(`orbitdb`, `overrides?`): `Promise`<`ContractTransaction`\> - -Update a colony's orbitdb address. Can only be called by a colony with a registered subdomain - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `orbitdb` | `string` | The path of the orbitDB database to be associated with the colony | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.updateColonyOrbitDB(string) - -___ - -### upgrade - -▸ **upgrade**(`_newVersion`, `overrides?`): `Promise`<`ContractTransaction`\> - -Downgrades are not allowed, i.e. `_newVersion` should be higher than the currect colony version. -Upgrades a colony to a new Colony contract version `_newVersion`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_newVersion` | `BigNumberish` | The target version for the upgrade | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.upgrade - -___ - -### upgrade(uint256) - -▸ **upgrade(uint256)**(`_newVersion`, `overrides?`): `Promise`<`ContractTransaction`\> - -Downgrades are not allowed, i.e. `_newVersion` should be higher than the currect colony version. -Upgrades a colony to a new Colony contract version `_newVersion`. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_newVersion` | `BigNumberish` | The target version for the upgrade | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.upgrade(uint256) - -___ - -### upgradeExtension - -▸ **upgradeExtension**(`extensionId`, `newVersion`, `overrides?`): `Promise`<`ContractTransaction`\> - -Upgrade an extension in a colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `newVersion` | `BigNumberish` | The version to upgrade to (must be one larger than the current version) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.upgradeExtension - -___ - -### upgradeExtension(bytes32,uint256) - -▸ **upgradeExtension(bytes32,uint256)**(`extensionId`, `newVersion`, `overrides?`): `Promise`<`ContractTransaction`\> - -Upgrade an extension in a colony. Secured function to authorised members. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extensionId` | `BytesLike` | keccak256 hash of the extension name, used as an indentifier | -| `newVersion` | `BigNumberish` | The version to upgrade to (must be one larger than the current version) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedIColony.upgradeExtension(bytes32,uint256) - -___ - -### upgradeExtensionChecked - -▸ **upgradeExtensionChecked**(`extension`, `newVersion?`, `overrides?`): `Promise`<`ContractTransaction`\> - -Similar to [upgradeExtension](ColonyClientV12.md#upgradeextension), but first check whether the desired extension can be upgraded to the desired version in this Colony -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `extension` | [`Extension`](../enums/Extension.md) | A [Extension](../enums/Extension.md) name | -| `newVersion?` | `number` | The desired version number of the extension you wish to upgrade | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -ColonyAugmentsV5.upgradeExtensionChecked - -___ - -### userCanSetRoles - -▸ **userCanSetRoles**(`_user`, `_domainId`, `_childSkillIndex`, `_childDomainId`, `overrides?`): `Promise`<`boolean`\> - -Check whether a given user can modify roles in the target domain `_childDomainId`. Mostly a convenience function to provide a uniform interface for extension contracts validating permissions - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose permissions we want to check | -| `_domainId` | `BigNumberish` | Domain in which the caller has the role (currently Root or Architecture) | -| `_childSkillIndex` | `BigNumberish` | The index that the `_childDomainId` is relative to `_domainId` | -| `_childDomainId` | `BigNumberish` | The domain where we want to edit roles | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.userCanSetRoles - -___ - -### userCanSetRoles(address,uint256,uint256,uint256) - -▸ **userCanSetRoles(address,uint256,uint256,uint256)**(`_user`, `_domainId`, `_childSkillIndex`, `_childDomainId`, `overrides?`): `Promise`<`boolean`\> - -Check whether a given user can modify roles in the target domain `_childDomainId`. Mostly a convenience function to provide a uniform interface for extension contracts validating permissions - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | The user whose permissions we want to check | -| `_domainId` | `BigNumberish` | Domain in which the caller has the role (currently Root or Architecture) | -| `_childSkillIndex` | `BigNumberish` | The index that the `_childDomainId` is relative to `_domainId` | -| `_childDomainId` | `BigNumberish` | The domain where we want to edit roles | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.userCanSetRoles(address,uint256,uint256,uint256) - -___ - -### verifyReputationProof - -▸ **verifyReputationProof**(`key`, `value`, `branchMask`, `siblings`, `overrides?`): `Promise`<`boolean`\> - -For more detail about branchMask and siblings, examine the PatriciaTree implementation. While external, likely only to be used by the Colony contracts, as it checks that the user is proving their own reputation in the current colony. The `verifyProof` function can be used to verify any proof, though this function is not currently exposed on the Colony's EtherRouter. -Helper function that can be used by a client to verify the correctness of a patricia proof they have been supplied with. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `key` | `BytesLike` | The key of the element the proof is for. | -| `value` | `BytesLike` | The value of the element that the proof is for. | -| `branchMask` | `BigNumberish` | The branchmask of the proof | -| `siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.verifyReputationProof - -___ - -### verifyReputationProof(bytes,bytes,uint256,bytes32[]) - -▸ **verifyReputationProof(bytes,bytes,uint256,bytes32[])**(`key`, `value`, `branchMask`, `siblings`, `overrides?`): `Promise`<`boolean`\> - -For more detail about branchMask and siblings, examine the PatriciaTree implementation. While external, likely only to be used by the Colony contracts, as it checks that the user is proving their own reputation in the current colony. The `verifyProof` function can be used to verify any proof, though this function is not currently exposed on the Colony's EtherRouter. -Helper function that can be used by a client to verify the correctness of a patricia proof they have been supplied with. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `key` | `BytesLike` | The key of the element the proof is for. | -| `value` | `BytesLike` | The value of the element that the proof is for. | -| `branchMask` | `BigNumberish` | The branchmask of the proof | -| `siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`boolean`\> - -#### Inherited from - -AugmentedIColony.verifyReputationProof(bytes,bytes,uint256,bytes32[]) - -___ - -### version - -▸ **version**(`overrides?`): `Promise`<`BigNumber`\> - -Get the Colony contract version. Starts from 1 and is incremented with every deployed contract change. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.version - -___ - -### version() - -▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> - -Get the Colony contract version. Starts from 1 and is incremented with every deployed contract change. - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedIColony.version() diff --git a/packages/colony-js/docs/api/interfaces/ColonyNetworkClient.md b/packages/colony-js/docs/api/interfaces/ColonyNetworkClient.md index 643d3edf7..ff1b5a644 100644 --- a/packages/colony-js/docs/api/interfaces/ColonyNetworkClient.md +++ b/packages/colony-js/docs/api/interfaces/ColonyNetworkClient.md @@ -112,7 +112,7 @@ ___ | `deployTokenViaNetwork(string,string,uint8)` | (`_name`: `string`, `_symbol`: `string`, `_decimals`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `deprecateExtension` | (`_extensionId`: `BytesLike`, `_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `deprecateExtension(bytes32,bool)` | (`_extensionId`: `BytesLike`, `_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `deprecateSkill(uint256)` | (`_skillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `deprecateSkill` | (`_skillId`: `BigNumberish`, `_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `deprecateSkill(uint256,bool)` | (`_skillId`: `BigNumberish`, `_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `enterRecoveryMode` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `enterRecoveryMode()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -444,7 +444,7 @@ ___ | `deployTokenViaNetwork(string,string,uint8)` | (`_name`: `string`, `_symbol`: `string`, `_decimals`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `deprecateExtension` | (`_extensionId`: `BytesLike`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `deprecateExtension(bytes32,bool)` | (`_extensionId`: `BytesLike`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `deprecateSkill(uint256)` | (`_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `deprecateSkill` | (`_skillId`: `BigNumberish`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `deprecateSkill(uint256,bool)` | (`_skillId`: `BigNumberish`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `enterRecoveryMode` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `enterRecoveryMode()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | @@ -703,7 +703,7 @@ ___ | `deployTokenViaNetwork(string,string,uint8)` | (`_name`: `string`, `_symbol`: `string`, `_decimals`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `deprecateExtension` | (`_extensionId`: `BytesLike`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `deprecateExtension(bytes32,bool)` | (`_extensionId`: `BytesLike`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `deprecateSkill(uint256)` | (`_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `deprecateSkill` | (`_skillId`: `BigNumberish`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `deprecateSkill(uint256,bool)` | (`_skillId`: `BigNumberish`, `_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `enterRecoveryMode` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `enterRecoveryMode()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -2110,15 +2110,16 @@ IColonyNetwork.deprecateExtension(bytes32,bool) ___ -### deprecateSkill(uint256) +### deprecateSkill -▸ **deprecateSkill(uint256)**(`_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> +▸ **deprecateSkill**(`_skillId`, `_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> #### Parameters | Name | Type | | :------ | :------ | | `_skillId` | `BigNumberish` | +| `_deprecated` | `boolean` | | `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2127,7 +2128,7 @@ ___ #### Inherited from -IColonyNetwork.deprecateSkill(uint256) +IColonyNetwork.deprecateSkill ___ diff --git a/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV1.md b/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV1.md index 2e1d3a8bd..57a84c40a 100644 --- a/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV1.md +++ b/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV1.md @@ -185,7 +185,7 @@ ___ ### estimateGas -• **estimateGas**: { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `cancel`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancel(uint256)`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `changeVote`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `changeVote(uint256,uint256,uint256,uint8)`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `createMotion`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `createMotion(uint256,uint256,address[],bytes[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `execute`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `execute(uint256)`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeWithoutFailure`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeWithoutFailure(uint256)`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillRoleCounts`: (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillRoleCounts(uint256,uint8)`: (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillThreshold`: (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillThreshold(uint256)`: (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getGlobalThreshold`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getGlobalThreshold()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotion`: (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotion(uint256)`: (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionCount`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionCount()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionRoleVoteCount`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionRoleVoteCount(uint256,uint8,uint8)`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionVoteThreshold`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionVoteThreshold(uint256,uint8)`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getSingleActionSummary`: (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getSingleActionSummary(address,address,bytes,address)`: (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserRoles`: (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserRoles(address,uint256)`: (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserVote`: (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserVote(uint256,address,uint8,uint8)`: (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setDomainSkillThreshold`: (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setDomainSkillThreshold(uint256,uint256)`: (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setGlobalThreshold`: (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setGlobalThreshold(uint256)`: (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setUserRoles`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setUserRoles(uint256,uint256,address,uint256,bytes32)`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `cancel`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancel(uint256)`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `changeVote`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `changeVote(uint256,uint256,uint256,uint8)`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `createMotion`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `createMotion(uint256,uint256,address[],bytes[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `execute`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `execute(uint256)`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeWithoutFailure`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeWithoutFailure(uint256)`: (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillRoleCounts`: (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillRoleCounts(uint256,uint8)`: (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillThreshold`: (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDomainSkillThreshold(uint256)`: (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getGlobalThreshold`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getGlobalThreshold()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotion`: (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotion(uint256)`: (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionCount`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionCount()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionRoleVoteCount`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionRoleVoteCount(uint256,uint8,uint8)`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionVoteThreshold`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMotionVoteThreshold(uint256,uint8)`: (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getSingleActionSummary`: (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getSingleActionSummary(address,address,bytes,address)`: (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserRoles`: (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserRoles(address,uint256)`: (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserVote`: (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getUserVote(uint256,address,uint8,uint8)`: (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setDomainSkillThreshold`: (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setDomainSkillThreshold(uint256,uint256)`: (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setGlobalThreshold`: (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setGlobalThreshold(uint256)`: (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setUserRoles`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setUserRoles(uint256,uint256,address,uint256,bytes32)`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } +• **estimateGas**: `Object` #### Inherited from diff --git a/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV2.md b/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV2.md new file mode 100644 index 000000000..9708bfd12 --- /dev/null +++ b/packages/colony-js/docs/api/interfaces/MultisigPermissionsClientV2.md @@ -0,0 +1,2408 @@ +# Interface: MultisigPermissionsClientV2 + +## Hierarchy + +- `AugmentedMultisigPermissions`<`MultisigPermissions`\> + + ↳ **`MultisigPermissionsClientV2`** + +## Properties + +### \_deployedPromise + +• **\_deployedPromise**: `Promise`<`Contract`\> + +#### Inherited from + +AugmentedMultisigPermissions.\_deployedPromise + +___ + +### \_runningEvents + +• **\_runningEvents**: `Object` + +#### Index signature + +▪ [eventTag: `string`]: `RunningEvent` + +#### Inherited from + +AugmentedMultisigPermissions.\_runningEvents + +___ + +### \_wrappedEmits + +• **\_wrappedEmits**: `Object` + +#### Index signature + +▪ [eventTag: `string`]: (...`args`: `any`[]) => `void` + +#### Inherited from + +AugmentedMultisigPermissions.\_wrappedEmits + +___ + +### address + +• `Readonly` **address**: `string` + +#### Inherited from + +AugmentedMultisigPermissions.address + +___ + +### callStatic + +• **callStatic**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `cancel` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `cancel(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `changeVote` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `changeVote(uint256,uint256,uint256,uint8)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `createMotion` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `createMotion(uint256,uint256,address[],bytes[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `execute` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `execute(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `executeWithoutFailure` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `executeWithoutFailure(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `finishUpgrade` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getDomainSkillRoleCounts` | (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getDomainSkillRoleCounts(uint256,uint8)` | (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getDomainSkillThreshold` | (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getDomainSkillThreshold(uint256)` | (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getGlobalThreshold` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getGlobalThreshold()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMotion` | (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`MotionStructOutput`\> | +| `getMotion(uint256)` | (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`MotionStructOutput`\> | +| `getMotionCount` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMotionCount()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMotionRoleVoteCount` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMotionRoleVoteCount(uint256,uint8,uint8)` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMotionVoteThreshold` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMotionVoteThreshold(uint256,uint8)` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getSingleActionSummary` | (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`ActionSummaryStructOutput`\> | +| `getSingleActionSummary(address,address,bytes,address)` | (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`ActionSummaryStructOutput`\> | +| `getUserRoles` | (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getUserRoles(address,uint256)` | (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getUserVote` | (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getUserVote(uint256,address,uint8,uint8)` | (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `install` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setDomainSkillThreshold` | (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setDomainSkillThreshold(uint256,uint256)` | (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setGlobalThreshold` | (`_globalThreshold`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setGlobalThreshold(uint256)` | (`_globalThreshold`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setUserRoles` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setUserRoles(uint256,uint256,address,uint256,bytes32)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `uninstall` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `uninstall()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | + +#### Inherited from + +AugmentedMultisigPermissions.callStatic + +___ + +### clientType + +• **clientType**: [`MultisigPermissionsClient`](../enums/ClientType.md#multisigpermissionsclient) + +#### Inherited from + +AugmentedMultisigPermissions.clientType + +___ + +### clientVersion + +• **clientVersion**: ``2`` + +#### Overrides + +AugmentedMultisigPermissions.clientVersion + +___ + +### colonyClient + +• **colonyClient**: `AugmentedIColony`<`ValidColony`\> + +An instance of the corresponding ColonyClient + +#### Inherited from + +AugmentedMultisigPermissions.colonyClient + +___ + +### deployTransaction + +• `Readonly` **deployTransaction**: `TransactionResponse` + +#### Inherited from + +AugmentedMultisigPermissions.deployTransaction + +___ + +### estimateGas + +• **estimateGas**: `Object` + +#### Inherited from + +AugmentedMultisigPermissions.estimateGas + +___ + +### filters + +• **filters**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `Annotation` | (`agent?`: ``null`` \| `string`, `txHash?`: ``null`` \| `BytesLike`, `metadata?`: ``null``) => `AnnotationEventFilter` | +| `Annotation(address,bytes32,string)` | (`agent?`: ``null`` \| `string`, `txHash?`: ``null`` \| `BytesLike`, `metadata?`: ``null``) => `AnnotationEventFilter` | +| `ApprovalChanged` | (`agent?`: ``null``, `motionId?`: ``null``, `role?`: ``null``, `approval?`: ``null``) => `ApprovalChangedEventFilter` | +| `ApprovalChanged(address,uint256,uint8,bool)` | (`agent?`: ``null``, `motionId?`: ``null``, `role?`: ``null``, `approval?`: ``null``) => `ApprovalChangedEventFilter` | +| `ArbitraryReputationUpdate` | (`agent?`: ``null``, `user?`: ``null``, `skillId?`: ``null``, `amount?`: ``null``) => `ArbitraryReputationUpdateEventFilter` | +| `ArbitraryReputationUpdate(address,address,uint256,int256)` | (`agent?`: ``null``, `user?`: ``null``, `skillId?`: ``null``, `amount?`: ``null``) => `ArbitraryReputationUpdateEventFilter` | +| `ArbitraryTransaction` | (`target?`: ``null``, `data?`: ``null``, `success?`: ``null``) => `ArbitraryTransactionEventFilter` | +| `ArbitraryTransaction(address,bytes,bool)` | (`target?`: ``null``, `data?`: ``null``, `success?`: ``null``) => `ArbitraryTransactionEventFilter` | +| `ColonyBootstrapped` | (`agent?`: ``null``, `users?`: ``null``, `amounts?`: ``null``) => `ColonyBootstrappedEventFilter` | +| `ColonyBootstrapped(address,address[],int256[])` | (`agent?`: ``null``, `users?`: ``null``, `amounts?`: ``null``) => `ColonyBootstrappedEventFilter` | +| `ColonyFundsClaimed` | (`agent?`: ``null``, `token?`: ``null``, `fee?`: ``null``, `payoutRemainder?`: ``null``) => `ColonyFundsClaimedEventFilter` | +| `ColonyFundsClaimed(address,address,uint256,uint256)` | (`agent?`: ``null``, `token?`: ``null``, `fee?`: ``null``, `payoutRemainder?`: ``null``) => `ColonyFundsClaimedEventFilter` | +| `ColonyFundsMovedBetweenFundingPots` | (`agent?`: ``null``, `fromPot?`: ``null`` \| `BigNumberish`, `toPot?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `token?`: ``null``) => `ColonyFundsMovedBetweenFundingPotsEventFilter` | +| `ColonyFundsMovedBetweenFundingPots(address,uint256,uint256,uint256,address)` | (`agent?`: ``null``, `fromPot?`: ``null`` \| `BigNumberish`, `toPot?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `token?`: ``null``) => `ColonyFundsMovedBetweenFundingPotsEventFilter` | +| `ColonyInitialised` | (`agent?`: ``null``, `colonyNetwork?`: ``null``, `token?`: ``null``) => `ColonyInitialisedEventFilter` | +| `ColonyInitialised(address,address,address)` | (`agent?`: ``null``, `colonyNetwork?`: ``null``, `token?`: ``null``) => `ColonyInitialisedEventFilter` | +| `ColonyMetadata` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataEventFilter` | +| `ColonyMetadata(address,string)` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataEventFilter` | +| `ColonyMetadataDelta` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataDeltaEventFilter` | +| `ColonyMetadataDelta(address,string)` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataDeltaEventFilter` | +| `ColonyRewardInverseSet` | (`agent?`: ``null``, `rewardInverse?`: ``null``) => `ColonyRewardInverseSetEventFilter` | +| `ColonyRewardInverseSet(address,uint256)` | (`agent?`: ``null``, `rewardInverse?`: ``null``) => `ColonyRewardInverseSetEventFilter` | +| `ColonyRoleSet` | (`agent?`: ``null``, `user?`: ``null`` \| `string`, `domainId?`: ``null`` \| `BigNumberish`, `role?`: ``null`` \| `BigNumberish`, `setTo?`: ``null``) => `ColonyRoleSetEventFilter` | +| `ColonyRoleSet(address,address,uint256,uint8,bool)` | (`agent?`: ``null``, `user?`: ``null`` \| `string`, `domainId?`: ``null`` \| `BigNumberish`, `role?`: ``null`` \| `BigNumberish`, `setTo?`: ``null``) => `ColonyRoleSetEventFilter` | +| `ColonyUpgraded` | (`agent?`: ``null``, `oldVersion?`: ``null``, `newVersion?`: ``null``) => `ColonyUpgradedEventFilter` | +| `ColonyUpgraded(address,uint256,uint256)` | (`agent?`: ``null``, `oldVersion?`: ``null``, `newVersion?`: ``null``) => `ColonyUpgradedEventFilter` | +| `DomainAdded` | (`agent?`: ``null``, `domainId?`: ``null``) => `DomainAddedEventFilter` | +| `DomainAdded(address,uint256)` | (`agent?`: ``null``, `domainId?`: ``null``) => `DomainAddedEventFilter` | +| `DomainDeprecated` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `deprecated?`: ``null``) => `DomainDeprecatedEventFilter` | +| `DomainDeprecated(address,uint256,bool)` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `deprecated?`: ``null``) => `DomainDeprecatedEventFilter` | +| `DomainMetadata` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `DomainMetadataEventFilter` | +| `DomainMetadata(address,uint256,string)` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `DomainMetadataEventFilter` | +| `DomainSkillThresholdSet` | (`domainSkillId?`: ``null``, `threshold?`: ``null``) => `DomainSkillThresholdSetEventFilter` | +| `DomainSkillThresholdSet(uint256,uint256)` | (`domainSkillId?`: ``null``, `threshold?`: ``null``) => `DomainSkillThresholdSetEventFilter` | +| `ExpenditureAdded` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureAddedEventFilter` | +| `ExpenditureAdded(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureAddedEventFilter` | +| `ExpenditureCancelled` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureCancelledEventFilter` | +| `ExpenditureCancelled(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureCancelledEventFilter` | +| `ExpenditureClaimDelaySet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `claimDelay?`: ``null``) => `ExpenditureClaimDelaySetEventFilter` | +| `ExpenditureClaimDelaySet(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `claimDelay?`: ``null``) => `ExpenditureClaimDelaySetEventFilter` | +| `ExpenditureFinalized` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureFinalizedEventFilter` | +| `ExpenditureFinalized(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureFinalizedEventFilter` | +| `ExpenditureGlobalClaimDelaySet` | (`agent?`: ``null``, `globalClaimDelay?`: ``null``) => `ExpenditureGlobalClaimDelaySetEventFilter` | +| `ExpenditureGlobalClaimDelaySet(address,uint256)` | (`agent?`: ``null``, `globalClaimDelay?`: ``null``) => `ExpenditureGlobalClaimDelaySetEventFilter` | +| `ExpenditureLocked` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureLockedEventFilter` | +| `ExpenditureLocked(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureLockedEventFilter` | +| `ExpenditureMetadataSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `ExpenditureMetadataSetEventFilter` | +| `ExpenditureMetadataSet(address,uint256,string)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `ExpenditureMetadataSetEventFilter` | +| `ExpenditurePayoutModifierSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `payoutModifier?`: ``null``) => `ExpenditurePayoutModifierSetEventFilter` | +| `ExpenditurePayoutModifierSet(address,uint256,uint256,int256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `payoutModifier?`: ``null``) => `ExpenditurePayoutModifierSetEventFilter` | +| `ExpenditurePayoutSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `token?`: ``null`` \| `string`, `amount?`: ``null``) => `ExpenditurePayoutSetEventFilter` | +| `ExpenditurePayoutSet(address,uint256,uint256,address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `token?`: ``null`` \| `string`, `amount?`: ``null``) => `ExpenditurePayoutSetEventFilter` | +| `ExpenditureRecipientSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `recipient?`: ``null`` \| `string`) => `ExpenditureRecipientSetEventFilter` | +| `ExpenditureRecipientSet(address,uint256,uint256,address)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `recipient?`: ``null`` \| `string`) => `ExpenditureRecipientSetEventFilter` | +| `ExpenditureSkillSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `ExpenditureSkillSetEventFilter` | +| `ExpenditureSkillSet(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `ExpenditureSkillSetEventFilter` | +| `ExpenditureStateChanged` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `storageSlot?`: ``null`` \| `BigNumberish`, `mask?`: ``null``, `keys?`: ``null``, `value?`: ``null``) => `ExpenditureStateChangedEventFilter` | +| `ExpenditureStateChanged(address,uint256,uint256,bool[],bytes32[],bytes32)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `storageSlot?`: ``null`` \| `BigNumberish`, `mask?`: ``null``, `keys?`: ``null``, `value?`: ``null``) => `ExpenditureStateChangedEventFilter` | +| `ExpenditureTransferred` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `owner?`: ``null`` \| `string`) => `ExpenditureTransferredEventFilter` | +| `ExpenditureTransferred(address,uint256,address)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `owner?`: ``null`` \| `string`) => `ExpenditureTransferredEventFilter` | +| `ExtensionInitialised` | () => `ExtensionInitialisedEventFilter` | +| `ExtensionInitialised()` | () => `ExtensionInitialisedEventFilter` | +| `FundingPotAdded` | (`fundingPotId?`: ``null``) => `FundingPotAddedEventFilter` | +| `FundingPotAdded(uint256)` | (`fundingPotId?`: ``null``) => `FundingPotAddedEventFilter` | +| `GlobalThresholdSet` | (`globalThreshold?`: ``null``) => `GlobalThresholdSetEventFilter` | +| `GlobalThresholdSet(uint256)` | (`globalThreshold?`: ``null``) => `GlobalThresholdSetEventFilter` | +| `LocalSkillAdded` | (`agent?`: ``null``, `localSkillId?`: ``null``) => `LocalSkillAddedEventFilter` | +| `LocalSkillAdded(address,uint256)` | (`agent?`: ``null``, `localSkillId?`: ``null``) => `LocalSkillAddedEventFilter` | +| `LocalSkillDeprecated` | (`agent?`: ``null``, `localSkillId?`: ``null``, `deprecated?`: ``null``) => `LocalSkillDeprecatedEventFilter` | +| `LocalSkillDeprecated(address,uint256,bool)` | (`agent?`: ``null``, `localSkillId?`: ``null``, `deprecated?`: ``null``) => `LocalSkillDeprecatedEventFilter` | +| `LogSetAuthority` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | +| `LogSetAuthority(address)` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | +| `LogSetOwner` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | +| `LogSetOwner(address)` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | +| `MetaTransactionExecuted` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | +| `MetaTransactionExecuted(address,address,bytes)` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | +| `MotionCancelled` | (`agent?`: ``null``, `motionId?`: ``null``) => `MotionCancelledEventFilter` | +| `MotionCancelled(address,uint256)` | (`agent?`: ``null``, `motionId?`: ``null``) => `MotionCancelledEventFilter` | +| `MotionCreated` | (`agent?`: ``null``, `motionId?`: ``null``) => `MotionCreatedEventFilter` | +| `MotionCreated(address,uint256)` | (`agent?`: ``null``, `motionId?`: ``null``) => `MotionCreatedEventFilter` | +| `MotionExecuted` | (`agent?`: ``null``, `motionId?`: ``null``, `success?`: ``null``) => `MotionExecutedEventFilter` | +| `MotionExecuted(address,uint256,bool)` | (`agent?`: ``null``, `motionId?`: ``null``, `success?`: ``null``) => `MotionExecutedEventFilter` | +| `MultisigRoleSet` | (`agent?`: ``null``, `user?`: ``null``, `domainId?`: ``null``, `roleId?`: ``null``, `setTo?`: ``null``) => `MultisigRoleSetEventFilter` | +| `MultisigRoleSet(address,address,uint256,uint256,bool)` | (`agent?`: ``null``, `user?`: ``null``, `domainId?`: ``null``, `roleId?`: ``null``, `setTo?`: ``null``) => `MultisigRoleSetEventFilter` | +| `PaymentAdded` | (`agent?`: ``null``, `paymentId?`: ``null``) => `PaymentAddedEventFilter` | +| `PaymentAdded(address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null``) => `PaymentAddedEventFilter` | +| `PaymentFinalized` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`) => `PaymentFinalizedEventFilter` | +| `PaymentFinalized(address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`) => `PaymentFinalizedEventFilter` | +| `PaymentPayoutSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PaymentPayoutSetEventFilter` | +| `PaymentPayoutSet(address,uint256,address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PaymentPayoutSetEventFilter` | +| `PaymentRecipientSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `recipient?`: ``null``) => `PaymentRecipientSetEventFilter` | +| `PaymentRecipientSet(address,uint256,address)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `recipient?`: ``null``) => `PaymentRecipientSetEventFilter` | +| `PaymentSkillSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null``) => `PaymentSkillSetEventFilter` | +| `PaymentSkillSet(address,uint256,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null``) => `PaymentSkillSetEventFilter` | +| `PayoutClaimed(address,uint256,address,uint256)` | (`agent?`: ``null``, `fundingPotId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PayoutClaimed_address_uint256_address_uint256_EventFilter` | +| `PayoutClaimed(address,uint256,uint256,address,uint256)` | (`agent?`: ``null``, `id?`: ``null``, `slot?`: ``null``, `token?`: ``null``, `tokenPayout?`: ``null``) => `PayoutClaimed_address_uint256_uint256_address_uint256_EventFilter` | +| `RejectionChanged` | (`agent?`: ``null``, `motionId?`: ``null``, `role?`: ``null``, `approval?`: ``null``) => `RejectionChangedEventFilter` | +| `RejectionChanged(address,uint256,uint8,bool)` | (`agent?`: ``null``, `motionId?`: ``null``, `role?`: ``null``, `approval?`: ``null``) => `RejectionChangedEventFilter` | +| `RewardPayoutClaimed` | (`rewardPayoutId?`: ``null``, `user?`: ``null``, `fee?`: ``null``, `rewardRemainder?`: ``null``) => `RewardPayoutClaimedEventFilter` | +| `RewardPayoutClaimed(uint256,address,uint256,uint256)` | (`rewardPayoutId?`: ``null``, `user?`: ``null``, `fee?`: ``null``, `rewardRemainder?`: ``null``) => `RewardPayoutClaimedEventFilter` | +| `RewardPayoutCycleEnded` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleEndedEventFilter` | +| `RewardPayoutCycleEnded(address,uint256)` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleEndedEventFilter` | +| `RewardPayoutCycleStarted` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleStartedEventFilter` | +| `RewardPayoutCycleStarted(address,uint256)` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleStartedEventFilter` | +| `TaskAdded` | (`agent?`: ``null``, `taskId?`: ``null``) => `TaskAddedEventFilter` | +| `TaskAdded(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null``) => `TaskAddedEventFilter` | +| `TaskBriefSet` | (`taskId?`: ``null`` \| `BigNumberish`, `specificationHash?`: ``null``) => `TaskBriefSetEventFilter` | +| `TaskBriefSet(uint256,bytes32)` | (`taskId?`: ``null`` \| `BigNumberish`, `specificationHash?`: ``null``) => `TaskBriefSetEventFilter` | +| `TaskCanceled` | (`taskId?`: ``null`` \| `BigNumberish`) => `TaskCanceledEventFilter` | +| `TaskCanceled(uint256)` | (`taskId?`: ``null`` \| `BigNumberish`) => `TaskCanceledEventFilter` | +| `TaskChangedViaSignatures` | (`reviewerAddresses?`: ``null``) => `TaskChangedViaSignaturesEventFilter` | +| `TaskChangedViaSignatures(address[])` | (`reviewerAddresses?`: ``null``) => `TaskChangedViaSignaturesEventFilter` | +| `TaskCompleted` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskCompletedEventFilter` | +| `TaskCompleted(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskCompletedEventFilter` | +| `TaskDeliverableSubmitted` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `deliverableHash?`: ``null``) => `TaskDeliverableSubmittedEventFilter` | +| `TaskDeliverableSubmitted(address,uint256,bytes32)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `deliverableHash?`: ``null``) => `TaskDeliverableSubmittedEventFilter` | +| `TaskDueDateSet` | (`taskId?`: ``null`` \| `BigNumberish`, `dueDate?`: ``null``) => `TaskDueDateSetEventFilter` | +| `TaskDueDateSet(uint256,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `dueDate?`: ``null``) => `TaskDueDateSetEventFilter` | +| `TaskFinalized` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskFinalizedEventFilter` | +| `TaskFinalized(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskFinalizedEventFilter` | +| `TaskPayoutSet` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TaskPayoutSetEventFilter` | +| `TaskPayoutSet(uint256,uint8,address,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TaskPayoutSetEventFilter` | +| `TaskRoleUserSet` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `user?`: ``null`` \| `string`) => `TaskRoleUserSetEventFilter` | +| `TaskRoleUserSet(uint256,uint8,address)` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `user?`: ``null`` \| `string`) => `TaskRoleUserSetEventFilter` | +| `TaskSkillSet` | (`taskId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `TaskSkillSetEventFilter` | +| `TaskSkillSet(uint256,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `TaskSkillSetEventFilter` | +| `TaskWorkRatingRevealed` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `rating?`: ``null``) => `TaskWorkRatingRevealedEventFilter` | +| `TaskWorkRatingRevealed(address,uint256,uint8,uint8)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `rating?`: ``null``) => `TaskWorkRatingRevealedEventFilter` | +| `TokenUnlocked` | (`agent?`: ``null``) => `TokenUnlockedEventFilter` | +| `TokenUnlocked(address)` | (`agent?`: ``null``) => `TokenUnlockedEventFilter` | +| `TokensBurned` | (`agent?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TokensBurnedEventFilter` | +| `TokensBurned(address,address,uint256)` | (`agent?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TokensBurnedEventFilter` | +| `TokensMinted` | (`agent?`: ``null``, `who?`: ``null``, `amount?`: ``null``) => `TokensMintedEventFilter` | +| `TokensMinted(address,address,uint256)` | (`agent?`: ``null``, `who?`: ``null``, `amount?`: ``null``) => `TokensMintedEventFilter` | + +#### Inherited from + +AugmentedMultisigPermissions.filters + +___ + +### functions + +• **functions**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `cancel` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `cancel(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `changeVote` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `changeVote(uint256,uint256,uint256,uint8)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `createMotion` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `createMotion(uint256,uint256,address[],bytes[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `execute` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `execute(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeWithoutFailure` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeWithoutFailure(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getDomainSkillRoleCounts` | (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getDomainSkillRoleCounts(uint256,uint8)` | (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getDomainSkillThreshold` | (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getDomainSkillThreshold(uint256)` | (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getGlobalThreshold` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getGlobalThreshold()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMotion` | (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`MotionStructOutput`]\> | +| `getMotion(uint256)` | (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`MotionStructOutput`]\> | +| `getMotionCount` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getMotionCount()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getMotionRoleVoteCount` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getMotionRoleVoteCount(uint256,uint8,uint8)` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getMotionVoteThreshold` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getMotionVoteThreshold(uint256,uint8)` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getSingleActionSummary` | (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`ActionSummaryStructOutput`]\> | +| `getSingleActionSummary(address,address,bytes,address)` | (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`ActionSummaryStructOutput`]\> | +| `getUserRoles` | (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getUserRoles(address,uint256)` | (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getUserVote` | (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getUserVote(uint256,address,uint8,uint8)` | (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setDomainSkillThreshold` | (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setDomainSkillThreshold(uint256,uint256)` | (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setGlobalThreshold` | (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setGlobalThreshold(uint256)` | (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setUserRoles` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setUserRoles(uint256,uint256,address,uint256,bytes32)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | + +#### Inherited from + +AugmentedMultisigPermissions.functions + +___ + +### interface + +• **interface**: `MultisigPermissionsInterface` + +#### Inherited from + +AugmentedMultisigPermissions.interface + +___ + +### multisigPermissionsEvents + +• **multisigPermissionsEvents**: `MultisigPermissionsEvents` + +The multisigPermissionsEvents contract supports all events across all versions. +Isn't that amazing? +It's an ethers contract with only events to filter + +#### Inherited from + +AugmentedMultisigPermissions.multisigPermissionsEvents + +___ + +### off + +• **off**: `OnEvent`<[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md)\> + +#### Inherited from + +AugmentedMultisigPermissions.off + +___ + +### on + +• **on**: `OnEvent`<[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md)\> + +#### Inherited from + +AugmentedMultisigPermissions.on + +___ + +### once + +• **once**: `OnEvent`<[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md)\> + +#### Inherited from + +AugmentedMultisigPermissions.once + +___ + +### populateTransaction + +• **populateTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `cancel` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `cancel(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `changeVote` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `changeVote(uint256,uint256,uint256,uint8)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_motionId`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `createMotion` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `createMotion(uint256,uint256,address[],bytes[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_targets`: `string`[], `_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `execute` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `execute(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeWithoutFailure` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeWithoutFailure(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDomainSkillRoleCounts` | (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDomainSkillRoleCounts(uint256,uint8)` | (`_domainSkillId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDomainSkillThreshold` | (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDomainSkillThreshold(uint256)` | (`_domainSkillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getGlobalThreshold` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getGlobalThreshold()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotion` | (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotion(uint256)` | (`motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotionCount` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotionCount()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotionRoleVoteCount` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotionRoleVoteCount(uint256,uint8,uint8)` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotionVoteThreshold` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMotionVoteThreshold(uint256,uint8)` | (`_motionId`: `BigNumberish`, `_role`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getSingleActionSummary` | (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getSingleActionSummary(address,address,bytes,address)` | (`colonyNetworkAddress`: `string`, `colonyAddress`: `string`, `_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getUserRoles` | (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getUserRoles(address,uint256)` | (`who`: `string`, `where`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getUserVote` | (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getUserVote(uint256,address,uint8,uint8)` | (`_motionId`: `BigNumberish`, `_user`: `string`, `_role`: `BigNumberish`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setDomainSkillThreshold` | (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setDomainSkillThreshold(uint256,uint256)` | (`_domainSkillId`: `BigNumberish`, `_threshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setGlobalThreshold` | (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setGlobalThreshold(uint256)` | (`_globalThreshold`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setUserRoles` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setUserRoles(uint256,uint256,address,uint256,bytes32)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_user`: `string`, `_domainId`: `BigNumberish`, `_roles`: `BytesLike`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | + +#### Inherited from + +AugmentedMultisigPermissions.populateTransaction + +___ + +### provider + +• `Readonly` **provider**: `Provider` + +#### Inherited from + +AugmentedMultisigPermissions.provider + +___ + +### removeListener + +• **removeListener**: `OnEvent`<[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md)\> + +#### Inherited from + +AugmentedMultisigPermissions.removeListener + +___ + +### resolvedAddress + +• `Readonly` **resolvedAddress**: `Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.resolvedAddress + +___ + +### signer + +• `Readonly` **signer**: `Signer` + +#### Inherited from + +AugmentedMultisigPermissions.signer + +## Methods + +### \_checkRunningEvents + +▸ **_checkRunningEvents**(`runningEvent`): `void` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `runningEvent` | `RunningEvent` | + +#### Returns + +`void` + +#### Inherited from + +AugmentedMultisigPermissions.\_checkRunningEvents + +___ + +### \_deployed + +▸ **_deployed**(`blockTag?`): `Promise`<`Contract`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `blockTag?` | `BlockTag` | + +#### Returns + +`Promise`<`Contract`\> + +#### Inherited from + +AugmentedMultisigPermissions.\_deployed + +___ + +### \_wrapEvent + +▸ **_wrapEvent**(`runningEvent`, `log`, `listener`): `Event` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `runningEvent` | `RunningEvent` | +| `log` | `Log` | +| `listener` | `Listener` | + +#### Returns + +`Event` + +#### Inherited from + +AugmentedMultisigPermissions.\_wrapEvent + +___ + +### attach + +▸ **attach**(`addressOrName`): [`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `addressOrName` | `string` | + +#### Returns + +[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Inherited from + +AugmentedMultisigPermissions.attach + +___ + +### authority + +▸ **authority**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.authority + +___ + +### authority() + +▸ **authority()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.authority() + +___ + +### cancel + +▸ **cancel**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.cancel + +___ + +### cancel(uint256) + +▸ **cancel(uint256)**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.cancel(uint256) + +___ + +### changeVote + +▸ **changeVote**(`_permissionDomainId`, `_childSkillIndex`, `_motionId`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_motionId` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.changeVote + +___ + +### changeVote(uint256,uint256,uint256,uint8) + +▸ **changeVote(uint256,uint256,uint256,uint8)**(`_permissionDomainId`, `_childSkillIndex`, `_motionId`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_motionId` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.changeVote(uint256,uint256,uint256,uint8) + +___ + +### connect + +▸ **connect**(`signerOrProvider`): [`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `signerOrProvider` | `string` \| `Signer` \| `Provider` | + +#### Returns + +[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Inherited from + +AugmentedMultisigPermissions.connect + +___ + +### createMotion + +▸ **createMotion**(`_permissionDomainId`, `_childSkillIndex`, `_targets`, `_data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_targets` | `string`[] | +| `_data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.createMotion + +___ + +### createMotion(uint256,uint256,address[],bytes[]) + +▸ **createMotion(uint256,uint256,address[],bytes[])**(`_permissionDomainId`, `_childSkillIndex`, `_targets`, `_data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_targets` | `string`[] | +| `_data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.createMotion(uint256,uint256,address[],bytes[]) + +___ + +### deployed + +▸ **deployed**(): `Promise`<[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md)\> + +#### Returns + +`Promise`<[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md)\> + +#### Inherited from + +AugmentedMultisigPermissions.deployed + +___ + +### deprecate + +▸ **deprecate**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.deprecate + +___ + +### deprecate(bool) + +▸ **deprecate(bool)**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.deprecate(bool) + +___ + +### emit + +▸ **emit**(`eventName`, `...args`): `boolean` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName` | `string` \| `EventFilter` | +| `...args` | `any`[] | + +#### Returns + +`boolean` + +#### Inherited from + +AugmentedMultisigPermissions.emit + +___ + +### execute + +▸ **execute**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.execute + +___ + +### execute(uint256) + +▸ **execute(uint256)**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.execute(uint256) + +___ + +### executeMetaTransaction + +▸ **executeMetaTransaction**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.executeMetaTransaction + +___ + +### executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) + +▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) + +___ + +### executeWithoutFailure + +▸ **executeWithoutFailure**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.executeWithoutFailure + +___ + +### executeWithoutFailure(uint256) + +▸ **executeWithoutFailure(uint256)**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.executeWithoutFailure(uint256) + +___ + +### fallback + +▸ **fallback**(`overrides?`): `Promise`<`TransactionResponse`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `TransactionRequest` | + +#### Returns + +`Promise`<`TransactionResponse`\> + +#### Inherited from + +AugmentedMultisigPermissions.fallback + +___ + +### finishUpgrade + +▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.finishUpgrade + +___ + +### finishUpgrade() + +▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.finishUpgrade() + +___ + +### getCapabilityRoles + +▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.getCapabilityRoles + +___ + +### getCapabilityRoles(bytes4) + +▸ **getCapabilityRoles(bytes4)**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.getCapabilityRoles(bytes4) + +___ + +### getColony + +▸ **getColony**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.getColony + +___ + +### getColony() + +▸ **getColony()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.getColony() + +___ + +### getDeprecated + +▸ **getDeprecated**(`overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedMultisigPermissions.getDeprecated + +___ + +### getDeprecated() + +▸ **getDeprecated()**(`overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedMultisigPermissions.getDeprecated() + +___ + +### getDomainSkillRoleCounts + +▸ **getDomainSkillRoleCounts**(`_domainSkillId`, `_role`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_domainSkillId` | `BigNumberish` | +| `_role` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getDomainSkillRoleCounts + +___ + +### getDomainSkillRoleCounts(uint256,uint8) + +▸ **getDomainSkillRoleCounts(uint256,uint8)**(`_domainSkillId`, `_role`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_domainSkillId` | `BigNumberish` | +| `_role` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getDomainSkillRoleCounts(uint256,uint8) + +___ + +### getDomainSkillThreshold + +▸ **getDomainSkillThreshold**(`_domainSkillId`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_domainSkillId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getDomainSkillThreshold + +___ + +### getDomainSkillThreshold(uint256) + +▸ **getDomainSkillThreshold(uint256)**(`_domainSkillId`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_domainSkillId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getDomainSkillThreshold(uint256) + +___ + +### getGlobalThreshold + +▸ **getGlobalThreshold**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getGlobalThreshold + +___ + +### getGlobalThreshold() + +▸ **getGlobalThreshold()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getGlobalThreshold() + +___ + +### getMetatransactionNonce + +▸ **getMetatransactionNonce**(`_user`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMetatransactionNonce + +___ + +### getMetatransactionNonce(address) + +▸ **getMetatransactionNonce(address)**(`_user`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMetatransactionNonce(address) + +___ + +### getMotion + +▸ **getMotion**(`motionId`, `overrides?`): `Promise`<`MotionStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`MotionStructOutput`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotion + +___ + +### getMotion(uint256) + +▸ **getMotion(uint256)**(`motionId`, `overrides?`): `Promise`<`MotionStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`MotionStructOutput`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotion(uint256) + +___ + +### getMotionCount + +▸ **getMotionCount**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotionCount + +___ + +### getMotionCount() + +▸ **getMotionCount()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotionCount() + +___ + +### getMotionRoleVoteCount + +▸ **getMotionRoleVoteCount**(`_motionId`, `_role`, `_vote`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_role` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotionRoleVoteCount + +___ + +### getMotionRoleVoteCount(uint256,uint8,uint8) + +▸ **getMotionRoleVoteCount(uint256,uint8,uint8)**(`_motionId`, `_role`, `_vote`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_role` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotionRoleVoteCount(uint256,uint8,uint8) + +___ + +### getMotionVoteThreshold + +▸ **getMotionVoteThreshold**(`_motionId`, `_role`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_role` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotionVoteThreshold + +___ + +### getMotionVoteThreshold(uint256,uint8) + +▸ **getMotionVoteThreshold(uint256,uint8)**(`_motionId`, `_role`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_role` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.getMotionVoteThreshold(uint256,uint8) + +___ + +### getSingleActionSummary + +▸ **getSingleActionSummary**(`colonyNetworkAddress`, `colonyAddress`, `_action`, `_altTarget`, `overrides?`): `Promise`<`ActionSummaryStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `colonyNetworkAddress` | `string` | +| `colonyAddress` | `string` | +| `_action` | `BytesLike` | +| `_altTarget` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`ActionSummaryStructOutput`\> + +#### Inherited from + +AugmentedMultisigPermissions.getSingleActionSummary + +___ + +### getSingleActionSummary(address,address,bytes,address) + +▸ **getSingleActionSummary(address,address,bytes,address)**(`colonyNetworkAddress`, `colonyAddress`, `_action`, `_altTarget`, `overrides?`): `Promise`<`ActionSummaryStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `colonyNetworkAddress` | `string` | +| `colonyAddress` | `string` | +| `_action` | `BytesLike` | +| `_altTarget` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`ActionSummaryStructOutput`\> + +#### Inherited from + +AugmentedMultisigPermissions.getSingleActionSummary(address,address,bytes,address) + +___ + +### getUserRoles + +▸ **getUserRoles**(`who`, `where`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `who` | `string` | +| `where` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.getUserRoles + +___ + +### getUserRoles(address,uint256) + +▸ **getUserRoles(address,uint256)**(`who`, `where`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `who` | `string` | +| `where` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.getUserRoles(address,uint256) + +___ + +### getUserVote + +▸ **getUserVote**(`_motionId`, `_user`, `_role`, `_vote`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_user` | `string` | +| `_role` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedMultisigPermissions.getUserVote + +___ + +### getUserVote(uint256,address,uint8,uint8) + +▸ **getUserVote(uint256,address,uint8,uint8)**(`_motionId`, `_user`, `_role`, `_vote`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_user` | `string` | +| `_role` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedMultisigPermissions.getUserVote(uint256,address,uint8,uint8) + +___ + +### identifier + +▸ **identifier**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.identifier + +___ + +### identifier() + +▸ **identifier()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.identifier() + +___ + +### install + +▸ **install**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.install + +___ + +### install(address) + +▸ **install(address)**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.install(address) + +___ + +### listenerCount + +▸ **listenerCount**(`eventName?`): `number` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` \| `EventFilter` | + +#### Returns + +`number` + +#### Inherited from + +AugmentedMultisigPermissions.listenerCount + +___ + +### listeners + +▸ **listeners**<`TEvent`\>(`eventFilter?`): `TypedListener`<`TEvent`\>[] + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventFilter?` | `TypedEventFilter`<`TEvent`\> | + +#### Returns + +`TypedListener`<`TEvent`\>[] + +#### Inherited from + +AugmentedMultisigPermissions.listeners + +▸ **listeners**(`eventName?`): `Listener`[] + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` | + +#### Returns + +`Listener`[] + +#### Inherited from + +AugmentedMultisigPermissions.listeners + +___ + +### multicall + +▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.multicall(bytes[]) + +___ + +### owner + +▸ **owner**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.owner + +___ + +### owner() + +▸ **owner()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedMultisigPermissions.owner() + +___ + +### queryFilter + +▸ **queryFilter**<`TEvent`\>(`event`, `fromBlockOrBlockhash?`, `toBlock?`): `Promise`<`TEvent`[]\> + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `event` | `TypedEventFilter`<`TEvent`\> | +| `fromBlockOrBlockhash?` | `string` \| `number` | +| `toBlock?` | `string` \| `number` | + +#### Returns + +`Promise`<`TEvent`[]\> + +#### Inherited from + +AugmentedMultisigPermissions.queryFilter + +___ + +### removeAllListeners + +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventFilter` | `TypedEventFilter`<`TEvent`\> | + +#### Returns + +[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Inherited from + +AugmentedMultisigPermissions.removeAllListeners + +▸ **removeAllListeners**(`eventName?`): [`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` | + +#### Returns + +[`MultisigPermissionsClientV2`](MultisigPermissionsClientV2.md) + +#### Inherited from + +AugmentedMultisigPermissions.removeAllListeners + +___ + +### setAuthority + +▸ **setAuthority**(`authority_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `authority_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setAuthority + +___ + +### setAuthority(address) + +▸ **setAuthority(address)**(`authority_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `authority_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setAuthority(address) + +___ + +### setDomainSkillThreshold + +▸ **setDomainSkillThreshold**(`_domainSkillId`, `_threshold`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_domainSkillId` | `BigNumberish` | +| `_threshold` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setDomainSkillThreshold + +___ + +### setDomainSkillThreshold(uint256,uint256) + +▸ **setDomainSkillThreshold(uint256,uint256)**(`_domainSkillId`, `_threshold`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_domainSkillId` | `BigNumberish` | +| `_threshold` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setDomainSkillThreshold(uint256,uint256) + +___ + +### setGlobalThreshold + +▸ **setGlobalThreshold**(`_globalThreshold`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_globalThreshold` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setGlobalThreshold + +___ + +### setGlobalThreshold(uint256) + +▸ **setGlobalThreshold(uint256)**(`_globalThreshold`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_globalThreshold` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setGlobalThreshold(uint256) + +___ + +### setOwner + +▸ **setOwner**(`owner_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `owner_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setOwner + +___ + +### setOwner(address) + +▸ **setOwner(address)**(`owner_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `owner_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setOwner(address) + +___ + +### setUserRoles + +▸ **setUserRoles**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_roles`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_user` | `string` | +| `_domainId` | `BigNumberish` | +| `_roles` | `BytesLike` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setUserRoles + +___ + +### setUserRoles(uint256,uint256,address,uint256,bytes32) + +▸ **setUserRoles(uint256,uint256,address,uint256,bytes32)**(`_permissionDomainId`, `_childSkillIndex`, `_user`, `_domainId`, `_roles`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_user` | `string` | +| `_domainId` | `BigNumberish` | +| `_roles` | `BytesLike` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.setUserRoles(uint256,uint256,address,uint256,bytes32) + +___ + +### uninstall + +▸ **uninstall**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.uninstall + +___ + +### uninstall() + +▸ **uninstall()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedMultisigPermissions.uninstall() + +___ + +### verify + +▸ **verify**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_nonce` | `BigNumberish` | +| `_chainId` | `BigNumberish` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedMultisigPermissions.verify + +___ + +### verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) + +▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_nonce` | `BigNumberish` | +| `_chainId` | `BigNumberish` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedMultisigPermissions.verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) + +___ + +### version + +▸ **version**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.version + +___ + +### version() + +▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedMultisigPermissions.version() diff --git a/packages/colony-js/docs/api/interfaces/OneTxPaymentClientV3.md b/packages/colony-js/docs/api/interfaces/OneTxPaymentClientV9.md similarity index 74% rename from packages/colony-js/docs/api/interfaces/OneTxPaymentClientV3.md rename to packages/colony-js/docs/api/interfaces/OneTxPaymentClientV9.md index 1424e277f..7e4fa687a 100644 --- a/packages/colony-js/docs/api/interfaces/OneTxPaymentClientV3.md +++ b/packages/colony-js/docs/api/interfaces/OneTxPaymentClientV9.md @@ -1,10 +1,10 @@ -# Interface: OneTxPaymentClientV3 +# Interface: OneTxPaymentClientV9 ## Hierarchy - `AugmentedOneTxPayment`<`OneTxPayment`\> - ↳ **`OneTxPaymentClientV3`** + ↳ **`OneTxPaymentClientV9`** ## Properties @@ -74,14 +74,12 @@ ___ | `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `install` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -90,6 +88,8 @@ ___ | `makePayment(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `makePaymentFundedFromDomain` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `makePaymentFundedFromDomain(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -98,8 +98,8 @@ ___ | `setOwner(address)` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `uninstall` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `uninstall()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -121,7 +121,7 @@ ___ ### clientVersion -• **clientVersion**: ``3`` +• **clientVersion**: ``9`` #### Overrides @@ -202,24 +202,24 @@ ___ | `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_roles`: `string` }\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_roles`: `string` }\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | | `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | -| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `makePayment` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `makePayment(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `makePaymentFundedFromDomain` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `makePaymentFundedFromDomain(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | @@ -228,10 +228,10 @@ ___ | `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | #### Inherited from @@ -251,7 +251,7 @@ ___ ### off -• **off**: `OnEvent`<[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md)\> +• **off**: `OnEvent`<[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md)\> #### Inherited from @@ -261,7 +261,7 @@ ___ ### on -• **on**: `OnEvent`<[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md)\> +• **on**: `OnEvent`<[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md)\> #### Inherited from @@ -271,7 +271,7 @@ ___ ### once -• **once**: `OnEvent`<[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md)\> +• **once**: `OnEvent`<[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md)\> #### Inherited from @@ -311,14 +311,12 @@ ___ | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -327,6 +325,8 @@ ___ | `makePayment(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `makePaymentFundedFromDomain` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `makePaymentFundedFromDomain(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_callerPermissionDomainId`: `BigNumberish`, `_callerChildSkillIndex`: `BigNumberish`, `_workers`: `string`[], `_tokens`: `string`[], `_amounts`: `BigNumberish`[], `_domainId`: `BigNumberish`, `_skillId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -335,8 +335,8 @@ ___ | `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -358,7 +358,7 @@ ___ ### removeListener -• **removeListener**: `OnEvent`<[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md)\> +• **removeListener**: `OnEvent`<[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md)\> #### Inherited from @@ -450,7 +450,7 @@ ___ ### attach -▸ **attach**(`addressOrName`): [`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +▸ **attach**(`addressOrName`): [`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Parameters @@ -460,7 +460,7 @@ ___ #### Returns -[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Inherited from @@ -510,7 +510,7 @@ ___ ### connect -▸ **connect**(`signerOrProvider`): [`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +▸ **connect**(`signerOrProvider`): [`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Parameters @@ -520,7 +520,7 @@ ___ #### Returns -[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Inherited from @@ -530,11 +530,11 @@ ___ ### deployed -▸ **deployed**(): `Promise`<[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md)\> +▸ **deployed**(): `Promise`<[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md)\> #### Returns -`Promise`<[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md)\> +`Promise`<[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md)\> #### Inherited from @@ -546,8 +546,6 @@ ___ ▸ **deprecate**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> -Called when deprecating (or undeprecating) the extension - #### Parameters | Name | Type | @@ -569,8 +567,6 @@ ___ ▸ **deprecate(bool)**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> -Called when deprecating (or undeprecating) the extension - #### Parameters | Name | Type | @@ -613,18 +609,16 @@ ___ ▸ **executeMetaTransaction**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of user trying to do meta transaction | -| `_payload` | `BytesLike` | Function call to make via meta transaction | -| `_sigR` | `BytesLike` | R part of the signature | -| `_sigS` | `BytesLike` | S part of the signature | -| `_sigV` | `BigNumberish` | V part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -640,18 +634,16 @@ ___ ▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of user trying to do meta transaction | -| `_payload` | `BytesLike` | Function call to make via meta transaction | -| `_sigR` | `BytesLike` | R part of the signature | -| `_sigS` | `BytesLike` | S part of the signature | -| `_sigV` | `BigNumberish` | V part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -687,8 +679,6 @@ ___ ▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when upgrading the extension - #### Parameters | Name | Type | @@ -709,8 +699,6 @@ ___ ▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when upgrading the extension - #### Parameters | Name | Type | @@ -731,14 +719,12 @@ ___ ▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> -Return the permissions required for each function - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sig` | `BytesLike` | The function signature | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | #### Returns @@ -754,62 +740,20 @@ ___ ▸ **getCapabilityRoles(bytes4)**(`_sig`, `overrides?`): `Promise`<`string`\> -Return the permissions required for each function - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_sig` | `BytesLike` | The function signature | -| `overrides?` | `CallOverrides` | - | - -#### Returns - -`Promise`<`string`\> - -#### Inherited from - -AugmentedOneTxPayment.getCapabilityRoles(bytes4) - -___ - -### getChainId - -▸ **getChainId**(`overrides?`): `Promise`<`BigNumber`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedOneTxPayment.getChainId - -___ - -### getChainId() - -▸ **getChainId()**(`overrides?`): `Promise`<`BigNumber`\> - #### Parameters | Name | Type | | :------ | :------ | +| `_sig` | `BytesLike` | | `overrides?` | `CallOverrides` | #### Returns -`Promise`<`BigNumber`\> +`Promise`<`string`\> #### Inherited from -AugmentedOneTxPayment.getChainId() +AugmentedOneTxPayment.getCapabilityRoles(bytes4) ___ @@ -895,13 +839,13 @@ ___ ### getMetatransactionNonce -▸ **getMetatransactionNonce**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> +▸ **getMetatransactionNonce**(`_user`, `overrides?`): `Promise`<`BigNumber`\> #### Parameters | Name | Type | | :------ | :------ | -| `userAddress` | `string` | +| `_user` | `string` | | `overrides?` | `CallOverrides` | #### Returns @@ -916,13 +860,13 @@ ___ ### getMetatransactionNonce(address) -▸ **getMetatransactionNonce(address)**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> +▸ **getMetatransactionNonce(address)**(`_user`, `overrides?`): `Promise`<`BigNumber`\> #### Parameters | Name | Type | | :------ | :------ | -| `userAddress` | `string` | +| `_user` | `string` | | `overrides?` | `CallOverrides` | #### Returns @@ -939,8 +883,6 @@ ___ ▸ **identifier**(`overrides?`): `Promise`<`string`\> -Returns the identifier of the extension - #### Parameters | Name | Type | @@ -961,8 +903,6 @@ ___ ▸ **identifier()**(`overrides?`): `Promise`<`string`\> -Returns the identifier of the extension - #### Parameters | Name | Type | @@ -983,14 +923,12 @@ ___ ▸ **install**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> -Configures the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colony` | `string` | The colony in which the extension holds permissions | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1006,14 +944,12 @@ ___ ▸ **install(address)**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> -Configures the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colony` | `string` | The colony in which the extension holds permissions | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1091,23 +1027,20 @@ ___ ▸ **makePayment**(`_permissionDomainId`, `_childSkillIndex`, `_callerPermissionDomainId`, `_callerChildSkillIndex`, `_workers`, `_tokens`, `_amounts`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> -Assumes that each entity holds administration and funding roles in the root domain -Completes a colony payment in a single transaction - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the _contract_ has permissions to add a payment and fund it | -| `_childSkillIndex` | `BigNumberish` | Index of the _permissionDomainId skill.children array to get | -| `_callerPermissionDomainId` | `BigNumberish` | The domainId in which the _caller_ has the administration permission (must have funding in root) | -| `_callerChildSkillIndex` | `BigNumberish` | Index of the _callerPermissionDomainId skill.children array to get | -| `_workers` | `string`[] | The addresses of the recipients of the payment | -| `_tokens` | `string`[] | Addresses of the tokens the payments are being made in. 0x00 for Ether. | -| `_amounts` | `BigNumberish`[] | amounts of the tokens being paid out | -| `_domainId` | `BigNumberish` | The domainId the payment should be coming from | -| `_skillId` | `BigNumberish` | The skillId that the payment should be marked with, possibly awarding reputation in this skill. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_callerPermissionDomainId` | `BigNumberish` | +| `_callerChildSkillIndex` | `BigNumberish` | +| `_workers` | `string`[] | +| `_tokens` | `string`[] | +| `_amounts` | `BigNumberish`[] | +| `_domainId` | `BigNumberish` | +| `_skillId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1123,23 +1056,20 @@ ___ ▸ **makePayment(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_callerPermissionDomainId`, `_callerChildSkillIndex`, `_workers`, `_tokens`, `_amounts`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> -Assumes that each entity holds administration and funding roles in the root domain -Completes a colony payment in a single transaction - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the _contract_ has permissions to add a payment and fund it | -| `_childSkillIndex` | `BigNumberish` | Index of the _permissionDomainId skill.children array to get | -| `_callerPermissionDomainId` | `BigNumberish` | The domainId in which the _caller_ has the administration permission (must have funding in root) | -| `_callerChildSkillIndex` | `BigNumberish` | Index of the _callerPermissionDomainId skill.children array to get | -| `_workers` | `string`[] | The addresses of the recipients of the payment | -| `_tokens` | `string`[] | Addresses of the tokens the payments are being made in. 0x00 for Ether. | -| `_amounts` | `BigNumberish`[] | amounts of the tokens being paid out | -| `_domainId` | `BigNumberish` | The domainId the payment should be coming from | -| `_skillId` | `BigNumberish` | The skillId that the payment should be marked with, possibly awarding reputation in this skill. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_callerPermissionDomainId` | `BigNumberish` | +| `_callerChildSkillIndex` | `BigNumberish` | +| `_workers` | `string`[] | +| `_tokens` | `string`[] | +| `_amounts` | `BigNumberish`[] | +| `_domainId` | `BigNumberish` | +| `_skillId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1155,23 +1085,20 @@ ___ ▸ **makePaymentFundedFromDomain**(`_permissionDomainId`, `_childSkillIndex`, `_callerPermissionDomainId`, `_callerChildSkillIndex`, `_workers`, `_tokens`, `_amounts`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> -Assumes that each entity holds administration and funding roles in the same domain, although contract and caller can have the permissions in different domains. Payment is taken from domain funds - if the domain does not have sufficient funds, call will fail. -Completes a colony payment in a single transaction - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the _contract_ has permissions to add a payment and fund it | -| `_childSkillIndex` | `BigNumberish` | Index of the _permissionDomainId skill.children array to get | -| `_callerPermissionDomainId` | `BigNumberish` | The domainId in which the _caller_ has permissions to add a payment and fund it | -| `_callerChildSkillIndex` | `BigNumberish` | Index of the _callerPermissionDomainId skill.children array to get | -| `_workers` | `string`[] | The addresses of the recipients of the payment | -| `_tokens` | `string`[] | The addresses of the token the payments are being made in. 0x00 for Ether. | -| `_amounts` | `BigNumberish`[] | The amounts of the tokens being paid out | -| `_domainId` | `BigNumberish` | The domainId the payment should be coming from | -| `_skillId` | `BigNumberish` | The skillId that the payment should be marked with, possibly awarding reputation in this skill. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_callerPermissionDomainId` | `BigNumberish` | +| `_callerChildSkillIndex` | `BigNumberish` | +| `_workers` | `string`[] | +| `_tokens` | `string`[] | +| `_amounts` | `BigNumberish`[] | +| `_domainId` | `BigNumberish` | +| `_skillId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1187,23 +1114,20 @@ ___ ▸ **makePaymentFundedFromDomain(uint256,uint256,uint256,uint256,address[],address[],uint256[],uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_callerPermissionDomainId`, `_callerChildSkillIndex`, `_workers`, `_tokens`, `_amounts`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> -Assumes that each entity holds administration and funding roles in the same domain, although contract and caller can have the permissions in different domains. Payment is taken from domain funds - if the domain does not have sufficient funds, call will fail. -Completes a colony payment in a single transaction - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the _contract_ has permissions to add a payment and fund it | -| `_childSkillIndex` | `BigNumberish` | Index of the _permissionDomainId skill.children array to get | -| `_callerPermissionDomainId` | `BigNumberish` | The domainId in which the _caller_ has permissions to add a payment and fund it | -| `_callerChildSkillIndex` | `BigNumberish` | Index of the _callerPermissionDomainId skill.children array to get | -| `_workers` | `string`[] | The addresses of the recipients of the payment | -| `_tokens` | `string`[] | The addresses of the token the payments are being made in. 0x00 for Ether. | -| `_amounts` | `BigNumberish`[] | The amounts of the tokens being paid out | -| `_domainId` | `BigNumberish` | The domainId the payment should be coming from | -| `_skillId` | `BigNumberish` | The skillId that the payment should be marked with, possibly awarding reputation in this skill. | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_callerPermissionDomainId` | `BigNumberish` | +| `_callerChildSkillIndex` | `BigNumberish` | +| `_workers` | `string`[] | +| `_tokens` | `string`[] | +| `_amounts` | `BigNumberish`[] | +| `_domainId` | `BigNumberish` | +| `_skillId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1219,7 +1143,7 @@ ___ ▸ **makePaymentFundedFromDomainWithProofs**(`_workers`, `_tokens`, `_amounts`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [makePaymentFundedFromDomain](OneTxPaymentClientV3.md#makepaymentfundedfromdomain), but let colonyJS figure out the permission proofs for you. +Same as [makePaymentFundedFromDomain](OneTxPaymentClientV9.md#makepaymentfundedfromdomain), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -1247,7 +1171,7 @@ ___ ▸ **makePaymentWithProofs**(`_workers`, `_tokens`, `_amounts`, `_domainId`, `_skillId`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [makePayment](OneTxPaymentClientV3.md#makepayment), but let colonyJS figure out the permission proofs for you. +Same as [makePayment](OneTxPaymentClientV9.md#makepayment), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -1271,6 +1195,48 @@ AugmentedOneTxPayment.makePaymentWithProofs ___ +### multicall + +▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedOneTxPayment.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedOneTxPayment.multicall(bytes[]) + +___ + ### owner ▸ **owner**(`overrides?`): `Promise`<`string`\> @@ -1341,7 +1307,7 @@ ___ ### removeAllListeners -▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Type parameters @@ -1357,13 +1323,13 @@ ___ #### Returns -[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Inherited from AugmentedOneTxPayment.removeAllListeners -▸ **removeAllListeners**(`eventName?`): [`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +▸ **removeAllListeners**(`eventName?`): [`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Parameters @@ -1373,7 +1339,7 @@ AugmentedOneTxPayment.removeAllListeners #### Returns -[`OneTxPaymentClientV3`](OneTxPaymentClientV3.md) +[`OneTxPaymentClientV9`](OneTxPaymentClientV9.md) #### Inherited from @@ -1469,8 +1435,6 @@ ___ ▸ **uninstall**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when uninstalling the extension - #### Parameters | Name | Type | @@ -1491,8 +1455,6 @@ ___ ▸ **uninstall()**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when uninstalling the extension - #### Parameters | Name | Type | @@ -1511,13 +1473,13 @@ ___ ### verify -▸ **verify**(`_owner`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> +▸ **verify**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> #### Parameters | Name | Type | | :------ | :------ | -| `_owner` | `string` | +| `_user` | `string` | | `_nonce` | `BigNumberish` | | `_chainId` | `BigNumberish` | | `_payload` | `BytesLike` | @@ -1538,13 +1500,13 @@ ___ ### verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) -▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_owner`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> +▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> #### Parameters | Name | Type | | :------ | :------ | -| `_owner` | `string` | +| `_user` | `string` | | `_nonce` | `BigNumberish` | | `_chainId` | `BigNumberish` | | `_payload` | `BytesLike` | @@ -1567,8 +1529,6 @@ ___ ▸ **version**(`overrides?`): `Promise`<`BigNumber`\> -Returns the version of the extension - #### Parameters | Name | Type | @@ -1589,8 +1549,6 @@ ___ ▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> -Returns the version of the extension - #### Parameters | Name | Type | diff --git a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV1.md b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV1.md index bb3b18c6f..2e2c6ddf3 100644 --- a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV1.md +++ b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV1.md @@ -157,7 +157,7 @@ ___ ### estimateGas -• **estimateGas**: { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } \| { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } \| { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } +• **estimateGas**: `Object` #### Inherited from diff --git a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV2.md b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV2.md index 303f1d941..4294f1753 100644 --- a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV2.md +++ b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV2.md @@ -155,7 +155,7 @@ ___ ### estimateGas -• **estimateGas**: { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } \| { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } \| { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } +• **estimateGas**: `Object` #### Inherited from diff --git a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV3.md b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV3.md index 01cbbdfa2..a41f745dc 100644 --- a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV3.md +++ b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV3.md @@ -155,7 +155,7 @@ ___ ### estimateGas -• **estimateGas**: { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } \| { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getChainId()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } \| { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `releaseStagedPayment`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setExpenditureStaged(uint256,bool)`: (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } +• **estimateGas**: `Object` #### Inherited from diff --git a/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV4.md b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV4.md new file mode 100644 index 000000000..8c6868413 --- /dev/null +++ b/packages/colony-js/docs/api/interfaces/StagedExpenditureClientV4.md @@ -0,0 +1,1658 @@ +# Interface: StagedExpenditureClientV4 + +## Hierarchy + +- `AugmentedStagedExpenditure`<`StagedExpenditure`\> + + ↳ **`StagedExpenditureClientV4`** + +## Properties + +### \_deployedPromise + +• **\_deployedPromise**: `Promise`<`Contract`\> + +#### Inherited from + +AugmentedStagedExpenditure.\_deployedPromise + +___ + +### \_runningEvents + +• **\_runningEvents**: `Object` + +#### Index signature + +▪ [eventTag: `string`]: `RunningEvent` + +#### Inherited from + +AugmentedStagedExpenditure.\_runningEvents + +___ + +### \_wrappedEmits + +• **\_wrappedEmits**: `Object` + +#### Index signature + +▪ [eventTag: `string`]: (...`args`: `any`[]) => `void` + +#### Inherited from + +AugmentedStagedExpenditure.\_wrappedEmits + +___ + +### address + +• `Readonly` **address**: `string` + +#### Inherited from + +AugmentedStagedExpenditure.address + +___ + +### callStatic + +• **callStatic**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `finishUpgrade` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `install` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `releaseStagedPayment` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `releaseStagedPaymentViaArbitration` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setExpenditureStaged` | (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setExpenditureStaged(uint256,bool)` | (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `uninstall` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `uninstall()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | + +#### Inherited from + +AugmentedStagedExpenditure.callStatic + +___ + +### clientType + +• **clientType**: [`StagedExpenditureClient`](../enums/ClientType.md#stagedexpenditureclient) + +#### Inherited from + +AugmentedStagedExpenditure.clientType + +___ + +### clientVersion + +• **clientVersion**: ``4`` + +#### Overrides + +AugmentedStagedExpenditure.clientVersion + +___ + +### colonyClient + +• **colonyClient**: `AugmentedIColony`<`ValidColony`\> + +An instance of the corresponding ColonyClient + +#### Inherited from + +AugmentedStagedExpenditure.colonyClient + +___ + +### deployTransaction + +• `Readonly` **deployTransaction**: `TransactionResponse` + +#### Inherited from + +AugmentedStagedExpenditure.deployTransaction + +___ + +### estimateGas + +• **estimateGas**: `Object` + +#### Inherited from + +AugmentedStagedExpenditure.estimateGas + +___ + +### filters + +• **filters**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `Annotation` | (`agent?`: ``null`` \| `string`, `txHash?`: ``null`` \| `BytesLike`, `metadata?`: ``null``) => `AnnotationEventFilter` | +| `Annotation(address,bytes32,string)` | (`agent?`: ``null`` \| `string`, `txHash?`: ``null`` \| `BytesLike`, `metadata?`: ``null``) => `AnnotationEventFilter` | +| `ArbitraryReputationUpdate` | (`agent?`: ``null``, `user?`: ``null``, `skillId?`: ``null``, `amount?`: ``null``) => `ArbitraryReputationUpdateEventFilter` | +| `ArbitraryReputationUpdate(address,address,uint256,int256)` | (`agent?`: ``null``, `user?`: ``null``, `skillId?`: ``null``, `amount?`: ``null``) => `ArbitraryReputationUpdateEventFilter` | +| `ArbitraryTransaction` | (`target?`: ``null``, `data?`: ``null``, `success?`: ``null``) => `ArbitraryTransactionEventFilter` | +| `ArbitraryTransaction(address,bytes,bool)` | (`target?`: ``null``, `data?`: ``null``, `success?`: ``null``) => `ArbitraryTransactionEventFilter` | +| `ColonyBootstrapped` | (`agent?`: ``null``, `users?`: ``null``, `amounts?`: ``null``) => `ColonyBootstrappedEventFilter` | +| `ColonyBootstrapped(address,address[],int256[])` | (`agent?`: ``null``, `users?`: ``null``, `amounts?`: ``null``) => `ColonyBootstrappedEventFilter` | +| `ColonyFundsClaimed` | (`agent?`: ``null``, `token?`: ``null``, `fee?`: ``null``, `payoutRemainder?`: ``null``) => `ColonyFundsClaimedEventFilter` | +| `ColonyFundsClaimed(address,address,uint256,uint256)` | (`agent?`: ``null``, `token?`: ``null``, `fee?`: ``null``, `payoutRemainder?`: ``null``) => `ColonyFundsClaimedEventFilter` | +| `ColonyFundsMovedBetweenFundingPots` | (`agent?`: ``null``, `fromPot?`: ``null`` \| `BigNumberish`, `toPot?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `token?`: ``null``) => `ColonyFundsMovedBetweenFundingPotsEventFilter` | +| `ColonyFundsMovedBetweenFundingPots(address,uint256,uint256,uint256,address)` | (`agent?`: ``null``, `fromPot?`: ``null`` \| `BigNumberish`, `toPot?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `token?`: ``null``) => `ColonyFundsMovedBetweenFundingPotsEventFilter` | +| `ColonyInitialised` | (`agent?`: ``null``, `colonyNetwork?`: ``null``, `token?`: ``null``) => `ColonyInitialisedEventFilter` | +| `ColonyInitialised(address,address,address)` | (`agent?`: ``null``, `colonyNetwork?`: ``null``, `token?`: ``null``) => `ColonyInitialisedEventFilter` | +| `ColonyMetadata` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataEventFilter` | +| `ColonyMetadata(address,string)` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataEventFilter` | +| `ColonyMetadataDelta` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataDeltaEventFilter` | +| `ColonyMetadataDelta(address,string)` | (`agent?`: ``null``, `metadata?`: ``null``) => `ColonyMetadataDeltaEventFilter` | +| `ColonyRewardInverseSet` | (`agent?`: ``null``, `rewardInverse?`: ``null``) => `ColonyRewardInverseSetEventFilter` | +| `ColonyRewardInverseSet(address,uint256)` | (`agent?`: ``null``, `rewardInverse?`: ``null``) => `ColonyRewardInverseSetEventFilter` | +| `ColonyRoleSet` | (`agent?`: ``null``, `user?`: ``null`` \| `string`, `domainId?`: ``null`` \| `BigNumberish`, `role?`: ``null`` \| `BigNumberish`, `setTo?`: ``null``) => `ColonyRoleSetEventFilter` | +| `ColonyRoleSet(address,address,uint256,uint8,bool)` | (`agent?`: ``null``, `user?`: ``null`` \| `string`, `domainId?`: ``null`` \| `BigNumberish`, `role?`: ``null`` \| `BigNumberish`, `setTo?`: ``null``) => `ColonyRoleSetEventFilter` | +| `ColonyUpgraded` | (`agent?`: ``null``, `oldVersion?`: ``null``, `newVersion?`: ``null``) => `ColonyUpgradedEventFilter` | +| `ColonyUpgraded(address,uint256,uint256)` | (`agent?`: ``null``, `oldVersion?`: ``null``, `newVersion?`: ``null``) => `ColonyUpgradedEventFilter` | +| `DomainAdded` | (`agent?`: ``null``, `domainId?`: ``null``) => `DomainAddedEventFilter` | +| `DomainAdded(address,uint256)` | (`agent?`: ``null``, `domainId?`: ``null``) => `DomainAddedEventFilter` | +| `DomainDeprecated` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `deprecated?`: ``null``) => `DomainDeprecatedEventFilter` | +| `DomainDeprecated(address,uint256,bool)` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `deprecated?`: ``null``) => `DomainDeprecatedEventFilter` | +| `DomainMetadata` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `DomainMetadataEventFilter` | +| `DomainMetadata(address,uint256,string)` | (`agent?`: ``null``, `domainId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `DomainMetadataEventFilter` | +| `ExpenditureAdded` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureAddedEventFilter` | +| `ExpenditureAdded(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureAddedEventFilter` | +| `ExpenditureCancelled` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureCancelledEventFilter` | +| `ExpenditureCancelled(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureCancelledEventFilter` | +| `ExpenditureClaimDelaySet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `claimDelay?`: ``null``) => `ExpenditureClaimDelaySetEventFilter` | +| `ExpenditureClaimDelaySet(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `claimDelay?`: ``null``) => `ExpenditureClaimDelaySetEventFilter` | +| `ExpenditureFinalized` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureFinalizedEventFilter` | +| `ExpenditureFinalized(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureFinalizedEventFilter` | +| `ExpenditureGlobalClaimDelaySet` | (`agent?`: ``null``, `globalClaimDelay?`: ``null``) => `ExpenditureGlobalClaimDelaySetEventFilter` | +| `ExpenditureGlobalClaimDelaySet(address,uint256)` | (`agent?`: ``null``, `globalClaimDelay?`: ``null``) => `ExpenditureGlobalClaimDelaySetEventFilter` | +| `ExpenditureLocked` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureLockedEventFilter` | +| `ExpenditureLocked(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`) => `ExpenditureLockedEventFilter` | +| `ExpenditureMadeStaged` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `staged?`: ``null``) => `ExpenditureMadeStagedEventFilter` | +| `ExpenditureMadeStaged(address,uint256,bool)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `staged?`: ``null``) => `ExpenditureMadeStagedEventFilter` | +| `ExpenditureMetadataSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `ExpenditureMetadataSetEventFilter` | +| `ExpenditureMetadataSet(address,uint256,string)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `metadata?`: ``null``) => `ExpenditureMetadataSetEventFilter` | +| `ExpenditurePayoutModifierSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `payoutModifier?`: ``null``) => `ExpenditurePayoutModifierSetEventFilter` | +| `ExpenditurePayoutModifierSet(address,uint256,uint256,int256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `payoutModifier?`: ``null``) => `ExpenditurePayoutModifierSetEventFilter` | +| `ExpenditurePayoutSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `token?`: ``null`` \| `string`, `amount?`: ``null``) => `ExpenditurePayoutSetEventFilter` | +| `ExpenditurePayoutSet(address,uint256,uint256,address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `token?`: ``null`` \| `string`, `amount?`: ``null``) => `ExpenditurePayoutSetEventFilter` | +| `ExpenditureRecipientSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `recipient?`: ``null`` \| `string`) => `ExpenditureRecipientSetEventFilter` | +| `ExpenditureRecipientSet(address,uint256,uint256,address)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `recipient?`: ``null`` \| `string`) => `ExpenditureRecipientSetEventFilter` | +| `ExpenditureSkillSet` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `ExpenditureSkillSetEventFilter` | +| `ExpenditureSkillSet(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `ExpenditureSkillSetEventFilter` | +| `ExpenditureStateChanged` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `storageSlot?`: ``null`` \| `BigNumberish`, `mask?`: ``null``, `keys?`: ``null``, `value?`: ``null``) => `ExpenditureStateChangedEventFilter` | +| `ExpenditureStateChanged(address,uint256,uint256,bool[],bytes32[],bytes32)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `storageSlot?`: ``null`` \| `BigNumberish`, `mask?`: ``null``, `keys?`: ``null``, `value?`: ``null``) => `ExpenditureStateChangedEventFilter` | +| `ExpenditureTransferred` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `owner?`: ``null`` \| `string`) => `ExpenditureTransferredEventFilter` | +| `ExpenditureTransferred(address,uint256,address)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `owner?`: ``null`` \| `string`) => `ExpenditureTransferredEventFilter` | +| `ExtensionInitialised` | () => `ExtensionInitialisedEventFilter` | +| `ExtensionInitialised()` | () => `ExtensionInitialisedEventFilter` | +| `FundingPotAdded` | (`fundingPotId?`: ``null``) => `FundingPotAddedEventFilter` | +| `FundingPotAdded(uint256)` | (`fundingPotId?`: ``null``) => `FundingPotAddedEventFilter` | +| `LocalSkillAdded` | (`agent?`: ``null``, `localSkillId?`: ``null``) => `LocalSkillAddedEventFilter` | +| `LocalSkillAdded(address,uint256)` | (`agent?`: ``null``, `localSkillId?`: ``null``) => `LocalSkillAddedEventFilter` | +| `LocalSkillDeprecated` | (`agent?`: ``null``, `localSkillId?`: ``null``, `deprecated?`: ``null``) => `LocalSkillDeprecatedEventFilter` | +| `LocalSkillDeprecated(address,uint256,bool)` | (`agent?`: ``null``, `localSkillId?`: ``null``, `deprecated?`: ``null``) => `LocalSkillDeprecatedEventFilter` | +| `LogSetAuthority` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | +| `LogSetAuthority(address)` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | +| `LogSetOwner` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | +| `LogSetOwner(address)` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | +| `MetaTransactionExecuted` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | +| `MetaTransactionExecuted(address,address,bytes)` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | +| `PaymentAdded` | (`agent?`: ``null``, `paymentId?`: ``null``) => `PaymentAddedEventFilter` | +| `PaymentAdded(address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null``) => `PaymentAddedEventFilter` | +| `PaymentFinalized` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`) => `PaymentFinalizedEventFilter` | +| `PaymentFinalized(address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`) => `PaymentFinalizedEventFilter` | +| `PaymentPayoutSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PaymentPayoutSetEventFilter` | +| `PaymentPayoutSet(address,uint256,address,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PaymentPayoutSetEventFilter` | +| `PaymentRecipientSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `recipient?`: ``null``) => `PaymentRecipientSetEventFilter` | +| `PaymentRecipientSet(address,uint256,address)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `recipient?`: ``null``) => `PaymentRecipientSetEventFilter` | +| `PaymentSkillSet` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null``) => `PaymentSkillSetEventFilter` | +| `PaymentSkillSet(address,uint256,uint256)` | (`agent?`: ``null``, `paymentId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null``) => `PaymentSkillSetEventFilter` | +| `PayoutClaimed(address,uint256,address,uint256)` | (`agent?`: ``null``, `fundingPotId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `PayoutClaimed_address_uint256_address_uint256_EventFilter` | +| `PayoutClaimed(address,uint256,uint256,address,uint256)` | (`agent?`: ``null``, `id?`: ``null``, `slot?`: ``null``, `token?`: ``null``, `tokenPayout?`: ``null``) => `PayoutClaimed_address_uint256_uint256_address_uint256_EventFilter` | +| `RewardPayoutClaimed` | (`rewardPayoutId?`: ``null``, `user?`: ``null``, `fee?`: ``null``, `rewardRemainder?`: ``null``) => `RewardPayoutClaimedEventFilter` | +| `RewardPayoutClaimed(uint256,address,uint256,uint256)` | (`rewardPayoutId?`: ``null``, `user?`: ``null``, `fee?`: ``null``, `rewardRemainder?`: ``null``) => `RewardPayoutClaimedEventFilter` | +| `RewardPayoutCycleEnded` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleEndedEventFilter` | +| `RewardPayoutCycleEnded(address,uint256)` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleEndedEventFilter` | +| `RewardPayoutCycleStarted` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleStartedEventFilter` | +| `RewardPayoutCycleStarted(address,uint256)` | (`agent?`: ``null``, `rewardPayoutId?`: ``null``) => `RewardPayoutCycleStartedEventFilter` | +| `StagedPaymentReleased` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null``) => `StagedPaymentReleasedEventFilter` | +| `StagedPaymentReleased(address,uint256,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null`` \| `BigNumberish`, `slot?`: ``null``) => `StagedPaymentReleasedEventFilter` | +| `TaskAdded` | (`agent?`: ``null``, `taskId?`: ``null``) => `TaskAddedEventFilter` | +| `TaskAdded(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null``) => `TaskAddedEventFilter` | +| `TaskBriefSet` | (`taskId?`: ``null`` \| `BigNumberish`, `specificationHash?`: ``null``) => `TaskBriefSetEventFilter` | +| `TaskBriefSet(uint256,bytes32)` | (`taskId?`: ``null`` \| `BigNumberish`, `specificationHash?`: ``null``) => `TaskBriefSetEventFilter` | +| `TaskCanceled` | (`taskId?`: ``null`` \| `BigNumberish`) => `TaskCanceledEventFilter` | +| `TaskCanceled(uint256)` | (`taskId?`: ``null`` \| `BigNumberish`) => `TaskCanceledEventFilter` | +| `TaskChangedViaSignatures` | (`reviewerAddresses?`: ``null``) => `TaskChangedViaSignaturesEventFilter` | +| `TaskChangedViaSignatures(address[])` | (`reviewerAddresses?`: ``null``) => `TaskChangedViaSignaturesEventFilter` | +| `TaskCompleted` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskCompletedEventFilter` | +| `TaskCompleted(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskCompletedEventFilter` | +| `TaskDeliverableSubmitted` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `deliverableHash?`: ``null``) => `TaskDeliverableSubmittedEventFilter` | +| `TaskDeliverableSubmitted(address,uint256,bytes32)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `deliverableHash?`: ``null``) => `TaskDeliverableSubmittedEventFilter` | +| `TaskDueDateSet` | (`taskId?`: ``null`` \| `BigNumberish`, `dueDate?`: ``null``) => `TaskDueDateSetEventFilter` | +| `TaskDueDateSet(uint256,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `dueDate?`: ``null``) => `TaskDueDateSetEventFilter` | +| `TaskFinalized` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskFinalizedEventFilter` | +| `TaskFinalized(address,uint256)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`) => `TaskFinalizedEventFilter` | +| `TaskPayoutSet` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TaskPayoutSetEventFilter` | +| `TaskPayoutSet(uint256,uint8,address,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TaskPayoutSetEventFilter` | +| `TaskRoleUserSet` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `user?`: ``null`` \| `string`) => `TaskRoleUserSetEventFilter` | +| `TaskRoleUserSet(uint256,uint8,address)` | (`taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `user?`: ``null`` \| `string`) => `TaskRoleUserSetEventFilter` | +| `TaskSkillSet` | (`taskId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `TaskSkillSetEventFilter` | +| `TaskSkillSet(uint256,uint256)` | (`taskId?`: ``null`` \| `BigNumberish`, `skillId?`: ``null`` \| `BigNumberish`) => `TaskSkillSetEventFilter` | +| `TaskWorkRatingRevealed` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `rating?`: ``null``) => `TaskWorkRatingRevealedEventFilter` | +| `TaskWorkRatingRevealed(address,uint256,uint8,uint8)` | (`agent?`: ``null``, `taskId?`: ``null`` \| `BigNumberish`, `role?`: ``null``, `rating?`: ``null``) => `TaskWorkRatingRevealedEventFilter` | +| `TokenUnlocked` | (`agent?`: ``null``) => `TokenUnlockedEventFilter` | +| `TokenUnlocked(address)` | (`agent?`: ``null``) => `TokenUnlockedEventFilter` | +| `TokensBurned` | (`agent?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TokensBurnedEventFilter` | +| `TokensBurned(address,address,uint256)` | (`agent?`: ``null``, `token?`: ``null``, `amount?`: ``null``) => `TokensBurnedEventFilter` | +| `TokensMinted` | (`agent?`: ``null``, `who?`: ``null``, `amount?`: ``null``) => `TokensMintedEventFilter` | +| `TokensMinted(address,address,uint256)` | (`agent?`: ``null``, `who?`: ``null``, `amount?`: ``null``) => `TokensMintedEventFilter` | + +#### Inherited from + +AugmentedStagedExpenditure.filters + +___ + +### functions + +• **functions**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `releaseStagedPayment` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `releaseStagedPaymentViaArbitration` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setExpenditureStaged` | (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setExpenditureStaged(uint256,bool)` | (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | + +#### Inherited from + +AugmentedStagedExpenditure.functions + +___ + +### interface + +• **interface**: `StagedExpenditureInterface` + +#### Inherited from + +AugmentedStagedExpenditure.interface + +___ + +### off + +• **off**: `OnEvent`<[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md)\> + +#### Inherited from + +AugmentedStagedExpenditure.off + +___ + +### on + +• **on**: `OnEvent`<[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md)\> + +#### Inherited from + +AugmentedStagedExpenditure.on + +___ + +### once + +• **once**: `OnEvent`<[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md)\> + +#### Inherited from + +AugmentedStagedExpenditure.once + +___ + +### populateTransaction + +• **populateTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `releaseStagedPayment` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `releaseStagedPayment(uint256,uint256,uint256,uint256,address[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `releaseStagedPaymentViaArbitration` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_extensionPermissionDomainId`: `BigNumberish`, `_extensionChildSkillIndex`: `BigNumberish`, `_expenditureId`: `BigNumberish`, `_slot`: `BigNumberish`, `_tokens`: `string`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setExpenditureStaged` | (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setExpenditureStaged(uint256,bool)` | (`_expenditureId`: `BigNumberish`, `_staged`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | + +#### Inherited from + +AugmentedStagedExpenditure.populateTransaction + +___ + +### provider + +• `Readonly` **provider**: `Provider` + +#### Inherited from + +AugmentedStagedExpenditure.provider + +___ + +### removeListener + +• **removeListener**: `OnEvent`<[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md)\> + +#### Inherited from + +AugmentedStagedExpenditure.removeListener + +___ + +### resolvedAddress + +• `Readonly` **resolvedAddress**: `Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.resolvedAddress + +___ + +### signer + +• `Readonly` **signer**: `Signer` + +#### Inherited from + +AugmentedStagedExpenditure.signer + +___ + +### stagedExpenditureEvents + +• **stagedExpenditureEvents**: `StagedExpenditureEvents` + +The stagedExpenditureEvents contract supports all events across all versions. +Isn't that amazing? +It's an ethers contract with only events to filter + +#### Inherited from + +AugmentedStagedExpenditure.stagedExpenditureEvents + +## Methods + +### \_checkRunningEvents + +▸ **_checkRunningEvents**(`runningEvent`): `void` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `runningEvent` | `RunningEvent` | + +#### Returns + +`void` + +#### Inherited from + +AugmentedStagedExpenditure.\_checkRunningEvents + +___ + +### \_deployed + +▸ **_deployed**(`blockTag?`): `Promise`<`Contract`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `blockTag?` | `BlockTag` | + +#### Returns + +`Promise`<`Contract`\> + +#### Inherited from + +AugmentedStagedExpenditure.\_deployed + +___ + +### \_wrapEvent + +▸ **_wrapEvent**(`runningEvent`, `log`, `listener`): `Event` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `runningEvent` | `RunningEvent` | +| `log` | `Log` | +| `listener` | `Listener` | + +#### Returns + +`Event` + +#### Inherited from + +AugmentedStagedExpenditure.\_wrapEvent + +___ + +### attach + +▸ **attach**(`addressOrName`): [`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `addressOrName` | `string` | + +#### Returns + +[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Inherited from + +AugmentedStagedExpenditure.attach + +___ + +### authority + +▸ **authority**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.authority + +___ + +### authority() + +▸ **authority()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.authority() + +___ + +### connect + +▸ **connect**(`signerOrProvider`): [`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `signerOrProvider` | `string` \| `Signer` \| `Provider` | + +#### Returns + +[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Inherited from + +AugmentedStagedExpenditure.connect + +___ + +### deployed + +▸ **deployed**(): `Promise`<[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md)\> + +#### Returns + +`Promise`<[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md)\> + +#### Inherited from + +AugmentedStagedExpenditure.deployed + +___ + +### deprecate + +▸ **deprecate**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.deprecate + +___ + +### deprecate(bool) + +▸ **deprecate(bool)**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.deprecate(bool) + +___ + +### emit + +▸ **emit**(`eventName`, `...args`): `boolean` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName` | `string` \| `EventFilter` | +| `...args` | `any`[] | + +#### Returns + +`boolean` + +#### Inherited from + +AugmentedStagedExpenditure.emit + +___ + +### executeMetaTransaction + +▸ **executeMetaTransaction**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.executeMetaTransaction + +___ + +### executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) + +▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) + +___ + +### fallback + +▸ **fallback**(`overrides?`): `Promise`<`TransactionResponse`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `TransactionRequest` | + +#### Returns + +`Promise`<`TransactionResponse`\> + +#### Inherited from + +AugmentedStagedExpenditure.fallback + +___ + +### finishUpgrade + +▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.finishUpgrade + +___ + +### finishUpgrade() + +▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.finishUpgrade() + +___ + +### getCapabilityRoles + +▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.getCapabilityRoles + +___ + +### getCapabilityRoles(bytes4) + +▸ **getCapabilityRoles(bytes4)**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.getCapabilityRoles(bytes4) + +___ + +### getColony + +▸ **getColony**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.getColony + +___ + +### getColony() + +▸ **getColony()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.getColony() + +___ + +### getDeprecated + +▸ **getDeprecated**(`overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStagedExpenditure.getDeprecated + +___ + +### getDeprecated() + +▸ **getDeprecated()**(`overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStagedExpenditure.getDeprecated() + +___ + +### getMetatransactionNonce + +▸ **getMetatransactionNonce**(`_user`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStagedExpenditure.getMetatransactionNonce + +___ + +### getMetatransactionNonce(address) + +▸ **getMetatransactionNonce(address)**(`_user`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStagedExpenditure.getMetatransactionNonce(address) + +___ + +### identifier + +▸ **identifier**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.identifier + +___ + +### identifier() + +▸ **identifier()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.identifier() + +___ + +### install + +▸ **install**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.install + +___ + +### install(address) + +▸ **install(address)**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.install(address) + +___ + +### listenerCount + +▸ **listenerCount**(`eventName?`): `number` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` \| `EventFilter` | + +#### Returns + +`number` + +#### Inherited from + +AugmentedStagedExpenditure.listenerCount + +___ + +### listeners + +▸ **listeners**<`TEvent`\>(`eventFilter?`): `TypedListener`<`TEvent`\>[] + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventFilter?` | `TypedEventFilter`<`TEvent`\> | + +#### Returns + +`TypedListener`<`TEvent`\>[] + +#### Inherited from + +AugmentedStagedExpenditure.listeners + +▸ **listeners**(`eventName?`): `Listener`[] + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` | + +#### Returns + +`Listener`[] + +#### Inherited from + +AugmentedStagedExpenditure.listeners + +___ + +### multicall + +▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.multicall(bytes[]) + +___ + +### owner + +▸ **owner**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.owner + +___ + +### owner() + +▸ **owner()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStagedExpenditure.owner() + +___ + +### queryFilter + +▸ **queryFilter**<`TEvent`\>(`event`, `fromBlockOrBlockhash?`, `toBlock?`): `Promise`<`TEvent`[]\> + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `event` | `TypedEventFilter`<`TEvent`\> | +| `fromBlockOrBlockhash?` | `string` \| `number` | +| `toBlock?` | `string` \| `number` | + +#### Returns + +`Promise`<`TEvent`[]\> + +#### Inherited from + +AugmentedStagedExpenditure.queryFilter + +___ + +### releaseStagedPayment + +▸ **releaseStagedPayment**(`_permissionDomainId`, `_childSkillIndex`, `_expenditureId`, `_slot`, `_tokens`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `_slot` | `BigNumberish` | +| `_tokens` | `string`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.releaseStagedPayment + +___ + +### releaseStagedPayment(uint256,uint256,uint256,uint256,address[]) + +▸ **releaseStagedPayment(uint256,uint256,uint256,uint256,address[])**(`_permissionDomainId`, `_childSkillIndex`, `_expenditureId`, `_slot`, `_tokens`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `_slot` | `BigNumberish` | +| `_tokens` | `string`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.releaseStagedPayment(uint256,uint256,uint256,uint256,address[]) + +___ + +### releaseStagedPaymentViaArbitration + +▸ **releaseStagedPaymentViaArbitration**(`_permissionDomainId`, `_childSkillIndex`, `_extensionPermissionDomainId`, `_extensionChildSkillIndex`, `_expenditureId`, `_slot`, `_tokens`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_extensionPermissionDomainId` | `BigNumberish` | +| `_extensionChildSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `_slot` | `BigNumberish` | +| `_tokens` | `string`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.releaseStagedPaymentViaArbitration + +___ + +### releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[]) + +▸ **releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[])**(`_permissionDomainId`, `_childSkillIndex`, `_extensionPermissionDomainId`, `_extensionChildSkillIndex`, `_expenditureId`, `_slot`, `_tokens`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_extensionPermissionDomainId` | `BigNumberish` | +| `_extensionChildSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `_slot` | `BigNumberish` | +| `_tokens` | `string`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.releaseStagedPaymentViaArbitration(uint256,uint256,uint256,uint256,uint256,uint256,address[]) + +___ + +### removeAllListeners + +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventFilter` | `TypedEventFilter`<`TEvent`\> | + +#### Returns + +[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Inherited from + +AugmentedStagedExpenditure.removeAllListeners + +▸ **removeAllListeners**(`eventName?`): [`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` | + +#### Returns + +[`StagedExpenditureClientV4`](StagedExpenditureClientV4.md) + +#### Inherited from + +AugmentedStagedExpenditure.removeAllListeners + +___ + +### setAuthority + +▸ **setAuthority**(`authority_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `authority_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.setAuthority + +___ + +### setAuthority(address) + +▸ **setAuthority(address)**(`authority_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `authority_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.setAuthority(address) + +___ + +### setExpenditureStaged + +▸ **setExpenditureStaged**(`_expenditureId`, `_staged`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `_staged` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.setExpenditureStaged + +___ + +### setExpenditureStaged(uint256,bool) + +▸ **setExpenditureStaged(uint256,bool)**(`_expenditureId`, `_staged`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `_staged` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.setExpenditureStaged(uint256,bool) + +___ + +### setOwner + +▸ **setOwner**(`owner_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `owner_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.setOwner + +___ + +### setOwner(address) + +▸ **setOwner(address)**(`owner_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `owner_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.setOwner(address) + +___ + +### uninstall + +▸ **uninstall**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.uninstall + +___ + +### uninstall() + +▸ **uninstall()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStagedExpenditure.uninstall() + +___ + +### verify + +▸ **verify**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_nonce` | `BigNumberish` | +| `_chainId` | `BigNumberish` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStagedExpenditure.verify + +___ + +### verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) + +▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_nonce` | `BigNumberish` | +| `_chainId` | `BigNumberish` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStagedExpenditure.verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) + +___ + +### version + +▸ **version**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStagedExpenditure.version + +___ + +### version() + +▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStagedExpenditure.version() diff --git a/packages/colony-js/docs/api/interfaces/StakedExpenditureClientV1.md b/packages/colony-js/docs/api/interfaces/StakedExpenditureClientV7.md similarity index 77% rename from packages/colony-js/docs/api/interfaces/StakedExpenditureClientV1.md rename to packages/colony-js/docs/api/interfaces/StakedExpenditureClientV7.md index b0ddf793a..ce09772de 100644 --- a/packages/colony-js/docs/api/interfaces/StakedExpenditureClientV1.md +++ b/packages/colony-js/docs/api/interfaces/StakedExpenditureClientV7.md @@ -1,10 +1,10 @@ -# Interface: StakedExpenditureClientV1 +# Interface: StakedExpenditureClientV7 ## Hierarchy - `AugmentedStakedExpenditure`<`StakedExpenditure`\> - ↳ **`StakedExpenditureClientV1`** + ↳ **`StakedExpenditureClientV7`** ## Properties @@ -78,8 +78,6 @@ ___ | `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | @@ -92,10 +90,14 @@ ___ | `getStakeFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `initialise` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `initialise(uint256)` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `install` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `makeExpenditureWithStake` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `makeExpenditureWithStake(uint256,uint256,uint256,bytes,bytes,uint256,bytes32[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `reclaimStake` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -108,8 +110,8 @@ ___ | `setStakeFraction(uint256)` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `uninstall` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `uninstall()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -131,7 +133,7 @@ ___ ### clientVersion -• **clientVersion**: ``1`` +• **clientVersion**: ``7`` #### Overrides @@ -179,10 +181,12 @@ ___ | Name | Type | | :------ | :------ | -| `ExpenditureCancelled` | (`expenditureId?`: ``null``) => `ExpenditureCancelledEventFilter` | -| `ExpenditureCancelled(uint256)` | (`expenditureId?`: ``null``) => `ExpenditureCancelledEventFilter` | +| `ExpenditureCancelled` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureCancelledEventFilter` | +| `ExpenditureCancelled(address,uint256)` | (`agent?`: ``null``, `expenditureId?`: ``null``) => `ExpenditureCancelledEventFilter` | | `ExpenditureMadeViaStake` | (`creator?`: ``null`` \| `string`, `expenditureId?`: ``null``, `stake?`: ``null``) => `ExpenditureMadeViaStakeEventFilter` | | `ExpenditureMadeViaStake(address,uint256,uint256)` | (`creator?`: ``null`` \| `string`, `expenditureId?`: ``null``, `stake?`: ``null``) => `ExpenditureMadeViaStakeEventFilter` | +| `ExpenditureStakerPunished` | (`agent?`: ``null``, `expenditureId?`: ``null``, `punished?`: ``null``) => `ExpenditureStakerPunishedEventFilter` | +| `ExpenditureStakerPunished(address,uint256,bool)` | (`agent?`: ``null``, `expenditureId?`: ``null``, `punished?`: ``null``) => `ExpenditureStakerPunishedEventFilter` | | `ExtensionInitialised` | () => `ExtensionInitialisedEventFilter` | | `ExtensionInitialised()` | () => `ExtensionInitialisedEventFilter` | | `LogSetAuthority` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | @@ -191,8 +195,8 @@ ___ | `LogSetOwner(address)` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | | `MetaTransactionExecuted` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | | `MetaTransactionExecuted(address,address,bytes)` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | -| `StakeFractionSet` | (`stakeFraction?`: ``null``) => `StakeFractionSetEventFilter` | -| `StakeFractionSet(uint256)` | (`stakeFraction?`: ``null``) => `StakeFractionSetEventFilter` | +| `StakeFractionSet` | (`agent?`: ``null``, `stakeFraction?`: ``null``) => `StakeFractionSetEventFilter` | +| `StakeFractionSet(address,uint256)` | (`agent?`: ``null``, `stakeFraction?`: ``null``) => `StakeFractionSetEventFilter` | | `StakeReclaimed` | (`expenditureId?`: ``null``) => `StakeReclaimedEventFilter` | | `StakeReclaimed(uint256)` | (`expenditureId?`: ``null``) => `StakeReclaimedEventFilter` | @@ -224,24 +228,26 @@ ___ | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | | `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | -| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | | `getStake` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`StakeStructOutput`] & { `stake`: `StakeStructOutput` }\> | | `getStake(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`StakeStructOutput`] & { `stake`: `StakeStructOutput` }\> | | `getStakeFraction` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_stakeFraction`: `BigNumber` }\> | | `getStakeFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_stakeFraction`: `BigNumber` }\> | | `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | | `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `initialise` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `initialise(uint256)` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `makeExpenditureWithStake` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `makeExpenditureWithStake(uint256,uint256,uint256,bytes,bytes,uint256,bytes32[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `reclaimStake` | (`_expenditureId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | @@ -254,8 +260,8 @@ ___ | `setStakeFraction(uint256)` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | @@ -277,7 +283,7 @@ ___ ### off -• **off**: `OnEvent`<[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md)\> +• **off**: `OnEvent`<[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md)\> #### Inherited from @@ -287,7 +293,7 @@ ___ ### on -• **on**: `OnEvent`<[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md)\> +• **on**: `OnEvent`<[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md)\> #### Inherited from @@ -297,7 +303,7 @@ ___ ### once -• **once**: `OnEvent`<[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md)\> +• **once**: `OnEvent`<[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md)\> #### Inherited from @@ -327,8 +333,6 @@ ___ | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -341,10 +345,14 @@ ___ | `getStakeFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `initialise` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `initialise(uint256)` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `makeExpenditureWithStake` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `makeExpenditureWithStake(uint256,uint256,uint256,bytes,bytes,uint256,bytes32[])` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `reclaimStake` | (`_expenditureId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -357,8 +365,8 @@ ___ | `setStakeFraction(uint256)` | (`_stakeFraction`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -380,7 +388,7 @@ ___ ### removeListener -• **removeListener**: `OnEvent`<[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md)\> +• **removeListener**: `OnEvent`<[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md)\> #### Inherited from @@ -486,7 +494,7 @@ ___ ### attach -▸ **attach**(`addressOrName`): [`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +▸ **attach**(`addressOrName`): [`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Parameters @@ -496,7 +504,7 @@ ___ #### Returns -[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Inherited from @@ -548,19 +556,17 @@ ___ ▸ **cancelAndPunish**(`_permissionDomainId`, `_childSkillIndex`, `_callerPermissionDomainId`, `_callerChildSkillIndex`, `_expenditureId`, `_punish`, `overrides?`): `Promise`<`ContractTransaction`\> -Cancel the expenditure and punish the stakerCan only be called by an arbitration user - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_callerPermissionDomainId` | `BigNumberish` | The domainId in which the caller has the arbitration permission | -| `_callerChildSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_callerPermissionDomainId` | -| `_expenditureId` | `BigNumberish` | The id of the expenditure | -| `_punish` | `boolean` | Whether the staker should be punished by losing an amount of reputation equal to the stake | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_callerPermissionDomainId` | `BigNumberish` | +| `_callerChildSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `_punish` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -576,19 +582,17 @@ ___ ▸ **cancelAndPunish(uint256,uint256,uint256,uint256,uint256,bool)**(`_permissionDomainId`, `_childSkillIndex`, `_callerPermissionDomainId`, `_callerChildSkillIndex`, `_expenditureId`, `_punish`, `overrides?`): `Promise`<`ContractTransaction`\> -Cancel the expenditure and punish the stakerCan only be called by an arbitration user - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_callerPermissionDomainId` | `BigNumberish` | The domainId in which the caller has the arbitration permission | -| `_callerChildSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_callerPermissionDomainId` | -| `_expenditureId` | `BigNumberish` | The id of the expenditure | -| `_punish` | `boolean` | Whether the staker should be punished by losing an amount of reputation equal to the stake | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_callerPermissionDomainId` | `BigNumberish` | +| `_callerChildSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `_punish` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -604,7 +608,7 @@ ___ ▸ **cancelAndPunishWithProofs**(`_expenditureId`, `_punish`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [cancelAndPunish](StakedExpenditureClientV1.md#cancelandpunish), but let colonyJS figure out the permission proofs for you. +Same as [cancelAndPunish](StakedExpenditureClientV7.md#cancelandpunish), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -629,16 +633,14 @@ ___ ▸ **cancelAndReclaimStake**(`_permissionDomainId`, `_childSkillIndex`, `_expenditureId`, `overrides?`): `Promise`<`ContractTransaction`\> -Cancel the expenditure and reclaim the stake in one transactionCan only be called by expenditure owner while expenditure is in draft state - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_expenditureId` | `BigNumberish` | The id of the expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -654,16 +656,14 @@ ___ ▸ **cancelAndReclaimStake(uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_expenditureId`, `overrides?`): `Promise`<`ContractTransaction`\> -Cancel the expenditure and reclaim the stake in one transactionCan only be called by expenditure owner while expenditure is in draft state - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId` | -| `_expenditureId` | `BigNumberish` | The id of the expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -679,7 +679,7 @@ ___ ▸ **cancelAndReclaimStakeWithProofs**(`_expenditureId`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [cancelAndReclaimStake](StakedExpenditureClientV1.md#cancelandreclaimstake), but let colonyJS figure out the permission proofs for you. +Same as [cancelAndReclaimStake](StakedExpenditureClientV7.md#cancelandreclaimstake), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -701,7 +701,7 @@ ___ ### connect -▸ **connect**(`signerOrProvider`): [`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +▸ **connect**(`signerOrProvider`): [`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Parameters @@ -711,7 +711,7 @@ ___ #### Returns -[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Inherited from @@ -721,11 +721,11 @@ ___ ### deployed -▸ **deployed**(): `Promise`<[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md)\> +▸ **deployed**(): `Promise`<[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md)\> #### Returns -`Promise`<[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md)\> +`Promise`<[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md)\> #### Inherited from @@ -737,14 +737,12 @@ ___ ▸ **deprecate**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> -Called when deprecating (or undeprecating) the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_deprecated` | `boolean` | Indicates whether the extension should be deprecated or undeprecated | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -760,14 +758,12 @@ ___ ▸ **deprecate(bool)**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> -Called when deprecating (or undeprecating) the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_deprecated` | `boolean` | Indicates whether the extension should be deprecated or undeprecated | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -804,18 +800,16 @@ ___ ▸ **executeMetaTransaction**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of user trying to do meta transaction | -| `_payload` | `BytesLike` | Function call to make via meta transaction | -| `_sigR` | `BytesLike` | R part of the signature | -| `_sigS` | `BytesLike` | S part of the signature | -| `_sigV` | `BigNumberish` | V part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -831,18 +825,16 @@ ___ ▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of user trying to do meta transaction | -| `_payload` | `BytesLike` | Function call to make via meta transaction | -| `_sigR` | `BytesLike` | R part of the signature | -| `_sigS` | `BytesLike` | S part of the signature | -| `_sigV` | `BigNumberish` | V part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -878,8 +870,6 @@ ___ ▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when upgrading the extension - #### Parameters | Name | Type | @@ -900,8 +890,6 @@ ___ ▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when upgrading the extension - #### Parameters | Name | Type | @@ -960,46 +948,6 @@ AugmentedStakedExpenditure.getCapabilityRoles(bytes4) ___ -### getChainId - -▸ **getChainId**(`overrides?`): `Promise`<`BigNumber`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedStakedExpenditure.getChainId - -___ - -### getChainId() - -▸ **getChainId()**(`overrides?`): `Promise`<`BigNumber`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedStakedExpenditure.getChainId() - -___ - ### getColony ▸ **getColony**(`overrides?`): `Promise`<`string`\> @@ -1126,14 +1074,12 @@ ___ ▸ **getStake**(`_expenditureId`, `overrides?`): `Promise`<`StakeStructOutput`\> -Get the stake for an expenditure - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_expenditureId` | `BigNumberish` | The id of the expenditure to get the stake for | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1149,14 +1095,12 @@ ___ ▸ **getStake(uint256)**(`_expenditureId`, `overrides?`): `Promise`<`StakeStructOutput`\> -Get the stake for an expenditure - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_expenditureId` | `BigNumberish` | The id of the expenditure to get the stake for | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1172,8 +1116,6 @@ ___ ▸ **getStakeFraction**(`overrides?`): `Promise`<`BigNumber`\> -Get the stake fraction - #### Parameters | Name | Type | @@ -1194,8 +1136,6 @@ ___ ▸ **getStakeFraction()**(`overrides?`): `Promise`<`BigNumber`\> -Get the stake fraction - #### Parameters | Name | Type | @@ -1216,8 +1156,6 @@ ___ ▸ **identifier**(`overrides?`): `Promise`<`string`\> -Returns the identifier of the extension - #### Parameters | Name | Type | @@ -1238,8 +1176,6 @@ ___ ▸ **identifier()**(`overrides?`): `Promise`<`string`\> -Returns the identifier of the extension - #### Parameters | Name | Type | @@ -1256,18 +1192,58 @@ AugmentedStakedExpenditure.identifier() ___ +### initialise + +▸ **initialise**(`_stakeFraction`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_stakeFraction` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStakedExpenditure.initialise + +___ + +### initialise(uint256) + +▸ **initialise(uint256)**(`_stakeFraction`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_stakeFraction` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStakedExpenditure.initialise(uint256) + +___ + ### install ▸ **install**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> -Configures the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colony` | `string` | The colony in which the extension holds permissions | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1283,14 +1259,12 @@ ___ ▸ **install(address)**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> -Configures the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colony` | `string` | The colony in which the extension holds permissions | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1368,20 +1342,18 @@ ___ ▸ **makeExpenditureWithStake**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Make an expenditure by putting up a stake - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the extension has the administration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, | -| `_domainId` | `BigNumberish` | The domain where the expenditure belongs | -| `_key` | `BytesLike` | A reputation hash tree key, of the total reputation in _domainId | -| `_value` | `BytesLike` | Reputation value indicating the total reputation in _domainId | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_domainId` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1397,20 +1369,18 @@ ___ ▸ **makeExpenditureWithStake(uint256,uint256,uint256,bytes,bytes,uint256,bytes32[])**(`_permissionDomainId`, `_childSkillIndex`, `_domainId`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Make an expenditure by putting up a stake - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_permissionDomainId` | `BigNumberish` | The domainId in which the extension has the administration permission | -| `_childSkillIndex` | `BigNumberish` | The index that the `_domainId` is relative to `_permissionDomainId`, | -| `_domainId` | `BigNumberish` | The domain where the expenditure belongs | -| `_key` | `BytesLike` | A reputation hash tree key, of the total reputation in _domainId | -| `_value` | `BytesLike` | Reputation value indicating the total reputation in _domainId | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_domainId` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1426,7 +1396,7 @@ ___ ▸ **makeExpenditureWithStakeWithProofs**(`_domainId`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [makeExpenditureWithStake](StakedExpenditureClientV1.md#makeexpenditurewithstake), but let colonyJS figure out the permission proofs for you. +Same as [makeExpenditureWithStake](StakedExpenditureClientV7.md#makeexpenditurewithstake), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -1450,6 +1420,48 @@ AugmentedStakedExpenditure.makeExpenditureWithStakeWithProofs ___ +### multicall + +▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStakedExpenditure.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStakedExpenditure.multicall(bytes[]) + +___ + ### owner ▸ **owner**(`overrides?`): `Promise`<`string`\> @@ -1522,14 +1534,12 @@ ___ ▸ **reclaimStake**(`_expenditureId`, `overrides?`): `Promise`<`ContractTransaction`\> -Reclaims the stake if the expenditure is finalized or cancelled - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_expenditureId` | `BigNumberish` | The id of the expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1545,14 +1555,12 @@ ___ ▸ **reclaimStake(uint256)**(`_expenditureId`, `overrides?`): `Promise`<`ContractTransaction`\> -Reclaims the stake if the expenditure is finalized or cancelled - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_expenditureId` | `BigNumberish` | The id of the expenditure | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1566,7 +1574,7 @@ ___ ### removeAllListeners -▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Type parameters @@ -1582,13 +1590,13 @@ ___ #### Returns -[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Inherited from AugmentedStakedExpenditure.removeAllListeners -▸ **removeAllListeners**(`eventName?`): [`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +▸ **removeAllListeners**(`eventName?`): [`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Parameters @@ -1598,7 +1606,7 @@ AugmentedStakedExpenditure.removeAllListeners #### Returns -[`StakedExpenditureClientV1`](StakedExpenditureClientV1.md) +[`StakedExpenditureClientV7`](StakedExpenditureClientV7.md) #### Inherited from @@ -1694,14 +1702,12 @@ ___ ▸ **setStakeFraction**(`_stakeFraction`, `overrides?`): `Promise`<`ContractTransaction`\> -Sets the stake fraction - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_stakeFraction` | `BigNumberish` | WAD-denominated fraction, used to determine stake as fraction of rep in domain | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_stakeFraction` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1717,14 +1723,12 @@ ___ ▸ **setStakeFraction(uint256)**(`_stakeFraction`, `overrides?`): `Promise`<`ContractTransaction`\> -Sets the stake fraction - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_stakeFraction` | `BigNumberish` | WAD-denominated fraction, used to determine stake as fraction of rep in domain | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_stakeFraction` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1740,8 +1744,6 @@ ___ ▸ **uninstall**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when uninstalling the extension - #### Parameters | Name | Type | @@ -1762,8 +1764,6 @@ ___ ▸ **uninstall()**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when uninstalling the extension - #### Parameters | Name | Type | @@ -1782,13 +1782,13 @@ ___ ### verify -▸ **verify**(`_owner`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> +▸ **verify**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> #### Parameters | Name | Type | | :------ | :------ | -| `_owner` | `string` | +| `_user` | `string` | | `_nonce` | `BigNumberish` | | `_chainId` | `BigNumberish` | | `_payload` | `BytesLike` | @@ -1809,13 +1809,13 @@ ___ ### verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) -▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_owner`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> +▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> #### Parameters | Name | Type | | :------ | :------ | -| `_owner` | `string` | +| `_user` | `string` | | `_nonce` | `BigNumberish` | | `_chainId` | `BigNumberish` | | `_payload` | `BytesLike` | @@ -1838,8 +1838,6 @@ ___ ▸ **version**(`overrides?`): `Promise`<`BigNumber`\> -Returns the version of the extension - #### Parameters | Name | Type | @@ -1860,8 +1858,6 @@ ___ ▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> -Returns the version of the extension - #### Parameters | Name | Type | diff --git a/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV5.md b/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV5.md index 2c7208e8c..7f2b93819 100644 --- a/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV5.md +++ b/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV5.md @@ -173,7 +173,7 @@ ___ ### estimateGas -• **estimateGas**: { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `cancel`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancel(uint256,uint256,uint256)`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancelAndWaive`: (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancelAndWaive(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `claim`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `claim(uint256,uint256,uint256,uint256,uint256)`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `create`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256)`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getAmountClaimableLifetime`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getAmountClaimableLifetime(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getAmountEntitledFromStart`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getAmountEntitledFromStart(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNUnresolvedStreamingPayments`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNUnresolvedStreamingPayments()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNumStreamingPayments`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNumStreamingPayments()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getStreamingPayment`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getStreamingPayment(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setEndTime`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setEndTime(uint256,uint256,uint256,uint256)`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setStartTime`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setStartTime(uint256,uint256,uint256,uint256)`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setTokenAmount`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `authority`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `authority()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `cancel`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancel(uint256,uint256,uint256)`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancelAndWaive`: (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `cancelAndWaive(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `claim`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `claim(uint256,uint256,uint256,uint256,uint256)`: (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `create`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256)`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `deprecate(bool)`: (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `finishUpgrade()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `getAmountClaimableLifetime`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getAmountClaimableLifetime(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getAmountEntitledFromStart`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getAmountEntitledFromStart(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getCapabilityRoles(bytes4)`: (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getColony()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getDeprecated()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getMetatransactionNonce(address)`: (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNUnresolvedStreamingPayments`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNUnresolvedStreamingPayments()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNumStreamingPayments`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getNumStreamingPayments()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getStreamingPayment`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `getStreamingPayment(uint256)`: (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `identifier()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `install`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `install(address)`: (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `multicall(bytes[])`: (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `owner`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `owner()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `setAuthority`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setAuthority(address)`: (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setEndTime`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setEndTime(uint256,uint256,uint256,uint256)`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setOwner(address)`: (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setStartTime`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setStartTime(uint256,uint256,uint256,uint256)`: (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setTokenAmount`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)`: (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `uninstall()`: (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> ; `verify`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)`: (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> ; `version()`: (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> } & { `cancelWithProofs`: (`_id`: `BigNumberish`, `overrides?`: [`TxOverrides`](../README.md#txoverrides)) => `Promise`<`BigNumber`\> ; `claimWithProofs`: (`_id`: `BigNumberish`, `overrides?`: [`TxOverrides`](../README.md#txoverrides)) => `Promise`<`BigNumber`\> ; `createWithProofs`: (`_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: [`TxOverrides`](../README.md#txoverrides)) => `Promise`<`BigNumber`\> ; `setEndTimeWithProofs`: (`_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: [`TxOverrides`](../README.md#txoverrides)) => `Promise`<`BigNumber`\> ; `setStartTimeWithProofs`: (`_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: [`TxOverrides`](../README.md#txoverrides)) => `Promise`<`BigNumber`\> ; `setTokenAmountWithProofs`: (`_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: [`TxOverrides`](../README.md#txoverrides)) => `Promise`<`BigNumber`\> } +• **estimateGas**: `Object` #### Inherited from diff --git a/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV6.md b/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV6.md new file mode 100644 index 000000000..8f9fecc9d --- /dev/null +++ b/packages/colony-js/docs/api/interfaces/StreamingPaymentsClientV6.md @@ -0,0 +1,2176 @@ +# Interface: StreamingPaymentsClientV6 + +## Hierarchy + +- `AugmentedStreamingPayments`<`StreamingPayments`\> + + ↳ **`StreamingPaymentsClientV6`** + +## Properties + +### \_deployedPromise + +• **\_deployedPromise**: `Promise`<`Contract`\> + +#### Inherited from + +AugmentedStreamingPayments.\_deployedPromise + +___ + +### \_runningEvents + +• **\_runningEvents**: `Object` + +#### Index signature + +▪ [eventTag: `string`]: `RunningEvent` + +#### Inherited from + +AugmentedStreamingPayments.\_runningEvents + +___ + +### \_wrappedEmits + +• **\_wrappedEmits**: `Object` + +#### Index signature + +▪ [eventTag: `string`]: (...`args`: `any`[]) => `void` + +#### Inherited from + +AugmentedStreamingPayments.\_wrappedEmits + +___ + +### address + +• `Readonly` **address**: `string` + +#### Inherited from + +AugmentedStreamingPayments.address + +___ + +### callStatic + +• **callStatic**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `cancel` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `cancel(uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `cancelAndWaive` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `cancelAndWaive(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `claim` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `claim(uint256,uint256,uint256,uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `create` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256)` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `finishUpgrade` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `getAmountClaimableLifetime` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getAmountClaimableLifetime(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getAmountEntitledFromStart` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getAmountEntitledFromStart(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getNUnresolvedStreamingPayments` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getNUnresolvedStreamingPayments()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getNumStreamingPayments` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getNumStreamingPayments()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getStreamingPayment` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`StreamingPaymentStructOutput`\> | +| `getStreamingPayment(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`StreamingPaymentStructOutput`\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `install` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setEndTime` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setEndTime(uint256,uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setStartTime` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setStartTime(uint256,uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setTokenAmount` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `uninstall` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `uninstall()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | + +#### Inherited from + +AugmentedStreamingPayments.callStatic + +___ + +### clientType + +• **clientType**: [`StreamingPaymentsClient`](../enums/ClientType.md#streamingpaymentsclient) + +#### Inherited from + +AugmentedStreamingPayments.clientType + +___ + +### clientVersion + +• **clientVersion**: ``6`` + +#### Overrides + +AugmentedStreamingPayments.clientVersion + +___ + +### colonyClient + +• **colonyClient**: `AugmentedIColony`<`ValidColony`\> + +An instance of the corresponding ColonyClient + +#### Inherited from + +AugmentedStreamingPayments.colonyClient + +___ + +### deployTransaction + +• `Readonly` **deployTransaction**: `TransactionResponse` + +#### Inherited from + +AugmentedStreamingPayments.deployTransaction + +___ + +### estimateGas + +• **estimateGas**: `Object` + +#### Inherited from + +AugmentedStreamingPayments.estimateGas + +___ + +### filters + +• **filters**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `ClaimWaived` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`) => `ClaimWaivedEventFilter` | +| `ClaimWaived(address,uint256)` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`) => `ClaimWaivedEventFilter` | +| `EndTimeSet` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `endTime?`: ``null``) => `EndTimeSetEventFilter` | +| `EndTimeSet(address,uint256,uint256)` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `endTime?`: ``null``) => `EndTimeSetEventFilter` | +| `ExtensionInitialised` | () => `ExtensionInitialisedEventFilter` | +| `ExtensionInitialised()` | () => `ExtensionInitialisedEventFilter` | +| `LogSetAuthority` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | +| `LogSetAuthority(address)` | (`authority?`: ``null`` \| `string`) => `LogSetAuthorityEventFilter` | +| `LogSetOwner` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | +| `LogSetOwner(address)` | (`owner?`: ``null`` \| `string`) => `LogSetOwnerEventFilter` | +| `MetaTransactionExecuted` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | +| `MetaTransactionExecuted(address,address,bytes)` | (`user?`: ``null``, `relayerAddress?`: ``null``, `functionSignature?`: ``null``) => `MetaTransactionExecutedEventFilter` | +| `PaymentTokenUpdated` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `interval?`: ``null``) => `PaymentTokenUpdatedEventFilter` | +| `PaymentTokenUpdated(address,uint256,uint256,uint256)` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `amount?`: ``null``, `interval?`: ``null``) => `PaymentTokenUpdatedEventFilter` | +| `StartTimeSet` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `startTime?`: ``null``) => `StartTimeSetEventFilter` | +| `StartTimeSet(address,uint256,uint256)` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `startTime?`: ``null``) => `StartTimeSetEventFilter` | +| `StreamingPaymentClaimed` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `StreamingPaymentClaimedEventFilter` | +| `StreamingPaymentClaimed(address,uint256,address,uint256)` | (`agent?`: ``null``, `streamingPaymentId?`: ``null`` \| `BigNumberish`, `token?`: ``null``, `amount?`: ``null``) => `StreamingPaymentClaimedEventFilter` | +| `StreamingPaymentCreated` | (`agent?`: ``null``, `streamingPaymentId?`: ``null``) => `StreamingPaymentCreatedEventFilter` | +| `StreamingPaymentCreated(address,uint256)` | (`agent?`: ``null``, `streamingPaymentId?`: ``null``) => `StreamingPaymentCreatedEventFilter` | + +#### Inherited from + +AugmentedStreamingPayments.filters + +___ + +### functions + +• **functions**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `cancel` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `cancel(uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `cancelAndWaive` | (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `cancelAndWaive(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `claim` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `claim(uint256,uint256,uint256,uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `create` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256)` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `getAmountClaimableLifetime` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `amount`: `BigNumber` }\> | +| `getAmountClaimableLifetime(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `amount`: `BigNumber` }\> | +| `getAmountEntitledFromStart` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `amount`: `BigNumber` }\> | +| `getAmountEntitledFromStart(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `amount`: `BigNumber` }\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getNUnresolvedStreamingPayments` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nUnresolvedPayments`: `BigNumber` }\> | +| `getNUnresolvedStreamingPayments()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nUnresolvedPayments`: `BigNumber` }\> | +| `getNumStreamingPayments` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `numPayments`: `BigNumber` }\> | +| `getNumStreamingPayments()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `numPayments`: `BigNumber` }\> | +| `getStreamingPayment` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`StreamingPaymentStructOutput`] & { `streamingPayment`: `StreamingPaymentStructOutput` }\> | +| `getStreamingPayment(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`StreamingPaymentStructOutput`] & { `streamingPayment`: `StreamingPaymentStructOutput` }\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setEndTime` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setEndTime(uint256,uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setStartTime` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setStartTime(uint256,uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setTokenAmount` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | + +#### Inherited from + +AugmentedStreamingPayments.functions + +___ + +### interface + +• **interface**: `StreamingPaymentsInterface` + +#### Inherited from + +AugmentedStreamingPayments.interface + +___ + +### off + +• **off**: `OnEvent`<[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md)\> + +#### Inherited from + +AugmentedStreamingPayments.off + +___ + +### on + +• **on**: `OnEvent`<[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md)\> + +#### Inherited from + +AugmentedStreamingPayments.on + +___ + +### once + +• **once**: `OnEvent`<[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md)\> + +#### Inherited from + +AugmentedStreamingPayments.once + +___ + +### populateTransaction + +• **populateTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `authority` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `authority()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `cancel` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `cancel(uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `cancelAndWaive` | (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `cancelAndWaive(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `claim` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `claim(uint256,uint256,uint256,uint256,uint256)` | (`_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `create` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256)` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_domainId`: `BigNumberish`, `_startTime`: `BigNumberish`, `_endTime`: `BigNumberish`, `_interval`: `BigNumberish`, `_recipient`: `string`, `_token`: `string`, `_amount`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeMetaTransaction` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `PayableOverrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `getAmountClaimableLifetime` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getAmountClaimableLifetime(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getAmountEntitledFromStart` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getAmountEntitledFromStart(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getNUnresolvedStreamingPayments` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getNUnresolvedStreamingPayments()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getNumStreamingPayments` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getNumStreamingPayments()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getStreamingPayment` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getStreamingPayment(uint256)` | (`_id`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setAuthority(address)` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setEndTime` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setEndTime(uint256,uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_endTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setOwner` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setOwner(address)` | (`owner_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setStartTime` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setStartTime(uint256,uint256,uint256,uint256)` | (`_adminPermissionDomainId`: `BigNumberish`, `_adminChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_startTime`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setTokenAmount` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)` | (`_fundingPermissionDomainId`: `BigNumberish`, `_fundingChildSkillIndex`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_fromChildSkillIndex`: `BigNumberish`, `_toChildSkillIndex`: `BigNumberish`, `_id`: `BigNumberish`, `_amount`: `BigNumberish`, `_interval`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | + +#### Inherited from + +AugmentedStreamingPayments.populateTransaction + +___ + +### provider + +• `Readonly` **provider**: `Provider` + +#### Inherited from + +AugmentedStreamingPayments.provider + +___ + +### removeListener + +• **removeListener**: `OnEvent`<[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md)\> + +#### Inherited from + +AugmentedStreamingPayments.removeListener + +___ + +### resolvedAddress + +• `Readonly` **resolvedAddress**: `Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.resolvedAddress + +___ + +### signer + +• `Readonly` **signer**: `Signer` + +#### Inherited from + +AugmentedStreamingPayments.signer + +___ + +### streamingPaymentsEvents + +• **streamingPaymentsEvents**: `StreamingPaymentsEvents` + +The streamingPaymentsEvents contract supports all events across all versions. +Isn't that amazing? +It's an ethers contract with only events to filter + +#### Inherited from + +AugmentedStreamingPayments.streamingPaymentsEvents + +## Methods + +### \_checkRunningEvents + +▸ **_checkRunningEvents**(`runningEvent`): `void` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `runningEvent` | `RunningEvent` | + +#### Returns + +`void` + +#### Inherited from + +AugmentedStreamingPayments.\_checkRunningEvents + +___ + +### \_deployed + +▸ **_deployed**(`blockTag?`): `Promise`<`Contract`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `blockTag?` | `BlockTag` | + +#### Returns + +`Promise`<`Contract`\> + +#### Inherited from + +AugmentedStreamingPayments.\_deployed + +___ + +### \_wrapEvent + +▸ **_wrapEvent**(`runningEvent`, `log`, `listener`): `Event` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `runningEvent` | `RunningEvent` | +| `log` | `Log` | +| `listener` | `Listener` | + +#### Returns + +`Event` + +#### Inherited from + +AugmentedStreamingPayments.\_wrapEvent + +___ + +### attach + +▸ **attach**(`addressOrName`): [`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `addressOrName` | `string` | + +#### Returns + +[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Inherited from + +AugmentedStreamingPayments.attach + +___ + +### authority + +▸ **authority**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.authority + +___ + +### authority() + +▸ **authority()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.authority() + +___ + +### cancel + +▸ **cancel**(`_adminPermissionDomainId`, `_adminChildSkillIndex`, `_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.cancel + +___ + +### cancel(uint256,uint256,uint256) + +▸ **cancel(uint256,uint256,uint256)**(`_adminPermissionDomainId`, `_adminChildSkillIndex`, `_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.cancel(uint256,uint256,uint256) + +___ + +### cancelAndWaive + +▸ **cancelAndWaive**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.cancelAndWaive + +___ + +### cancelAndWaive(uint256) + +▸ **cancelAndWaive(uint256)**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.cancelAndWaive(uint256) + +___ + +### cancelWithProofs + +▸ **cancelWithProofs**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +Same as [cancel](StreamingPaymentsClientV6.md#cancel), but let colonyJS figure out the permission proofs for you. +Always prefer this method, except when you have good reason not to. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `_id` | `BigNumberish` | The id of the streaming payment | +| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.cancelWithProofs + +___ + +### claim + +▸ **claim**(`_permissionDomainId`, `_childSkillIndex`, `_fromChildSkillIndex`, `_toChildSkillIndex`, `_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_fromChildSkillIndex` | `BigNumberish` | +| `_toChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.claim + +___ + +### claim(uint256,uint256,uint256,uint256,uint256) + +▸ **claim(uint256,uint256,uint256,uint256,uint256)**(`_permissionDomainId`, `_childSkillIndex`, `_fromChildSkillIndex`, `_toChildSkillIndex`, `_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_fromChildSkillIndex` | `BigNumberish` | +| `_toChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.claim(uint256,uint256,uint256,uint256,uint256) + +___ + +### claimWithProofs + +▸ **claimWithProofs**(`_id`, `overrides?`): `Promise`<`ContractTransaction`\> + +Same as [claim](StreamingPaymentsClientV6.md#claim), but let colonyJS figure out the permission proofs for you. +Always prefer this method, except when you have good reason not to. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `_id` | `BigNumberish` | The id of the streaming payment | +| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.claimWithProofs + +___ + +### connect + +▸ **connect**(`signerOrProvider`): [`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `signerOrProvider` | `string` \| `Signer` \| `Provider` | + +#### Returns + +[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Inherited from + +AugmentedStreamingPayments.connect + +___ + +### create + +▸ **create**(`_fundingPermissionDomainId`, `_fundingChildSkillIndex`, `_adminPermissionDomainId`, `_adminChildSkillIndex`, `_domainId`, `_startTime`, `_endTime`, `_interval`, `_recipient`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_fundingPermissionDomainId` | `BigNumberish` | +| `_fundingChildSkillIndex` | `BigNumberish` | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_domainId` | `BigNumberish` | +| `_startTime` | `BigNumberish` | +| `_endTime` | `BigNumberish` | +| `_interval` | `BigNumberish` | +| `_recipient` | `string` | +| `_token` | `string` | +| `_amount` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.create + +___ + +### create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256) + +▸ **create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256)**(`_fundingPermissionDomainId`, `_fundingChildSkillIndex`, `_adminPermissionDomainId`, `_adminChildSkillIndex`, `_domainId`, `_startTime`, `_endTime`, `_interval`, `_recipient`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_fundingPermissionDomainId` | `BigNumberish` | +| `_fundingChildSkillIndex` | `BigNumberish` | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_domainId` | `BigNumberish` | +| `_startTime` | `BigNumberish` | +| `_endTime` | `BigNumberish` | +| `_interval` | `BigNumberish` | +| `_recipient` | `string` | +| `_token` | `string` | +| `_amount` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.create(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,address,uint256) + +___ + +### createWithProofs + +▸ **createWithProofs**(`_domainId`, `_startTime`, `_endTime`, `_interval`, `_recipient`, `_token`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> + +Same as [create](StreamingPaymentsClientV6.md#create), but let colonyJS figure out the permission proofs for you. +Always prefer this method, except when you have good reason not to. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `_domainId` | `BigNumberish` | The domain out of which the streaming payment will be paid | +| `_startTime` | `BigNumberish` | The time at which the payment begins paying out | +| `_endTime` | `BigNumberish` | The time at which the payment ends paying out | +| `_interval` | `BigNumberish` | The period of time over which _amounts are paid out | +| `_recipient` | `string` | The recipient of the streaming payment | +| `_token` | `string` | - | +| `_amount` | `BigNumberish` | - | +| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.createWithProofs + +___ + +### deployed + +▸ **deployed**(): `Promise`<[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md)\> + +#### Returns + +`Promise`<[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md)\> + +#### Inherited from + +AugmentedStreamingPayments.deployed + +___ + +### deprecate + +▸ **deprecate**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.deprecate + +___ + +### deprecate(bool) + +▸ **deprecate(bool)**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_deprecated` | `boolean` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.deprecate(bool) + +___ + +### emit + +▸ **emit**(`eventName`, `...args`): `boolean` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName` | `string` \| `EventFilter` | +| `...args` | `any`[] | + +#### Returns + +`boolean` + +#### Inherited from + +AugmentedStreamingPayments.emit + +___ + +### executeMetaTransaction + +▸ **executeMetaTransaction**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.executeMetaTransaction + +___ + +### executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) + +▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) + +___ + +### fallback + +▸ **fallback**(`overrides?`): `Promise`<`TransactionResponse`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `TransactionRequest` | + +#### Returns + +`Promise`<`TransactionResponse`\> + +#### Inherited from + +AugmentedStreamingPayments.fallback + +___ + +### finishUpgrade + +▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.finishUpgrade + +___ + +### finishUpgrade() + +▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.finishUpgrade() + +___ + +### getAmountClaimableLifetime + +▸ **getAmountClaimableLifetime**(`_id`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getAmountClaimableLifetime + +___ + +### getAmountClaimableLifetime(uint256) + +▸ **getAmountClaimableLifetime(uint256)**(`_id`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getAmountClaimableLifetime(uint256) + +___ + +### getAmountEntitledFromStart + +▸ **getAmountEntitledFromStart**(`_id`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getAmountEntitledFromStart + +___ + +### getAmountEntitledFromStart(uint256) + +▸ **getAmountEntitledFromStart(uint256)**(`_id`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getAmountEntitledFromStart(uint256) + +___ + +### getCapabilityRoles + +▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.getCapabilityRoles + +___ + +### getCapabilityRoles(bytes4) + +▸ **getCapabilityRoles(bytes4)**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.getCapabilityRoles(bytes4) + +___ + +### getColony + +▸ **getColony**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.getColony + +___ + +### getColony() + +▸ **getColony()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.getColony() + +___ + +### getDeprecated + +▸ **getDeprecated**(`overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStreamingPayments.getDeprecated + +___ + +### getDeprecated() + +▸ **getDeprecated()**(`overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStreamingPayments.getDeprecated() + +___ + +### getMetatransactionNonce + +▸ **getMetatransactionNonce**(`_user`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getMetatransactionNonce + +___ + +### getMetatransactionNonce(address) + +▸ **getMetatransactionNonce(address)**(`_user`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getMetatransactionNonce(address) + +___ + +### getNUnresolvedStreamingPayments + +▸ **getNUnresolvedStreamingPayments**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getNUnresolvedStreamingPayments + +___ + +### getNUnresolvedStreamingPayments() + +▸ **getNUnresolvedStreamingPayments()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getNUnresolvedStreamingPayments() + +___ + +### getNumStreamingPayments + +▸ **getNumStreamingPayments**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getNumStreamingPayments + +___ + +### getNumStreamingPayments() + +▸ **getNumStreamingPayments()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.getNumStreamingPayments() + +___ + +### getStreamingPayment + +▸ **getStreamingPayment**(`_id`, `overrides?`): `Promise`<`StreamingPaymentStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`StreamingPaymentStructOutput`\> + +#### Inherited from + +AugmentedStreamingPayments.getStreamingPayment + +___ + +### getStreamingPayment(uint256) + +▸ **getStreamingPayment(uint256)**(`_id`, `overrides?`): `Promise`<`StreamingPaymentStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_id` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`StreamingPaymentStructOutput`\> + +#### Inherited from + +AugmentedStreamingPayments.getStreamingPayment(uint256) + +___ + +### identifier + +▸ **identifier**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.identifier + +___ + +### identifier() + +▸ **identifier()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.identifier() + +___ + +### install + +▸ **install**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.install + +___ + +### install(address) + +▸ **install(address)**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.install(address) + +___ + +### listenerCount + +▸ **listenerCount**(`eventName?`): `number` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` \| `EventFilter` | + +#### Returns + +`number` + +#### Inherited from + +AugmentedStreamingPayments.listenerCount + +___ + +### listeners + +▸ **listeners**<`TEvent`\>(`eventFilter?`): `TypedListener`<`TEvent`\>[] + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventFilter?` | `TypedEventFilter`<`TEvent`\> | + +#### Returns + +`TypedListener`<`TEvent`\>[] + +#### Inherited from + +AugmentedStreamingPayments.listeners + +▸ **listeners**(`eventName?`): `Listener`[] + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` | + +#### Returns + +`Listener`[] + +#### Inherited from + +AugmentedStreamingPayments.listeners + +___ + +### multicall + +▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.multicall(bytes[]) + +___ + +### owner + +▸ **owner**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.owner + +___ + +### owner() + +▸ **owner()**(`overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedStreamingPayments.owner() + +___ + +### queryFilter + +▸ **queryFilter**<`TEvent`\>(`event`, `fromBlockOrBlockhash?`, `toBlock?`): `Promise`<`TEvent`[]\> + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `event` | `TypedEventFilter`<`TEvent`\> | +| `fromBlockOrBlockhash?` | `string` \| `number` | +| `toBlock?` | `string` \| `number` | + +#### Returns + +`Promise`<`TEvent`[]\> + +#### Inherited from + +AugmentedStreamingPayments.queryFilter + +___ + +### removeAllListeners + +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Type parameters + +| Name | Type | +| :------ | :------ | +| `TEvent` | extends `TypedEvent`<`any`, `any`\> | + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventFilter` | `TypedEventFilter`<`TEvent`\> | + +#### Returns + +[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Inherited from + +AugmentedStreamingPayments.removeAllListeners + +▸ **removeAllListeners**(`eventName?`): [`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `eventName?` | `string` | + +#### Returns + +[`StreamingPaymentsClientV6`](StreamingPaymentsClientV6.md) + +#### Inherited from + +AugmentedStreamingPayments.removeAllListeners + +___ + +### setAuthority + +▸ **setAuthority**(`authority_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `authority_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setAuthority + +___ + +### setAuthority(address) + +▸ **setAuthority(address)**(`authority_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `authority_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setAuthority(address) + +___ + +### setEndTime + +▸ **setEndTime**(`_adminPermissionDomainId`, `_adminChildSkillIndex`, `_id`, `_endTime`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `_endTime` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setEndTime + +___ + +### setEndTime(uint256,uint256,uint256,uint256) + +▸ **setEndTime(uint256,uint256,uint256,uint256)**(`_adminPermissionDomainId`, `_adminChildSkillIndex`, `_id`, `_endTime`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `_endTime` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setEndTime(uint256,uint256,uint256,uint256) + +___ + +### setEndTimeWithProofs + +▸ **setEndTimeWithProofs**(`_id`, `_endTime`, `overrides?`): `Promise`<`ContractTransaction`\> + +Same as [setEndTime](StreamingPaymentsClientV6.md#setendtime), but let colonyJS figure out the permission proofs for you. +Always prefer this method, except when you have good reason not to. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `_id` | `BigNumberish` | The id of the streaming payment | +| `_endTime` | `BigNumberish` | The new endTime to set | +| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setEndTimeWithProofs + +___ + +### setOwner + +▸ **setOwner**(`owner_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `owner_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setOwner + +___ + +### setOwner(address) + +▸ **setOwner(address)**(`owner_`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `owner_` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setOwner(address) + +___ + +### setStartTime + +▸ **setStartTime**(`_adminPermissionDomainId`, `_adminChildSkillIndex`, `_id`, `_startTime`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `_startTime` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setStartTime + +___ + +### setStartTime(uint256,uint256,uint256,uint256) + +▸ **setStartTime(uint256,uint256,uint256,uint256)**(`_adminPermissionDomainId`, `_adminChildSkillIndex`, `_id`, `_startTime`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_adminPermissionDomainId` | `BigNumberish` | +| `_adminChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `_startTime` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setStartTime(uint256,uint256,uint256,uint256) + +___ + +### setStartTimeWithProofs + +▸ **setStartTimeWithProofs**(`_id`, `_startTime`, `overrides?`): `Promise`<`ContractTransaction`\> + +Same as [setStartTime](StreamingPaymentsClientV6.md#setstarttime), but let colonyJS figure out the permission proofs for you. +Always prefer this method, except when you have good reason not to. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `_id` | `BigNumberish` | The id of the streaming payment | +| `_startTime` | `BigNumberish` | The new startTime to set | +| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setStartTimeWithProofs + +___ + +### setTokenAmount + +▸ **setTokenAmount**(`_fundingPermissionDomainId`, `_fundingChildSkillIndex`, `_permissionDomainId`, `_childSkillIndex`, `_fromChildSkillIndex`, `_toChildSkillIndex`, `_id`, `_amount`, `_interval`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_fundingPermissionDomainId` | `BigNumberish` | +| `_fundingChildSkillIndex` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_fromChildSkillIndex` | `BigNumberish` | +| `_toChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `_amount` | `BigNumberish` | +| `_interval` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setTokenAmount + +___ + +### setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) + +▸ **setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)**(`_fundingPermissionDomainId`, `_fundingChildSkillIndex`, `_permissionDomainId`, `_childSkillIndex`, `_fromChildSkillIndex`, `_toChildSkillIndex`, `_id`, `_amount`, `_interval`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_fundingPermissionDomainId` | `BigNumberish` | +| `_fundingChildSkillIndex` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_fromChildSkillIndex` | `BigNumberish` | +| `_toChildSkillIndex` | `BigNumberish` | +| `_id` | `BigNumberish` | +| `_amount` | `BigNumberish` | +| `_interval` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setTokenAmount(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) + +___ + +### setTokenAmountWithProofs + +▸ **setTokenAmountWithProofs**(`_id`, `_amount`, `_interval`, `overrides?`): `Promise`<`ContractTransaction`\> + +Same as [setTokenAmount](StreamingPaymentsClientV6.md#settokenamount), but let colonyJS figure out the permission proofs for you. +Always prefer this method, except when you have good reason not to. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `_id` | `BigNumberish` | The id of the streaming payment | +| `_amount` | `BigNumberish` | The new amount to pay out | +| `_interval` | `BigNumberish` | - | +| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.setTokenAmountWithProofs + +___ + +### uninstall + +▸ **uninstall**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.uninstall + +___ + +### uninstall() + +▸ **uninstall()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedStreamingPayments.uninstall() + +___ + +### verify + +▸ **verify**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_nonce` | `BigNumberish` | +| `_chainId` | `BigNumberish` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStreamingPayments.verify + +___ + +### verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) + +▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_nonce` | `BigNumberish` | +| `_chainId` | `BigNumberish` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`boolean`\> + +#### Inherited from + +AugmentedStreamingPayments.verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) + +___ + +### version + +▸ **version**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.version + +___ + +### version() + +▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedStreamingPayments.version() diff --git a/packages/colony-js/docs/api/interfaces/TokenSupplierClientV3.md b/packages/colony-js/docs/api/interfaces/TokenSupplierClientV9.md similarity index 81% rename from packages/colony-js/docs/api/interfaces/TokenSupplierClientV3.md rename to packages/colony-js/docs/api/interfaces/TokenSupplierClientV9.md index a00f389fc..e03b239b8 100644 --- a/packages/colony-js/docs/api/interfaces/TokenSupplierClientV3.md +++ b/packages/colony-js/docs/api/interfaces/TokenSupplierClientV9.md @@ -1,10 +1,10 @@ -# Interface: TokenSupplierClientV3 +# Interface: TokenSupplierClientV9 ## Hierarchy - `AugmentedTokenSupplier`<`TokenSupplier`\> - ↳ **`TokenSupplierClientV3`** + ↳ **`TokenSupplierClientV9`** ## Properties @@ -74,8 +74,6 @@ ___ | `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | @@ -84,8 +82,8 @@ ___ | `getLastPinged()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getLastRateUpdate` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getLastRateUpdate()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getTokenIssuanceRate` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getTokenIssuanceRate()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getTokenSupplyCeiling` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -98,6 +96,8 @@ ___ | `install(address)` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `issueTokens` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `issueTokens()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -110,8 +110,8 @@ ___ | `setTokenSupplyCeiling(uint256)` | (`_tokenSupplyCeiling`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `uninstall` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `uninstall()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -133,7 +133,7 @@ ___ ### clientVersion -• **clientVersion**: ``3`` +• **clientVersion**: ``9`` #### Overrides @@ -181,8 +181,6 @@ ___ | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -191,8 +189,8 @@ ___ | `getLastPinged()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getLastRateUpdate` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getLastRateUpdate()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getTokenIssuanceRate` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getTokenIssuanceRate()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getTokenSupplyCeiling` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -205,6 +203,8 @@ ___ | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | | `issueTokens` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | | `issueTokens()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | @@ -217,8 +217,8 @@ ___ | `setTokenSupplyCeiling(uint256)` | (`_tokenSupplyCeiling`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`BigNumber`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -275,30 +275,30 @@ ___ | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | | `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `getLastPinged` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getLastPinged()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getLastRateUpdate` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getLastRateUpdate()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | -| `getTokenIssuanceRate` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getTokenIssuanceRate()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getTokenSupplyCeiling` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `getTokenSupplyCeiling()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `getLastPinged` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `lastPinged`: `BigNumber` }\> | +| `getLastPinged()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `lastPinged`: `BigNumber` }\> | +| `getLastRateUpdate` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `lastUpdate`: `BigNumber` }\> | +| `getLastRateUpdate()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `lastUpdate`: `BigNumber` }\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_nonce`: `BigNumber` }\> | +| `getTokenIssuanceRate` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `issuanceRate`: `BigNumber` }\> | +| `getTokenIssuanceRate()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `issuanceRate`: `BigNumber` }\> | +| `getTokenSupplyCeiling` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `supplyCeiling`: `BigNumber` }\> | +| `getTokenSupplyCeiling()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `supplyCeiling`: `BigNumber` }\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `_identifier`: `string` }\> | | `initialise` | (`_tokenSupplyCeiling`: `BigNumberish`, `_tokenIssuanceRate`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `initialise(uint256,uint256)` | (`_tokenSupplyCeiling`: `BigNumberish`, `_tokenIssuanceRate`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `issueTokens` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `issueTokens()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | @@ -311,10 +311,10 @@ ___ | `setTokenSupplyCeiling(uint256)` | (`_tokenSupplyCeiling`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_version`: `BigNumber` }\> | #### Inherited from @@ -334,7 +334,7 @@ ___ ### off -• **off**: `OnEvent`<[`TokenSupplierClientV3`](TokenSupplierClientV3.md)\> +• **off**: `OnEvent`<[`TokenSupplierClientV9`](TokenSupplierClientV9.md)\> #### Inherited from @@ -344,7 +344,7 @@ ___ ### on -• **on**: `OnEvent`<[`TokenSupplierClientV3`](TokenSupplierClientV3.md)\> +• **on**: `OnEvent`<[`TokenSupplierClientV9`](TokenSupplierClientV9.md)\> #### Inherited from @@ -354,7 +354,7 @@ ___ ### once -• **once**: `OnEvent`<[`TokenSupplierClientV3`](TokenSupplierClientV3.md)\> +• **once**: `OnEvent`<[`TokenSupplierClientV9`](TokenSupplierClientV9.md)\> #### Inherited from @@ -380,8 +380,6 @@ ___ | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getChainId` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getChainId()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -390,8 +388,8 @@ ___ | `getLastPinged()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getLastRateUpdate` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getLastRateUpdate()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getMetatransactionNonce(address)` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getMetatransactionNonce(address)` | (`_user`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getTokenIssuanceRate` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getTokenIssuanceRate()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getTokenSupplyCeiling` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -404,6 +402,8 @@ ___ | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `issueTokens` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `issueTokens()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `owner` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `owner()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `setAuthority` | (`authority_`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -416,8 +416,8 @@ ___ | `setTokenSupplyCeiling(uint256)` | (`_tokenSupplyCeiling`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `verify` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_owner`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)` | (`_user`: `string`, `_nonce`: `BigNumberish`, `_chainId`: `BigNumberish`, `_payload`: `BytesLike`, `_sigR`: `BytesLike`, `_sigS`: `BytesLike`, `_sigV`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `version` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `version()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -439,7 +439,7 @@ ___ ### removeListener -• **removeListener**: `OnEvent`<[`TokenSupplierClientV3`](TokenSupplierClientV3.md)\> +• **removeListener**: `OnEvent`<[`TokenSupplierClientV9`](TokenSupplierClientV9.md)\> #### Inherited from @@ -545,7 +545,7 @@ ___ ### attach -▸ **attach**(`addressOrName`): [`TokenSupplierClientV3`](TokenSupplierClientV3.md) +▸ **attach**(`addressOrName`): [`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Parameters @@ -555,7 +555,7 @@ ___ #### Returns -[`TokenSupplierClientV3`](TokenSupplierClientV3.md) +[`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Inherited from @@ -605,7 +605,7 @@ ___ ### connect -▸ **connect**(`signerOrProvider`): [`TokenSupplierClientV3`](TokenSupplierClientV3.md) +▸ **connect**(`signerOrProvider`): [`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Parameters @@ -615,7 +615,7 @@ ___ #### Returns -[`TokenSupplierClientV3`](TokenSupplierClientV3.md) +[`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Inherited from @@ -625,11 +625,11 @@ ___ ### deployed -▸ **deployed**(): `Promise`<[`TokenSupplierClientV3`](TokenSupplierClientV3.md)\> +▸ **deployed**(): `Promise`<[`TokenSupplierClientV9`](TokenSupplierClientV9.md)\> #### Returns -`Promise`<[`TokenSupplierClientV3`](TokenSupplierClientV3.md)\> +`Promise`<[`TokenSupplierClientV9`](TokenSupplierClientV9.md)\> #### Inherited from @@ -641,8 +641,6 @@ ___ ▸ **deprecate**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> -Called when deprecating (or undeprecating) the extension (currently a no-op) - #### Parameters | Name | Type | @@ -664,8 +662,6 @@ ___ ▸ **deprecate(bool)**(`_deprecated`, `overrides?`): `Promise`<`ContractTransaction`\> -Called when deprecating (or undeprecating) the extension (currently a no-op) - #### Parameters | Name | Type | @@ -708,18 +704,16 @@ ___ ▸ **executeMetaTransaction**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of user trying to do meta transaction | -| `_payload` | `BytesLike` | Function call to make via meta transaction | -| `_sigR` | `BytesLike` | R part of the signature | -| `_sigS` | `BytesLike` | S part of the signature | -| `_sigV` | `BigNumberish` | V part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -735,18 +729,16 @@ ___ ▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`_user`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Main function to be called when user wants to execute meta transaction. The actual function to be called should be passed as param with name functionSignature Here the basic signature recovery is being used. Signature is expected to be generated using personal_sign method. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_user` | `string` | Address of user trying to do meta transaction | -| `_payload` | `BytesLike` | Function call to make via meta transaction | -| `_sigR` | `BytesLike` | R part of the signature | -| `_sigS` | `BytesLike` | S part of the signature | -| `_sigV` | `BigNumberish` | V part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_user` | `string` | +| `_payload` | `BytesLike` | +| `_sigR` | `BytesLike` | +| `_sigS` | `BytesLike` | +| `_sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -782,8 +774,6 @@ ___ ▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when upgrading the extension (currently a no-op) - #### Parameters | Name | Type | @@ -804,8 +794,6 @@ ___ ▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when upgrading the extension (currently a no-op) - #### Parameters | Name | Type | @@ -864,46 +852,6 @@ AugmentedTokenSupplier.getCapabilityRoles(bytes4) ___ -### getChainId - -▸ **getChainId**(`overrides?`): `Promise`<`BigNumber`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedTokenSupplier.getChainId - -___ - -### getChainId() - -▸ **getChainId()**(`overrides?`): `Promise`<`BigNumber`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `overrides?` | `CallOverrides` | - -#### Returns - -`Promise`<`BigNumber`\> - -#### Inherited from - -AugmentedTokenSupplier.getChainId() - -___ - ### getColony ▸ **getColony**(`overrides?`): `Promise`<`string`\> @@ -1066,13 +1014,13 @@ ___ ### getMetatransactionNonce -▸ **getMetatransactionNonce**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> +▸ **getMetatransactionNonce**(`_user`, `overrides?`): `Promise`<`BigNumber`\> #### Parameters | Name | Type | | :------ | :------ | -| `userAddress` | `string` | +| `_user` | `string` | | `overrides?` | `CallOverrides` | #### Returns @@ -1087,13 +1035,13 @@ ___ ### getMetatransactionNonce(address) -▸ **getMetatransactionNonce(address)**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> +▸ **getMetatransactionNonce(address)**(`_user`, `overrides?`): `Promise`<`BigNumber`\> #### Parameters | Name | Type | | :------ | :------ | -| `userAddress` | `string` | +| `_user` | `string` | | `overrides?` | `CallOverrides` | #### Returns @@ -1190,8 +1138,6 @@ ___ ▸ **identifier**(`overrides?`): `Promise`<`string`\> -Returns the identifier of the extension - #### Parameters | Name | Type | @@ -1212,8 +1158,6 @@ ___ ▸ **identifier()**(`overrides?`): `Promise`<`string`\> -Returns the identifier of the extension - #### Parameters | Name | Type | @@ -1234,15 +1178,13 @@ ___ ▸ **initialise**(`_tokenSupplyCeiling`, `_tokenIssuanceRate`, `overrides?`): `Promise`<`ContractTransaction`\> -Initialise the extension, must be called before any tokens can be issued - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_tokenSupplyCeiling` | `BigNumberish` | Total amount of tokens to issue | -| `_tokenIssuanceRate` | `BigNumberish` | Number of tokens to issue per day | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_tokenSupplyCeiling` | `BigNumberish` | +| `_tokenIssuanceRate` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1258,15 +1200,13 @@ ___ ▸ **initialise(uint256,uint256)**(`_tokenSupplyCeiling`, `_tokenIssuanceRate`, `overrides?`): `Promise`<`ContractTransaction`\> -Initialise the extension, must be called before any tokens can be issued - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_tokenSupplyCeiling` | `BigNumberish` | Total amount of tokens to issue | -| `_tokenIssuanceRate` | `BigNumberish` | Number of tokens to issue per day | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_tokenSupplyCeiling` | `BigNumberish` | +| `_tokenIssuanceRate` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1282,14 +1222,12 @@ ___ ▸ **install**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> -Configures the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colony` | `string` | The colony in which the extension holds permissions | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1305,14 +1243,12 @@ ___ ▸ **install(address)**(`_colony`, `overrides?`): `Promise`<`ContractTransaction`\> -Configures the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_colony` | `string` | The colony in which the extension holds permissions | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_colony` | `string` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1328,8 +1264,6 @@ ___ ▸ **issueTokens**(`overrides?`): `Promise`<`ContractTransaction`\> -Issue the appropriate amount of tokens - #### Parameters | Name | Type | @@ -1350,8 +1284,6 @@ ___ ▸ **issueTokens()**(`overrides?`): `Promise`<`ContractTransaction`\> -Issue the appropriate amount of tokens - #### Parameters | Name | Type | @@ -1430,6 +1362,48 @@ AugmentedTokenSupplier.listeners ___ +### multicall + +▸ **multicall**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedTokenSupplier.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedTokenSupplier.multicall(bytes[]) + +___ + ### owner ▸ **owner**(`overrides?`): `Promise`<`string`\> @@ -1500,7 +1474,7 @@ ___ ### removeAllListeners -▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`TokenSupplierClientV3`](TokenSupplierClientV3.md) +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Type parameters @@ -1516,13 +1490,13 @@ ___ #### Returns -[`TokenSupplierClientV3`](TokenSupplierClientV3.md) +[`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Inherited from AugmentedTokenSupplier.removeAllListeners -▸ **removeAllListeners**(`eventName?`): [`TokenSupplierClientV3`](TokenSupplierClientV3.md) +▸ **removeAllListeners**(`eventName?`): [`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Parameters @@ -1532,7 +1506,7 @@ AugmentedTokenSupplier.removeAllListeners #### Returns -[`TokenSupplierClientV3`](TokenSupplierClientV3.md) +[`TokenSupplierClientV9`](TokenSupplierClientV9.md) #### Inherited from @@ -1628,14 +1602,12 @@ ___ ▸ **setTokenIssuanceRate**(`_tokenIssuanceRate`, `overrides?`): `Promise`<`ContractTransaction`\> -Update the tokenIssuanceRate - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_tokenIssuanceRate` | `BigNumberish` | Number of tokens to issue per day | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_tokenIssuanceRate` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1651,14 +1623,12 @@ ___ ▸ **setTokenIssuanceRate(uint256)**(`_tokenIssuanceRate`, `overrides?`): `Promise`<`ContractTransaction`\> -Update the tokenIssuanceRate - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_tokenIssuanceRate` | `BigNumberish` | Number of tokens to issue per day | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_tokenIssuanceRate` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1674,14 +1644,12 @@ ___ ▸ **setTokenSupplyCeiling**(`_tokenSupplyCeiling`, `overrides?`): `Promise`<`ContractTransaction`\> -Update the tokenSupplyCeiling, cannot set below current tokenSupply - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_tokenSupplyCeiling` | `BigNumberish` | Total amount of tokens to issue | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_tokenSupplyCeiling` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1697,14 +1665,12 @@ ___ ▸ **setTokenSupplyCeiling(uint256)**(`_tokenSupplyCeiling`, `overrides?`): `Promise`<`ContractTransaction`\> -Update the tokenSupplyCeiling, cannot set below current tokenSupply - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_tokenSupplyCeiling` | `BigNumberish` | Total amount of tokens to issue | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_tokenSupplyCeiling` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1720,8 +1686,6 @@ ___ ▸ **uninstall**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when uninstalling the extension - #### Parameters | Name | Type | @@ -1742,8 +1706,6 @@ ___ ▸ **uninstall()**(`overrides?`): `Promise`<`ContractTransaction`\> -Called when uninstalling the extension - #### Parameters | Name | Type | @@ -1762,13 +1724,13 @@ ___ ### verify -▸ **verify**(`_owner`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> +▸ **verify**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> #### Parameters | Name | Type | | :------ | :------ | -| `_owner` | `string` | +| `_user` | `string` | | `_nonce` | `BigNumberish` | | `_chainId` | `BigNumberish` | | `_payload` | `BytesLike` | @@ -1789,13 +1751,13 @@ ___ ### verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8) -▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_owner`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> +▸ **verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)**(`_user`, `_nonce`, `_chainId`, `_payload`, `_sigR`, `_sigS`, `_sigV`, `overrides?`): `Promise`<`boolean`\> #### Parameters | Name | Type | | :------ | :------ | -| `_owner` | `string` | +| `_user` | `string` | | `_nonce` | `BigNumberish` | | `_chainId` | `BigNumberish` | | `_payload` | `BytesLike` | @@ -1818,8 +1780,6 @@ ___ ▸ **version**(`overrides?`): `Promise`<`BigNumber`\> -Returns the version of the extension - #### Parameters | Name | Type | @@ -1840,8 +1800,6 @@ ___ ▸ **version()**(`overrides?`): `Promise`<`BigNumber`\> -Returns the version of the extension - #### Parameters | Name | Type | diff --git a/packages/colony-js/docs/api/interfaces/VotingReputationClientV7.md b/packages/colony-js/docs/api/interfaces/VotingReputationClientV13.md similarity index 69% rename from packages/colony-js/docs/api/interfaces/VotingReputationClientV7.md rename to packages/colony-js/docs/api/interfaces/VotingReputationClientV13.md index c7d636976..382391358 100644 --- a/packages/colony-js/docs/api/interfaces/VotingReputationClientV7.md +++ b/packages/colony-js/docs/api/interfaces/VotingReputationClientV13.md @@ -1,4 +1,4 @@ -# Interface: VotingReputationClientV7 +# Interface: VotingReputationClientV13 ## Hierarchy @@ -8,9 +8,7 @@ - `AugmentsV3`<`IVotingReputation`\> -- `CreateDomainMotionAugments`<`IVotingReputation`\> - - ↳ **`VotingReputationClientV7`** + ↳ **`VotingReputationClientV13`** ## Properties @@ -74,14 +72,8 @@ ___ | `claimMisalignedReward(uint256,uint256,uint256,address,uint256)` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `claimReward` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `claimReward(uint256,uint256,uint256,address,uint256)` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `createClaimDelayAction` | (`_action`: `BytesLike`, `_value`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | -| `createClaimDelayAction(bytes,uint256)` | (`_action`: `BytesLike`, `_value`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | -| `createDomainMotion` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `createDomainMotion(uint256,uint256,bytes,bytes,bytes,uint256,bytes32[])` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `createMotion` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `createMotion(uint256,uint256,address,bytes,bytes,bytes,uint256,bytes32[])` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `createRootMotion` | (`_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | -| `createRootMotion(address,bytes,bytes,bytes,uint256,bytes32[])` | (`_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `escalateMotion` | (`_motionId`: `BigNumberish`, `_newDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -92,8 +84,12 @@ ___ | `failingExecutionAllowed(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`boolean`\> | | `finalizeMotion` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `finalizeMotion(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `finalizeMotionWithoutFailure` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `finalizeMotionWithoutFailure(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `finishUpgrade` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `finishUpgrade()` | (`overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `getActionSummary` | (`_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`ActionSummaryStructOutput`\> | +| `getActionSummary(bytes,address)` | (`_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`ActionSummaryStructOutput`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`string`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`string`\> | @@ -104,8 +100,12 @@ ___ | `getEscalationPeriod()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getExpenditureMotionCount` | (`_structHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getExpenditureMotionCount(bytes32)` | (`_structHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getExpenditurePastVote` | (`_actionHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | -| `getExpenditurePastVote(bytes32)` | (`_actionHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getExpenditureMotionLock` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getExpenditureMotionLock(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getExpenditurePastVote` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getExpenditurePastVote(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getExpenditurePastVotes_DEPRECATED` | (`_slotSignature`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | +| `getExpenditurePastVotes_DEPRECATED(bytes32)` | (`_slotSignature`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getMaxVoteFraction` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getMaxVoteFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | | `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`BigNumber`\> | @@ -142,6 +142,8 @@ ___ | `initialise(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)` | (`_totalStakeFraction`: `BigNumberish`, `_voterRewardFraction`: `BigNumberish`, `_userMinStakeFraction`: `BigNumberish`, `_maxVoteFraction`: `BigNumberish`, `_stakePeriod`: `BigNumberish`, `_submitPeriod`: `BigNumberish`, `_revealPeriod`: `BigNumberish`, `_escalationPeriod`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `install` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`void`\> | +| `multicall` | (`_data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | +| `multicall(bytes[])` | (`_data`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`string`[]\> | | `revealVote` | (`_motionId`: `BigNumberish`, `_salt`: `BytesLike`, `_vote`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `revealVote(uint256,bytes32,uint256,bytes,bytes,uint256,bytes32[])` | (`_motionId`: `BigNumberish`, `_salt`: `BytesLike`, `_vote`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | | `stakeMotion` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_vote`: `BigNumberish`, `_amount`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `CallOverrides`) => `Promise`<`void`\> | @@ -171,7 +173,7 @@ ___ ### clientVersion -• **clientVersion**: ``7`` +• **clientVersion**: ``13`` #### Overrides @@ -256,14 +258,8 @@ ___ | `claimMisalignedReward(uint256,uint256,uint256,address,uint256)` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `claimReward` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `claimReward(uint256,uint256,uint256,address,uint256)` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `createClaimDelayAction` | (`_action`: `BytesLike`, `_value`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `createClaimDelayAction(bytes,uint256)` | (`_action`: `BytesLike`, `_value`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `createDomainMotion` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `createDomainMotion(uint256,uint256,bytes,bytes,bytes,uint256,bytes32[])` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `createMotion` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `createMotion(uint256,uint256,address,bytes,bytes,bytes,uint256,bytes32[])` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `createRootMotion` | (`_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `createRootMotion(address,bytes,bytes,bytes,uint256,bytes32[])` | (`_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `escalateMotion` | (`_motionId`: `BigNumberish`, `_newDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | @@ -274,20 +270,28 @@ ___ | `failingExecutionAllowed(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`boolean`] & { `_allowed`: `boolean` }\> | | `finalizeMotion` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `finalizeMotion(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finalizeMotionWithoutFailure` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `finalizeMotionWithoutFailure(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | -| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`]\> | +| `getActionSummary` | (`_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`ActionSummaryStructOutput`] & { `_summary`: `ActionSummaryStructOutput` }\> | +| `getActionSummary(bytes,address)` | (`_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`ActionSummaryStructOutput`] & { `_summary`: `ActionSummaryStructOutput` }\> | +| `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `roles`: `string` }\> | +| `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `roles`: `string` }\> | +| `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `colony`: `string` }\> | +| `getColony()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `colony`: `string` }\> | +| `getDeprecated` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`] & { `deprecated`: `boolean` }\> | +| `getDeprecated()` | (`overrides?`: `CallOverrides`) => `Promise`<[`boolean`] & { `deprecated`: `boolean` }\> | | `getEscalationPeriod` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_period`: `BigNumber` }\> | | `getEscalationPeriod()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_period`: `BigNumber` }\> | | `getExpenditureMotionCount` | (`_structHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_count`: `BigNumber` }\> | | `getExpenditureMotionCount(bytes32)` | (`_structHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_count`: `BigNumber` }\> | -| `getExpenditurePastVote` | (`_actionHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_vote`: `BigNumber` }\> | -| `getExpenditurePastVote(bytes32)` | (`_actionHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_vote`: `BigNumber` }\> | +| `getExpenditureMotionLock` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_motionId`: `BigNumber` }\> | +| `getExpenditureMotionLock(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_motionId`: `BigNumber` }\> | +| `getExpenditurePastVote` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_vote`: `BigNumber` }\> | +| `getExpenditurePastVote(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_vote`: `BigNumber` }\> | +| `getExpenditurePastVotes_DEPRECATED` | (`_slotSignature`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_vote`: `BigNumber` }\> | +| `getExpenditurePastVotes_DEPRECATED(bytes32)` | (`_slotSignature`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_vote`: `BigNumber` }\> | | `getMaxVoteFraction` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_fraction`: `BigNumber` }\> | | `getMaxVoteFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_fraction`: `BigNumber` }\> | | `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `nonce`: `BigNumber` }\> | @@ -318,12 +322,14 @@ ___ | `getVoterRewardFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `_fraction`: `BigNumber` }\> | | `getVoterRewardRange` | (`_motionId`: `BigNumberish`, `_voterRep`: `BigNumberish`, `_voterAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`, `BigNumber`] & { `_rewardMax`: `BigNumber` ; `_rewardMin`: `BigNumber` }\> | | `getVoterRewardRange(uint256,uint256,address)` | (`_motionId`: `BigNumberish`, `_voterRep`: `BigNumberish`, `_voterAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`, `BigNumber`] & { `_rewardMax`: `BigNumber` ; `_rewardMin`: `BigNumber` }\> | -| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | -| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`]\> | +| `identifier` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `identifier`: `string` }\> | +| `identifier()` | (`overrides?`: `CallOverrides`) => `Promise`<[`string`] & { `identifier`: `string` }\> | | `initialise` | (`_totalStakeFraction`: `BigNumberish`, `_voterRewardFraction`: `BigNumberish`, `_userMinStakeFraction`: `BigNumberish`, `_maxVoteFraction`: `BigNumberish`, `_stakePeriod`: `BigNumberish`, `_submitPeriod`: `BigNumberish`, `_revealPeriod`: `BigNumberish`, `_escalationPeriod`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `initialise(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)` | (`_totalStakeFraction`: `BigNumberish`, `_voterRewardFraction`: `BigNumberish`, `_userMinStakeFraction`: `BigNumberish`, `_maxVoteFraction`: `BigNumberish`, `_stakePeriod`: `BigNumberish`, `_submitPeriod`: `BigNumberish`, `_revealPeriod`: `BigNumberish`, `_escalationPeriod`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall` | (`_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | +| `multicall(bytes[])` | (`_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `revealVote` | (`_motionId`: `BigNumberish`, `_salt`: `BytesLike`, `_vote`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `revealVote(uint256,bytes32,uint256,bytes,bytes,uint256,bytes32[])` | (`_motionId`: `BigNumberish`, `_salt`: `BytesLike`, `_vote`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `stakeMotion` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_vote`: `BigNumberish`, `_amount`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | @@ -332,8 +338,8 @@ ___ | `submitVote(uint256,bytes32,bytes,bytes,uint256,bytes32[])` | (`_motionId`: `BigNumberish`, `_voteSecret`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | | `uninstall()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`ContractTransaction`\> | -| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | -| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`]\> | +| `version` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `version`: `BigNumber` }\> | +| `version()` | (`overrides?`: `CallOverrides`) => `Promise`<[`BigNumber`] & { `version`: `BigNumber` }\> | #### Inherited from @@ -353,7 +359,7 @@ ___ ### off -• **off**: `OnEvent`<[`VotingReputationClientV7`](VotingReputationClientV7.md)\> +• **off**: `OnEvent`<[`VotingReputationClientV13`](VotingReputationClientV13.md)\> #### Inherited from @@ -363,7 +369,7 @@ ___ ### on -• **on**: `OnEvent`<[`VotingReputationClientV7`](VotingReputationClientV7.md)\> +• **on**: `OnEvent`<[`VotingReputationClientV13`](VotingReputationClientV13.md)\> #### Inherited from @@ -373,7 +379,7 @@ ___ ### once -• **once**: `OnEvent`<[`VotingReputationClientV7`](VotingReputationClientV7.md)\> +• **once**: `OnEvent`<[`VotingReputationClientV13`](VotingReputationClientV13.md)\> #### Inherited from @@ -393,14 +399,8 @@ ___ | `claimMisalignedReward(uint256,uint256,uint256,address,uint256)` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `claimReward` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `claimReward(uint256,uint256,uint256,address,uint256)` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_staker`: `string`, `_vote`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `createClaimDelayAction` | (`_action`: `BytesLike`, `_value`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `createClaimDelayAction(bytes,uint256)` | (`_action`: `BytesLike`, `_value`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `createDomainMotion` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `createDomainMotion(uint256,uint256,bytes,bytes,bytes,uint256,bytes32[])` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `createMotion` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `createMotion(uint256,uint256,address,bytes,bytes,bytes,uint256,bytes32[])` | (`_domainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `createRootMotion` | (`_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | -| `createRootMotion(address,bytes,bytes,bytes,uint256,bytes32[])` | (`_altTarget`: `string`, `_action`: `BytesLike`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `deprecate` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `deprecate(bool)` | (`_deprecated`: `boolean`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `escalateMotion` | (`_motionId`: `BigNumberish`, `_newDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -411,8 +411,12 @@ ___ | `failingExecutionAllowed(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `finalizeMotion` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `finalizeMotion(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finalizeMotionWithoutFailure` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `finalizeMotionWithoutFailure(uint256)` | (`_motionId`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `finishUpgrade` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `finishUpgrade()` | (`overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `getActionSummary` | (`_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getActionSummary(bytes,address)` | (`_action`: `BytesLike`, `_altTarget`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getCapabilityRoles(bytes4)` | (`_sig`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getColony` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -423,8 +427,12 @@ ___ | `getEscalationPeriod()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getExpenditureMotionCount` | (`_structHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getExpenditureMotionCount(bytes32)` | (`_structHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getExpenditurePastVote` | (`_actionHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | -| `getExpenditurePastVote(bytes32)` | (`_actionHash`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getExpenditureMotionLock` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getExpenditureMotionLock(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getExpenditurePastVote` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getExpenditurePastVote(uint256)` | (`_expenditureId`: `BigNumberish`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getExpenditurePastVotes_DEPRECATED` | (`_slotSignature`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | +| `getExpenditurePastVotes_DEPRECATED(bytes32)` | (`_slotSignature`: `BytesLike`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getMaxVoteFraction` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getMaxVoteFraction()` | (`overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | | `getMetatransactionNonce` | (`userAddress`: `string`, `overrides?`: `CallOverrides`) => `Promise`<`PopulatedTransaction`\> | @@ -461,6 +469,8 @@ ___ | `initialise(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)` | (`_totalStakeFraction`: `BigNumberish`, `_voterRewardFraction`: `BigNumberish`, `_userMinStakeFraction`: `BigNumberish`, `_maxVoteFraction`: `BigNumberish`, `_stakePeriod`: `BigNumberish`, `_submitPeriod`: `BigNumberish`, `_revealPeriod`: `BigNumberish`, `_escalationPeriod`: `BigNumberish`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `install` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `install(address)` | (`_colony`: `string`, `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall` | (`_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | +| `multicall(bytes[])` | (`_data`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `revealVote` | (`_motionId`: `BigNumberish`, `_salt`: `BytesLike`, `_vote`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `revealVote(uint256,bytes32,uint256,bytes,bytes,uint256,bytes32[])` | (`_motionId`: `BigNumberish`, `_salt`: `BytesLike`, `_vote`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | | `stakeMotion` | (`_motionId`: `BigNumberish`, `_permissionDomainId`: `BigNumberish`, `_childSkillIndex`: `BigNumberish`, `_vote`: `BigNumberish`, `_amount`: `BigNumberish`, `_key`: `BytesLike`, `_value`: `BytesLike`, `_branchMask`: `BigNumberish`, `_siblings`: `BytesLike`[], `overrides?`: `Overrides` & { `from?`: `string` }) => `Promise`<`PopulatedTransaction`\> | @@ -490,7 +500,7 @@ ___ ### removeListener -• **removeListener**: `OnEvent`<[`VotingReputationClientV7`](VotingReputationClientV7.md)\> +• **removeListener**: `OnEvent`<[`VotingReputationClientV13`](VotingReputationClientV13.md)\> #### Inherited from @@ -596,7 +606,7 @@ ___ ### attach -▸ **attach**(`addressOrName`): [`VotingReputationClientV7`](VotingReputationClientV7.md) +▸ **attach**(`addressOrName`): [`VotingReputationClientV13`](VotingReputationClientV13.md) #### Parameters @@ -606,7 +616,7 @@ ___ #### Returns -[`VotingReputationClientV7`](VotingReputationClientV7.md) +[`VotingReputationClientV13`](VotingReputationClientV13.md) #### Inherited from @@ -618,18 +628,16 @@ ___ ▸ **claimMisalignedReward**(`_motionId`, `_permissionDomainId`, `_childSkillIndex`, `_staker`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> -Claim the staker's reward from a motion that was created with v4 of the extension, and is now missing and cannot be interacted with via the normal claim function. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_permissionDomainId` | `BigNumberish` | The domain where the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | For the domain in which the motion is occurring | -| `_staker` | `string` | The staker whose reward is being claimed | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -645,18 +653,16 @@ ___ ▸ **claimMisalignedReward(uint256,uint256,uint256,address,uint256)**(`_motionId`, `_permissionDomainId`, `_childSkillIndex`, `_staker`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> -Claim the staker's reward from a motion that was created with v4 of the extension, and is now missing and cannot be interacted with via the normal claim function. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_permissionDomainId` | `BigNumberish` | The domain where the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | For the domain in which the motion is occurring | -| `_staker` | `string` | The staker whose reward is being claimed | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -672,7 +678,7 @@ ___ ▸ **claimMisalignedRewardWithProofs**(`_motionId`, `_staker`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [claimMisalignedReward](VotingReputationClientV7.md#claimmisalignedreward), but let colonyJS figure out the permission proofs for you. +Same as [claimMisalignedReward](VotingReputationClientV13.md#claimmisalignedreward), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -698,18 +704,16 @@ ___ ▸ **claimReward**(`_motionId`, `_permissionDomainId`, `_childSkillIndex`, `_staker`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> -Claim the staker's reward - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_permissionDomainId` | `BigNumberish` | The domain where the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | For the domain in which the motion is occurring | -| `_staker` | `string` | The staker whose reward is being claimed | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -725,18 +729,16 @@ ___ ▸ **claimReward(uint256,uint256,uint256,address,uint256)**(`_motionId`, `_permissionDomainId`, `_childSkillIndex`, `_staker`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> -Claim the staker's reward - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_permissionDomainId` | `BigNumberish` | The domain where the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | For the domain in which the motion is occurring | -| `_staker` | `string` | The staker whose reward is being claimed | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -752,7 +754,7 @@ ___ ▸ **claimRewardWithProofs**(`_motionId`, `_staker`, `_vote`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [claimReward](VotingReputationClientV7.md#claimreward), but let colonyJS figure out the permission proofs for you. +Same as [claimReward](VotingReputationClientV13.md#claimreward), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -776,7 +778,7 @@ ___ ### connect -▸ **connect**(`signerOrProvider`): [`VotingReputationClientV7`](VotingReputationClientV7.md) +▸ **connect**(`signerOrProvider`): [`VotingReputationClientV13`](VotingReputationClientV13.md) #### Parameters @@ -786,7 +788,7 @@ ___ #### Returns -[`VotingReputationClientV7`](VotingReputationClientV7.md) +[`VotingReputationClientV13`](VotingReputationClientV13.md) #### Inherited from @@ -794,160 +796,23 @@ AugmentedVotingReputation.connect ___ -### createClaimDelayAction - -▸ **createClaimDelayAction**(`_action`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -Not expected to be used directly, could be made private in the future -Create the action that should be taken based on the passed action to appropriately set the claim window of an expenditure from starting. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_action` | `BytesLike` | The action being voted on | -| `_value` | `BigNumberish` | The value to set the claim delay to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedVotingReputation.createClaimDelayAction - -___ - -### createClaimDelayAction(bytes,uint256) - -▸ **createClaimDelayAction(bytes,uint256)**(`_action`, `_value`, `overrides?`): `Promise`<`ContractTransaction`\> - -Not expected to be used directly, could be made private in the future -Create the action that should be taken based on the passed action to appropriately set the claim window of an expenditure from starting. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_action` | `BytesLike` | The action being voted on | -| `_value` | `BigNumberish` | The value to set the claim delay to | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedVotingReputation.createClaimDelayAction(bytes,uint256) - -___ - -### createDomainMotion - -▸ **createDomainMotion**(`_domainId`, `_childSkillIndex`, `_action`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Create a motion in any domain (DEPRECATED) - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where we vote on the motion | -| `_childSkillIndex` | `BigNumberish` | The childSkillIndex pointing to the domain of the action | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `_key` | `BytesLike` | Reputation tree key for the domain | -| `_value` | `BytesLike` | Reputation tree value for the domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedVotingReputation.createDomainMotion - -___ - -### createDomainMotion(uint256,uint256,bytes,bytes,bytes,uint256,bytes32[]) - -▸ **createDomainMotion(uint256,uint256,bytes,bytes,bytes,uint256,bytes32[])**(`_domainId`, `_childSkillIndex`, `_action`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Create a motion in any domain (DEPRECATED) - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where we vote on the motion | -| `_childSkillIndex` | `BigNumberish` | The childSkillIndex pointing to the domain of the action | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `_key` | `BytesLike` | Reputation tree key for the domain | -| `_value` | `BytesLike` | Reputation tree value for the domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedVotingReputation.createDomainMotion(uint256,uint256,bytes,bytes,bytes,uint256,bytes32[]) - -___ - -### createDomainMotionWithProofs - -▸ **createDomainMotionWithProofs**(`_domainId`, `_action`, `overrides?`): `Promise`<`ContractTransaction`\> - -**`Deprecated`** - -Same as [createDomainMotion](VotingReputationClientV7.md#createdomainmotion), but let colonyJS figure out the permission proofs for you. -Always prefer this method, except when you have good reason not to. - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where we vote on the motion | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `overrides?` | [`TxOverrides`](../README.md#txoverrides) | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -CreateDomainMotionAugments.createDomainMotionWithProofs - -___ - ### createMotion ▸ **createMotion**(`_domainId`, `_childSkillIndex`, `_altTarget`, `_action`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Create a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where we vote on the motion | -| `_childSkillIndex` | `BigNumberish` | The childSkillIndex pointing to the domain of the action | -| `_altTarget` | `string` | The contract to which we send the action (0x0 for the colony) | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `_key` | `BytesLike` | Reputation tree key for the root domain | -| `_value` | `BytesLike` | Reputation tree value for the root domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_domainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_altTarget` | `string` | +| `_action` | `BytesLike` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -963,21 +828,19 @@ ___ ▸ **createMotion(uint256,uint256,address,bytes,bytes,bytes,uint256,bytes32[])**(`_domainId`, `_childSkillIndex`, `_altTarget`, `_action`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Create a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_domainId` | `BigNumberish` | The domain where we vote on the motion | -| `_childSkillIndex` | `BigNumberish` | The childSkillIndex pointing to the domain of the action | -| `_altTarget` | `string` | The contract to which we send the action (0x0 for the colony) | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `_key` | `BytesLike` | Reputation tree key for the root domain | -| `_value` | `BytesLike` | Reputation tree value for the root domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_domainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_altTarget` | `string` | +| `_action` | `BytesLike` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -993,7 +856,7 @@ ___ ▸ **createMotionWithProofs**(`_domainId`, `_altTarget`, `_action`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [createMotion](VotingReputationClientV7.md#createmotion), but let colonyJS figure out the permission proofs for you. +Same as [createMotion](VotingReputationClientV13.md#createmotion), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -1015,69 +878,13 @@ AugmentsV2.createMotionWithProofs ___ -### createRootMotion - -▸ **createRootMotion**(`_altTarget`, `_action`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Create a motion in the root domain (DEPRECATED) - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_altTarget` | `string` | The contract to which we send the action (0x0 for the colony) | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `_key` | `BytesLike` | Reputation tree key for the root domain | -| `_value` | `BytesLike` | Reputation tree value for the root domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedVotingReputation.createRootMotion - -___ - -### createRootMotion(address,bytes,bytes,bytes,uint256,bytes32[]) - -▸ **createRootMotion(address,bytes,bytes,bytes,uint256,bytes32[])**(`_altTarget`, `_action`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> - -Create a motion in the root domain (DEPRECATED) - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `_altTarget` | `string` | The contract to which we send the action (0x0 for the colony) | -| `_action` | `BytesLike` | A bytes array encoding a function call | -| `_key` | `BytesLike` | Reputation tree key for the root domain | -| `_value` | `BytesLike` | Reputation tree value for the root domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | - -#### Returns - -`Promise`<`ContractTransaction`\> - -#### Inherited from - -AugmentedVotingReputation.createRootMotion(address,bytes,bytes,bytes,uint256,bytes32[]) - -___ - ### deployed -▸ **deployed**(): `Promise`<[`VotingReputationClientV7`](VotingReputationClientV7.md)\> +▸ **deployed**(): `Promise`<[`VotingReputationClientV13`](VotingReputationClientV13.md)\> #### Returns -`Promise`<[`VotingReputationClientV7`](VotingReputationClientV7.md)\> +`Promise`<[`VotingReputationClientV13`](VotingReputationClientV13.md)\> #### Inherited from @@ -1152,20 +959,18 @@ ___ ▸ **escalateMotion**(`_motionId`, `_newDomainId`, `_childSkillIndex`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Escalate a motion to a higher domain - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_newDomainId` | `BigNumberish` | The desired domain of escalation | -| `_childSkillIndex` | `BigNumberish` | For the current domain, relative to the escalated domain | -| `_key` | `BytesLike` | Reputation tree key for the new domain | -| `_value` | `BytesLike` | Reputation tree value for the new domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_newDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1181,20 +986,18 @@ ___ ▸ **escalateMotion(uint256,uint256,uint256,bytes,bytes,uint256,bytes32[])**(`_motionId`, `_newDomainId`, `_childSkillIndex`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Escalate a motion to a higher domain - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_newDomainId` | `BigNumberish` | The desired domain of escalation | -| `_childSkillIndex` | `BigNumberish` | For the current domain, relative to the escalated domain | -| `_key` | `BytesLike` | Reputation tree key for the new domain | -| `_value` | `BytesLike` | Reputation tree value for the new domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_newDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1210,7 +1013,7 @@ ___ ▸ **escalateMotionWithProofs**(`_motionId`, `_newDomainId`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [escalateMotion](VotingReputationClientV7.md#escalatemotion), but let colonyJS figure out the permission proofs for you. +Same as [escalateMotion](VotingReputationClientV13.md#escalatemotion), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -1235,18 +1038,16 @@ ___ ▸ **executeMetaTransaction**(`userAddress`, `payload`, `sigR`, `sigS`, `sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Executes a metatransaction targeting this contract - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that signed the metatransaction | -| `payload` | `BytesLike` | The transaction data that will be executed if signature valid | -| `sigR` | `BytesLike` | The 'r' part of the signature | -| `sigS` | `BytesLike` | The 's' part of the signature | -| `sigV` | `BigNumberish` | The 'v' part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `userAddress` | `string` | +| `payload` | `BytesLike` | +| `sigR` | `BytesLike` | +| `sigS` | `BytesLike` | +| `sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -1262,18 +1063,16 @@ ___ ▸ **executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)**(`userAddress`, `payload`, `sigR`, `sigS`, `sigV`, `overrides?`): `Promise`<`ContractTransaction`\> -Executes a metatransaction targeting this contract - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that signed the metatransaction | -| `payload` | `BytesLike` | The transaction data that will be executed if signature valid | -| `sigR` | `BytesLike` | The 'r' part of the signature | -| `sigS` | `BytesLike` | The 's' part of the signature | -| `sigV` | `BigNumberish` | The 'v' part of the signature | -| `overrides?` | `PayableOverrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `userAddress` | `string` | +| `payload` | `BytesLike` | +| `sigR` | `BytesLike` | +| `sigS` | `BytesLike` | +| `sigV` | `BigNumberish` | +| `overrides?` | `PayableOverrides` & { `from?`: `string` } | #### Returns @@ -1289,15 +1088,12 @@ ___ ▸ **failingExecutionAllowed**(`_motionId`, `overrides?`): `Promise`<`boolean`\> -We are only expecting this to be called from finalize motion in the contracts. It is marked as external only so that the frontend can use it. -Return whether a motion, assuming it's in the finalizable state, is allowed to finalize without the call executing successfully. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1313,15 +1109,12 @@ ___ ▸ **failingExecutionAllowed(uint256)**(`_motionId`, `overrides?`): `Promise`<`boolean`\> -We are only expecting this to be called from finalize motion in the contracts. It is marked as external only so that the frontend can use it. -Return whether a motion, assuming it's in the finalizable state, is allowed to finalize without the call executing successfully. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1357,14 +1150,12 @@ ___ ▸ **finalizeMotion**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> -Finalized a motion, executing its action if appropriate - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion to finalize | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1380,14 +1171,12 @@ ___ ▸ **finalizeMotion(uint256)**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> -Finalized a motion, executing its action if appropriate - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion to finalize | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1399,14 +1188,15 @@ AugmentedVotingReputation.finalizeMotion(uint256) ___ -### finishUpgrade +### finalizeMotionWithoutFailure -▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> +▸ **finalizeMotionWithoutFailure**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> #### Parameters | Name | Type | | :------ | :------ | +| `_motionId` | `BigNumberish` | | `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1415,18 +1205,19 @@ ___ #### Inherited from -AugmentedVotingReputation.finishUpgrade +AugmentedVotingReputation.finalizeMotionWithoutFailure ___ -### finishUpgrade() +### finalizeMotionWithoutFailure(uint256) -▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> +▸ **finalizeMotionWithoutFailure(uint256)**(`_motionId`, `overrides?`): `Promise`<`ContractTransaction`\> #### Parameters | Name | Type | | :------ | :------ | +| `_motionId` | `BigNumberish` | | `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -1435,28 +1226,112 @@ ___ #### Inherited from -AugmentedVotingReputation.finishUpgrade() +AugmentedVotingReputation.finalizeMotionWithoutFailure(uint256) ___ -### getCapabilityRoles +### finishUpgrade -▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> +▸ **finishUpgrade**(`overrides?`): `Promise`<`ContractTransaction`\> #### Parameters | Name | Type | | :------ | :------ | -| `_sig` | `BytesLike` | -| `overrides?` | `CallOverrides` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns -`Promise`<`string`\> +`Promise`<`ContractTransaction`\> #### Inherited from -AugmentedVotingReputation.getCapabilityRoles +AugmentedVotingReputation.finishUpgrade + +___ + +### finishUpgrade() + +▸ **finishUpgrade()**(`overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedVotingReputation.finishUpgrade() + +___ + +### getActionSummary + +▸ **getActionSummary**(`_action`, `_altTarget`, `overrides?`): `Promise`<`ActionSummaryStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_action` | `BytesLike` | +| `_altTarget` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`ActionSummaryStructOutput`\> + +#### Inherited from + +AugmentedVotingReputation.getActionSummary + +___ + +### getActionSummary(bytes,address) + +▸ **getActionSummary(bytes,address)**(`_action`, `_altTarget`, `overrides?`): `Promise`<`ActionSummaryStructOutput`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_action` | `BytesLike` | +| `_altTarget` | `string` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`ActionSummaryStructOutput`\> + +#### Inherited from + +AugmentedVotingReputation.getActionSummary(bytes,address) + +___ + +### getCapabilityRoles + +▸ **getCapabilityRoles**(`_sig`, `overrides?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_sig` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +AugmentedVotingReputation.getCapabilityRoles ___ @@ -1565,8 +1440,6 @@ ___ ▸ **getEscalationPeriod**(`overrides?`): `Promise`<`BigNumber`\> -Get the escalation period - #### Parameters | Name | Type | @@ -1587,8 +1460,6 @@ ___ ▸ **getEscalationPeriod()**(`overrides?`): `Promise`<`BigNumber`\> -Get the escalation period - #### Parameters | Name | Type | @@ -1609,14 +1480,12 @@ ___ ▸ **getExpenditureMotionCount**(`_structHash`, `overrides?`): `Promise`<`BigNumber`\> -Get the number of ongoing motions for a single expenditure / expenditure slot - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_structHash` | `BytesLike` | The hash of the expenditureId or expenditureId*expenditureSlot | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_structHash` | `BytesLike` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1632,14 +1501,12 @@ ___ ▸ **getExpenditureMotionCount(bytes32)**(`_structHash`, `overrides?`): `Promise`<`BigNumber`\> -Get the number of ongoing motions for a single expenditure / expenditure slot - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_structHash` | `BytesLike` | The hash of the expenditureId or expenditureId*expenditureSlot | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_structHash` | `BytesLike` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1651,18 +1518,58 @@ AugmentedVotingReputation.getExpenditureMotionCount(bytes32) ___ -### getExpenditurePastVote +### getExpenditureMotionLock -▸ **getExpenditurePastVote**(`_actionHash`, `overrides?`): `Promise`<`BigNumber`\> +▸ **getExpenditureMotionLock**(`_expenditureId`, `overrides?`): `Promise`<`BigNumber`\> -Get the largest past vote on a single expenditure variable +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedVotingReputation.getExpenditureMotionLock + +___ + +### getExpenditureMotionLock(uint256) + +▸ **getExpenditureMotionLock(uint256)**(`_expenditureId`, `overrides?`): `Promise`<`BigNumber`\> #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_actionHash` | `BytesLike` | The hash of the particular expenditure action | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedVotingReputation.getExpenditureMotionLock(uint256) + +___ + +### getExpenditurePastVote + +▸ **getExpenditurePastVote**(`_expenditureId`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1674,18 +1581,58 @@ AugmentedVotingReputation.getExpenditurePastVote ___ -### getExpenditurePastVote(bytes32) +### getExpenditurePastVote(uint256) -▸ **getExpenditurePastVote(bytes32)**(`_actionHash`, `overrides?`): `Promise`<`BigNumber`\> +▸ **getExpenditurePastVote(uint256)**(`_expenditureId`, `overrides?`): `Promise`<`BigNumber`\> -Get the largest past vote on a single expenditure variable +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_expenditureId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedVotingReputation.getExpenditurePastVote(uint256) + +___ + +### getExpenditurePastVotes\_DEPRECATED + +▸ **getExpenditurePastVotes_DEPRECATED**(`_slotSignature`, `overrides?`): `Promise`<`BigNumber`\> #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_actionHash` | `BytesLike` | The hash of the particular expenditure action | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_slotSignature` | `BytesLike` | +| `overrides?` | `CallOverrides` | + +#### Returns + +`Promise`<`BigNumber`\> + +#### Inherited from + +AugmentedVotingReputation.getExpenditurePastVotes\_DEPRECATED + +___ + +### getExpenditurePastVotes\_DEPRECATED(bytes32) + +▸ **getExpenditurePastVotes_DEPRECATED(bytes32)**(`_slotSignature`, `overrides?`): `Promise`<`BigNumber`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_slotSignature` | `BytesLike` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1693,7 +1640,7 @@ Get the largest past vote on a single expenditure variable #### Inherited from -AugmentedVotingReputation.getExpenditurePastVote(bytes32) +AugmentedVotingReputation.getExpenditurePastVotes\_DEPRECATED(bytes32) ___ @@ -1701,8 +1648,6 @@ ___ ▸ **getMaxVoteFraction**(`overrides?`): `Promise`<`BigNumber`\> -Get the max vote fraction - #### Parameters | Name | Type | @@ -1723,8 +1668,6 @@ ___ ▸ **getMaxVoteFraction()**(`overrides?`): `Promise`<`BigNumber`\> -Get the max vote fraction - #### Parameters | Name | Type | @@ -1745,14 +1688,12 @@ ___ ▸ **getMetatransactionNonce**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> -Gets the next metatransaction nonce for user that should be used targeting this contract - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that will sign the metatransaction | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `userAddress` | `string` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1768,14 +1709,12 @@ ___ ▸ **getMetatransactionNonce(address)**(`userAddress`, `overrides?`): `Promise`<`BigNumber`\> -Gets the next metatransaction nonce for user that should be used targeting this contract - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `userAddress` | `string` | The address of the user that will sign the metatransaction | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `userAddress` | `string` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1791,14 +1730,12 @@ ___ ▸ **getMotion**(`_motionId`, `overrides?`): `Promise`<`MotionStructOutput`\> -Get the data for a single motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1814,14 +1751,12 @@ ___ ▸ **getMotion(uint256)**(`_motionId`, `overrides?`): `Promise`<`MotionStructOutput`\> -Get the data for a single motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1837,8 +1772,6 @@ ___ ▸ **getMotionCount**(`overrides?`): `Promise`<`BigNumber`\> -Get the total motion count - #### Parameters | Name | Type | @@ -1859,8 +1792,6 @@ ___ ▸ **getMotionCount()**(`overrides?`): `Promise`<`BigNumber`\> -Get the total motion count - #### Parameters | Name | Type | @@ -1881,14 +1812,12 @@ ___ ▸ **getMotionState**(`_motionId`, `overrides?`): `Promise`<`number`\> -Get the current state of the motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1904,14 +1833,12 @@ ___ ▸ **getMotionState(uint256)**(`_motionId`, `overrides?`): `Promise`<`number`\> -Get the current state of the motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1927,8 +1854,6 @@ ___ ▸ **getRevealPeriod**(`overrides?`): `Promise`<`BigNumber`\> -Get the reveal period - #### Parameters | Name | Type | @@ -1949,8 +1874,6 @@ ___ ▸ **getRevealPeriod()**(`overrides?`): `Promise`<`BigNumber`\> -Get the reveal period - #### Parameters | Name | Type | @@ -1971,16 +1894,14 @@ ___ ▸ **getStake**(`_motionId`, `_staker`, `_vote`, `overrides?`): `Promise`<`BigNumber`\> -Get a user's stake on a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_staker` | `string` | The staker address | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -1996,16 +1917,14 @@ ___ ▸ **getStake(uint256,address,uint256)**(`_motionId`, `_staker`, `_vote`, `overrides?`): `Promise`<`BigNumber`\> -Get a user's stake on a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_staker` | `string` | The staker address | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2021,8 +1940,6 @@ ___ ▸ **getStakePeriod**(`overrides?`): `Promise`<`BigNumber`\> -Get the stake period - #### Parameters | Name | Type | @@ -2043,8 +1960,6 @@ ___ ▸ **getStakePeriod()**(`overrides?`): `Promise`<`BigNumber`\> -Get the stake period - #### Parameters | Name | Type | @@ -2065,16 +1980,14 @@ ___ ▸ **getStakerReward**(`_motionId`, `_staker`, `_vote`, `overrides?`): `Promise`<[`BigNumber`, `BigNumber`] & { `_penalty`: `BigNumber` ; `_reward`: `BigNumber` }\> -Get the staker reward - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_staker` | `string` | The staker's address | -| `_vote` | `BigNumberish` | The vote (0 = NAY, 1 = YAY) | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2090,16 +2003,14 @@ ___ ▸ **getStakerReward(uint256,address,uint256)**(`_motionId`, `_staker`, `_vote`, `overrides?`): `Promise`<[`BigNumber`, `BigNumber`] & { `_penalty`: `BigNumber` ; `_reward`: `BigNumber` }\> -Get the staker reward - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_staker` | `string` | The staker's address | -| `_vote` | `BigNumberish` | The vote (0 = NAY, 1 = YAY) | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_staker` | `string` | +| `_vote` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2115,8 +2026,6 @@ ___ ▸ **getSubmitPeriod**(`overrides?`): `Promise`<`BigNumber`\> -Get the submit period - #### Parameters | Name | Type | @@ -2137,8 +2046,6 @@ ___ ▸ **getSubmitPeriod()**(`overrides?`): `Promise`<`BigNumber`\> -Get the submit period - #### Parameters | Name | Type | @@ -2159,8 +2066,6 @@ ___ ▸ **getTotalStakeFraction**(`overrides?`): `Promise`<`BigNumber`\> -Get the total stake fraction - #### Parameters | Name | Type | @@ -2181,8 +2086,6 @@ ___ ▸ **getTotalStakeFraction()**(`overrides?`): `Promise`<`BigNumber`\> -Get the total stake fraction - #### Parameters | Name | Type | @@ -2203,8 +2106,6 @@ ___ ▸ **getUserMinStakeFraction**(`overrides?`): `Promise`<`BigNumber`\> -Get the user min stake fraction - #### Parameters | Name | Type | @@ -2225,8 +2126,6 @@ ___ ▸ **getUserMinStakeFraction()**(`overrides?`): `Promise`<`BigNumber`\> -Get the user min stake fraction - #### Parameters | Name | Type | @@ -2247,15 +2146,13 @@ ___ ▸ **getVoterReward**(`_motionId`, `_voterRep`, `overrides?`): `Promise`<`BigNumber`\> -Get the voter reward NB This function will only return a meaningful value if in the reveal state. Prior to the reveal state, getVoterRewardRange should be used. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_voterRep` | `BigNumberish` | The reputation the voter has in the domain | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_voterRep` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2271,15 +2168,13 @@ ___ ▸ **getVoterReward(uint256,uint256)**(`_motionId`, `_voterRep`, `overrides?`): `Promise`<`BigNumber`\> -Get the voter reward NB This function will only return a meaningful value if in the reveal state. Prior to the reveal state, getVoterRewardRange should be used. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_voterRep` | `BigNumberish` | The reputation the voter has in the domain | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_voterRep` | `BigNumberish` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2295,8 +2190,6 @@ ___ ▸ **getVoterRewardFraction**(`overrides?`): `Promise`<`BigNumber`\> -Get the voter reward fraction - #### Parameters | Name | Type | @@ -2317,8 +2210,6 @@ ___ ▸ **getVoterRewardFraction()**(`overrides?`): `Promise`<`BigNumber`\> -Get the voter reward fraction - #### Parameters | Name | Type | @@ -2339,16 +2230,14 @@ ___ ▸ **getVoterRewardRange**(`_motionId`, `_voterRep`, `_voterAddress`, `overrides?`): `Promise`<[`BigNumber`, `BigNumber`] & { `_rewardMax`: `BigNumber` ; `_rewardMin`: `BigNumber` }\> -Get the range of potential rewards for a voter on a specific motion, intended to be used when the motion is in the reveal state. Once a motion is in the reveal state the reward is known, and getVoterRewardRange should be used. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_voterRep` | `BigNumberish` | The reputation the voter has in the domain | -| `_voterAddress` | `string` | The address the user will be voting as | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_voterRep` | `BigNumberish` | +| `_voterAddress` | `string` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2364,16 +2253,14 @@ ___ ▸ **getVoterRewardRange(uint256,uint256,address)**(`_motionId`, `_voterRep`, `_voterAddress`, `overrides?`): `Promise`<[`BigNumber`, `BigNumber`] & { `_rewardMax`: `BigNumber` ; `_rewardMin`: `BigNumber` }\> -Get the range of potential rewards for a voter on a specific motion, intended to be used when the motion is in the reveal state. Once a motion is in the reveal state the reward is known, and getVoterRewardRange should be used. - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_voterRep` | `BigNumberish` | The reputation the voter has in the domain | -| `_voterAddress` | `string` | The address the user will be voting as | -| `overrides?` | `CallOverrides` | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_voterRep` | `BigNumberish` | +| `_voterAddress` | `string` | +| `overrides?` | `CallOverrides` | #### Returns @@ -2429,21 +2316,19 @@ ___ ▸ **initialise**(`_totalStakeFraction`, `_voterRewardFraction`, `_userMinStakeFraction`, `_maxVoteFraction`, `_stakePeriod`, `_submitPeriod`, `_revealPeriod`, `_escalationPeriod`, `overrides?`): `Promise`<`ContractTransaction`\> -Initialise the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_totalStakeFraction` | `BigNumberish` | The fraction of the domain's reputation we need to stake | -| `_voterRewardFraction` | `BigNumberish` | The fraction of the total stake paid out to voters as rewards | -| `_userMinStakeFraction` | `BigNumberish` | The minimum per-user stake as fraction of total stake | -| `_maxVoteFraction` | `BigNumberish` | The fraction of the domain's reputation which must submit for quick-end | -| `_stakePeriod` | `BigNumberish` | The length of the staking period in seconds | -| `_submitPeriod` | `BigNumberish` | The length of the submit period in seconds | -| `_revealPeriod` | `BigNumberish` | The length of the reveal period in seconds | -| `_escalationPeriod` | `BigNumberish` | The length of the escalation period in seconds | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_totalStakeFraction` | `BigNumberish` | +| `_voterRewardFraction` | `BigNumberish` | +| `_userMinStakeFraction` | `BigNumberish` | +| `_maxVoteFraction` | `BigNumberish` | +| `_stakePeriod` | `BigNumberish` | +| `_submitPeriod` | `BigNumberish` | +| `_revealPeriod` | `BigNumberish` | +| `_escalationPeriod` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2459,21 +2344,19 @@ ___ ▸ **initialise(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)**(`_totalStakeFraction`, `_voterRewardFraction`, `_userMinStakeFraction`, `_maxVoteFraction`, `_stakePeriod`, `_submitPeriod`, `_revealPeriod`, `_escalationPeriod`, `overrides?`): `Promise`<`ContractTransaction`\> -Initialise the extension - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_totalStakeFraction` | `BigNumberish` | The fraction of the domain's reputation we need to stake | -| `_voterRewardFraction` | `BigNumberish` | The fraction of the total stake paid out to voters as rewards | -| `_userMinStakeFraction` | `BigNumberish` | The minimum per-user stake as fraction of total stake | -| `_maxVoteFraction` | `BigNumberish` | The fraction of the domain's reputation which must submit for quick-end | -| `_stakePeriod` | `BigNumberish` | The length of the staking period in seconds | -| `_submitPeriod` | `BigNumberish` | The length of the submit period in seconds | -| `_revealPeriod` | `BigNumberish` | The length of the reveal period in seconds | -| `_escalationPeriod` | `BigNumberish` | The length of the escalation period in seconds | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_totalStakeFraction` | `BigNumberish` | +| `_voterRewardFraction` | `BigNumberish` | +| `_userMinStakeFraction` | `BigNumberish` | +| `_maxVoteFraction` | `BigNumberish` | +| `_stakePeriod` | `BigNumberish` | +| `_submitPeriod` | `BigNumberish` | +| `_revealPeriod` | `BigNumberish` | +| `_escalationPeriod` | `BigNumberish` | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2589,6 +2472,48 @@ AugmentedVotingReputation.listeners ___ +### multicall + +▸ **multicall**(`_data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedVotingReputation.multicall + +___ + +### multicall(bytes[]) + +▸ **multicall(bytes[])**(`_data`, `overrides?`): `Promise`<`ContractTransaction`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `_data` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | + +#### Returns + +`Promise`<`ContractTransaction`\> + +#### Inherited from + +AugmentedVotingReputation.multicall(bytes[]) + +___ + ### queryFilter ▸ **queryFilter**<`TEvent`\>(`event`, `fromBlockOrBlockhash?`, `toBlock?`): `Promise`<`TEvent`[]\> @@ -2619,7 +2544,7 @@ ___ ### removeAllListeners -▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`VotingReputationClientV7`](VotingReputationClientV7.md) +▸ **removeAllListeners**<`TEvent`\>(`eventFilter`): [`VotingReputationClientV13`](VotingReputationClientV13.md) #### Type parameters @@ -2635,13 +2560,13 @@ ___ #### Returns -[`VotingReputationClientV7`](VotingReputationClientV7.md) +[`VotingReputationClientV13`](VotingReputationClientV13.md) #### Inherited from AugmentedVotingReputation.removeAllListeners -▸ **removeAllListeners**(`eventName?`): [`VotingReputationClientV7`](VotingReputationClientV7.md) +▸ **removeAllListeners**(`eventName?`): [`VotingReputationClientV13`](VotingReputationClientV13.md) #### Parameters @@ -2651,7 +2576,7 @@ AugmentedVotingReputation.removeAllListeners #### Returns -[`VotingReputationClientV7`](VotingReputationClientV7.md) +[`VotingReputationClientV13`](VotingReputationClientV13.md) #### Inherited from @@ -2663,20 +2588,18 @@ ___ ▸ **revealVote**(`_motionId`, `_salt`, `_vote`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Reveal a vote secret for a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_salt` | `BytesLike` | The salt used to hash the vote | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `_key` | `BytesLike` | Reputation tree key for the staker/domain | -| `_value` | `BytesLike` | Reputation tree value for the staker/domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_salt` | `BytesLike` | +| `_vote` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2692,20 +2615,18 @@ ___ ▸ **revealVote(uint256,bytes32,uint256,bytes,bytes,uint256,bytes32[])**(`_motionId`, `_salt`, `_vote`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Reveal a vote secret for a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_salt` | `BytesLike` | The salt used to hash the vote | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `_key` | `BytesLike` | Reputation tree key for the staker/domain | -| `_value` | `BytesLike` | Reputation tree value for the staker/domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_salt` | `BytesLike` | +| `_vote` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2721,22 +2642,20 @@ ___ ▸ **stakeMotion**(`_motionId`, `_permissionDomainId`, `_childSkillIndex`, `_vote`, `_amount`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Stake on a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_permissionDomainId` | `BigNumberish` | The domain where the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | For the domain in which the motion is occurring | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `_amount` | `BigNumberish` | The amount of tokens being staked | -| `_key` | `BytesLike` | Reputation tree key for the staker/domain | -| `_value` | `BytesLike` | Reputation tree value for the staker/domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `_amount` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2752,22 +2671,20 @@ ___ ▸ **stakeMotion(uint256,uint256,uint256,uint256,uint256,bytes,bytes,uint256,bytes32[])**(`_motionId`, `_permissionDomainId`, `_childSkillIndex`, `_vote`, `_amount`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Stake on a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_permissionDomainId` | `BigNumberish` | The domain where the extension has the arbitration permission | -| `_childSkillIndex` | `BigNumberish` | For the domain in which the motion is occurring | -| `_vote` | `BigNumberish` | The side being supported (0 = NAY, 1 = YAY) | -| `_amount` | `BigNumberish` | The amount of tokens being staked | -| `_key` | `BytesLike` | Reputation tree key for the staker/domain | -| `_value` | `BytesLike` | Reputation tree value for the staker/domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_permissionDomainId` | `BigNumberish` | +| `_childSkillIndex` | `BigNumberish` | +| `_vote` | `BigNumberish` | +| `_amount` | `BigNumberish` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2783,7 +2700,7 @@ ___ ▸ **stakeMotionWithProofs**(`_motionId`, `_vote`, `_amount`, `overrides?`): `Promise`<`ContractTransaction`\> -Same as [stakeMotion](VotingReputationClientV7.md#stakemotion), but let colonyJS figure out the permission proofs for you. +Same as [stakeMotion](VotingReputationClientV13.md#stakemotion), but let colonyJS figure out the permission proofs for you. Always prefer this method, except when you have good reason not to. #### Parameters @@ -2809,19 +2726,17 @@ ___ ▸ **submitVote**(`_motionId`, `_voteSecret`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Submit a vote secret for a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_voteSecret` | `BytesLike` | The hashed vote secret | -| `_key` | `BytesLike` | Reputation tree key for the staker/domain | -| `_value` | `BytesLike` | Reputation tree value for the staker/domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_voteSecret` | `BytesLike` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns @@ -2837,19 +2752,17 @@ ___ ▸ **submitVote(uint256,bytes32,bytes,bytes,uint256,bytes32[])**(`_motionId`, `_voteSecret`, `_key`, `_value`, `_branchMask`, `_siblings`, `overrides?`): `Promise`<`ContractTransaction`\> -Submit a vote secret for a motion - #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `_motionId` | `BigNumberish` | The id of the motion | -| `_voteSecret` | `BytesLike` | The hashed vote secret | -| `_key` | `BytesLike` | Reputation tree key for the staker/domain | -| `_value` | `BytesLike` | Reputation tree value for the staker/domain | -| `_branchMask` | `BigNumberish` | The branchmask of the proof | -| `_siblings` | `BytesLike`[] | The siblings of the proof | -| `overrides?` | `Overrides` & { `from?`: `string` } | - | +| Name | Type | +| :------ | :------ | +| `_motionId` | `BigNumberish` | +| `_voteSecret` | `BytesLike` | +| `_key` | `BytesLike` | +| `_value` | `BytesLike` | +| `_branchMask` | `BigNumberish` | +| `_siblings` | `BytesLike`[] | +| `overrides?` | `Overrides` & { `from?`: `string` } | #### Returns diff --git a/packages/colony-js/src/clients/Core/ColonyClientV12.ts b/packages/colony-js/src/clients/Core/ColonyClientV12.ts index 6e294d940..f14996ed6 100644 --- a/packages/colony-js/src/clients/Core/ColonyClientV12.ts +++ b/packages/colony-js/src/clients/Core/ColonyClientV12.ts @@ -6,6 +6,7 @@ import { type ColonyNetworkClient } from '../ColonyNetworkClient.js'; import { type AugmentedIColony, type AugmentedEstimate, + type UnknownIColonyClient, } from './augments/commonAugments.js'; import { type ColonyAugmentsV3 } from './augments/augmentsV3.js'; import { type ColonyAugmentsV4 } from './augments/augmentsV4.js'; @@ -58,16 +59,16 @@ export default function getColonyClient( this: ColonyNetworkClient, address: string, signerOrProvider: SignerOrProvider, -): ColonyClientV12 { +) { const colonyClient = IColonyFactory.connect( address, signerOrProvider, - ) as ColonyClientV12; + ) as UnknownIColonyClient; colonyClient.clientVersion = 12; addAugments(colonyClient, this); addAddDomainAugments(colonyClient); addMoveFundsBetweenPotsAugments(colonyClient); - return colonyClient as ColonyClientV12; + return colonyClient; } diff --git a/packages/colony-js/src/clients/Core/ColonyClientV17.ts b/packages/colony-js/src/clients/Core/ColonyClientV17.ts new file mode 100644 index 000000000..1c799de6b --- /dev/null +++ b/packages/colony-js/src/clients/Core/ColonyClientV17.ts @@ -0,0 +1,73 @@ +import { type SignerOrProvider } from '@colony/core'; + +import { IColony__factory as IColonyFactory } from '../../contracts/IColony/17/factories/IColony__factory.js'; +import { type IColony } from '../../contracts/IColony/17/IColony.js'; +import { type ColonyNetworkClient } from '../ColonyNetworkClient.js'; +import { + type AugmentedIColony, + type AugmentedEstimate, +} from './augments/commonAugments.js'; +import { type ColonyAugmentsV3 } from './augments/augmentsV3.js'; +import { type ColonyAugmentsV4 } from './augments/augmentsV4.js'; +import { type ColonyAugmentsV5 } from './augments/augmentsV5.js'; +import { type ColonyAugmentsV6 } from './augments/augmentsV6.js'; +import { + addAugments, + type ColonyAugmentsV7, + type AugmentedEstimateV7, +} from './augments/augmentsV7.js'; +import { + type AddDomainAugmentsB, + type AddDomainEstimateGasB, + addAugmentsB as addAddDomainAugments, +} from './augments/AddDomain.js'; +import { + type MoveFundsBetweenPotsAugmentsB, + type MoveFundsBetweenPotsEstimateGasB, + addAugmentsB as addMoveFundsBetweenPotsAugments, +} from './augments/MoveFundsBetweenPots.js'; + +interface ColonyClientV17Estimate + extends AugmentedEstimate, + AugmentedEstimateV7, + AddDomainEstimateGasB, + MoveFundsBetweenPotsEstimateGasB {} + +export interface ColonyClientV17 + extends AugmentedIColony, + ColonyAugmentsV3, + ColonyAugmentsV4, + ColonyAugmentsV5, + ColonyAugmentsV6, + ColonyAugmentsV7, + AddDomainAugmentsB, + MoveFundsBetweenPotsAugmentsB { + clientVersion: 17; + estimateGas: ColonyClientV17Estimate; + + // This is only to hide certain internal ethers.js properties from the docs + /** @internal */ + callStatic: IColony['callStatic']; + /** @internal */ + functions: IColony['functions']; + /** @internal */ + populateTransaction: IColony['populateTransaction']; +} + +export default function getColonyClient( + this: ColonyNetworkClient, + address: string, + signerOrProvider: SignerOrProvider, +): ColonyClientV17 { + const colonyClient = IColonyFactory.connect( + address, + signerOrProvider, + ) as ColonyClientV17; + + colonyClient.clientVersion = 17; + addAugments(colonyClient, this); + addAddDomainAugments(colonyClient); + addMoveFundsBetweenPotsAugments(colonyClient); + + return colonyClient as ColonyClientV17; +} diff --git a/packages/colony-js/src/clients/Core/augments/AddDomain.ts b/packages/colony-js/src/clients/Core/augments/AddDomain.ts index 19685d66c..7acc756d9 100644 --- a/packages/colony-js/src/clients/Core/augments/AddDomain.ts +++ b/packages/colony-js/src/clients/Core/augments/AddDomain.ts @@ -11,11 +11,11 @@ import { import { type IColonyV4, - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import type { AugmentedIColony, @@ -27,11 +27,11 @@ type ValidColonyA = IColonyV4; // Colonies that support the later (overloaded) methods type ValidColonyB = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; export interface AddDomainEstimateGasA { /** diff --git a/packages/colony-js/src/clients/Core/augments/MoveFundsBetweenPots.ts b/packages/colony-js/src/clients/Core/augments/MoveFundsBetweenPots.ts index ca871aabe..a398e408b 100644 --- a/packages/colony-js/src/clients/Core/augments/MoveFundsBetweenPots.ts +++ b/packages/colony-js/src/clients/Core/augments/MoveFundsBetweenPots.ts @@ -14,11 +14,11 @@ import { import { type IColonyV6, - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import { type AugmentedIColony, @@ -30,11 +30,11 @@ type ValidColonyA = IColonyV6; // Colonies that support the later (overloaded) methods type ValidColonyB = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; const getMoveFundsPermissionProofsA = async ( contract: AugmentedIColony, diff --git a/packages/colony-js/src/clients/Core/augments/augmentsV3.ts b/packages/colony-js/src/clients/Core/augments/augmentsV3.ts index b4b254b3e..26bf2bac7 100644 --- a/packages/colony-js/src/clients/Core/augments/augmentsV3.ts +++ b/packages/colony-js/src/clients/Core/augments/augmentsV3.ts @@ -11,11 +11,11 @@ import { import { type ColonyNetworkClient } from '../../ColonyNetworkClient.js'; import { - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import { addAugments as addCommonAugments, @@ -23,11 +23,11 @@ import { } from './commonAugments.js'; type ValidColony = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; export interface AugmentedEstimateV3 { /** diff --git a/packages/colony-js/src/clients/Core/augments/augmentsV4.ts b/packages/colony-js/src/clients/Core/augments/augmentsV4.ts index 6007feafc..1c6bbe0c1 100644 --- a/packages/colony-js/src/clients/Core/augments/augmentsV4.ts +++ b/packages/colony-js/src/clients/Core/augments/augmentsV4.ts @@ -11,11 +11,11 @@ import { import { type ColonyNetworkClient } from '../../ColonyNetworkClient.js'; import { - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import { type AugmentedIColony } from './commonAugments.js'; import { @@ -25,11 +25,11 @@ import { } from './augmentsV3.js'; type ValidColony = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; export interface AugmentedEstimateV4 extends AugmentedEstimateV3 { /** diff --git a/packages/colony-js/src/clients/Core/augments/augmentsV5.ts b/packages/colony-js/src/clients/Core/augments/augmentsV5.ts index 383e5e694..452c76aa3 100644 --- a/packages/colony-js/src/clients/Core/augments/augmentsV5.ts +++ b/packages/colony-js/src/clients/Core/augments/augmentsV5.ts @@ -19,11 +19,11 @@ import { import { type ColonyNetworkClient } from '../../ColonyNetworkClient.js'; import { - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import { type AugmentedIColony } from './commonAugments.js'; import { type ColonyAugmentsV3 } from './augmentsV3.js'; @@ -34,11 +34,11 @@ import { } from './augmentsV4.js'; type ValidColony = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; /* * Estimates diff --git a/packages/colony-js/src/clients/Core/augments/augmentsV6.ts b/packages/colony-js/src/clients/Core/augments/augmentsV6.ts index 3705aa3ab..14127b89e 100644 --- a/packages/colony-js/src/clients/Core/augments/augmentsV6.ts +++ b/packages/colony-js/src/clients/Core/augments/augmentsV6.ts @@ -11,11 +11,11 @@ import { import { type ColonyNetworkClient } from '../../ColonyNetworkClient.js'; import { - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import { type AugmentedIColony } from './commonAugments.js'; import { type ColonyAugmentsV3 } from './augmentsV3.js'; @@ -27,11 +27,11 @@ import { } from './augmentsV5.js'; type ValidColony = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; /* * Estimates diff --git a/packages/colony-js/src/clients/Core/augments/augmentsV7.ts b/packages/colony-js/src/clients/Core/augments/augmentsV7.ts index 312d88245..3961f2a01 100644 --- a/packages/colony-js/src/clients/Core/augments/augmentsV7.ts +++ b/packages/colony-js/src/clients/Core/augments/augmentsV7.ts @@ -11,11 +11,11 @@ import { import { type ColonyNetworkClient } from '../../ColonyNetworkClient.js'; import { - type IColonyV12, type IColonyV13, type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../contracts.js'; import { type AugmentedIColony } from './commonAugments.js'; import { type ColonyAugmentsV3 } from './augmentsV3.js'; @@ -28,11 +28,11 @@ import { } from './augmentsV6.js'; type ValidColony = - | IColonyV12 | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; /* * Estimates diff --git a/packages/colony-js/src/clients/Core/contracts.ts b/packages/colony-js/src/clients/Core/contracts.ts index 37d98c3c8..97db6f08d 100644 --- a/packages/colony-js/src/clients/Core/contracts.ts +++ b/packages/colony-js/src/clients/Core/contracts.ts @@ -15,9 +15,10 @@ import type { IColony as IColony13 } from '../../contracts/IColony/13/index.js'; import type { IColony as IColony14 } from '../../contracts/IColony/14/index.js'; import type { IColony as IColony15 } from '../../contracts/IColony/15/index.js'; import type { IColony as IColony16 } from '../../contracts/IColony/16/index.js'; +import type { IColony as IColony17 } from '../../contracts/IColony/17/index.js'; // Always adjust to the latest Colony version -export { IColony__factory as IColonyFactory } from '../../contracts/IColony/16/factories/IColony__factory.js'; +export { IColony__factory as IColonyFactory } from '../../contracts/IColony/17/factories/IColony__factory.js'; export type IColonyV1 = IColony1; export type IColonyV2 = IColony2; @@ -35,10 +36,11 @@ export type IColonyV13 = IColony13; export type IColonyV14 = IColony14; export type IColonyV15 = IColony15; export type IColonyV16 = IColony16; +export type IColonyV17 = IColony17; export type AnyIColony = - | IColony12 | IColony13 | IColony14 | IColony15 - | IColony16; + | IColony16 + | IColony17; diff --git a/packages/colony-js/src/clients/Core/exports.ts b/packages/colony-js/src/clients/Core/exports.ts index 0785586e6..a76720ab3 100644 --- a/packages/colony-js/src/clients/Core/exports.ts +++ b/packages/colony-js/src/clients/Core/exports.ts @@ -1,5 +1,6 @@ import type { ColonyVersion } from '@colony/core'; import { getTokenClient } from '@colony/tokens'; +import { assertExhaustiveSwitch } from '@colony/core/utils'; import { type ColonyNetworkClient } from '../ColonyNetworkClient.js'; import getColonyVersionClient from './ColonyVersionClient.js'; @@ -15,24 +16,24 @@ import getColonyClientV8 from './ColonyClientV8.js'; import getColonyClientV9 from './ColonyClientV9.js'; import getColonyClientV10 from './ColonyClientV10.js'; import getColonyClientV11 from './ColonyClientV11.js'; -import getColonyClientV12, { type ColonyClientV12 } from './ColonyClientV12.js'; +import getColonyClientV12 from './ColonyClientV12.js'; import getColonyClientV13, { type ColonyClientV13 } from './ColonyClientV13.js'; import getColonyClientV14, { type ColonyClientV14 } from './ColonyClientV14.js'; import getColonyClientV15, { type ColonyClientV15 } from './ColonyClientV15.js'; import getColonyClientV16, { type ColonyClientV16 } from './ColonyClientV16.js'; +import getColonyClientV17, { type ColonyClientV17 } from './ColonyClientV17.js'; -export type { ColonyClientV12 } from './ColonyClientV12.js'; export type { ColonyClientV13 } from './ColonyClientV13.js'; export type { ColonyClientV14 } from './ColonyClientV14.js'; export type { ColonyClientV15 } from './ColonyClientV15.js'; export type { ColonyClientV16 } from './ColonyClientV16.js'; export type AnyColonyClient = - | ColonyClientV12 | ColonyClientV13 | ColonyClientV14 | ColonyClientV15 - | ColonyClientV16; + | ColonyClientV16 + | ColonyClientV17; /** Versioned core contract names */ export enum Core { @@ -57,7 +58,7 @@ export async function getColonyClient( ); // This is *kinda* hacky, but I have no better idea ¯\_(ツ)_/¯ // We have to get the version somehow before instantiating the right contract version - let version; + let version: ColonyVersion; try { const versionBN = await colonyVersionClient.version(); version = versionBN.toNumber() as ColonyVersion; @@ -74,7 +75,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 2: { @@ -82,7 +83,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 3: { @@ -90,7 +91,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 4: { @@ -98,7 +99,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 5: { @@ -106,7 +107,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 6: { @@ -114,7 +115,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 7: { @@ -122,7 +123,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 8: { @@ -130,7 +131,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 9: { @@ -138,7 +139,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 10: { @@ -146,7 +147,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 11: { @@ -154,7 +155,7 @@ export async function getColonyClient( this, colonyAddress, signerOrProvider, - ) as ColonyClientV12; + ) as ColonyClientV13; break; } case 12: { @@ -197,9 +198,16 @@ export async function getColonyClient( ); break; } - default: { - throw new Error('Colony version not supported'); + case 17: { + colonyClient = getColonyClientV17.call( + this, + colonyAddress, + signerOrProvider, + ); + break; } + default: + return assertExhaustiveSwitch(version, 'Could not find Colony version'); } const tokenAddress = await colonyClient.getToken(); diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV1.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV1.ts index fb38ac689..521e0cf25 100644 --- a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV1.ts +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV1.ts @@ -3,7 +3,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { FundingQueue__factory as FundingQueueFactory } from '../../../contracts/FundingQueue/1/factories/FundingQueue__factory.js'; import { ClientType } from '../../../constants.js'; import { - type UnkonwnFundingQueueClient, + type UnknownFundingQueueClient, addAugments, type ValidColony, } from './augments/commonAugments.js'; @@ -15,7 +15,7 @@ export default function getFundingQueueClient( const fundingQueueClient = FundingQueueFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnFundingQueueClient; + ) as UnknownFundingQueueClient; fundingQueueClient.clientType = ClientType.FundingQueueClient; fundingQueueClient.clientVersion = 1; diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV2.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV2.ts index cde14c7cc..b629b19eb 100644 --- a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV2.ts +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV2.ts @@ -4,7 +4,7 @@ import { FundingQueue__factory as FundingQueueFactory } from '../../../contracts import { ClientType } from '../../../constants.js'; import { addAugments, - type UnkonwnFundingQueueClient, + type UnknownFundingQueueClient, type ValidColony, } from './augments/commonAugments.js'; @@ -15,7 +15,7 @@ export default function getFundingQueueClient( const fundingQueueClient = FundingQueueFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnFundingQueueClient; + ) as UnknownFundingQueueClient; fundingQueueClient.clientType = ClientType.FundingQueueClient; fundingQueueClient.clientVersion = 2; diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV3.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV3.ts index c533830fa..b568a6d0c 100644 --- a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV3.ts +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV3.ts @@ -1,27 +1,21 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { FundingQueue } from '../../../contracts/FundingQueue/3/FundingQueue.js'; import { FundingQueue__factory as FundingQueueFactory } from '../../../contracts/FundingQueue/3/factories/FundingQueue__factory.js'; import { ClientType } from '../../../constants.js'; import { addAugments, - type AugmentedFundingQueue, + type UnknownFundingQueueClient, type ValidColony, } from './augments/commonAugments.js'; -export interface FundingQueueClientV3 - extends AugmentedFundingQueue { - clientVersion: 3; -} - export default function getFundingQueueClient( colonyClient: AugmentedIColony, address: string, -): FundingQueueClientV3 { +) { const fundingQueueClient = FundingQueueFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as FundingQueueClientV3; + ) as UnknownFundingQueueClient; fundingQueueClient.clientType = ClientType.FundingQueueClient; fundingQueueClient.clientVersion = 3; diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV9.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV9.ts new file mode 100644 index 000000000..4c444aadf --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/FundingQueueClientV9.ts @@ -0,0 +1,31 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { FundingQueue } from '../../../contracts/FundingQueue/9/FundingQueue.js'; + +import { FundingQueue__factory as FundingQueueFactory } from '../../../contracts/FundingQueue/9/factories/FundingQueue__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedFundingQueue, + type ValidColony, +} from './augments/commonAugments.js'; + +export interface FundingQueueClientV9 + extends AugmentedFundingQueue { + clientVersion: 9; +} + +export default function getFundingQueueClient( + colonyClient: AugmentedIColony, + address: string, +): FundingQueueClientV9 { + const fundingQueueClient = FundingQueueFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as FundingQueueClientV9; + + fundingQueueClient.clientType = ClientType.FundingQueueClient; + fundingQueueClient.clientVersion = 9; + addAugments(fundingQueueClient, colonyClient); + + return fundingQueueClient; +} diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/augments/commonAugments.ts index 2a495c751..5d28e602b 100644 --- a/packages/colony-js/src/clients/Extensions/FundingQueue/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/augments/commonAugments.ts @@ -45,4 +45,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnFundingQueueClient = AugmentedFundingQueue; +export type UnknownFundingQueueClient = AugmentedFundingQueue; diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/contracts.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/contracts.ts index 2051e584b..32e2bb676 100644 --- a/packages/colony-js/src/clients/Extensions/FundingQueue/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/contracts.ts @@ -7,9 +7,10 @@ import type { FundingQueue as FundingQueue5 } from '../../../contracts/FundingQu import type { FundingQueue as FundingQueue6 } from '../../../contracts/FundingQueue/6/index.js'; import type { FundingQueue as FundingQueue7 } from '../../../contracts/FundingQueue/7/index.js'; import type { FundingQueue as FundingQueue8 } from '../../../contracts/FundingQueue/8/index.js'; +import type { FundingQueue as FundingQueue9 } from '../../../contracts/FundingQueue/9/index.js'; // Always adjust to the latest factory -export { FundingQueue__factory as FundingQueueFactory } from '../../../contracts/FundingQueue/8/factories/FundingQueue__factory.js'; +export { FundingQueue__factory as FundingQueueFactory } from '../../../contracts/FundingQueue/9/factories/FundingQueue__factory.js'; export type FundingQueueV1 = FundingQueue1; export type FundingQueueV2 = FundingQueue2; @@ -19,11 +20,12 @@ export type FundingQueueV5 = FundingQueue5; export type FundingQueueV6 = FundingQueue6; export type FundingQueueV7 = FundingQueue7; export type FundingQueueV8 = FundingQueue8; +export type FundingQueueV9 = FundingQueue9; export type AnyFundingQueue = - | FundingQueue3 | FundingQueue4 | FundingQueue5 | FundingQueue6 | FundingQueue7 - | FundingQueue8; + | FundingQueue8 + | FundingQueue9; diff --git a/packages/colony-js/src/clients/Extensions/FundingQueue/exports.ts b/packages/colony-js/src/clients/Extensions/FundingQueue/exports.ts index 68b8a73a8..a8fe50101 100644 --- a/packages/colony-js/src/clients/Extensions/FundingQueue/exports.ts +++ b/packages/colony-js/src/clients/Extensions/FundingQueue/exports.ts @@ -6,9 +6,7 @@ import { type AugmentedIColony } from '../../Core/augments/commonAugments.js'; import getFundingQueueClientV1 from './FundingQueueClientV1.js'; import getFundingQueueClientV2 from './FundingQueueClientV2.js'; -import getFundingQueueClientV3, { - type FundingQueueClientV3, -} from './FundingQueueClientV3.js'; +import getFundingQueueClientV3 from './FundingQueueClientV3.js'; import getFundingQueueClientV4, { type FundingQueueClientV4, } from './FundingQueueClientV4.js'; @@ -24,21 +22,24 @@ import getFundingQueueClientV7, { import getFundingQueueClientV8, { type FundingQueueClientV8, } from './FundingQueueClientV8.js'; +import getFundingQueueClientV9, { + type FundingQueueClientV9, +} from './FundingQueueClientV9.js'; -export type { FundingQueueClientV3 } from './FundingQueueClientV3.js'; export type { FundingQueueClientV4 } from './FundingQueueClientV4.js'; export type { FundingQueueClientV5 } from './FundingQueueClientV5.js'; export type { FundingQueueClientV6 } from './FundingQueueClientV6.js'; export type { FundingQueueClientV7 } from './FundingQueueClientV7.js'; export type { FundingQueueClientV8 } from './FundingQueueClientV8.js'; +export type { FundingQueueClientV9 } from './FundingQueueClientV9.js'; export type AnyFundingQueueClient = - | FundingQueueClientV3 | FundingQueueClientV4 | FundingQueueClientV5 | FundingQueueClientV6 | FundingQueueClientV7 - | FundingQueueClientV8; + | FundingQueueClientV8 + | FundingQueueClientV9; /** @internal */ export const getFundingQueueClient = ( @@ -51,14 +52,17 @@ export const getFundingQueueClient = ( return getFundingQueueClientV1( colonyClient, address, - ) as FundingQueueClientV3; + ) as FundingQueueClientV4; case 2: return getFundingQueueClientV2( colonyClient, address, - ) as FundingQueueClientV3; + ) as FundingQueueClientV4; case 3: - return getFundingQueueClientV3(colonyClient, address); + return getFundingQueueClientV3( + colonyClient, + address, + ) as FundingQueueClientV4; case 4: return getFundingQueueClientV4(colonyClient, address); case 5: @@ -69,6 +73,8 @@ export const getFundingQueueClient = ( return getFundingQueueClientV7(colonyClient, address); case 8: return getFundingQueueClientV8(colonyClient, address); + case 9: + return getFundingQueueClientV9(colonyClient, address); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/MultisigPermissions/MultisigPermissionsClientV2.ts b/packages/colony-js/src/clients/Extensions/MultisigPermissions/MultisigPermissionsClientV2.ts new file mode 100644 index 000000000..70a20afa4 --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/MultisigPermissions/MultisigPermissionsClientV2.ts @@ -0,0 +1,31 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { MultisigPermissions } from '../../../contracts/MultisigPermissions/2/MultisigPermissions.js'; + +import { MultisigPermissions__factory as MultisigPermissionsFactory } from '../../../contracts/MultisigPermissions/2/factories/MultisigPermissions__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedMultisigPermissions, + type ValidColony, +} from './augments/commonAugments.js'; + +export interface MultisigPermissionsClientV2 + extends AugmentedMultisigPermissions { + clientVersion: 2; +} + +export default function getMultisigPermissionsClient( + colonyClient: AugmentedIColony, + address: string, +): MultisigPermissionsClientV2 { + const stagedExpenditureClient = MultisigPermissionsFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as MultisigPermissionsClientV2; + + stagedExpenditureClient.clientType = ClientType.MultisigPermissionsClient; + stagedExpenditureClient.clientVersion = 2; + addAugments(stagedExpenditureClient, colonyClient); + + return stagedExpenditureClient; +} diff --git a/packages/colony-js/src/clients/Extensions/MultisigPermissions/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/MultisigPermissions/augments/commonAugments.ts index d0fd242c5..68d9b46e1 100644 --- a/packages/colony-js/src/clients/Extensions/MultisigPermissions/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/MultisigPermissions/augments/commonAugments.ts @@ -10,10 +10,11 @@ import { type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../../../Core/contracts.js'; import { type AnyMultisigPermissions } from '../contracts.js'; -export type ValidColony = IColonyV14 | IColonyV15 | IColonyV16; +export type ValidColony = IColonyV14 | IColonyV15 | IColonyV16 | IColonyV17; export type AugmentedEstimate< T extends AnyMultisigPermissions = AnyMultisigPermissions, @@ -55,5 +56,5 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnMultisigPermissionsClient = +export type UnknownMultisigPermissionsClient = AugmentedMultisigPermissions; diff --git a/packages/colony-js/src/clients/Extensions/MultisigPermissions/contracts.ts b/packages/colony-js/src/clients/Extensions/MultisigPermissions/contracts.ts index 096b9642a..ded3380c8 100644 --- a/packages/colony-js/src/clients/Extensions/MultisigPermissions/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/MultisigPermissions/contracts.ts @@ -1,9 +1,13 @@ // Always add the next MultisigPermissions version here import type { MultisigPermissions as MultisigPermissions1 } from '../../../contracts/MultisigPermissions/1/index.js'; +import type { MultisigPermissions as MultisigPermissions2 } from '../../../contracts/MultisigPermissions/2/index.js'; // Always adjust to the latest factory -export { MultisigPermissions__factory as MultisigPermissionsFactory } from '../../../contracts/MultisigPermissions/1/factories/MultisigPermissions__factory.js'; +export { MultisigPermissions__factory as MultisigPermissionsFactory } from '../../../contracts/MultisigPermissions/2/factories/MultisigPermissions__factory.js'; export type MultisigPermissionsV1 = MultisigPermissions1; +export type MultisigPermissionsV2 = MultisigPermissions2; -export type AnyMultisigPermissions = MultisigPermissions1; +export type AnyMultisigPermissions = + | MultisigPermissions1 + | MultisigPermissions2; diff --git a/packages/colony-js/src/clients/Extensions/MultisigPermissions/exports.ts b/packages/colony-js/src/clients/Extensions/MultisigPermissions/exports.ts index f6060c526..d803deba9 100644 --- a/packages/colony-js/src/clients/Extensions/MultisigPermissions/exports.ts +++ b/packages/colony-js/src/clients/Extensions/MultisigPermissions/exports.ts @@ -9,9 +9,16 @@ import getMultisigPermissionsClientV1, { type MultisigPermissionsClientV1, } from './MultisigPermissionsClientV1.js'; +import getMultisigPermissionsClientV2, { + type MultisigPermissionsClientV2, +} from './MultisigPermissionsClientV2.js'; + export type { MultisigPermissionsClientV1 } from './MultisigPermissionsClientV1.js'; +export type { MultisigPermissionsClientV2 } from './MultisigPermissionsClientV2.js'; -export type AnyMultisigPermissionsClient = MultisigPermissionsClientV1; +export type AnyMultisigPermissionsClient = + | MultisigPermissionsClientV1 + | MultisigPermissionsClientV2; /** @internal */ export const getMultisigPermissionsClient = ( @@ -25,6 +32,11 @@ export const getMultisigPermissionsClient = ( colonyClient as AugmentedIColony, address, ); + case 2: + return getMultisigPermissionsClientV2( + colonyClient as AugmentedIColony, + address, + ); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV1.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV1.ts index e52c15786..386809085 100644 --- a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV1.ts +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV1.ts @@ -3,7 +3,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { OneTxPayment__factory as OneTxPaymentFactory } from '../../../contracts/OneTxPayment/1/factories/OneTxPayment__factory.js'; import { ClientType } from '../../../constants.js'; import { - type UnkonwnOneTxPaymentClient, + type UnknownOneTxPaymentClient, addAugments, type ValidColony, } from './augments/commonAugments.js'; @@ -15,7 +15,7 @@ export default function getOneTxPaymentClient( const oneTxPaymentClient = OneTxPaymentFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnOneTxPaymentClient; + ) as UnknownOneTxPaymentClient; oneTxPaymentClient.clientType = ClientType.OneTxPaymentClient; oneTxPaymentClient.clientVersion = 1; diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV2.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV2.ts index 969ae4d02..f290047c2 100644 --- a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV2.ts +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV2.ts @@ -4,7 +4,7 @@ import { OneTxPayment__factory as OneTxPaymentFactory } from '../../../contracts import { ClientType } from '../../../constants.js'; import { addAugments, - type UnkonwnOneTxPaymentClient, + type UnknownOneTxPaymentClient, type ValidColony, } from './augments/commonAugments.js'; @@ -15,7 +15,7 @@ export default function getOneTxPaymentClient( const oneTxPaymentClient = OneTxPaymentFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnOneTxPaymentClient; + ) as UnknownOneTxPaymentClient; oneTxPaymentClient.clientType = ClientType.OneTxPaymentClient; oneTxPaymentClient.clientVersion = 2; diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV3.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV3.ts index 352590e78..82ef92e24 100644 --- a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV3.ts +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV3.ts @@ -1,31 +1,21 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { OneTxPayment } from '../../../contracts/OneTxPayment/3/OneTxPayment.js'; import { OneTxPayment__factory as OneTxPaymentFactory } from '../../../contracts/OneTxPayment/3/factories/OneTxPayment__factory.js'; import { ClientType } from '../../../constants.js'; import { addAugments, - type AugmentedEstimate, - type AugmentedOneTxPayment, + type UnknownOneTxPaymentClient, type ValidColony, } from './augments/commonAugments.js'; -type OneTxPaymentEstimate = AugmentedEstimate; - -export interface OneTxPaymentClientV3 - extends AugmentedOneTxPayment { - clientVersion: 3; - estimateGas: OneTxPaymentEstimate; -} - export default function getOneTxPaymentClient( colonyClient: AugmentedIColony, address: string, -): OneTxPaymentClientV3 { +) { const oneTxPaymentClient = OneTxPaymentFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as OneTxPaymentClientV3; + ) as UnknownOneTxPaymentClient; oneTxPaymentClient.clientType = ClientType.OneTxPaymentClient; oneTxPaymentClient.clientVersion = 3; diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV9.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV9.ts new file mode 100644 index 000000000..d9847e982 --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/OneTxPaymentClientV9.ts @@ -0,0 +1,35 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { OneTxPayment } from '../../../contracts/OneTxPayment/9/OneTxPayment.js'; + +import { OneTxPayment__factory as OneTxPaymentFactory } from '../../../contracts/OneTxPayment/9/factories/OneTxPayment__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedEstimate, + type AugmentedOneTxPayment, + type ValidColony, +} from './augments/commonAugments.js'; + +type OneTxPaymentEstimate = AugmentedEstimate; + +export interface OneTxPaymentClientV9 + extends AugmentedOneTxPayment { + clientVersion: 9; + estimateGas: OneTxPaymentEstimate; +} + +export default function getOneTxPaymentClient( + colonyClient: AugmentedIColony, + address: string, +): OneTxPaymentClientV9 { + const oneTxPaymentClient = OneTxPaymentFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as OneTxPaymentClientV9; + + oneTxPaymentClient.clientType = ClientType.OneTxPaymentClient; + oneTxPaymentClient.clientVersion = 9; + addAugments(oneTxPaymentClient, colonyClient); + + return oneTxPaymentClient; +} diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/augments/commonAugments.ts index 2aaca3420..f3264737b 100644 --- a/packages/colony-js/src/clients/Extensions/OneTxPayment/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/augments/commonAugments.ts @@ -289,4 +289,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnOneTxPaymentClient = AugmentedOneTxPayment; +export type UnknownOneTxPaymentClient = AugmentedOneTxPayment; diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/contracts.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/contracts.ts index d1dbdba73..52bbe0e1f 100644 --- a/packages/colony-js/src/clients/Extensions/OneTxPayment/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/contracts.ts @@ -7,9 +7,10 @@ import type { OneTxPayment as OneTxPayment5 } from '../../../contracts/OneTxPaym import type { OneTxPayment as OneTxPayment6 } from '../../../contracts/OneTxPayment/6/index.js'; import type { OneTxPayment as OneTxPayment7 } from '../../../contracts/OneTxPayment/7/index.js'; import type { OneTxPayment as OneTxPayment8 } from '../../../contracts/OneTxPayment/8/index.js'; +import type { OneTxPayment as OneTxPayment9 } from '../../../contracts/OneTxPayment/9/index.js'; // Always adjust to the latest factory -export { OneTxPayment__factory as OneTxPaymentFactory } from '../../../contracts/OneTxPayment/8/factories/OneTxPayment__factory.js'; +export { OneTxPayment__factory as OneTxPaymentFactory } from '../../../contracts/OneTxPayment/9/factories/OneTxPayment__factory.js'; export type OneTxPaymentV1 = OneTxPayment1; export type OneTxPaymentV2 = OneTxPayment2; @@ -19,12 +20,12 @@ export type OneTxPaymentV5 = OneTxPayment5; export type OneTxPaymentV6 = OneTxPayment6; export type OneTxPaymentV7 = OneTxPayment7; export type OneTxPaymentV8 = OneTxPayment8; +export type OneTxPaymentV9 = OneTxPayment9; export type AnyOneTxPayment = - | OneTxPayment2 - | OneTxPayment3 | OneTxPayment4 | OneTxPayment5 | OneTxPayment6 | OneTxPayment7 - | OneTxPayment8; + | OneTxPayment8 + | OneTxPayment9; diff --git a/packages/colony-js/src/clients/Extensions/OneTxPayment/exports.ts b/packages/colony-js/src/clients/Extensions/OneTxPayment/exports.ts index 4913dfe84..93b17649d 100644 --- a/packages/colony-js/src/clients/Extensions/OneTxPayment/exports.ts +++ b/packages/colony-js/src/clients/Extensions/OneTxPayment/exports.ts @@ -6,9 +6,7 @@ import { type AugmentedIColony } from '../../Core/augments/commonAugments.js'; import getOneTxPaymentClientV1 from './OneTxPaymentClientV1.js'; import getOneTxPaymentClientV2 from './OneTxPaymentClientV2.js'; -import getOneTxPaymentClientV3, { - type OneTxPaymentClientV3, -} from './OneTxPaymentClientV3.js'; +import getOneTxPaymentClientV3 from './OneTxPaymentClientV3.js'; import getOneTxPaymentClientV4, { type OneTxPaymentClientV4, } from './OneTxPaymentClientV4.js'; @@ -24,21 +22,24 @@ import getOneTxPaymentClientV7, { import getOneTxPaymentClientV8, { type OneTxPaymentClientV8, } from './OneTxPaymentClientV8.js'; +import getOneTxPaymentClientV9, { + type OneTxPaymentClientV9, +} from './OneTxPaymentClientV9.js'; -export type { OneTxPaymentClientV3 } from './OneTxPaymentClientV3.js'; export type { OneTxPaymentClientV4 } from './OneTxPaymentClientV4.js'; export type { OneTxPaymentClientV5 } from './OneTxPaymentClientV5.js'; export type { OneTxPaymentClientV6 } from './OneTxPaymentClientV6.js'; export type { OneTxPaymentClientV7 } from './OneTxPaymentClientV7.js'; export type { OneTxPaymentClientV8 } from './OneTxPaymentClientV8.js'; +export type { OneTxPaymentClientV9 } from './OneTxPaymentClientV9.js'; export type AnyOneTxPaymentClient = - | OneTxPaymentClientV3 | OneTxPaymentClientV4 | OneTxPaymentClientV5 | OneTxPaymentClientV6 | OneTxPaymentClientV7 - | OneTxPaymentClientV8; + | OneTxPaymentClientV8 + | OneTxPaymentClientV9; /** @internal */ export const getOneTxPaymentClient = ( @@ -51,14 +52,17 @@ export const getOneTxPaymentClient = ( return getOneTxPaymentClientV1( colonyClient, address, - ) as OneTxPaymentClientV3; + ) as OneTxPaymentClientV4; case 2: return getOneTxPaymentClientV2( colonyClient, address, - ) as OneTxPaymentClientV3; + ) as OneTxPaymentClientV4; case 3: - return getOneTxPaymentClientV3(colonyClient, address); + return getOneTxPaymentClientV3( + colonyClient, + address, + ) as OneTxPaymentClientV4; case 4: return getOneTxPaymentClientV4(colonyClient, address); case 5: @@ -69,6 +73,8 @@ export const getOneTxPaymentClient = ( return getOneTxPaymentClientV7(colonyClient, address); case 8: return getOneTxPaymentClientV8(colonyClient, address); + case 9: + return getOneTxPaymentClientV9(colonyClient, address); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/ReputationBootstrapperClientV6.ts b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/ReputationBootstrapperClientV6.ts new file mode 100644 index 000000000..24ffb00cd --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/ReputationBootstrapperClientV6.ts @@ -0,0 +1,32 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { ReputationBootstrapper } from '../../../contracts/ReputationBootstrapper/6/ReputationBootstrapper.js'; + +import { ReputationBootstrapper__factory as ReputationBootstrapperFactory } from '../../../contracts/ReputationBootstrapper/6/factories/ReputationBootstrapper__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedReputationBootstrapper, + type ValidColony, +} from './augments/commonAugments.js'; + +export interface ReputationBootstrapperClientV6 + extends AugmentedReputationBootstrapper { + clientVersion: 6; +} + +export default function getReputationBootstrapperClient( + colonyClient: AugmentedIColony, + address: string, +): ReputationBootstrapperClientV6 { + const reputationBootstrapperClient = ReputationBootstrapperFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as ReputationBootstrapperClientV6; + + reputationBootstrapperClient.clientType = + ClientType.ReputationBootstrapperClient; + reputationBootstrapperClient.clientVersion = 6; + addAugments(reputationBootstrapperClient, colonyClient); + + return reputationBootstrapperClient; +} diff --git a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/augments/commonAugments.ts index b3b83240c..8fb0c6810 100644 --- a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/augments/commonAugments.ts @@ -47,5 +47,5 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnReputationBootstrapperClient = +export type UnknownReputationBootstrapperClient = AugmentedReputationBootstrapper; diff --git a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/contracts.ts b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/contracts.ts index 00a8e1daa..39fa3b381 100644 --- a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/contracts.ts @@ -4,19 +4,22 @@ import type { ReputationBootstrapper as ReputationBootstrapper2 } from '../../.. import type { ReputationBootstrapper as ReputationBootstrapper3 } from '../../../contracts/ReputationBootstrapper/3/index.js'; import type { ReputationBootstrapper as ReputationBootstrapper4 } from '../../../contracts/ReputationBootstrapper/4/index.js'; import type { ReputationBootstrapper as ReputationBootstrapper5 } from '../../../contracts/ReputationBootstrapper/5/index.js'; +import type { ReputationBootstrapper as ReputationBootstrapper6 } from '../../../contracts/ReputationBootstrapper/6/index.js'; // Always adjust to the latest factory -export { ReputationBootstrapper__factory as ReputationBootstrapperFactory } from '../../../contracts/ReputationBootstrapper/5/factories/ReputationBootstrapper__factory.js'; +export { ReputationBootstrapper__factory as ReputationBootstrapperFactory } from '../../../contracts/ReputationBootstrapper/6/factories/ReputationBootstrapper__factory.js'; export type ReputationBootstrapperV1 = ReputationBootstrapper1; export type ReputationBootstrapperV2 = ReputationBootstrapper2; export type ReputationBootstrapperV3 = ReputationBootstrapper3; export type ReputationBootstrapperV4 = ReputationBootstrapper4; export type ReputationBootstrapperV5 = ReputationBootstrapper5; +export type ReputationBootstrapperV6 = ReputationBootstrapper6; export type AnyReputationBootstrapper = | ReputationBootstrapper1 | ReputationBootstrapper2 | ReputationBootstrapper3 | ReputationBootstrapper4 - | ReputationBootstrapper5; + | ReputationBootstrapper5 + | ReputationBootstrapper6; diff --git a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/exports.ts b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/exports.ts index e099532c2..896b35068 100644 --- a/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/exports.ts +++ b/packages/colony-js/src/clients/Extensions/ReputationBootstrapper/exports.ts @@ -19,19 +19,24 @@ import getReputationBootstrapperClientV4, { import getReputationBootstrapperClientV5, { type ReputationBootstrapperClientV5, } from './ReputationBootstrapperClientV5.js'; +import getReputationBootstrapperClientV6, { + type ReputationBootstrapperClientV6, +} from './ReputationBootstrapperClientV6.js'; export type { ReputationBootstrapperClientV1 } from './ReputationBootstrapperClientV1.js'; export type { ReputationBootstrapperClientV2 } from './ReputationBootstrapperClientV2.js'; export type { ReputationBootstrapperClientV3 } from './ReputationBootstrapperClientV3.js'; export type { ReputationBootstrapperClientV4 } from './ReputationBootstrapperClientV4.js'; export type { ReputationBootstrapperClientV5 } from './ReputationBootstrapperClientV5.js'; +export type { ReputationBootstrapperClientV6 } from './ReputationBootstrapperClientV6.js'; export type AnyReputationBootstrapperClient = | ReputationBootstrapperClientV1 | ReputationBootstrapperClientV2 | ReputationBootstrapperClientV3 | ReputationBootstrapperClientV4 - | ReputationBootstrapperClientV5; + | ReputationBootstrapperClientV5 + | ReputationBootstrapperClientV6; /** @internal */ export const getReputationBootstrapperClient = ( @@ -50,6 +55,8 @@ export const getReputationBootstrapperClient = ( return getReputationBootstrapperClientV4(colonyClient, address); case 5: return getReputationBootstrapperClientV5(colonyClient, address); + case 6: + return getReputationBootstrapperClientV6(colonyClient, address); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/StagedExpenditure/StagedExpenditureClientV4.ts b/packages/colony-js/src/clients/Extensions/StagedExpenditure/StagedExpenditureClientV4.ts new file mode 100644 index 000000000..51f476d20 --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/StagedExpenditure/StagedExpenditureClientV4.ts @@ -0,0 +1,31 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { StagedExpenditure } from '../../../contracts/StagedExpenditure/4/StagedExpenditure.js'; + +import { StagedExpenditure__factory as StagedExpenditureFactory } from '../../../contracts/StagedExpenditure/4/factories/StagedExpenditure__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedStagedExpenditure, + type ValidColony, +} from './augments/commonAugments.js'; + +export interface StagedExpenditureClientV4 + extends AugmentedStagedExpenditure { + clientVersion: 4; +} + +export default function getStagedExpenditureClient( + colonyClient: AugmentedIColony, + address: string, +): StagedExpenditureClientV4 { + const stagedExpenditureClient = StagedExpenditureFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as StagedExpenditureClientV4; + + stagedExpenditureClient.clientType = ClientType.StagedExpenditureClient; + stagedExpenditureClient.clientVersion = 4; + addAugments(stagedExpenditureClient, colonyClient); + + return stagedExpenditureClient; +} diff --git a/packages/colony-js/src/clients/Extensions/StagedExpenditure/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/StagedExpenditure/augments/commonAugments.ts index d211aa508..32bef2fba 100644 --- a/packages/colony-js/src/clients/Extensions/StagedExpenditure/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/StagedExpenditure/augments/commonAugments.ts @@ -10,10 +10,11 @@ import { type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../../../Core/contracts.js'; import { type AnyStagedExpenditure } from '../contracts.js'; -export type ValidColony = IColonyV14 | IColonyV15 | IColonyV16; +export type ValidColony = IColonyV14 | IColonyV15 | IColonyV16 | IColonyV17; export type AugmentedEstimate< T extends AnyStagedExpenditure = AnyStagedExpenditure, @@ -54,4 +55,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnStagedExpenditureClient = AugmentedStagedExpenditure; +export type UnknownStagedExpenditureClient = AugmentedStagedExpenditure; diff --git a/packages/colony-js/src/clients/Extensions/StagedExpenditure/contracts.ts b/packages/colony-js/src/clients/Extensions/StagedExpenditure/contracts.ts index c127b2949..072ed3a42 100644 --- a/packages/colony-js/src/clients/Extensions/StagedExpenditure/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/StagedExpenditure/contracts.ts @@ -2,15 +2,18 @@ import type { StagedExpenditure as StagedExpenditure1 } from '../../../contracts/StagedExpenditure/1/index.js'; import type { StagedExpenditure as StagedExpenditure2 } from '../../../contracts/StagedExpenditure/2/index.js'; import type { StagedExpenditure as StagedExpenditure3 } from '../../../contracts/StagedExpenditure/3/index.js'; +import type { StagedExpenditure as StagedExpenditure4 } from '../../../contracts/StagedExpenditure/4/index.js'; // Always adjust to the latest factory -export { StagedExpenditure__factory as StagedExpenditureFactory } from '../../../contracts/StagedExpenditure/3/factories/StagedExpenditure__factory.js'; +export { StagedExpenditure__factory as StagedExpenditureFactory } from '../../../contracts/StagedExpenditure/4/factories/StagedExpenditure__factory.js'; export type StagedExpenditureV1 = StagedExpenditure1; export type StagedExpenditureV2 = StagedExpenditure2; export type StagedExpenditureV3 = StagedExpenditure3; +export type StagedExpenditureV4 = StagedExpenditure4; export type AnyStagedExpenditure = | StagedExpenditure1 | StagedExpenditure2 - | StagedExpenditure3; + | StagedExpenditure3 + | StagedExpenditure4; diff --git a/packages/colony-js/src/clients/Extensions/StagedExpenditure/exports.ts b/packages/colony-js/src/clients/Extensions/StagedExpenditure/exports.ts index 2f00d645c..8f3d20925 100644 --- a/packages/colony-js/src/clients/Extensions/StagedExpenditure/exports.ts +++ b/packages/colony-js/src/clients/Extensions/StagedExpenditure/exports.ts @@ -14,15 +14,20 @@ import getStagedExpenditureClientV2, { import getStagedExpenditureClientV3, { type StagedExpenditureClientV3, } from './StagedExpenditureClientV3.js'; +import getStagedExpenditureClientV4, { + type StagedExpenditureClientV4, +} from './StagedExpenditureClientV4.js'; export type { StagedExpenditureClientV1 } from './StagedExpenditureClientV1.js'; export type { StagedExpenditureClientV2 } from './StagedExpenditureClientV2.js'; export type { StagedExpenditureClientV3 } from './StagedExpenditureClientV3.js'; +export type { StagedExpenditureClientV4 } from './StagedExpenditureClientV4.js'; export type AnyStagedExpenditureClient = | StagedExpenditureClientV1 | StagedExpenditureClientV2 - | StagedExpenditureClientV3; + | StagedExpenditureClientV3 + | StagedExpenditureClientV4; /** @internal */ export const getStagedExpenditureClient = ( @@ -46,6 +51,11 @@ export const getStagedExpenditureClient = ( colonyClient as AugmentedIColony, address, ); + case 4: + return getStagedExpenditureClientV4( + colonyClient as AugmentedIColony, + address, + ); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV1.ts b/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV1.ts index 4ead94f12..a3c44c744 100644 --- a/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV1.ts +++ b/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV1.ts @@ -1,27 +1,21 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { StakedExpenditure } from '../../../contracts/StakedExpenditure/1/StakedExpenditure.js'; import { StakedExpenditure__factory as StakedExpenditureFactory } from '../../../contracts/StakedExpenditure/1/factories/StakedExpenditure__factory.js'; import { ClientType } from '../../../constants.js'; import { addAugments, - type AugmentedStakedExpenditure, + type UnknownStakedExpenditureClient, type ValidColony, } from './augments/commonAugments.js'; -export interface StakedExpenditureClientV1 - extends AugmentedStakedExpenditure { - clientVersion: 1; -} - export default function getStakedExpenditureClient( colonyClient: AugmentedIColony, address: string, -): StakedExpenditureClientV1 { +) { const stakedExpenditureClient = StakedExpenditureFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as StakedExpenditureClientV1; + ) as UnknownStakedExpenditureClient; stakedExpenditureClient.clientType = ClientType.StakedExpenditureClient; stakedExpenditureClient.clientVersion = 1; diff --git a/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV7.ts b/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV7.ts new file mode 100644 index 000000000..aef59a0f9 --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/StakedExpenditure/StakedExpenditureClientV7.ts @@ -0,0 +1,31 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { StakedExpenditure } from '../../../contracts/StakedExpenditure/7/index.js'; + +import { StakedExpenditure__factory as StakedExpenditureFactory } from '../../../contracts/StakedExpenditure/7/factories/StakedExpenditure__factory.js'; +import { + addAugments, + type AugmentedStakedExpenditure, + type ValidColony, +} from './augments/commonAugments.js'; +import { ClientType } from '../../../constants.js'; + +export interface StakedExpenditureClientV7 + extends AugmentedStakedExpenditure { + clientVersion: 7; +} + +export default function getStakedExpenditureClient( + colonyClient: AugmentedIColony, + address: string, +): StakedExpenditureClientV7 { + const stakedExpenditureClient = StakedExpenditureFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as StakedExpenditureClientV7; + + stakedExpenditureClient.clientType = ClientType.StakedExpenditureClient; + stakedExpenditureClient.clientVersion = 7; + addAugments(stakedExpenditureClient, colonyClient); + + return stakedExpenditureClient; +} diff --git a/packages/colony-js/src/clients/Extensions/StakedExpenditure/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/StakedExpenditure/augments/commonAugments.ts index e96e737ab..7c1a596ef 100644 --- a/packages/colony-js/src/clients/Extensions/StakedExpenditure/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/StakedExpenditure/augments/commonAugments.ts @@ -23,6 +23,7 @@ import { type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../../../Core/contracts.js'; import { type AnyStakedExpenditure } from '../contracts.js'; @@ -31,7 +32,8 @@ export type ValidColony = | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; export type AugmentedEstimate< T extends AnyStakedExpenditure = AnyStakedExpenditure, @@ -338,4 +340,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnStakedExpenditureClient = AugmentedStakedExpenditure; +export type UnknownStakedExpenditureClient = AugmentedStakedExpenditure; diff --git a/packages/colony-js/src/clients/Extensions/StakedExpenditure/contracts.ts b/packages/colony-js/src/clients/Extensions/StakedExpenditure/contracts.ts index fdb6cf860..1d3471ed0 100644 --- a/packages/colony-js/src/clients/Extensions/StakedExpenditure/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/StakedExpenditure/contracts.ts @@ -5,9 +5,10 @@ import type { StakedExpenditure as StakedExpenditure3 } from '../../../contracts import type { StakedExpenditure as StakedExpenditure4 } from '../../../contracts/StakedExpenditure/4/index.js'; import type { StakedExpenditure as StakedExpenditure5 } from '../../../contracts/StakedExpenditure/5/index.js'; import type { StakedExpenditure as StakedExpenditure6 } from '../../../contracts/StakedExpenditure/6/index.js'; +import type { StakedExpenditure as StakedExpenditure7 } from '../../../contracts/StakedExpenditure/7/index.js'; // Always adjust to the latest factory -export { StakedExpenditure__factory as StakedExpenditureFactory } from '../../../contracts/StakedExpenditure/6/factories/StakedExpenditure__factory.js'; +export { StakedExpenditure__factory as StakedExpenditureFactory } from '../../../contracts/StakedExpenditure/7/factories/StakedExpenditure__factory.js'; export type StakedExpenditureV1 = StakedExpenditure1; export type StakedExpenditureV2 = StakedExpenditure2; @@ -15,11 +16,12 @@ export type StakedExpenditureV3 = StakedExpenditure3; export type StakedExpenditureV4 = StakedExpenditure4; export type StakedExpenditureV5 = StakedExpenditure5; export type StakedExpenditureV6 = StakedExpenditure6; +export type StakedExpenditureV7 = StakedExpenditure7; export type AnyStakedExpenditure = - | StakedExpenditure1 | StakedExpenditure2 | StakedExpenditure3 | StakedExpenditure4 | StakedExpenditure5 - | StakedExpenditure6; + | StakedExpenditure6 + | StakedExpenditure7; diff --git a/packages/colony-js/src/clients/Extensions/StakedExpenditure/exports.ts b/packages/colony-js/src/clients/Extensions/StakedExpenditure/exports.ts index 3c96129d1..4391e4a96 100644 --- a/packages/colony-js/src/clients/Extensions/StakedExpenditure/exports.ts +++ b/packages/colony-js/src/clients/Extensions/StakedExpenditure/exports.ts @@ -5,9 +5,7 @@ import { assertExhaustiveSwitch } from '@colony/core/utils'; import { type AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { type ValidColony } from './augments/commonAugments.js'; -import getStakedExpenditureClientV1, { - type StakedExpenditureClientV1, -} from './StakedExpenditureClientV1.js'; +import getStakedExpenditureClientV1 from './StakedExpenditureClientV1.js'; import getStakedExpenditureClientV2, { type StakedExpenditureClientV2, } from './StakedExpenditureClientV2.js'; @@ -23,21 +21,24 @@ import getStakedExpenditureClientV5, { import getStakedExpenditureClientV6, { type StakedExpenditureClientV6, } from './StakedExpenditureClientV6.js'; +import getStakedExpenditureClientV7, { + type StakedExpenditureClientV7, +} from './StakedExpenditureClientV7.js'; -export type { StakedExpenditureClientV1 } from './StakedExpenditureClientV1.js'; export type { StakedExpenditureClientV2 } from './StakedExpenditureClientV2.js'; export type { StakedExpenditureClientV3 } from './StakedExpenditureClientV3.js'; export type { StakedExpenditureClientV4 } from './StakedExpenditureClientV4.js'; export type { StakedExpenditureClientV5 } from './StakedExpenditureClientV5.js'; export type { StakedExpenditureClientV6 } from './StakedExpenditureClientV6.js'; +export type { StakedExpenditureClientV7 } from './StakedExpenditureClientV7.js'; export type AnyStakedExpenditureClient = - | StakedExpenditureClientV1 | StakedExpenditureClientV2 | StakedExpenditureClientV3 | StakedExpenditureClientV4 | StakedExpenditureClientV5 - | StakedExpenditureClientV6; + | StakedExpenditureClientV6 + | StakedExpenditureClientV7; /** @internal */ export const getStakedExpenditureClient = ( @@ -76,6 +77,11 @@ export const getStakedExpenditureClient = ( colonyClient as AugmentedIColony, address, ); + case 7: + return getStakedExpenditureClientV7( + colonyClient as AugmentedIColony, + address, + ); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/StreamingPayments/StreamingPaymentsClientV6.ts b/packages/colony-js/src/clients/Extensions/StreamingPayments/StreamingPaymentsClientV6.ts new file mode 100644 index 000000000..2a9d5ea0a --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/StreamingPayments/StreamingPaymentsClientV6.ts @@ -0,0 +1,31 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { StreamingPayments } from '../../../contracts/StreamingPayments/6/StreamingPayments.js'; + +import { StreamingPayments__factory as StreamingPaymentsFactory } from '../../../contracts/StreamingPayments/6/factories/StreamingPayments__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedStreamingPayments, + type ValidColony, +} from './augments/commonAugments.js'; + +export interface StreamingPaymentsClientV6 + extends AugmentedStreamingPayments { + clientVersion: 6; +} + +export default function getStreamingPaymentsClient( + colonyClient: AugmentedIColony, + address: string, +): StreamingPaymentsClientV6 { + const streamingPaymentsClient = StreamingPaymentsFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as StreamingPaymentsClientV6; + + streamingPaymentsClient.clientType = ClientType.StreamingPaymentsClient; + streamingPaymentsClient.clientVersion = 6; + addAugments(streamingPaymentsClient, colonyClient); + + return streamingPaymentsClient; +} diff --git a/packages/colony-js/src/clients/Extensions/StreamingPayments/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/StreamingPayments/augments/commonAugments.ts index 023a9d3ee..aff01d776 100644 --- a/packages/colony-js/src/clients/Extensions/StreamingPayments/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/StreamingPayments/augments/commonAugments.ts @@ -23,6 +23,7 @@ import { type IColonyV14, type IColonyV15, type IColonyV16, + type IColonyV17, } from '../../../Core/contracts.js'; import { type AnyStreamingPayments } from '../contracts.js'; @@ -33,7 +34,8 @@ export type ValidColony = | IColonyV13 | IColonyV14 | IColonyV15 - | IColonyV16; + | IColonyV16 + | IColonyV17; export type AugmentedEstimate< T extends AnyStreamingPayments = AnyStreamingPayments, @@ -605,4 +607,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnStreamingPaymentsClient = AugmentedStreamingPayments; +export type UnknownStreamingPaymentsClient = AugmentedStreamingPayments; diff --git a/packages/colony-js/src/clients/Extensions/StreamingPayments/contracts.ts b/packages/colony-js/src/clients/Extensions/StreamingPayments/contracts.ts index 5aad24201..368b55936 100644 --- a/packages/colony-js/src/clients/Extensions/StreamingPayments/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/StreamingPayments/contracts.ts @@ -4,15 +4,17 @@ import type { StreamingPayments as StreamingPayments2 } from '../../../contracts import type { StreamingPayments as StreamingPayments3 } from '../../../contracts/StreamingPayments/3/index.js'; import type { StreamingPayments as StreamingPayments4 } from '../../../contracts/StreamingPayments/4/index.js'; import type { StreamingPayments as StreamingPayments5 } from '../../../contracts/StreamingPayments/5/index.js'; +import type { StreamingPayments as StreamingPayments6 } from '../../../contracts/StreamingPayments/6/index.js'; // Always adjust to the latest factory -export { StreamingPayments__factory as StreamingPaymentsFactory } from '../../../contracts/StreamingPayments/4/factories/StreamingPayments__factory.js'; +export { StreamingPayments__factory as StreamingPaymentsFactory } from '../../../contracts/StreamingPayments/6/factories/StreamingPayments__factory.js'; export type StreamingPaymentsV1 = StreamingPayments1; export type StreamingPaymentsV2 = StreamingPayments2; export type StreamingPaymentsV3 = StreamingPayments3; export type StreamingPaymentsV4 = StreamingPayments4; export type StreamingPaymentsV5 = StreamingPayments5; +export type StreamingPaymentsV6 = StreamingPayments6; // No one is using StreamingPaymentsV1 through V4, so we can safely ignore them for now -export type AnyStreamingPayments = StreamingPaymentsV5; +export type AnyStreamingPayments = StreamingPayments5 | StreamingPayments6; diff --git a/packages/colony-js/src/clients/Extensions/StreamingPayments/exports.ts b/packages/colony-js/src/clients/Extensions/StreamingPayments/exports.ts index 70a0f032b..45ee6745d 100644 --- a/packages/colony-js/src/clients/Extensions/StreamingPayments/exports.ts +++ b/packages/colony-js/src/clients/Extensions/StreamingPayments/exports.ts @@ -8,10 +8,16 @@ import { type ValidColony } from './augments/commonAugments.js'; import getStreamingPaymentsClientV5, { type StreamingPaymentsClientV5, } from './StreamingPaymentsClientV5.js'; +import getStreamingPaymentsClientV6, { + type StreamingPaymentsClientV6, +} from './StreamingPaymentsClientV6.js'; export type { StreamingPaymentsClientV5 } from './StreamingPaymentsClientV5.js'; +export type { StreamingPaymentsClientV6 } from './StreamingPaymentsClientV6.js'; -export type AnyStreamingPaymentsClient = StreamingPaymentsClientV5; +export type AnyStreamingPaymentsClient = + | StreamingPaymentsClientV5 + | StreamingPaymentsClientV6; /** @internal */ export const getStreamingPaymentsClient = ( @@ -33,6 +39,11 @@ export const getStreamingPaymentsClient = ( colonyClient as AugmentedIColony, address, ); + case 6: + return getStreamingPaymentsClientV6( + colonyClient as AugmentedIColony, + address, + ); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV1.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV1.ts index ca8f745c5..2880da6e6 100644 --- a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV1.ts +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV1.ts @@ -3,7 +3,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { TokenSupplier__factory as TokenSupplierFactory } from '../../../contracts/TokenSupplier/1/factories/TokenSupplier__factory.js'; import { ClientType } from '../../../constants.js'; import { - type UnkonwnTokenSupplierClient, + type UnknownTokenSupplierClient, addAugments, } from './augments/commonAugments.js'; @@ -14,7 +14,7 @@ export default function getTokenSupplierClient( const tokenSupplierClient = TokenSupplierFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnTokenSupplierClient; + ) as UnknownTokenSupplierClient; tokenSupplierClient.clientType = ClientType.TokenSupplierClient; tokenSupplierClient.clientVersion = 1; diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV2.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV2.ts index d51f89482..34c9ff803 100644 --- a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV2.ts +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV2.ts @@ -3,7 +3,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { TokenSupplier__factory as TokenSupplierFactory } from '../../../contracts/TokenSupplier/2/factories/TokenSupplier__factory.js'; import { ClientType } from '../../../constants.js'; import { - type UnkonwnTokenSupplierClient, + type UnknownTokenSupplierClient, addAugments, } from './augments/commonAugments.js'; @@ -14,7 +14,7 @@ export default function getTokenSupplierClient( const tokenSupplierClient = TokenSupplierFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnTokenSupplierClient; + ) as UnknownTokenSupplierClient; tokenSupplierClient.clientType = ClientType.TokenSupplierClient; tokenSupplierClient.clientVersion = 2; diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV3.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV3.ts index 889446a6d..cffce5694 100644 --- a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV3.ts +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV3.ts @@ -1,27 +1,21 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { TokenSupplier } from '../../../contracts/TokenSupplier/3/TokenSupplier.js'; import { TokenSupplier__factory as TokenSupplierFactory } from '../../../contracts/TokenSupplier/3/factories/TokenSupplier__factory.js'; import { ClientType } from '../../../constants.js'; import { addAugments, - type AugmentedTokenSupplier, + type UnknownTokenSupplierClient, type ValidColony, } from './augments/commonAugments.js'; -export interface TokenSupplierClientV3 - extends AugmentedTokenSupplier { - clientVersion: 3; -} - export default function getTokenSupplierClient( colonyClient: AugmentedIColony, address: string, -): TokenSupplierClientV3 { +) { const tokenSupplierClient = TokenSupplierFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as TokenSupplierClientV3; + ) as UnknownTokenSupplierClient; tokenSupplierClient.clientType = ClientType.TokenSupplierClient; tokenSupplierClient.clientVersion = 3; diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV9.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV9.ts new file mode 100644 index 000000000..ac1b57a05 --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/TokenSupplierClientV9.ts @@ -0,0 +1,31 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { TokenSupplier } from '../../../contracts/TokenSupplier/9/TokenSupplier.js'; + +import { TokenSupplier__factory as TokenSupplierFactory } from '../../../contracts/TokenSupplier/9/factories/TokenSupplier__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + addAugments, + type AugmentedTokenSupplier, + type ValidColony, +} from './augments/commonAugments.js'; + +export interface TokenSupplierClientV9 + extends AugmentedTokenSupplier { + clientVersion: 9; +} + +export default function getTokenSupplierClient( + colonyClient: AugmentedIColony, + address: string, +): TokenSupplierClientV9 { + const tokenSupplierClient = TokenSupplierFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as TokenSupplierClientV9; + + tokenSupplierClient.clientType = ClientType.TokenSupplierClient; + tokenSupplierClient.clientVersion = 9; + addAugments(tokenSupplierClient, colonyClient); + + return tokenSupplierClient; +} diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/augments/commonAugments.ts index 8f6224acb..9bfd24a70 100644 --- a/packages/colony-js/src/clients/Extensions/TokenSupplier/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/augments/commonAugments.ts @@ -45,4 +45,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnTokenSupplierClient = AugmentedTokenSupplier; +export type UnknownTokenSupplierClient = AugmentedTokenSupplier; diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/contracts.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/contracts.ts index 4a2d8680a..ecc758404 100644 --- a/packages/colony-js/src/clients/Extensions/TokenSupplier/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/contracts.ts @@ -7,9 +7,10 @@ import type { TokenSupplier as TokenSupplier5 } from '../../../contracts/TokenSu import type { TokenSupplier as TokenSupplier6 } from '../../../contracts/TokenSupplier/6/index.js'; import type { TokenSupplier as TokenSupplier7 } from '../../../contracts/TokenSupplier/7/index.js'; import type { TokenSupplier as TokenSupplier8 } from '../../../contracts/TokenSupplier/8/index.js'; +import type { TokenSupplier as TokenSupplier9 } from '../../../contracts/TokenSupplier/9/index.js'; // Always adjust to the latest factory -export { TokenSupplier__factory as TokenSupplierFactory } from '../../../contracts/TokenSupplier/8/factories/TokenSupplier__factory.js'; +export { TokenSupplier__factory as TokenSupplierFactory } from '../../../contracts/TokenSupplier/9/factories/TokenSupplier__factory.js'; export type TokenSupplierV1 = TokenSupplier1; export type TokenSupplierV2 = TokenSupplier2; @@ -19,11 +20,12 @@ export type TokenSupplierV5 = TokenSupplier5; export type TokenSupplierV6 = TokenSupplier6; export type TokenSupplierV7 = TokenSupplier7; export type TokenSupplierV8 = TokenSupplier8; +export type TokenSupplierV9 = TokenSupplier9; export type AnyTokenSupplier = - | TokenSupplier3 | TokenSupplier4 | TokenSupplier5 | TokenSupplier6 | TokenSupplier7 - | TokenSupplier8; + | TokenSupplier8 + | TokenSupplier9; diff --git a/packages/colony-js/src/clients/Extensions/TokenSupplier/exports.ts b/packages/colony-js/src/clients/Extensions/TokenSupplier/exports.ts index 89c6d4d46..9ff0f38da 100644 --- a/packages/colony-js/src/clients/Extensions/TokenSupplier/exports.ts +++ b/packages/colony-js/src/clients/Extensions/TokenSupplier/exports.ts @@ -6,9 +6,7 @@ import { type AugmentedIColony } from '../../Core/augments/commonAugments.js'; import getTokenSupplierClientV1 from './TokenSupplierClientV1.js'; import getTokenSupplierClientV2 from './TokenSupplierClientV2.js'; -import getTokenSupplierClientV3, { - type TokenSupplierClientV3, -} from './TokenSupplierClientV3.js'; +import getTokenSupplierClientV3 from './TokenSupplierClientV3.js'; import getTokenSupplierClientV4, { type TokenSupplierClientV4, } from './TokenSupplierClientV4.js'; @@ -24,21 +22,24 @@ import getTokenSupplierClientV7, { import getTokenSupplierClientV8, { type TokenSupplierClientV8, } from './TokenSupplierClientV8.js'; +import getTokenSupplierClientV9, { + type TokenSupplierClientV9, +} from './TokenSupplierClientV9.js'; -export type { TokenSupplierClientV3 } from './TokenSupplierClientV3.js'; export type { TokenSupplierClientV4 } from './TokenSupplierClientV4.js'; export type { TokenSupplierClientV5 } from './TokenSupplierClientV5.js'; export type { TokenSupplierClientV6 } from './TokenSupplierClientV6.js'; export type { TokenSupplierClientV7 } from './TokenSupplierClientV7.js'; export type { TokenSupplierClientV8 } from './TokenSupplierClientV8.js'; +export type { TokenSupplierClientV9 } from './TokenSupplierClientV9.js'; export type AnyTokenSupplierClient = - | TokenSupplierClientV3 | TokenSupplierClientV4 | TokenSupplierClientV5 | TokenSupplierClientV6 | TokenSupplierClientV7 - | TokenSupplierClientV8; + | TokenSupplierClientV8 + | TokenSupplierClientV9; /** @internal */ export const getTokenSupplierClient = ( @@ -51,14 +52,17 @@ export const getTokenSupplierClient = ( return getTokenSupplierClientV1( colonyClient, address, - ) as TokenSupplierClientV3; + ) as TokenSupplierClientV4; case 2: return getTokenSupplierClientV2( colonyClient, address, - ) as TokenSupplierClientV3; + ) as TokenSupplierClientV4; case 3: - return getTokenSupplierClientV3(colonyClient, address); + return getTokenSupplierClientV3( + colonyClient, + address, + ) as TokenSupplierClientV4; case 4: return getTokenSupplierClientV4(colonyClient, address); case 5: @@ -69,6 +73,8 @@ export const getTokenSupplierClient = ( return getTokenSupplierClientV7(colonyClient, address); case 8: return getTokenSupplierClientV8(colonyClient, address); + case 9: + return getTokenSupplierClientV9(colonyClient, address); default: return assertExhaustiveSwitch( version, diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV1.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV1.ts index 92f741d6e..a23f13860 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV1.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV1.ts @@ -3,7 +3,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { VotingReputation__factory as VotingReputationFactory } from '../../../contracts/VotingReputation/1/factories/VotingReputation__factory.js'; import { addAugments, - type UnkonwnVotingReputationClient, + type UnknownVotingReputationClient, } from './augments/commonAugments.js'; import { ClientType } from '../../../constants.js'; import { addAugments as addCreateDomainMotionAugments } from './augments/CreateDomainMotion.js'; @@ -15,7 +15,7 @@ export default function getVotingReputationClient( const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnVotingReputationClient; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 1; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV13.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV13.ts new file mode 100644 index 000000000..3b7476123 --- /dev/null +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV13.ts @@ -0,0 +1,48 @@ +import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; +import type { IVotingReputation } from '../../../contracts/IVotingReputation/13/IVotingReputation.js'; + +import { IVotingReputation__factory as VotingReputationFactory } from '../../../contracts/IVotingReputation/13/factories/IVotingReputation__factory.js'; +import { ClientType } from '../../../constants.js'; +import { + type AugmentedEstimate, + type AugmentedVotingReputation, +} from './augments/commonAugments.js'; +import { + type AugmentedEstimateV2, + type AugmentsV2, +} from './augments/augmentsV2.js'; +import { + addAugments as addAugmentsV3, + type AugmentedEstimateV3, + type AugmentsV3, +} from './augments/augmentsV3.js'; + +interface VotingReputationEstimate + extends AugmentedEstimate, + AugmentedEstimateV2, + AugmentedEstimateV3 {} + +export interface VotingReputationClientV13 + extends AugmentedVotingReputation, + AugmentsV2, + AugmentsV3 { + clientVersion: 13; + estimateGas: VotingReputationEstimate; +} + +export default function getVotingReputationClient( + colonyClient: AugmentedIColony, + address: string, +): VotingReputationClientV13 { + const votingReputationClient = VotingReputationFactory.connect( + address, + colonyClient.signer || colonyClient.provider, + ) as VotingReputationClientV13; + + votingReputationClient.clientType = ClientType.VotingReputationClient; + votingReputationClient.clientVersion = 13; + + addAugmentsV3(votingReputationClient, colonyClient); + + return votingReputationClient; +} diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV2.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV2.ts index 0eb0f67f5..68faa35b5 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV2.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV2.ts @@ -1,5 +1,5 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { UnkonwnVotingReputationClient } from './augments/commonAugments.js'; +import type { UnknownVotingReputationClient } from './augments/commonAugments.js'; import { VotingReputation__factory as VotingReputationFactory } from '../../../contracts/VotingReputation/2/factories/VotingReputation__factory.js'; import { ClientType } from '../../../constants.js'; @@ -13,7 +13,7 @@ export default function getVotingReputationClient( const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnVotingReputationClient; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 2; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV3.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV3.ts index 100e84f0a..fbcf07549 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV3.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV3.ts @@ -1,5 +1,5 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { UnkonwnVotingReputationClient } from './augments/commonAugments.js'; +import type { UnknownVotingReputationClient } from './augments/commonAugments.js'; import { VotingReputation__factory as VotingReputationFactory } from '../../../contracts/VotingReputation/3/factories/VotingReputation__factory.js'; import { ClientType } from '../../../constants.js'; @@ -13,7 +13,7 @@ export default function getVotingReputationClient( const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnVotingReputationClient; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 3; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV4.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV4.ts index c5dc34bd1..d13f7ea60 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV4.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV4.ts @@ -1,5 +1,5 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { UnkonwnVotingReputationClient } from './augments/commonAugments.js'; +import type { UnknownVotingReputationClient } from './augments/commonAugments.js'; import { VotingReputation__factory as VotingReputationFactory } from '../../../contracts/VotingReputation/4/factories/VotingReputation__factory.js'; import { ClientType } from '../../../constants.js'; @@ -13,7 +13,7 @@ export default function getVotingReputationClient( const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnVotingReputationClient; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 4; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV5.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV5.ts index 38f06ebc8..9508ddd2c 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV5.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV5.ts @@ -2,7 +2,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { VotingReputation__factory as VotingReputationFactory } from '../../../contracts/VotingReputation/5/factories/VotingReputation__factory.js'; import { ClientType } from '../../../constants.js'; -import { type UnkonwnVotingReputationClient } from './augments/commonAugments.js'; +import { type UnknownVotingReputationClient } from './augments/commonAugments.js'; import { addAugments } from './augments/augmentsV2.js'; import { addAugments as addCreateDomainMotionAugments } from './augments/CreateDomainMotion.js'; @@ -13,7 +13,7 @@ export default function getVotingReputationClient( const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnVotingReputationClient; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 5; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV6.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV6.ts index 0322cb0a9..d72c559e7 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV6.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV6.ts @@ -2,7 +2,7 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; import { IVotingReputation__factory as VotingReputationFactory } from '../../../contracts/IVotingReputation/6/factories/IVotingReputation__factory.js'; import { ClientType } from '../../../constants.js'; -import { type UnkonwnVotingReputationClient } from './augments/commonAugments.js'; +import { type UnknownVotingReputationClient } from './augments/commonAugments.js'; import { addAugments } from './augments/augmentsV2.js'; import { addAugments as addCreateDomainMotionAugments } from './augments/CreateDomainMotion.js'; @@ -13,7 +13,7 @@ export default function getVotingReputationClient( const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as UnkonwnVotingReputationClient; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 6; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV7.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV7.ts index 4060fe60e..ec2785854 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV7.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/VotingReputationClientV7.ts @@ -1,50 +1,19 @@ import type { AugmentedIColony } from '../../Core/augments/commonAugments.js'; -import type { IVotingReputation } from '../../../contracts/IVotingReputation/7/IVotingReputation.js'; import { IVotingReputation__factory as VotingReputationFactory } from '../../../contracts/IVotingReputation/7/factories/IVotingReputation__factory.js'; import { ClientType } from '../../../constants.js'; -import { - type AugmentedEstimate, - type AugmentedVotingReputation, -} from './augments/commonAugments.js'; -import { - type AugmentedEstimateV2, - type AugmentsV2, -} from './augments/augmentsV2.js'; -import { - addAugments, - type AugmentedEstimateV3, - type AugmentsV3, -} from './augments/augmentsV3.js'; -import { - addAugments as addCreateDomainMotionAugments, - type CreateDomainMotionAugments, - type CreateDomainMotionEstimateGas, -} from './augments/CreateDomainMotion.js'; - -interface VotingReputationEstimate - extends AugmentedEstimate, - AugmentedEstimateV2, - AugmentedEstimateV3, - CreateDomainMotionEstimateGas {} - -export interface VotingReputationClientV7 - extends AugmentedVotingReputation, - AugmentsV2, - AugmentsV3, - CreateDomainMotionAugments { - clientVersion: 7; - estimateGas: VotingReputationEstimate; -} +import { type UnknownVotingReputationClient } from './augments/commonAugments.js'; +import { addAugments } from './augments/augmentsV3.js'; +import { addAugments as addCreateDomainMotionAugments } from './augments/CreateDomainMotion.js'; export default function getVotingReputationClient( colonyClient: AugmentedIColony, address: string, -): VotingReputationClientV7 { +) { const votingReputationClient = VotingReputationFactory.connect( address, colonyClient.signer || colonyClient.provider, - ) as VotingReputationClientV7; + ) as UnknownVotingReputationClient; votingReputationClient.clientType = ClientType.VotingReputationClient; votingReputationClient.clientVersion = 7; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/CreateDomainMotion.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/CreateDomainMotion.ts index 2cd57133f..45026c249 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/CreateDomainMotion.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/CreateDomainMotion.ts @@ -12,7 +12,7 @@ import { } from '@colony/core'; import { type VotingReputationV7 } from '../contracts.js'; -import { type AugmentedVotingReputation } from './commonAugments.js'; +import { type UnknownVotingReputationClient } from './commonAugments.js'; // VotingReputation versions that support this method type ValidVotingReputation = VotingReputationV7; @@ -54,8 +54,7 @@ export type CreateDomainMotionAugments = { }; async function createDomainMotionWithProofs( - this: AugmentedVotingReputation & - CreateDomainMotionAugments, + this: UnknownVotingReputationClient, _domainId: BigNumberish, // Domain in which the voting will take place in _action: BytesLike, overrides: TxOverrides = {}, @@ -95,8 +94,7 @@ async function createDomainMotionWithProofs( } async function estimateCreateDomainMotionWithProofs( - this: AugmentedVotingReputation & - CreateDomainMotionAugments, + this: UnknownVotingReputationClient, _domainId: BigNumberish, // Domain in which the voting will take place in _action: BytesLike, overrides: TxOverrides = {}, @@ -134,10 +132,7 @@ async function estimateCreateDomainMotionWithProofs( ); } -export const addAugments = ( - contract: AugmentedVotingReputation & - CreateDomainMotionAugments, -) => { +export const addAugments = (contract: UnknownVotingReputationClient) => { /* eslint-disable no-param-reassign */ contract.createDomainMotionWithProofs = createDomainMotionWithProofs.bind(contract); diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV2.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV2.ts index a07b5040b..52b27680b 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV2.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV2.ts @@ -8,12 +8,12 @@ import { type TxOverrides, getCreateMotionProofs } from '@colony/core'; import { type AugmentedIColony } from '../../../Core/augments/commonAugments.js'; import { - type VotingReputationV7, type VotingReputationV8, type VotingReputationV9, type VotingReputationV10, type VotingReputationV11, type VotingReputationV12, + type VotingReputationV13, } from '../contracts.js'; import { type AnyVotingReputationClient } from '../exports.js'; import { @@ -22,12 +22,12 @@ import { } from './commonAugments.js'; type ValidVotingReputation = - | VotingReputationV7 | VotingReputationV8 | VotingReputationV9 | VotingReputationV10 | VotingReputationV11 - | VotingReputationV12; + | VotingReputationV12 + | VotingReputationV13; export interface AugmentedEstimateV2 { /** diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV3.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV3.ts index 1f4b2fd38..b32f4faa8 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV3.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/augmentsV3.ts @@ -11,23 +11,23 @@ import { import { type AugmentedIColony } from '../../../Core/augments/commonAugments.js'; import { - type VotingReputationV7, type VotingReputationV8, type VotingReputationV9, type VotingReputationV10, type VotingReputationV11, type VotingReputationV12, + type VotingReputationV13, } from '../contracts.js'; import { type AugmentedVotingReputation } from './commonAugments.js'; import { addAugments as addAugmentsV2, type AugmentsV2 } from './augmentsV2.js'; type ValidVotingReputation = - | VotingReputationV7 | VotingReputationV8 | VotingReputationV9 | VotingReputationV10 | VotingReputationV11 - | VotingReputationV12; + | VotingReputationV12 + | VotingReputationV13; export interface AugmentedEstimateV3 { /** diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/commonAugments.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/commonAugments.ts index e597be380..f4c0b22ee 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/augments/commonAugments.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/augments/commonAugments.ts @@ -334,4 +334,4 @@ export const addAugments = ( /* eslint-enable no-param-reassign */ }; -export type UnkonwnVotingReputationClient = AugmentedVotingReputation; +export type UnknownVotingReputationClient = AugmentedVotingReputation; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/contracts.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/contracts.ts index 84e259df7..8d338b457 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/contracts.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/contracts.ts @@ -11,8 +11,9 @@ import type { IVotingReputation as VotingReputation9 } from '../../../contracts/ import type { IVotingReputation as VotingReputation10 } from '../../../contracts/IVotingReputation/10/index.js'; import type { IVotingReputation as VotingReputation11 } from '../../../contracts/IVotingReputation/11/index.js'; import type { IVotingReputation as VotingReputation12 } from '../../../contracts/IVotingReputation/12/index.js'; +import type { IVotingReputation as VotingReputation13 } from '../../../contracts/IVotingReputation/13/index.js'; -export { IVotingReputation__factory as VotingReputationFactory } from '../../../contracts/IVotingReputation/12/factories/IVotingReputation__factory.js'; +export { IVotingReputation__factory as VotingReputationFactory } from '../../../contracts/IVotingReputation/13/factories/IVotingReputation__factory.js'; export type VotingReputationV1 = VotingReputation1; export type VotingReputationV2 = VotingReputation2; @@ -26,11 +27,12 @@ export type VotingReputationV9 = VotingReputation9; export type VotingReputationV10 = VotingReputation10; export type VotingReputationV11 = VotingReputation11; export type VotingReputationV12 = VotingReputation12; +export type VotingReputationV13 = VotingReputation13; export type AnyVotingReputation = - | VotingReputation7 | VotingReputation8 | VotingReputation9 | VotingReputation10 | VotingReputation11 - | VotingReputation12; + | VotingReputation12 + | VotingReputation13; diff --git a/packages/colony-js/src/clients/Extensions/VotingReputation/exports.ts b/packages/colony-js/src/clients/Extensions/VotingReputation/exports.ts index cb1880e08..0a6466400 100644 --- a/packages/colony-js/src/clients/Extensions/VotingReputation/exports.ts +++ b/packages/colony-js/src/clients/Extensions/VotingReputation/exports.ts @@ -10,9 +10,7 @@ import getVotingReputationClientV3 from './VotingReputationClientV3.js'; import getVotingReputationClientV4 from './VotingReputationClientV4.js'; import getVotingReputationClientV5 from './VotingReputationClientV5.js'; import getVotingReputationClientV6 from './VotingReputationClientV6.js'; -import getVotingReputationClientV7, { - type VotingReputationClientV7, -} from './VotingReputationClientV7.js'; +import getVotingReputationClientV7 from './VotingReputationClientV7.js'; import getVotingReputationClientV8, { type VotingReputationClientV8, } from './VotingReputationClientV8.js'; @@ -28,21 +26,24 @@ import getVotingReputationClientV11, { import getVotingReputationClientV12, { type VotingReputationClientV12, } from './VotingReputationClientV12.js'; +import getVotingReputationClientV13, { + type VotingReputationClientV13, +} from './VotingReputationClientV13.js'; -export type { VotingReputationClientV7 } from './VotingReputationClientV7.js'; export type { VotingReputationClientV8 } from './VotingReputationClientV8.js'; export type { VotingReputationClientV9 } from './VotingReputationClientV9.js'; export type { VotingReputationClientV10 } from './VotingReputationClientV10.js'; export type { VotingReputationClientV11 } from './VotingReputationClientV11.js'; export type { VotingReputationClientV12 } from './VotingReputationClientV12.js'; +export type { VotingReputationClientV13 } from './VotingReputationClientV13.js'; export type AnyVotingReputationClient = - | VotingReputationClientV7 | VotingReputationClientV8 | VotingReputationClientV9 | VotingReputationClientV10 | VotingReputationClientV11 - | VotingReputationClientV12; + | VotingReputationClientV12 + | VotingReputationClientV13; /** @internal */ export function getVotingReputationClient( @@ -55,34 +56,37 @@ export function getVotingReputationClient( return getVotingReputationClientV1( colonyClient, address, - ) as VotingReputationClientV7; + ) as VotingReputationClientV8; case 2: return getVotingReputationClientV2( colonyClient, address, - ) as VotingReputationClientV7; + ) as VotingReputationClientV8; case 3: return getVotingReputationClientV3( colonyClient, address, - ) as VotingReputationClientV7; + ) as VotingReputationClientV8; case 4: return getVotingReputationClientV4( colonyClient, address, - ) as VotingReputationClientV7; + ) as VotingReputationClientV8; case 5: return getVotingReputationClientV5( colonyClient, address, - ) as VotingReputationClientV7; + ) as VotingReputationClientV8; case 6: return getVotingReputationClientV6( colonyClient, address, - ) as VotingReputationClientV7; + ) as VotingReputationClientV8; case 7: - return getVotingReputationClientV7(colonyClient, address); + return getVotingReputationClientV7( + colonyClient, + address, + ) as VotingReputationClientV8; case 8: return getVotingReputationClientV8(colonyClient, address); case 9: @@ -93,6 +97,8 @@ export function getVotingReputationClient( return getVotingReputationClientV11(colonyClient, address); case 12: return getVotingReputationClientV12(colonyClient, address); + case 13: + return getVotingReputationClientV13(colonyClient, address); default: return assertExhaustiveSwitch( version, diff --git a/packages/contractor/package.json b/packages/contractor/package.json index 3ea19bfe3..95ea84c9e 100644 --- a/packages/contractor/package.json +++ b/packages/contractor/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://docs.colony.io/develop", "dependencies": { - "@colony/abis": "1.5.0", + "@colony/abis": "1.6.0", "@typechain/ethers-v5": "^11.1.0", "@typechain/ethers-v6": "^0.4.2", "@types/mkdirp": "^1.0.2", diff --git a/packages/core/src/versions/FundingQueue.ts b/packages/core/src/versions/FundingQueue.ts index 169fff3e7..56edbedef 100644 --- a/packages/core/src/versions/FundingQueue.ts +++ b/packages/core/src/versions/FundingQueue.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const FUNDING_QUEUE_VERSION_NEXT = 9; +const FUNDING_QUEUE_VERSION_NEXT = 10; /** @internal */ export const FUNDING_QUEUE_VERSIONS = createContractVersionArray( @@ -24,6 +24,7 @@ export const fundingQueueIncompatibilityMap: Record< 6: [], 7: [], 8: [], + 9: [], }; /** @internal */ diff --git a/packages/core/src/versions/IColony.ts b/packages/core/src/versions/IColony.ts index 862de7843..08ec54a3e 100644 --- a/packages/core/src/versions/IColony.ts +++ b/packages/core/src/versions/IColony.ts @@ -1,7 +1,7 @@ import { createContractVersionArray } from './utils.js'; // This is the latest IColony version + 1. It's for generating types and compatibility maps -const COLONY_VERSION_NEXT = 17; +const COLONY_VERSION_NEXT = 18; /** @internal */ export const COLONY_VERSIONS = createContractVersionArray(COLONY_VERSION_NEXT); diff --git a/packages/core/src/versions/MultisigPermissions.ts b/packages/core/src/versions/MultisigPermissions.ts index e9279ba51..b0b81a77e 100644 --- a/packages/core/src/versions/MultisigPermissions.ts +++ b/packages/core/src/versions/MultisigPermissions.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const MULTISIG_PERMISSIONS_VERSION_NEXT = 2; +const MULTISIG_PERMISSIONS_VERSION_NEXT = 3; /** @internal */ export const MULTISIG_PERMISSIONS_VERSIONS = createContractVersionArray( @@ -18,6 +18,7 @@ export const multisigPermissionsIncompatibilityMap: Record< Array > = { 1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], + 2: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], }; /** @internal */ diff --git a/packages/core/src/versions/OneTxPayment.ts b/packages/core/src/versions/OneTxPayment.ts index 1e41550da..00bf06bed 100644 --- a/packages/core/src/versions/OneTxPayment.ts +++ b/packages/core/src/versions/OneTxPayment.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const ONE_TX_PAYMENT_VERSION_NEXT = 9; +const ONE_TX_PAYMENT_VERSION_NEXT = 10; /** @internal */ export const ONE_TX_PAYMENT_VERSIONS = createContractVersionArray( @@ -24,6 +24,7 @@ export const oneTxPaymentIncompatibilityMap: Record< 6: [], 7: [], 8: [], + 9: [], }; /** @internal */ diff --git a/packages/core/src/versions/ReputationBootstrapper.ts b/packages/core/src/versions/ReputationBootstrapper.ts index 00f327258..280b74bb9 100644 --- a/packages/core/src/versions/ReputationBootstrapper.ts +++ b/packages/core/src/versions/ReputationBootstrapper.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const REPUTATION_BOOTSTRAPPER_VERSION_NEXT = 6; +const REPUTATION_BOOTSTRAPPER_VERSION_NEXT = 7; /** @internal */ export const REPUTATION_BOOTSTRAPPER_VERSIONS = createContractVersionArray( @@ -22,6 +22,7 @@ export const reputationBootstrapperIncompatibilityMap: Record< 3: [], 4: [], 5: [], + 6: [], }; /** @internal */ diff --git a/packages/core/src/versions/StagedExpenditure.ts b/packages/core/src/versions/StagedExpenditure.ts index a60a694fd..84744d7a2 100644 --- a/packages/core/src/versions/StagedExpenditure.ts +++ b/packages/core/src/versions/StagedExpenditure.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const STAGED_EXPENDITURE_VERSION_NEXT = 4; +const STAGED_EXPENDITURE_VERSION_NEXT = 5; /** @internal */ export const STAGED_EXPENDITURE_VERSIONS = createContractVersionArray( @@ -20,6 +20,7 @@ export const stagedExpenditureIncompatibilityMap: Record< 1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], 2: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], 3: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], + 4: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], }; /** @internal */ diff --git a/packages/core/src/versions/StakedExpenditure.ts b/packages/core/src/versions/StakedExpenditure.ts index e668268ea..061dcab04 100644 --- a/packages/core/src/versions/StakedExpenditure.ts +++ b/packages/core/src/versions/StakedExpenditure.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const STAKED_EXPENDITURE_VERSION_NEXT = 7; +const STAKED_EXPENDITURE_VERSION_NEXT = 8; /** @internal */ export const STAKED_EXPENDITURE_VERSIONS = createContractVersionArray( @@ -23,6 +23,7 @@ export const stakedExpenditureIncompatibilityMap: Record< 4: [1, 2, 3], 5: [1, 2, 3], 6: [1, 2, 3], + 7: [1, 2, 3], }; /** @internal */ diff --git a/packages/core/src/versions/StreamingPayments.ts b/packages/core/src/versions/StreamingPayments.ts index 80ece3017..137cbaad8 100644 --- a/packages/core/src/versions/StreamingPayments.ts +++ b/packages/core/src/versions/StreamingPayments.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const STREAMING_PAYMENTS_VERSION_NEXT = 6; +const STREAMING_PAYMENTS_VERSION_NEXT = 7; /** @internal */ export const STREAMING_PAYMENTS_VERSIONS = createContractVersionArray( @@ -22,6 +22,7 @@ export const streamingPaymentsIncompatibilityMap: Record< 3: [1, 2, 3], 4: [1, 2, 3], 5: [1, 2, 3], + 6: [1, 2, 3], }; /** @internal */ diff --git a/packages/core/src/versions/TokenSupplier.ts b/packages/core/src/versions/TokenSupplier.ts index bbc9e5a36..625656c24 100644 --- a/packages/core/src/versions/TokenSupplier.ts +++ b/packages/core/src/versions/TokenSupplier.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const TOKEN_SUPPLIER_VERSION_NEXT = 9; +const TOKEN_SUPPLIER_VERSION_NEXT = 10; /** @internal */ export const TOKEN_SUPPLIER_VERSIONS = createContractVersionArray( @@ -24,6 +24,7 @@ export const tokenSupplierIncompatibilityMap: Record< 6: [], 7: [], 8: [], + 9: [], }; /** @internal */ diff --git a/packages/core/src/versions/VotingReputation.ts b/packages/core/src/versions/VotingReputation.ts index 25be91dc6..60f6c55f9 100644 --- a/packages/core/src/versions/VotingReputation.ts +++ b/packages/core/src/versions/VotingReputation.ts @@ -2,7 +2,7 @@ import type { ColonyVersion } from './IColony.js'; import { createContractVersionArray } from './utils.js'; -const VOTING_REPUTATION_VERSION_NEXT = 13; +const VOTING_REPUTATION_VERSION_NEXT = 14; /** @internal */ export const VOTING_REPUTATION_VERSIONS = createContractVersionArray( @@ -29,6 +29,7 @@ export const votingReputationIncompatibilityMap: Record< 10: [1, 2, 3, 4, 5, 6], 11: [1, 2, 3, 4, 5, 6], 12: [1, 2, 3, 4, 5, 6], + 13: [1, 2, 3, 4, 5, 6], }; /** @internal */ diff --git a/packages/sdk/docs/api/README.md b/packages/sdk/docs/api/README.md index 140949175..cc82ed431 100644 --- a/packages/sdk/docs/api/README.md +++ b/packages/sdk/docs/api/README.md @@ -204,16 +204,16 @@ Latest versions of all extension contracts | Name | Type | | :------ | :------ | -| `FundingQueue` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` | -| `IVotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` | -| `MultisigPermissions` | ``1`` | -| `OneTxPayment` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` | -| `ReputationBootstrapper` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` | -| `StagedExpenditure` | ``1`` \| ``2`` \| ``3`` | -| `StakedExpenditure` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` | -| `StreamingPayments` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` | -| `TokenSupplier` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` | -| `VotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` | +| `FundingQueue` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` | +| `IVotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` | +| `MultisigPermissions` | ``1`` \| ``2`` | +| `OneTxPayment` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` | +| `ReputationBootstrapper` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` | +| `StagedExpenditure` | ``1`` \| ``2`` \| ``3`` \| ``4`` | +| `StakedExpenditure` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` | +| `StreamingPayments` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` | +| `TokenSupplier` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` | +| `VotingReputation` | ``1`` \| ``5`` \| ``2`` \| ``3`` \| ``4`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` | ___ @@ -367,7 +367,7 @@ Returns `true` if an extension version is compatible with the given colony versi | :------ | :------ | :------ | | `extension` | [`Extension`](enums/Extension.md) | A valid `Extension` contract name | | `extensionVersion` | `ExtensionVersion` | The version of the extension to check against the colony | -| `colonyVersion` | ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` | The version of the colony to check for | +| `colonyVersion` | ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` | The version of the colony to check for | #### Returns diff --git a/packages/sdk/docs/api/classes/Colony.md b/packages/sdk/docs/api/classes/Colony.md index e4795ea67..3fb71855d 100644 --- a/packages/sdk/docs/api/classes/Colony.md +++ b/packages/sdk/docs/api/classes/Colony.md @@ -62,7 +62,7 @@ ___ ### version -• **version**: ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` +• **version**: ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` Contract version @@ -1178,8 +1178,8 @@ ___ ### getLatestSupportedVersion -▸ `Static` **getLatestSupportedVersion**(): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` +▸ `Static` **getLatestSupportedVersion**(): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` #### Returns -``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` +``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` \| ``14`` \| ``15`` \| ``16`` \| ``17`` diff --git a/packages/sdk/docs/api/classes/OneTxPayment.md b/packages/sdk/docs/api/classes/OneTxPayment.md index 5514be1c9..5a93bb322 100644 --- a/packages/sdk/docs/api/classes/OneTxPayment.md +++ b/packages/sdk/docs/api/classes/OneTxPayment.md @@ -24,7 +24,7 @@ ___ ### version -• **version**: ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` +• **version**: ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` The extension contract's version @@ -160,8 +160,8 @@ ___ ### getLatestSupportedVersion -▸ `Static` **getLatestSupportedVersion**(): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` +▸ `Static` **getLatestSupportedVersion**(): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` #### Returns -``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` +``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` diff --git a/packages/sdk/docs/api/classes/VotingReputation.md b/packages/sdk/docs/api/classes/VotingReputation.md index 15e14fbba..708ace9fc 100644 --- a/packages/sdk/docs/api/classes/VotingReputation.md +++ b/packages/sdk/docs/api/classes/VotingReputation.md @@ -100,7 +100,7 @@ You can - at any point in the lifecycle inspect the current state of a Motion. U | :------ | :------ | | `colony` | [`Colony`](Colony.md) | | `votingReputationContract` | `SupportedVotingReputationContract` | -| `deployedVersion` | ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` | +| `deployedVersion` | ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` | ## Properties @@ -112,7 +112,7 @@ ___ ### version -• **version**: ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` +• **version**: ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` ___ @@ -741,8 +741,8 @@ ___ ### getLatestSupportedVersion -▸ `Static` **getLatestSupportedVersion**(): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` +▸ `Static` **getLatestSupportedVersion**(): ``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` #### Returns -``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` +``2`` \| ``1`` \| ``3`` \| ``4`` \| ``5`` \| ``6`` \| ``7`` \| ``8`` \| ``9`` \| ``10`` \| ``11`` \| ``12`` \| ``13`` diff --git a/packages/sdk/package.json b/packages/sdk/package.json index c9c5e4618..d6302b10f 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -33,7 +33,7 @@ "scripts": { "examples:node": "tsx examples/node/index.ts", "examples:browser": "esbuild --bundle examples/browser/src/*.ts --servedir=examples/browser/web", - "build-contracts": "contractor colony -t 10 -o ./src/contracts", + "build-contracts": "contractor colony -t 11 -o ./src/contracts", "build": "npm run clean && npm run compile-cjs && npm run compile-esm && npm run compile-prod && npm run compile-types && npm run create-pkg-json", "build-docs": "typedoc", "build-examples": "esbuild --bundle examples/browser/src/*.ts --outdir=examples/browser/web --minify", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 18ea0cfc3..641546e71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,8 +115,8 @@ importers: packages/contractor: dependencies: '@colony/abis': - specifier: 1.5.0 - version: 1.5.0 + specifier: 1.6.0 + version: 1.6.0 '@typechain/ethers-v5': specifier: ^11.1.0 version: 11.1.0(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(typechain@8.3.0)(typescript@5.1.6) @@ -828,8 +828,8 @@ packages: prettier: 2.8.8 dev: false - /@colony/abis@1.5.0: - resolution: {integrity: sha512-j1gePuI/rog7IEsY2rNxqp1JI/ChDkTECh2id30kh0ubUApf3sfidDp08aFNQRSHILW1jPNvngtp7rSTV8zE5g==} + /@colony/abis@1.6.0: + resolution: {integrity: sha512-A4rvNlDNr4TocEEtJWxvXt5K/E1GolGI/yd6hv2f7TcUwW6kvD1M6KW2EOXKIiAS3Txk4Jz5Tz/5LjSDg4eTqg==} engines: {node: ^16 || ^18 || ^20, npm: ^8 || ^9 || ^10} dev: false From c1f247d80869e70d5cfb34c6b7a5a1abd6854695 Mon Sep 17 00:00:00 2001 From: chmanie Date: Wed, 16 Oct 2024 19:02:48 +0000 Subject: [PATCH 2/3] chore: generate docs --- packages/colony-js/docs/api/classes/ColonyTokenFactory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/colony-js/docs/api/classes/ColonyTokenFactory.md b/packages/colony-js/docs/api/classes/ColonyTokenFactory.md index 2d94ae7af..2ac469b17 100644 --- a/packages/colony-js/docs/api/classes/ColonyTokenFactory.md +++ b/packages/colony-js/docs/api/classes/ColonyTokenFactory.md @@ -62,7 +62,7 @@ ___ ### bytecode -▪ `Static` `Readonly` **bytecode**: ``"0x60c060405234801561001057600080fd5b5060405161205938038061205983398101604081905261002f9161030c565b60008060018161003d6101ab565b6001600160a01b031681526020810191909152604001600090812091909155556100656101ab565b600480546001600160a01b0319166001600160a01b039290921691909117905561008d6101ab565b6001600160a01b03167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a260066100ce8482610414565b5060056100db8382610414565b5060ff81166080526007805460ff1916600117905560405146907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90610123906006906104d3565b60408051918290038220828201825260018352603160f81b6020938401528151928301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018290523060a082015260c00160408051601f19818403018152919052805160209091012060a0525061054992505050565b60003633301480156101be575060348110155b1561024757600080368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050505082810160131901519091507f02bcc191e283bfba76a1369ec8ba06566f33010645097c104c312753e04935e881146102365733935050505090565b5001516001600160a01b0316919050565b3391505090565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261027557600080fd5b81516001600160401b038082111561028f5761028f61024e565b604051601f8301601f19908116603f011681019082821181831017156102b7576102b761024e565b81604052838152602092508660208588010111156102d457600080fd5b600091505b838210156102f657858201830151818301840152908201906102d9565b6000602085830101528094505050505092915050565b60008060006060848603121561032157600080fd5b83516001600160401b038082111561033857600080fd5b61034487838801610264565b9450602086015191508082111561035a57600080fd5b5061036786828701610264565b925050604084015160ff8116811461037e57600080fd5b809150509250925092565b600181811c9082168061039d57607f821691505b6020821081036103bd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561040f576000816000526020600020601f850160051c810160208610156103ec5750805b601f850160051c820191505b8181101561040b578281556001016103f8565b5050505b505050565b81516001600160401b0381111561042d5761042d61024e565b6104418161043b8454610389565b846103c3565b602080601f831160018114610476576000841561045e5750858301515b600019600386901b1c1916600185901b17855561040b565b600085815260208120601f198616915b828110156104a557888601518255948401946001909101908401610486565b50858210156104c35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008083546104e181610389565b600182811680156104f9576001811461050e5761053d565b60ff198416875282151583028701945061053d565b8760005260208060002060005b858110156105345781548a82015290840190820161051b565b50505082870194505b50929695505050505050565b60805160a051611ae4610575600039600081816102e10152610f890152600061029b0152611ae46000f3fe6080604052600436106101815760003560e01c80637a9e5e4b116100d1578063a69df4b51161008a578063bf7e214f11610064578063bf7e214f146104b1578063cf309012146104d1578063d505accf146104eb578063dd62ed3e1461050b57600080fd5b8063a69df4b51461047c578063a9059cbb14610491578063b3eac1d8146103b957600080fd5b80637a9e5e4b146103995780637ecebe00146103b95780638da5cb5b146103ef57806395d89b41146104275780639dc29fac1461043c578063a0712d681461045c57600080fd5b806330adf81f1161013e57806340c10f191161011857806340c10f191461030357806342966c68146103235780636281133d1461034357806370a082311461036357600080fd5b806330adf81f14610255578063313ce567146102895780633644e515146102cf57600080fd5b806306fdde0314610186578063095ea7b3146101b15780630c53c51c146101e157806313af4035146101f457806318160ddd1461021657806323b872dd14610235575b600080fd5b34801561019257600080fd5b5061019b610551565b6040516101a891906115b2565b60405180910390f35b3480156101bd57600080fd5b506101d16101cc3660046115da565b6105df565b60405190151581526020016101a8565b61019b6101ef3660046116bf565b610672565b34801561020057600080fd5b5061021461020f366004611733565b61085b565b005b34801561022257600080fd5b506000545b6040519081526020016101a8565b34801561024157600080fd5b506101d1610250366004611750565b6108de565b34801561026157600080fd5b506102277f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b34801561029557600080fd5b506102bd7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101a8565b3480156102db57600080fd5b506102277f000000000000000000000000000000000000000000000000000000000000000081565b34801561030f57600080fd5b5061021461031e3660046115da565b610952565b34801561032f57600080fd5b5061021461033e366004611791565b610a41565b34801561034f57600080fd5b506101d161035e3660046117aa565b610a55565b34801561036f57600080fd5b5061022761037e366004611733565b6001600160a01b031660009081526001602052604090205490565b3480156103a557600080fd5b506102146103b4366004611733565b610ba9565b3480156103c557600080fd5b506102276103d4366004611733565b6001600160a01b031660009081526008602052604090205490565b3480156103fb57600080fd5b5060045461040f906001600160a01b031681565b6040516001600160a01b0390911681526020016101a8565b34801561043357600080fd5b5061019b610c1a565b34801561044857600080fd5b506102146104573660046115da565b610c27565b34801561046857600080fd5b50610214610477366004611791565b610e1e565b34801561048857600080fd5b50610214610e56565b34801561049d57600080fd5b506101d16104ac3660046115da565b610e89565b3480156104bd57600080fd5b5060035461040f906001600160a01b031681565b3480156104dd57600080fd5b506007546101d19060ff1681565b3480156104f757600080fd5b50610214610506366004611831565b610ea4565b34801561051757600080fd5b5061022761052636600461189f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6006805461055e906118d8565b80601f016020809104026020016040519081016040528092919081815260200182805461058a906118d8565b80156105d75780601f106105ac576101008083540402835291602001916105d7565b820191906000526020600020905b8154815290600101906020018083116105ba57829003601f168201915b505050505081565b600081600260006105ee611193565b6001600160a01b0390811682526020808301939093526040918201600090812091881680825291909352912091909155610626611193565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161066091815260200190565b60405180910390a35060015b92915050565b60606106a186610697886001600160a01b031660009081526008602052604090205490565b4688888888610a55565b6107045760405162461bcd60e51b815260206004820152602960248201527f6d6574617472616e73616374696f6e2d7369676e65722d7369676e617475726560448201526805adad2e6dac2e8c6d60bb1b60648201526084015b60405180910390fd5b61070d86611236565b600080306001600160a01b0316877f02bcc191e283bfba76a1369ec8ba06566f33010645097c104c312753e04935e88a60405160200161074f93929190611912565b60408051601f19818403018152908290526107699161194b565b6000604051808303816000865af19150503d80600081146107a6576040519150601f19603f3d011682016040523d82523d6000602084013e6107ab565b606091505b50915091508161080e5760405162461bcd60e51b815260206004820152602860248201527f636f6c6f6e792d6d65746174782d66756e6374696f6e2d63616c6c2d756e737560448201526718d8d95cdcd99d5b60c21b60648201526084016106fb565b7f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b88610838611193565b8960405161084893929190611967565b60405180910390a1979650505050505050565b610878610866611193565b6000356001600160e01b031916611262565b6108945760405162461bcd60e51b81526004016106fb9061199c565b600480546001600160a01b0319166001600160a01b0383169081179091556040517fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a250565b60075460009060ff161561093f576108f7610866611193565b61093f5760405162461bcd60e51b815260206004820152601960248201527818dbdb1bdb9e4b5d1bdad95b8b5d5b985d5d1a1bdc9a5cd959603a1b60448201526064016106fb565b61094a84848461133d565b949350505050565b61095d610866611193565b6109795760405162461bcd60e51b81526004016106fb9061199c565b6001600160a01b038216600090815260016020526040812080548392906109a19084906119e0565b92505081905550806000808282546109b991906119e0565b90915550506040518181526001600160a01b038316907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a26040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b610a52610a4c611193565b82610c27565b50565b600080610ad288308989604051602001610a7294939291906119f3565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b6040805160008082526020820180845284905260ff87169282019290925260608101889052608081018790529192509060019060a0016020604051602081039080840390855afa158015610b2a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610b8d5760405162461bcd60e51b815260206004820152601f60248201527f636f6c6f6e792d6d65746174782d696e76616c69642d7369676e61747572650060448201526064016106fb565b6001600160a01b038a8116911614915050979650505050505050565b610bb4610866611193565b610bd05760405162461bcd60e51b81526004016106fb9061199c565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada490600090a250565b6005805461055e906118d8565b610c2f611193565b6001600160a01b0316826001600160a01b031614610d2f576001600160a01b03821660009081526002602052604081208291610c69611193565b6001600160a01b03166001600160a01b03168152602001908152602001600020541015610cd85760405162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c000060448201526064016106fb565b6001600160a01b03821660009081526002602052604081208291610cfa611193565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610d299190611a39565b90915550505b6001600160a01b038216600090815260016020526040902054811115610d975760405162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e636500000060448201526064016106fb565b6001600160a01b03821660009081526001602052604081208054839290610dbf908490611a39565b9250508190555080600080828254610dd79190611a39565b90915550506040518181526001600160a01b038316907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59060200160405180910390a25050565b610e29610866611193565b610e455760405162461bcd60e51b81526004016106fb9061199c565b610a52610e50611193565b82610952565b610e61610866611193565b610e7d5760405162461bcd60e51b81526004016106fb9061199c565b6007805460ff19169055565b6000610e9d610e96611193565b84846108de565b9392505050565b60075460ff1615610f0257610eba610866611193565b610f025760405162461bcd60e51b815260206004820152601960248201527818dbdb1bdb9e4b5d1bdad95b8b5d5b985d5d1a1bdc9a5cd959603a1b60448201526064016106fb565b42841015610f525760405162461bcd60e51b815260206004820152601d60248201527f636f6c6f6e792d746f6b656e2d657870697265642d646561646c696e6500000060448201526064016106fb565b6040805180820182526002815261190160f01b6020808301919091526001600160a01b038a166000908152600890915291822080547f0000000000000000000000000000000000000000000000000000000000000000917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9188610fdb83611a4c565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012060405160200161103f93929190611a65565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa1580156110aa573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906110e05750886001600160a01b0316816001600160a01b0316145b61112c5760405162461bcd60e51b815260206004820152601e60248201527f636f6c6f6e792d746f6b656e2d696e76616c69642d7369676e6174757265000060448201526064016106fb565b6001600160a01b038981166000818152600260209081526040808320948d16808452948252918290208b905590518a81527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050505050505050565b60003633301480156111a6575060348110155b1561122f57600080368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050505082810160131901519091507f02bcc191e283bfba76a1369ec8ba06566f33010645097c104c312753e04935e8811461121e5733935050505090565b5001516001600160a01b0316919050565b3391505090565b6001600160a01b038116600090815260086020526040812080549161125a83611a4c565b919050555050565b6000306001600160a01b0384160361127c5750600161066c565b6004546001600160a01b039081169084160361129a5750600161066c565b6003546001600160a01b03166112b25750600061066c565b60035460405163b700961360e01b81526001600160a01b0385811660048301523060248301526001600160e01b0319851660448301529091169063b700961390606401602060405180830381865afa158015611312573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113369190611a8c565b905061066c565b6000611347611193565b6001600160a01b0316846001600160a01b031614611447576001600160a01b03841660009081526002602052604081208391611381611193565b6001600160a01b03166001600160a01b031681526020019081526020016000205410156113f05760405162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c000060448201526064016106fb565b6001600160a01b03841660009081526002602052604081208391611412611193565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114419190611a39565b90915550505b6001600160a01b0384166000908152600160205260409020548211156114af5760405162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e636500000060448201526064016106fb565b6001600160a01b038416600090815260016020526040812080548492906114d7908490611a39565b90915550506001600160a01b038316600090815260016020526040812080548492906115049084906119e0565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161155091815260200190565b60405180910390a35060019392505050565b60005b8381101561157d578181015183820152602001611565565b50506000910152565b6000815180845261159e816020860160208601611562565b601f01601f19169290920160200192915050565b602081526000610e9d6020830184611586565b6001600160a01b0381168114610a5257600080fd5b600080604083850312156115ed57600080fd5b82356115f8816115c5565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261162d57600080fd5b813567ffffffffffffffff8082111561164857611648611606565b604051601f8301601f19908116603f0116810190828211818310171561167057611670611606565b8160405283815286602085880101111561168957600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff811681146116ba57600080fd5b919050565b600080600080600060a086880312156116d757600080fd5b85356116e2816115c5565b9450602086013567ffffffffffffffff8111156116fe57600080fd5b61170a8882890161161c565b9450506040860135925060608601359150611727608087016116a9565b90509295509295909350565b60006020828403121561174557600080fd5b8135610e9d816115c5565b60008060006060848603121561176557600080fd5b8335611770816115c5565b92506020840135611780816115c5565b929592945050506040919091013590565b6000602082840312156117a357600080fd5b5035919050565b600080600080600080600060e0888a0312156117c557600080fd5b87356117d0816115c5565b96506020880135955060408801359450606088013567ffffffffffffffff8111156117fa57600080fd5b6118068a828b0161161c565b9450506080880135925060a0880135915061182360c089016116a9565b905092959891949750929550565b600080600080600080600060e0888a03121561184c57600080fd5b8735611857816115c5565b96506020880135611867816115c5565b95506040880135945060608801359350611883608089016116a9565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156118b257600080fd5b82356118bd816115c5565b915060208301356118cd816115c5565b809150509250929050565b600181811c908216806118ec57607f821691505b60208210810361190c57634e487b7160e01b600052602260045260246000fd5b50919050565b60008451611924818460208901611562565b919091019283525060601b6bffffffffffffffffffffffff19166020820152603401919050565b6000825161195d818460208701611562565b9190910192915050565b6001600160a01b0384811682528316602082015260606040820181905260009061199390830184611586565b95945050505050565b602080825260149082015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561066c5761066c6119ca565b8481526bffffffffffffffffffffffff198460601b16602082015282603482015260008251611a29816054850160208701611562565b9190910160540195945050505050565b8181038181111561066c5761066c6119ca565b600060018201611a5e57611a5e6119ca565b5060010190565b60008451611a77818460208901611562565b91909101928352506020820152604001919050565b600060208284031215611a9e57600080fd5b81518015158114610e9d57600080fdfea26469706673582212207a2e26845af2fe425fbad6b846e23f03aed61e8b37f1083e7b67aa26da68f8a764736f6c63430008190033"`` +▪ `Static` `Readonly` **bytecode**: ``"0x60c060405234801561001057600080fd5b5060405161205938038061205983398101604081905261002f91610307565b60008060018161003d6101ab565b6001600160a01b031681526020810191909152604001600090812091909155556100656101ab565b600480546001600160a01b0319166001600160a01b039290921691909117905561008d6101ab565b6001600160a01b03167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a260066100ce8482610413565b5060056100db8382610413565b5060ff81166080526007805460ff1916600117905560405146907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90610123906006906104d1565b60408051918290038220828201825260018352603160f81b6020938401528151928301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018290523060a082015260c00160408051601f19818403018152919052805160209091012060a0525061054692505050565b60003633301480156101be575060348110155b1561024757600080368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050505082810160131901519091507f02bcc191e283bfba76a1369ec8ba06566f33010645097c104c312753e04935e881146102365733935050505090565b5001516001600160a01b0316919050565b3391505090565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261027557600080fd5b81516001600160401b0381111561028e5761028e61024e565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102bc576102bc61024e565b6040528181528382016020018510156102d457600080fd5b60005b828110156102f3576020818601810151838301820152016102d7565b506000918101602001919091529392505050565b60008060006060848603121561031c57600080fd5b83516001600160401b0381111561033257600080fd5b61033e86828701610264565b602086015190945090506001600160401b0381111561035c57600080fd5b61036886828701610264565b925050604084015160ff8116811461037f57600080fd5b809150509250925092565b600181811c9082168061039e57607f821691505b6020821081036103be57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561040e57806000526020600020601f840160051c810160208510156103eb5750805b601f840160051c820191505b8181101561040b57600081556001016103f7565b50505b505050565b81516001600160401b0381111561042c5761042c61024e565b6104408161043a845461038a565b846103c4565b6020601f821160018114610474576000831561045c5750848201515b600019600385901b1c1916600184901b17845561040b565b600084815260208120601f198516915b828110156104a45787850151825560209485019460019092019101610484565b50848210156104c25786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b60008083546104df8161038a565b6001821680156104f6576001811461050b5761053b565b60ff198316865281151582028601935061053b565b86600052602060002060005b8381101561053357815488820152600190910190602001610517565b505081860193505b509195945050505050565b60805160a051611ae7610572600039600081816102e10152610f890152600061029b0152611ae76000f3fe6080604052600436106101815760003560e01c80637a9e5e4b116100d1578063a69df4b51161008a578063bf7e214f11610064578063bf7e214f146104b1578063cf309012146104d1578063d505accf146104eb578063dd62ed3e1461050b57600080fd5b8063a69df4b51461047c578063a9059cbb14610491578063b3eac1d8146103b957600080fd5b80637a9e5e4b146103995780637ecebe00146103b95780638da5cb5b146103ef57806395d89b41146104275780639dc29fac1461043c578063a0712d681461045c57600080fd5b806330adf81f1161013e57806340c10f191161011857806340c10f191461030357806342966c68146103235780636281133d1461034357806370a082311461036357600080fd5b806330adf81f14610255578063313ce567146102895780633644e515146102cf57600080fd5b806306fdde0314610186578063095ea7b3146101b15780630c53c51c146101e157806313af4035146101f457806318160ddd1461021657806323b872dd14610235575b600080fd5b34801561019257600080fd5b5061019b610551565b6040516101a891906115b2565b60405180910390f35b3480156101bd57600080fd5b506101d16101cc3660046115da565b6105df565b60405190151581526020016101a8565b61019b6101ef3660046116c1565b610672565b34801561020057600080fd5b5061021461020f366004611735565b61085b565b005b34801561022257600080fd5b506000545b6040519081526020016101a8565b34801561024157600080fd5b506101d1610250366004611752565b6108de565b34801561026157600080fd5b506102277f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b34801561029557600080fd5b506102bd7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101a8565b3480156102db57600080fd5b506102277f000000000000000000000000000000000000000000000000000000000000000081565b34801561030f57600080fd5b5061021461031e3660046115da565b610952565b34801561032f57600080fd5b5061021461033e366004611793565b610a41565b34801561034f57600080fd5b506101d161035e3660046117ac565b610a55565b34801561036f57600080fd5b5061022761037e366004611735565b6001600160a01b031660009081526001602052604090205490565b3480156103a557600080fd5b506102146103b4366004611735565b610ba9565b3480156103c557600080fd5b506102276103d4366004611735565b6001600160a01b031660009081526008602052604090205490565b3480156103fb57600080fd5b5060045461040f906001600160a01b031681565b6040516001600160a01b0390911681526020016101a8565b34801561043357600080fd5b5061019b610c1a565b34801561044857600080fd5b506102146104573660046115da565b610c27565b34801561046857600080fd5b50610214610477366004611793565b610e1e565b34801561048857600080fd5b50610214610e56565b34801561049d57600080fd5b506101d16104ac3660046115da565b610e89565b3480156104bd57600080fd5b5060035461040f906001600160a01b031681565b3480156104dd57600080fd5b506007546101d19060ff1681565b3480156104f757600080fd5b50610214610506366004611833565b610ea4565b34801561051757600080fd5b506102276105263660046118a2565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6006805461055e906118db565b80601f016020809104026020016040519081016040528092919081815260200182805461058a906118db565b80156105d75780601f106105ac576101008083540402835291602001916105d7565b820191906000526020600020905b8154815290600101906020018083116105ba57829003601f168201915b505050505081565b600081600260006105ee611193565b6001600160a01b0390811682526020808301939093526040918201600090812091881680825291909352912091909155610626611193565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161066091815260200190565b60405180910390a35060015b92915050565b60606106a186610697886001600160a01b031660009081526008602052604090205490565b4688888888610a55565b6107045760405162461bcd60e51b815260206004820152602960248201527f6d6574617472616e73616374696f6e2d7369676e65722d7369676e617475726560448201526805adad2e6dac2e8c6d60bb1b60648201526084015b60405180910390fd5b61070d86611236565b600080306001600160a01b0316877f02bcc191e283bfba76a1369ec8ba06566f33010645097c104c312753e04935e88a60405160200161074f93929190611915565b60408051601f19818403018152908290526107699161194e565b6000604051808303816000865af19150503d80600081146107a6576040519150601f19603f3d011682016040523d82523d6000602084013e6107ab565b606091505b50915091508161080e5760405162461bcd60e51b815260206004820152602860248201527f636f6c6f6e792d6d65746174782d66756e6374696f6e2d63616c6c2d756e737560448201526718d8d95cdcd99d5b60c21b60648201526084016106fb565b7f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b88610838611193565b896040516108489392919061196a565b60405180910390a1979650505050505050565b610878610866611193565b6000356001600160e01b031916611262565b6108945760405162461bcd60e51b81526004016106fb9061199f565b600480546001600160a01b0319166001600160a01b0383169081179091556040517fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a250565b60075460009060ff161561093f576108f7610866611193565b61093f5760405162461bcd60e51b815260206004820152601960248201527818dbdb1bdb9e4b5d1bdad95b8b5d5b985d5d1a1bdc9a5cd959603a1b60448201526064016106fb565b61094a84848461133d565b949350505050565b61095d610866611193565b6109795760405162461bcd60e51b81526004016106fb9061199f565b6001600160a01b038216600090815260016020526040812080548392906109a19084906119e3565b92505081905550806000808282546109b991906119e3565b90915550506040518181526001600160a01b038316907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a26040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b610a52610a4c611193565b82610c27565b50565b600080610ad288308989604051602001610a7294939291906119f6565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b6040805160008082526020820180845284905260ff87169282019290925260608101889052608081018790529192509060019060a0016020604051602081039080840390855afa158015610b2a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610b8d5760405162461bcd60e51b815260206004820152601f60248201527f636f6c6f6e792d6d65746174782d696e76616c69642d7369676e61747572650060448201526064016106fb565b6001600160a01b038a8116911614915050979650505050505050565b610bb4610866611193565b610bd05760405162461bcd60e51b81526004016106fb9061199f565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada490600090a250565b6005805461055e906118db565b610c2f611193565b6001600160a01b0316826001600160a01b031614610d2f576001600160a01b03821660009081526002602052604081208291610c69611193565b6001600160a01b03166001600160a01b03168152602001908152602001600020541015610cd85760405162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c000060448201526064016106fb565b6001600160a01b03821660009081526002602052604081208291610cfa611193565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610d299190611a3c565b90915550505b6001600160a01b038216600090815260016020526040902054811115610d975760405162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e636500000060448201526064016106fb565b6001600160a01b03821660009081526001602052604081208054839290610dbf908490611a3c565b9250508190555080600080828254610dd79190611a3c565b90915550506040518181526001600160a01b038316907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59060200160405180910390a25050565b610e29610866611193565b610e455760405162461bcd60e51b81526004016106fb9061199f565b610a52610e50611193565b82610952565b610e61610866611193565b610e7d5760405162461bcd60e51b81526004016106fb9061199f565b6007805460ff19169055565b6000610e9d610e96611193565b84846108de565b9392505050565b60075460ff1615610f0257610eba610866611193565b610f025760405162461bcd60e51b815260206004820152601960248201527818dbdb1bdb9e4b5d1bdad95b8b5d5b985d5d1a1bdc9a5cd959603a1b60448201526064016106fb565b42841015610f525760405162461bcd60e51b815260206004820152601d60248201527f636f6c6f6e792d746f6b656e2d657870697265642d646561646c696e6500000060448201526064016106fb565b6040805180820182526002815261190160f01b6020808301919091526001600160a01b038a166000908152600890915291822080547f0000000000000000000000000000000000000000000000000000000000000000917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9188610fdb83611a4f565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012060405160200161103f93929190611a68565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa1580156110aa573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906110e05750886001600160a01b0316816001600160a01b0316145b61112c5760405162461bcd60e51b815260206004820152601e60248201527f636f6c6f6e792d746f6b656e2d696e76616c69642d7369676e6174757265000060448201526064016106fb565b6001600160a01b038981166000818152600260209081526040808320948d16808452948252918290208b905590518a81527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050505050505050565b60003633301480156111a6575060348110155b1561122f57600080368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050505082810160131901519091507f02bcc191e283bfba76a1369ec8ba06566f33010645097c104c312753e04935e8811461121e5733935050505090565b5001516001600160a01b0316919050565b3391505090565b6001600160a01b038116600090815260086020526040812080549161125a83611a4f565b919050555050565b6000306001600160a01b0384160361127c5750600161066c565b6004546001600160a01b039081169084160361129a5750600161066c565b6003546001600160a01b03166112b25750600061066c565b60035460405163b700961360e01b81526001600160a01b0385811660048301523060248301526001600160e01b0319851660448301529091169063b700961390606401602060405180830381865afa158015611312573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113369190611a8f565b905061066c565b6000611347611193565b6001600160a01b0316846001600160a01b031614611447576001600160a01b03841660009081526002602052604081208391611381611193565b6001600160a01b03166001600160a01b031681526020019081526020016000205410156113f05760405162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c000060448201526064016106fb565b6001600160a01b03841660009081526002602052604081208391611412611193565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114419190611a3c565b90915550505b6001600160a01b0384166000908152600160205260409020548211156114af5760405162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e636500000060448201526064016106fb565b6001600160a01b038416600090815260016020526040812080548492906114d7908490611a3c565b90915550506001600160a01b038316600090815260016020526040812080548492906115049084906119e3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161155091815260200190565b60405180910390a35060019392505050565b60005b8381101561157d578181015183820152602001611565565b50506000910152565b6000815180845261159e816020860160208601611562565b601f01601f19169290920160200192915050565b602081526000610e9d6020830184611586565b6001600160a01b0381168114610a5257600080fd5b600080604083850312156115ed57600080fd5b82356115f8816115c5565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261162d57600080fd5b813567ffffffffffffffff81111561164757611647611606565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561167657611676611606565b60405281815283820160200185101561168e57600080fd5b816020850160208301376000918101602001919091529392505050565b803560ff811681146116bc57600080fd5b919050565b600080600080600060a086880312156116d957600080fd5b85356116e4816115c5565b9450602086013567ffffffffffffffff81111561170057600080fd5b61170c8882890161161c565b9450506040860135925060608601359150611729608087016116ab565b90509295509295909350565b60006020828403121561174757600080fd5b8135610e9d816115c5565b60008060006060848603121561176757600080fd5b8335611772816115c5565b92506020840135611782816115c5565b929592945050506040919091013590565b6000602082840312156117a557600080fd5b5035919050565b600080600080600080600060e0888a0312156117c757600080fd5b87356117d2816115c5565b96506020880135955060408801359450606088013567ffffffffffffffff8111156117fc57600080fd5b6118088a828b0161161c565b9450506080880135925060a0880135915061182560c089016116ab565b905092959891949750929550565b600080600080600080600060e0888a03121561184e57600080fd5b8735611859816115c5565b96506020880135611869816115c5565b95506040880135945060608801359350611885608089016116ab565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156118b557600080fd5b82356118c0816115c5565b915060208301356118d0816115c5565b809150509250929050565b600181811c908216806118ef57607f821691505b60208210810361190f57634e487b7160e01b600052602260045260246000fd5b50919050565b60008451611927818460208901611562565b919091019283525060601b6bffffffffffffffffffffffff19166020820152603401919050565b60008251611960818460208701611562565b9190910192915050565b6001600160a01b0384811682528316602082015260606040820181905260009061199690830184611586565b95945050505050565b602080825260149082015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561066c5761066c6119cd565b8481526bffffffffffffffffffffffff198460601b16602082015282603482015260008251611a2c816054850160208701611562565b9190910160540195945050505050565b8181038181111561066c5761066c6119cd565b600060018201611a6157611a616119cd565b5060010190565b60008451611a7a818460208901611562565b91909101928352506020820152604001919050565b600060208284031215611aa157600080fd5b81518015158114610e9d57600080fdfea264697066735822122021149fb1eb3a6fee54e30e02c3ea4bf39cdbab7d0ed050eae5e133de8304ae3864736f6c634300081b0033"`` ## Methods From 9512dd51e3be12f50ff017597e10f284816f5ea2 Mon Sep 17 00:00:00 2001 From: Chris Maniewski Date: Wed, 16 Oct 2024 22:23:52 +0200 Subject: [PATCH 3/3] chore: add changeset --- .changeset/blue-insects-rescue.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/blue-insects-rescue.md diff --git a/.changeset/blue-insects-rescue.md b/.changeset/blue-insects-rescue.md new file mode 100644 index 000000000..2fffc3153 --- /dev/null +++ b/.changeset/blue-insects-rescue.md @@ -0,0 +1,8 @@ +--- +"@colony/contractor": minor +"@colony/colony-js": minor +"@colony/core": minor +"@colony/sdk": minor +--- + +Add support for the `imwss3` colonyNetwork release.