DistributionCreator
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
12
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 32 additional slots
4 additional
variables
Balances ($0.00)
No balances found for "DistributionCreator"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DistributionCreator"
ABI
ABI objects
Getter at block 21392025
BASE_9() view returns (uint256)
1000000000
CHAIN_ID() view returns (uint256)
1
HOUR() view returns (uint32)
3600
core() view returns (address)
0x0000000000000000000000000000000000000000
defaultFees() view returns (uint256)
0
distributor() view returns (address)
0x0000000000000000000000000000000000000000
feeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
getValidRewardTokens() view returns (struct RewardTokenAmounts[])
[]
message() view returns (string)
messageHash() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
_nonces(address) view returns (uint256)
campaign(bytes32 _campaignId) view returns (struct CampaignParameters)
campaignId(struct CampaignParameters campaignData) view returns (bytes32)
campaignList(uint256) view returns (bytes32 campaignId, address creator, address rewardToken, uint256 amount, uint32 campaignType, uint32 startTimestamp, uint32 duration, bytes campaignData)
campaignLookup(bytes32 _campaignId) view returns (uint256)
campaignSpecificFees(uint32) view returns (uint256)
distribution(uint256 index) view returns (struct CampaignParameters)
distributionList(uint256) view returns (bytes32 rewardId, address uniV3Pool, address rewardToken, uint256 amount, uint32 propToken0, uint32 propToken1, uint32 propFees, uint32 epochStart, uint32 numEpoch, uint32 isOutOfRangeIncentivized, uint32 boostedReward, address boostingAddress, bytes additionalData)
feeRebate(address) view returns (uint256)
getCampaignsBetween(uint32 start, uint32 end, uint32 skip, uint32 first) view returns (struct CampaignParameters[], uint256 lastIndexCampaign)
getDistributionsBetweenEpochs(uint32 epochStart, uint32 epochEnd, uint32 skip, uint32 first) view returns (struct DistributionParameters[], uint256 lastIndexDistribution)
getValidRewardTokens(uint32 skip, uint32 first) view returns (struct RewardTokenAmounts[], uint256)
isWhitelistedToken(address) view returns (uint256)
rewardTokenMinAmounts(address) view returns (uint256)
rewardTokens(uint256) view returns (address)
userSignatureWhitelist(address) view returns (uint256)
userSignatures(address) view returns (bytes32)
State-modifying
Events acceptConditions()
createCampaign(struct CampaignParameters newCampaign) returns (bytes32)
createCampaigns(struct CampaignParameters[] campaigns) returns (bytes32[])
createDistribution(struct DistributionParameters newDistribution) returns (uint256 distributionAmount)
createDistributions(struct DistributionParameters[] distributions) returns (uint256[])
initialize(address _core, address _distributor, uint256 _fees)
recoverFees(address[] tokens, address to)
setCampaignFees(uint32 campaignType, uint256 _fees)
setFeeRecipient(address _feeRecipient)
setFees(uint256 _defaultFees)
setMessage(string _message)
setNewDistributor(address _distributor)
setRewardTokenMinAmounts(address[] tokens, uint256[] amounts)
setUserFeeRebate(address user, uint256 userFeeRebate)
sign(bytes signature)
signAndCreateCampaign(struct CampaignParameters newCampaign, bytes signature) returns (bytes32)
toggleSigningWhitelist(address user)
toggleTokenWhitelist(address token)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
CampaignSpecificFeesSet(uint32 campaignType, uint256 _fees)
DistributorUpdated(address indexed _distributor)
FeeRebateUpdated(address indexed user, uint256 userFeeRebate)
FeeRecipientUpdated(address indexed _feeRecipient)
FeesSet(uint256 _fees)
Initialized(uint8 version)
MessageUpdated(bytes32 _messageHash)
NewCampaign(struct CampaignParameters campaign)
NewDistribution(struct DistributionParameters distribution, address indexed sender)
RewardTokenMinimumAmountUpdated(address indexed token, uint256 amount)
TokenWhitelistToggled(address indexed token, uint256 toggleStatus)
Upgraded(address indexed implementation)
UserSigned(bytes32 messageHash, address indexed user)
UserSigningWhitelistToggled(address indexed user, uint256 toggleStatus)
constructor()
This contract contains no fallback and receive objects.
CampaignAlreadyExists()
CampaignDoesNotExist()
CampaignDurationBelowHour()
CampaignRewardTokenNotWhitelisted()
CampaignRewardTooLow()
CampaignSouldStartInFuture()
InvalidLengths()
InvalidParam()
InvalidSignature()
NotGovernor()
NotGovernorOrGuardian()
NotSigned()
ZeroAddress()