Interface: EvaluatedExpenditureClientV3
Hierarchy
AugmentedEvaluatedExpenditure
<EvaluatedExpenditure
>↳
EvaluatedExpenditureClientV3
Properties
_deployedPromise
• _deployedPromise: Promise
<Contract
>
Inherited from
AugmentedEvaluatedExpenditure._deployedPromise
_runningEvents
• _runningEvents: Object
Index signature
▪ [eventTag: string
]: RunningEvent
Inherited from
AugmentedEvaluatedExpenditure._runningEvents
_wrappedEmits
• _wrappedEmits: Object
Index signature
▪ [eventTag: string
]: (...args
: any
[]) => void
Inherited from
AugmentedEvaluatedExpenditure._wrappedEmits
address
• Readonly
address: string
Inherited from
AugmentedEvaluatedExpenditure.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 > |
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 > |
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 > |
setExpenditurePayoutModifiers | (_permissionDomainId : BigNumberish , _childSkillIndex : BigNumberish , _id : BigNumberish , _slots : BigNumberish [], _payoutModifiers : BigNumberish [], overrides? : CallOverrides ) => Promise <void > |
setExpenditurePayoutModifiers(uint256,uint256,uint256,uint256[],int256[]) | (_permissionDomainId : BigNumberish , _childSkillIndex : BigNumberish , _id : BigNumberish , _slots : BigNumberish [], _payoutModifiers : BigNumberish [], 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 | (_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 > |
Inherited from
AugmentedEvaluatedExpenditure.callStatic
clientType
• clientType: EvaluatedExpenditureClient
Inherited from
AugmentedEvaluatedExpenditure.clientType
clientVersion
• clientVersion: 3
Overrides
AugmentedEvaluatedExpenditure.clientVersion
colonyClient
• colonyClient: AugmentedIColony
<ValidColony
>
An instance of the corresponding ColonyClient
Inherited from
AugmentedEvaluatedExpenditure.colonyClient
deployTransaction
• Readonly
deployTransaction: TransactionResponse
Inherited from
AugmentedEvaluatedExpenditure.deployTransaction
estimateGas
• estimateGas: Object
Inherited from
AugmentedEvaluatedExpenditure.estimateGas
evaluatedExpenditureEvents
• evaluatedExpenditureEvents: EvaluatedExpenditureEvents
The evaluatedExpenditureEvents contract supports all events across all versions. Isn't that amazing? It's an ethers contract with only events to filter
Inherited from
AugmentedEvaluatedExpenditure.evaluatedExpenditureEvents
filters
• filters: Object
Type declaration
Name | Type |
---|---|
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 |
Inherited from
AugmentedEvaluatedExpenditure.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 ]> |
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 ] & { nonce : BigNumber }> |
getMetatransactionNonce(address) | (_userAddress : 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 ]> |
setAuthority | (authority_ : string , overrides? : Overrides & { from? : string }) => Promise <ContractTransaction > |
setAuthority(address) | (authority_ : string , overrides? : Overrides & { from? : string }) => Promise <ContractTransaction > |
setExpenditurePayoutModifiers | (_permissionDomainId : BigNumberish , _childSkillIndex : BigNumberish , _id : BigNumberish , _slots : BigNumberish [], _payoutModifiers : BigNumberish [], overrides? : Overrides & { from? : string }) => Promise <ContractTransaction > |
setExpenditurePayoutModifiers(uint256,uint256,uint256,uint256[],int256[]) | (_permissionDomainId : BigNumberish , _childSkillIndex : BigNumberish , _id : BigNumberish , _slots : BigNumberish [], _payoutModifiers : 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 > |
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 : BigNumber }> |
version() | (overrides? : CallOverrides ) => Promise <[BigNumber ] & { _version : BigNumber }> |
Inherited from
AugmentedEvaluatedExpenditure.functions
interface
• interface: EvaluatedExpenditureInterface
Inherited from
AugmentedEvaluatedExpenditure.interface
off
• off: OnEvent
<EvaluatedExpenditureClientV3
>
Inherited from
AugmentedEvaluatedExpenditure.off
on
• on: OnEvent
<EvaluatedExpenditureClientV3
>
Inherited from
AugmentedEvaluatedExpenditure.on
once
• once: OnEvent
<EvaluatedExpenditureClientV3
>
Inherited from
AugmentedEvaluatedExpenditure.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 > |
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 > |
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 > |
setExpenditurePayoutModifiers | (_permissionDomainId : BigNumberish , _childSkillIndex : BigNumberish , _id : BigNumberish , _slots : BigNumberish [], _payoutModifiers : BigNumberish [], overrides? : Overrides & { from? : string }) => Promise <PopulatedTransaction > |
setExpenditurePayoutModifiers(uint256,uint256,uint256,uint256[],int256[]) | (_permissionDomainId : BigNumberish , _childSkillIndex : BigNumberish , _id : BigNumberish , _slots : BigNumberish [], _payoutModifiers : 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 > |
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 > |
version | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
version() | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
Inherited from
AugmentedEvaluatedExpenditure.populateTransaction
provider
• Readonly
provider: Provider
Inherited from
AugmentedEvaluatedExpenditure.provider
removeListener
• removeListener: OnEvent
<EvaluatedExpenditureClientV3
>
Inherited from
AugmentedEvaluatedExpenditure.removeListener
resolvedAddress
• Readonly
resolvedAddress: Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.resolvedAddress
signer
• Readonly
signer: Signer
Inherited from
AugmentedEvaluatedExpenditure.signer
Methods
_checkRunningEvents
▸ _checkRunningEvents(runningEvent
): void
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
Returns
void
Inherited from
AugmentedEvaluatedExpenditure._checkRunningEvents
_deployed
▸ _deployed(blockTag?
): Promise
<Contract
>
Parameters
Name | Type |
---|---|
blockTag? | BlockTag |
Returns
Promise
<Contract
>
Inherited from
AugmentedEvaluatedExpenditure._deployed
_wrapEvent
▸ _wrapEvent(runningEvent
, log
, listener
): Event
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
log | Log |
listener | Listener |
Returns
Event
Inherited from
AugmentedEvaluatedExpenditure._wrapEvent
attach
▸ attach(addressOrName
): EvaluatedExpenditureClientV3
Parameters
Name | Type |
---|---|
addressOrName | string |
Returns
Inherited from
AugmentedEvaluatedExpenditure.attach
authority
▸ authority(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.authority
authority()
▸ authority()(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.authority()
connect
▸ connect(signerOrProvider
): EvaluatedExpenditureClientV3
Parameters
Name | Type |
---|---|
signerOrProvider | string | Signer | Provider |
Returns
Inherited from
AugmentedEvaluatedExpenditure.connect
deployed
▸ deployed(): Promise
<EvaluatedExpenditureClientV3
>
Returns
Promise
<EvaluatedExpenditureClientV3
>
Inherited from
AugmentedEvaluatedExpenditure.deployed
deprecate
▸ 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 } | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.deprecate
deprecate(bool)
▸ 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 } | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.deprecate(bool)
emit
▸ emit(eventName
, ...args
): boolean
Parameters
Name | Type |
---|---|
eventName | string | EventFilter |
...args | any [] |
Returns
boolean
Inherited from
AugmentedEvaluatedExpenditure.emit
executeMetaTransaction
▸ 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 } | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.executeMetaTransaction
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)
▸ 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 } | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)
fallback
▸ fallback(overrides?
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
overrides? | TransactionRequest |
Returns
Promise
<TransactionResponse
>
Inherited from
AugmentedEvaluatedExpenditure.fallback
finishUpgrade
▸ finishUpgrade(overrides?
): Promise
<ContractTransaction
>
Called when upgrading the extension
Parameters
Name | Type |
---|---|
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.finishUpgrade
finishUpgrade()
▸ finishUpgrade()(overrides?
): Promise
<ContractTransaction
>
Called when upgrading the extension
Parameters
Name | Type |
---|---|
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.finishUpgrade()
getCapabilityRoles
▸ getCapabilityRoles(_sig
, overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
_sig | BytesLike |
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.getCapabilityRoles
getCapabilityRoles(bytes4)
▸ getCapabilityRoles(bytes4)(_sig
, overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
_sig | BytesLike |
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.getCapabilityRoles(bytes4)
getChainId
▸ getChainId(overrides?
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Inherited from
AugmentedEvaluatedExpenditure.getChainId
getChainId()
▸ getChainId()(overrides?
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Inherited from
AugmentedEvaluatedExpenditure.getChainId()
getColony
▸ getColony(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.getColony
getColony()
▸ getColony()(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.getColony()
getDeprecated
▸ getDeprecated(overrides?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<boolean
>
Inherited from
AugmentedEvaluatedExpenditure.getDeprecated
getDeprecated()
▸ getDeprecated()(overrides?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<boolean
>
Inherited from
AugmentedEvaluatedExpenditure.getDeprecated()
getMetatransactionNonce
▸ getMetatransactionNonce(_userAddress
, overrides?
): Promise
<BigNumber
>
Gets the next nonce for a meta-transaction
Parameters
Name | Type | Description |
---|---|---|
_userAddress | string | The user's address |
overrides? | CallOverrides | - |
Returns
Promise
<BigNumber
>
Inherited from
AugmentedEvaluatedExpenditure.getMetatransactionNonce
getMetatransactionNonce(address)
▸ getMetatransactionNonce(address)(_userAddress
, overrides?
): Promise
<BigNumber
>
Gets the next nonce for a meta-transaction
Parameters
Name | Type | Description |
---|---|---|
_userAddress | string | The user's address |
overrides? | CallOverrides | - |
Returns
Promise
<BigNumber
>
Inherited from
AugmentedEvaluatedExpenditure.getMetatransactionNonce(address)
identifier
▸ identifier(overrides?
): Promise
<string
>
Returns the identifier of the extension
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.identifier
identifier()
▸ identifier()(overrides?
): Promise
<string
>
Returns the identifier of the extension
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.identifier()
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 } | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.install
install(address)
▸ 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 } | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.install(address)
listenerCount
▸ listenerCount(eventName?
): number
Parameters
Name | Type |
---|---|
eventName? | string | EventFilter |
Returns
number
Inherited from
AugmentedEvaluatedExpenditure.listenerCount
listeners
▸ listeners<TEvent
>(eventFilter?
): TypedListener
<TEvent
>[]
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter? | TypedEventFilter <TEvent > |
Returns
TypedListener
<TEvent
>[]
Inherited from
AugmentedEvaluatedExpenditure.listeners
▸ listeners(eventName?
): Listener
[]
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Listener
[]
Inherited from
AugmentedEvaluatedExpenditure.listeners
multicall
▸ multicall(data
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
data | BytesLike [] |
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.multicall
multicall(bytes[])
▸ multicall(bytes[])(data
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
data | BytesLike [] |
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.multicall(bytes[])
owner
▸ owner(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.owner
owner()
▸ owner()(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Inherited from
AugmentedEvaluatedExpenditure.owner()
queryFilter
▸ queryFilter<TEvent
>(event
, fromBlockOrBlockhash?
, toBlock?
): Promise
<TEvent
[]>
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
event | TypedEventFilter <TEvent > |
fromBlockOrBlockhash? | string | number |
toBlock? | string | number |
Returns
Promise
<TEvent
[]>
Inherited from
AugmentedEvaluatedExpenditure.queryFilter
removeAllListeners
▸ removeAllListeners<TEvent
>(eventFilter
): EvaluatedExpenditureClientV3
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter | TypedEventFilter <TEvent > |
Returns
Inherited from
AugmentedEvaluatedExpenditure.removeAllListeners
▸ removeAllListeners(eventName?
): EvaluatedExpenditureClientV3
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Inherited from
AugmentedEvaluatedExpenditure.removeAllListeners
setAuthority
▸ setAuthority(authority_
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
authority_ | string |
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.setAuthority
setAuthority(address)
▸ setAuthority(address)(authority_
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
authority_ | string |
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.setAuthority(address)
setExpenditurePayoutModifiers
▸ setExpenditurePayoutModifiers(_permissionDomainId
, _childSkillIndex
, _id
, _slots
, _payoutModifiers
, overrides?
): Promise
<ContractTransaction
>
Sets the payout modifiers in given expenditure slots, using the arbitration permission
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 |
_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
AugmentedEvaluatedExpenditure.setExpenditurePayoutModifiers
setExpenditurePayoutModifiers(uint256,uint256,uint256,uint256[],int256[])
▸ setExpenditurePayoutModifiers(uint256,uint256,uint256,uint256[],int256[])(_permissionDomainId
, _childSkillIndex
, _id
, _slots
, _payoutModifiers
, overrides?
): Promise
<ContractTransaction
>
Sets the payout modifiers in given expenditure slots, using the arbitration permission
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 |
_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
AugmentedEvaluatedExpenditure.setExpenditurePayoutModifiers(uint256,uint256,uint256,uint256[],int256[])
setExpenditurePayoutModifiersWithProofs
▸ setExpenditurePayoutModifiersWithProofs(_id
, _slots
, _payoutModifiers
, overrides?
): Promise
<ContractTransaction
>
Same as setExpenditurePayoutModifiers, 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 |
_slots | BigNumberish [] | Array of slots to set payout modifiers |
_payoutModifiers | BigNumberish [] | Values (between +/- WAD) to modify the payout & reputation bonus |
overrides? | TxOverrides | - |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.setExpenditurePayoutModifiersWithProofs
setOwner
▸ setOwner(owner_
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
owner_ | string |
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.setOwner
setOwner(address)
▸ setOwner(address)(owner_
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
owner_ | string |
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.setOwner(address)
uninstall
▸ uninstall(overrides?
): Promise
<ContractTransaction
>
Called when uninstalling the extension
Parameters
Name | Type |
---|---|
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.uninstall
uninstall()
▸ uninstall()(overrides?
): Promise
<ContractTransaction
>
Called when uninstalling the extension
Parameters
Name | Type |
---|---|
overrides? | Overrides & { from? : string } |
Returns
Promise
<ContractTransaction
>
Inherited from
AugmentedEvaluatedExpenditure.uninstall()
verify
▸ verify(_owner
, _nonce
, _chainId
, _payload
, _sigR
, _sigS
, _sigV
, overrides?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
_owner | string |
_nonce | BigNumberish |
_chainId | BigNumberish |
_payload | BytesLike |
_sigR | BytesLike |
_sigS | BytesLike |
_sigV | BigNumberish |
overrides? | CallOverrides |
Returns
Promise
<boolean
>
Inherited from
AugmentedEvaluatedExpenditure.verify
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
>
Parameters
Name | Type |
---|---|
_owner | string |
_nonce | BigNumberish |
_chainId | BigNumberish |
_payload | BytesLike |
_sigR | BytesLike |
_sigS | BytesLike |
_sigV | BigNumberish |
overrides? | CallOverrides |
Returns
Promise
<boolean
>
Inherited from
AugmentedEvaluatedExpenditure.verify(address,uint256,uint256,bytes,bytes32,bytes32,uint8)
version
▸ version(overrides?
): Promise
<BigNumber
>
Returns the version of the extension
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Inherited from
AugmentedEvaluatedExpenditure.version
version()
▸ version()(overrides?
): Promise
<BigNumber
>
Returns the version of the extension
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Inherited from
AugmentedEvaluatedExpenditure.version()