CampaignsNativeGaslessClaim
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
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)
No balances found for "CampaignsNativeGaslessClaim"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CampaignsNativeGaslessClaim"
ABI
ABI objects
Getter at block 22721167
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=0x5c36302ef3f392b671ff64bf11b430497818196e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
owner() view returns (address)
0x0000000000000000000000000000000000000000
protocolRewards() view returns (address)
0x6a9041a6955fe4b81cb5093b4d2d2e3a6400d61a
sponsoredClaimFee() view returns (uint256)
0
totalClaimFees() view returns (uint256)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
campaigns(address, uint256) view returns (address tokenAddress, uint8 isInactive, uint8 isGasless, uint256 maxClaims, uint256 noOfClaims, uint256 amountPerClaim, uint256 maxSponsoredClaims, uint256 noOfSponsoredClaims)
getNonce(address user) view returns (uint256 nonce)
hasClaimed(bytes32) view returns (uint256)
splitRewards(uint256 _amount, address _platform, address _creator, address _referrer) pure returns (uint256, uint256, uint256)
State-modifying
Events claim(address _campaignManager, uint256 _campaignId, bytes32 r, bytes32 s, uint8 v, address _referrer) payable
createCampaign(address _tokenAddress, uint256 _maxClaims, uint256 _amountPerClaim, uint8 _isGasless, uint256 _maxSponsoredClaims) payable returns (uint256 _campaignId)
executeMetaTransaction(address userAddress, bytes functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) payable returns (bytes)
increaseMaxSponsoredClaims(address _campaignManager, uint256 _campaignId, uint256 _additionalSponsoredClaims) payable
initialize(address _trustedAddress, uint256 _claimFee)
renounceOwnership()
setClaimFee(uint256 _claimFee) payable
setSponsoredClaimFee(uint256 _sponsoredClaimFee) payable
setTreasury(address _treasury) payable
setTrustedAddress(address _trustedAddress) payable
splitAndDepositRewards(uint256 _amount, address _platform, address _creator, address _referrer) payable returns (uint256, uint256, uint256)
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)
ClaimFeePaid(uint256 claimFee, address claimFeePayer, address claimFeeRecipient, address campaignManager, uint256 campaignId, address referrer)
EIP712DomainChanged()
Initialized(uint8 version)
MetaTransactionExecuted(address userAddress, address relayerAddress, bytes functionSignature)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SponsoredClaimFeesPaid(uint256 sponsoredClaims, uint256 claimFee, address claimFeeRecipient)
Withdrawal(uint256 amount, address indexed treasury)
constructor(address _protocolRewards)
This contract contains no fallback and receive objects.
AlreadyClaimed()
ExceedsMaxClaims()
InactiveCampaign()
IncorrectValue()
InvalidAddress()
InvalidCount()
InvalidFee()
NonExistentCampaign()
TransferFailed()