@daostack/client › Globals › Reputation
- Reputation
+ new Reputation(id
: Address, context
: Arc): Reputation
Defined in reputation.ts:67
Parameters:
Name | Type |
---|---|
id |
Address |
context |
Arc |
Returns: Reputation
• address: Address
Defined in reputation.ts:67
• context: Arc
Defined in reputation.ts:68
• id: Address
Defined in reputation.ts:68
▸ contract(): any
Defined in reputation.ts:120
Returns: any
▸ mint(beneficiary
: Address, amount
: BN): IOperationObservable‹ITransactionUpdate‹any››
Defined in reputation.ts:125
Parameters:
Name | Type |
---|---|
beneficiary |
Address |
amount |
BN |
Returns: IOperationObservable‹ITransactionUpdate‹any››
▸ reputationOf(address
: Address): Observable‹BN›
Defined in reputation.ts:96
Parameters:
Name | Type |
---|---|
address |
Address |
Returns: Observable‹BN›
▸ state(apolloQueryOptions
: IApolloQueryOptions): Observable‹IReputationState›
Defined in reputation.ts:72
Parameters:
Name | Type | Default |
---|---|---|
apolloQueryOptions |
IApolloQueryOptions | {} |
Returns: Observable‹IReputationState›
▸ search(context
: Arc, options
: IReputationQueryOptions, apolloQueryOptions
: IApolloQueryOptions): Observable‹Reputation[]›
Defined in reputation.ts:31
Reputation.search(context, options) searches for reputation entities
Parameters:
Name | Type | Default | Description |
---|---|---|---|
context |
Arc | - | an Arc instance that provides connection information |
options |
IReputationQueryOptions | {} | the query options, cf. IReputationQueryOptions |
apolloQueryOptions |
IApolloQueryOptions | {} | - |
Returns: Observable‹Reputation[]›
an observable of Reputation objects