Type Alias: TimeConfigTokenHolding

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / TimeConfigTokenHolding

Type Alias: TimeConfigTokenHolding

type TimeConfigTokenHolding: {
  duration: number;
  requirement: TokenHoldingTimeConfigSchema;
  type: TOKEN_HOLDING;
};

The token holding time config type

Type declaration

NameTypeDefault valueDescription

duration

number

-

The duration of the requirement in seconds

requirement

{ amount: number; token: string; tokenStandard: string; }

TokenHoldingTimeConfigSchema

-

requirement.amount

number

-

The minimum amount to hold

requirement.token

string

-

The token to hold

requirement.tokenStandard?

string

-

The token standard of the token

type

TOKEN_HOLDING

-

-

Defined in

types/timeConfig/config.ts:40

Last updated