///Struct that represents a button champaign struct ButtonCampaign { uint price; ///Every campaign starts with some price uint priceMultiplier;/// Price will be increased by this much every n presses uint devFraction; /// this much will go to the devs (10^16 = 1%) uint charityFraction;/// This much will go to charity uint jackpotFraction;/// This much will go to the winner (last presser) uint newCampaignFraction;/// This much will go to the next campaign starting balance address lastPresser; uint64 deadline; uint40 presses; uint32 n; uint32 period; bool finalized; Account total;/// base account to hold all the value until the campaign is finalized }
0.4.18