@daostack/client › Globals › ReputationFromTokenScheme
- ReputationFromTokenScheme
+ new ReputationFromTokenScheme(scheme
: Scheme): ReputationFromTokenScheme
Defined in schemes/reputationFromToken.ts:13
Parameters:
Name | Type |
---|---|
scheme |
Scheme |
Returns: ReputationFromTokenScheme
• scheme: Scheme
Defined in schemes/reputationFromToken.ts:15
▸ getAgreementHash(): Promise‹string›
Defined in schemes/reputationFromToken.ts:19
Returns: Promise‹string›
▸ getContract(): Promise‹any›
Defined in schemes/reputationFromToken.ts:73
Returns: Promise‹any›
▸ redeem(beneficiary
: Address, agreementHash?
: undefined | string): Operation‹any›
Defined in schemes/reputationFromToken.ts:25
Parameters:
Name | Type |
---|---|
beneficiary |
Address |
agreementHash? |
undefined | string |
Returns: Operation‹any›
▸ redemptionAmount(beneficiary
: Address): Promise‹number›
Defined in schemes/reputationFromToken.ts:67
Parameters:
Name | Type |
---|---|
beneficiary |
Address |
Returns: Promise‹number›