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

Fix erc20 claim conditions #1129

Merged
merged 4 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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