Type alias Erc20OwnershipConditionDetails

Erc20OwnershipConditionDetails: {
    condition: ConditionComparisonOperator;
    contract: NetworkAddressDetails;
    decimals: number;
    value: string;
}

Type declaration

  • condition: ConditionComparisonOperator

    The comparison operator to use to compare the ERC-20 token balance.

  • contract: NetworkAddressDetails

    The ERC-20 token contract address details.

  • decimals: number

    The ERC-20 token decimals (e.g. 18 for GHO)

  • value: string

    The human readable amount to compare the ERC-20 token balance against using the comparison operator.

    Example

    1.5
    42
    0.000002