CampaignsNativeGaslessClaim

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x16c27072 at 10815280
Slot
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

No balances found for "CampaignsNativeGaslessClaim"

No transactions found for "CampaignsNativeGaslessClaim"


Functions
Getter at block 22721167
claimFee(view returns (uint256)
0
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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(addressuint256view returns (address tokenAddressuint8 isInactiveuint8 isGaslessuint256 maxClaimsuint256 noOfClaimsuint256 amountPerClaimuint256 maxSponsoredClaimsuint256 noOfSponsoredClaims)
getNonce(address userview returns (uint256 nonce)
hasClaimed(bytes32view returns (uint256)
splitRewards(uint256 _amountaddress _platformaddress _creatoraddress _referrerpure returns (uint256uint256uint256)
State-modifying
claim(address _campaignManageruint256 _campaignIdbytes32 rbytes32 suint8 vaddress _referrerpayable 
createCampaign(address _tokenAddressuint256 _maxClaimsuint256 _amountPerClaimuint8 _isGaslessuint256 _maxSponsoredClaimspayable returns (uint256 _campaignId)
executeMetaTransaction(address userAddressbytes functionSignaturebytes32 sigRbytes32 sigSuint8 sigVpayable returns (bytes)
increaseMaxSponsoredClaims(address _campaignManageruint256 _campaignIduint256 _additionalSponsoredClaimspayable 
initialize(address _trustedAddressuint256 _claimFee
renounceOwnership(
setClaimFee(uint256 _claimFeepayable 
setSponsoredClaimFee(uint256 _sponsoredClaimFeepayable 
setTreasury(address _treasurypayable 
setTrustedAddress(address _trustedAddresspayable 
splitAndDepositRewards(uint256 _amountaddress _platformaddress _creatoraddress _referrerpayable returns (uint256uint256uint256)
transferOwnership(address newOwner
withdrawCampaign(uint256 _campaignId
withdrawTotalClaimFees(address _treasurypayable 
Events
CampaignClaimed(address indexed campaignManageruint256 indexed campaignIdaddress indexed claimeraddress tokenAddressuint256 amount
CampaignCreated(address indexed campaignManageruint256 indexed campaignId
CampaignWithdrawn(address indexed campaignManageruint256 indexed campaignId
ClaimFeePaid(uint256 claimFeeaddress claimFeePayeraddress claimFeeRecipientaddress campaignManageruint256 campaignIdaddress referrer
EIP712DomainChanged(
Initialized(uint8 version
MetaTransactionExecuted(address userAddressaddress relayerAddressbytes functionSignature
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SponsoredClaimFeesPaid(uint256 sponsoredClaimsuint256 claimFeeaddress claimFeeRecipient
Withdrawal(uint256 amountaddress indexed treasury
Constructor
constructor(address _protocolRewards
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyClaimed(
ExceedsMaxClaims(
InactiveCampaign(
IncorrectValue(
InvalidAddress(
InvalidCount(
InvalidFee(
NonExistentCampaign(
TransferFailed(