Queries
pub enum QueryMsg {
#[returns(ConfigResponse)]
Config {},
#[returns(MerkleRootResponse)]
MerkleRoot {},
#[returns(IsClaimedResponse)]
IsClaimed { address: String },
#[returns(TotalClaimedResponse)]
TotalClaimed {},
// for cross chain airdrops, maps target account to host account
#[returns(AccountMapResponse)]
AccountMap { external_address: String },
#[returns(AccountMapResponse)]
AllAccountMaps {
start_after: Option<String>,
limit: Option<u32>,
},
#[returns(IsPausedResponse)]
IsPaused {},
}
config
{
"config": {}
}
Returns info about contract's configuration
merkle_root
{
"merkle_root": {}
}
Returns merkle root of the Airdrop contract.
is_claimed
{
"is_claimed": {
"address": "neutron..."
}
}
Returns true if a given address already claimed the airdrop.
total_claimed
{
"total_claimed": {}
}
Returns total amount of already claimed tokens by users.
is_paused
{
"is_paused": {}
}
Returns true of the contract is on pause.