Skip to content

Latest commit

 

History

History
101 lines (56 loc) · 2.63 KB

reputationfromtokenscheme.md

File metadata and controls

101 lines (56 loc) · 2.63 KB

@daostack/clientGlobalsReputationFromTokenScheme

Class: ReputationFromTokenScheme

Hierarchy

  • ReputationFromTokenScheme

Index

Constructors

Properties

Methods

Constructors

constructor

+ new ReputationFromTokenScheme(scheme: Scheme): ReputationFromTokenScheme

Defined in schemes/reputationFromToken.ts:13

Parameters:

Name Type
scheme Scheme

Returns: ReputationFromTokenScheme

Properties

scheme

scheme: Scheme

Defined in schemes/reputationFromToken.ts:15

Methods

getAgreementHash

getAgreementHash(): Promise‹string›

Defined in schemes/reputationFromToken.ts:19

Returns: Promise‹string›


getContract

getContract(): Promise‹any›

Defined in schemes/reputationFromToken.ts:73

Returns: Promise‹any›


redeem

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

redemptionAmount(beneficiary: Address): Promise‹number›

Defined in schemes/reputationFromToken.ts:67

Parameters:

Name Type
beneficiary Address

Returns: Promise‹number›