Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Fix erc20 claim conditions (#1129)
Browse files Browse the repository at this point in the history
* Fix typos

* Fix syntax error
  • Loading branch information
kien-ngo authored Dec 28, 2023
1 parent 14f912d commit 7494b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Returns an array of `ClaimCondition` objects.
Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any.
```javascript
const reasons = await contract.erc20.getClaimIneligibilityReasons(
const reasons = await contract.erc20.claimConditions.getClaimIneligibilityReasons(
"{{quantity}}", // Quantity of tokens to claim
"{{wallet_address}}", // Wallet address to check
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ An object containing role names as keys and an array of wallet addresses as the
Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any.
```javascript
const reasons = await contract.erc20.getClaimIneligibilityReasons(
const reasons = await contract.erc20.claimConditions.getClaimIneligibilityReasons(
"{{quantity}}", // Quantity of tokens to claim
"{{wallet_address}}", // Wallet address to check
);
Expand Down

1 comment on commit 7494b36

@vercel
Copy link

@vercel vercel bot commented on 7494b36 Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.