Storage for all protocol data. Can only be written to by our contracts.
Entry point for all proposals transactions, ie creating governance proposals and event challenges, casting and revealing votes.
Entry point for the list of registered 3rd party apps which can use the protocol.
Entry point for all events transactions, ie creating and cancelling events, handling delegates, selling and refunding tickets.
INTERNAL USE ONLY. Sets up initial values for protocol parameters.
Wrapper around Solidity ‘now’ method, used for testing purposes with LAventusTimeMock (not deployed on mainnet). Proxied by PAventusTime (0x69092d6ceb428422a9a904bbec88aec9c72161ef)
Handles all movement of AVT for deposits and stakes. Proxied by PLock (0x571eea4ae64d453d55ff4dfba2ecd39b79dbc09b)
Keeps the list of registered 3rd party apps which can use the protocol. Proxied by PApps: (0x658145bc5eecd0e5f9436a5e04257791bbba9590)
Our version of the Zeppelin ECDSA library for signing messages. Proxied by PECRecovery (0x3e1cfde5986750f4cdecc8abde828d2bf0b0f1ff)
Event management is split into 3 libraries due to size constraints on Ethereum, with LEvents as the proxied entry point:
Entry point for all events transactions, ie creating and cancelling events, handling delegates, selling and refunding tickets. Proxied by PEvents (0x0eca4f01ae5ce22ea01adf28e6beb7f5948d2cf8)
Methods for actually writing event data to the blockchain for events and sales transactions. Directly linked to LEvents ie NOT proxied.
Common methods shared between LEvents and LEventsCommon: mostly for checking status, etc. Directly linked to LEvents ie NOT proxied.
Proposals management is split into 3 libraries due to size constraints on Ethereum, with LProposals as the proxied entry point.
Entry point for all proposals transactions, ie creating governance proposals and event challenges, casting and revealing votes. Proxied by PProposal (0x4e463d2ba3eeaeb44dd3b21576ecdc578743872d)
Handles all logic for casting and revealing votes.
Handles all logic for calculating and distributing voter winnings.