CampaignsNativeGaslessClaim
Verified contract
Implementation
Active on
Base with 1 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 47 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CB | ERC-20 | 20 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 3345241 | a year ago | | | 0 | 6.9308005e-7 |
ABI
ABI objects
Getter at block 22741361
claimFee() view returns (uint256)
0
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=, version=, chainId=8453, verifyingContract=0xc822849932d348f5b07202537b19f84f5fbbb7f3, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
owner() view returns (address)
0x0000000000000000000000000000000000000000
totalClaimFees() view returns (uint256)
0
Read-only
campaigns(address, uint256) view returns (address tokenAddress, uint8 isInactive, uint8 isGasless, uint256 maxClaims, uint256 noOfClaims, uint256 amountPerClaim)
getNonce(address user) view returns (uint256 nonce)
hasClaimed(bytes32) view returns (uint256)
State-modifying
Events claim(address _campaignManager, uint256 _campaignId, bytes32 r, bytes32 s, uint8 v) payable
createCampaign(address _tokenAddress, uint256 _maxClaims, uint256 _amountPerClaim, uint8 _isGasless) payable returns (uint256 _campaignId)
executeMetaTransaction(address userAddress, bytes functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) payable returns (bytes)
initialize(address _trustedAddress, uint256 _claimFee)
renounceOwnership()
setClaimFee(uint256 _claimFee) payable
setTrustedAddress(address _trustedAddress) payable
transferOwnership(address newOwner)
withdrawCampaign(uint256 _campaignId)
withdrawTotalClaimFees(address _treasury) payable
CampaignClaimed(address indexed campaignManager, uint256 indexed campaignId, address indexed claimer, address tokenAddress, uint256 amount)
CampaignCreated(address indexed campaignManager, uint256 indexed campaignId)
CampaignWithdrawn(address indexed campaignManager, uint256 indexed campaignId)
EIP712DomainChanged()
Initialized(uint8 version)
MetaTransactionExecuted(address userAddress, address relayerAddress, bytes functionSignature)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Withdrawal(uint256 amount, address indexed treasury)
constructor()
This contract contains no fallback and receive objects.
AlreadyClaimed()
ExceedsMaxClaims()
InactiveCampaign()
IncorrectValue()
InvalidAddress()
InvalidCount()
InvalidFee()
NonExistentCampaign()
TransferFailed()