Hierarchy (view full)

Constructors

Properties

_contract: WrappedContract

The wrapped contract that the entity is holding.

Remarks

This should not be used directly. Instead, the getter contract should be used to have the correct type of the wrapped contract.

address: Address

the inner contract address

multicall?: Multicall

The Multicall instance used by this entity.

networkConnection: NetworkConnection

The networkConnection of this entity.

MAX_LOCK_TIME_s: number = ...
MIN_LOCK_TIME_s: number = VePendle.ONE_WEEK_s
ONE_DAY_s: number = ...
ONE_WEEK_s: number = ...

Accessors

Methods

  • Get the balance of an user, given the account

    Parameters

    Returns Promise<BN>

    the balance of the user

  • Get the user lock position.

    Parameters

    Returns Promise<[BN, BN] & {
        amount: BN;
        expiry: BN;
    }>

Generated using TypeDoc