Constructors

  • Parameters

    • hostAddress: string
    • governanceAddress: string

    Returns Governance

Properties

getGovernanceParameters: ((__namedParameters) => Promise<IWeb3GovernanceParams>)

Returns the relevant governance parameters

Type declaration

Param: providerOrSigner

a provider or signer for executing a web3 call

Param: token

specified governance parameter token

Returns

liquidationPeriod, patricianPeriod, rewardAddress and minimumDeposit

getMinimumDeposit: ((__namedParameters) => Promise<string>)

Returns the minimum deposit for the specified token (or default)

Type declaration

    • (__namedParameters): Promise<string>
    • Returns the minimum deposit for the specified token (or default)

      Parameters

      Returns Promise<string>

      minimum deposit

Param: providerOrSigner

a provider or signer for executing a web3 call

Param: token

specified governance parameter token

Returns

minimum deposit

getPPPConfig: ((__namedParameters) => Promise<{
    liquidationPeriod: string;
    patricianPeriod: string;
}>)

Returns the 3Ps config for the specified token (or default) - the liquidation period and patrician period

Type declaration

See

https://docs.superfluid.finance/superfluid/sentinels/liquidations-and-toga

Param: providerOrSigner

a provider or signer for executing a web3 call

Param: token

specified governance parameter token

Returns

liquidationPeriod and patricianPeriod as strings

getRewardAddress: ((__namedParameters) => Promise<string>)

Returns the reward address for the specified token (or default)

Type declaration

    • (__namedParameters): Promise<string>
    • Returns the reward address for the specified token (or default)

      Parameters

      Returns Promise<string>

      the reward address

Param: providerOrSigner

a provider or signer for executing a web3 call

Param: token

specified governance parameter token

Returns

the reward address

hostAddress: string

Generated using TypeDoc