AirdropERC1155Claimable

Methods

airdropTokenAddress

function airdropTokenAddress() external view returns (address)

address of token being airdropped.

Returns

Name
Type
Description

_0

address

undefined

availableAmount

function availableAmount(uint256) external view returns (uint256)

number tokens available to claim for a tokenId.

Parameters

Name
Type
Description

_0

uint256

undefined

Returns

Name
Type
Description

_0

uint256

undefined

claim

Lets an account claim a given quantity of ERC1155 tokens.

Parameters

Name
Type
Description

_receiver

address

The receiver of the tokens to claim.

_quantity

uint256

The quantity of tokens to claim.

_tokenId

uint256

Token Id to claim.

_proofs

bytes32[]

The proof of the claimer's inclusion in the merkle root allowlist of the claim conditions that apply.

_proofMaxQuantityForWallet

uint256

The maximum number of tokens an address included in an allowlist can claim.

contractType

Returns the type of the contract.

Returns

Name
Type
Description

_0

bytes32

undefined

contractVersion

Returns the version of the contract.

Returns

Name
Type
Description

_0

uint8

undefined

expirationTimestamp

airdrop expiration timestamp.

Returns

Name
Type
Description

_0

uint256

undefined

initialize

Initiliazes the contract, like a constructor.

Parameters

Name
Type
Description

_defaultAdmin

address

undefined

_trustedForwarders

address[]

undefined

_tokenOwner

address

undefined

_airdropTokenAddress

address

undefined

_tokenIds

uint256[]

undefined

_availableAmounts

uint256[]

undefined

_expirationTimestamp

uint256

undefined

_maxWalletClaimCount

uint256[]

undefined

_merkleRoot

bytes32[]

undefined

isTrustedForwarder

Parameters

Name
Type
Description

forwarder

address

undefined

Returns

Name
Type
Description

_0

bool

undefined

maxWalletClaimCount

general claim limit for a tokenId if claimer not in allowlist.

Parameters

Name
Type
Description

_0

uint256

undefined

Returns

Name
Type
Description

_0

uint256

undefined

merkleRoot

mapping of tokenId to merkle root of the allowlist of addresses eligible to claim.

Parameters

Name
Type
Description

_0

uint256

undefined

Returns

Name
Type
Description

_0

bytes32

undefined

multicall

Receives and executes a batch of function calls on this contract.

Parameters

Name
Type
Description

data

bytes[]

undefined

Returns

Name
Type
Description

results

bytes[]

undefined

owner

Returns the owner of the contract.

Returns

Name
Type
Description

_0

address

undefined

setOwner

Lets an authorized wallet set a new owner for the contract.

Parameters

Name
Type
Description

_newOwner

address

The address to set as the new owner of the contract.

supplyClaimedByWallet

Mapping from tokenId and claimer address to total number of tokens claimed.

Parameters

Name
Type
Description

_0

uint256

undefined

_1

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

tokenIds

list of tokens to airdrop.

Parameters

Name
Type
Description

_0

uint256

undefined

Returns

Name
Type
Description

_0

uint256

undefined

tokenOwner

address of owner of tokens being airdropped.

Returns

Name
Type
Description

_0

address

undefined

verifyClaim

Checks a request to claim tokens against the active claim condition's criteria.

Parameters

Name
Type
Description

_claimer

address

undefined

_quantity

uint256

undefined

_tokenId

uint256

undefined

_proofs

bytes32[]

undefined

_proofMaxQuantityForWallet

uint256

undefined

Events

Initialized

Parameters

Name
Type
Description

version

uint8

undefined

OwnerUpdated

Parameters

Name
Type
Description

prevOwner indexed

address

undefined

newOwner indexed

address

undefined

TokensClaimed

Parameters

Name
Type
Description

claimer indexed

address

undefined

receiver indexed

address

undefined

tokenId indexed

uint256

undefined

quantityClaimed

uint256

undefined

Last updated