šŸŽ‰ Welcome to PartyFinance documentation!
Protocol
Contracts
libraries
LibAppStorage

PartyInfo

struct PartyInfo {
  string name;
  string bio;
  string img;
  string model;
  string purpose;
  bool isPublic;
  uint256 minDeposit;
  uint256 maxDeposit;
}

Announcement

struct Announcement {
  string title;
  string content;
  string url;
  string img;
  uint256 created;
  uint256 updated;
}

TokenGate

struct TokenGate {
  address token;
  uint256 amount;
}

AppStorage

struct AppStorage {
  string name;
  string symbol;
  uint256 totalSupply;
  mapping(address => uint256) balances;
  mapping(address => mapping(address => uint256)) allowances;
  address denominationAsset;
  struct PartyInfo partyInfo;
  bool closed;
  mapping(address => bool) managers;
  mapping(address => bool) members;
  address[] tokens;
  struct Announcement[] announcements;
  address[] joinRequests;
  mapping(address => bool) acceptedRequests;
  uint256 platformFee;
  address platformFeeCollector;
  address platformSentinel;
  address platformFactory;
  address creator;
  struct TokenGate[] tokenGates;
}

LibAppStorage

diamondStorage

function diamondStorage() internal pure returns (struct AppStorage ds)

Modifiers

s

struct AppStorage s

onlyCreator

modifier onlyCreator()

onlyManager

modifier onlyManager()

onlyMember

modifier onlyMember()

notMember

modifier notMember()

onlyFactory

modifier onlyFactory()

isAlive

modifier isAlive()